Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/babysitter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
1 change: 1 addition & 0 deletions server/babysitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ function buildAgentFixPrompt(params: {
" <A concise 1-2 sentence summary of what you did or why you were blocked>",
" 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 <changed|no_change>",
" <A concise 1-2 sentence summary of the docs you updated, or why no docs changes were necessary after inspection>",
Expand Down
Loading