Public: anyone can read this; the crew can change it.
A wave's page lists its pulls in the order they landed, each with its one-line outcome and a link to the pull #15674
Check · Review · Land · Live done — Landed and live in production.
A wave's page now lists its pulls oldest-landed first, with the unlanded ones after. It shows at most 50, then "and N more" with a "Show them all" link to ?all=1. I ran the wave tests, the type check, the gate and the design lint.
shipped production is serving it deploy 3fede26
7 earlier comments · 1 event
<!-- look-pages e08d6368ba8b --> Look pages for e08d636, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Nothing in this feedback asks for a change. The comment is the gate reporting which page it will picture for the look: /preview-admin/sample/waves, inferred from the edit to src/web/pages/waves.ts. That is the page this pull changes, so I made no change and pushed nothing. A Looks: or No look: override line in a commit message would only matter if you wanted a different page pictured.
What the pull does: a wave's page (/trevato/forge/waves/<version>) lists its pulls oldest landed first, capped at 50 with "and N more". Each landed pull shows who merged it and when, in words. Pulls not yet landed follow in the order the wave names them. The terminal's wave screen shows the same order and cap.
Files:
src/story/wave_pulls.tsholds the shared ordering and cap.src/web/pages/waves.tsandsrc/tui/screens/waves.tsuse it.docs/features/wave-pulls-order.mdis the how-to for both doors.
What I left out:
- No "show all" control for pulls past the 50 cap. The list only says "and N more".
- No change to the API shape.
To try it: open /trevato/forge/waves/<version> on the preview and read the Pulls section.
I did not re-run tsc or the tests for this round, since nothing changed.
The ordering and cap work, but the new behaviour is thinly tested and one test will rot. Fix in one round:
- Add a page test that renders a wave with 51+ landed pulls: it lists 50, shows 'and N more' with the
?all=1link, and?all=1lists all of them. Today nothing renders the cap or the link (the scout says so), and the issue's box 2 is about exactly that. landed time is said in wordsasserts /\d+ days ago/ against fixed 2026 dates; it breaks once agoWords moves past days. Pass a fixed now or assert on a recent date computed in the test.- Test the empty wave line (
data-pulls-none); the attribute was added but nothing uses it. - Each landed row now says the date and the time in words ('2026-03-09 · 3 days ago'): principle 1, nothing explained twice. Keep only the words, and put the date in a title/<time datetime> if it is wanted.
- The terminal has no way to reach the rest past 50 and the cursor can move beyond the visible rows. Either clamp the cursor to the drawn rows or page the list.
- The page now disagrees with the API/MCP on order (the test title even says 'API newest first'). Say so in docs/features/wave-pulls-order.md, or align them.
All six points are addressed and pushed. The four test files I touched pass, tsc is clean, and bun scripts/gate.ts --fix and bun scripts/design-lint.ts report nothing to fix.
- Cap test:
test/wave-pulls-cap.test.tsnow renders a real wave of 53 landed pulls over HTTP. It checks:- The page lists 50 pulls.
- It shows "and 3 more" with the
?all=1link. ?all=1lists all 53 and drops the "and N more" line.
- Clock: the cap test's pulls are dated 3 days before the run, so it can't rot. I also rewrote the fixed-date assertions that depended on "N days ago":
test/wave-page-pulls.test.tsnow checks the<time>element.test/wave-pulls.test.tsandtest/tui-waves.test.tsuse a\d+ days agopattern. Their fixture dates are fixed, so they stay correct, but only because "days" is the unit agoWords reaches for old dates, as you flagged.
- Empty line: a wave that names only a pull that doesn't exist renders
data-pulls-noneand no "more" line, and a test asserts both. - Words only: the page row now reads
merged by X <time datetime=… title="2026-03-09">3 days ago</time>, so the date is only in the title. The terminal row shows only the words. - Terminal cursor: n/p now wrap within the 50 drawn rows. I chose clamping over paging. The terminal still has no way to reach pulls past 50, and its "and N more" line doesn't point at the page. That gap is left open.
- API/MCP order:
docs/features/wave-pulls-order.mdnow says the page and terminal list oldest landed first while the API and MCP return newest first, and that this is deliberate for now. I did not align them. I also removed "(API newest first)" from the title of the test intest/wave-pulls.test.ts.
<!-- look-pages 032e34dafec5 --> Look pages for 032e34d, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
A wave's page now lists its pulls oldest-landed first, capped at 50 with "and N more · Show them all" (?all=1 lifts the cap). The terminal's wave screen follows the same order and cap, and a how-to in docs/features/ covers both.
The check failed because the wave page wrote <time> by hand, which test/time-element.test.ts forbids. It now builds the landed time with the shared time() helper in src/web/pages/waves.ts. The element's title is now the full instant (2026-03-09 10:00 UTC) instead of the bare date. I changed the title assertions in test/wave-page-pulls.test.ts and test/wave-pulls.test.ts to match, because they were pinned to the old date-only title.
The other five failures in the check log were test/web-apps.test.ts, test/web-code.test.ts and test/tui-variants.test.ts. They pass here, so I took them for shard flakes; I did not find a cause. If they fail again on this push, that is worth a look.
Those three files, the wave-pull tests, test/time-element.test.ts and the app and terminal variants tests pass locally. tsc, the gate and the design lint are clean. I did not run the full suite.
Review:
[{"go":"/trevato/forge/waves/<version>","look":"Pulls list","expect":"Oldest landed first; each landed time reads like '3d ago' and hovers as the full UTC instant; past 50 pulls a line reads 'and N more' with a link to ?all=1"}]A wave's page now lists its pulls oldest-landed first, each with its one-line outcome and a link to the pull. Past 50 pulls it shows "and N more · Show them all", and ?all=1 lifts the cap. The terminal's wave screen follows the same order and cap, and docs/features/wave-pulls-order.md explains both. The landed time is said in words ("3d ago") through the shared time() element, with the full UTC instant in its title.
The look-pages comment on 032e34d is the gate's own inference, not a request: it says it will picture /preview-admin/sample/waves because this pull changes src/web/pages/waves.ts. That is the page this pull changes, so I left it alone and made no new commit. The earlier push, 11414d522, already fixed the failing check, which was a hand-written <time> in waves.ts.
Last local run: tsc, the gate, the design lint and the wave-pull, time-element and variants tests were clean. I did not run the full suite.
To try it, open /trevato/forge/waves/<version> and read the Pulls card.
Review:
[{"go":"/trevato/forge/waves/<version>","look":"Pulls card","expect":"Oldest landed first; each landed time reads like '3d ago' and hovers as the full UTC instant; past 50 pulls a line reads 'and N more' linking to ?all=1"}]<!-- look-pages 11414d522699 --> Look pages for 11414d5, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
This feedback is the same gate note as before, now for 11414d5, and it asks for no change. The gate inferred that it will picture /preview-admin/sample/waves, because this pull changes src/web/pages/waves.ts. That is the page this pull changes, so the inference is right and I made no new commit.
A wave's page lists its pulls oldest-landed first, each with its one-line outcome and a link to the pull. Past 50 pulls it shows "and N more · Show them all", and ?all=1 lifts the cap. The terminal's wave screen follows the same order and cap, and docs/features/wave-pulls-order.md explains both. The landed time is said in words ("3d ago") through the shared time() element, with the full UTC instant in its title.
The last push, 11414d522, fixed the failed check, which came from a hand-written <time> in waves.ts. I updated the title assertions in test/wave-page-pulls.test.ts and test/wave-pulls.test.ts to the element's full-instant title, because they were pinned to the old date-only one. Five other tests in the failed check passed when I reran them here, so I took them for shard flakes and did not find a cause.
The wave-pull, time-element and variants tests pass here, and tsc, the gate and the design lint are clean. I did not run the full suite.
To try it, open /trevato/forge/waves/<version> and read the Pulls card.
Review:
[{"go":"/trevato/forge/waves/<version>","look":"Pulls card","expect":"Oldest landed first; each landed time reads like '3d ago' and hovers as the full UTC instant; past 50 pulls a line reads 'and N more' linking to ?all=1"}]All six earlier asks are met: the cap is tested over HTTP with 53 pulls, the clock-dependent assertions no longer rot, data-pulls-none is covered, the page shows time in words with the instant in title, the terminal cursor stays on drawn rows, and the doc states the API/MCP order difference. The preview answers 200. The list uses the shared time() helper, rows and a plain ?all=1 link, so it works with JavaScript off. Next two things: (1) Non-blocking: the terminal says "and N more" with no way to reach those pulls, so give it a key that pages through the rest. (2) Non-blocking: align the API and MCP order with the page, or file an issue to do it, so the two doors stop disagreeing. Also Non-blocking: in test/wave-pulls-cap.test.ts, move the mid-file imports to the top.
A wave's page now lists its pulls oldest-landed first, with the unlanded ones after. It shows at most 50, then "and N more" with a "Show them all" link to
?all=1. I ran the wave tests, the type check, the gate and the design lint. They are green, but I did not run the full suite.inStoryOrderandPAGE_PULLSare insrc/story/wave_pulls.ts, and the page change is insrc/web/pages/waves.ts. It reads the existing records, so there is no new git walk.test/wave-page-pulls.test.tsandtest/wave-pulls.test.tsasserted newest-first on the page. They encoded the old rule, so I changed them to oldest-first, and the second now looks only inside the Pulls list.test/wave-pulls-cap.test.tscovers three landed pulls in order with the unlanded one last, and the cap. There is also a words-for-time check intest/wave-page-pulls.test.ts.To try it, open
/<owner>/<repo>/waves/<version>and read the Pulls list. Add?all=1for the full list.Closes #15659