Repository navigation
Contracts: AcpmuxRequestMeta lists every key acpmux's clients send; --focus=VALUE takes only true or false - #36944
Conversation
…ry key acpmux's own clients send (class, topic, effort, tags, worktree, disallowedTools, compression) with a test; --focus=VALUE takes only true or false Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
…xRequestMeta Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
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)
Gallery before/after for
States
Pick other states with a Passes: CI passes on CI passes on Written by web and size checks: green Shipped in:
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/42176291435 at d3a2541 failed: cmux-next crash ends the app, cmux-next daemon tests. |
|
Owned by an agent session · session |
|
Review (codex, router-review): SHIP at e760f89 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 1. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at e760f89 Visual verdict: no images; Leo tries the build
Follow-ups:
|
This comment has been minimized.
This comment has been minimized.
…into contract/followups-4
A newer verdict blocks c1e687d (no independent SHIP at the head).
Leo, 2026-11-05: "You guys keep running into these. These are weird issues that I feel like you should be able to just fix beforehand and check on beforehand."
Fixes forward the two findings from #36820's Codex review (receipt: #36820 (comment) and the review at 58414b0).
AcpmuxRequestMetawas missing keys acpmux's own clients send. The closed type now also listsclassandtopic(acpmux send --class/--thread),effortandtags(run,orchestrate, the hand, the TUI),worktreeanddisallowedTools(run), andcompression(a peer'sinitializeoffer). The new testprotocol_request_meta_lists_every_key_acpmux_clients_sendscans acpmux's client code (cli/,hand/,tui/,client.rs,peer.rs,prompt_class.rs) for_meta.acpmuxwrites. It fails on any key the type doesn't list. The IR and the webtypes.tsare regenerated.--focus=VALUEaccepts onlytrueorfalse. Before,cmux open-remote --focus=noquietly meant true. Now any other value is a usage error (newflag_boolstring, English and Japanese).open_remote_focus_reaches_the_actioncovers the refusal.cli-action-requests.jsonis regenerated against the current catalog. Base added actions after #36820 landed.After screenshots don't apply: this changes contract checks, a schema and CLI argument validation only, with no UI.
Checks, on fleet Linux:
protocoltests: 12/12, IR blessed.acpmux-protocol:codegenand:check.action_argument_contract.-D warningsand fmt on cmux-tui and acpmux.check-swift-acpmux-protocol.pyon the repo.Changelog
--focus=VALUEon an action with afocusargument now refuses anything buttrueorfalse, instead of treating it astrue.Agent session: agent session
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Implements the two findings from #36820's code review: acpmux's closed request-meta type now accepts every key its own clients send, and
--focus=VALUEon an action with afocusargument only takes exactlytrueorfalse.Changes
AcpmuxRequestMetanow listsclass,topic,effort,tags,worktree,disallowedTools, andcompression; a new test scans the CLI, hand, TUI, peer, andinitializesources and fails on any key not listed.--focus=noand any other value is now a usage error (English and Japanese) instead of being silently treated astrue.cli-action-requests.jsonfixture and the protocol IR and webtypes.tsare regenerated against the current catalog, including the actions added by thefeat-cmux-nextmerge.Written for commit c1e687d. Summary will update on new commits.