oficina / equipo Public
Brief: drop refresh from v1, and one guided live-gate script
Worktree /home/paulca/amadan.net/oficina/equipo-try-equipo, branch try-equipo, from main (plans 2b and 3 merged; copy accepted for now). Read AGENTS.md, docs/live-gate.md, scripts/live-gate.sh, scripts/runner-release-check.py, the certification code under internal/directlive and internal/runner/certified, and equipo discussion 5 (amadan discuss show oficina/equipo 5).
Paul's rulings (2026-11-04; fixed)
- No token refresh in v1. Certification and release must not require a certified refresh. The manifest records "no refresh" explicitly (for example
certified_refresh: nullwith a reason), the release check and verifier accept that, and egress allows no auth refresh host. When a dedicated home's token expires, the connection goes to account maintenance with a visible "sign in again" state; a step never silently fails or retries on another account. Remove the refresh exercise from the live driver; keep everything else. - One guided script,
scripts/try-equipo.sh, that Paul runs as himself on docs-t1 (no sudo, no root) to complete the whole live gate: - check prerequisites (pinned Claude 2.1.312, Codex 0.165.0,codex-code-mode-host, bubblewrap 0.11.0, unprivileged user namespaces, Go) and print exactly what is missing; - create dedicated homes under~/.local/share/equipo/accounts/(two Claude homes for the account-change case, one Codex home), mode 0700, refusing any existing interactive or ZeroSub home; - run each provider's official sign-in scoped to its home, then show the observed account and ask Paul to confirm it (trust on first use); - writeequipo-identity.json,bindings.jsonandrunner.envitself (mode 0600) with absolute paths it detects, asking only for what it cannot detect (the instance ishttps://equipo.bds.oncarlos.com); - create the disposable repo and sentinels itself; - ask for the calibration limits with sensible defaults shown; - run the certification (the existing live driver), including the account-change case across the two Claude homes and recording the Codex 0.165.0 tool inventory, then sentinel-denial for each surface; - on success, write the manifest candidate and print the one command the controller runs to release; on failure, print what failed and leave nothing half-configured that a re-run cannot resume. It must be safe to re-run and resumable. It never prints or stores credential contents, sign-in links or tokens. - Update
docs/live-gate.mdto describe runningscripts/try-equipo.sh(short and plain, no em dashes), and remove the "do not run until the controller closes these gaps" warning once items 2 and 3 are wired.
Tests
The script's logic should live in Go (a equipo-runner try subcommand or a small cmd/), with the shell script a thin wrapper, so it is testable: fake CLIs for sign-in and status, a refused interactive home, resume after an interrupted run, identity mismatch refusal, the no-refresh manifest accepted by the release check, and an expired-token connection showing "sign in again". Keep existing certification tests green.
Rules
Targeted tests, then make ci once in the background to completion (network allowed; never GOPROXY=off; poll the log until exit; it must pass). Commit with --author "codex <codex~paul@keymail.dev>", subjects under 80 characters, push try-equipo. Do not run real sign-ins, provider sessions or enrolment. No Anthropic-model reviewers or other agents, no .claude/HANDOFF.md, no copy-review server (list new strings). Scratch under $TMPDIR, removed; Go caches at defaults; tests must not require TMPDIR to be set. Print a five-line summary.