coa-builds: bring back the macOS installers — a Mac stage on the new macos-x64 runner (un-pauses ADR 0010) #169

Open
opened 2026-09-28 03:37:37 +00:00 by ben · 9 comments
Owner

A macOS build runner now exists on the forge, so the macOS installers paused by ADR 0010 can come back. This ticket adds the Mac stage to the Forgejo build in coa-builds.

The runner (proven 2026-09-28)

  • Forgejo runner id 102, name cherese-macbook-main, labels macos-x64 and cherese-macbook-main. It is deliberately not in the swarm pool.
  • Host mode, no containers, capacity 1. Intel x86_64, macOS 26.6.2, Xcode 26.5.
  • Jobs get on PATH: Node 22.23.3 / npm 10.9.9, Go 1.25.7, gomobile + gobind (pinned x/mobile), CocoaPods 1.16.2, jq, python3, notarytool.
  • Proof: Matou/dev-factory runs 15697 and 15700 (runs-on: macos-x64), both green.
  • It is a laptop: it is offline when it is away from mains power or asleep, and jobs queue until it returns. There is no Docker on it and no flock.

What to build

A Mac job in coa-builds/.forgejo/workflows/build.yml with runs-on: macos-x64 that produces the two DMGs the schema already names (packages/schema/src/installers.ts): <slug>-<ver>-mac-x64.dmg and <slug>-<ver>-mac-arm64.dmg, unsigned as before (CSC_IDENTITY_AUTO_DISCOVERY=false), and uploads them to the COA server the same way the other installers go (PUT /api/build-upload/<slug>/<build>/<file> with the sha256 and HMAC headers).

Known obstacles in the current script

scripts/forgejo/coa-build.sh is Linux-only:

  • Go is downloaded as linux-amd64; the Mac already has a suitable Go.
  • sha256sum and stat --format do not exist on macOS (shasum -a 256, stat -f).
  • The desktop and cleanup stages run inside Docker.
  • The publish step requires exactly 3 files.
  • The success callback is sent once by the Linux job, and the server accepts installer names only for the build in flight and prunes older builds once a build is ready. The Mac DMGs must therefore be uploaded before that callback, or the callback must wait for the Mac job.

The arm64 DMG is a cross-build on this host: the Go backend is CGO_ENABLED=0 and electron-builder accepts --arm64, but any smoke step that executes the bundled backend cannot run for arm64 on an Intel Mac. Run that smoke for x64 only.

Reuse the raw git fetch checkout the Linux job uses rather than actions/checkout.

Proof

A dispatch of the Forgejo build for the composite-smoke fixture finishes green with both DMGs uploaded, and a real community's page shows working macOS download links instead of "coming soon". A build dispatched while the Mac runner is offline still publishes the three non-Mac installers rather than hanging.

A macOS build runner now exists on the forge, so the macOS installers paused by ADR 0010 can come back. This ticket adds the Mac stage to the Forgejo build in `coa-builds`. ## The runner (proven 2026-09-28) - Forgejo runner **id 102**, name `cherese-macbook-main`, labels **`macos-x64`** and `cherese-macbook-main`. It is deliberately **not** in the `swarm` pool. - Host mode, no containers, capacity 1. Intel x86_64, macOS 26.6.2, Xcode 26.5. - Jobs get on `PATH`: Node 22.23.3 / npm 10.9.9, Go 1.25.7, gomobile + gobind (pinned x/mobile), CocoaPods 1.16.2, `jq`, `python3`, `notarytool`. - Proof: `Matou/dev-factory` runs 15697 and 15700 (`runs-on: macos-x64`), both green. - It is a laptop: it is offline when it is away from mains power or asleep, and jobs queue until it returns. There is no Docker on it and no `flock`. ## What to build A Mac job in `coa-builds/.forgejo/workflows/build.yml` with `runs-on: macos-x64` that produces the two DMGs the schema already names (`packages/schema/src/installers.ts`): `<slug>-<ver>-mac-x64.dmg` and `<slug>-<ver>-mac-arm64.dmg`, **unsigned as before** (`CSC_IDENTITY_AUTO_DISCOVERY=false`), and uploads them to the COA server the same way the other installers go (`PUT /api/build-upload/<slug>/<build>/<file>` with the sha256 and HMAC headers). ## Known obstacles in the current script `scripts/forgejo/coa-build.sh` is Linux-only: - Go is downloaded as `linux-amd64`; the Mac already has a suitable Go. - `sha256sum` and `stat --format` do not exist on macOS (`shasum -a 256`, `stat -f`). - The desktop and cleanup stages run inside Docker. - The publish step requires exactly 3 files. - The success callback is sent once by the Linux job, and the server accepts installer names only for the build in flight and prunes older builds once a build is `ready`. The Mac DMGs must therefore be uploaded **before** that callback, or the callback must wait for the Mac job. The arm64 DMG is a cross-build on this host: the Go backend is `CGO_ENABLED=0` and electron-builder accepts `--arm64`, but any smoke step that executes the bundled backend cannot run for arm64 on an Intel Mac. Run that smoke for x64 only. Reuse the raw `git fetch` checkout the Linux job uses rather than `actions/checkout`. ## Proof A dispatch of the Forgejo build for the `composite-smoke` fixture finishes green with both DMGs uploaded, and a real community's page shows working macOS download links instead of "coming soon". A build dispatched while the Mac runner is offline still publishes the three non-Mac installers rather than hanging.

This was generated by AI during triage.

Ruled by agent under ADR 0174 (two-way-door doctrine) — veto anytime

Ruling: ready-for-session (category stays enhancement)

The ruling. This ticket adds a macos-x64 Mac stage to
coa-builds/.forgejo/workflows/build.yml (+ scripts/forgejo/coa-build.sh),
producing the two DMGs the schema already names, unsigned, uploaded via the
existing PUT /api/build-upload/… HMAC path. It goes to ready-for-session,
not ready-for-agent and not ready-for-human.

Why not ready-for-agent. The tracker convention filed in
docs/agents/issue-tracker.md is explicit: "Machinery changes (anything under
.sandcastle/ or .forgejo/) are filed ready-for-session, never done inside a
worker's PR."
Beyond the convention, the acceptance proof needs a live macOS
host runner
(id 102 cherese-macbook-main, deliberately outside the swarm
pool) and the HMAC upload secret — host creds and a live door an AFK
container worker does not have.

Why this is a two-way door (not ready-for-human). Revertible: the change is
a workflow + build-script edit, undone by a commit; the schema already makes
mac-x64/mac-arm64 optional (REQUIRED_INSTALLER_KEYS excludes them), so
nothing downstream breaks if the Mac stage is reverted — absent installers just
render "coming soon" as today. Nothing on the one-way-door list is touched: the
runner and the HMAC upload path already exist (no credential minting), there is
no security widening, no product/scope call, no data destruction, no non-routine
spend. Real builds/releases are involved, which is exactly why it needs a
session, not why it needs Ben.

What proves it. The acceptance drive Ben already wrote: a Forgejo build of the
composite-smoke fixture finishes green with both DMGs uploaded, a real
community's page shows working macOS download links instead of "coming soon", and
a build dispatched while the Mac runner is offline still publishes the three
non-Mac installers rather than hanging (the callback/prune-timing obstacle called
out in the body).

For the session agent — open engineering points in the body, all resolvable
without a human:
the Linux-only scripts/forgejo/coa-build.sh needs macOS
equivalents (shasum -a 256, stat -f, host Go instead of the linux-amd64
download, no Docker/flock), the desktop+cleanup Docker stages don't apply on
the Mac, the publish "exactly 3 files" assumption must widen, and the Mac DMGs
must be uploaded before the success callback (or the callback must wait for
the Mac job) because the server prunes older builds once a build is ready. Run
the backend smoke for x64 only — arm64 is a cross-build on an Intel Mac. Reuse
the raw git fetch checkout, not actions/checkout.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 (two-way-door doctrine) — veto anytime** ## Ruling: `ready-for-session` (category stays `enhancement`) **The ruling.** This ticket adds a `macos-x64` Mac stage to `coa-builds/.forgejo/workflows/build.yml` (+ `scripts/forgejo/coa-build.sh`), producing the two DMGs the schema already names, unsigned, uploaded via the existing `PUT /api/build-upload/…` HMAC path. It goes to **`ready-for-session`**, not `ready-for-agent` and not `ready-for-human`. **Why not `ready-for-agent`.** The tracker convention filed in `docs/agents/issue-tracker.md` is explicit: *"Machinery changes (anything under `.sandcastle/` or `.forgejo/`) are filed `ready-for-session`, never done inside a worker's PR."* Beyond the convention, the acceptance proof needs a **live macOS host runner** (id 102 `cherese-macbook-main`, deliberately outside the `swarm` pool) and the **HMAC upload secret** — host creds and a live door an AFK container worker does not have. **Why this is a two-way door (not `ready-for-human`).** Revertible: the change is a workflow + build-script edit, undone by a commit; the schema already makes `mac-x64`/`mac-arm64` optional (`REQUIRED_INSTALLER_KEYS` excludes them), so nothing downstream breaks if the Mac stage is reverted — absent installers just render "coming soon" as today. Nothing on the one-way-door list is touched: the runner and the HMAC upload path already exist (no credential minting), there is no security widening, no product/scope call, no data destruction, no non-routine spend. Real builds/releases are involved, which is exactly why it needs a **session**, not why it needs Ben. **What proves it.** The acceptance drive Ben already wrote: a Forgejo build of the `composite-smoke` fixture finishes green with both DMGs uploaded, a real community's page shows working macOS download links instead of "coming soon", and a build dispatched while the Mac runner is offline still publishes the three non-Mac installers rather than hanging (the callback/prune-timing obstacle called out in the body). **For the session agent — open engineering points in the body, all resolvable without a human:** the Linux-only `scripts/forgejo/coa-build.sh` needs macOS equivalents (`shasum -a 256`, `stat -f`, host Go instead of the linux-amd64 download, no Docker/`flock`), the desktop+cleanup Docker stages don't apply on the Mac, the publish "exactly 3 files" assumption must widen, and the Mac DMGs must be uploaded **before** the success callback (or the callback must wait for the Mac job) because the server prunes older builds once a build is `ready`. Run the backend smoke for x64 only — arm64 is a cross-build on an Intel Mac. Reuse the raw `git fetch` checkout, not `actions/checkout`.
Author
Owner

Claimed by an interactive session (Ben's laptop, 2026-09-28) — writing the Mac stage in coa-builds now. Session runners: skip.

Claimed by an interactive session (Ben's laptop, 2026-09-28) — writing the Mac stage in `coa-builds` now. Session runners: skip.
Author
Owner

Mac stage written and proven in proof mode — pull request: Matou/coa-builds#1

  • Both DMGs build on cherese-macbook-main in about 10 minutes (coa-builds run 28, composite-smoke).
  • The Linux job dispatches the Mac build with its own token and the Mac picks it up inside the start window (runs 29 → 30).
  • 39 offline checks cover the gate, the dispatch and the bounded wait.

Still owed for the acceptance proof: the live path — merge to main, then one real build of a demo community, to see the DMGs uploaded while the build is in flight and listed on its page; and one build with the Mac offline.

Mac stage written and proven in proof mode — pull request: https://git.matou.nz/Matou/coa-builds/pulls/1 - Both DMGs build on `cherese-macbook-main` in about 10 minutes (coa-builds run 28, `composite-smoke`). - The Linux job dispatches the Mac build with its own token and the Mac picks it up inside the start window (runs 29 → 30). - 39 offline checks cover the gate, the dispatch and the bounded wait. **Still owed for the acceptance proof:** the live path — merge to `main`, then one real build of a demo community, to see the DMGs uploaded while the build is in flight and listed on its page; and one build with the Mac offline.

This was generated by AI during triage.

Applying the state label the prior ruling already called for.

This issue carried a complete ADR-0174 ruling (2026-09-28) concluding ready-for-session, but the label itself was never applied — the issue still carried only enhancement, i.e. no state role, so it read as untriaged. Setting ready-for-session now (category stays enhancement).

The ruling still holds against the current facts:

  • Machinery change under .forgejo/ (coa-builds/.forgejo/workflows/build.yml + scripts/forgejo/coa-build.sh) — docs/agents/issue-tracker.md files these ready-for-session, never a worker PR; and the acceptance proof needs the live macos-x64 host runner (id 102, outside the swarm pool) plus the HMAC upload secret, neither of which an AFK container worker has.
  • Two-way door, not ready-for-human. Revertible by a commit; the schema already makes the two Mac keys optional (packages/schema/src/installers.ts: REQUIRED_INSTALLER_KEYS = linux-appimage, windows, android), so absent Mac installers just render "coming soon" as today. No one-way door touched (runner + HMAC path already exist, no credential minting, no security widening, no product call, no data destruction, no non-routine spend).

A session (Ben, 2026-09-28) has already claimed this and opened coa-builds PR #1; the live acceptance proof (merge to main, one real build of a demo community, and one build with the Mac offline) is still owed — so it correctly stays open under a session, not routed to Ben or a swarm worker. Veto anytime.

> *This was generated by AI during triage.* **Applying the state label the prior ruling already called for.** This issue carried a complete ADR-0174 ruling (2026-09-28) concluding **`ready-for-session`**, but the label itself was never applied — the issue still carried only `enhancement`, i.e. no state role, so it read as untriaged. Setting **`ready-for-session`** now (category stays `enhancement`). The ruling still holds against the current facts: - **Machinery change under `.forgejo/`** (`coa-builds/.forgejo/workflows/build.yml` + `scripts/forgejo/coa-build.sh`) — `docs/agents/issue-tracker.md` files these `ready-for-session`, never a worker PR; and the acceptance proof needs the **live `macos-x64` host runner** (id 102, outside the `swarm` pool) plus the **HMAC upload secret**, neither of which an AFK container worker has. - **Two-way door, not `ready-for-human`.** Revertible by a commit; the schema already makes the two Mac keys optional (`packages/schema/src/installers.ts`: `REQUIRED_INSTALLER_KEYS` = `linux-appimage, windows, android`), so absent Mac installers just render "coming soon" as today. No one-way door touched (runner + HMAC path already exist, no credential minting, no security widening, no product call, no data destruction, no non-routine spend). A session (Ben, 2026-09-28) has already claimed this and opened `coa-builds` PR #1; the live acceptance proof (merge to `main`, one real build of a demo community, and one build with the Mac offline) is still owed — so it correctly stays open under a session, not routed to Ben or a swarm worker. Veto anytime.
Author
Owner

Proven live — whakatohea-demo build 13 ships all five installers.

The Mac stage landed on coa-builds main as 806b67e (pull request 1). First real build after it:

Linux build coa-builds run 33 — dispatched the Mac build at 23:40:01Z, uploaded its three installers, waited, reported at 00:03:48Z
Mac build run 34 on cherese-macbook-main — picked up 5 s after dispatch, both DMGs built and uploaded by 00:00:21Z
Callback outcome: success with mac-x64 and mac-arm64 beside the other three
Page https://coa.matou.nz/c/whakatohea-demo — five download links, no "coming soon", footer app v0.8.3
Downloads all five answer HTTP 200 (mac-x64 154 MB, mac-arm64 148 MB)

Against the acceptance proof in this ticket:

  • both DMGs built and uploaded — proof-mode runs 28/30 (composite-smoke) and live run 34
  • a real community's page shows working macOS links instead of "coming soon"
  • a build dispatched while the Mac is offline still publishes the other three — covered by the offline test only (scripts/forgejo/tests/coa-build-mac-test.sh, "Mac never took the job"); not yet seen live

Still to do in this repo: ADR 0010 and the schema comment in packages/schema/src/installers.ts still say macOS is paused.

**Proven live — `whakatohea-demo` build 13 ships all five installers.** The Mac stage landed on `coa-builds` `main` as `806b67e` (pull request 1). First real build after it: | | | |---|---| | Linux build | coa-builds run 33 — dispatched the Mac build at 23:40:01Z, uploaded its three installers, waited, reported at 00:03:48Z | | Mac build | run 34 on `cherese-macbook-main` — picked up 5 s after dispatch, both DMGs built and uploaded by 00:00:21Z | | Callback | `outcome: success` with `mac-x64` and `mac-arm64` beside the other three | | Page | https://coa.matou.nz/c/whakatohea-demo — five download links, no "coming soon", footer `app v0.8.3` | | Downloads | all five answer HTTP 200 (`mac-x64` 154 MB, `mac-arm64` 148 MB) | Against the acceptance proof in this ticket: - [x] both DMGs built and uploaded — proof-mode runs 28/30 (`composite-smoke`) and live run 34 - [x] a real community's page shows working macOS links instead of "coming soon" - [ ] a build dispatched while the Mac is offline still publishes the other three — covered by the offline test only (`scripts/forgejo/tests/coa-build-mac-test.sh`, "Mac never took the job"); not yet seen live Still to do in this repo: ADR 0010 and the schema comment in `packages/schema/src/installers.ts` still say macOS is paused.

Close-report — pull request opened, awaiting a human merge (pr-mode).

Ruled by agent under ADR 0002 (two-way-door doctrine) — veto anytime.

The coa-builds Mac stage this ticket asked for was already written, merged and proven live by Ben's interactive session (2026-09-30 comment above): build-mac.yml (runs-on: macos-x64) builds both DMGs unsigned and uploads them over the signed PUT /api/build-upload/… path before the Linux job's success callback; it landed as coa-builds 806b67e (PR 1) and whakatohea-demo build 13 shipped all five installers, both DMGs HTTP 200 from /dl/.

The only residue Ben flagged lived in this repo — ADR 0010 and the schema comment still said "macOS is paused". That is what this PR lands.

PR: #181 (closes #169)

What it changes (docs/comment-only, no build code, no behaviour change):

  • docs/adr/0010-builds-on-forgejo-runner.md — dated un-pause amendment (the macos-x64 runner, unsigned DMGs uploaded before the callback, arm64 cross-build so smoke runs x64-only, Mac keys stay optional because the laptop runner may be offline).
  • docs/adr/README.md — the 0010 index line.
  • packages/schema/src/installers.ts — the comment now explains the two Mac keys are optional because the Mac runner can be offline, not because macOS is paused. REQUIRED_INSTALLER_KEYS unchanged so an offline-Mac build still ships the three non-Mac installers.
  • templates/src/community-page.ts — the "coming soon" comment.
  • STATUS.md — header + milestone log (same commit).

Commit: a2ee40f.

Proof: make test (schema 77, templates 20, server 146, site 72, e2e-root 5) and make typecheck green.

Remaining acceptance item left as residue: a build dispatched with the Mac offline that still ships the other three — covered by the offline test scripts/forgejo/tests/coa-build-mac-test.sh ("Mac never took the job"), but not yet seen live. Seeing it live needs a real build dispatch, a one-way door under ADR 0002, so it is not ruled here — it is a human/live step.

pr-mode: not closing this ticket — the human's merge of PR #181 closes it.

**Close-report — pull request opened, awaiting a human merge (pr-mode).** **Ruled by agent under ADR 0002 (two-way-door doctrine) — veto anytime.** The `coa-builds` Mac stage this ticket asked for was already written, merged and proven live by Ben's interactive session (2026-09-30 comment above): `build-mac.yml` (`runs-on: macos-x64`) builds both DMGs unsigned and uploads them over the signed `PUT /api/build-upload/…` path before the Linux job's success callback; it landed as `coa-builds` `806b67e` (PR 1) and `whakatohea-demo` build 13 shipped all five installers, both DMGs HTTP 200 from `/dl/`. The only residue Ben flagged lived in **this** repo — ADR 0010 and the schema comment still said "macOS is paused". That is what this PR lands. **PR:** https://git.matou.nz/Matou/coa/pulls/181 (`closes #169`) **What it changes (docs/comment-only, no build code, no behaviour change):** - `docs/adr/0010-builds-on-forgejo-runner.md` — dated un-pause amendment (the `macos-x64` runner, unsigned DMGs uploaded before the callback, arm64 cross-build so smoke runs x64-only, Mac keys stay optional because the laptop runner may be offline). - `docs/adr/README.md` — the 0010 index line. - `packages/schema/src/installers.ts` — the comment now explains the two Mac keys are optional because the Mac runner can be offline, not because macOS is paused. `REQUIRED_INSTALLER_KEYS` **unchanged** so an offline-Mac build still ships the three non-Mac installers. - `templates/src/community-page.ts` — the "coming soon" comment. - `STATUS.md` — header + milestone log (same commit). **Commit:** `a2ee40f`. **Proof:** `make test` (schema 77, templates 20, server 146, site 72, e2e-root 5) and `make typecheck` green. **Remaining acceptance item left as residue:** a build dispatched with the Mac **offline** that still ships the other three — covered by the offline test `scripts/forgejo/tests/coa-build-mac-test.sh` ("Mac never took the job"), but not yet seen live. Seeing it live needs a real build dispatch, a one-way door under ADR 0002, so it is not ruled here — it is a human/live step. pr-mode: not closing this ticket — the human's merge of PR #181 closes it.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: state → ready-for-session. The ticket carried only enhancement and no state role, so it read as untriaged again — the same label-drop the prior rulings (2026-09-28 / 2026-09-29) corrected once already. Restoring the state the established ruling concluded.

Why it stays ready-for-session (not ready-for-human, not ready-for-agent): the substantive Mac stage already shipped and was proven live (coa-builds 806b67e, whakatohea-demo build 13, all five installers HTTP 200). The residue is PR #181 (closes #169, docs/comment-only un-pause of ADR 0010) awaiting a routine human merge, plus the one still-unseen-live acceptance item — a build dispatched with the Mac offline still shipping the other three. That is a live door (a real build dispatch with host standing), which the label table assigns to a session — "not Ben" — not a product/judgement one-way door.

Why it's a two-way door: restoring a label is revertible and touches no credential, posture, or spend. What proves it: docs/agents/issue-tracker.md (live doors / host creds → ready-for-session), the open PR #181, and the offline-Mac coverage in scripts/forgejo/tests/coa-build-mac-test.sh.

> *This was generated by AI during triage.* Ruled by agent under ADR 0174 — veto anytime. **Ruling:** state → `ready-for-session`. The ticket carried only `enhancement` and no state role, so it read as untriaged again — the same label-drop the prior rulings (2026-09-28 / 2026-09-29) corrected once already. Restoring the state the established ruling concluded. **Why it stays `ready-for-session` (not `ready-for-human`, not `ready-for-agent`):** the substantive Mac stage already shipped and was proven live (`coa-builds` `806b67e`, `whakatohea-demo` build 13, all five installers HTTP 200). The residue is PR #181 (`closes #169`, docs/comment-only un-pause of ADR 0010) awaiting a routine human merge, plus the one still-unseen-live acceptance item — a build dispatched with the Mac offline still shipping the other three. That is a **live door** (a real build dispatch with host standing), which the label table assigns to a session — "not Ben" — not a product/judgement one-way door. **Why it's a two-way door:** restoring a label is revertible and touches no credential, posture, or spend. **What proves it:** `docs/agents/issue-tracker.md` (live doors / host creds → `ready-for-session`), the open PR #181, and the offline-Mac coverage in `scripts/forgejo/tests/coa-build-mac-test.sh`.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Label applied: ready-for-session (category enhancement unchanged). The established ruling (2026-09-28 / -29) concluded ready-for-session, and today's close-report confirmed it; the state label was dropped again, so the ticket re-surfaced as untriaged on state. Applying it now.

The substantive Mac stage already shipped and was proven live (coa-builds 806b67e, whakatohea-demo build 13 — all five installers HTTP 200). The residue in this repo is PR #181 (closes #169, docs/ADR-0010 un-pause + schema comment; REQUIRED_INSTALLER_KEYS unchanged, so the form contract is untouched), plus one still-unseen-live acceptance item: a build dispatched with the Mac offline still shipping the other three.

Why it's a two-way door (session, not Ben): that last item is a live door — a real build dispatch needing host standing — which the label table assigns to a session, not a product/judgement one-way door; restoring a label is revertible and touches no credential, posture, or spend. What proves it: docs/agents/issue-tracker.md:50 (live doors / host creds → ready-for-session), the open PR #181, and the offline-Mac coverage in scripts/forgejo/tests/coa-build-mac-test.sh.

> *This was generated by AI during triage.* Ruled by agent under ADR 0174 — veto anytime. **Label applied: `ready-for-session`** (category `enhancement` unchanged). The established ruling (2026-09-28 / -29) concluded `ready-for-session`, and today's close-report confirmed it; the state label was dropped again, so the ticket re-surfaced as untriaged on state. Applying it now. The substantive Mac stage already shipped and was proven live (`coa-builds` `806b67e`, `whakatohea-demo` build 13 — all five installers HTTP 200). The residue in this repo is PR #181 (`closes #169`, docs/ADR-0010 un-pause + schema comment; `REQUIRED_INSTALLER_KEYS` unchanged, so the form contract is untouched), plus one still-unseen-live acceptance item: a build dispatched with the Mac offline still shipping the other three. **Why it's a two-way door (session, not Ben):** that last item is a **live door** — a real build dispatch needing host standing — which the label table assigns to a session, not a product/judgement one-way door; restoring a label is revertible and touches no credential, posture, or spend. **What proves it:** `docs/agents/issue-tracker.md:50` (live doors / host creds → `ready-for-session`), the open PR #181, and the offline-Mac coverage in `scripts/forgejo/tests/coa-build-mac-test.sh`.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: state → ready-for-human (category enhancement unchanged), correcting the prior ready-for-session ruling on this ticket.

Why the change. ready-for-session is not terminal here and provably loops. The substantive Mac stage already shipped and was proven live by Ben's session (coa-builds 806b67e, whakatohea-demo build 13 — all five installers HTTP 200). The only in-repo residue is PR #181 (closes #169), a docs/comment-only un-pause of ADR 0010 (REQUIRED_INSTALLER_KEYS unchanged, form contract untouched); it is open and green (make test/make typecheck). By design, a pr-mode ticket with an open agent PR is "handed to review": the session runner deletes ready-for-session and adds nothing (.sandcastle/session-runner.sh:413-415 / :660-663, "#302"). Each triage run then re-reads the stateless ticket as untriaged and re-adds the label; the runner drops it again (this issue's timeline: added 15:11Z, 15:39Z; removed 15:49Z). Re-adding it would only restart the loop.

## Why human. Two residues, both human: (1) merge the docs-only PR #181; (2) one still-unseen-live acceptance item — a build dispatched with the Mac runner offline that still ships the other three installers (covered by the offline test scripts/forgejo/tests/coa-build-mac-test.sh, "Mac never took the job", but not yet seen live). Item (2) is a live door — a real build dispatch needing host standing — so it is a human/session step, not a swarm-worker one. Proposed default: merge PR #181 as-is to close the in-repo residue; optionally dispatch one offline-Mac build when convenient to close the last live acceptance item (the offline test already covers the behaviour, so this is confirmation, not a blocker).

Why relabelling is itself a two-way door: a label change, fully revertible, touching no credential, posture, or spend. What proves it: whakatohea-demo build 13 (five installers HTTP 200), this issue's label-churn timeline, the offline coverage in scripts/forgejo/tests/coa-build-mac-test.sh, and .sandcastle/session-runner.sh:413-415 / :660-663.

> *This was generated by AI during triage.* Ruled by agent under ADR 0174 — veto anytime. **Ruling: state → `ready-for-human`** (category `enhancement` unchanged), *correcting the prior `ready-for-session` ruling on this ticket.* **Why the change.** `ready-for-session` is not terminal here and provably loops. The substantive Mac stage already shipped and was proven live by Ben's session (`coa-builds` `806b67e`, `whakatohea-demo` build 13 — all five installers HTTP 200). The only in-repo residue is PR #181 (`closes #169`), a docs/comment-only un-pause of ADR 0010 (`REQUIRED_INSTALLER_KEYS` unchanged, form contract untouched); it is open and green (`make test`/`make typecheck`). By design, a pr-mode ticket with an open agent PR is "handed to review": the session runner **deletes `ready-for-session`** and adds nothing (`.sandcastle/session-runner.sh:413-415` / `:660-663`, "#302"). Each triage run then re-reads the stateless ticket as untriaged and re-adds the label; the runner drops it again (this issue's timeline: added 15:11Z, 15:39Z; removed 15:49Z). Re-adding it would only restart the loop. **## Why human.** Two residues, both human: (1) merge the docs-only PR #181; (2) one still-unseen-live acceptance item — a build dispatched with the Mac runner offline that still ships the other three installers (covered by the offline test `scripts/forgejo/tests/coa-build-mac-test.sh`, "Mac never took the job", but not yet seen live). Item (2) is a live door — a real build dispatch needing host standing — so it is a human/session step, not a swarm-worker one. **Proposed default:** merge PR #181 as-is to close the in-repo residue; optionally dispatch one offline-Mac build when convenient to close the last live acceptance item (the offline test already covers the behaviour, so this is confirmation, not a blocker). **Why relabelling is itself a two-way door:** a label change, fully revertible, touching no credential, posture, or spend. **What proves it:** `whakatohea-demo` build 13 (five installers HTTP 200), this issue's label-churn timeline, the offline coverage in `scripts/forgejo/tests/coa-build-mac-test.sh`, and `.sandcastle/session-runner.sh:413-415` / `:660-663`.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/coa#169
No description provided.