Public: anyone can read this; the crew can change it.
On a repository's crew page, adding a member to a slot redraws in place without losing the scroll, and a member is one line with its description on demand #18627
Its check is queued, place 5 of 7
The crew page's remaining forms now act in place, and their seven entries are gone from test/in-place-offenders.json. The two crew-page tests (test/crew-in-place.test.ts and test/in-place-rule.test.ts) pass.
-
Reviews
No review yet.
-
Checks
working queued to check deploy 645c378
Check queued 3m, place 5 of 7Check of 645c378fast tier: queued · full gate runs on land
Website spec: 25 findings (report only)
- /admin/telemetry http://127.0.0.1:34369/admin/telemetry answered 404 — https://specification.website/
- /board http://127.0.0.1:34369/board answered 303 — https://specification.website/
- /cockpit http://127.0.0.1:34369/cockpit answered 303 — https://specification.website/
- /notes http://127.0.0.1:34369/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:34369/review answered 303 — https://specification.website/
- /system http://127.0.0.1:34369/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:34369/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:34369/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:34369/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:34369/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:34369/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:34369/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:34369/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:34369/settings/crew?help answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:34369/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:34369/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:34369/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:34369/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:34369/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /advisories http://127.0.0.1:34369/advisories answered 303 — https://specification.website/
- /looks/missing http://127.0.0.1:34369/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:34369/looks/failed answered 500 — https://specification.website/
-
History
- The marked fallback card refuses a non-admin with the mark's 403 645c378
- Mark the crew fallback card route admin 0f88e4c
- Merge origin/main into the crew in-place pull 1aa0432
- The pageless-doors list shrinks: the first eighteen tool-only or Talk-only doors in scripts/pageless-allow.json get a control on a page (#18544) 6b1c1f3
- The fallback card fragment is not a page: the audit skips it 94a2fa1
- Merge origin/main ba46c40
- Regenerate lazy_lists.ts 86180f4
- No terminal screen is added to the server: a test freezes src/tui/screens to its present list (#18559) 2dd1176
- A browser tab takes runs through the same versioned protocol and stops when it closes (#18534) 854a270
- An issue only the owner can do is assigned to the owner when it is filed, and no builder is sent to it (#18613) 9f3fa37
5 earlier comments
The crew page's remaining forms now act in place, and their seven entries are gone from test/in-place-offenders.json. The two crew-page tests (test/crew-in-place.test.ts and test/in-place-rule.test.ts) pass. So do the first-view budget, duplicate-import, doorless, route-marks and unused-exports checks, and tsc --noEmit is clean. I did not run the full suite or bun scripts/fast.ts; it named 4374 files and I stopped it at the time limit.
What changed
- About (
/settings) and On its own (/settings/autonomy) save in place. The autonomy answer also redraws the crew line. - Budgets and the model key save in place, and the key field is wiped after a save.
- The metered-fallback switch, the cap and Undo save in place. They redraw the whole fallback card through a new admin-only
GET /settings/crew/fallback/card, so the switch label and the cap meter stay true. - A JSON ask gets
{ok, flash, redraw}, or a 422 with the words. Without script the same POST still redirects, and the same-origin checks are unchanged. - The new tests in
test/crew-in-place.test.tscover About and autonomy answering JSON, the 422, the redirect without script, a cross-origin refusal and the markup. They also cover the forge-wide budgets, cap and key forms refusing a bad value with JSON, and the fallback card being refused to non-admins.
Also changed
- The offender list was already red on
main, becausepeople.ts,people_cards.tsand others had moved. I renamed those entries (three removed, six added) soin-place-rule.test.tspasses. - The commit says
No door:because the forms and routes are the same and only JSON asks answer differently.
Not done
- The key save still leaves the page's surrounding key text as drawn until a reload. I did not add a fragment for it.
- The gate notes
fallbackFragmentlooks likeoriginReachFragment. It is the same small admin-fragment pattern, so I left both as they are.
Try it: sign in as an admin, open /settings/crew and a repository's /settings. Change the autonomy mode, the budgets or the fallback switch. The page should stay at the same scroll position and say the result next to the form.
[
{"go":"/alice/yard/settings","look":"About and On its own cards","expect":"Saving either shows its words beside the form with no page jump; the crew line above updates after autonomy."},
{"go":"/settings/crew","look":"Budgets, Metered fallback","expect":"Turning the fallback on or off, setting the cap, and Undo redraw the fallback card in place; a bad cap is said beside the form."}
]
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🤖 Generated with Claude Code
Both failing tests now pass locally, and I've pushed the fix.
- Lazy route list:
src/http/lazy_lists.tswas stale because the newGET /settings/crew/fallback/cardroute wasn't in it. I regenerated it withbun scripts/lazy-lists.tsand committed it. - Design audit: The same route is a fragment the metered-fallback form fetches, not a page. The audit test counted it as a page with no entry. I added it to the non-page list in
test/design-audit.test.ts. The audit doc is unchanged, and the test was wrong on this point, not the code.
I merged the current origin/main before pushing. bun x tsc --noEmit is clean. I ran only test/design-audit.test.ts and the lazy-list generator, not the full suite. The lazy_lists.ts staleness test wasn't re-run on its own; I only regenerated the file. The forge's check will run the rest.
I merged main into the branch and pushed. The one conflict was in src/web/pages/settings.ts, in the autonomy save. I kept this branch's version, which answers JSON and redraws the crew line. The main side's version only differed in a typing detail.
One test fails in my sandbox, and I haven't confirmed it also fails in the forge check. In test/crew-in-place.test.ts, the "forge-wide crew forms … fallback card is an admin's fragment" test expects a signed-in non-admin to get 404 on /settings/crew/fallback/card. In the sandbox that user gets a 403 on every /settings/crew… page, and the card handler is never reached. It fails the same way on my last commit from before the merge, which the forge check passed. So the merge didn't cause it. I'd treat it as a sandbox difference (my guess), but I haven't confirmed that, so watch what the forge check says on this push.
What I ran:
bun x tsc --noEmitis clean.bun scripts/lazy-lists.tsregenerated nothing new.test/design-audit.test.ts,test/in-place-rule.test.ts,test/in-place-fragments.test.tsandtest/boot-lazy.test.tspass (31 tests).- I did not run the broader set
scripts/fast.tspicks. It named 4381 files, far too many here. bun scripts/gate.ts --fixran without rewrapping anything. It flaggedfallbackFragmentas the same shape asoriginReachFragment; I left that.
I fixed the one failing check, the missing route mark, and pushed. I haven't seen the forge's check verdict on the new push. I ran tsc and a few suites locally, but not the whole suite.
- Route mark:
GET /settings/crew/fallback/cardhad no admin or open mark, so "every route is marked admin or open" failed. I marked itadmininsrc/http/marks/settings.json, next to its sibling routes. - Test change: with the mark, a non-admin now gets the mark's kind 403 on that card instead of a bare 404. The test in
test/crew-in-place.test.tsthat expected 404 was out of date, so I changed it to 403. - The four named tests: the audit-entry, duplicate-import and first-view-budget tests, including the stamped-release one, all pass locally. I ran the audit and budget tests directly and the duplicate-import rule through the gate.
- Look page: the commits now carry
Looks: /settings/crew. - Duplicate-function note: the gate says
fallbackFragmentmatchesoriginReachFragment. I left both as they are, because each asks a different access question (admin vs. signed-in) and renders a different block. The gate lists this as a note, not a failure.
Locally, bun x tsc --noEmit printed nothing. The route-marks, crew-in-place, design-audit and duplicate-import suites pass. bun scripts/fast.ts said the change reaches too many files to name, so I didn't run those.
The comment-width note is untouched. The gate says the nightly rewrap handles those lines on main.
The crew page's remaining forms now act in place, and their seven entries are gone from
test/in-place-offenders.json. The two crew-page tests (test/crew-in-place.test.tsandtest/in-place-rule.test.ts) pass. So do the first-view budget, duplicate-import, doorless, route-marks and unused-exports checks, andtsc --noEmitis clean. I did not run the full suite orbun scripts/fast.ts; it named 4374 files and I stopped it at the time limit.What changed
/settings) and On its own (/settings/autonomy) save in place. The autonomy answer also redraws the crew line.GET /settings/crew/fallback/card, so the switch label and the cap meter stay true.{ok, flash, redraw}, or a 422 with the words. Without script the same POST still redirects, and the same-origin checks are unchanged.test/crew-in-place.test.tscover About and autonomy answering JSON, the 422, the redirect without script, a cross-origin refusal and the markup. They also cover the forge-wide budgets, cap and key forms refusing a bad value with JSON, and the fallback card being refused to non-admins.Also changed
main, becausepeople.ts,people_cards.tsand others had moved. I renamed those entries (three removed, six added) soin-place-rule.test.tspasses.No door:because the forms and routes are the same and only JSON asks answer differently.Not done
fallbackFragmentlooks likeoriginReachFragment. It is the same small admin-fragment pattern, so I left both as they are.Try it: sign in as an admin, open
/settings/crewand a repository's/settings. Change the autonomy mode, the budgets or the fallback switch. The page should stay at the same scroll position and say the result next to the form.Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🤖 Generated with Claude Code
Closes #18541