Public: anyone can read this; the crew can change it.
Crew accounts you can understand: one pool, the account each run spends said plainly, held runs released on any change #16498
Check · Review · Land · Live done — Landed and live in production.
The owner tonight: "this whole configuration feels confusing". An added subscription was never used until granted somewhere, the crew silently fell back to the server's own token, and runs paused on it stayed held for three days.
-
Reviews
Changes requested — before the latest pushOne high finding, two smaller ones. The diff was cut at 61 KB, so I did not read the web page, the terminal screen or the tests in full.
Fix first:
crewAccountWordsshows every account of the forge to any repository admin, including accounts they did not add. For those accounts it still prints the week and lifetime spend, the budget, and the reach words. The reach words name the creator ("for alice's own repositories") and the repositories the account is allowed at, which can be private. Hiding only the account's name does not stop this leak.Fix: for an account the viewer did not add, and a viewer who is not a site admin, say only "an account of this forge's" and whether it is used here. Add no spend, no budget and no reach. Add a test that a non-admin repository admin reads none of another user's account details.
Also:
budgetSpentOfrepeatsbudgetSpentin core/subscriptions.ts with a hardcoded 0.25 instead of MIN_RUN_USD. There should be one way to say this. Export and reuse the existing one.- Ten MCP tool descriptions (branches, bring, close, edit, health, invite, issue, new_app and others) are reworded and have nothing to do with this issue. Revert them, or explain in the pull why they had to change.
spendOfruns three queries plus agetRepoandcanReadper run, for each account, on every render. Read the spend for all accounts in one grouped query.
ApprovedBoth earlier asks are met. The leak: an account the viewer did not add is now a bare 'an account of this forge's' line with used-here only, no spend, budget or reach, and test/crew-accounts.test.ts:200 covers it. The duplicate: crew_accounts.ts now reuses the exported budgetSpent from core/subscriptions.ts. Writes check the viewer (accountScope, mayRead, admin-only pool/order), the Allow route is marked admin, and the allow, pool and order steps are confirm-gated in Talk. The page, terminal and MCP doors and docs/features/crew-accounts.md are all there.
-
Checks
shipped production is serving it deploy 9bea861
-
History
- Crew accounts: one pool by default, one sentence for which account a run spends, and one step to allow another 28f14c9
- src/crew/runner.ts and src/crew/autonomy.ts split into modules of one concept each, with the same behaviour (#16785) 5c1611e
- src/http/server.ts hands each route family to its own small module, with the same answers (#16782) 6e40585
- An outsider's report or offer is rate-limited per address with a plain 429 and Retry-After (#14524) a70b09a
- An app gets an ordered change stream: rooms, presence and durable order, with no dependency (#16751) 3f72871
- Drop the retired keeper_beat and feature_schedule_seen tables (#16792) 6ebaedd
- A paused app's service port is released and says so on its page (#16787) ba6975c
- Typed errors at one boundary: name the error kinds src/http/respond.ts can answer and have handlers return them as plain data (#16775) bceeacb
- A subscriber gives a friend a forge in one tap, and sees who came — restarted from the parked branch, in two small pulls (#16766) 94c2cbe
- Every price on /pricing, the plan row and the MCP is formatted by one function, with a test over the three (#15694) a79722d
- One palette across the forge and its apps — restarted from the parked branch, forge side first (#16779) e4dd828
- With the weekly window full, the forge runs a model-free measurement and /week counts it (#16783) 7bffc31
- small: The guide spine, read as a new owner, an outside agent and an owner looking up a setting, has its findings fixed (#16781) b92c2a5
- An invite to an organization lands from the closed pull #12484's branch, with the signup welcome tested (#16764) 518ce94
- forge.json validates a service app's ports and refuses a clash with another app (#16778) a4bc344
- The platform inventory page has one primary next action and is looked at on phone and desktop widths (#16773) 721a707
- Admins mark which repositories are offered as templates for new forges (#16752) 577f9d8
- small: Escape leaves the tell box and keeps its draft per page (#16774) 24468de
- On a phone, one tap opens search with the keyboard up and results above it (#16749) 7238053
- A room on an app's change stream reports who is present (#16776) 98bb47d
The owner tonight: "this whole configuration feels confusing". An added subscription was never used until granted somewhere, the crew silently fell back to the server's own token, and runs paused on it stayed held for three days. Now an account is in the pool unless limited (existing grants become limits, so production keeps its state); a run tries accounts allowed at its repository, then its owner, then the pool, and the server's own token only where no account may be. crewAccountWords says which account and why, with the fix ("…has room but is not used here: allow it here"), in Settings, Talk (crew_accounts, allow held behind a confirm) and the terminal. recheckOnChange releases account-paused runs on any change. A non-admin's own account reaches only their own repositories; a stranger never sees a name.
🤖 Generated with Claude Code