Repository navigation
test: evaluate prompt guidance on paired repository tasks - #34637
Conversation
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
web and size checks: green Shipped in:
|
This comment has been minimized.
This comment has been minimized.
|
Review (codex, router-review): SHIP at 9dd7ace Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 1. Each lands as an issue in this repo that links this receipt; the lane that opened the PR fixes it forward. SHIP at 9dd7ace Visual verdict: no images; Leo tries the build
Follow-ups:
|
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-23b831a0945feb1e66ac
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-23b831a0945feb1e66ac
9dd7ace to
940af95
Compare
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-23b831a0945feb1e66ac
|
Review (subagent opus medium): SHIP at c285386 Checked: the full diff (4 files under tests/tool-evals/, +325/-11), plus run.mjs, agents-sdk.mjs and the captured template at the head. No workflow under .github or scripts runs tests/tool-evals, so the harness is opt-in. scripts/check-test-determinism.py is clean on the new file. With the default Visual verdict: unchanged by this diff (no UI). Follow-ups:
|
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-23b831a0945feb1e66ac
|
Owned by an agent session · session |
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-e6255f96942ac44b90fa
|
Review (subagent claude-opus-5-5 medium): SHIP at fd75173 Checked Follow-ups:
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (subagent claude-opus-5-5 medium): SHIP at 1a0a418 Merge-resolution check since the SHIP at fd75173:
Tests at this head: Findings: none new. F1/F2 from the fd75173 receipt stay as follow-ups. Reds at this head: the cmux-next checks (god files/concurrency/l10n) and the nightly-guards release-notary/Guard status are outside this PR's files, which are all under tests/tool-evals/ and wired to no workflow. Before the pinned merge they still need base_red_excuse.py. I did not run it. |
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (subagent claude-opus-5-5 medium): SHIP at 8df2591 Carried from the SHIP at 1a0a418 (comment 6632404879) through pure base merges: 077f5b1 (1a0a418 + 45aeecc), then 8df2591 (077f5b1 + feat-cmux-next 6d5aaed, from update-branch). Proof: the net diff against the merge-base (6d5aaed) is unchanged. |
Leo-ask: ask-c344b7792d
Leo asked for agents to read things earlier and concurrently while multitasking, and to investigate whether the prompting could be improved. This adds a fixed paired prompt-behavior evaluator, plus call/turn and parallel metrics in the existing tool evaluator.
The standalone evaluator uses a captured Claude Code system prompt with its native Read/Bash schemas and deterministic repository fixtures. Baseline and candidate use the same three tasks and sample count with alternating arm order. It records prompt/fixture hashes, full transcripts, success, wall time, first-read latency, tokens, calls per tool turn, parallel share and background starts. The candidate is the compact asking rule plus the canonical early/concurrent-work guidance. No generated shell commands execute. This is synthetic prompt-behavior coverage, not DEV app or Codex verification.
Validation: Bun bundles all three changed modules;
git diff --checkand cmux-next prepush gate pass.Paired exact-head evaluator receipt (local lane host, gateway-reachable): commit
fd751732688cba73b423d31c6db7fe81c5350b88;ANTHROPIC_BASE_URL=http://sr2-gateway.tail137216.ts.net:4016 ANTHROPIC_AUTH_TOKEN=subrouter node tests/tool-evals/prompt-behavior.mjs --samples 3; baseline 9/9, guidance 9/9. Baseline medians: wall 7564 ms, first read 2734 ms, tool calls 4, tool turns 2, parallel share 0.5, tokens 13689. Guidance medians: wall 3247 ms, first read 1839 ms, tool calls 3, tool turns 1, parallel share 1, tokens 9084. The paired run is recorded at/home/cmux/lane-scratch/next-system-prompt-2/eval-local/log.The fleet fast-check run 41794283465 could not reach
sr2-gatewaybecause its Linux workers are outside the tailnet (fetch failed); this is an infrastructure route limitation, not an evaluator or code failure. The same exact-head evaluator completed locally through the lane host's gateway route.Risk: evaluator-only. Remove
prompt-behavior.mjsor omit--prompt-armto revert the added evaluation path; application behavior is unchanged.🤖 Generated with Codex
Agent session: agent session
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Evaluates whether the compact asking rule plus early/concurrent-work guidance changes model behavior on paired repository tasks, using A/B prompt-guidance instrumentation.
prompt-behavior.mjsruns three fixed tasks against deterministic fixtures with a captured Claude Code system prompt, alternating arm order per sample. It appends the guidance block to the first user turn to match product delivery and routes through the gateway viaANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN. It records prompt hashes, transcripts, success, wall time, first-read latency, tokens, tool-turn counts, parallel share, and background starts. The baseline asking rule is frozen at a recorded source revision, and a guard rejects templates that already contain cmux guidance.--prompt-arm none|baseline|guidanceand the same tool-turn, parallel-share, and first-read metrics, delivering the candidate through the Claude preset's append field or the Codex developer-instruction field. The paired-run workflow is documented in the tool-evals README.prompt-behavior.mjsor omitting--prompt-arm.Written for commit 8df2591. Summary will update on new commits.