Repository navigation
test(evals): mid-turn J5 steer case (does not reproduce #1188's refusal) - #1207
Closed
Jacksondr5 wants to merge 1 commit into
Closed
Jacksondr5 wants to merge 1 commit into
Jacksondr5 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Adds j5-mid-turn-steer-acts: a Claude receiver runs a foreground hold command, and another agent's J5 envelope (formatPeerEnvelope, from source) is steered in while it runs. It passes when the agent acts on the request. The runner gains the real steering surface: for a case with `steer`, it feeds Claude Code streaming input as J5's adapter does, holds the named Bash command once it starts, pushes the message with priority "next" (makeClaudeUserMessage, from source), and releases the command when Claude Code reports the message queued. Claude now also takes `--effort` through the model selection, as J5 sends it. On today's wording the case does not reproduce: Haiku acted in 16 of 16 samples and Sonnet in 5 of 5. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 of 8 tasks
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-mid-turn-steer
branch
from
November 24, 2026 03:14
dbc4b9c to
2b50034
Compare
Jacksondr5
added a commit
that referenced
this pull request
Nov 28, 2026
- Codex: accept MCP elicitations (tool-call approvals) as J5's adapter does in full access, and catch a turn/interrupt rejection that crashed a shard. - Claude: pass each tool's _meta, so always-loaded tools (request_secret, send_to_user) load. - List v0.1.11's Theme, Issues and Message toolkits and the forge scope, and answer T3 calls through upstream's answerToolCall, which replaces the runner's mirrored result shaping. - Grade with upstream's pasted text and world files, alongside #1207's steer checks. - settle-after-merge-on-wake and settle-after-delayed-merge-waits grade the merge tools v0.1.11 introduced (FORK.md temporary in-place patch). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
2 of 8 tasks
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
In live tests for #1188, a Claude Haiku receiver sometimes refused another agent's J5 message as prompt injection when it was steered into a running turn. On
j5/main2 of 3 fresh receivers refused, and 1 of 3 on the v0.1.11 advance. The same message delivered after the turn was acted on every time. No eval covered this surface.What changed
j5-mid-turn-steer-acts(evals/j5-cli/cases/mid-turn-steer.ndjson, kindbad, source Agent messages steer into running turns by default (follow upstream's auto, retire D4's queue default) #1188):./scripts/hold.shin the foreground.formatPeerEnvelopethroughj5Turns, with the live test's request: createpeer-steer-received.txt.evals/j5-cli/steer.ts,claude.ts):steer, Claude Code gets streaming input, as J5's adapter feeds it.priority: "next"andparent_tool_use_id: null, built by the server's ownmakeClaudeUserMessage.command_lifecycleframe reports the message queued.queued_commandattachment and, where the CLI records them, the API request block that carried the steer.--effort. It goes through the model selection'seffortoption, as J5 sends it. Before, Claude ignored the flag. The live receivers ran at low effort, so a faithful run needs it.Why it's faithful
Every sample folded the steer into the running turn: lifecycle
queued → started → completedwithin one result. The model saw it the way the live refusals did, as one mid-turnsystemturn after the hold's tool result. From a run on the pinned CLI (2.1.326):That text matches the live receivers' recorded API request, except for the invented project id and title.
Runs (old wording, this branch)
Tokens: Haiku at low effort used 30,623 input, 361,883 cached and 2,171 output tokens for 5 samples, about $0.01 at API prices. Sonnet at low effort used 29,981 input, 349,629 cached and 1,562 output tokens, about $0.17. Both are billed to the subscription.
Why it doesn't reproduce
Each live receiver ran on the tester's own Claude login and config. The eval container starts from an empty home with a setup token. The live sessions' recorded API requests show what that added:
systemturn, right after the steer. One connector's instructions mention prompt injection.That last item doesn't separate the outcomes cleanly. 3 refusals and 4 actions had it, and the one session without it also refused, though that session had earlier turns. None of this context can come into the eval: the connectors reach live accounts, and the CLAUDE.md is personal. So the next step should check whether J5's wording is the trigger before changing it.
Checklist
vp run check:changedpasses, and the runs are above. The case fails to reproduce.evals/j5-cliis J5's.harness: claude, and Codex has no steer support here.evals/j5-cli/README.mddocumentssteerand Claude's--effortClaude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code