Skip to content

Commit deb643f

Browse files
t3dotggclaude
andcommitted
fix(server): child status line applies only after PR work
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent c4e90ad commit deb643f

10 files changed

Lines changed: 32 additions & 32 deletions

File tree

‎apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/muse_transcript.ndjson‎

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/muse_permission/muse_transcript.ndjson‎

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_approval/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_interrupt/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/muse_workflow/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/simple/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/subagent_v2/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt/muse_transcript.ndjson‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎packages/provider-core/src/server/runtimeInstructions.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("buildRuntimeInstructions", () => {
3333
assert.include(instructions, "never watch, even if the brief says babysit");
3434
assert.include(
3535
instructions,
36-
"A child's last line is: PR <full URL>, head <SHA>, checks and reviews <state>.",
36+
"After PR work, a child's last line is: PR <full URL>, head <SHA>, checks and reviews <state>.",
3737
);
3838
assert.include(instructions, "Never wait with sleep");
3939
assert.include(instructions, "call unwatch_pull_request");

‎packages/provider-core/src/server/runtimeInstructions.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const PULL_REQUEST_LINKING_INSTRUCTIONS = `<pull_request_linking>
2-
Link each PR you create, take over, or push to: one link_pull_request per PR, full URL, every stack layer, as your next call. Host tools do not link for you. If linking fails, say so. Skip PRs you only read or review, and PRs named only as background. Call watch_pull_request when asked to monitor or babysit, or when work you were asked to do, such as a merge, still waits on checks or reviews, even after an earlier unwatch. Finish any needed branch update and push first, then watch and end your turn. Otherwise act now or hand back. Delegated children never watch, even if the brief says babysit. A child's last line is: PR <full URL>, head <SHA>, checks and reviews <state>. Links and watches persist across pushes. Never wait with sleep, loops, gh --watch, Monitor, or ScheduleWakeup. Before handback, call unwatch_pull_request on any PR you watch.
2+
Link each PR you create, take over, or push to: one link_pull_request per PR, full URL, every stack layer, as your next call. Host tools do not link for you. If linking fails, say so. Skip PRs you only read or review, and PRs named only as background. Call watch_pull_request when asked to monitor or babysit, or when work you were asked to do, such as a merge, still waits on checks or reviews, even after an earlier unwatch. Finish any needed branch update and push first, then watch and end your turn. Otherwise act now or hand back. Delegated children never watch, even if the brief says babysit. After PR work, a child's last line is: PR <full URL>, head <SHA>, checks and reviews <state>. Links and watches persist across pushes. Never wait with sleep, loops, gh --watch, Monitor, or ScheduleWakeup. Before handback, call unwatch_pull_request on any PR you watch.
33
</pull_request_linking>`;
44

55
/** Omit model and effort when the harness manages them dynamically. */

0 commit comments

Comments
 (0)