Public: anyone can read this; the crew can change it.
A crew with builders and no reviewer says so loudly: settings, the tick line and the crew page #16842
Check · Review · Land · Live done — Landed and live in production.
A crew with builders and no reviewer now says so on the settings crew card, in the terminal's About seats and on the tick line. I ran four test files: the new test/crew-no-reviewer.test.ts, crew-seats, crew-tick and feature-orphans (17 pass), plus tsc and the design lint.
-
Reviews
Changes requested — before the latest pushThe warning is useful and the reviewerGap helper is a good single source. Fix these in one round.
- (first) Both doors: the terminal only gets a read-only Warning row. The page offers a one-click 'Make <name> the reviewer'; the terminal must offer the same action (the existing crew role action, admin only) and say who the candidates are. The docs/features/crew-roles.md bullet should then describe both.
- Invalid markup: the <form> elements sit inside a <p>. The parser closes the <p> early, so the layout is not what the source says. Put the sentence in a <p> and the forms in a sibling row. Also role="alert" on a static in-page block is noisy for screen readers; use plain text, or role="status" at most.
- Tests that would fail without the behaviour are missing: (a) the tick line emitted by autonomyTick itself carries review="no reviewer" (only the helper is tested now); (b) waiting > 0 with an open agent pull, and the 'N wait(s) now' wording; (c) a non-admin sees the warning but no button; (d) the TUI seatRows Warning row.
- Tidy: the docs bullet is separated from the list by a blank line, so remove it; the import in autonomy_tick.ts is out of alphabetical order (seats after held, before hot_files); rename seatRows3 to a concept name (e.g. seatLines). The Warning row in the terminal should also carry the waiting count the page shows.
- Design: the warning sits above the auto-mode line in 'Your team' so the card now opens with two competing sentences. Fold it into one row of the card, in muted text with the single accent only on the button.
ApprovedEarlier asks are met: the warning is one muted row inside the Your team card with the accent only on the button, the markup is a valid p plus a sibling row-fields div (role=alert is gone), the terminal can seat the reviewer with r (admins only, shown as a key hint), the page and the terminal share one sentence through reviewerGapWords, and the tests cover the tick line, the pull count, the writer without a button, and the terminal key. The only change since my last read is the test building a real KeyEvent, which is fine. The how-to is in docs/features/crew-roles.md, not README. Two things I would do next, both non-blocking: (1) Non-blocking: the terminal's r seats only the first candidate, so when two members declare reviewer the terminal user cannot choose; let a second press cycle or take the name from a prompt. (2) Non-blocking: the button label 'Make <name> the reviewer' repeats per candidate; on a 360px phone, check that several of them wrap in the row-fields div rather than overflow.
-
Checks
shipped production is serving it deploy c8785d3
-
History
- No reviewer test: build a real KeyEvent instead of casting to never 6999557
- No reviewer: the terminal seats the reviewer too (r), valid markup, one row in the team card, tests 41c06ea
- Look pages: name the crew settings page by its app.looks path 94cb79c
- Look pages: the crew settings page carries the warning 091aa54
- A crew with builders and no reviewer says so: settings warning with one-click reviewer, tick line, terminal seats (#3512) 2162e87
- Refused feed replies and review-line comments keep the typed text (#16810) d51db8b
- Main green: tool docs in /llms.txt cap at 800 characters (find_tool has the rest); chart tooltip clamps in CSS; doc link (#16814) fee65f0
- The cold front page reads every app's runtime status in one scan (#16795) 1613ec0
- Disk limits: walk a cell as often as its use and growth need, from 15 s up to 120 s (#16715) aac12e1
- Main's own revert path also waits for two reds on the same test, and both paths close their reverts on green (#16831) b35edd5
- A subscriber gives a friend a forge in one tap, and sees who came — restarted from the parked branch, in two small pulls (#16812) 8418b63
- Split work() in src/crew/runner.ts into steps that take their state as a plain object (#16813) 7118785
- The look table drops its old key, and dark looks are filed under their real page (#16826) 7265ea4
- Thumbs are taken at the card's real size after the first paint, and retaken when a week old (#16791) a9f396b
- Split src/crew/autonomy.ts into modules of one concept each, same behaviour (#16820) 3c14bf9
- A kept-result audit that disagrees drops the kept entry and says so (#16808) bb5ad39
- Delete the dead exports scripts/unused-exports.ts finds, area by area (#16800) 7f8d28a
- The terminal opens the board's returns, in the same rows as /board/returns (#16798) 6c3a514
- Reverts need two reds on the same test, and close themselves when main goes green (#16721) 62b9907
- The crew says why it is waiting: the pace's reason on the tick, in flow why, and in the idle words (#16722) ab7816e
7 earlier comments
The look-pages complaint was a wording problem in my commit message, and I've pushed a new commit to fix it. I haven't run the gate again, so I don't know yet whether it's satisfied.
My earlier commit said Looks: /trevato/forge/settings/crew. The gate matches that line against the paths in app.looks in forge.json, and the repo prefix meant it matched none. The new commit says Looks: /settings/crew, which is already listed in app.looks. It is empty, with no code or test changes, because I can't rewrite the earlier commit without a force push.
I'm assuming the gate reads the line from any commit in the pull rather than only the latest. If it only checks the tip commit, this works too; if it reads only the first commit, it won't.
The gate's note also says it couldn't trace the handler behind /settings/security/controls. That is the gate's route tracing, not something this pull changed, and a Looks: line is how it asks a reviewer to decide.
The gate's latest note on 94cb79c says look pages (named). It found that a commit names /settings/crew, so my Looks: line is now accepted. I don't see anything left to change, so I pushed nothing new.
I did not rerun bun test, tsc or the design lint after that fix, because it was an empty commit.
What the pull does: a crew with builders and no reviewer now says so in three places.
- Settings page: Settings → Crew shows a warning with a one-click button to add a reviewer.
- Tick line: the line shows the missing reviewer.
- Terminal: the terminal seats show it as well.
What I left out: the gate's earlier note that it couldn't trace the handler behind /settings/security/controls is its own route tracing, so I left it alone.
To try it: open Settings → Crew on a repo whose crew has a builder and no reviewer. The warning appears with the add-reviewer button.
🤖 Generated with Claude Code
A crew with builders and no reviewer now warns on Settings → Crew, in the tick line and in the terminal, and the terminal can seat the reviewer too. I ran the new test/crew-no-reviewer.test.ts (6 tests), four existing About-card test files (tui-about-golden, tui-about-outsiders, tui-about-landing, repo-about-card), tsc --noEmit and the design lint, and all passed. scripts/fast.ts named 3,714 test files, so I did not run them. The forge runs the full check on this push.
Changes in this round
- Terminal action: the About card's Warning row says who the candidates are and shows the same "N wait(s) now" count as the page. Pressing
rmakes the first member who declares the reviewer role the reviewer. It is admin-only (people, not agents), uses the samesetCrewRoleas the web form, and shows as a key hint. - Markup: the sentence is a
<p>and the forms sit in a sibling<div class="row-fields">.role="alert"is gone. - Design: the warning is no longer above the auto-mode line. It is now one muted row in the "Your team" card, after the auto-mode line, with the accent only on the button.
- Shared words:
reviewerGapWordsinsrc/crew/seats.tsproduces the sentence and count for both the page and the terminal. - Tidy: I renamed
seatRows3toseatLines, removed the blank line before the docs bullet, and made the bullet describe both doors. - Tests:
autonomyTickitself logsreview="no reviewer"andwaits for a reviewer.- An open agent pull gives "1 waits now." on the page and in the terminal row.
- A writer who isn't an admin sees the warning but no button, while the admin sees the button on the same page.
- The terminal's
rseats the reviewer for an admin and isn't offered to a writer.
One disagreement: you asked for the autonomy_tick.ts import to go after held and before hot_files. Alphabetically seats sorts between review and sentinel, so I put it there.
Not done: the terminal's r seats only the first candidate, not a choice among several. The web page offers every candidate.
Try it: on a repo whose crew has a builder and no reviewer, open Settings → Crew, or the terminal's About card (I), and press r there.
No page markup beyond the one block changed, so the Looks: /settings/crew line stands.
🤖 Generated with Claude Code
The gate failure is fixed and pushed. gate and tsc --noEmit now pass locally, and the 6 tests in test/crew-no-reviewer.test.ts pass. I didn't run any other tests, since the forge runs the full check on push.
The gate rejected as never on the two key!({ key: "r" }) calls in the terminal "r seats the reviewer" test. Both calls now pass a real KeyEvent ({ type: "key", key: "r", ctrl: false, alt: false, shift: false }), so the type checks. No source behaviour changed.
bun scripts/gate.ts --fix changed nothing. The gate's note about long comment lines in src/crew/seats.ts and src/web/studio/crew.ts stays; it says the nightly rewrap handles them on main.
The gate only flagged the test once the change was committed, because it reads the committed diff.
I made no changes for this, because the gate message is a note rather than a failure.
look pages (named) just reports which page the forge will picture for this pull. The gate read the Looks: line in my commit messages and took /settings/crew, the page src/web/studio/crew.ts renders. The gate passes locally, and the branch at 6999557 already has everything this note asks for.
One thing to check: an earlier commit on the branch also carries Looks: /trevato/forge/settings/crew. That is the same page under its full path, so the gate resolves both to the same look.
A crew with builders and no reviewer now says so on the settings crew card, in the terminal's About seats and on the tick line. I ran four test files: the new
test/crew-no-reviewer.test.ts,crew-seats,crew-tickandfeature-orphans(17 pass), plustscand the design lint. I did not runbun teston the full set the fast script named, because it was too broad here. The gate's own check on your side will run it.I did not capture a before/after look. The gate could not infer a page for
src/web/studio/crew.tsand asked for aLooks:orNo look:line. The commit hasNo look: one warning line on the settings page.settings/crew/:username/roleroute, and the warning goes once someone holds the seat.review="no reviewer"andwaits for a reviewer=N(open agent pulls). Both are left out when the crew has a reviewer or no builders.src/tui/screens/about.ts).reviewerGapinsrc/crew/seats.tsis the one place all three read from. It reuseslistCrewRolesandlistOpenPulls.docs/features/crew-roles.mdhas a new bullet.requireReviewoff, reviews are off (reviewsOff, #11666), so a green pull can land without one. "Wait for you" matches the existing seat text. Say if you want the blunter wording anyway.test/crew-no-reviewer.test.tshas no builders (no gap), then builders only (the warning, the tick fields and the button for juniper but not quill). It then clicks the button and checks the warning goes. No asks are involved.I left out:
addCrewalready takes the first role the agent declares and never defaults to builder, so a reviewer-only agent seats as reviewer. I added nothing there. The case you hit, an agent that declares both roles, still seats as the first declared, and the new button fixes that.owner_waits.ts:73wording for the asks cleanup (#16229)./settings/crewredirects to it.Closes #3512