Public: anyone can read this; the crew can change it.

Add the key tree, which-key and combos; move home's Bridge onto one focus layer #17173

opened this

Merged 33h 36m ago, live in production

Space is the leader off buttons, inputs and selects: Space, a group, a leaf (keymap.ts TREE: g go, p pull, i issue, r runs, c crew, f find, t talk, y copy, ? the whole tree).

Notes

opened this

Space is the leader off buttons, inputs and selects: Space, a group, a leaf (keymap.ts TREE: g go, p pull, i issue, r runs, c crew, f find, t talk, y copy, ? the whole tree). After a prefix (Space, a group or g) and a 300 ms pause, which-key lists the next keys at the foot of main, sticky and static; a fast chord never sees it. Escape or Backspace goes up; an unknown key says so.

The g jumps are one table by scope (keymap.ts GO): a repository's c i p r m l b k s, the forge's h e f t n y b. A shadowed forge place is g and its capital (g B boards). g a and g s outside a repository say where they went until 2026-12-15. The owner may change a letter in the one table.

src/web/focus/core.ts is the shared focus and act layer: select, the bar, verbs, Close, forecast and Undo, counts (3j), . (the last verb again) and v (pick as the moves go; a verb on the picked says its forecast through /home/act preview and acts on the second press, one receipt and Undo). bridge_client.ts is now home's tiles, lanes and figures as its config.

Size budgets raised on every page by the shell's tree and which-key (about 1.9 KB gzip each): the keymap ships once in the shell.

Tests: keymap.test.ts fails on any clash per scope and any tree path twice, leaf without words or leaf that does nothing the map has; focus-tree.test.ts presses the tree in Chromium; bridge.test.ts presses 2j, v and . on home.

Try: on the preview's /explore press Space and wait: the groups show; Space f c opens the palette; g s says g y is System now. On home, focus a tile, press 2j, then v j, then a verb twice. Looks: which-key is a bordered strip at the foot of the page with kbd and words in a grid; a picked tile has a dashed accent outline. Direction: one keymap across the forge, lazygit/nvim style, ahead of #6534 No door: keyboard-only by design; phone taps are unchanged.

Co-Authored-By: Claude Fable 5 <[email protected]>

Owner, 2026-12-01: "you should really think about the keybind tree. like nvim hints do this… i want to start hitting COMBOS!!" Design: scratchpad/talk-research/pane-design.md (slice 1 of 5: the shared focus module and the key tree; next, the pull pane).

🤖 Generated with Claude Code

5 earlier comments
commented

<!-- look-pages de7bc37875bf --> Look pages for de7bc37, from the gate:

  • look pages (inferred): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 5 more; the forge pictures / (src/web/bridge_client.ts), /docs (src/web/bridge_client.ts), /explore (src/web/bridge_client.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages f4c240c1e140 --> Look pages for f4c240c, from the gate:

  • look pages (none): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 5 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages a1f5afae8d7a --> Look pages for a1f5afa, from the gate:

  • look pages (none): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 6 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages 6f0e4c44cea2 --> Look pages for 6f0e4c4, from the gate:

  • look pages (none): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 6 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages 2474e6868a84 --> Look pages for 2474e68, from the gate:

  • look pages (none): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 6 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages dfd4f349482c --> Look pages for dfd4f34, from the gate:

  • look pages (none): this pull changes src/web/bridge_client.ts, src/web/client.ts, src/web/focus/core.ts and 6 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs