Repository navigation
test(evals): Crew seat-finish guards for #1191 - #1194
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 23, 2026
Jacksondr5
force-pushed
the
j5code/evals-real-clis
branch
from
November 24, 2026 03:14
f934dac to
69ca50c
Compare
Jacksondr5
force-pushed
the
j5code/evals-crew-seat-finish
branch
from
November 24, 2026 03:14
57fbcd7 to
f66dae6
Compare
Jacksondr5
force-pushed
the
j5code/evals-real-clis
branch
from
November 28, 2026 21:15
69ca50c to
cbeab9e
Compare
Jacksondr5
force-pushed
the
j5code/evals-crew-seat-finish
branch
from
November 28, 2026 21:43
f66dae6 to
d75c495
Compare
2 of 8 tasks
Four cases for a Crew without completed-run notices: a member that finished, a member that is blocked, a member with nothing to do yet, and a Captain that just assigned work. Their seat deliveries, peer messages and launch report are rendered by the server's own functions through a new j5Turns case field. --dry-run prints a case's conversation without a container. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed turns fail
A case's message to the Captain or builder now has to carry the result,
the blocker or the assignment, not just reach the right seat, and the
Captain's assigning case must end its turn after sending. A case with a
{{j5:...}} placeholder nothing fills now fails to load instead of sending
the literal token to the model.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jacksondr5
force-pushed
the
j5code/evals-crew-seat-finish
branch
from
November 28, 2026 22:42
d75c495 to
a9b605e
Compare
…es the result or the auth blocker Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jacksondr5
marked this pull request as ready for review
November 28, 2026 22:46
Jacksondr5
enabled auto-merge (squash)
November 28, 2026 22:46
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#1193 (issue #1191) stops posting
<j5_seat_finished>to a Captain when a Crew seat's run completes; only a failed run still posts one. A Captain then learns a member is done only if the member says so. These evals check that taking the notice away doesn't leave Captains waiting on members that never report, without adding instruction text.What changed
Four cases in
evals/j5-cli/cases/crew-seat-finish.ndjson, all sourced to #1191, on authored Acme data:crew-member-donecrew-member-stuckghsigned out) sends its Captain a blocker.crew-member-prepcrew-captain-assignsRunner support, so no case copies server text:
j5Turnscase field (j5Turns.ts): renders a seat's first delivery (spawnFirstTurnTextinsideCrewTurnContext's delivery wrapper, then the Captain's message), a peer message (formatPeerEnvelope), and a Captain's launch report (crewLaunchReportText) with the server's own functions. A case places them with{{j5:<name>}}and gives only the facts.CrewTurnContext.deliveryContextis now exported for this.j5_send_messageorj5_propose_crew.--dry-runprints each case's conversation on the host, without a container.Results
Old text is this branch (
57fbcd771c). New text is this branch withj5code/seat-finish-failures-onlymerged in. Between the two, the agent-facing diff is only the Crew bullet inorchestrationInstructions.tsand the pending-seat line increwGateNotice.ts. I checked that each runner's Claude system prompt carries its own version of the bullet. Runs used 3 samples per case at high effort.crew-member-donecrew-member-stuckcrew-member-prepcrew-captain-assignscrew-captain-assigns): the Captain sent all three seats their assignments and ended its turn without waiting or polling, which is the behavior this case checks. It failed because it addressed the seats by seat name (to: "builder") instead of participant id. The eval'sj5_send_messagestand-in reports success for anyto, where the real tool would presumably refuse the name and let the agent retry. The new text doesn't touch addressing, so I count this as unrelated to the change.crew-member-stuckmessage to the Captain names GitHub authentication as what's needed.Usage (from each run's
summary.md):Removing the completed-run notice caused no regression on these cases.
Since review (2026-11-28)
The branch is rebased onto
j5/main, after #1125, #1228 and #1289, and is no longer stacked.Two fixes from the Opus and Sol review:
{{j5:…}}placeholder is left after filling, including in a case with noj5Turnsfield (j5Turns.ts, with a test inupstream.test.ts).crew-member-doneneeds the result named: the commit, the branch, the test, or "commit". (A second review round loosened it from "the SHA and a pass", which rejected correct reports.)crew-member-stuckneeds the auth blocker named (auth, credential, login, signed in or token).crew-captain-assignsneeds the assignment's content, and the Captain must end its turn after sending (endsTurnAfter).I regraded the saved old-text samples offline with the real grader: 24 of 24 still pass. When I replaced every message with "Acknowledged.", all 9 guard and assign samples failed. The new-text samples weren't kept, so the new-text column below hasn't been regraded under the new checks.
Caveat on all numbers below: before #1289, the j5-cli Claude runner ignored
--effort, so the Sonnet samples ran at medium, not high.Checklist
upstream.test.tspasses;--dry-runchecked the rendered turnsevals/j5-cli/README.mdcoversj5Turnsand--dry-runBuilt with Claude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code