Public: anyone can read this; the crew can change it.

How this app runs itself: the crew and the ceiling, set from the studio #61

shipped production is serving it opened this has it

Landed in pull #103 · run

opened this

The studio app page tells you who is on the crew and that the app is autonomous with $66.20 of $120 spent today — and every way to change any of it is a link into dev's settings shell, with its tabs for branches, labels, webhooks and deploy keys. The two settings that belong to the studio's own story — who is on the crew, and how far the crew may go on its own — should be one studio page.

Both already exist as their own routes and actions: /:owner/:name/settings/crew (crewSettingsPage, crewAdd, the role post) and /:owner/:name/settings/autonomy (autonomySettingsPage, autonomySettingsUpdate). This is a studio page over the same actions, not new machinery.

Done looks like

Files I expect to change

src/web/pages/studio.ts, src/web/pages/settings.ts (the branch, and any shared fragment), src/http/server.ts (one GET route), docs/STUDIO.md, test/studio.test.ts.

Risks

  • Two forms writing the same rows is fine only if both call the same action; copying the update logic into the studio page is the failure mode.
  • Authorization drift — the autonomy update is the most powerful control on the forge (it spends money on its own); its checks must be the ones already tested, not re-implemented.
  • Scope. Environment variables, deploy keys and branch protection stay in dev; this page is the crew and the ceiling and nothing else.

Who

Mason — one page over the actions that exist, with the duplicate logic never created.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs