oficina / equipo Public

Mac release artifacts, bootstrap, /install.sh, docs, progress

make release-runner builds darwin-arm64/ (runner and tool proxy, the
runner checked for the fake worker); install-manifest.json gains a
targets map with both platforms' digests; the instance serves the Mac
files only when they match; staged-artifacts records both targets.
install-v1.sh dispatches on uname: on Darwin/arm64 it refuses root,
reads the darwin target with plutil, checks shasum and hands over to
the runner's installer. GET /install.sh is the one-line bootstrap.

Checks that ran outside the sandbox are never merged on their own until
slice 4c's rule exists: Equipo asks "Merge <title>?". P4 reads a desktop
Mac's single pmset section. docs/mac-runner.md is Paul's four steps;
DARWIN-PROGRESS.md the log, decisions, mutations and open issues.
Copy rows added to the plan 3 inventory; internal/equipo budget 15100.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 3deb70be95be8f95dd2e5d85a3007fd8a26217f8 parent 4ebf75a
22 files changed, +1,388 −37
  • .rastrillo/budgets.txt +2 −1
  • Makefile +6 −0
  • docs/mac-runner.md +65 −0
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +29 −0
  • docs/superpowers/plans/DARWIN-PROGRESS.md +177 −0
  • internal/equipo/app.go +1 −0
  • internal/equipo/chat/merge.go +9 −1
  • internal/equipo/mac_view_test.go +16 −0
  • internal/equipo/onboarding.go +27 −0
  • internal/release/install_assets.go +46 −5
  • internal/release/install_script_test.go +70 −0
  • internal/release/install_test.go +67 −0
  • internal/release/staged_gate_test.go +11 −0
  • internal/runner/mac/probe.go +4 −3
  • internal/runner/mac/probe_test.go +3 −0
  • internal/runner/thin/mac_test.go +7 −7
  • internal/thintest/placement_contract_test.go +15 −0
  • packaging/install/install-v1.sh +39 −12
  • scripts/build-instance-release.sh +5 −0
  • scripts/runner-install-manifest.py +14 −0
  • scripts/runner-reference-allowlist.json +771 −8
  • scripts/staged-artifacts.py +4 −0

CI cancelled — superseded by a newer push — run details

diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 4facd89b..e1632c6d 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,7 +14,7 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 15000 - Mac runners add the runner role, the protocol route and the placement minute (about 40 lines). Housekeeping slice 1 adds the Housekeeping view beside the Notebook, the digest line and their copy (housekeeping_page.go, about 170 lines); measured 14513. Thin v1 UX1 thinking words adds the settings page and the set registry wiring (thinking_words.go) and 55 strings of phrases; measured 14411. The Connections page to Paul's approved mockup (connections_view.go: what is answering, the preference, rows with headroom, roles, usage and the recovery action, about 300 lines); measured 14268. Merged with UX1 round 3 (duplicate combining with Undo, timeline headlines) beside the Connections page; measured 13895. Connections slice 1 adds the Connections page, the switched line and the no_connection card and their copy (chat_connections.go, about 220 lines). Measured 12269. Thin v1 UX1 adds the inner screens' view model (work_views.go: stage track, badges, timeline, decisions, project facts, about 830 lines), the rich page handlers and their copy (about 170 lines); measured 13263. Thin v1 slice 4c adds the merged line, the merge card and its copy (about 60 lines). Thin v1 slice 4 adds the thin sidebar (rail.go), review and checks lines on the task card and pages, and their copy (about 190 lines). Thin v1 slice 3 adds the task card, the thin Tasks and Projects pages and their actions over the chat store, and their copy (about 280 lines). Thin v1 slice 2 adds activity labels, card copy and card rendering on the chat page (about 250 lines); slice 1 added the chat wiring and page (about 180 lines) beside code its slice 7 sweep deletes (the live hub, the old coordinator); lower then. Task 7 keeps the existing ceiling by moving transaction-bound event lookup into conversation. Measured 10796 source and 437 test lines; roster, database, pending copy and execution wiring remain here.
+size internal/equipo 15100 - Mac runners (Darwin worker) add the one-tap enrolment link, the runners view's self-probes, /install.sh, the outside-the-sandbox label and their copy (about 90 lines); measured 15058. Mac runners add the runner role, the protocol route and the placement minute (about 40 lines). Housekeeping slice 1 adds the Housekeeping view beside the Notebook, the digest line and their copy (housekeeping_page.go, about 170 lines); measured 14513. Thin v1 UX1 thinking words adds the settings page and the set registry wiring (thinking_words.go) and 55 strings of phrases; measured 14411. The Connections page to Paul's approved mockup (connections_view.go: what is answering, the preference, rows with headroom, roles, usage and the recovery action, about 300 lines); measured 14268. Merged with UX1 round 3 (duplicate combining with Undo, timeline headlines) beside the Connections page; measured 13895. Connections slice 1 adds the Connections page, the switched line and the no_connection card and their copy (chat_connections.go, about 220 lines). Measured 12269. Thin v1 UX1 adds the inner screens' view model (work_views.go: stage track, badges, timeline, decisions, project facts, about 830 lines), the rich page handlers and their copy (about 170 lines); measured 13263. Thin v1 slice 4c adds the merged line, the merge card and its copy (about 60 lines). Thin v1 slice 4 adds the thin sidebar (rail.go), review and checks lines on the task card and pages, and their copy (about 190 lines). Thin v1 slice 3 adds the task card, the thin Tasks and Projects pages and their actions over the chat store, and their copy (about 280 lines). Thin v1 slice 2 adds activity labels, card copy and card rendering on the chat page (about 250 lines); slice 1 added the chat wiring and page (about 180 lines) beside code its slice 7 sweep deletes (the live hub, the old coordinator); lower then. Task 7 keeps the existing ceiling by moving transaction-bound event lookup into conversation. Measured 10796 source and 437 test lines; roster, database, pending copy and execution wiring remain here.
size internal/equipotest - 13400 Task 21 repairs historical migration and conversation fixtures after Plan 3. Measured 13024 test lines; the 300s time ceiling is unchanged.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded); 60s gives 34 percent headroom. Shared baseline capture reduces repeated Go runs; retain the CI allowance for sandbox sentinels, timeout and child cleanup. 2026-11-07: loaded CI (host load about 24) measured 66.5s with the package unchanged by thin v1 slice 4 beyond optional check mounts; 90s keeps 35 percent headroom.
time internal/runner 330s Plan 3 CI repair measured 292.120s for the full package (controller CI 472.184s). Parallel plan graphs and removal of repeated progress floods reduced their local targeted run from 146.920s to 30.784s; the original bug graph retains volume coverage. Keep 330s for journal, proxy, recovery and namespace integration, with 13 percent headroom.
@@ -33,6 +33,7 @@ time internal/runner/forge 20s Plan 3 CI repair measured 10.527s for the full pa
time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full package (controller CI 10.709s); 15s leaves 40 percent above CI for account locking, policy validation, terminal-login fixtures and fsynced credential refresh.
perf GET /releases/* skip Verified runner release file downloads, not browser GET screens.
+perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen.
time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s; niced serial reruns measured 5.773s and 5.750s. The added coordinator mount check has no repeated launches to remove; 15s leaves 38 percent headroom for namespace, process-exit and recovery assertions.
time internal/tryequipo 30s Release starter-set controller K3 records CI runs of 10.8s and 13.1s; 30s retains the guide integration checks with headroom on the shared runner.
size internal/runner/thin 14900 - Mac runners slices A and B add protocol negotiation (link.go), the capability report, the start authorization, the pack relay (relay.go), the primary's publication, the worker executor (worker.go) and the test-build fake worker, about 2700 lines on the same step engine. Composer attachments add the chunked receipt with exactly-once writes, the read-only desk delivery and its checks (files.go, about 230 lines), image blocks and localImage inputs, the attachment read through read_file; measured 11736. Connections slice 1 Astra round 1 adds the Codex step path (codexstep.go: Engineering and Review on the pinned app-server in the implement and inspect containment, about 300 lines); measured 11345. Connections slice 1 (after Astra round 1) also keeps a durable ledger of each turn's write tools so a later attempt never repeats one (effects.go), the waiting state between attempts and usage rows per attempt, about 500 lines more; measured 10590 before gate 1d. Connections slice 1 adds the Codex coordinator beside the Claude one (codex.go: the pinned app-server over JSON-RPC in the converse containment, sharing the coordinator base, desk, tool socket and session table), the connection registry over the bindings with health and provider limits (conns.go), in-app sign-in attempts (connector.go) and turn failover and holding (failover.go), about 1500 lines; the pure parts (the choice function, limit parsing, the app-server client, the sign-in flows) live in internal/runner/connect. Measured 10097. Thin v1 UX1 adds step activity lines from the specialist's stream, the repository head and checks gate in the index and project-tagged notes (about 120 lines); measured 8615 with slice 4c's review fixes. Thin v1 slice 4c adds the merge step (mergestep.go, about 190 lines) and the rebase round beside the slice 4b ask fixes. Thin v1 slice 3 adds Engineering steps beside the coordinator: the durable step state and engine (step.go) and the executor that checks out the task tree, runs the CLI in the implement containment, commits and pushes (engineer.go), about 800 lines sharing the coordinator's launch, tool socket and account selection. Measured 5686 source lines. Splitting would export the launch internals; revisit at the slice 7 sweep. Slice 4 adds checks and review on a candidate (judge.go) and the merge watch (merge.go), about 800 lines, sharing the Engineer launch path; measured 6808, 7035 after review round 1 (branch head watch, deadlines, streamed outputs). Slice 4b keeps Engineering and Review sessions and answers the creator's questions from them (ask.go: kept-session and ask state, read-only git tools, the answer stream), about 700 lines on the same launch path.
diff --git a/Makefile b/Makefile
index 68e99f0e..652828b1 100644
--- a/Makefile
+++ b/Makefile
@@ -189,6 +189,12 @@ release-runner: copy-release-check direct-release-check
-ldflags "-s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$$(git rev-parse --short HEAD)" \
-o $(RUNNER_RELEASE_DIR)/equipo-runner ./cmd/equipo-runner
scripts/no-fake-worker.sh $(RUNNER_RELEASE_DIR)/equipo-runner
+ @mkdir -p $(RUNNER_RELEASE_DIR)/darwin-arm64
+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath -buildvcs=false -ldflags "-s -w" -o $(RUNNER_RELEASE_DIR)/darwin-arm64/equipo-tool-proxy ./cmd/equipo-tool-proxy
+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath \
+ -ldflags "-s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$$(git rev-parse --short HEAD)" \
+ -o $(RUNNER_RELEASE_DIR)/darwin-arm64/equipo-runner ./cmd/equipo-runner
+ scripts/no-fake-worker.sh $(RUNNER_RELEASE_DIR)/darwin-arm64/equipo-runner
cp packaging/equipo-runner.service internal/release/manifest.json $(RUNNER_RELEASE_DIR)/
cp -R internal/release/evidence $(RUNNER_RELEASE_DIR)/evidence
cp packaging/install/install-v1.sh $(RUNNER_RELEASE_DIR)/install-v1.sh
diff --git a/docs/mac-runner.md b/docs/mac-runner.md
new file mode 100644
index 00000000..e3c34223
--- /dev/null
+++ b/docs/mac-runner.md
@@ -0,0 +1,65 @@
+# Adding a Mac to Equipo
+
+<!-- COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) -->
+
+A Mac runner lets Equipo run checks that need macOS, such as an iOS
+app's `xcodebuild test`, on the exact commit it is judging. Equipo runs
+it as its own Mac user, so it never sees your files.
+
+You do this once per person, on the Mac, as an administrator.
+
+## The four steps
+
+1. **Create the user.** In System Settings, open Users & Groups and add a
+ Standard user named `equipo-paul` (use your own name after `equipo-`).
+
+2. **Let it use Xcode's tools.** In Terminal, as yourself, run:
+
+ ```
+ sudo dscl . append /Groups/_developer GroupMembership equipo-paul
+ ```
+
+3. **Keep it logged in.** Log in as `equipo-paul` with fast user
+ switching (the user menu in the menu bar), then switch back to your
+ own account. Leave it logged in. In System Settings, Energy, turn on
+ "Prevent automatic sleeping when the display is off" so the Mac does
+ not sleep while it is plugged in.
+
+4. **Install and add it.** Switch to `equipo-paul`, open Terminal and
+ paste:
+
+ ```
+ curl -fsSL https://equipo-staging.bds.oncarlos.com/install.sh | sh
+ ```
+
+ It prints a link. Open it on your phone or any signed-in browser and
+ tap the button to add the Mac to your team. That's all.
+
+After that the Mac checks itself (it tries to break out of its own
+sandbox and makes sure it can't) and then waits for work. You can see
+what it found in Equipo under Connections, Machines.
+
+## If the installer stops
+
+- **"This Mac user is an administrator"**: make `equipo-paul` a Standard
+ user in Users & Groups, then paste the command again.
+- **"Run the installer as a Standard user named equipo-yourname"**: you
+ are logged in as someone else. Switch to `equipo-paul`.
+- **"This user can open another person's home folder"**: the message
+ names the folder. As an administrator, close it with the command the
+ message shows (`sudo chmod 700 /Users/<name>`), then paste the install
+ command again.
+- **"Node.js is not installed"**: the Mac still works, but its checks
+ run outside the sandbox and say so. Install Node.js 22.12 or later
+ (and ripgrep) with Homebrew as an administrator, then paste the
+ install command again.
+
+## Good to know
+
+- The Mac only runs checks while `equipo-paul` is logged in and the Mac
+ is awake. When it is not, Equipo waits up to 30 minutes, then says
+ the checks could not run.
+- Checks that ran outside the sandbox are labelled "ran outside the
+ sandbox" on the task. They are never shown as a plain pass.
+- A second person on the same Mac repeats the four steps with their own
+ `equipo-<name>` user.
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index bfc326d8..47c6cf81 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -5804,6 +5804,35 @@ records remain unchanged.
| `coordinator.tool.equipo_status` | Read your runner, connection availability, budgets and project setup. No secrets are included. | Self-healing coordinator | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `coordinator.automatic` | Equipo chooses a healthy connection from your runner and switches when it is busy or unavailable. | Self-healing coordinator | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `coordinator.waiting_connection_label` | Waiting for %s… | Self-healing coordinator | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.platform` | This installer is for Macs with Apple silicon. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.root` | Run the installer as the Mac user made for Equipo, not as root. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.admin` | This Mac user is an administrator. Run the installer as a Standard user named equipo-yourname. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.user` | Run the installer as a Standard user named equipo-yourname, such as equipo-paul. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.home` | This user can open another person's home folder (%s). An administrator can close it with: sudo chmod 700 %s | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.no_node` | Node.js is not installed, so the checks sandbox was not installed. Checks will run outside the sandbox and say so. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.no_srt` | The checks sandbox could not be installed. Checks will run outside the sandbox and say so. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.tap` | Open this link and add this Mac to your team: | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.mac.installed` | This Mac is ready. It checks itself, then waits for work whenever this user is logged in. | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `work.checks.outside_sandbox` | %s, ran outside the sandbox | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.add_title` | Add %s to your team | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.platform` | Platform | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.checks_run` | Checks run | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.sandbox.seatbelt` | In the sandbox | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.sandbox.bubblewrap` | In the sandbox | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.sandbox.none` | Outside the sandbox | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probes` | Self-checks | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P1` | Xcode and simulators | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P2` | Sandbox against a hostile build | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P3` | Model sign-in | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P4` | Mac user, agent and sleep | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P5` | Codex | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P6` | Stopping checks | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.probe.P7` | Sandbox tools | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.verdict.passed` | Passed | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.verdict.denied` | Every attempt denied | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.verdict.failed` | Failed | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.verdict.skipped` | Not run | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
+| `runner.verdict.unavailable` | Unavailable | Mac runners (Darwin worker) | COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
## Task 21
diff --git a/docs/superpowers/plans/DARWIN-PROGRESS.md b/docs/superpowers/plans/DARWIN-PROGRESS.md
new file mode 100644
index 00000000..06f78dab
--- /dev/null
+++ b/docs/superpowers/plans/DARWIN-PROGRESS.md
@@ -0,0 +1,177 @@
+# Darwin progress: the Mac side of Mac runners (slice D, checks only)
+
+Branch `thin-v1-darwin` from `thin-v1-runners` at 1b89bd1 (slices A and
+B, Linux). Spec: `docs/superpowers/specs/2026-11-07-equipo-mac-runners.md`
+rev 4. First Mac: tito-studio, user `equipo-paul`. Nothing here has run
+on a Mac: everything is tested on Linux with recorded outputs, fakes for
+srt and xcodebuild, and the test build's fake worker. Conventions as in
+`RUNNERS-PROGRESS.md`.
+
+## Done
+
+1. **The runner builds for darwin/arm64.** It did not: openat2, O_PATH,
+ pidfds, prctl, close_range, SO_PEERCRED, the Linux pty ioctls and
+ the boot-time clock. Each is behind a `_linux.go`/`_darwin.go` pair;
+ on macOS the bubblewrap-only calls refuse (ENOSYS). The containment
+ launcher reaches unix through `containment/sysunix`, so
+ `NamespaceMain`'s text and the certified launcher digest are
+ unchanged. `make build` (CI 05-build) cross-compiles the runner and
+ the tool proxy.
+2. **`internal/runner/mac`**, the Darwin pieces:
+ - `ChecksSettings`: the §4.4 srt settings over the §4.2 deny list, in
+ srt 0.0.81's schema (read from its package: `network.allowedDomains`,
+ `deniedDomains`, `filesystem.denyRead`, `allowWrite`, `denyWrite`
+ required; `allowMachLookup` takes a trailing `*`). No network;
+ writes only to the tree, the attempt's scratch, DerivedData and
+ SwiftPM caches. Refuses globs, relative paths and a tree inside a
+ denied place (srt's denyWrite wins over allowWrite).
+ - `Gate`: process-group termination (§5): own session, marker,
+ environment from scratch, caffeinate `-w`, SIGTERM, 10 s, SIGKILL,
+ a sweep of marked processes (`ps -E` on a Mac, `/proc` on Linux),
+ `simctl shutdown` of what the attempt booted, proof only when the
+ group is gone and nothing marked is left within 30 s. After a
+ restart a reused group id is killed only if a marked process is
+ in it.
+ - Capabilities from `xcodebuild -version`, `simctl list -j`, swift,
+ node, srt, claude; the `xcodebuild test` gate for a project with no
+ gate (one shared scheme or the one named like it; newest iPhone
+ simulator by UDID; DerivedData in scratch; no signing; several
+ candidates or none is `checks_unavailable`).
+ - Probes P1 to P7 and the hostile fixture (run-script phase with
+ Xcode's own script sandbox off, SwiftPM build tool plugin, XCTest),
+ shipped in the binary. P2 is `denied` only when every attempt of
+ every place says denied and nothing outside contradicts it: a
+ loopback listener per place catches a connection behind a
+ "denied" line; DNS and Keychain controls run outside first; a
+ missing line is not a denial. P3 and P5 say why they did not run.
+ - The launchd agent; the installer's account refusals; the pinned
+ srt lockfile (`npm ci`, every package by integrity).
+3. **Wire** (protocol 2, omitempty, dropped at protocol 1):
+ `capabilities.probes` and `step.checks_sandbox`. Fixtures
+ `frames/hello-mac-probes.json`, `frames/step-mac-checks.json`.
+4. **Worker on a Mac** (`thin/mac.go`): each attempt's gate follows the
+ newest probe report; trees under the scratch root (outside the
+ denied state dir); probes run at start when the report is not this
+ version's and profile's, steps wait for them; `equipo-runner probe`
+ on demand; self-update to the instance's release (darwin target,
+ digest, swapped while no step runs, exit 75); `run --env-file`.
+ The test build's fake worker now runs the Mac gate.
+5. **Install**: `install-v1.sh` dispatches on `uname` (Darwin/arm64:
+ refuses root, reads the darwin target with plutil, checks shasum);
+ `equipo-runner install` on a Mac refuses root, administrators, users
+ not named `equipo-*`, another user's home and a readable foreign
+ home, copies the runner, installs srt, writes `runner.env`, enrols
+ (the link carries the code), loads the agent. `GET /install.sh` is
+ `curl -fsSL https://<instance>/install.sh | sh`.
+6. **Release**: `make release-runner` builds `darwin-arm64/` beside the
+ Linux runner (and checks it for the fake worker);
+ `install-manifest.json` gains `targets`; the instance serves the Mac
+ files when they match; `staged-artifacts.py` records both targets.
+7. **Instance**: migration 0055 `chat_steps.checks_sandbox`; a worker's
+ checks carry `seatbelt` or `none` (anything else is none); step and
+ task show it; "ran outside the sandbox" on the checks line, badge,
+ timeline and Ready to merge card; the primary's checks are never
+ labelled. The runners view (Connections, Machines) shows platform,
+ where checks run and each probe. One-tap enrolment page.
+8. **Docs**: `docs/mac-runner.md`, Paul's four steps.
+
+Tests (each seen failing first or by a mutation, list below):
+`TestChecksSettings*`, `TestGate*`, `TestParseMarked`,
+`TestCapabilitiesFromRecordedTools`, `TestXcodeGate`,
+`TestRunProbesAllDenied`, `TestP2IsDeniedOnlyWhenEverythingIs`,
+`TestJudgeP2`, `TestP4`, `TestFixtureShips`, `TestACSleepAndNode`,
+`TestRefuseAccount`, `TestReadAccount`, `TestHomes`, `TestLaunchAgent`,
+`TestSRTPinned`, `TestMacWorkerConfig`, `TestWorkerMacReports`,
+`TestMacChecksPick`, `TestMacProbesStart`, `TestMacFind`,
+`TestMacUpdater`, `TestInstallMacRefusals`, `TestInstallMac`,
+`TestEnvFileAndExits`, `TestMacInstallShell`,
+`TestInstallPackagingDarwinTarget`, `TestStagedArtifactsGate`
+(extended), `TestCapabilitiesGuard` and
+`TestEncodeProtocol1IsTheSlice4Wire` (extended),
+`TestContractChecksPlacedOnTheWorker` (extended: darwin capabilities
+with probes, the label, the primary unlabelled),
+`TestChecksOutsideTheSandboxAreLabelled`, `TestRunnersViewShowsProbes`,
+`TestInstallScript`, `TestEnrolmentLinkIsOneTap`,
+`TestOnboardingPairingBound` (extended). `TestMacWorker` (headless,
+M1/M2/M4/M5) passes on the shared gate.
+
+Mutations, each killed: profile (Keychains dropped, install dir not
+denied, nesting check off); gate (status file ignored, sweep off,
+reused group killed, shutdown of what was already booted, inherited
+environment, proof with marked left); capabilities (unavailable
+simulators, xcode tag without Xcode); xcode gate (two projects, two
+schemes); probes (accepted connection ignored, missing line as denied,
+DNS control ignored, sentinel kept, path in P4, srt-ran without the
+build); account (admin), launchd (SuccessfulExit); thin (same-version
+update, digest ignored, swap without the step lock, pick, probe rerun,
+bash path, reason ignored, label dropped, ready ignored); install
+(readable home, account, Intel, srt path, launchd exit); script (root,
+version, digest length, Darwin/Intel); release (darwin served when
+tampered, staged darwin, target version); instance (worker label on the
+primary, seatbelt default, task label); views (label, probes); config
+(overlap); enrolment link.
+
+## Decisions
+
+- **P2 not denied:** checks still run (ruling 2), labelled none. If the
+ fixture at least built and tested under srt, srt still confines them
+ (the boundary is unproven, not absent); otherwise they run with no
+ sandbox. Only P2 `denied` is labelled seatbelt.
+- srt exits 0 when its command dies of SIGTERM (cli.ts). A pass needs
+ srt's exit and the status the gate's shell recorded both 0.
+- launchd restarts only after a non-zero exit (KeepAlive
+ SuccessfulExit false): an update exits 75; a superseded runner exits
+ 0 on a Mac (3 on Linux). The spec said "exits 0 for KeepAlive"; that
+ would also restart a superseded runner into a lease fight.
+- srt is installed privately (`~/.local/lib/equipo-runner/srt`, `npm ci`
+ from a shipped lockfile), not `npm install -g`: a Standard user cannot
+ write Homebrew's global prefix, and the lockfile pins every package.
+- No `claude` tag on a Mac until slice F: nothing but checks is placed
+ there.
+- Mach services are candidates (`com.apple.CoreSimulator.*`,
+ `com.apple.dt.*`, `com.apple.testmanagerd*`,
+ `com.apple.coresymbolicationd`); P2 shows whether xcodebuild runs
+ with them. The list is never widened automatically.
+- The plist is generated per user by the installer, not shipped as a
+ file.
+- `/install.sh` names the team id the runner enrols with (no secret; a
+ person still approves).
+
+## Only the Mac can show
+
+Everything Seatbelt and Xcode do: whether the profile lets
+`xcodebuild test` reach the simulator (the Mach list), whether code run
+by XCBBuildService, CoreSimulatorService, the plugin or the test
+inherits the sandbox (P2's question), Keychain reads from inside srt
+(srt allows securityd, so P2 probably fails on the Keychain and brings
+ruling 2 in), `ps -E` and `simctl` outputs (recorded shapes), the
+fixture's first build, `pmset` on a Mac Studio, `launchctl bootstrap`
+as a Standard user, `xcodebuild -runFirstLaunch` without admin (likely
+refused; ignored), the darwin binary's ad-hoc signature, srt needing
+ripgrep on macOS, the self-update swap under launchd.
+
+## Open issues
+
+- **A likely fifth step:** macOS homes are often listable by the
+ `staff` group. The installer then stops and names the
+ `sudo chmod 700` to run. P4 reports it too.
+- srt needs ripgrep on macOS; the installer does not install it (P7
+ says when it is missing).
+- Auto-merge: until slice 4c's rule for checks outside the sandbox
+ exists (passed only for the creator's own repositories, spec §4.3),
+ Equipo never merges those on its own; it asks "Merge <title>?"
+ (`TestContractChecksPlacedOnTheWorker`).
+- Sandbox violations are not tailed from `log stream` (§4.5); P2 does
+ not read the unified log for the Mach services xcodebuild was denied.
+- Tool discovery skips `npm root -g` and a login shell's PATH.
+- An srt pin change needs the installer run again; self-update swaps
+ only the runner.
+
+## Copy for review
+
+All marked COPY ACCEPTED FOR NOW and listed in the plan 3 inventory:
+`runner.mac.*` (installer lines), `runner.add_title` ("Add %s to your
+team"), the runners view (`runner.platform`, `runner.checks_run`,
+`runner.sandbox.*`, `runner.probes`, `runner.probe.P1` to `P7`,
+`runner.verdict.*`), `work.checks.outside_sandbox` ("%s, ran outside
+the sandbox"), and `docs/mac-runner.md`.
diff --git a/internal/equipo/app.go b/internal/equipo/app.go
index fcd413ee..9e5ea898 100644
--- a/internal/equipo/app.go
+++ b/internal/equipo/app.go
@@ -189,6 +189,7 @@ func RouterWithStore(d *db.DB, cfg Config, mailer mail.Sender, logger *slog.Logg
a.Use(personapi.Dispatcher(cfg.Origin, runner, person, func(w http.ResponseWriter) { runnerFailure(w, ErrForbidden) }))
a.Mount("/api/v1", person)
a.Handle("/releases/*", a.installAssets)
+ a.Get("/install.sh", a.installScript)
a.Post("/api/enrolments", a.beginEnrolment)
a.Post("/api/enrolments/token", a.exchangeEnrolment)
a.Mount("/api/runner/v2", runner)
diff --git a/internal/equipo/chat/merge.go b/internal/equipo/chat/merge.go
index f1504060..b396d4ae 100644
--- a/internal/equipo/chat/merge.go
+++ b/internal/equipo/chat/merge.go
@@ -43,6 +43,14 @@ func (p progress) mergeAllowed(withoutChecks bool) bool {
return checks == wire.ChecksPassed || withoutChecks && (checks == wire.ChecksCannotRun || checks == wire.ChecksNone)
}
+// checksOutsideSandbox: the judged checks ran on a worker outside the
+// sandbox (Paul's ruling 2). Until the slice 4c rule for them exists
+// (passed only for repositories the creator owns, spec §4.3), Equipo
+// never merges those on its own: the creator is asked, "Merge <title>?".
+func (p progress) checksOutsideSandbox() bool {
+ return p.checks != nil && p.checks.ChecksSandbox == wire.SandboxNone
+}
+
// autoMerge is the policy at Ready to merge: merge a fully judged SHA,
// or ask once whether to merge one whose checks could not run.
func (t *txn) autoMerge(k *taskRecord, p progress, steps []stepRecord) error {
@@ -50,7 +58,7 @@ func (t *txn) autoMerge(k *taskRecord, p progress, steps []stepRecord) error {
// A merge of this SHA ran or runs; its report decides.
return nil
}
- if p.mergeAllowed(false) && k.MergeEligible == p.candidate {
+ if p.mergeAllowed(false) && k.MergeEligible == p.candidate && !p.checksOutsideSandbox() {
return t.startMerge(k, p, steps, false)
}
checks, _, verdict, _ := p.judged()
diff --git a/internal/equipo/mac_view_test.go b/internal/equipo/mac_view_test.go
index a93c269e..99fef20c 100644
--- a/internal/equipo/mac_view_test.go
+++ b/internal/equipo/mac_view_test.go
@@ -53,3 +53,19 @@ func TestRunnersViewShowsProbes(t *testing.T) {
}
}
}
+
+// curl -fsSL https://<instance>/install.sh | sh runs this release's
+// versioned bootstrap for this instance; an origin or team that is not
+// plain is refused rather than written into shell.
+func TestInstallScript(t *testing.T) {
+ body, err := installScriptBody("https://equipo-staging.example", "abc1234", "team1")
+ want := "#!/bin/sh\nset -eu\ncurl --fail --silent --show-error --proto '=https' --tlsv1.2 'https://equipo-staging.example/releases/abc1234/install-v1.sh' | sh -s -- 'https://equipo-staging.example' 'abc1234' 'team1'\n"
+ if err != nil || body != want {
+ t.Fatalf("%q %v", body, err)
+ }
+ for _, bad := range [][3]string{{"https://x.example'", "abc1234", "t"}, {"https://x.example", "dev", "t"}, {"https://x.example", "abc1234", "t'; rm -rf ~"}} {
+ if _, err := installScriptBody(bad[0], bad[1], bad[2]); err == nil {
+ t.Fatalf("%v accepted", bad)
+ }
+ }
+}
diff --git a/internal/equipo/onboarding.go b/internal/equipo/onboarding.go
index 94ddae51..4f8d1348 100644
--- a/internal/equipo/onboarding.go
+++ b/internal/equipo/onboarding.go
@@ -5,6 +5,7 @@ import (
"amadan.net/oficina/equipo/internal/release"
"amadan.net/rastrillo/rastrillo"
"amadan.net/rastrillo/rastrillo/auth"
+ "io"
"net/http"
)
@@ -32,3 +33,29 @@ func (a *application) onboardingHandler() *setup.OnboardingHandler {
},
}
}
+
+// installScript is `curl -fsSL https://<instance>/install.sh | sh` (Mac
+// runners spec §3.2): one line that runs this release's versioned,
+// verified bootstrap for this instance, on a Mac or on Linux. It holds
+// no secret: the release, the address and the team the runner enrols
+// with, which a person still approves.
+func (a *application) installScript(w http.ResponseWriter, r *http.Request) {
+ instance, err := runnerInstance(a.store.db.G)
+ body, berr := installScriptBody(a.origin, rastrillo.BuildVersion, instance)
+ if err != nil || berr != nil || !a.installAssets.CachedAvailable() {
+ w.WriteHeader(http.StatusServiceUnavailable)
+ return
+ }
+ w.Header().Set("Content-Type", "text/plain; charset=utf-8")
+ w.Header().Set("Cache-Control", "no-store")
+ w.Header().Set("X-Content-Type-Options", "nosniff")
+ _, _ = io.WriteString(w, body)
+}
+
+func installScriptBody(origin, version, instance string) (string, error) {
+ command, err := release.InstallCommand(origin, version, instance)
+ if err != nil {
+ return "", err
+ }
+ return "#!/bin/sh\nset -eu\n" + command + "\n", nil
+}
diff --git a/internal/release/install_assets.go b/internal/release/install_assets.go
index d1479921..3c193a6a 100644
--- a/internal/release/install_assets.go
+++ b/internal/release/install_assets.go
@@ -10,6 +10,7 @@ import (
"os"
"path/filepath"
"reflect"
+ "slices"
"strings"
"sync"
)
@@ -21,8 +22,10 @@ type InstallAssets struct {
mu sync.Mutex
files map[string]os.FileInfo
available bool
- embedded fs.FS
- digest func(io.Reader) (string, error)
+ // darwin: the release lists a Mac worker and its files verified.
+ darwin bool
+ embedded fs.FS
+ digest func(io.Reader) (string, error)
}
func NewInstallAssets(root, version string, manifest Manifest) *InstallAssets {
@@ -33,6 +36,10 @@ func NewInstallAssets(root, version string, manifest Manifest) *InstallAssets {
var installAssetNames = []string{"install-manifest.json", "equipo-runner", "equipo-tool-proxy", "install-v1.sh"}
+// darwinAssetNames are the Mac worker's files, served when the release
+// manifest lists the darwin/arm64 target and they match its digests.
+var darwinAssetNames = []string{DarwinDir + "/equipo-runner", DarwinDir + "/equipo-tool-proxy"}
+
type installFile interface {
fs.File
io.ReadSeeker
@@ -84,7 +91,7 @@ func (a *InstallAssets) unchanged() bool {
if a.Root == "" {
return a.files != nil
}
- for _, name := range installAssetNames {
+ for name := range a.files {
f, e := a.open(name)
if e != nil {
return false
@@ -113,7 +120,7 @@ func (a *InstallAssets) Available() bool {
if a.files != nil && a.unchanged() {
return a.available
}
- a.available = false
+ a.available, a.darwin = false, false
files := map[string]installFile{}
infos := map[string]os.FileInfo{}
defer func() {
@@ -157,6 +164,32 @@ func (a *InstallAssets) Available() bool {
return false
}
}
+ // The Mac worker: listed, present and matching, or not served at all.
+ if t, e := m.DarwinTarget(a.Version); e == nil {
+ mac := map[string]installFile{}
+ for _, name := range darwinAssetNames {
+ if f, e := a.open(name); e == nil {
+ mac[name] = f
+ files[name] = f
+ }
+ }
+ ok := len(mac) == len(darwinAssetNames)
+ for name, want := range map[string]string{darwinAssetNames[0]: t.RunnerSHA256, darwinAssetNames[1]: t.ToolProxySHA256} {
+ if !ok {
+ break
+ }
+ info, e := mac[name].Stat()
+ got, de := digest(mac[name])
+ ok = e == nil && de == nil && got == want
+ if ok {
+ infos[name] = info
+ }
+ }
+ a.darwin = ok
+ if ok {
+ a.files = infos
+ }
+ }
// A replacement or write during verification must not enter the cache.
if !a.unchanged() {
a.files = nil
@@ -168,7 +201,8 @@ func (a *InstallAssets) Available() bool {
func (a *InstallAssets) ServeHTTP(w http.ResponseWriter, r *http.Request) {
prefix := "/releases/" + a.Version + "/"
name := strings.TrimPrefix(r.URL.Path, prefix)
- if !strings.HasPrefix(r.URL.Path, prefix) || (r.Method != "GET" && r.Method != "HEAD") || (name != "install-v1.sh" && name != "install-manifest.json" && name != "equipo-runner" && name != "equipo-tool-proxy") {
+ mac := slices.Contains(darwinAssetNames, name)
+ if !strings.HasPrefix(r.URL.Path, prefix) || (r.Method != "GET" && r.Method != "HEAD") || (name != "install-v1.sh" && name != "install-manifest.json" && name != "equipo-runner" && name != "equipo-tool-proxy" && !mac) {
w.WriteHeader(http.StatusNotFound)
return
}
@@ -176,6 +210,13 @@ func (a *InstallAssets) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusServiceUnavailable)
return
}
+ a.mu.Lock()
+ served := !mac || a.darwin
+ a.mu.Unlock()
+ if !served {
+ w.WriteHeader(http.StatusNotFound)
+ return
+ }
f, e := a.open(name)
if e != nil {
w.WriteHeader(http.StatusServiceUnavailable)
diff --git a/internal/release/install_script_test.go b/internal/release/install_script_test.go
index 849f0e6d..0d79ee9e 100644
--- a/internal/release/install_script_test.go
+++ b/internal/release/install_script_test.go
@@ -73,3 +73,73 @@ exit 1
})
}
}
+
+// The same bootstrap on a Mac with Apple silicon: refuses root before
+// downloading, reads the darwin target from the manifest with plutil,
+// verifies the runner's digest with shasum and hands over to the
+// runner's own installer (no prompts: the label is the Mac's name).
+func TestMacInstallShell(t *testing.T) {
+ script, err := os.ReadFile("../../packaging/install/install-v1.sh")
+ if err != nil {
+ t.Fatal(err)
+ }
+ digest := "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+ for name, c := range map[string]struct {
+ uid, version, digest string
+ installed bool
+ downloads string
+ }{
+ "installs": {uid: "502", version: "fixture-16", digest: digest, installed: true, downloads: "download\ndownload\n"},
+ "root": {uid: "0", version: "fixture-16", digest: digest},
+ "other release": {uid: "502", version: "fixture-15", digest: digest, downloads: "download\n"},
+ "bad digest": {uid: "502", version: "fixture-16", digest: "not-a-digest", downloads: "download\n"},
+ "short digest": {uid: "502", version: "fixture-16", digest: "abc123", downloads: "download\n"},
+ } {
+ t.Run(name, func(t *testing.T) {
+ root := t.TempDir()
+ write := func(name, body string) {
+ t.Helper()
+ if err := os.WriteFile(filepath.Join(root, name), []byte(body), 0700); err != nil {
+ t.Fatal(err)
+ }
+ }
+ write("uname", "#!/bin/sh\ncase \"$1\" in -s) echo Darwin;; -m) echo arm64;; esac\n")
+ write("id", "#!/bin/sh\necho "+c.uid+"\n")
+ write("plutil", "#!/bin/sh\ncase \"$2\" in version) echo "+c.version+";; 'targets.darwin/arm64.runner_sha256'|targets.darwin/arm64.runner_sha256) echo "+c.digest+";; *) exit 1;; esac\n")
+ write("curl", `#!/bin/sh
+echo download >> "$TMPDIR/downloads"
+for a in "$@"; do case "$a" in */darwin-arm64/equipo-runner) echo "$a" > "$TMPDIR/runner-url";; esac; done
+while [ "$1" != "-o" ]; do shift; done
+case "$2" in
+*/manifest.json) echo '{}' > "$2" ;;
+*) printf '#!/bin/sh\necho "$@" > "$TMPDIR/installed"\n' > "$2" ;;
+esac
+`)
+ write("shasum", "#!/bin/sh\n[ \"$1 $2 $3 $4\" = '-a 256 --check --status' ] || exit 2\ngrep -q '^"+digest+" ' || exit 1\n")
+ cmd := exec.Command("sh", "-s", "--", "https://equipo.example", "fixture-16", "team")
+ cmd.Stdin = strings.NewReader(string(script))
+ cmd.Env = append(os.Environ(), "PATH="+root+":"+os.Getenv("PATH"), "TMPDIR="+root)
+ out, err := cmd.CombinedOutput()
+ got, _ := os.ReadFile(filepath.Join(root, "installed"))
+ if c.installed {
+ if err != nil || string(got) != "install --release fixture-16 --origin https://equipo.example --instance team\n" {
+ t.Fatalf("not handed over: %v %s %q", err, out, got)
+ }
+ if url, _ := os.ReadFile(filepath.Join(root, "runner-url")); string(url) != "https://equipo.example/releases/fixture-16/darwin-arm64/equipo-runner\n" {
+ t.Fatalf("runner from %q", url)
+ }
+ } else if err == nil || len(got) != 0 {
+ t.Fatalf("%s: not refused: %s", name, out)
+ }
+ if b, _ := os.ReadFile(filepath.Join(root, "downloads")); string(b) != c.downloads {
+ t.Fatalf("%s: downloads %q", name, b)
+ }
+ entries, _ := os.ReadDir(root)
+ for _, e := range entries {
+ if strings.HasPrefix(e.Name(), "equipo-bootstrap-") {
+ t.Fatal("scratch leaked")
+ }
+ }
+ })
+ }
+}
diff --git a/internal/release/install_test.go b/internal/release/install_test.go
index edf9f1f2..e20de811 100644
--- a/internal/release/install_test.go
+++ b/internal/release/install_test.go
@@ -127,3 +127,70 @@ func TestOnboardingInstallPackaging(t *testing.T) {
t.Fatal("uncertified release accepted")
}
}
+
+// A release with a Mac worker lists both targets with their digests and
+// serves the darwin files under darwin-arm64/; a darwin file that does
+// not match its digest is not served, while the Linux runner still is.
+func TestInstallPackagingDarwinTarget(t *testing.T) {
+ root := t.TempDir()
+ m := BuildManifest()
+ m.LiveGateCopyReviewed = true
+ m.UncertifiedPolicies = nil
+ hash := strings.Repeat("b", 64)
+ m.DirectPolicies = []PolicyCertificate{{Action: "implement", Provider: "codex", ProviderVersion: m.Codex, LauncherVersion: m.LauncherVersion, BwrapVersion: m.BwrapVersion, PolicyHash: hash, NoRefreshReason: "v1 requires sign-in again"}}
+ m.Binaries = []BinaryDigest{{Name: "equipo-tool-proxy", Version: m.LauncherVersion, SHA256: fmt.Sprintf("%x", sha256.Sum256([]byte("fixture helper")))}}
+ m.Certifications = []Certification{{Provider: "codex", PolicyHash: hash, Path: "fixture", SHA256: hash}}
+ write := func(name string, b []byte) {
+ t.Helper()
+ if e := os.MkdirAll(filepath.Dir(filepath.Join(root, name)), 0700); e != nil {
+ t.Fatal(e)
+ }
+ if e := os.WriteFile(filepath.Join(root, name), b, 0600); e != nil {
+ t.Fatal(e)
+ }
+ }
+ raw, _ := json.Marshal(m)
+ write("manifest.json", raw)
+ write("equipo-runner", []byte("linux runner"))
+ write("equipo-tool-proxy", []byte("fixture helper"))
+ write("install-v1.sh", []byte("#!/bin/sh\n"))
+ write("darwin-arm64/equipo-runner", []byte("mac runner"))
+ write("darwin-arm64/equipo-tool-proxy", []byte("mac helper"))
+ if b, e := exec.Command("python3", "../../scripts/runner-install-manifest.py", root, "fixture-16").CombinedOutput(); e != nil {
+ t.Fatalf("packaging %v %s", e, b)
+ }
+ raw, _ = os.ReadFile(filepath.Join(root, "install-manifest.json"))
+ var manifest InstallManifest
+ if json.Unmarshal(raw, &manifest) != nil || manifest.Validate("fixture-16") != nil {
+ t.Fatalf("linux manifest broken: %s", raw)
+ }
+ mac, err := manifest.DarwinTarget("fixture-16")
+ if err != nil || mac.RunnerSHA256 != fmt.Sprintf("%x", sha256.Sum256([]byte("mac runner"))) || mac.ToolProxySHA256 != fmt.Sprintf("%x", sha256.Sum256([]byte("mac helper"))) {
+ t.Fatalf("darwin target %+v %v", mac, err)
+ }
+ if linux := manifest.Targets["linux/amd64"]; linux.RunnerSHA256 != manifest.RunnerSHA256 {
+ t.Fatalf("linux target %+v", linux)
+ }
+ if _, err := manifest.DarwinTarget("fixture-17"); err == nil {
+ t.Fatal("another version's target accepted")
+ }
+ get := func(name string) (int, string) {
+ w := httptest.NewRecorder()
+ a := InstallAssets{Root: root, Version: "fixture-16", Manifest: m}
+ a.ServeHTTP(w, httptest.NewRequest("GET", "/releases/fixture-16/"+name, nil))
+ return w.Code, w.Body.String()
+ }
+ if code, body := get("darwin-arm64/equipo-runner"); code != 200 || body != "mac runner" {
+ t.Fatalf("mac runner %d %q", code, body)
+ }
+ if code, _ := get("darwin-arm64/../equipo-runner"); code == 200 {
+ t.Fatal("path outside the served names")
+ }
+ write("darwin-arm64/equipo-runner", []byte("tampered"))
+ if code, _ := get("darwin-arm64/equipo-runner"); code != 404 {
+ t.Fatalf("tampered mac runner served: %d", code)
+ }
+ if code, body := get("equipo-runner"); code != 200 || body != "linux runner" {
+ t.Fatalf("linux runner withheld: %d", code)
+ }
+}
diff --git a/internal/release/staged_gate_test.go b/internal/release/staged_gate_test.go
index 01a24e73..99c8dd2c 100644
--- a/internal/release/staged_gate_test.go
+++ b/internal/release/staged_gate_test.go
@@ -34,6 +34,9 @@ func TestStagedArtifactsGate(t *testing.T) {
write(instance+".COMMIT", "abc1234full\n")
write(filepath.Join(runner, "equipo-runner"), "runner")
write(filepath.Join(runner, "equipo-tool-proxy"), "proxy")
+ must(os.MkdirAll(filepath.Join(runner, "darwin-arm64"), 0700))
+ write(filepath.Join(runner, "darwin-arm64", "equipo-runner"), "mac runner")
+ write(filepath.Join(runner, "darwin-arm64", "equipo-tool-proxy"), "mac proxy")
gate := func(verb string, args ...string) error {
return exec.Command("python3", append([]string{filepath.Join(root, "scripts", "staged-artifacts.py"), verb, "abc1234"}, args...)...).Run()
}
@@ -58,6 +61,14 @@ func TestStagedArtifactsGate(t *testing.T) {
t.Fatal("deploy allowed with a runner staging never ran")
}
write(filepath.Join(runner, "equipo-runner"), "runner")
+ // Both targets are recorded: a rebuilt Mac runner is not what staging
+ // recorded either.
+ write(filepath.Join(runner, "darwin-arm64", "equipo-runner"), "rebuilt mac runner")
+ if gate("check") == nil {
+ t.Fatal("deploy allowed with a Mac runner other than the recorded one")
+ }
+ write(filepath.Join(runner, "darwin-arm64", "equipo-runner"), "mac runner")
+ must(gate("check"))
write(instance, "rebuilt instance")
if gate("check") == nil {
t.Fatal("deploy allowed with an instance staging never ran")
diff --git a/internal/runner/mac/probe.go b/internal/runner/mac/probe.go
index fbfcb2eb..fc4f216b 100644
--- a/internal/runner/mac/probe.go
+++ b/internal/runner/mac/probe.go
@@ -397,9 +397,10 @@ func probeP4(ctx context.Context, h ProbeHost) wire.Probe {
}
// ACSleep reads `pmset -g custom`: the system sleep minutes under "AC
-// Power" (0 is never).
+// Power" (0 is never). A desktop Mac may list one unnamed set of
+// settings; its sleep line counts when there is no section at all.
func ACSleep(out string) (int, bool) {
- ac := false
+ ac := true
for _, line := range strings.Split(out, "\n") {
t := strings.TrimSpace(line)
if strings.HasSuffix(t, ":") {
@@ -407,7 +408,7 @@ func ACSleep(out string) (int, bool) {
continue
}
f := strings.Fields(t)
- if ac && len(f) == 2 && f[0] == "sleep" {
+ if ac && len(f) >= 2 && f[0] == "sleep" {
n, err := strconv.Atoi(f[1])
return n, err == nil
}
diff --git a/internal/runner/mac/probe_test.go b/internal/runner/mac/probe_test.go
index 63e0e2d1..1ef82e9a 100644
--- a/internal/runner/mac/probe_test.go
+++ b/internal/runner/mac/probe_test.go
@@ -235,6 +235,9 @@ func TestACSleepAndNode(t *testing.T) {
if _, ok := ACSleep("Battery Power:\n sleep 1\n"); ok {
t.Fatal("battery taken for AC")
}
+ if n, ok := ACSleep(" standby 0\n sleep 0 (sleep prevented by powerd)\n"); !ok || n != 0 {
+ t.Fatal("a desktop Mac's one set of settings")
+ }
for v, want := range map[string]bool{"v22.12.0": true, "v24.1.0": true, "v22.11.9": false, "v20.18.0": false, "22.12.0": false} {
if NodeSupported(v) != want {
t.Fatalf("%s", v)
diff --git a/internal/runner/thin/mac_test.go b/internal/runner/thin/mac_test.go
index d0bed37d..601a1652 100644
--- a/internal/runner/thin/mac_test.go
+++ b/internal/runner/thin/mac_test.go
@@ -177,27 +177,27 @@ func TestMacUpdater(t *testing.T) {
if err := os.WriteFile(binary, []byte("#!old runner\n"), 0700); err != nil {
t.Fatal(err)
}
- try := func(rel string) (error, bool, bool) {
+ try := func(rel string) (held, stopped bool, err error) {
u := &macUpdater{origin: srv.URL, version: "aaa1111", binary: binary, fetch: fetchLimited}
- held, stopped := false, false
u.offer(wire.Welcome{Release: rel}, func() func() { held = true; return func() {} }, func() { stopped = true }, nil)
if u.done == nil {
- return nil, held, stopped
+ return held, stopped, nil
}
- return <-u.done, held, stopped
+ err = <-u.done
+ return held, stopped, err
}
for _, rel := range []string{"", "aaa1111", "dev", "../x"} {
- if _, _, stopped := try(rel); stopped || served.Load() != 0 {
+ if _, stopped, _ := try(rel); stopped || served.Load() != 0 {
t.Fatalf("release %q fetched or stopped", rel)
}
}
- if err, _, stopped := try("ccc3333"); err == nil || stopped {
+ if _, stopped, err := try("ccc3333"); err == nil || stopped {
t.Fatal("a runner whose digest does not match was taken")
}
if raw, _ := os.ReadFile(binary); string(raw) != "#!old runner\n" {
t.Fatal("binary replaced by an unverified download")
}
- err, held, stopped := try("bbb2222")
+ held, stopped, err := try("bbb2222")
if err != nil || !held || !stopped {
t.Fatalf("update: %v held=%v stopped=%v", err, held, stopped)
}
diff --git a/internal/thintest/placement_contract_test.go b/internal/thintest/placement_contract_test.go
index d9e2614a..60521f8f 100644
--- a/internal/thintest/placement_contract_test.go
+++ b/internal/thintest/placement_contract_test.go
@@ -302,6 +302,21 @@ func TestContractChecksPlacedOnTheWorker(t *testing.T) {
if c := runners.Items[1].Capabilities; c == nil || len(c.Probes) != 7 || c.Probes[1].ID != "P2" || c.Probes[1].Verdict != wire.ProbeFailed {
t.Fatalf("the worker's probes are not on the runners view: %+v", c)
}
+ // Approved, checks passed outside the sandbox: Equipo does not merge
+ // on its own; it asks (no merge dispatched; the next dispatch below is
+ // the next task's Engineering).
+ r.primary.send(wire.FrameStep, wire.StepReport{TaskID: task, StepID: body.(*wire.DispatchCommand).StepID, Attempt: 1, State: wire.StepDone, CandidateSHA: sha, Verdict: wire.VerdictApprove, ReviewLabel: wire.ReviewOtherFamily, Family: "codex", Termination: true, TerminationKind: wire.TerminationNamespace, Findings: []wire.Finding{}})
+ deadline := time.Now().Add(5 * time.Second)
+ for {
+ k, _ = r.client.Task(r.ctx, task)
+ if k.Stage == wire.StageReadyToMerge || time.Now().After(deadline) {
+ break
+ }
+ time.Sleep(50 * time.Millisecond)
+ }
+ if k.Stage != wire.StageReadyToMerge || k.NeedsYou != wire.NeedsMerge {
+ t.Fatalf("checks outside the sandbox merged on their own: %+v", k)
+ }
// A change that needs no Mac stays on the primary, worker or not.
plain, _ := r.candidate("Go fix", false)
diff --git a/packaging/install/install-v1.sh b/packaging/install/install-v1.sh
index 4ca28186..a493ab42 100644
--- a/packaging/install/install-v1.sh
+++ b/packaging/install/install-v1.sh
@@ -1,16 +1,7 @@
#!/bin/sh
-main() {
-set -eu
-if [ "$(uname -s)" != Linux ] || [ "$(uname -m)" != x86_64 ]; then
- exit 1
-fi
-umask 077
-origin=$1
-version=$2
-instance=$3
-case "$origin" in https://*) ;; *) exit 1 ;; esac
-case "$version" in ''|*[!a-zA-Z0-9._-]*|latest|dev) exit 1 ;; esac
-# TMPDIR is required: the download never falls back to a shared RAM disk.
+# The runner bootstrap. Nothing runs until the whole script has arrived:
+# the functions are only defined until main, on the last line.
+linux() {
: "${TMPDIR:?}"
scratch=$(mktemp -d "$TMPDIR/equipo-bootstrap-XXXXXXXX")
trap 'rm -rf "$scratch"' EXIT
@@ -38,4 +29,40 @@ chmod 700 "$scratch/equipo-runner"
# Prompts read the terminal because the bootstrap script may arrive on stdin.
"$scratch/equipo-runner" install --release "$version" --origin "$origin" --instance "$instance" </dev/tty
}
+
+# A Mac worker (Apple silicon), installed as the user running this: the
+# runner itself refuses root, administrators and users not named
+# equipo-*. plutil reads the manifest (JSON), so no Python is needed.
+darwin() {
+[ "$(id -u)" != 0 ] || exit 1
+: "${TMPDIR:?}"
+scratch=$(mktemp -d "$TMPDIR/equipo-bootstrap-XXXXXXXX")
+trap 'rm -rf "$scratch"' EXIT
+trap 'exit 1' HUP INT TERM
+curl --fail --silent --show-error --proto '=https' --tlsv1.2 "$origin/releases/$version/install-manifest.json" -o "$scratch/manifest.json"
+[ "$(plutil -extract version raw -o - "$scratch/manifest.json")" = "$version" ] || exit 1
+digest=$(plutil -extract 'targets.darwin/arm64.runner_sha256' raw -o - "$scratch/manifest.json")
+case "$digest" in *[!0-9a-f]*|'') exit 1 ;; esac
+[ "${#digest}" -eq 64 ] || exit 1
+curl --fail --silent --show-error --proto '=https' --tlsv1.2 "$origin/releases/$version/darwin-arm64/equipo-runner" -o "$scratch/equipo-runner"
+printf '%s %s\n' "$digest" "$scratch/equipo-runner" | shasum -a 256 --check --status
+chmod 700 "$scratch/equipo-runner"
+"$scratch/equipo-runner" install --release "$version" --origin "$origin" --instance "$instance"
+}
+
+main() {
+set -eu
+umask 077
+case "$(uname -s)/$(uname -m)" in
+Linux/x86_64) platform=linux ;;
+Darwin/arm64) platform=darwin ;;
+*) exit 1 ;;
+esac
+origin=$1
+version=$2
+instance=$3
+case "$origin" in https://*) ;; *) exit 1 ;; esac
+case "$version" in ''|*[!a-zA-Z0-9._-]*|latest|dev) exit 1 ;; esac
+"$platform"
+}
main "$@"
diff --git a/scripts/build-instance-release.sh b/scripts/build-instance-release.sh
index 11d7c7d2..ab016f60 100755
--- a/scripts/build-instance-release.sh
+++ b/scripts/build-instance-release.sh
@@ -13,6 +13,11 @@ trap 'exit 1' HUP INT TERM
for name in install-manifest.json equipo-runner equipo-tool-proxy install-v1.sh; do
cp "$source/$name" "$bundle/$name"
done
+# The Mac worker's runner and tool proxy, served under darwin-arm64/.
+mkdir "$bundle/darwin-arm64"
+for name in equipo-runner equipo-tool-proxy; do
+ cp "$source/darwin-arm64/$name" "$bundle/darwin-arm64/$name"
+done
# Exercise the same manifest and digest checks as the download handler.
EQUIPO_BUNDLE_VERSION="$version" CGO_ENABLED=0 go test -tags runnerassets ./internal/release -run '^TestBundledInstallAssets$' -count=1
CGO_ENABLED=0 GOOS="$target_os" GOARCH="$target_arch" go build -tags runnerassets -trimpath \
diff --git a/scripts/runner-install-manifest.py b/scripts/runner-install-manifest.py
index 067e74a8..ea27bbf2 100644
--- a/scripts/runner-install-manifest.py
+++ b/scripts/runner-install-manifest.py
@@ -12,6 +12,19 @@ assert version not in ("dev", "latest")
release = json.loads((root / "manifest.json").read_text())
assert release["live_gate_copy_reviewed"] and release["direct_policies"]
assert release["certifications"]
+def digest(path):
+ return hashlib.sha256(path.read_bytes()).hexdigest()
+
+
+# Every platform's runner (Mac runners spec 3.1). The top-level fields
+# stay the Linux runner's for older bootstraps; a Mac worker's files are
+# under darwin-arm64/ and it is listed only when they are there.
+targets = {"linux/amd64": {"runner_sha256": digest(root / "equipo-runner"),
+ "tool_proxy_sha256": digest(root / "equipo-tool-proxy")}}
+mac = root / "darwin-arm64"
+if (mac / "equipo-runner").is_file():
+ targets["darwin/arm64"] = {"runner_sha256": digest(mac / "equipo-runner"),
+ "tool_proxy_sha256": digest(mac / "equipo-tool-proxy")}
manifest = {
"version": version,
"target": "linux/amd64",
@@ -21,5 +34,6 @@ manifest = {
"--die-with-parent", "--new-session", "--as-pid-1",
"--cap-drop", "ALL", "--json-status-fd", "3"],
"release": release,
+ "targets": targets,
}
(root / "install-manifest.json").write_text(json.dumps(manifest, indent=2) + "\n")
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 30e4b6ae..df2d5270 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -6733,13 +6733,6 @@
"count": 1,
"reason": "Runner executable/package or user-service identifier, retained for direct-launch installation and fixture verification."
},
- {
- "path": "internal/release/install_assets.go",
- "line_sha256": "2652abc9e7e575a2c121ec3ab195aeb46c4f6f81dbe626470d9ebbed542de351",
- "match": "equipo-runner",
- "count": 1,
- "reason": "Runner executable/package or user-service identifier, retained for direct-launch installation and fixture verification."
- },
{
"path": "internal/release/install_assets.go",
"line_sha256": "2cdcfd4804817484e30628faa76f5ed0c7061869798a1cde3745354138298ce9",
@@ -6870,7 +6863,7 @@
"path": "packaging/install/install-v1.sh",
"line_sha256": "4e502d75563acd450459774c61e6a7e9d9c1a972f2913320af8e50e24c6f7db9",
"match": "equipo-runner",
- "count": 1,
+ "count": 2,
"reason": "Runner executable/package or user-service identifier, retained for direct-launch installation and fixture verification."
},
{
@@ -11198,5 +11191,775 @@
"match": "node",
"count": 2,
"reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "Makefile",
+ "line_sha256": "2f0033f337a54dfeab495e116edbc0eac18030d52d2e133ba9a2c615543004aa",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "Makefile",
+ "line_sha256": "df5fa9bf6abf5cf0f8578844482fc82f0b8c1414011b60a76c1d4eeca0800112",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "03586b18948094b269a9cf2d72c538132e98f72075e4adce687dcb0c0a671044",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "1eb0eec0b92327794a61f6542b9f9c340cb0a47c7afd3c94ed3c1939766a9e62",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "2170650bc17cb13f4e1f0eb76af1c84964c99b25605331c882f0003f67a1ccdf",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "27621f0878e7520776d1ef8287d3639e8c3ade356ff9f8938671fb932528e323",
+ "match": "node",
+ "count": 3,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "366ea9b5e2f0d67a9bd58e81a79e4db93f94fe1449ab08b866110ada0d9fbbac",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "371a901a162a5581c56e852a5aa4d2ec0a212db85ae50684dff21b70b14d97e4",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "3bfe35b7b681bdeb64d779f420b71f0c94a25bb6642e153632b309c48ce423ef",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "42fefcd623c76c73848a0b1465c858c721513a8cea386e4440a762f5a3a6bdfc",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "42fefcd623c76c73848a0b1465c858c721513a8cea386e4440a762f5a3a6bdfc",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "42fefcd623c76c73848a0b1465c858c721513a8cea386e4440a762f5a3a6bdfc",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "4a79677402a12f8c26e242bd03463ae8c9330b1114ab7b2ed2f803f794cc303d",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "620a68fae85c9955ffb0206c2bc1bdd66f5286af2b561e0e9060cf7121297845",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "80768c72239f405cebdc0949d0b5f184a600310b75562b5c660eba1eb8e98484",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "94074e19617ebfcf0000ddc823155dfc15f93cf89dab38156fb3164f235d7fdf",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "94074e19617ebfcf0000ddc823155dfc15f93cf89dab38156fb3164f235d7fdf",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "9fa9c7b7c121c79aae8371b53d60e4def763de6c9ba3fc342122a13e110c408f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "a545789c59d37118a236e69803a3270a8a8c440b8d9a39abebd7a3a08da0a849",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "c7a456a961f5b1ebc31bbfd3c12dbd1800a076f7b33ce87045c2ef661673f934",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "cbdb5944d096c17b39451103408bf31e642229fe3a3e84ad77d7424362e2f4c4",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "e062a7a2dec413e2509f0e967b7f2280a166ddc18cae4ce838c693d88ea45966",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "e4ed1ca610f88b18885a2c2906a0d9082260df94bf806d3b19213df90f9125b9",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "eb32df6f1e84078e5335ea88115756c024b7e09d01dcc4729830274bda0b1d00",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "ebe6e8b1c2034e85214319bcc699a3e7d3c2066a488b5cdcb34b0a2767f1c8d9",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "eef633bbe482eb86b1e592d0da53fec8820f0212789e1c5ba3ef3fe18fc9a93b",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "eef633bbe482eb86b1e592d0da53fec8820f0212789e1c5ba3ef3fe18fc9a93b",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "f52d30355fa1042637ea577827662068eabfbe0de9eafb78cb54ce0da2ba456a",
+ "match": "Node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "fcc75454790a6d3b5f93688a32626a3b6ba6d3187e7b287c7e6a16a7935ef87d",
+ "match": "NODE",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac.go",
+ "line_sha256": "fcc75454790a6d3b5f93688a32626a3b6ba6d3187e7b287c7e6a16a7935ef87d",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "0b391463deaa13eba1af4ffd6512fafab7bdf106957362258262c11a1dd3631a",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "0e9284e3ee1f5840e971dac907c4cde268903d37159750be72cdae16ed61b797",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "1064c1bf5e7f565c6108f202810dfdf5a34d7f6236293c282ed963cf5e82787c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "2f282cef028251d190ba027050514bdf4d214af3a00fddd7f051d3c0d2d7511a",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "4ddf16665b4b8b9ddcbc6c73fba60c73f3f6fcf5cd4e307aa3b2166f8700fe25",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "536bed9c155eba94431d7a97787b6151a75a2bfd557c1e4453395866b970ba55",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "536bed9c155eba94431d7a97787b6151a75a2bfd557c1e4453395866b970ba55",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "651010ef41f12ea6ffc7006dae13c00c32433bec21fff5feb10a0b5261e3ff7f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "764ba3855bca9132e460dd60363ded66ddf9bca62d34885f948b889d8d513c52",
+ "match": "node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "815c9d2619e271288bd68cf15168c3d0026b526b98da78b4cd2084f1a15fcea1",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "998f220dc07293ea1f1b1ed58eac3f10c9ba06dbe6d6af798ea71bedbdbbed96",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "a7e34c2e8db0434fbba6f95a10b08e5fe909eba2be55ab939ae4f35370f16e07",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "b60024e78178a7deb45e8324be10ef8e81b1398e89cfa996c9d2a1924ead6b0d",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "b68dcedb5cbfe2a60caf70c964925cfec1bf4616afc5fc4df7983423e27451fb",
+ "match": "NODE",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "b68dcedb5cbfe2a60caf70c964925cfec1bf4616afc5fc4df7983423e27451fb",
+ "match": "node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "c1fd0d9f408d962179eaf7caf3fb5027b54bc19f6151674d1f4c612cc80b2f26",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "cc40483e5e329ac89f8a44292a8d811c4328dbe6c418dbf78db31084338365d1",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "d27cc41d7dc49fe10e5508e6e92ea68946d4f62b89f20c8803c9f59d1af79a75",
+ "match": "node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "d814b9752d668c9f8ce46b7ff75ad351cfebb6052979ddbe8a62db79a30e082e",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "de2ffbfcd369b312c2a9ed2038f370cd26b885a7513d4fe9ec8c468e3a8e6a7c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "cmd/equipo-runner/install_mac_test.go",
+ "line_sha256": "e0a9d13083d2d0876caca60949ffe83a0f499aa03d1c9963edc29ef048210ff8",
+ "match": "npm",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md",
+ "line_sha256": "b05b5c3113d60ef0e8ce5aebb70b4742e86a9e78d86034c53ca60bcf5ded7dc9",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md",
+ "line_sha256": "b05b5c3113d60ef0e8ce5aebb70b4742e86a9e78d86034c53ca60bcf5ded7dc9",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_assets.go",
+ "line_sha256": "7f7ed824e9d8388f23c6fc72a27d85e4ee2d981fc78b4cdc63456e673d5ef847",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_assets.go",
+ "line_sha256": "ebfe1914a2bb79178b696a6e6cdd5faa1ea778fd095dd0d366ed6bf7f93da0fc",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_script_test.go",
+ "line_sha256": "4f23f89ebf48202e8d279e10a83a072c7eba4796857f6957df00b631a1351a7d",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_script_test.go",
+ "line_sha256": "8449e33b5b182d16ec127106dae0839cd5e883c1ba6a292771be8919dc9b8001",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "343a8ddc31a2370f7af76d41416925cf7d5a3343344c1dcf65e17166992d8558",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "3e2e715ae7599b2bfa0060b4822dd897e441d2d9ae3484a87b35d320b05d2b2b",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "7d3de7f26fe42e5750b5b081870841492ffdbbbc030015de7a3b51fa12120809",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "a7c6f0d0fccc139c3a24dcdef8c391bc4029b2a5ee6afa9958f4b49f5f1a912b",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "c00b73447d22a69770c9d768c93960cdbaa6199617c3c62d12818c009707474c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "d780a7c8d1f253308b42a4ab7fa084d1b1c71ea4496afe049c554abc60cb2242",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/install_test.go",
+ "line_sha256": "f2e686bf6b02ea5b273701914bd29b5a21c6f10f8ce3c4bc980eadd06ebf7bac",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/staged_gate_test.go",
+ "line_sha256": "80d4e52cd193ab7e3b2b7b53f1374692e5f654c22833d58d28e7093c606b2ccb",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/release/staged_gate_test.go",
+ "line_sha256": "dab33a6f1a91efadeec8624a3049f1a4ca762d077426b8c297c35c7a522de31a",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt.go",
+ "line_sha256": "3d32fbbd19b29407b1c8a6b792492cf823ae67cf173bde8a60e58daad6adeefe",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt.go",
+ "line_sha256": "7340ad9e1bf38162950ce50a344f8f19bf552451cc93282a63a95624262e162e",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt.go",
+ "line_sha256": "f4e1242f9422825e2e5bcc49d74533faacb76bde51bbd7fc996895196448a8ae",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "1b37fe0c047fe8d3328d9de5394caaec5d808f120a0610f60e2afd37cb9f75c8",
+ "match": "node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "48b6f435b13bb14aa121b60bdddc97fcb45bbf13f4b05fae603190b6ac0d6144",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "56b3b27b0184747f4fd4cb220854973aea2ffa0950fdc1197c1aff12347aa799",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "60752bd9c10dfcb75b05d4b60fbfffbfb93fd800115283c1d1c8c70fb8ecf4ae",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "669ceb3fb7ac2a720715547e79cc3891e53b980af0c16fbe36d0c6ee563c2766",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "80ea49f04f99bdc91fa8c7dceaa1d6a3a7498dd8cabe65b2e510176e4e38a341",
+ "match": "node",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "80ea49f04f99bdc91fa8c7dceaa1d6a3a7498dd8cabe65b2e510176e4e38a341",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "893958f0667ec400dec781908dfadf43e0b96d747ea5d08c625dbde593175802",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "933e74e5c97840d4bc1654814c08e453a584999007537b5625ed5290c24f8ca1",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "a8864108181b1280366105499ee2871068fded0cfc5750bc0c8e3cd004219143",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "bf08aca5f341d39bcd785f05235d5e8f43c354f05ed66e9963e3800cb8cacc90",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "c736e0884062254910584a8540eadbeae0db9a59555996f84a80ff4b8108f5dd",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "d24c8ea9e1121021418afd350970cb3d417b164d850c923f90d3756963220bb0",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "d8c97496619e0f6b44ad3b5adbcfa10f8fb180fe7b5eb6c44fad295a386cbf49",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "da7302ffeecbe686a3e9e3bae2c89e9f53684a99de54863f00bf68f62c4e7a4b",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "dabd62430746a1bf8337b319e97c1824b7ee5d6d5e5b4e3817053903d07c5c93",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package-lock.json",
+ "line_sha256": "e0db0c3a33bfba7868dadc987405c686abea5c2bd3e22385f7eff7cfd362a9c2",
+ "match": "npm",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/mac/srt/package.json",
+ "line_sha256": "d8c97496619e0f6b44ad3b5adbcfa10f8fb180fe7b5eb6c44fad295a386cbf49",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "18a3940be402349a0321545537a4c2798ebb258219712f37818737c0f701eb28",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "24cfc48f6e26a4fb536794d2a3ae6fb1557eb57f9fc32e975dd2217b0b6bb6f6",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "2690ddf9552ac9249e18620bc097554968a93291323f4c6f4bcd7dbfc54ca938",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "340a15993190b36885ff9909bec83dcb249769b5491ac59f23daa12b0edf831a",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "3d4515e04c6fcfa7cd6e940ad995def9d2d3369b0efac026bc57d8795302dfb9",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "40b8d2c55a08d8a3a8bb5450319a6477bd57d5abbea5c8a2007dd91c96fc0bb6",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "5a76d53fd7d18fb7f760613a1ab75b7f946c6af69f4b713de0b9e60a6534c0d2",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "806354b64fb925c4a4bde41b3b1405640cbd068ced590cb136fae6e290a2db83",
+ "match": "NODE",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "806354b64fb925c4a4bde41b3b1405640cbd068ced590cb136fae6e290a2db83",
+ "match": "Node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "806354b64fb925c4a4bde41b3b1405640cbd068ced590cb136fae6e290a2db83",
+ "match": "node",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "ac5494b81da437396b2131afc1394bf549e9345f206134fc6d5fbb65869ea93a",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac.go",
+ "line_sha256": "c3cbd862a1a2dbb1e1db96836645cc171a46e42f88932eb3529f50f4d71f5799",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac_test.go",
+ "line_sha256": "16cbbe773c94fbcc2b98ab423474f2941d0a71cf418d37e690a683be0d2b84c0",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac_test.go",
+ "line_sha256": "4063b6a43dc3cd3239e3d4f6c97cbda9a7dc822c845704586bc242708f03b7ab",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "internal/runner/thin/mac_test.go",
+ "line_sha256": "91e2d388bef73d8e6e3de934c149d723ce589c7af30fa1f08f7b51eb6afa15b7",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "packaging/install/install-v1.sh",
+ "line_sha256": "3ba09768672f813daca95b729189a6817f183a2c411e9af941ca7703cff51993",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "packaging/install/install-v1.sh",
+ "line_sha256": "90fb3739eb36ca5a4b898a518e046fbf706bc74c04c5187db18d5b2697d8e7ce",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "packaging/install/install-v1.sh",
+ "line_sha256": "d1535e6e42e6cfd5bd3a1a9ab79d8a1982be139b53fa912a699152646ea5eea9",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "scripts/build-instance-release.sh",
+ "line_sha256": "68afbc834117dfac34159fe02213797a677c331e4883ab3d86223391fb5914b2",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "scripts/runner-install-manifest.py",
+ "line_sha256": "1080aebaa8b2b063c2572c1ded5af5757599b207c4ad3b18b82f80e5bd9dcc52",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "scripts/runner-install-manifest.py",
+ "line_sha256": "13d9029d773eded75f2fc149f920e58016d9d4ed54bd02e4df96948cda8635d7",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "scripts/runner-install-manifest.py",
+ "line_sha256": "8fd75acf1a54c676f07025522b7a57d320441c2add6ce19e20e7d9e7877df832",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
+ },
+ {
+ "path": "scripts/staged-artifacts.py",
+ "line_sha256": "52928531ce5cb7d524673a3abbc0f877d209a75fe59e60d2bb9dcf70682d1a14",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs."
}
]
diff --git a/scripts/staged-artifacts.py b/scripts/staged-artifacts.py
index 107311c8..2a1443b5 100755
--- a/scripts/staged-artifacts.py
+++ b/scripts/staged-artifacts.py
@@ -26,6 +26,10 @@ def artifacts(version):
'instance': ROOT / 'releases' / f'equipo-linux-arm64-{version}',
'runner': runner / 'equipo-runner',
'tool_proxy': runner / 'equipo-tool-proxy',
+ # Both targets (Mac runners spec 3.1): the Mac worker's bytes are
+ # part of what production receives.
+ 'darwin_runner': runner / 'darwin-arm64' / 'equipo-runner',
+ 'darwin_tool_proxy': runner / 'darwin-arm64' / 'equipo-tool-proxy',
}