acpmux: lane-place rotate has landed; usage warnings drop its pending mark

Merged
TE
7d ago
+18-24

Part of HQ#1920, HQ#5226, HQ#5266. Follow-up to #27899.

Leo, 2026-10-30, verbatim: "that visibility into [one agent host's] guys was (and is?) pretty bad i feel like we can make more improvements to acpmux/cmux-next".

What changes

#27899 gave each runaway-session warning an action. Two of those actions name lane-place rotate:

  • no autocompact cap: lane-place rotate NAME --harness claude-sr2;
  • a large context: lane-place rotate NAME.

Until that command landed, they carried pending: "leo-workspace#1617", and the tooltip and acpmux ls --wide said so. It has now landed, --harness PROFILE included (merge 2248b46dc6e). This PR:

  • sets pending to null for both rotate actions (hub/usage_warnings.rs, dropping ROTATE_PENDING);
  • drops "leo-workspace#1617" from the tooltip text, ls --wide, the README, the schema text and the Debug lane fixture's canned lines.

Commands are unchanged. Without --yes, lane-place rotate is a dry run that shows the plan, which is the right form to copy from a tooltip. The pending field stays in the schema, for the next command that has not landed yet.

Tests

  • hub/usage_warnings_tests.rs: the expected objects now have pending: null and the text without the PR number. That covers the runaway case and a peer row.
  • cli/ls_table_tests.rs: the expected --wide WARN cell, no-cap: lane-place rotate big --harness claude-sr2; ctx 955k: acpmux send big /compact | lane-place rotate big; 90 sub/h: acpmux session cancel big.

Observed / Not run

  • Observed: rustfmt --check is clean, and scripts/cmux-next/prepush-gate.py reports no new violations.
  • Not run yet: the Rust tests and clippy on CI (cmux-ci test once the PR is open). No Swift build: the Swift change is two string constants in the Debug-only lane fixture.

No capture: copy only. The tooltip of the warning badge, captured in #27899, loses the trailing ", leo-workspace#1617" from its two rotate commands. Nothing else in the drawing changes.

Changelog

none
Agent session: agent session

šŸ¤– Generated with Claude Code


Summary by cubic

Removes the leo-workspace#1617 pending mark from usage-warning actions now that lane-place rotate has landed, so tooltips and acpmux ls --wide no longer label the commands as unavailable.

  • Sets pending to null for both rotate actions in hub/usage_warnings.rs.
  • Drops the issue reference from tooltip text, README, schema docs, ls --wide output, and the Debug lane fixture.
  • No command behavior changes.