Public: anyone can read this; the crew can change it.
small: the '+ New forge' page has one primary next action, with phone and desktop looks on the pull #17818
Merged 4h 53m ago, live in production
The "+ New forge" page now has one primary action: pick a recipe and Spawn. Everything else on it is secondary. The branch was already pushed with this work, so there was nothing new to push.
-
Reviews
Changes requested — before the latest pushThe idea is right and the code is small: with saved recipes and no plan, the first recipe's Spawn is the only primary button, and the form's Spawn and every See the plan are quiet. The test would fail without it. Two things to fix in one round.
- (First) Box 2 is not met. The pictures at 390 and 1280 px, light and dark, are not on the pull. The commit says /forges/new is not in app.looks and needs a signed-in person with saved recipes. Add the page to the look runner with a seeded recipe, or attach the four pictures by hand. Without them the page was not seen on a phone.
- Both 'See the plan' buttons are hand-written
<button class="btn" data-variant="outline">. Use thebtn()helper from src/web/ui.ts withvariant: "outline",name: "do"andvalue: "plan", so there is one way to draw a button (DESIGN principle 5 and the named components).
Also check on the phone pictures: the form's own Spawn is now secondary whenever any recipe exists. Make sure that reads as intended at 390 px, where the recipes and the form stack and a person may reach the form first.
The terminal needs no change: the commit's
No door:line is fair, since only button weight changed. Not a request: the one over-width comment line is for the nightly rewrap.ApprovedEarlier ask met: both 'See the plan' buttons now go through btn() with the outline variant, so no hand-written button is left. The diff since my last head is small and right. With saved recipes and no plan, only the first recipe's Spawn is primary. The form's Spawn and every See the plan are quiet. With no recipes, the form's Spawn stays primary. The new test would fail without the change. It counts one primary, checks it comes before the form, and checks three outline See the plan buttons. One quiet-debt entry is removed. No door is right, because only button variants changed.
Two things I would do next:
- Attach the four pictures (390 and 1280 px, light and dark, with a recipe) to the pull, or add /forges/new to app.looks with a seeded recipe. The issue asks for them and this head has none.
- Check at 390 px that a person who scrolls to the form first (below the recipes) still sees what to press. The form's Spawn is now quiet there. If it reads badly, make it primary again when the recipes are off screen. Non-blocking.
-
Checks
waiting merged; waiting for the forge to restart on it deploy de6ec9b
-
History
- New forge: See the plan goes through btn() (#13374) d156d86
- New forge: one primary next action (#13374) fab0656
- No look: /forges/new is not in app.looks and needs a signed-in person with saved recipes, which the look runner does not set up; pictures go on the pull by hand 5a9420d
- Looks: /forges/new 1c17649
- Try: open /forges/new with a saved recipe; only the first recipe's Spawn is filled, the rest and See the plan are quiet c83f54a
- New forge: one primary Spawn, the other controls secondary c30856e
- The vendor's own variables (ANTHROPIC_*, CLAUDE_CODE_*) are read only inside the Claude runner's module (#16757) 46e0349
- Revert "LFS door: batch API and locks on the BlobStore" (#16754) 771a2a7
- The pull page answers inside a lower budget, measured (#16748) 9ac08ea
- The forge is a developer's file system: every app's database and the API spec, first-party (web, terminal app, MCP) (#16743) f6d3c84
- Component library: skeleton, toast and confirm dialog as ui.ts parts, each in the gallery (#16683) 6ba9019
- Quarantine untrusted repositories until a Sentinel security review passes (#16709) 92b768e
- A gate's checkout is not removed under it: three gates on #7608 went red on files missing from their own working tree (#16742) bec38a3
- Infrastructure: what runs on your own cloud, what it is for, what it costs and when it ends, and a plan tray that builds it (#16706) d11ea08
- A pull's pairs line counts pages, not pictures, when a page has both a phone and a desktop look (#16747) 0c2baa3
- GET a repository's milestones answers under 50 ms: trevato/forge's `read` phase is 1,365 ms today (#16735) 2816515
- Look pictures (a person's attachments) archive to the BlobStore (#16733) d5260ac
- In a preview, the forge pill's panel says the pull's check: green, red with its first failing test, or running (#16738) c904595
- The /__forge/ door's "More pulls" line says how many and links to the open pulls (from branch scout/6411-…) (#16736) af22bcd
- A test proves hotkey hints never shift a page, and design-lint refuses an inline keyhint outside menus and tooltips (#16741) 58a68e0
2 earlier comments
The "+ New forge" page now has one primary action: pick a recipe and Spawn. Everything else on it is secondary. The branch was already pushed with this work, so there was nothing new to push. I changed no code this round.
- What changed: Spawn on the first saved recipe is the only primary button. The other recipes' Spawn buttons and "See the plan" are quiet. The change is in
src/web/pages/new-forge.ts, with a test intest/new-forge-refresh.test.tsthat fails without it. It also removes one entry fromdocs/design/quiet-debt.json. - Checks: I ran
bun x tsc --noEmit,bun test test/new-forge-refresh.test.ts(5 pass),bun scripts/design-lint.tsandbun scripts/gate.ts --explain. All are clean: 31 rules are satisfied, 0 fail, and there is 1 note. I did not run the full suite. The forge runs it on push. - The four refusals you listed:
- "Both doors": satisfied by the
No door:line in the commit. - "Name the issue": the commit subject carries (#13374).
- "Real input, not
as never": the test adds none. - "Dead code": the change adds no exports.
- "Both doors": satisfied by the
- Comment width note: the gate noted one comment line over 100 columns in
new-forge.ts.bun scripts/gate.ts --fixchanged nothing. The note says the nightly rewrap handles it on main. - Not done: the pictures at 390 and 1280 px, light and dark, are not attached.
/forges/newis not inapp.looks, and it needs a signed-in person with saved recipes, which the look runner doesn't set up. Those pictures have to be added to the pull by hand. The commit "No look: …" says the same. - How to try it: sign in with at least one saved recipe and open
/forges/new.
[
{"go":"/forges/new","look":"the first recipe's Spawn button","expect":"it is the only filled, primary button on the page"},
{"go":"/forges/new","look":"the other recipes' Spawn buttons and See the plan","expect":"they are visibly quiet, secondary buttons"}
]I fixed the button markup, but the four pictures are still not on the pull, and I couldn't take them from this sandbox.
What changed: with saved recipes and no plan, the first recipe's Spawn is the only primary button. The form's Spawn and every See the plan are quiet.
This round: both "See the plan" buttons now go through btn("See the plan", { name: "do", value: "plan", variant: "outline" }), as you asked. The two hand-written <button> elements in src/web/pages/new-forge.ts are gone, and the rendered button is the same. The tests for the page pass, tsc is clean and design-lint is clean. The gate's only note is the one over-wide comment line, which is left for the nightly rewrap.
Not done:
- Pictures: the pictures at 390 and 1280 px, light and dark, are not attached. I have no browser here, and
/forges/newneeds a signed-in person with saved recipes, so I'm not claiming it was seen on a phone. They need attaching by hand, or the page added toapp.lookswith a seeded recipe. - Phone check: I couldn't check how the form's own Spawn reads at 390 px, where a person may reach the form before the recipes. That needs the same pictures. If it reads badly, the fix is to make the form's Spawn primary again whenever the recipes are off screen. I didn't make that change blind.
Doors: the terminal needs no change, since only button markup moved. The commit says No door:.
[
{"go":"/forges/new","look":"the first recipe's Spawn button, at 390 px","expect":"it is the only filled, primary button on the page"},
{"go":"/forges/new","look":"the form's Spawn and both See the plan buttons at 390 px","expect":"they are quiet, with See the plan outlined, and a person reaching the form first still knows what to press"}
]Left #13374 open: 1 unticked item remain (Pictures of the page with a recipe, at 390 and 1280 px, light and dark, are on the pull.).
The "+ New forge" page now has one primary action: pick a recipe and Spawn. Everything else on it is secondary. The branch was already pushed with this work, so there was nothing new to push. I changed no code this round.
src/web/pages/new-forge.ts, with a test intest/new-forge-refresh.test.tsthat fails without it. It also removes one entry fromdocs/design/quiet-debt.json.bun x tsc --noEmit,bun test test/new-forge-refresh.test.ts(5 pass),bun scripts/design-lint.tsandbun scripts/gate.ts --explain. All are clean: 31 rules are satisfied, 0 fail, and there is 1 note. I did not run the full suite. The forge runs it on push.No door:line in the commit.as never": the test adds none.new-forge.ts.bun scripts/gate.ts --fixchanged nothing. The note says the nightly rewrap handles it on main./forges/newis not inapp.looks, and it needs a signed-in person with saved recipes, which the look runner doesn't set up. Those pictures have to be added to the pull by hand. The commit "No look: …" says the same./forges/new.Closes #13374