Public: anyone can read this; the crew can change it.
Owner decision: where do a pull's checks run on a Mac, away from the machine that holds signing keys #18543
Merged 1h 32m ago, live in production
This pull records the owner's answer on #18517 in docs/designs/compute-leaves-the-forge.md. It changes no code. The owner chose none of the three options (VM, second macOS user, second Mac).
-
Reviews
Changes requested — before the latest pushThe note records the owner's answer faithfully and the pull is doc-only, so the Nevers are not touched. One thing stops it: the design now contradicts itself, and the new paragraph is too loose for the next builder to act on. Fix both in this round.
- Contradictions left in the same doc. The new paragraph says a runner should not see the secrets of the job it runs, ideally nothing. But the A job definition (line 58-59) still says a job carries 'the secrets the repository was granted for that kind of run', the Trust paragraph (line 69) still speaks of runners that hold anyone's secrets, and Risks (line 147) still says 'give secrets only to trusted runners'. A reader gets two answers. What the decision replaces must change in the same pull: reword those three places so that secrets that sign or ship stay in the forge, and say plainly which secrets, if any, a job still receives.
- 'Until it proves out, landing jobs that need keys stay where they are' does not say where that is. Name it: the keyed machine that runs the landing job today. Also say what 'proves out' means (the spike's exit: an unsigned archive built on a Mac, signed and uploaded to TestFlight by the forge, with no key on the Mac) so the owner can tell when this line is retired.
- Say what is open. The paragraph states the direction but not what it leaves for the interim: pull checks on a Mac run on the same Mac as the keys until the spike lands. State that this is the accepted risk, or that Mac pull checks wait for the spike. Otherwise #18517's question is closed on paper with no answer for the interim.
No code, door or README change is needed; keep it that way.
ApprovedApproved. The earlier asks are met. The note now has one answer on secrets: the A job, Trust, Risks and diagram-caption lines no longer contradict the new Signing keys paragraph. It states the interim (the landing job stays on the keyed Mac, and Mac pull checks wait for the spike). It states the spike's exit (an unsigned archive built on a Mac, then signed and uploaded by the forge, with no key on the Mac). The pull is doc-only, so there are no doors, tests or preview behaviour to check.
Non-blocking: (1) The line 'TestFlight by the forge. ' has trailing whitespace, and the next line starts a new paragraph without a blank line, so the two run together. Add a blank line and drop the space. (2) The Risks bullet line is now well over the wrap width the rest of the file keeps; rewrap it. (3) Once the spike runs, retire the interim lines as the note promises, and open a follow-up issue to remember that.
-
Checks
shipped production is serving it deploy 5a6b787
-
History
- Make the Mac signing decision the only answer on secrets in the runners design, name the interim and the spike's exit (#18517) 86e60ed
- Record the owner's answer on Mac signing: keys sealed into the forge, runners see nothing (#18517) 6ce14c4
- An account's link to an outside identity is one table keyed by kind, with a prover per kind (#18536) 718f6d1
- Opening an invite link signs the person in, proves the account and applies the bundle, in every sign-up mode including closed (#18520) f42bd09
- forge.json declares jobs: steps, needs (macos, xcode, docker), on (pull, land) and secrets, read and validated at the boundary (#18512) 85e7b4f
- Lending speaks the versioned agent protocol, and each machine's page shows when it last used the old sync route (#18521) 7db7ea2
- A pull that changes an MCP tool's schema runs mcp-size.test.ts in its fast check (#18529) 9b4b38b
- may() is the only permission check: every remaining helper beside it is deleted, and a test fails if one returns (#18498) ad5d09a
- A test fails a new terminal screen for a thing that already has a web page, and today's screens are the only ones allowed (#18527) a068c28
- No new terminal screen for a thing that has a web page: a rule test lists today's screens and the list can only shrink (#18519) 8a9f7de
- Automate a review finding as a lint or test: Small: `src/http/git_access.ts` ends with a stray blank line. (#18511) 6b5946b
- Neutral public names, step 1 of 2 (expand): the new name beside the old for the game_* tables, the games MCP tool, connection.kind and the game and design: minecraft plan options (#18513) 6368d15
- The runners page is live: connected, busy, the run it holds, its log and last seen, updated as they change (#18497) 24da6e3
- A rule test fails any page whose form answers with a full page, and the list of today's pages can only shrink (#18495) c10b305
- A new account's home offers three things it can do, each one click away, and an empty page says what goes there and how (#18496) bf74994
- An invite carries a bundle: the owner picks Use, Host or Build, each with a line saying what it allows (#18473) d231856
- A machine agent that does not check in after its update goes back to the version before, and the forge says so (#18483) 49c1b5a
- A machine stays trustworthy under load: power cycle, live status, a memory check, a patient healer (#18472) a7825b4
- Main red: plan tool's `owner` description is 91 bytes, over mcp-size's 60-byt… (#18494) 09902a4
- A repository's crew page adds a member to a slot in place: no reload, and the scroll position stays (#18474) 99ed63c
This pull records the owner's answer on #18517 in docs/designs/compute-leaves-the-forge.md. It changes no code.
The owner chose none of the three options (VM, second macOS user, second Mac). They want the signing keys sealed into the forge, so that runners never see the secrets of the job they run. The new "Signing keys" paragraph, placed before "Losing a runner", says that. It also names the next step: a spike (#334, P17 line 5a) that builds an archive unsigned on a Mac, then signs it and sends it to TestFlight from the forge.
I did not build the spike, since the issue asks for no code. I changed no pages, actions, API routes or MCP tools, so none of the checks you listed apply: the both-doors rule, the first-view budget and the duplicate-import rule. The commit says No door: design note only. bun scripts/gate.ts --fix ran clean. I did not run bun x tsc --noEmit or bun test, because only a markdown file changed.
The design note now has one answer on secrets. It also states the interim and the spike's exit. It is still doc-only, with no code, door or README change. The gate ran clean, and I did not run bun test or tsc because only a markdown file changed.
- Contradictions.
- The A job definition now says a job carries no secrets, only its short-lived git token. Secrets that sign or ship stay in the forge.
- Trust now says a runner holds no one's secrets, so trust decides whose green counts. Strangers' pulls still go to the outside lane.
- Risks now says "give secrets to no runner (what signs or ships stays in the forge)".
- The diagram caption says "no secrets at all".
- Where "stay where they are" is. The landing job (TestFlight, main only) stays on the keyed Mac that runs it today, with its launchd watcher. I used that description from the issue because I don't have the machine's name. If it has one, put it in.
- What "proves out" means. An unsigned archive is built on a Mac, then signed and uploaded to TestFlight by the forge, with no key on the Mac. Once that has run once, the interim lines are retired.
- What is open. Pull checks on a Mac are not moved away from the keyed Mac. They wait for the spike. The paragraph names as the accepted risk that any Mac pull check that does run before then runs on the keyed Mac. #18517 is closed for the long run, not for the interim.
I took "wait for the spike" over "accept the risk" as the primary answer, and named both. The owner can drop either line.
This pull records the owner's answer on #18517 in
docs/designs/compute-leaves-the-forge.md. It changes no code.The owner chose none of the three options (VM, second macOS user, second Mac). They want the signing keys sealed into the forge, so that runners never see the secrets of the job they run. The new "Signing keys" paragraph, placed before "Losing a runner", says that. It also names the next step: a spike (#334, P17 line 5a) that builds an archive unsigned on a Mac, then signs it and sends it to TestFlight from the forge.
I did not build the spike, since the issue asks for no code. I changed no pages, actions, API routes or MCP tools, so none of the checks you listed apply: the both-doors rule, the first-view budget and the duplicate-import rule. The commit says
No door: design note only.bun scripts/gate.ts --fixran clean. I did not runbun x tsc --noEmitorbun test, because only a markdown file changed.Closes #18517