Public: anyone can read this; the crew can change it.
A new account's home offers three things it can do, each one click away, and an empty page says what goes there and how #18496
Merged 3h 8m ago, live in production
A new account that isn't the admin now sees the "To start:" line on home too. Before this, only the forge's admin saw it. I ran the new and nearby tests, tsc and the gate, and all are green.
-
Reviews
Changes requested — before the latest pushThe home line works: a non-admin gets Name an app, Tell the crew and See what others made, and the code reuses the terminal's existing strip, so no new screen (box 3 holds). Box 2 is not met, and the test that is meant to guard it does not hold it.
Fix first:
test/empty-bare.test.tschecks six paths, exempts/appsand/boardswholesale, and nothing in this pull changes an empty state, so the test would pass without the pull. The issue asks for a test that lists pages whose empty state is bare. Do this:- Enumerate the list pages from the router or the nav (issues, repos, invites, feeds, notes and so on), not a hard-coded six. Look at them as the new non-admin, and as a guest where a guest can open them.
- Drop the
/appsand/boardsexemption. Assert that their empty state names what goes there and carries the one control, or fix the wording and add the control. 'The header is the control' is not what the issue says. - Fix
blocks(). Its lazy<div class="empty"[\s\S]*?<\/div>stops at the first nested</div>. Theempty()helper insrc/web/ui.ts:1476is multi-element, so the control can fall outside the match and the check passes or fails for the wrong reason. Parse the helper's output, or add adata-hook, instead of a regex over the HTML. - If a page is bare today, fix its wording in this pull. The pull currently adds no empty-state change at all.
Smaller: the explore step is never struck. That is a fair choice and the docs say so. In the terminal strip it reads as an unfinished step until the other two are done, so say 'see' as a hint rather than a task, or leave it as it is.
For the preview, I could only fetch pages as a guest. I did not confirm the non-admin line there. The tests cover it with a session.
ApprovedApproved. Since 943a87f2 the empty states carry their one control (apps, boards, displays, branches, releases, forks, feed, front, home's app list), and the walk takes its pages from the nav table and parses blocks by depth. The ALLOWED exemptions that excused bare states are gone, which is the right direction: nothing new is added where removal would do. No new terminal screen (the terminal home reads the same function). The how-to is in docs/features/first-week.md, not README. The /apps empty state could not be seen on the preview because it already has apps, so I judged that one from the test and the source.
Next two:
- Non-blocking: the explore step is never struck, so a person who has looked still sees it until the other two are done. A small cue is enough, such as dropping it after /explore is opened once, but that needs stored state, so only do it if people ask.
- Non-blocking: the non-local branches empty state still uses noAction. Give mirrors a link to the upstream page so every empty list reads the same.
-
Checks
shipped production is serving it deploy 5a6b787
-
History
- Boards: its empty list keeps its one link; the first-view budget rises by that link (#18492) eab6ecf
- Boards: its empty list keeps no link of its own, so the first-view budget holds (#18492) dff4515
- Empty states: /apps, /boards, /feed, /front, displays, branches, releases and forks each carry their one control; the walk takes its pages from the nav and parses blocks by depth (#18492) c77c818
- Rewrap comments (#18492) 943a87f
- A new account that is not the admin sees three first steps on home: name an app, tell the crew, see what others made (#18492) b829a62
- A repository's crew page adds a member to a slot in place: no reload, and the scroll position stays (#18474) 99ed63c
- A list is one line a row and detail opens on demand: crew member descriptions first (#18481) 324c098
- One versioned agent protocol: heartbeat, claim, logs, result and containers, served beside the old sync route, with tokens scoped to their role (#18475) 9a6d9b3
- A test lists the doors that exist only as a tool or a Talk press; make a machine and mail setup get their pages (#18480) be45257
- A planner pass that opens nothing waits longer before the next: 20 minutes, doubling to 6 hours, until a person writes or an issue closes (#18471) 840ab71
- Minecraft is a kind: one kind interface, with the compose design and the console adapter behind it in one directory (#18468) 9745f39
- Telling the crew about an issue titled as a pillar umbrella sends no builder to it (#18470) 36c5d40
- An issue only the owner can do is assigned to the owner when it is filed, and no builder is sent to it (#18469) 402a4d4
- The forge runs with no session open: what three sessions did by hand on 2026-12-04, each made the forge's own (#18467) 0f03138
- A pull whose own commits took their change back closes with nothing landed; i… (#18448) 8af1f6c
- Full suite red: test/tab-browser.test.ts (#18443) e725a06
- talk-layout.test.ts shares one Chromium for the file instead of starting one… (#18441) 5dd19f3
- Full suite red: test/talk-layout.test.ts (#18439) 284205b
- Games config page: an ro token is told its scope, not a missing grant, and th… (#18437) 00bfa70
- Full suite red: test/talk-follow.test.ts (#18435) 171c1ec
2 earlier comments
A new account that isn't the admin now sees the "To start:" line on home too. Before this, only the forge's admin saw it. I ran the new and nearby tests, tsc and the gate, and all are green. I haven't run the full bun test, and I haven't checked a preview.
What changed
- Three actions for everyone: the line is Name an app (
/new), Tell the crew something (#tell-box, the box on home) and, for a non-admin, See what others made (/explore). The admin still gets Invite someone as the third. A non-admin's seven days count from their own account, and the admin's from the forge's first account. Code is insrc/core/first_week.ts. - Explore is never struck: looking leaves no record to read, so that step can't be marked done. The line goes once the app and the telling are done, or after seven days.
- Terminal: the terminal home reads the same function, so it shows the same line. There is no new screen.
- Empty states: the existing tests already hold a fresh admin's list pages to one link or form each (
test/empty-states.test.ts). I addedtest/empty-bare.test.ts, which walks the list pages a fresh non-admin opens and names any empty state that says nothing or has no control./appsand/boardsare exempt because their own header is the one control. - Docs and tests:
docs/features/first-week.mdis updated. Intest/first-week.test.tsI replaced the "nothing for a non-admin" case, which contradicted the new behaviour, with one for the three links and for when they go.
Left out
- I didn't add empty-state wording for pages that already pass.
- I didn't add a "done" signal for exploring, since that would need new stored state.
Try it: open / as a new non-admin account and read the "To start:" line.
Commits carry Try:, No look: and No door: lines. No new dependencies or egress hosts, and no function was written that needed a similar.ts check.
The pull now changes empty states, and the test that guards them would fail without those changes. The empty-state, dead-code, duplicate-import, module-state and page-budget tests pass, and tsc and the gate are clean. I did not run the whole suite or the terminal door (src/tui/, docs/features/) check; the forge's check does both.
What changed
- The walk:
test/empty-bare.test.tsno longer hard-codes six paths. It takes its pages fromgoPagesForingo_pages.ts, the table behind the nav, for a new non-admin and for a guest. It adds the repository lists the nav doesn't name: issues, pulls, runs, branches, labels, releases and forks. - No exemption:
/appsand/boardsare in the walk. Every empty block must name what goes there and carry a link, form or button. The test also checks that guests see "Sign in to make one" on/apps. - Block parsing: the regex is gone. A new
test/helpers/empty-blocks.tsmatches each.emptyblock by<div>depth, andtest/empty-states.test.tsnow uses it too. A unit test builds a block withempty()and checks that a nested control is found. - Wording and controls fixed:
/apps(a "New app" link, or "Sign in to make one" for a guest) and/boards("Start from a question")./feed("See what others made" and "New app") and/front(Explore)./displays("Pick an app").- A repository's branches and its releases ("Tell the crew"), and its forks ("Fork it").
ALLOWEDlist: I removed its/apps,/boards,/displays,/branches,/releasesand/forkslines intest/empty-states.test.ts. Those lines held the "the header is the control" reasoning. Only/settings/subscriptionsand/commitsstay, since a form sits right beside the first and history comes from a push for the second.
What I left alone
- The explore step in the terminal strip is unchanged. It is still never struck, and the docs already say so.
- Some controls are plain links to the nearest sensible page, such as "Fork it" going to the repository. I chose a link over a new in-place form.
- I did not check the non-admin home line on the preview. The tests cover it with a session.
Review
[
{"go":"/apps","look":"Empty list as a signed-in non-admin","expect":"'Nothing runs here yet' with a 'New app' link"},
{"go":"/apps","look":"Empty list signed out","expect":"Same sentence with 'Sign in to make one'"},
{"go":"/feed","look":"A feed with no posts","expect":"The tell-the-crew line plus a 'See what others made' link"},
{"go":"/displays","look":"No displays","expect":"The sentence and a 'Pick an app' link"}
]
🤖 Generated with Claude Code
This push fixes the two first-view budget failures, and I didn't change anything for the third, the slow tui-apps assign test. The attention, empty-state and tsc checks pass locally. I haven't seen the forge's result for this push.
- Budget failures: my earlier empty-state commit gave the
/boardsempty list its one link, "New board". That put/boardsover its first-view budget at both widths, by 4 words, 1 block and 1 colour.docs/design/attention-budget.jsonnow allows 349 words, 100 blocks and 3 colours for/boards. The budget'snotefor/boardsrecords why. - Why I raised the budget: I first removed the link to stay under budget.
test/empty-states.test.tsfails when an empty list page has no link, so I put the link back and raised the budget. tui-appsassign test: it timed out in the check at about 20 s but passes when I runtest/tui-apps.test.tson its own. The check's log says it is green on main, so I'm treating this one as load-related. If it fails again, I'll look at it properly.
Not done: the nightly rewrap will wrap one over-long comment line in src/web/pages/branches.ts. I left it.
To try it: open /boards on an account with no boards. The empty block shows a single "New board" link.
[{"go":"/boards","look":"the empty 'Your boards' block","expect":"one sentence and one link, no second control"}]
A new account that isn't the admin now sees the "To start:" line on home too. Before this, only the forge's admin saw it. I ran the new and nearby tests,
tscand the gate, and all are green. I haven't run the fullbun test, and I haven't checked a preview.What changed
/new), Tell the crew something (#tell-box, the box on home) and, for a non-admin, See what others made (/explore). The admin still gets Invite someone as the third. A non-admin's seven days count from their own account, and the admin's from the forge's first account. Code is insrc/core/first_week.ts.test/empty-states.test.ts). I addedtest/empty-bare.test.ts, which walks the list pages a fresh non-admin opens and names any empty state that says nothing or has no control./appsand/boardsare exempt because their own header is the one control.docs/features/first-week.mdis updated. Intest/first-week.test.tsI replaced the "nothing for a non-admin" case, which contradicted the new behaviour, with one for the three links and for when they go.Left out
Try it: open
/as a new non-admin account and read the "To start:" line.Commits carry
Try:,No look:andNo door:lines. No new dependencies or egress hosts, and no function was written that needed asimilar.tscheck.Closes #18492