oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

Brief: make the deployed starter set runnable (execution on CARLOS + runner install)

Branch enable-execution from main 0cb576b, which is DEPLOYED to https://equipo.bds.oncarlos.com (CARLOS app equipo, account oficina, flagship; arm64 instance; env today: EQUIPOORIGIN, EQUIPOOWNERS, CARLOSSMTP*; secret EQUIPOINSTANCEKEY). Paul approved enabling execution and enrolling docs-t1 (2026-11-05). Gaps found:

  1. scripts/install path: packaging/install/install-v1.sh asserts not r.get('uncertified_policies'); the starter-set manifest has 15 uncertified policies, so install refuses. Partial releases must install; dispatch already refuses uncertified routes (provider_policy_uncertified). Keep every other assertion; require at least one certified direct policy.
  2. Runner assets: the installer downloads $origin/releases/<version>/{install-manifest.json,equipo-runner, equipo-tool-proxy,install-v1.sh} served by InstallAssets from EQUIPORUNNERRELEASEDIR on the instance, but a CARLOS instance only receives the app binary. Decision: make release embeds the matching runner release assets (built for linux/amd64 by release-runner) into the instance binary (go:embed or an equivalent generated package, with digests checked against the install manifest), and InstallAssets serves the embedded copy when EQUIPORUNNERRELEASEDIR is unset. make release must build release-runner first (or depend on it) so a release can't ship mismatched assets. Keep binary size sane; report it.
  3. Execution on CARLOS: EQUIPOEXECUTIONENABLED=1 also requires EQUIPOEXECUTIONMARKERPATH (absolute, not in the DB's directory; see internal/equipo/executionstartup.go). Find how a CARLOS app gets a persistent writable directory (read the platform docs at ~/amadan.net/carlos/platform, e.g. carlos help, docs/ on app data dirs, CARLOS* env the platform injects) and choose the marker path; decide whether EQUIPOALWAYS_ON is needed for runner connectivity and say why. Do NOT run carlos env set or deploy: write the exact commands in the report for the controller.
  4. Enrolment: document the exact steps to install and enrol a runner on docs-t1 as user paulca, no root, from the deployed instance (what Paul must click in the app, what one-time code if any, and the command(s)), including EQUIPOCLAUDEPATH pinning to ~/.local/share/claude/versions/2.1.312 (Claude auto-updated to 2.1.318) and reuse of the existing dedicated homes and bindings from the live gate (~/.local/share/equipo-runner/{runner.env,bindings.json}). If the installer would overwrite or conflict with those, say how to reconcile. Tests for 1-3; ONE full make -k ci (rerun at most twice); a dry make release into scratch proving embedded assets are served with correct digests. Commit subject < 80, body Co-Authored-By: Astra <noreply@openai.com>, push. CONTROLLER-REPORT-enable-execution.md with the commands. OFFLINE: no provider launches, no deploys, no env changes. Scratch removed; no copy-review server. Print a five-line summary.