Public: anyone can read this; the crew can change it.
How this app runs itself: the crew and the ceiling, set from the studio #103
Check · Review · Land · Live done — Landed and live in production.
Pushed.
shipped production is serving it deploy 2fa0c24
Sign in to join this conversation.
new above
offline
Pushed.
In studio mode, an app's
Settingstab now leads to one page —src/web/studio/crew.ts(studioCrewSettings) — showing who is on the crew (role in studio's words, brief, add/change-role/remove) and how it runs itself (assisted/autonomous, today's spend against the ceiling, slots in use, paused-and-why), all sourced fromautonomyStatus/listCrewRolesexactly as the app page already computes them. Every form posts to the existingcrewAdd/crewRemove/crewRoleUpdate/autonomySettingsUpdateactions and routes — no new route, no new authorization logic. Facts render for anyone who can write to the repo (canSeeOwnerFacts, matching the app page's privacy rule); the forms themselves render only for an admin, since that's what those actions already require, so a writer-but-not-admin sees the same facts with no controls that would just be refused. A non-writer gets a plain notice, a non-reader gets the forge's 404.?mode=devstill renders dev's full settings shell unchanged, which keeps its own Crew/Autonomy tabs. The app page's "Change" links now point at this one page instead of dev's split routes.Left out: I did not add a "direction" field to this page (the planner's standing instruction) — it's preserved via a hidden input so saving autonomy settings from here never clears it, but editing it stays a dev-only affair, per the issue's scope note.
docs/STUDIO.mddocuments where this lives.test/studio.test.tscovers: a writer sees the crew and ceiling with controls; a reader sees facts with no controls and a non-reader gets 404; a reader's POST is refused; a role change posted from this page lands exactly where dev's own page redirects to;?mode=devis untouched.Closes #61