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

opened this

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).

Notes

opened this

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.

Closes #18517

commented

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.

commented

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.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs