diff --git a/server/babysitter.test.ts b/server/babysitter.test.ts index 7edd886..a10a943 100644 --- a/server/babysitter.test.ts +++ b/server/babysitter.test.ts @@ -2753,6 +2753,7 @@ test("babysitPR uses a CODEFACTORY_HOME worktree, passes GitHub context, and ver assert.match(receivedPrompt, /GitHub follow-up replies and review-thread resolution will be handled by the babysitter/i); assert.match(receivedPrompt, /auditToken=codefactory-feedback:gh-review-comment-1/); assert.match(receivedPrompt, /FEEDBACK_SUMMARY_START/); + assert.match(receivedPrompt, /write every summary block in Simplified Chinese/); assert.equal(receivedEnv?.GITHUB_TOKEN, "test-token"); assert.equal(receivedEnv?.GH_TOKEN, "test-token"); diff --git a/server/babysitter.ts b/server/babysitter.ts index f0cd197..a5d599a 100644 --- a/server/babysitter.ts +++ b/server/babysitter.ts @@ -585,6 +585,7 @@ function buildAgentFixPrompt(params: { " ", " FEEDBACK_SUMMARY_END", " Include one block per audit token. These summaries will be posted as follow-up comments on the PR.", + "Language: write every summary block in Simplified Chinese. These summaries are posted on the PR, so use the same language for the whole comment.", "4) If documentation tasks were assigned, emit exactly one docs summary block in the following format:", " DOCS_SUMMARY_START ", " ",