Repository navigation
evals/cli: wait for ACP session, skip omp ready banner, disable claude startup hooks - #391
Merged
Merged
Conversation
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.
Summary
Fixes 3 real protocol issues uncovered during our first live 5-backend benchmark run (
bate-haiku45viaomp auth-gateway stdio,codex-cli,omp-acp,opencode-acp,claude-cli):Event::Sessionbefore sendingOp::Prompt(evals/driver.py): ACP agents (omp acp,opencode acp) create sessions asynchronously viasession/new, so sendingpromptbeforesessionfailed with"a conversation is being opened". Waiting forEvent::Session(and exiting cleanly ifstartreturns an error) unblocked bothomp acp(2/2 live PASS) andopencode acp.omp auth-gateway stdiostartup banner & forward/v1/models(evals/gateway.py):omp auth-gateway stdioprints{"ready":true,"version":...}before request replies;_call_omp_stdionow reads untilresp["id"] == req_idand also forwardsGET /v1/models. Unblocked Bate's ownagentcoreviagateway:omp:anthropic/claude-haiku-4-5(2/2 live PASS).--setting-sources ""to headlessclaude -p(agentcore/src/cli.rs): prevents user-installed interactiveSessionStarthooks from blocking headlessagentcore cli claudeturns (unless the caller explicitly overrides--setting-sources).Evidence
py-bugfix-parser,failing-script-diagnosis):omp-acp(agentcore acp omp acp): 2/2 PASS (10.01s avg, 4.0 tools/trial)bate-haiku45(agentcore+gateway:omp:anthropic/claude-haiku-4-5): 2/2 PASS (22.08s avg, 7.0 tools/trial, 41,750 tokens/trial)codex-cli(agentcore cli codex): 2/2 PASS (43.04s avg, 7.0 tools/trial, 189,828 tokens/trial)opencode-acp&claude-cli: zero hangs/timeouts, surfaced real auth errors cleanly.window/uibuild+test 147/147,cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warnings,cargo test --workspace --locked, andunittest discover -s evals10/10).Merge Danger
Device decision