Repository navigation
fix(acpmux): guard sidebar group labels and empty groups - #24581
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)
red: cmux-next checks (god files, concurrency, crash safety, l10n); NEW: |
|
Bead |
|
Found 7 test failures on Blacksmith runners: Failures
|
|
Orphaned: no activity for 54 h, and no lane holds a lease on it. The orphan sweep could not merge |
|
Review (codex gpt-6-astra xhigh, next-review): BLOCK at 2e1c589
|
|
Owned by an agent session · session |
The BLOCK at 2e1c589 found join()'s "workspace still listed" guard runs from the daemon's workspace-list callback before sidebar observations update, so it skipped group creation for normal --group launches. Drop the guard and keep the label validation. Base now allows --group without --name (remote launches), so the merge keeps that and adds the label check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-710a4a518c009a6ad126
Default changesThis pull request changes 2 defaults at
Needs a review. It passes with an independent review receipt on this commit: a comment or review whose first line is Regenerate the snapshot with |
|
Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at d7ecc35 SHIP No actionable findings. Static review only; Rust and Swift toolchains are unavailable in this box. |
… workspace group …' line the docs check cannot resolve (#24581)
|
Shipped in:
|
|
Shipped in:
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Problem
acpmux new --grouppasses a caller string intocmux agent open, which can create persistent sidebar state. Blank/id-shaped labels can produce raw-id groups.Leo asked us to audit these surfaces because “we ought to audit the skills/tools/commands/prompts/mcps we have all around cmux-next as well as acpmux and make sure stuff is clear and as we expect and we have good recovery and good error messages and that stuff is concise but informative”.
Change
--groupvalues beforesession/new, with an exact omit/use-a-label recovery.--groupis opt-in persistent app state, does not move focus, and give exact list/remove/delete recovery commands.Validation
No capture: the app change only refuses id-shaped or blank group labels at the action boundary (an error string to the caller); nothing rendered changes.
git diff --checkcargo fmt --manifest-path cmux-tui/Cargo.toml --allChangelog
State: scoped
Owner: Codex 01a16a55-c3f2-79d1-8872-cb25f230352a
Head: d7ecc35 (merged base; dropped the pre-observation workspace guard per the BLOCK at 2e1c589)
Next: independent review and exact-head fleet checks
Evidence: focused unit tests added; formatting and diff checks passed
Stop: none
Agent-Session: https://cmux.com/deeplink/agent?harness=codex&session=01a16a55-c3f2-79d1-8872-cb25f230352a&host=huge-blue
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Rejects
acpmux new --groupvalues that are blank or look like cmux object ids (grp_*,ws_*, UUIDs), so automation retries can't create persistent sidebar groups titled with raw ids.Also documents that
--groupis opt-in app state that doesn't move focus, with recovery commands for unwanted placements.Written for commit 2e1c589. Summary will update on new commits.