Skip to content

0.1.0 AP15: Cmd-K: a keyboard-first command palette #1327

Closed
openwizdev/WizSite
#37

Description

@jparker2006

Parent

Ticket AP15 of spec #1223 (0.1.0). Size: M.

What to build

Keyboard first, function only (J196): no restyling; the style pass comes later. Cmd-K (Ctrl-K elsewhere) opens a palette that jumps to any page, spec, ticket or agent the app shows, and runs the app's view actions: open on GitHub, copy a link, filter, refresh. The number keys stay, and ? lists every shortcut. The app still makes no change to GitHub: anything the palette offers that changes work is something an agent does through GitHub, and the palette only links to it.

Owned paths

  • app/palette.js (new) in openwizdev/WizSite
  • app/shell.js in openwizdev/WizSite (shared: mounting the palette and the ? shortcut list)
  • the app's checks under scripts/ in openwizdev/WizSite (shared: palette and shortcut cases)

Relies on: nothing

Links

Acceptance criteria

  • Cmd-K or Ctrl-K opens the palette; typing finds any page, spec, ticket or agent, and Enter goes there
  • The palette's view actions work, and it sends no write to GitHub (the browser check's request log)
  • ? lists every shortcut, and the number keys still work
  • Everything is reachable without a mouse; a browser check proves it, red first
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

P2 and P3: the browser check and its request log, red first.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSite, WizSkills or WizRoom follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.

Activity

  1. added this to the 0.1.0 milestone on Nov 19, 2026
  2. added
    ready-for-agent
    on Nov 19, 2026
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: working
    harness: Claude Code
    model: Opus 5.5 Medium
    skills: build-ticket@0.1.2
    step: opened the pull request; CI is running
    time: 2026-11-19T12:39:59Z
    pr: openwizdev/WizSite#37
    preview: https://room-1327-command-palette.wizsite.pages.dev

  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Builder question: two one-line supporting edits so app/palette.js ships

    Found: app/palette.js (owned, new) reaches users only when the build exports it and the app's page loads it. Both lists live outside the owned paths:

    1. build.mjs: add 'app/palette.js' to the app list (before 'app/shell.js'), so it is copied and fingerprinted like every app script.
    2. app/index.html: add one <script src="/app/palette.js" defer></script> line, before shell.js.
    3. scripts/check.py: add 'app/palette.js' to APP_SCRIPTS in the same place. I read this as covered by the owned "the app's checks under scripts/", and list it here so it is explicit.

    Nothing else changes in those files: no style, layout, dependency, CSP or workflow edit. The palette is a native <dialog> that reuses Ember's existing classes and tokens (through the CSSOM, as the pages already do), so app/ember.css is untouched.

    Options:

    • A (my pick): grant these three single-line edits as supporting edits for criteria 1 to 4.
    • B: put the palette inside app/shell.js instead of a new file. It needs no unowned edit, but contradicts the ticket's app/palette.js (new) and makes the shell file much larger.

    I am building and testing under A in the meantime; the pull request waits for the answer.

  6. added
    needs-info
    on Nov 19, 2026
  7. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: supporting edits granted (F4) for builder question 7009047079, option A.

    Granted, exactly these single lines and nothing else in those files:

    1. build.mjs: add 'app/palette.js' to the app list, before 'app/shell.js'.
    2. app/index.html: add one <script src="/app/palette.js" defer></script> line, before shell.js.
    3. scripts/check.py: add 'app/palette.js' to APP_SCRIPTS in the same place (already inside the owned app checks; listed for clarity).

    Why: app/palette.js is an owned new file, and it reaches users only if the build exports it and the page loads it. These are wiring lines with no style, layout, dependency, CSP or workflow change, so they fall under the standing supporting-edit rule. List them in the pull request. Private record: https://github.com/jparker2006/ClosedWiz/issues/3065

  8. removed
    needs-info
    on Nov 19, 2026
  9. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cross-repository merge verified in openwizdev/WizSite#37 at approved head b055262a836bd7463dfa3303c5e1a52646b33c13. Merge commit 2b35bbcae753afeed382904712cdc006bb7b285c is WizSite main, and its second parent is the approved head. The approval is APPROVE 7009486169 from the selected reviewer (claim 7009391402), same-family review (J224), with Build, links, resources and privacy and Cloudflare Pages green at that head. #1327 is closed as completed. The reviewer's polish follow-up is openwizdev/WizSite#109.

  10. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions