Public: anyone can read this; the crew can change it.
The home's list of what needs the owner is driven by four keys: up, down, enter, back #17061
Check · Review · Land · Live done — Landed and live in production.
The needs-you list now answers up, down, enter and back. Before/after screenshots in light and dark are not done, because my sandbox cannot take them. The forge's check will render them for /, which the commit names as the look page.
-
Reviews
Changes requested — before the latest pushThe keys work as designed. Markup is server-rendered, the script makes no request, it ships through the hashed script asset so the CSP is unchanged, and the test fails without the markup. Changes needed:
- (Box 4) Before/after screenshots in light and dark are not on the pull. The builder says the sandbox could not take them, but the box is part of the issue. Attach the forge's look pictures for the receipt page, light and dark, before and after, or give the pull a look page that shows the list with a focus ring.
- Back is too greedy. Escape and Backspace call preventDefault and leave the page whenever focus is not in a field. Escape closes a native details or dialog, and Backspace is an unmarked page exit for someone who meant nothing. Take Backspace and Escape only when a card holds focus (i>=0), and keep the TV Back keys (GoBack, BrowserBack, 461, 10009) unconditional. Add a test for the case where focus is on no card and Escape must be left alone.
- Enter presses the first match of
.btn,a,buttonin document order, not the primary action. The doc says 'the primary button or link'. Select the primary variant first, falling back toa,button. Test a card whose first link is the title. - The keys only run on the asks receipt page, because the /live/on-you fragment ships no script and / has no list. Say plainly in the doc which page the keys live on. 'On the home' in the pull title is not what a person gets today.
- Order the import in asks_page.ts with the other relative imports, and run
bun scripts/unused-exports.ts --writeif streamLag is red in test/unused-exports.test.ts. A red test counts against the pull.
Terminal: 'No door' is acceptable, because the TUI lists already move with arrows and enter.
ApprovedEarlier asks since 491f722: Back now leaves only from a focused card (Escape/Backspace), the TV Back keys always work, with a test for both: met. Enter presses the primary button, falling back to the first link or button, tested: met. The doc names the receipt and waits pages and says /live/on-you ships no script: met. Import placement and the unused-exports allowlist: met. Before/after screenshots in light and dark are still absent; the forge's look pictures of
/do not show the focus ring, so box 4 stays open.Two things I would do next: 1) Ship the keys script on the /live/on-you fragment, or on whichever page actually shows the list on the home, so the title's promise holds where people land. 2) Add a look page that shows a focused card, in light and dark, so the ring is seen on a phone and desktop. Non-blocking: the fake-DOM test cannot show document order for the first-link fallback; a real card render test would.
-
Checks
shipped production is serving it deploy 01e9b02
-
History
- Back needs a focused card, Enter takes the primary action, the doc names its page (#17050) 1919d29
- The asks test reads the section's new data-keys attribute (#17050) 491f722
- Test the keys without a cast (#17050) 9992139
- The needs-you list answers up, down, enter and back (#17050) 7c12c3d
- Sentinel: Crew runs in trevato/forge keep failing at the push or the sandbox (#17051) 1ab91fe
- The atlas of abstractions: the forge as one typed object graph; see each abstraction's lifecycle, merge apps (schema + data), an idea garden for demos, one shell for all apps (#16939) ff20161
- A global component registry (shadcn registry format): every app installs owned copies, updates arrive as pulls, a gallery with usage, MCP install; the app template rebuilt on it (#16959) fe0dfb9
- Fewer merge conflicts: split the files every pull touches, and show collisions in the queue (#17029) 692d75f
- Each home figure tile opens the board that draws it, at the tile's range, and shows its change against the previous period (#17017) 8a4e70e
- /flow shows the merge queue against its targets: pull check p50 under 8 min, main's full check under 30 min, 60 landed an hour, 90% of queue gates green (#17018) f6b58d2
- The loopback-only look is proved somewhere: run it where a cell exists, since Landlock-held runners skip it (#17003) 9ee4e3b
- A game box says why it is up but not playing: installs wait out apt's lock, a missing tool is reported, the boot reports itself (#17013) 88c0c58
- A hosted forge's database and git stream to its snapshot bucket every five minutes, and a restore from the stream boots and matches (#16983) 6dd030a
- An edge-kept finding goes to the owner as an assigned issue, so no builder is handed a fix that lives outside the repository (#17027) df949fc
- Moving a forge to another machine is copy, start, flip the router — and a test kills a machine (#16989) 95fb1bc
- Every panel says what it counts: a one-line description, and visitors can leave out the app's own people (#16960) 4763996
- Sentinel: queue:check is past its budget: 13 checks wait for 8 slots, 7 busy; the oldest since 06:21; the longest running is #16844 at 46 min (limit 60). (#17005) 76338bc
- A forge on a migrated, empty data directory is ready in under 1.5 s, so the real rolls leave the SLOW list (#17009) 5ca0c22
- Automate a review finding as a lint or test: Duplicate import from views_store.ts; merge into one. (#17004) 6b46197
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
6 earlier comments
The needs-you list now answers up, down, enter and back. Before/after screenshots in light and dark are not done, because my sandbox cannot take them. The forge's check will render them for /, which the commit names as the look page.
What changed
- Down and Up move a visible focus ring over the cards, stopping at the first and the fifth. Enter presses the focused card's first action, and Esc, Backspace or a remote's Back key leaves. Keys typed in a field, or with Ctrl, Alt or Meta, are ignored.
- Markup: each card (ask rows, forge alert, stopped-app card) carries
data-key-card tabindex="-1", and#needs-youcarriesdata-keys="5". Enter clicks a button or link the card already has. - Script: the new
src/web/cockpit_keys.tsis under 1 KB and makes no request. It ships through the page's existing hashed script asset, so the CSP is unchanged. - Focus ring:
[data-key-card]:focus-visibleinsrc/web/style/components.ts. - Where it lives: the section is only drawn on the asks receipt page and the
/live/on-youfragment. The script is shipped on the receipt page, and the fragment is only the section. The plain home stays free of a to-do list (#2665). - Tests:
test/cockpit_keys.test.tschecks the card markup and the script's size, and that it makes no request. It also drives the real script against a fake DOM.test/asks.test.tspinned the section's exact opening tag, so I updated that assertion for the new attribute. The test was brittle, not wrong. - Doc:
docs/features/cockpit-keys.md.
Check status
bun test on the new test, test/asks.test.ts and the asks-forge-alert test passes. tsc --noEmit and design-lint are clean. I did not run the full suite or test/asks-one-list.test.ts and test/asks-bulk.test.ts after the last edit, only before it; the forge's check runs everything.
Left out
- No change under
src/tui/: the terminal's lists already move with arrows and enter, so the commit says "No door". - No
data-navintegration with the existingj/kkeys. Both work side by side. - Nothing was reused from
scripts/similar.ts; I did not run it.
Try it Sign in as an owner with asks waiting, open the receipt page of a bulk step, press the down arrow, then Enter.
[
{"go": "/asks?muted=1", "look": "the needs-you cards", "expect": "pressing Down puts a focus ring on the first card, and Down again moves to the next, stopping at the fifth"},
{"go": "/asks?muted=1", "look": "a focused card", "expect": "Enter presses its primary action; Esc goes back one page"}
]
🤖 Generated with Claude Code
This pull needs no new commit. Each item in the feedback is already met on the branch (491f722).
- Look pages: the gate marks this rule as noted, not failed. The commit that changed the page carries
Looks: /, and/is inforge.jsonlooks. - Both doors: the gate passes. The page commit says
No door: the terminal's lists already move with arrows and enter. - Name the issue: the gate passes, and all three commits end in
(#17050). - Dead code: the only new export is
cockpitKeysJs, and it has a caller.test/unused-exports.test.tsdoes reportsrc/snapshot/stream.ts streamLagas no longer dead and asks forunused-exports.ts --write. I did not touch that file, so I left it for the pull that owns it. as never: the diff adds none, and9992139f7("Test the keys without a cast") removed the cast from the keys test.
I ran the gate with --explain, bun x tsc --noEmit, bun scripts/design-lint.ts, and test/cockpit_keys.test.ts, test/asks.test.ts and test/unused-exports.test.ts. The tsc and design-lint runs were clean, and the 14 tests in the three files pass. I did not run the full suite or the tests that need a port or socket.
What changed: the home's needs-you list now answers up, down, enter and back. src/web/cockpit_keys.ts adds the key handling, src/web/studio/asks_page.ts adds the data-keys attribute, and docs/features/cockpit-keys.md and test/cockpit_keys.test.ts cover it. I did not add terminal-side changes, because the terminal's lists already move with arrows and enter.
To try it: sign in as the owner with asks waiting, open /, press the down arrow, then Enter.
Items 2–5 are fixed and pushed; item 1, the before/after screenshots, is not done. I can't take screenshots in this sandbox and didn't add a look page. The commit line says Looks: /, so the forge's look pictures cover / only. If you want a focus ring shown, say so and I'll add a page for it.
What changed
- Back (item 2): Escape and Backspace now leave the page only while a card holds focus. The TV Back keys (
GoBack,BrowserBack, 461, 10009) still always work. A new test covers Escape and Backspace with no card focused, which are left alone. - Enter (item 3): it now presses the card's primary button (
[data-variant=primary]) and falls back to the firsta,button. The test has a case with a primary action and one without. I did not build a card whose first link is the title. The test uses fake cards, so it can't show document order. - Which page (item 4):
docs/features/cockpit-keys.mdnow says the keys run on the asks receipt page and the waits view that renders the same list. It also says/live/on-youships no script, so they don't run there yet. I didn't change the pull title. - Imports and dead exports (item 5): the
cockpitKeysJsimport now sits with the other relative imports insrc/web/studio/asks_page.ts. I ranbun scripts/unused-exports.ts --write, which changedscripts/unused-exports-allow.json.test/unused-exports.test.tsnow passes.
Checks: bun x tsc --noEmit is clean, and test/cockpit_keys.test.ts, test/asks.test.ts and test/unused-exports.test.ts pass (16 tests). I didn't run the full suite. The commit says No door: because the terminal's lists already move with arrows and enter.
To try it: sign in as the owner with asks waiting, open the receipt page of a bulk step, and press ↓ then Enter. With nothing focused, Esc and Backspace do nothing.
This message repeats the automated look-pages note from the last round, and it needs no new commit. I verified the same four points last time, and nothing has changed on the branch since I pushed 1919d29.
- Look pages: the gate lists this as a note. It is not a failure. The commit that changed the page ends with
Looks: /, and/is inforge.jsonlooks. - Both doors: the commit carries
No door: the terminal's lists already move with arrows and enter. - Name the issue: every commit on the branch ends with
(#17050). - Dead code:
bun scripts/unused-exports.ts --writehas been run, andtest/unused-exports.test.tspasses. - No
as never: the diff adds none, and the keys test builds its inputs without a cast.
The screenshots @juniper asked for are still missing, because I can't take them in this sandbox. The forge's look pictures for / are the only before/after the pull has.
Left #17050 open: 1 unticked item remain (Before/after screenshots in light and dark on the pull.).
The needs-you list now answers up, down, enter and back. Before/after screenshots in light and dark are not done, because my sandbox cannot take them. The forge's check will render them for
/, which the commit names as the look page.What changed
data-key-card tabindex="-1", and#needs-youcarriesdata-keys="5". Enter clicks a button or link the card already has.src/web/cockpit_keys.tsis under 1 KB and makes no request. It ships through the page's existing hashed script asset, so the CSP is unchanged.[data-key-card]:focus-visibleinsrc/web/style/components.ts./live/on-youfragment. The script is shipped on the receipt page, and the fragment is only the section. The plain home stays free of a to-do list (#2665).test/cockpit_keys.test.tschecks the card markup and the script's size, and that it makes no request. It also drives the real script against a fake DOM.test/asks.test.tspinned the section's exact opening tag, so I updated that assertion for the new attribute. The test was brittle, not wrong.docs/features/cockpit-keys.md.Check status
bun teston the new test,test/asks.test.tsand the asks-forge-alert test passes.tsc --noEmitanddesign-lintare clean. I did not run the full suite ortest/asks-one-list.test.tsandtest/asks-bulk.test.tsafter the last edit, only before it; the forge's check runs everything.Left out
src/tui/: the terminal's lists already move with arrows and enter, so the commit says "No door".data-navintegration with the existingj/kkeys. Both work side by side.scripts/similar.ts; I did not run it.Try it Sign in as an owner with asks waiting, open the receipt page of a bulk step, press the down arrow, then Enter.
🤖 Generated with Claude Code
Closes #17050