oficina / equipo Public

Bundle certified runner assets for execution-enabled instances

Co-Authored-By: Astra <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 76d4eb4a96fc2b8b57f4ba99a7ea71b10cafbfe8 parent b16b207
14 files changed, +904 −13
  • .gitignore +2 −0
  • Makefile +3 −5
  • docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md +401 −0
  • internal/equipotest/release_test.go +11 −1
  • internal/equipotest/runner_release_test.go +1 −1
  • internal/equipotest/runner_startup_test.go +42 −0
  • internal/release/embedded_bundle.go +19 −0
  • internal/release/embedded_default.go +7 −0
  • internal/release/embedded_install_test.go +168 −0
  • internal/release/install_assets.go +29 −4
  • internal/release/install_script_test.go +1 −1
  • packaging/install/install-v1.sh +4 −1
  • scripts/build-instance-release.sh +20 −0
  • scripts/runner-reference-allowlist.json +196 −0

CI passed — run details

diff --git a/.gitignore b/.gitignore
index 6c3a0a20..908d4507 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,5 @@
/.env.local
/.local/
+
+/internal/release/bundled/
diff --git a/Makefile b/Makefile
index 861aae25..27d79751 100644
--- a/Makefile
+++ b/Makefile
@@ -39,14 +39,12 @@ build:
# Stamp the clean commit so /api/version identifies the running release.
# Strip debug data to reduce the upload size; keep module build metadata.
-release: copy-release-check direct-release-check
+release: release-runner
@test -z "$$(git ls-files --others --exclude-standard)"
@git diff --quiet && git diff --cached --quiet || \
{ echo "refusing to build a release from a dirty tree"; exit 1; }
- @mkdir -p releases
- CGO_ENABLED=0 GOOS=$(RELEASE_GOOS) GOARCH=$(RELEASE_GOARCH) go build -trimpath \
- -ldflags "-s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$$(git rev-parse --short HEAD)" \
- -o $(RELEASE_BIN) ./cmd/$(APP)
+ @mkdir -p $(dir $(RELEASE_BIN))
+ scripts/build-instance-release.sh $(RUNNER_RELEASE_DIR) $(RELEASE_BIN) $(RELEASE_GOOS) $(RELEASE_GOARCH) "$$(git rev-parse --short HEAD)"
cp internal/release/manifest.json $(RELEASE_BIN).manifest.json
cp -R internal/release/evidence $(RELEASE_BIN).evidence
@git rev-parse HEAD > $(RELEASE_BIN).COMMIT
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md b/docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md
new file mode 100644
index 00000000..338e12c9
--- /dev/null
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md
@@ -0,0 +1,401 @@
+# Enable execution: controller report
+
+The installer accepts the starter set's certified policies alongside its 15
+uncertified policies. `make release` now builds the linux/amd64 runner first,
+checks its bundled downloads, then embeds them in the linux/arm64 app. An unset
+`EQUIPO_RUNNER_RELEASE_DIR` selects that bundle. A configured directory still
+wins and fails closed if invalid. Uncertified dispatch remains denied.
+
+No provider was launched, deployed configuration changed, runner enrolled, or
+application deployed during this task. No copy-review server was started. This
+is the controller's requested operational report, not new app copy; README and
+runtime strings are unchanged.
+
+## Implementation and checks
+
+- The bootstrap keeps its version, target, copy, certification and digest
+ assertions. It requires a direct policy with a matching certificate that is
+ not also listed as uncertified. The downloaded runner still validates the
+ complete installation manifest before installation.
+- `scripts/build-instance-release.sh` stages only the installation manifest,
+ runner, tool proxy and bootstrap script. It refuses an existing staging
+ directory and removes its own staging directory on success or failure.
+ `runnerassets` is a release-only build tag: normal app and runner builds do
+ not contain the bundle, preventing recursive runner embedding.
+- Before building the app, `TestBundledInstallAssets` checks the version,
+ namespace policy, release-manifest equality, runner SHA-256 and tool-proxy
+ SHA-256 through `InstallAssets`. It serves and compares all four HTTP bodies.
+ The bootstrap script has no separate digest field in the existing manifest;
+ its bytes are copied from the same clean commit. Runner and tool-proxy
+ digests retain their existing manifest locations.
+- Embedded assets reuse the directory handler's validation, path allowlist,
+ range support and cache headers. Immutable embedded files are hashed once.
+ Directory files retain their metadata and replacement checks.
+- No startup behavior needed changing. The new CARLOS layout test opens and
+ reopens execution with a private witness subdirectory, no release-directory
+ override and `AlwaysOn=false`. Enrolment remains available. The existing
+ authenticated runner HTTP tests also pass with `AlwaysOn=false`.
+
+Initial red tests:
+
+```sh
+CGO_ENABLED=0 go test ./internal/release \
+ -run 'TestBootstrapPartialRelease|TestEmbeddedInstallAssets' -count=1
+CGO_ENABLED=0 go test ./internal/equipotest \
+ -run '^TestDirectReleaseRequiresCertification/release/clean$' -count=1
+```
+
+The first command rejected the partial manifest and could not serve the
+embedded fixture. The second failed because the app build had no staged runner
+manifest. Both pass after implementation. The first compile attempt also
+failed because the bundle interface did not yet exist.
+
+Targeted verification passed:
+
+```sh
+CGO_ENABLED=0 go test ./internal/release ./internal/equipotest \
+ -run 'TestBootstrapPartialRelease|TestEmbeddedInstallAssets|TestOnboardingInstallPackaging|TestExecutionCarlosMarkerLayout|TestExecutionStartupClosed|TestExecutionHibernateWitness|TestRunnerAppCSRF|TestReleaseStampContract|TestRunnerReleaseContractPackaging|TestDirectReleaseRequiresCertification' \
+ -count=1
+```
+
+Mutation checks used disposable Go overlays under on-disk `$TMPDIR`; the
+bootstrap mutation was restored in a `finally` block. Each command exited 1
+with the named assertion failing; the restored targeted command above passed.
+
+| Behavior deliberately broken | Command after `CGO_ENABLED=0` | Observed failure |
+| --- | --- | --- |
+| Ignore binary digest differences | `go test -overlay=<scratch>/digest.json ./internal/release -run '^TestEmbeddedInstallAssets$' -count=1` | Tampered runner and proxy accepted |
+| Ignore release-manifest equality | `go test -overlay=<scratch>/manifest.json ./internal/release -run '^TestEmbeddedInstallAssets$' -count=1` | Mismatched instance target accepted |
+| Prefer embedded files over an explicit directory | `go test -overlay=<scratch>/override.json ./internal/release -run '^TestEmbeddedInstallAssets$' -count=1` | Invalid explicit override accepted |
+| Ignore execution-enabled environment value | `go test -overlay=<scratch>/execution-env.json ./internal/equipotest -run '^TestExecutionCarlosMarkerLayout$' -count=1` | Execution configuration stayed disabled |
+| Remove disabled-execution guard | `go test -overlay=<scratch>/execution-off.json ./internal/equipotest -run '^TestExecutionStartupClosed$' -count=1` | Disabled execution opened |
+| Remove database-directory separation | `go test -overlay=<scratch>/marker-separation.json ./internal/equipotest -run '^TestExecutionStartupClosed$' -count=1` | Witness shared database directory |
+| Remove the app build's `runnerassets` tag | `go test ./internal/equipotest -run '^TestReleaseStampContract/defaults$' -count=1` | Release missing embedded assets |
+| Skip bootstrap certificate matching | `go test ./internal/release -run '^TestBootstrapPartialRelease$' -count=1` | Unmatched and explicitly uncertified policies accepted |
+
+The initial manifest mutation survived because its fixture changed the Claude
+version, which failed certification before reaching the equality check. The
+fixture now changes the instance target, and the equality mutation fails.
+The override mutation must change both opening and cache selection to model an
+unsafe fallback; changing opening alone still failed closed at file identity.
+
+One full `make -k ci` ran and exited 2. Build, vet, formatting, staticcheck,
+govulncheck, gitleaks, size budgets, adapter tests, namespace tests, migration
+checks and performance passed. Cold boot median was 116 ms against 500 ms.
+The reference scan and test target failed for these reasons:
+
+1. The brief and new runner asset references needed exact inventory entries.
+ Added those entries, including this report; the scanner now passes.
+2. `TestOnboardingInstallShell/Linux/x86_64` supplied empty certificate objects.
+ Added the fixture's matching provider, action and policy hash. The full
+ `internal/release` package now passes.
+3. `TestReviewExpiredAccountSignsIn/claude` returned `provider_account_busy`.
+ Its isolated rerun passed without account-code changes. The same failure
+ and passing isolated rerun are recorded in
+ `CONTROLLER-REPORT-fewer-prompts.md`; this change does not alter that path.
+
+The full test run executed 27 packages, with no cached results. Local advisory
+time overruns were runner 370.872/330 seconds, provider 21.891/15, Claude
+58.215/45 and Codex 46.821/35. No budgets were raised. These timings would fail
+when CI timing enforcement is enabled.
+
+The affected checks passed on this focused rerun:
+
+```sh
+CGO_ENABLED=0 go test ./internal/release ./internal/equipotest ./internal/tryequipo \
+ -run '^TestOnboardingInstallShell$|^TestDirectDeadReferencesRepository$|^TestReviewExpiredAccountSignsIn$|^TestReleaseStampContract$' \
+ -count=1
+CGO_ENABLED=0 go test ./internal/release -count=1
+CGO_ENABLED=0 go test ./internal/equipotest \
+ -run '^TestReleaseStampContract$|^TestDirectDeadReferencesRepository$' -count=1
+```
+
+No second full CI run was used. The full run remains recorded as failed;
+the focused fixes and reruns do not turn it into a claimed full green run.
+
+A dry `make release` passed in a clean disposable snapshot under on-disk
+`$TMPDIR`, stamped `4d1cb1f`. It used only the five executable-path variables
+read from the existing `runner.env`, with `EQUIPO_CLAUDE_PATH` overridden to
+`/home/paulca/.local/share/claude/versions/2.1.312`. No provider process was
+launched. This scratch commit is evidence of the build, not a version to deploy.
+
+The release ran these checks before compiling the ARM64 instance:
+
+```sh
+EQUIPO_BUNDLE_VERSION=4d1cb1f CGO_ENABLED=0 go test -tags runnerassets \
+ ./internal/release -run '^TestBundledInstallAssets$' -count=1
+```
+
+All four embedded downloads were served through the HTTP handler and matched
+the staged bytes. Both executable digests matched the installation manifest.
+The built AMD64 runner also passed `verify-install-manifest` on that manifest,
+and its `version` command reported `4d1cb1f`. No app server was started.
+
+| Artifact | Bytes | MiB |
+| --- | ---: | ---: |
+| ARM64 app including runner bundle | 41,484,450 | 39.56 |
+| AMD64 runner | 18,116,770 | 17.28 |
+| AMD64 tool proxy | 2,646,178 | 2.52 |
+
+`file` confirmed a stripped, statically linked ARM64 app and stripped,
+statically linked AMD64 runner and helper. The generated bundle directory was
+removed by the build script, and the scratch checkout remained clean. Final
+`make runner-dead-references fmt-check` and `git diff --check` passed.
+
+## CARLOS configuration for the controller
+
+Choose this absolute marker path:
+
+```text
+/data/instances/equipo.bds.oncarlos.com/execution/witness
+```
+
+The platform's `internal/provision/provision.go` defines the persistent nested
+instance directory and database path. For this hostname, the database is
+`/data/instances/equipo.bds.oncarlos.com/equipo.bds.oncarlos.com.db` in the
+nested layout. The older flat layout uses `/data/equipo.bds.oncarlos.com.db`.
+The chosen witness directory is separate in either layout. The isolated
+instance unit binds and permits writes to its own `/data/instances/<host>`
+directory. `OpenExecution` creates `execution` with mode 0700.
+
+Sources read locally under `~/amadan.net/carlos/platform`:
+`internal/provision/provision.go` (`InstanceDir`, `NestedDBPath`, `DefaultDBPath`),
+`internal/host/units/carlos-instance@.service` (`BindPaths`, `ReadWritePaths`),
+`internal/activator/backend_exec.go` (`agentOwnedVars`, `childEnv`, replication),
+`docs/site/cli.md` (configuration bundles), and `carlos help` / `carlos env set -h`.
+`CARLOS_DATA_DIR` configures the platform process; it is not an injected app
+storage variable. App launch supplies `--db`; injected platform variables such
+as `CARLOS_CONTROL_SOCKET` and `CARLOS_REGION` do not identify persistent app
+storage. This selection comes from the checked-in platform contract; no live
+instance filesystem was inspected.
+
+Preserve this witness independently when restoring the SQLite database.
+Database replication does not replicate this extra file. Hibernation on the
+same disk can reopen it. If a host move, disk loss or restore loses or rolls
+back the witness, execution must quarantine until a person follows recovery.
+Do not copy an old witness together with an old database to bypass that check.
+
+Leave `EQUIPO_ALWAYS_ON` unset. It enables browser live updates and related
+in-process scheduling in `internal/equipo/app.go`; it does not control CARLOS
+hibernation or register runner routes. Runners use outbound authenticated HTTP,
+25-second long polls and heartbeats. Requests wake the app through CARLOS, and
+execution resumes from its database and witness. No always-on platform change
+is needed for connectivity.
+
+After review and human merge, build from a clean checkout of the commit to be
+deployed. Export the executable paths from the existing local runner setup and
+pin Claude to the certified version before running the release gate. These
+commands are for the controller to run later; none were run against CARLOS:
+
+```sh
+set -a
+. "$HOME/.local/share/equipo-runner/runner.env"
+set +a
+export EQUIPO_CLAUDE_PATH="$HOME/.local/share/claude/versions/2.1.312"
+make release
+EQUIPO_RELEASE_VERSION=$(git rev-parse --short HEAD)
+read -r -p 'Paste the flagship console address linked below: ' EQUIPO_CONSOLE
+carlos deploy --console "$EQUIPO_CONSOLE" --app equipo --account oficina \
+ --channel edge --timeout 5m \
+ "./releases/equipo-linux-arm64-$EQUIPO_RELEASE_VERSION"
+carlos env set --console "$EQUIPO_CONSOLE" --app equipo --account oficina \
+ --no-prompt EQUIPO_EXECUTION_ENABLED=1 \
+ EQUIPO_EXECUTION_MARKER_PATH=/data/instances/equipo.bds.oncarlos.com/execution/witness
+```
+
+Flagship console:
+[https://console.carloku.com](https://console.carloku.com).
+The command uses the repository's `edge` deployment target. Confirm the route's channel before promotion if
+it has changed since this brief. The stated current env has no named bundle;
+the command writes the default bundle. If the controller discovers a named
+bundle overriding these values, apply them to that bundle with `--environment`.
+Do not set `EQUIPO_RUNNER_RELEASE_DIR`; the app serves its matching bundle.
+
+## Install and enrol docs-t1 as paulca
+
+Open [https://equipo.bds.oncarlos.com](https://equipo.bds.oncarlos.com), sign in,
+and open [https://equipo.bds.oncarlos.com/onboarding](https://equipo.bds.oncarlos.com/onboarding).
+The page's installer command supplies the deployed version and instance ID.
+Check its instance argument against `EQUIPO_INSTANCE_ID` in the saved
+`runner.env`. If using the navigation instead, choose **Connections**, then
+**Enrol a runner** to reach the machine enrolment page.
+
+For a fresh installation, the page's bootstrap command runs the installer,
+asks for the machine label and asks you to type `yes`. It then prints a
+one-time device code and the approval URL. The code is generated at enrolment;
+there is no reusable code to put in this report.
+
+On this machine, use the manual installation below. The existing
+`~/.local/share/equipo-runner/runner.env` is mode 0600 and has no installer
+ownership attribute. `SaveServiceEnvironment` refuses to overwrite it. Even
+an installer-owned replacement would select `accounts.json` and new work and
+scratch defaults instead of the live gate's `bindings.json` and existing
+paths. Passing the existing variables to the bootstrap does not fix those
+hardcoded defaults. The commands below preserve the saved configuration and
+bindings, changing only Claude's executable pin and the installed tool-proxy
+path. They do not repeat provider sign-in or copy credentials.
+
+The user service manager is available and `loginctl` reported `Linger=yes`.
+All five installed executable hashes match the manifest when Claude is pinned
+to 2.1.312. No executable was launched to check those hashes.
+At inspection, there was no runner user service, `state/credentials.json`, or
+`state/enrolment.json`. The two bindings both use Claude and existing dedicated
+homes under `~/.local/share/equipo/accounts/`. Keep those homes and binding
+records intact. The commands deliberately stop if a service or target release
+has appeared since this inspection; reconcile that newer installation first.
+
+Run this in Bash on docs-t1 as `paulca`, after the new app is deployed:
+
+```bash
+set -euo pipefail
+umask 077
+EQUIPO_INSTALL_ROOT="$HOME/.local/share/equipo-runner"
+test "$(id -un)" = paulca
+test ! -e "$HOME/.config/systemd/user/equipo-runner.service"
+test ! -L "$HOME/.config/systemd/user/equipo-runner.service"
+test ! -e "$EQUIPO_INSTALL_ROOT/equipo-runner.service"
+test ! -L "$EQUIPO_INSTALL_ROOT/equipo-runner.service"
+systemctl --user show-environment >/dev/null
+loginctl show-user "$(id -u)" --property=Linger --value
+set -a
+. "$EQUIPO_INSTALL_ROOT/runner.env"
+set +a
+export EQUIPO_CLAUDE_PATH="$HOME/.local/share/claude/versions/2.1.312"
+test -x "$EQUIPO_CLAUDE_PATH"
+test "$EQUIPO_ACCOUNT_BINDINGS_PATH" = "$EQUIPO_INSTALL_ROOT/bindings.json"
+mkdir -p "$HOME/.cache/equipo-install"
+export TMPDIR="$HOME/.cache/equipo-install"
+EQUIPO_DOWNLOAD=$(mktemp -d "$TMPDIR/download-XXXXXXXX")
+trap 'rm -rf "$EQUIPO_DOWNLOAD"' EXIT
+EQUIPO_INSTALL_VERSION=$(curl --fail --silent --show-error \
+ --proto '=https' --tlsv1.2 "$EQUIPO_ORIGIN/api/version")
+export EQUIPO_INSTALL_VERSION EQUIPO_DOWNLOAD
+python3 - <<'PY'
+import os, re
+v = os.environ['EQUIPO_INSTALL_VERSION']
+assert re.fullmatch(r'[a-zA-Z0-9][a-zA-Z0-9._-]{0,79}', v)
+assert v not in ('dev', 'latest')
+PY
+for asset in install-manifest.json equipo-runner equipo-tool-proxy; do
+ curl --fail --silent --show-error --proto '=https' --tlsv1.2 \
+ "$EQUIPO_ORIGIN/releases/$EQUIPO_INSTALL_VERSION/$asset" \
+ -o "$EQUIPO_DOWNLOAD/$asset"
+done
+python3 - <<'PY'
+import hashlib, json, os, pathlib
+root = pathlib.Path(os.environ['EQUIPO_DOWNLOAD'])
+m = json.loads((root / 'install-manifest.json').read_text())
+assert m['version'] == os.environ['EQUIPO_INSTALL_VERSION']
+assert m['target'] == 'linux/amd64'
+def digest(path):
+ with pathlib.Path(path).open('rb') as f:
+ return hashlib.file_digest(f, 'sha256').hexdigest()
+assert digest(root / 'equipo-runner') == m['runner_sha256']
+paths = {'claude': os.environ['EQUIPO_CLAUDE_PATH'],
+ 'codex': os.environ['EQUIPO_CODEX_PATH'],
+ 'codex-code-mode-host': os.environ['EQUIPO_CODEX_CODE_MODE_HOST_PATH'],
+ 'bwrap': os.environ['EQUIPO_BWRAP_PATH'],
+ 'equipo-tool-proxy': root / 'equipo-tool-proxy'}
+assert len(m['release']['binaries']) == len(paths)
+for b in m['release']['binaries']:
+ assert digest(paths[b['name']]) == b['sha256'], b['name']
+PY
+chmod 700 "$EQUIPO_DOWNLOAD/equipo-runner"
+"$EQUIPO_DOWNLOAD/equipo-runner" verify-install-manifest \
+ "$EQUIPO_DOWNLOAD/install-manifest.json" >/dev/null
+EQUIPO_INSTALL_RELEASE="$EQUIPO_INSTALL_ROOT/releases/$EQUIPO_INSTALL_VERSION"
+mkdir -p "$EQUIPO_INSTALL_ROOT/releases"
+mkdir "$EQUIPO_INSTALL_RELEASE"
+install -m 700 "$EQUIPO_DOWNLOAD/equipo-runner" "$EQUIPO_INSTALL_RELEASE/"
+install -m 700 "$EQUIPO_DOWNLOAD/equipo-tool-proxy" "$EQUIPO_INSTALL_RELEASE/"
+install -m 600 "$EQUIPO_DOWNLOAD/install-manifest.json" "$EQUIPO_INSTALL_RELEASE/"
+export EQUIPO_TOOL_PROXY_PATH="$EQUIPO_INSTALL_RELEASE/equipo-tool-proxy"
+export EQUIPO_INSTALL_ROOT
+python3 - <<'PY'
+import json, os, pathlib
+root = pathlib.Path(os.environ['EQUIPO_INSTALL_ROOT'])
+p = root / 'runner.env'
+original = p.read_bytes()
+with (root / 'runner.env.before-enable-execution').open('xb') as backup:
+ backup.write(original)
+updates = {k: os.environ[k] for k in ('EQUIPO_CLAUDE_PATH', 'EQUIPO_TOOL_PROXY_PATH')}
+lines = original.decode().splitlines()
+assert all(sum(line.startswith(k + '=') for line in lines) == 1 for k in updates)
+p.write_text('\n'.join(k + '=' + json.dumps(updates[k]) if k in updates else line
+ for line in lines for k in [line.partition('=')[0]]) + '\n')
+p.chmod(0o600)
+PY
+export EQUIPO_MACHINE_LABEL=docs-t1
+"$EQUIPO_INSTALL_RELEASE/equipo-runner" enrol
+```
+
+While `enrol` waits, open
+[https://equipo.bds.oncarlos.com/runners/enrol](https://equipo.bds.oncarlos.com/runners/enrol).
+Enter the terminal's one-time code in **Code from your machine**, click
+**Check machine**, check the `docs-t1` label, key fingerprint and request time,
+compare the fingerprint before clicking **Approve machine**. Run this in a
+second terminal while enrolment waits; it prints only the hash of the public key:
+
+```bash
+python3 - <<'PYCODE'
+import base64, hashlib, json, pathlib
+p = pathlib.Path.home() / '.local/share/equipo-runner/state/machine-key.json'
+s = json.loads(p.read_text())
+key = base64.urlsafe_b64decode(s + '=' * (-len(s) % 4))
+assert len(key) == 64
+print(hashlib.sha256(key[32:]).hexdigest())
+PYCODE
+```
+
+Click **Approve machine** once those details match. The code expires after ten
+minutes. Wait for `enrol` to exit successfully. A retry
+reuses a still-valid pending code; an already enrolled matching state returns
+success without another code. Never delete existing state to force enrolment.
+
+Then install and start the user service, still in the same shell:
+
+```bash
+mkdir -p "$HOME/.config/systemd/user"
+cat > "$EQUIPO_INSTALL_ROOT/equipo-runner.service" <<UNIT
+[Unit]
+Description=equipo-runner
+[Service]
+Type=simple
+EnvironmentFile=$EQUIPO_INSTALL_ROOT/runner.env
+ExecStart=$EQUIPO_INSTALL_RELEASE/equipo-runner run
+Restart=on-failure
+RestartSec=5
+TimeoutStopSec=45
+KillMode=control-group
+UMask=0077
+NoNewPrivileges=yes
+[Install]
+WantedBy=default.target
+UNIT
+chmod 600 "$EQUIPO_INSTALL_ROOT/equipo-runner.service"
+systemctl --user link "$EQUIPO_INSTALL_ROOT/equipo-runner.service"
+systemctl --user daemon-reload
+systemctl --user enable --now equipo-runner.service
+systemctl --user status equipo-runner.service --no-pager
+rm -rf "$EQUIPO_DOWNLOAD"
+trap - EXIT
+```
+
+If the earlier `Linger` result was `no`, the user service stops after logout.
+Keep the user session open; no root or lingering change is part of this task.
+Starting the service is the point at which real work can begin. The manual
+route uses the same certified binaries and existing live-gate containment
+setup, but does not run the installer's containment probe; do not use it on a
+machine whose bubblewrap/user-namespace prerequisites have changed. The runner
+still enforces its runtime checks. In **Connections**, confirm that the
+existing accounts are reported before requesting a task. The runner will
+continue to refuse any route without a matching policy certificate.
+
+## Handoff
+
+Implementation and controller instructions are ready on `enable-execution`.
+Human review, merge and versioned deployment remain with the controller; Paul
+then approves docs-t1's device code. The local full CI result and focused
+reruns are recorded above, including the pre-existing intermittent account test
+and advisory timing overruns. Task scratch, release binaries and logs were
+removed. No server or background process from this task remains.
diff --git a/internal/equipotest/release_test.go b/internal/equipotest/release_test.go
index 868cdd2d..a29dfb09 100644
--- a/internal/equipotest/release_test.go
+++ b/internal/equipotest/release_test.go
@@ -42,6 +42,10 @@ func TestReleaseStampContract(t *testing.T) {
set -eu
if [ "$1" = test ]; then exit 0; fi
printf '%s\n' "CGO_ENABLED=$CGO_ENABLED" "GOOS=$GOOS" "GOARCH=$GOARCH" "$@" > "$RELEASE_CAPTURE"
+while [ $# -gt 0 ]; do
+ if [ "$1" = -o ]; then shift; cp "$EQUIPO_TOOL_PROXY_PATH" "$1"; fi
+ shift
+done
`)
// Catch an accidental deployment without invoking the real CLI.
writeBin("carlos", "#!/bin/sh\ntouch \"$RELEASE_DEPLOYED\"\nexit 1\n")
@@ -109,9 +113,12 @@ printf '%s\n' "CGO_ENABLED=$CGO_ENABLED" "GOOS=$GOOS" "GOARCH=$GOARCH" "$@" > "$
t.Fatalf("build environment and command = %q, want prefix %q", args, wantEnv)
}
var trimpath bool
- var ldflags, output, source string
+ var ldflags, output, source, tags string
for i := len(wantEnv); i < len(args); i++ {
switch arg := args[i]; {
+ case arg == "-tags" && i+1 < len(args):
+ i++
+ tags = args[i]
case arg == "-trimpath":
trimpath = true
case (arg == "-ldflags" || arg == "-o") && i+1 < len(args):
@@ -127,6 +134,9 @@ printf '%s\n' "CGO_ENABLED=$CGO_ENABLED" "GOOS=$GOOS" "GOARCH=$GOARCH" "$@" > "$
source = arg
}
}
+ if tags != "runnerassets" {
+ t.Errorf("release is missing embedded runner assets: tags %q", tags)
+ }
if !trimpath {
t.Error("release is missing -trimpath")
}
diff --git a/internal/equipotest/runner_release_test.go b/internal/equipotest/runner_release_test.go
index c1bc8f50..b1c63d2f 100644
--- a/internal/equipotest/runner_release_test.go
+++ b/internal/equipotest/runner_release_test.go
@@ -68,7 +68,7 @@ func runnerPackagingScenarios(t *testing.T, target string, scenarios []string) {
copyReleaseTrackedTree(t, root)
scripts := map[string]string{
"git": "#!/bin/sh\ncase \"$1\" in diff) [ \"$SCENARIO\" != dirty ];; rev-parse) echo abc1234;; ls-files) if [ \"$SCENARIO\" = untracked ]; then echo unsafe.go; fi;; esac\n",
- "go": "#!/bin/sh\ncase \"$1\" in test) [ \"$SCENARIO\" != copy ];; build) printf '%s\\n' \"$GOOS/$GOARCH\" \"$@\" > \"$CAPTURE\"; while [ $# -gt 0 ]; do if [ \"$1\" = -o ]; then shift; cp \"$EQUIPO_TOOL_PROXY_PATH\" \"$1\"; fi; shift; done;; esac\n",
+ "go": "#!/bin/sh\ncase \"$1\" in test) [ \"$SCENARIO\" != copy ];; build) if [ \"$GOARCH\" = arm64 ]; then test -f internal/release/bundled/install-manifest.json || exit 97; fi; printf '%s\\n' \"$GOOS/$GOARCH\" \"$@\" > \"$CAPTURE\"; while [ $# -gt 0 ]; do if [ \"$1\" = -o ]; then shift; cp \"$EQUIPO_TOOL_PROXY_PATH\" \"$1\"; fi; shift; done;; esac\n",
"codex": "#!/bin/sh\n[ \"$SCENARIO\" != codex ] && echo 'codex-cli 0.165.0'\n",
"bwrap": "#!/bin/sh\nif [ \"$SCENARIO\" = bwrap ]; then echo 'bubblewrap 0.10.0'; else echo 'bubblewrap 0.11.0'; fi\n",
"systemctl": "#!/bin/sh\nexit 98\n",
diff --git a/internal/equipotest/runner_startup_test.go b/internal/equipotest/runner_startup_test.go
index 1c4bc2fd..76820171 100644
--- a/internal/equipotest/runner_startup_test.go
+++ b/internal/equipotest/runner_startup_test.go
@@ -2,6 +2,7 @@ package equipotest
import (
"context"
+ "net/http/httptest"
"os"
"path/filepath"
"strings"
@@ -158,3 +159,44 @@ func TestExecutionStartupReconciliation(t *testing.T) {
t.Fatal("owner release was not revalidated")
}
}
+
+func TestExecutionCarlosMarkerLayout(t *testing.T) {
+ d, path := executionDB(t)
+ marker := filepath.Join(filepath.Dir(path), "execution", "witness")
+ values := map[string]string{
+ "EQUIPO_ORIGIN": "https://equipo.bds.oncarlos.com",
+ "EQUIPO_INSTANCE_KEY": "fixture-instance-key",
+ "EQUIPO_OWNERS": ownerAddress,
+ "CARLOS_SMTP_HOST": "smtp.example.test",
+ "CARLOS_SMTP_FROM": "equipo@example.test",
+ "EQUIPO_EXECUTION_ENABLED": "1",
+ "EQUIPO_EXECUTION_MARKER_PATH": marker,
+ }
+ cfg, err := equipo.LoadConfig(func(k string) string { return values[k] })
+ executionMust(t, err)
+ if !cfg.ExecutionEnabled || cfg.ExecutionMarkerPath != marker || cfg.AlwaysOn || cfg.RunnerReleaseDir != "" {
+ t.Fatal("CARLOS execution configuration", cfg.ExecutionEnabled, cfg.AlwaysOn)
+ }
+ for range 2 {
+ x, err := equipo.OpenExecution(context.Background(), d, path, cfg, equipo.NewStore(d))
+ executionMust(t, err)
+ status, err := x.Core.Status(context.Background())
+ executionMust(t, err)
+ if status.Quarantine || status.AdmissionPaused {
+ t.Fatal("persistent marker did not resume")
+ }
+ app, err := equipo.AppWithExecution(d, cfg, &capturingMailer{}, nil, x)
+ executionMust(t, err)
+ w := httptest.NewRecorder()
+ equipo.Mux(app).ServeHTTP(w, httptest.NewRequest("POST", "/api/enrolments", strings.NewReader("{")))
+ if w.Code != 422 {
+ t.Fatal("enrolment route requires always-on", w.Code)
+ }
+ executionMust(t, x.Close())
+ }
+ info, err := os.Stat(filepath.Dir(marker))
+ executionMust(t, err)
+ if info.Mode().Perm() != 0700 {
+ t.Fatal("marker directory permissions", info.Mode())
+ }
+}
diff --git a/internal/release/embedded_bundle.go b/internal/release/embedded_bundle.go
new file mode 100644
index 00000000..26ef0660
--- /dev/null
+++ b/internal/release/embedded_bundle.go
@@ -0,0 +1,19 @@
+//go:build runnerassets
+
+package release
+
+import (
+ "embed"
+ "io/fs"
+)
+
+//go:embed bundled/*
+var bundled embed.FS
+
+func embeddedInstallFiles() fs.FS {
+ files, err := fs.Sub(bundled, "bundled")
+ if err != nil {
+ panic(err)
+ }
+ return files
+}
diff --git a/internal/release/embedded_default.go b/internal/release/embedded_default.go
new file mode 100644
index 00000000..1868759d
--- /dev/null
+++ b/internal/release/embedded_default.go
@@ -0,0 +1,7 @@
+//go:build !runnerassets
+
+package release
+
+import "io/fs"
+
+func embeddedInstallFiles() fs.FS { return nil }
diff --git a/internal/release/embedded_install_test.go b/internal/release/embedded_install_test.go
new file mode 100644
index 00000000..d08f9f72
--- /dev/null
+++ b/internal/release/embedded_install_test.go
@@ -0,0 +1,168 @@
+package release
+
+import (
+ "crypto/sha256"
+ "encoding/json"
+ "fmt"
+ "io/fs"
+ "net/http/httptest"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "strings"
+ "testing"
+ "testing/fstest"
+
+ "amadan.net/oficina/equipo/internal/runner/provider"
+)
+
+func TestBootstrapPartialRelease(t *testing.T) {
+ script, err := os.ReadFile("../../packaging/install/install-v1.sh")
+ if err != nil {
+ t.Fatal(err)
+ }
+ validation := strings.Split(strings.Split(string(script), "<<'PY'\n")[1], "\nPY\n")[0]
+ for _, scenario := range []string{"partial", "no_policies", "no_certificates", "unmatched_certificate", "only_uncertified", "unreviewed", "wrong_target", "wrong_version", "bad_digest"} {
+ t.Run(scenario, func(t *testing.T) {
+ m := InstallManifest{Version: "fixture-16", Target: "linux/amd64", RunnerSHA256: strings.Repeat("a", 64), Release: BuildManifest()}
+ switch scenario {
+ case "no_policies":
+ m.Release.DirectPolicies = nil
+ case "no_certificates":
+ m.Release.Certifications = nil
+ case "unmatched_certificate":
+ for i := range m.Release.Certifications {
+ m.Release.Certifications[i].PolicyHash = strings.Repeat("0", 64)
+ }
+ case "only_uncertified":
+ for _, p := range m.Release.DirectPolicies {
+ m.Release.UncertifiedPolicies = append(m.Release.UncertifiedPolicies, UncertifiedPolicy{Provider: p.Provider, Action: p.Action})
+ }
+ case "unreviewed":
+ m.Release.LiveGateCopyReviewed = false
+ case "wrong_target":
+ m.Target = "linux/arm64"
+ case "wrong_version":
+ m.Version = "other"
+ case "bad_digest":
+ m.RunnerSHA256 = "bad"
+ }
+ raw, _ := json.Marshal(m)
+ path := filepath.Join(t.TempDir(), "manifest.json")
+ if err := os.WriteFile(path, raw, 0600); err != nil {
+ t.Fatal(err)
+ }
+ cmd := exec.Command("python3", "-c", validation, path, "fixture-16")
+ out, err := cmd.CombinedOutput()
+ if (err == nil) != (scenario == "partial") {
+ t.Fatalf("bootstrap %s: %v %s", scenario, err, out)
+ }
+ })
+ }
+}
+
+func embeddedFixture(t *testing.T) (fstest.MapFS, Manifest) {
+ t.Helper()
+ m := BuildManifest()
+ runner, proxy := []byte("fixture runner"), []byte("fixture proxy")
+ for i := range m.Binaries {
+ if m.Binaries[i].Name == "equipo-tool-proxy" {
+ m.Binaries[i].SHA256 = fmt.Sprintf("%x", sha256.Sum256(proxy))
+ }
+ }
+ manifest := InstallManifest{Version: "fixture-16", Target: "linux/amd64", RunnerSHA256: fmt.Sprintf("%x", sha256.Sum256(runner)), NamespaceArgs: provider.NamespaceArguments(), Release: m}
+ raw, err := json.Marshal(manifest)
+ if err != nil {
+ t.Fatal(err)
+ }
+ return fstest.MapFS{"install-manifest.json": {Data: raw}, "equipo-runner": {Data: runner}, "equipo-tool-proxy": {Data: proxy}, "install-v1.sh": {Data: []byte("fixture installer")}}, m
+}
+
+func TestEmbeddedInstallAssets(t *testing.T) {
+ for _, scenario := range []string{"valid", "runner_digest", "proxy_digest", "missing", "version", "manifest", "trailing", "override"} {
+ t.Run(scenario, func(t *testing.T) {
+ files, m := embeddedFixture(t)
+ a := &InstallAssets{Version: "fixture-16", Manifest: m, embedded: files}
+ switch scenario {
+ case "runner_digest":
+ files["equipo-runner"].Data = []byte("tampered")
+ case "proxy_digest":
+ files["equipo-tool-proxy"].Data = []byte("tampered")
+ case "missing":
+ delete(files, "install-v1.sh")
+ case "version":
+ a.Version = "other"
+ case "manifest":
+ a.Manifest.InstanceTarget = "other"
+ case "trailing":
+ files["install-manifest.json"].Data = append(files["install-manifest.json"].Data, []byte("{}")...)
+ case "override":
+ a.Root = t.TempDir()
+ }
+ valid := scenario == "valid"
+ if a.Available() != valid || a.CachedAvailable() != valid {
+ t.Fatal("availability", scenario)
+ }
+ for _, name := range installAssetNames {
+ w := httptest.NewRecorder()
+ a.ServeHTTP(w, httptest.NewRequest("GET", "/releases/"+a.Version+"/"+name, nil))
+ if valid {
+ if w.Code != 200 || w.Body.String() != string(files[name].Data) {
+ t.Fatal("asset", name, w.Code)
+ }
+ } else if w.Code != 503 {
+ t.Fatal("invalid bundle served", name, w.Code)
+ }
+ }
+ if valid {
+ for _, path := range []string{"/releases/other/equipo-runner", "/releases/fixture-16/../equipo-runner", "/releases/fixture-16/manifest.json"} {
+ w := httptest.NewRecorder()
+ a.ServeHTTP(w, httptest.NewRequest("GET", path, nil))
+ if w.Code != 404 {
+ t.Fatal("unexpected path served", path)
+ }
+ }
+ w := httptest.NewRecorder()
+ req := httptest.NewRequest("GET", "/releases/fixture-16/equipo-runner", nil)
+ req.Header.Set("Range", "bytes=0-6")
+ a.ServeHTTP(w, req)
+ if w.Code != 206 || w.Body.String() != "fixture" {
+ t.Fatal("range", w.Code, w.Body.String())
+ }
+ }
+ })
+ }
+}
+
+func TestBundledInstallAssets(t *testing.T) {
+ files := embeddedInstallFiles()
+ if files == nil {
+ if os.Getenv("EQUIPO_BUNDLE_VERSION") != "" {
+ t.Fatal("release bundle missing")
+ }
+ t.Skip("release build only")
+ }
+ raw, err := fs.ReadFile(files, "install-manifest.json")
+ if err != nil {
+ t.Fatal(err)
+ }
+ var m InstallManifest
+ if err = json.Unmarshal(raw, &m); err != nil {
+ t.Fatal(err)
+ }
+ if want := os.Getenv("EQUIPO_BUNDLE_VERSION"); want != "" && m.Version != want {
+ t.Fatal("bundle version", m.Version, want)
+ }
+ a := NewInstallAssets("", m.Version, BuildManifest())
+ if !a.CachedAvailable() {
+ t.Fatal("bundled release unavailable")
+ }
+ for _, name := range installAssetNames {
+ w := httptest.NewRecorder()
+ a.ServeHTTP(w, httptest.NewRequest("GET", "/releases/"+m.Version+"/"+name, nil))
+ want, e := fs.ReadFile(files, name)
+ if e != nil || w.Code != 200 || w.Body.String() != string(want) {
+ t.Fatal("bundled HTTP asset", name, w.Code, e)
+ }
+ }
+}
diff --git a/internal/release/install_assets.go b/internal/release/install_assets.go
index faae403b..d1479921 100644
--- a/internal/release/install_assets.go
+++ b/internal/release/install_assets.go
@@ -5,6 +5,7 @@ import (
"encoding/hex"
"encoding/json"
"io"
+ "io/fs"
"net/http"
"os"
"path/filepath"
@@ -20,18 +21,39 @@ type InstallAssets struct {
mu sync.Mutex
files map[string]os.FileInfo
available bool
+ embedded fs.FS
digest func(io.Reader) (string, error)
}
func NewInstallAssets(root, version string, manifest Manifest) *InstallAssets {
- a := &InstallAssets{Root: root, Version: version, Manifest: manifest}
+ a := &InstallAssets{Root: root, Version: version, Manifest: manifest, embedded: embeddedInstallFiles()}
a.Available()
return a
}
var installAssetNames = []string{"install-manifest.json", "equipo-runner", "equipo-tool-proxy", "install-v1.sh"}
-func (a *InstallAssets) open(name string) (*os.File, error) {
+type installFile interface {
+ fs.File
+ io.ReadSeeker
+}
+
+func (a *InstallAssets) open(name string) (installFile, error) {
+ if a.Root == "" {
+ if a.embedded == nil {
+ return nil, errManifest
+ }
+ f, err := a.embedded.Open(name)
+ if err != nil {
+ return nil, err
+ }
+ seekable, ok := f.(installFile)
+ if !ok {
+ f.Close()
+ return nil, errManifest
+ }
+ return seekable, nil
+ }
if !filepath.IsAbs(a.Root) || filepath.Clean(a.Root) != a.Root {
return nil, errManifest
}
@@ -59,6 +81,9 @@ func sameInstallFile(a, b os.FileInfo) bool {
return a != nil && b != nil && os.SameFile(a, b) && a.Size() == b.Size() && a.ModTime() == b.ModTime() && a.Mode() == b.Mode()
}
func (a *InstallAssets) unchanged() bool {
+ if a.Root == "" {
+ return a.files != nil
+ }
for _, name := range installAssetNames {
f, e := a.open(name)
if e != nil {
@@ -89,7 +114,7 @@ func (a *InstallAssets) Available() bool {
return a.available
}
a.available = false
- files := map[string]*os.File{}
+ files := map[string]installFile{}
infos := map[string]os.FileInfo{}
defer func() {
for _, f := range files {
@@ -159,7 +184,7 @@ func (a *InstallAssets) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer f.Close()
i, e := f.Stat()
a.mu.Lock()
- valid := e == nil && a.available && sameInstallFile(a.files[name], i)
+ valid := e == nil && a.available && (a.Root == "" || sameInstallFile(a.files[name], i))
a.mu.Unlock()
if !valid {
w.WriteHeader(http.StatusServiceUnavailable)
diff --git a/internal/release/install_script_test.go b/internal/release/install_script_test.go
index b8444fbd..849f0e6d 100644
--- a/internal/release/install_script_test.go
+++ b/internal/release/install_script_test.go
@@ -28,7 +28,7 @@ func TestOnboardingInstallShell(t *testing.T) {
echo download >> "$TMPDIR/downloads"
while [ "$1" != "-o" ]; do shift; done
case "$2" in
-*/manifest.json) printf '%s' '{"version":"fixture-16","target":"linux/amd64","runner_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","release":{"live_gate_copy_reviewed":true,"direct_policies":[{}],"certifications":[{}]}}' > "$2" ;;
+*/manifest.json) printf '%s' '{"version":"fixture-16","target":"linux/amd64","runner_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","release":{"live_gate_copy_reviewed":true,"direct_policies":[{"provider":"codex","action":"implement","policy_hash":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}],"certifications":[{"provider":"codex","policy_hash":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}]}}' > "$2" ;;
*) printf '#!/bin/sh\nexit 99\n' > "$2" ;;
esac
`)
diff --git a/packaging/install/install-v1.sh b/packaging/install/install-v1.sh
index 594abf30..4ca28186 100644
--- a/packaging/install/install-v1.sh
+++ b/packaging/install/install-v1.sh
@@ -23,7 +23,10 @@ m = json.load(open(sys.argv[1]))
r = m['release']
assert m['version'] == sys.argv[2] and m['target'] == 'linux/amd64'
assert r['live_gate_copy_reviewed'] and r['direct_policies'] and r['certifications']
-assert not r.get('uncertified_policies')
+assert any(p['provider'] == c['provider'] and p['policy_hash'] == c['policy_hash']
+ and not any(u['provider'] == p['provider'] and u['action'] == p['action']
+ for u in r.get('uncertified_policies', []))
+ for p in r['direct_policies'] for c in r['certifications'])
assert re.fullmatch('[0-9a-f]{64}', m['runner_sha256'])
print(m['runner_sha256'])
PY
diff --git a/scripts/build-instance-release.sh b/scripts/build-instance-release.sh
new file mode 100755
index 00000000..11d7c7d2
--- /dev/null
+++ b/scripts/build-instance-release.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -eu
+source=$1
+output=$2
+target_os=$3
+target_arch=$4
+version=$5
+bundle=internal/release/bundled
+# An existing directory belongs to another build. Never remove or reuse it.
+mkdir "$bundle"
+trap 'rm -rf "$bundle"' EXIT
+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
+# 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 \
+ -ldflags "-s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$version" \
+ -o "$output" ./cmd/equipo
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 66acd09b..8b85f7a7 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -9385,5 +9385,201 @@
"match": "equipo-runner",
"count": 2,
"reason": "Byte-identical hashed live-gate evidence; records provider observations and isolation restrictions, not an execution dependency."
+ },
+ {
+ "path": "docs/superpowers/plans/CODEX-BRIEF-enable-execution.md",
+ "line_sha256": "725b03626c59b5c2c35578745468eaf582e58b52099352fa2a989d7dcbfe070f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller brief for packaging and enrolling the direct runner."
+ },
+ {
+ "path": "docs/superpowers/plans/CODEX-BRIEF-enable-execution.md",
+ "line_sha256": "d8aed7d2f2bbabb9466b77ad21493d4fe00a155be0aac1f69587d152c91bb870",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller brief for packaging and enrolling the direct runner."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "f1e8b1772989bf277bbb66891651157d64cd2b14c1752953d80abd0b164d5776",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "9a21c3d1716593c9b181ac3df80821e57196e92e598715f9cc3f0acd6c711129",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "c2e78754bc69070c8d1fb062fadeeafd98242c7e1b3205feaae7a0ff12610ba0",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "89f990061721427250123559349d8d249c0777d5897c980c60ae662b88066068",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "a59aedce8c8ca1c4c38f75a479c7ca1c45eda0cde8b45a4145db67e1f4799ea5",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "f458d1c675528381853c2de9e904da9bbd483d0bcbb022b15a7f49bc67dfd5fd",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "137e299d3f2a92705a84006f416fef22d8a42d1e82dab6dcec19e4d4f1b8530c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "0e6eb59656ac69cb501f7155b5ebca3bc7ce66ba44d93934711563c0878a3251",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "73a5726b070d9414e9fdc7e47c1f13a94cc979c7137493f603938aec58dda3cc",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "bbda4738f0e41cf49f60c15ae401d08d923e355d1b278d6ffaea1f221fa52a03",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "b0fd3a759250a52890a05d207df9a3bab6e26d0e8bc21078050b440a44cca36d",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "e3bfc9d4673ecafc37651f036ff5fcee5210fc55330c0ea41024575e557526d3",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "6519e70e12e3f2d52afb52e0b1349ccefe0d40c752bd72ab43c23d97835f3257",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "f87d64e038662cfb6c2866c6600b9bae6aeac45f1309b56742d0ea0237dc38fe",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "51d69bfc5d3e9516c198b85825a961548f10ab00d70c9c9e95189a4bae335af7",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "6481d5b4370f7d25e4662af62667f9dbdb4e7dfe30408604ad60e9077e6fa583",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "3e3f969d6b750f4017aa1755e4ee85d89a53b82540325226bcd26929d969915f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "960f5d28c215bdb5cec1418d2e5aaec5917d003acdcd0404b625e3180c3efd81",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "74f302fa6d62452ec5fa0dec979b843880f08659bc24cdcf155620cbe213d609",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "5fb6b184a06c696cdf146ee0e6cf1ed3764392d2b74195043f51bd550338f396",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "docs/superpowers/plans/CONTROLLER-REPORT-enable-execution.md",
+ "line_sha256": "3689f53443f64872b822033a5de0c31ae6a5b771c043a5a9d019467f977b8a8f",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Controller commands and evidence for the direct runner installation."
+ },
+ {
+ "path": "internal/release/embedded_install_test.go",
+ "line_sha256": "604348f151973255fb5a95bbd557d548f8979ce92ede7c71c5d99446c501bf86",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Fixture asset names verify the embedded direct runner downloads."
+ },
+ {
+ "path": "internal/release/embedded_install_test.go",
+ "line_sha256": "3e81052e624d6f37dfe1bb3e29f11a4335d2515586a4c8932fed567e7007bc89",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Fixture asset names verify the embedded direct runner downloads."
+ },
+ {
+ "path": "internal/release/embedded_install_test.go",
+ "line_sha256": "7d43a13d095c9ba429d82e666602ff219bbb48f1a98b0e5f5b0305b52e4b3c1e",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Fixture asset names verify the embedded direct runner downloads."
+ },
+ {
+ "path": "internal/release/embedded_install_test.go",
+ "line_sha256": "dd061d43e4415884a2f6f8211836cc21ecd81f82b3734b188d585f956a24791c",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Fixture asset names verify the embedded direct runner downloads."
+ },
+ {
+ "path": "scripts/build-instance-release.sh",
+ "line_sha256": "e9040c1b6d39ee0d2a91f0e6c958aa099deef3523146410a9dcf113ec4958d16",
+ "match": "equipo-runner",
+ "count": 1,
+ "reason": "Copies the certified direct runner into the instance release bundle."
}
]