Public: anyone can read this; the crew can change it.
The space page opens with the wave in flight and what landed from it today #16146
Check · Review · Land · Live done — Landed and live in production.
The space page now opens with a line about the open wave, and it's pushed. I didn't try it against a preview. It reads "Wave in flight: v2 · 1 landed in the last 24 hours" when a chapter is open.
shipped production is serving it deploy 3fede26
7 earlier comments
The feedback was the gate's inferred look-pages note, so I changed no code. I pushed one empty commit that overrides the inferred path.
The gate inferred /preview-admin/sample/space, which isn't a route this page serves. The page is registered at /:owner/:name/space (src/http/server.ts:1496). The new commit carries a Looks: /trevato/forge/space line, so the forge pictures a real repository's space page, whose first line is the wave in flight.
The earlier commits still hold the substance of the pull. The space page and the terminal's space both open with the wave line, with tests for the sealed scope and the escaping. I didn't re-run the tests, because nothing in the code changed.
To try it, open /trevato/forge/space on the preview and read the first line under the repository's name.
<!-- look-pages fb0fc4b35d2f --> Look pages for fb0fc4b, from the gate:
look pages (inferred): "Looks: /trevato/forge/space" is not a page of app.looks in forge.json; this pull changes src/web/pages/space.ts; the forge pictures /preview-admin/sample/space (src/web/pages/space.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
I got the look path wrong last time. /trevato/forge/space isn't in app.looks in forge.json. The path the gate inferred, /preview-admin/sample/space, is listed there (including under looksAsOwner) and is the right page for this change.
I pushed an empty commit with Looks: /preview-admin/sample/space, so the forge pictures that page. No code changed, and I didn't re-run the tests.
To try it, open /preview-admin/sample/space on the preview. The wave line is the first line under the repository's name.
The gate's latest note, "look pages (named)", says it found /preview-admin/sample/space in the commit I pushed. That is the page I meant, so it needs no change and I pushed nothing.
The pull is as it was at f045d6142. The code is unchanged since 35571f17a, and the only commits since are empty ones that name the look page.
To try it, open /preview-admin/sample/space on the preview. The wave line is the first line under the repository's name.
I couldn't confirm from here that either failing test is fixed. I changed no code for them. I merged current main into the branch and pushed it. The forge will re-run the check on that push.
- Production-not-running test (
test/web-apps.test.ts): it fails here, and it fails the same way on a clean copy oforigin/main. The page says "Failed to start. Deploy main to try again." where the test expects "Not running. Deploy main to start it." Production seems to fail to start in this sandbox, which can't bind unix sockets. Your log says the same file is green onmainat ec8e190, so this looks like an environment difference rather than something in this pull. The pull doesn't touch that page. - Stall test (
test/crew-review-stall.test.ts): it passed here after the merge. The check ran it at 8.15s, which is over the 2s-per-test limit. That looks like load on the check machine, but I haven't confirmed it. - Other checks:
tsc --noEmitis clean andgate --fixchanged nothing. I didn't run the fast-selected tests.scripts/fast.tssaid the diff reaches 3489 of 4263 test files, which is too broad to name, so I ran only the two files above.
If the check fails again on the same two tests, the cause is outside this pull.
Pull description
The space page's first line now shows the wave in flight. This is a reader-facing fix for #16131. The terminal's space screen opens with the same wave line. test/space-wave.test.ts covers the sealed scope and the escaping. docs/features/space.md says how it reads. The looks entry is /preview-admin/sample/space.
To try it, open /<owner>/<name>/space on the preview and read the first line.
[{"go":"/preview-admin/sample/space","look":"first line of the page","expect":"the wave in flight is shown first, escaped, scoped to what the reader may see"}]
🤖 Generated with Claude Code
I made no changes for this feedback, so there is nothing new to push. The comment is the gate's automatic note, not a defect. It says the pull changes src/web/pages/space.ts and that a commit names /preview-admin/sample/space. That's what the gate asks for.
The look is declared in forge.json and described in docs/features/space.md. The branch is already pushed and matches origin.
The preview serves the line as the first paragraph under the repo name ("The crew is resting: no wave is open." on the sample space). It is server-rendered and escaped, so it works with JavaScript off and adds no layout shift or script. The terminal screen and docs/features/space.md carry it too, and the tests cover the sealed scope, the escaping and the 24-hour edge. Two things I would do next: (1) test the screen path itself, so sealedScope is proven wired for the signed-in user in the terminal, not only spaceLines with a string passed in; (2) say in the pull that this reader-facing line goes ahead of the pipeline items (#6534 and the rest), so the owner can decide knowingly. The sample preview page has no open wave, so only the resting line shows in the pictures.
The space page now opens with a line about the open wave, and it's pushed. I didn't try it against a preview.
It reads "Wave in flight: v2 · 1 landed in the last 24 hours" when a chapter is open. With no open chapter it reads "The crew is resting: no wave is open."
The line comes from a new module,
src/story/wave_today.ts, called fromsrc/web/pages/space.ts.test/space-wave.test.tscovers the resting line and the 24-hour count, including the two cases that must not count. It would fail without the change.I ran the new test,
test/space-page.test.tsandtest/space-budget.test.ts. They pass, and so dotsc --noEmit,design-lintandgate. I didn't run the full suite, which the forge runs on push. The pre-push hook asked for a "Try:" commit, so there's an empty one on the branch.Closes #16131