oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Brief: make the deployed starter set runnable (execution on CARLOS + runner install)
2
3Branch `enable-execution` from main 0cb576b, which is DEPLOYED to
4https://equipo.bds.oncarlos.com (CARLOS app `equipo`, account `oficina`,
5flagship; arm64 instance; env today: EQUIPO_ORIGIN, EQUIPO_OWNERS,
6CARLOS_SMTP_*; secret EQUIPO_INSTANCE_KEY). Paul approved enabling
7execution and enrolling docs-t1 (2026-11-05). Gaps found:
8
91. scripts/install path: packaging/install/install-v1.sh asserts
10 `not r.get('uncertified_policies')`; the starter-set manifest has 15
11 uncertified policies, so install refuses. Partial releases must
12 install; dispatch already refuses uncertified routes
13 (`provider_policy_uncertified`). Keep every other assertion; require
14 at least one certified direct policy.
152. Runner assets: the installer downloads
16 `$origin/releases/<version>/{install-manifest.json,equipo-runner,
17 equipo-tool-proxy,install-v1.sh}` served by InstallAssets from
18 EQUIPO_RUNNER_RELEASE_DIR on the instance, but a CARLOS instance only
19 receives the app binary. Decision: `make release` embeds the matching
20 runner release assets (built for linux/amd64 by release-runner) into
21 the instance binary (go:embed or an equivalent generated package,
22 with digests checked against the install manifest), and InstallAssets
23 serves the embedded copy when EQUIPO_RUNNER_RELEASE_DIR is unset.
24 `make release` must build release-runner first (or depend on it) so
25 a release can't ship mismatched assets. Keep binary size sane;
26 report it.
273. Execution on CARLOS: EQUIPO_EXECUTION_ENABLED=1 also requires
28 EQUIPO_EXECUTION_MARKER_PATH (absolute, not in the DB's directory;
29 see internal/equipo/execution_startup.go). Find how a CARLOS app gets
30 a persistent writable directory (read the platform docs at
31 ~/amadan.net/carlos/platform, e.g. `carlos help`, docs/ on app data
32 dirs, CARLOS_* env the platform injects) and choose the marker path;
33 decide whether EQUIPO_ALWAYS_ON is needed for runner connectivity and
34 say why. Do NOT run `carlos env set` or deploy: write the exact
35 commands in the report for the controller.
364. Enrolment: document the exact steps to install and enrol a runner on
37 docs-t1 as user paulca, no root, from the deployed instance (what
38 Paul must click in the app, what one-time code if any, and the
39 command(s)), including EQUIPO_CLAUDE_PATH pinning to
40 ~/.local/share/claude/versions/2.1.312 (Claude auto-updated to
41 2.1.318) and reuse of the existing dedicated homes and bindings from
42 the live gate (~/.local/share/equipo-runner/{runner.env,bindings.json}).
43 If the installer would overwrite or conflict with those, say how to
44 reconcile.
45Tests for 1-3; ONE full `make -k ci` (rerun at most twice); a dry
46`make release` into scratch proving embedded assets are served with
47correct digests. Commit subject < 80, body
48`Co-Authored-By: Astra <noreply@openai.com>`, push.
49CONTROLLER-REPORT-enable-execution.md with the commands. OFFLINE: no
50provider launches, no deploys, no env changes. Scratch removed; no
51copy-review server. Print a five-line summary.
52