You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
⌘K palette: after the query is replaced in one input event (paste, or select-all + paste), Enter does nothing when the new hits are a subset of the old ones — no item is selected #33863
Where. Console command palette, ui/packages/app-shell/src/chrome/CommandPalette.tsx. cmdk runs with shouldFilter false and server-ranked record hits.
Reproduction (main a557fa38, stock showcase, seeded admin, headless Chromium, real keyboard events; reproduced by two independent runs):
Open any console page, e.g. /_console/apps/com.example.showcase/showcase_task, and press Ctrl/⌘+K.
Type huaning. Record hits include the account 华宁科技 and the contact 张伟 (zhangwei@huaning.example). The first hit is selected.
Press Ctrl/⌘+A, then paste zhangwei (a single insertText event).
Wait for the hits to settle (3 s), then press Enter.
Expected: the only hit, 张伟, is selected (aria-selected="true"), and Enter opens /showcase_contact/record/<id>.
Actual: the list shows the single hit 张伟 with noaria-selected item. Enter does nothing: the URL stays on the task list and the palette stays open.
Controls, same boot.
Typing zhangwei key by key, from empty or as the replacement after Ctrl/⌘+A: the hit is selected and Enter opens the contact.
One-event inserts whose new hit set is not a subset of the previous one keep a selection and Enter navigates. Measured cases: Capability from empty, proj → Capability, Initech → Globex.
So the miss seems to need the previously selected hit to drop out while the remaining hits were already in the list.
Impact. A user who pastes a name into ⌘K and presses Enter gets no response. They have to press ↓ or click.
Regression vs 18.4.0: unknown. The palette file changed since 181ad7d4 only in #33493 (built-in command label match), which does not touch selection. Not measured on an 18.4.0 build.
QA-source: #33861 · search.command-palette-navigation · observed beside the clauses
Triage: first touch → domain:ui · p3 · 2026-11-15T12:53Z
⛔ Not a claim.
From sweep #33761. In the ⌘K palette, after the query is replaced in one input event, Enter does nothing when the new hits are a subset of the old. Typing works, so p3.
Claim: PM loop round 1 · 2026-11-15T14:15Z
Session: session_01ADHkmQpP78EYnkHE31AvZn (card thread, dev) · seat session_01ADHkmSzhXR4yUAgwq1bQRi
Account: os-steve (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-81khgn
Worktree: objectstack-issue-33863
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/chrome/CommandPalette.tsx and its tests (stop on breach; explain in the report)
Container & model: S, mode:thread, model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: ui/packages/app-shell CommandPalette (objectstack) | none | every console user who pastes a query into ⌘K and presses Enter
Thread-read: 6894622970
Premise: holds
Serial constraints cleared: no open PR touches CommandPalette.tsx (read 14:15Z); seat 2 holds #33826 (same file) behind this card; seat 1's p1/p2 cards do not touch this file
Release: 2026-11-15T14:18Z — the domain:ui#2 claim 6895826315 ends before any work. Back to pm:queue, assignee cleared.
Why: the maintainer, in this account's fleet project chat: 「尽快把 p1 p2 卡处理完」 and 「应该是优先 p1 p2 ,为什么会派 p3」 (2026-11-15T14:16:27Z). This shift works p1/p2 only; this card is p3.
State: the card thread stopped with zero edits, zero commits, nothing pushed, no PR, no GitHub writes. Branch claude/project-thread-81khgn carries nothing. Resume-from: none (start from main).
Reading kept for the next dev (data, not a ruling): cmdk 1.1.1 under React 19: with shouldFilter false a search change schedules selectFirstItem against the still-rendered old list, and the item-unmount path only re-selects when the unmounting item was the selected one. The seat hypothesis (reset the selected value when it leaves the hit list) is plausible, not measured.
Closed in the full p3 review the maintainer asked for on the triage thread on 2026-11-15 (「剩下的p3你都按照这个标准完整的审核一遍吧」). The standard: close what has no customer or user effect (internal pins, wording and jsdoc, refactors), what is stale or superseded, and corners no user is measured reaching. Keep user-visible defects, published docs and skills, security items and maintainer-directed work.
This card: An Enter-after-paste corner in the command palette; typing works.
Reopen it if a user or a later change makes it matter.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p3 · 2026-11-15T12:53Z⛔ Not a claim.
From sweep #33761. In the ⌘K palette, after the query is replaced in one input event, Enter does nothing when the new hits are a subset of the old. Typing works, so p3.
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 1 · 2026-11-15T14:15Z
Session:
session_01ADHkmQpP78EYnkHE31AvZn(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-81khgnWorktree:
objectstack-issue-33863Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/chrome/CommandPalette.tsxand its tests (stop on breach; explain in the report)Container & model:
S,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
ui/packages/app-shell CommandPalette (objectstack) | none | every console user who pastes a query into ⌘K and presses EnterThread-read: 6894622970
Premise: holds
Serial constraints cleared:
no open PR touches CommandPalette.tsx (read 14:15Z); seat 2 holds #33826 (same file) behind this card; seat 1's p1/p2 cards do not touch this fileobjectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Release: 2026-11-15T14:18Z — the
domain:ui#2claim 6895826315 ends before any work. Back topm:queue, assignee cleared.claude/project-thread-81khgncarries nothing. Resume-from: none (start frommain).shouldFilterfalse a search change schedulesselectFirstItemagainst the still-rendered old list, and the item-unmount path only re-selects when the unmounting item was the selected one. The seat hypothesis (reset the selected value when it leaves the hit list) is plausible, not measured.objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Closed as not planned · 2026-11-15T16:23Z
Closed in the full p3 review the maintainer asked for on the triage thread on 2026-11-15 (「剩下的p3你都按照这个标准完整的审核一遍吧」). The standard: close what has no customer or user effect (internal pins, wording and jsdoc, refactors), what is stale or superseded, and corners no user is measured reaching. Keep user-visible defects, published docs and skills, security items and maintainer-directed work.
This card: An Enter-after-paste corner in the command palette; typing works.
Reopen it if a user or a later change makes it matter.