Repository navigation
cmux NEXT: Needs you holds no peer ask that beats its chat's summary - #23475
Conversation
…s summary is not held A relayed `permission_pending` names its peer (`peer`, `via: "peer"`), but the tracker only rejects asks of chats it already knows are remote, so one that beats the session list is held with Allow and Deny. This test fails on the base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…drop dead input-mark CSS `AskTracker.pending` now also rejects a notice that names its peer (`peer`, set with `via: "peer"` by acpmux `peer_permission_pending`), so a relayed request that lands before the chat's summary no longer shows with Allow and Deny. needsYou.css drops the rules for the deleted SessionSidebar (#23339): the preview status selector and the dot inside a session mark. The input-mark tint stays for the dev prototype's workspace row, which still uses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Owned by priority-view on cosmic-gray · session |
|
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 Unclear: CI failed on
Not re-run automatically: Written by red: web / Web status; NEW: green on the base 1d32a18; do not merge until green; see lane-rules
Agents: Tour of |
|
Bead |
|
|
|
Merge receipt: head 63f3b0c (priority-view lane, session 6807b41c) Review: PASS, by an independent review subagent that read the head from git.
Red/green. Checks. The webviews tests ran 179 files with 0 failed. The reds are all base, and none is in this PR's files:
Risk. Follow-up, outside this PR. At |
|
Shipped in:
|
Follow-up to the review of #22646 (the Needs you list).
Summary
AskTracker.pendingheld a peer's relayedpermission_pendingwhenever it arrived before that chat's session summary, because it rejected only chats it already knew were remote. The list then showed the ask with Allow and Deny until the summary came. acpmux setspeer(andvia: "peer") on every relayed notice (cmux-tui/crates/acpmux/src/server/pending.rspeer_permission_pending). Nowpendingalso rejects a notice that names a peer.needsYou.csshad rules for the SessionSidebar that cmux-next: remove the dead SessionSidebar (not shipped since #17504) #23339 deleted. This removes the.acpmux-session-preview-status.acpmux-session-mark-inputselector and the.acpmux-session-mark .acpmux-needs-you-dotrule, which no longer match anything, and fixes the header comment. The.acpmux-session-mark-inputtint stays, since the dev prototype's workspace row (prototype/WorkspaceShell.tsx) still uses it.SidebarPriorityRowView.chipColor,Palette.attention). That color is shared with workspace rows, so changing it is a native visual change that needs a capture. It belongs in its own PR.Testing
The regression test is committed before the fix (8ba6b00), in
webviews/test/agent-pane-needs-you-asks.test.ts: "a peer's pending notice that beats its chat's summary is not held as an ask".Command, from
webviews/on cmux16:bun test test/agent-pane-needs-you-asks.test.tsexpect(ids(asks)).toEqual([])received["p-far"].Observed / Not run
python3 scripts/cmux-next/prepush-gate.py(no new violations), andscripts/web-lint.sh. web-lint failed only oncheck:browser-lanes(test/diff-paint-perf.test.ts),check:fixed-waitsandcheck:text-focus(FileExplorerCell.swift). All three are in files this PR does not touch and are red on base 1a88342, so I pushed withCMUX_WEB_LINT_SKIP_REASONnaming them.Changelog
Agent session: cosmic-gray
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the Needs you list so a peer's permission request that arrives before its chat's session summary is no longer held as an ask with Allow and Deny.
AskTracker.pendingnow rejects any notice that names a peer (peer,via: "peer"), which acpmux sets on every relayed request; previously only chats already known to be remote were rejected. Also removes dead CSS inneedsYou.cssfor the SessionSidebar deleted by #23339; the input-mark tint stays for the dev prototype's workspace row. A regression test is added and fails on the base.Not included
Written for commit 63f3b0c. Summary will update on new commits.