Skip to content

Console command palette finds no Setup page: searching 邮件, 时区 or 审计 returns only nonsensical quick-create rows #39038

Description

@objectstack-fleet

repo:objectstack@os-bob · os-bob · session_012dn2Ac2cy8paBGrxmoLwNQ

Edition: ObjectOS Community (self-hosted, this repository's code)
Version: main @ 2f9a68c, examples/app-starter via objectstack dev --ui, fresh empty database, Console locale zh-CN, signed in as the dev admin.

What happened / What you expected

In the Setup app, the ⌘K command palette indexes objects only. None of the Setup navigation entries or settings pages can be found by name, so search cannot stand in for the 44-entry Setup sidebar.

Instead, every query offers quick-create rows that make no sense for the query, for example 「新建「邮件」为业务单元」, 「新建「邮件」为共享规则」, 「新建「邮件」为队列」.

Expected: the palette finds Setup nav entries by their label (邮件投递, 审计日志, 本地化) and, ideally, settings fields by label or keyword (时区 → 本地化 › 默认时区, SMTP → 邮件投递).

Query Navigation results Other rows
邮件 none 新建「邮件」为业务单元 / 共享规则 / 队列
邮件投递 none the same three quick-create rows
时区 none the same three quick-create rows
审计 none the same three quick-create rows
用户 对象 › 用户 only the same three quick-create rows

Steps

  1. Open /_console/apps/com.objectstack.setup/dashboard/system_overview as an administrator.
  2. Click the sidebar search box (or press ⌘K / Ctrl+K).
  3. Type 邮件 and wait 2–3 s. Repeat with 邮件投递, 时区, 审计, 用户.

Reproduced on two fresh loads.


Generated by Claude Code

Activity

  1. added
    bug
    priority:p1
    domain:ui
    on Dec 2, 2026
  2. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    First touch · 2026-12-02T05:05Z

    定级:area:ux · Bug · p2 · Setup 里 ⌘K 搜不到任何设置页,只给出不合语境的快速新建行 · app-starter zh-CN 实测

    • 席位建议 p1 调为 p2:侧栏 44 项仍可直达,影响是找不到、不是用不了。补类型 Bug,进 pm:queue。
  3. added
    pm:queue
    priority:p2
    and removed
    priority:p1
    on Dec 2, 2026
  4. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF

    Claim: PM loop round 1 · 2026-12-02T06:34Z · zone osa-setup takes this card (epic #39050 on the maintainer's words in the project, 2026-12-02T06:24Z: 「开专区处理 #39050」「优先,并发10」; lease row 7337033561 on #38765)
    Area: osa-setup
    Session: session_01WGufzeZMKeDN64azVSgNLF
    Account: os-support-ai
    Branch: claude/issue-39038-palette-setup-pages
    Worktree: objectstack-issue-39038
    Domain: domain:ui
    Seat: repo:objectstack@os-support-ai
    File surface: ui/packages/app-shell/src/chrome/CommandPalette.tsx, ui/packages/app-shell/src/chrome/paletteCreate.ts, new palette test file(s) beside them named for this card, a changeset named 39038-*.md. ⛔ Not ui/packages/app-shell/src/views/appReportIndex.ts (the 「分组 › 页面」 path is #39055's), not a settings-field index (the card's "ideally" half; the epic lists it as optional, not counted), not nav alias keys (#39052). Stop on breach; explain in the report.
    Container & model: M, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate … floor sonnet · default opus · ceiling fable"), effort: high
    Clause-②: no (app-shell is a private package; the palette's match set grows inside it, no published export or prop moves)
    Metadata-protocol: none
    Responsibility: the console command palette in objectstack (CommandPalette.tsx:373-376 matches nav entries only for object/dashboard/page/report types, so Setup's component/url entries never match; paletteCreate rows are built for any non-empty query) | none | every admin searching Setup from ⌘K; reproduced in app-starter zh-CN by the filing seat and triage
    Thread-read: 7335577815
    Premise: holds (origin/main 431f880: CommandPalette.tsx:373-376 navOfType covers object, dashboard, page, report only; Setup entries in setup-nav.contributions.ts are type component; quick-create rows from paletteCreateTargets, CommandPalette.tsx:585-594 / paletteCreate.ts:128, appear for any query)
    Prior rulings read: check-prior-rulings --card 39038 → 2 ⛔ surface lines (CommandPalette.tsx:481 glyph never guessed from the title; appReportIndex.ts:88), neither rules on nav-entry matching; epic ruling comment 7336749035 (D1–D4) read, none binds this card; thread: triage first touch 7335577815; repo: objectstack-ai/objectstack.
    Serial constraints cleared: check-handover.mjs --inflight over this surface: no overlap (the only unread claim, #38415, names no path and is seat bookkeeping). #39055 (same file, Blocked-by this card) builds after it.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 2, 2026
  6. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF
    os-dev-report

    {
      "issue": 39038,
      "status": "needs_decision",
      "branch": "claude/issue-39038-palette-setup-pages",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39091",
      "session": "session_01WGufzeZMKeDN64azVSgNLF",
      "premise_still_valid": true,
      "summary": "Premise measured true on 431f8802: navOfType matched only object/dashboard/page/report, and Setup pages are component entries (Audit Log, Recycle Bin, Packages, Positions and Permissions) or url entries (every settings page). Draft PR 39091 (Part of, head 4b2bceaf) makes the palette list the app's component and url entries under Pages, behind the sidebar's member gates, matched by sidebar label (server-localized) plus componentRef (a url entry is not matched by its address), and opens each where the sidebar link does (component route with params, url address, _blank in a new tab, scheme address by document load). The quick-create half is finished but held on backup branch claude/issue-39038-palette-setup-pages-wip (head 7e144525, change in 946592b4, no PR): it needs three assertions of CommandPalette.previewCreate-36286.test.tsx rewritten, a file outside the claimed surface (the claim says stop on breach), and it narrows the create-as behaviour an earlier maintainer-approved card designed and pinned; see open_questions.",
      "tests": "All under os-verify-lock, head 4b2bceaf unless stated. cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/chrome/CommandPalette.setupPages-39038.test.tsx -> Tests 9 passed (9), VERDICT command-exit 0. cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/chrome/ (at 47cef979, source identical) -> Test Files 30 passed (30), Tests 207 passed (207). pnpm --filter @object-ui/app-shell run type-check (tsc --noEmit + tsc -p tsconfig.test.json, at 47cef979) -> VERDICT command-exit 0. Ablation: CommandPalette.tsx restored to 431f8802, test kept -> Tests 6 failed | 3 passed (9) (the 3 green are negative/control cases by design); restored via git restore --source=HEAD --staged --worktree, status clean. wip branch 7e144525: chrome/ -> Test Files 30 passed (30), Tests 212 passed (212); ablating its CommandPalette.tsx + paletteCreate.ts back to the PR versions -> 2 of its 4 new create-row cases red. wip typecheck NOT MEASURED (it only deletes the CREATE_AS_MAX export, git grep shows no other user; CI's when it lands).",
      "gates": "dispatch-gates --commands (38 commands, tree 47cef979) all run with exit codes captured before any pipe; --ran -> 'Run reconciliation - 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN'. 37 exit 0 at 47cef979; pnpm check:test-source-alias exit 1 there (new test reached the lazy @object-ui/plugin-detail import), fixed in 4b2bceaf with the gate's prescription (module-top import), re-run -> 'check-test-source-alias OK' exit 0. Re-run at 4b2bceaf: check:nul-bytes, check:undeclared-dep-imports, check:cross-package-test-inputs exit 0; pnpm --dir ui exec vitest run --maxWorkers=2 scripts/ -> Test Files 172 passed | 2 skipped (174), VERDICT command-exit 0. Outside derivation: pnpm check:changeset-fixed exit 0. overlap-check before each push: VERDICT clean exit 0 (origin/main +3 commits, none in the touched area). PR check-runs: not yet concluded at report time (CI's; PM reads them).",
      "files_changed": [
        ".changeset/39038-palette-setup-pages.md (+16)",
        "ui/packages/app-shell/src/chrome/CommandPalette.tsx (+40/-2)",
        "ui/packages/app-shell/src/chrome/CommandPalette.setupPages-39038.test.tsx (+267, new)",
        "wip only: paletteCreate.ts (+21/-4), CommandPalette.tsx (+22/-10), CommandPalette.setupPages-39038.test.tsx (+54/-5), CommandPalette.previewCreate-36286.test.tsx (+16/-6, outside the claimed surface)"
      ],
      "line_budget": "PR 325 changed lines (+323/-2) vs 3000 human-merge line: under. CommandPalette.tsx was 1231 lines (>1000): the fix stays inside the existing CommandPaletteBody function (match list, open helper, render rows), no new concern module; nothing moved.",
      "deviations": [
        "PR uses 'Part of #39038', not Fixes: the quick-create half is held on the -wip branch for the decision below.",
        "The dispatch's test line 'a query with no object match shows no quick-create row' is written on the -wip branch, not in the PR (surface breach + design conflict, see open_questions).",
        "Two foreground commands (the 38-gate loop, the app-shell type-check) exceeded the 10-minute foreground cap and were moved to the background by the harness; both completed and were read before this report; nothing of mine is left running.",
        "PR body Clause-2/Metadata-protocol lines written bare (no, none) without the claim's parenthetical."
      ],
      "mcp_calls": "0",
      "api_writes": "2 - fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/39091/assignees), this os-dev-report comment via post-stamped.mjs (POST /issues/39038/comments). git push x5 (not REST).",
      "classifier_refusals": [],
      "open_questions": [
        {
          "question": "How should the palette's 'Create \"words\" as OBJECT' rows be narrowed so Setup stops showing 新建「邮件」为业务单元 / 共享规则 / 队列, given the earlier maintainer-approved palette card (Attio-style create from what was typed) pinned 'every creatable object, the page object first, on any query' and its test file is outside this card's surface?",
          "options": [
            "A (implemented on -wip, 7e144525): offer the row only for the object of the page the palette was opened on, and only while the query finds no entry of its own (nav entry, report, app, command, New entry). Setup dashboard: 时区/邮件/审计 show no create row; on a business-unit list 华东区 offers one row for 业务单元; the earlier card's acceptance (on the Customer list an unknown name offers 新建『某某』为客户) still holds. Cost: CRM home no longer offers create-as; 3 assertions of the earlier card's test rewritten. Work: done, one merge.",
            "B: keep every creatable object but drop the rows whenever the query finds an entry. Fixes 邮件/邮件投递/审计/用户 but 时区 (matches nothing) still shows three nonsense rows; 1 assertion rewritten. Work: ~0.25 day.",
            "C: the dispatch's literal rule, rows only when the query names a creatable object. Since a named object already gets its New row and is excluded from create-as, this removes create-as almost entirely, reversing the earlier card's item 2 and acceptance. Work: ~0.25 day."
          ],
          "recommendation": "A. Axes: business need - measured: the four card queries are destination searches, and the earlier card's own acceptance is on an object list, which A keeps; long-term - one rule (context object + query that finds nothing) instead of per-app exceptions; AI-error axis - not applicable (UI behaviour, no metadata surface); no scope growth - A deletes CREATE_AS_MAX and narrows, adds nothing. B leaves the card's 时区 row visibly broken; C reverses a maintainer-approved behaviour. Also needed: widen the claim's file surface to CommandPalette.previewCreate-36286.test.tsx, then merge -wip into the PR branch."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none - doc and action navigation entries are still not matched by the palette (not Setup pages; no reach measured) - noted in PR Acceptance notes, not filed",
        "carrier: none - SearchResultsPage.tsx keeps its own flattenNavigation copy and plain substring matching - noted, not filed"
      ]
    }
  7. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    2026-12-02T09:09Z · Maintainer ruling recorded (decision card in the seat thread): the create-as half of this card takes option A.

  8. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF

    Claim amendment: 2026-12-02T09:14Z · zone osa-setup opens this card's second PR, the create-as half, on the maintainer's ruling.
    Ruling-ref: option A, recorded as 7340468629 on this card: create-as rows show only for the current page's object, and only when the query finds nothing else.
    Branch (second PR): claude/issue-39038-palette-create-as, from origin/main (PR #39091 merged), carrying the finished work of backup branch claude/issue-39038-palette-setup-pages-wip @ 7e144525 (change commit 946592b4).
    File surface (added): ui/packages/app-shell/src/chrome/CommandPalette.previewCreate-36286.test.tsx (three pinned assertions of the earlier create-from-typed-text card rewritten to the ruling; ⛔ not deleted), beside CommandPalette.tsx, paletteCreate.ts and CommandPalette.setupPages-39038.test.tsx already claimed; a changeset named 39038-palette-create-as.md.
    Clause-②: no (app-shell private; the CREATE_AS_MAX export removed is internal to it)
    Serial constraints cleared: check-handover.mjs --inflight over these paths: no overlap.

  9. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF
    os-dev-report

    {
      "issue": 39038,
      "status": "done",
      "branch": "claude/issue-39038-palette-create-as",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39116",
      "session": "session_01WGufzeZMKeDN64azVSgNLF",
      "premise_still_valid": true,
      "summary": "This is the second PR for the card, the create-as half, built to the maintainer's ruling 7340468629 (option A). Draft PR 39116 (Fixes #39038, head 1f5a644e) is a cherry-pick of the finished wip change 946592b4 onto origin/main. The four palette files are byte-identical to the wip tip. A create-as row now shows only for the object of the page the palette was opened on, and only when the query finds nothing else: no navigation entry of any type, app report, app, theme or full-search command, or New entry. CREATE_AS_MAX is deleted. The three assertions in CommandPalette.previewCreate-36286.test.tsx that the earlier card pinned are rewritten to the ruling, none deleted, plus one CONTROL. I also added L1's optional nit from PR 39091: a pin that an https _self url entry opens through window.location.assign, and a changeset 39038-palette-create-as.md.",
      "tests": "All under os-verify-lock at head 1f5a644e. cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/chrome/ -> Test Files 30 passed (30), Tests 213 passed (213), VERDICT command-exit 0. pnpm --filter @object-ui/app-shell run type-check (tsc --noEmit + tsc -p tsconfig.test.json) -> VERDICT command-exit 0; this was NOT MEASURED on the wip and is now measured. Ablation, one run: CommandPalette.tsx and paletteCreate.ts restored to origin/main 4b8a67d8, with openNavEntry's scheme branch disabled, over the setupPages-39038 and previewCreate-36286 files -> Tests 7 failed | 45 passed (52). The 7 red are: the scheme pin, 2 create-row cases from the new describe, the 3 rewritten assertions, and the new CONTROL. Restored with git restore --source=HEAD --staged --worktree; status clean.",
      "gates": "dispatch-gates --commands derived 38 commands on tree 1f5a644e. I ran each and captured its exit code before any pipe; --ran -> 'Run reconciliation - 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN'. All 38 exit 0. check:query-options-erasure was first stopped by my own 300 s timeout (exit 124); re-run alone -> exit 0 in 393 s. pnpm --dir ui exec vitest run --maxWorkers=2 scripts/ -> Test Files 172 passed | 2 skipped (174), VERDICT command-exit 0. Before the first build I ran pnpm turbo run build --filter='@object-ui/app-shell^...' --concurrency=2 -> 72 successful, exit 0. overlap-check before the push and before the PR -> VERDICT clean exit 0 against origin/main 634c5982; main is 5 commits ahead, none in the touched files. PR check-runs had not concluded at report time; they belong to CI.",
      "files_changed": [
        "ui/packages/app-shell/src/chrome/paletteCreate.ts (+21/-4)",
        "ui/packages/app-shell/src/chrome/CommandPalette.tsx (+22/-10)",
        "ui/packages/app-shell/src/chrome/CommandPalette.setupPages-39038.test.tsx (+70/-5)",
        "ui/packages/app-shell/src/chrome/CommandPalette.previewCreate-36286.test.tsx (+16/-6, three pinned assertions rewritten, none deleted, one CONTROL added; added to the surface by claim amendment 7340607671)",
        ".changeset/39038-palette-create-as.md (+17)"
      ],
      "line_budget": "171 changed lines (+146/-25), under the 3000-line threshold. CommandPalette.tsx is over 1000 lines; the change stays inside the existing CommandPaletteBody, and the new rule went into paletteCreate.ts, the sibling module.",
      "deviations": [
        "The -wip remote branch could not be deleted. git push origin --delete claude/issue-39038-palette-setup-pages-wip failed with 'send-pack: unexpected disconnect while reading sideband packet'. I did not retry. It still stands at 7e144525 and needs deleting; everything it held is in PR 39116.",
        "PR body carries the ruling as a line-start 'Ruling-ref:' line citing comment 7340468629, quoting the maintainer's option label 「A 只给当前页对象」 verbatim.",
        "One gate (check:query-options-erasure) hit my own per-command timeout in the gate loop; I re-ran it alone to completion (exit 0). The third gate chunk was moved to the background by the harness; it completed and I read it before this report. Nothing I started is still running."
      ],
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls plus POST /issues/39116/assignees for os-support-ai; read-back identical), and this os-dev-report comment via post-stamped.mjs (POST /issues/39038/comments). git push: the empty-branch probe, 1 push, and 1 failed branch delete; none are REST.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: doc and action navigation entries are still not matched by the palette, so they do not suppress create-as either. Recorded in the first PR's Acceptance notes."
      ]
    }
  10. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF

    Claim: PM loop round 2 · 2026-12-02T10:11Z · zone osa-setup re-posts its claim on this card for the second PR's branch (same holder; claim 7337178595 and amendment 7340607671 stand, first PR #39091 merged as Part of)
    Area: osa-setup
    Session: session_01WGufzeZMKeDN64azVSgNLF
    Account: os-support-ai
    Branch: claude/issue-39038-palette-create-as
    Worktree: objectstack-issue-39038 (removed after push)
    Domain: domain:ui
    Seat: repo:objectstack@os-support-ai
    File surface: ui/packages/app-shell/src/chrome/CommandPalette.tsx, ui/packages/app-shell/src/chrome/paletteCreate.ts, ui/packages/app-shell/src/chrome/CommandPalette.setupPages-39038.test.tsx, ui/packages/app-shell/src/chrome/CommandPalette.previewCreate-36286.test.tsx (three pinned assertions rewritten to the ruling, none deleted), changeset 39038-palette-create-as.md. Same fences as 7337178595.
    Container & model: M, mode:subagent, model: default, effort: high
    Clause-②: no (app-shell private; CREATE_AS_MAX was internal to it)
    Metadata-protocol: none
    Responsibility: unchanged from 7337178595
    Thread-read: 7342055099
    Premise: holds (maintainer ruling 7340468629 option A, 「A 只给当前页对象」)
    Prior rulings read: as in 7337178595, plus ruling 7340468629 on this card.
    Serial constraints cleared: check-handover.mjs --inflight over this surface: no overlap. PR #39116 is this branch's PR.

  11. removed
    pm:dispatched
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions