# Brief: Equipo heals itself — no coordinator choice, kept-fresh logins, no setup blocks

Branch `self-heal` from main 80c15d0 (DEPLOYED, EQUIPO_ALWAYS_ON=1 now).
Paul (2026-11-06 20:10Z): "this still feels like stuff the coordinator
should just be able to self-heal on" and "why should I even have to
choose a coordinator?" Production state right now:
- After Paul tapped Set up (project `equipo` created), the next turn was
  `admission_denied` ("Your coordinator cannot start work yet. Check the
  team settings."): budget_records has a team budget but `"Projects":
  null` (no project budget), coordinator_limits exists.
- Both connections now report Available=0, UnavailableReason
  `account.sign_in_again`: the Claude logins in the dedicated homes
  expired. V1 deliberately has no refresh (see docs/live-gate.md), so
  every few hours Paul would have to sign in again on docs-t1. Not
  acceptable.

Deliver:
1. Logins stay fresh without Paul: the runner keeps each dedicated home's
   provider login valid using the OFFICIAL CLI's own refresh (for Claude
   2.1.312 and Codex 0.165.0 find the CLI-native path that refreshes
   from its refresh token without a model turn; run it in the dedicated
   home itself, never copying or parsing tokens in Equipo code; serialise
   with the existing home locks; never during a turn). Staged copies must
   not consume refresh tokens that invalidate the source: fix the lease
   so refresh only ever happens in the source home and staged copies are
   short-lived. Only a revoked/invalid refresh token makes a connection
   "sign in again", and then Equipo tells Paul once, with the exact
   command. Owner mode needs no recertification for this. Test with fake
   CLIs plus a live proof on claude-a: authorization below.
2. No coordinator choice: remove the "Coordinator connection" picker and
   Save/Reset from "Your coordinator" (keep a read-only line saying which
   connection is in use and why). Equipo picks automatically and fails
   over to any available connection of the person's own runner
   (prefer recently healthy, then least busy) on every turn.
3. Nothing blocks on setup: default budgets cover projects too (projects
   inherit the team budget when unset); any admission denial Equipo can
   resolve itself (missing default, stale binding, busy connection) it
   resolves, and the turn proceeds or waits with a live status in the
   thinking bubble ("Waiting for claude-a…"), retrying automatically when
   the blocker clears. A system note appears only when a human must act
   (revoked login, no runner), with one exact action.
4. Coordinator self-diagnosis: give the coordinator a read-only tool
   `equipo_status` (its own runner/connections/budgets/project state, no
   secrets) so it can explain or route around problems in its reply.
5. Tests + `make e2e-live` covering: project created by card then work
   admitted; expired login refreshed without human; no picker.
AUTHORISATION: live proof on the paul@tito.io claude-a home ONLY for the
refresh path and a coordinator reply via e2e-live (<= 20 turns). You may
stop/start the production runner unit (equipo-runner.service) briefly to
run the refresh proof, leaving it running at the end. Never print or copy
credential contents. New strings `// COPY REVIEW PENDING`. ONE full
`make -k ci` (rerun at most twice). Commit subject < 80, body
`Co-Authored-By: Astra <noreply@openai.com>`; commit only, the controller
pushes. CONTROLLER-REPORT-self-heal.md. Scratch removed; no copy-review
server. Print a five-line summary.
