oficina / equipo Public

Design: settle the builder check's questions

Evidence per task kind, check executor, runner-held publish credential,
coordinators as Paseo agents, prototype mapping, connections per machine.
Adds the open question of whose accounts pay for teammates' work.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev a43c296a250c300af988b7d2d4c9342af48c765f parent 510ae12
1 file changed, +84 −5
  • docs/superpowers/specs/2026-11-01-equipo-design.md +84 −5

No CI script — run details

diff --git a/docs/superpowers/specs/2026-11-01-equipo-design.md b/docs/superpowers/specs/2026-11-01-equipo-design.md
index 6dbbbf29..29d692c6 100644
--- a/docs/superpowers/specs/2026-11-01-equipo-design.md
+++ b/docs/superpowers/specs/2026-11-01-equipo-design.md
@@ -275,14 +275,86 @@ on the candidate, the repository's own checks on the exact candidate, and an
independent review on that candidate. A changed candidate invalidates checks
and review. A model's narrative or a successful exit code never counts.
-### 6.4 Records
+**Evidence by kind of task** (**call**; the prototype has only `software_fix`
+and a business reconciliation predicate, and these extend it):
+
+| Kind | Success requires |
+|---|---|
+| Bug | As above: frozen reproduction fails on base, passes on candidate; checks; independent review |
+| Feature | An acceptance test written in the scope step and frozen by hash before building, failing on base and passing on candidate; checks; independent review |
+| Copy or design only | Checks; independent review; the owning person's approval of the rendered change. No reproduction |
+| Recommendation ("what's next?") | No branch and no evidence predicate. Success is the answer delivered with its sources; the three undeletable steps do not apply because nothing is published |
+
+### 6.4 Checks are not an agent run
+
+Reproductions and checks run in the **runner's check executor**, not in a
+Paseo agent: trusted code that runs the pinned check definitions from the
+base revision against the exact candidate and records exit status, test
+counts and bounded logs (**call**, from the team service design's
+verification rules). The frozen reproduction or acceptance test is stored in
+the Equipo instance's artefact store, outside every worktree, and handed to
+the executor by hash.
+
+### 6.5 Publishing
+
+The **runner holds the Amadan agent credential**; agents never do (**call**).
+When Engineering finishes, the runner checks the candidate hash, the target
+repository and that the ref is the task's review branch, then pushes. Agents'
+worktrees have no push credential and git hooks and credential helpers are
+disabled in them. This is the team service design's broker, reduced to the
+runner.
+
+### 6.6 Where coordinators run
+
+Each person's coordinator is a **long-lived Paseo agent on an enrolled
+machine**, one per person per team, using the connection the team sets for
+coordinators (**call**; the instance holds no model credentials, so every
+model call goes through Paseo and is accounted the same way). Conversation
+turns travel instance → runner → Paseo and back. Coordinator-to-coordinator
+settlement (section 5.3) is a **structured exchange of proposals** relayed by
+the instance, each side stating its position and the preference it relies
+on, not a free dialogue (**call**).
+
+### 6.7 Records, budgets and authority
Astra's prototype (`carlos/platform` `internal/team` at `ceee7a67`, with
`internal/teamcontract`) moves into this repository and becomes Equipo's
record of jobs, steps, attempts, actions, budgets, evidence and recovery.
**Call**: copy it in with its tests and history noted in the commit, then
remove it from platform in a separate platform branch; nothing in platform
-imports it (verified 2026-11-01).
+imports it (verified 2026-11-01). Equipo is its own Go module,
+`amadan.net/oficina/equipo`. It does not import `oficina/suite` in the first
+milestone (that module does not resolve yet; doctrine revision 8) and runs
+as a lone instance.
+
+Mapping onto the prototype (**calls**):
+
+- **Authority**: the instance's own roster and project ownership implement
+ the prototype's Authority interface; there is no console.
+- **Budgets**: the prototype's account ceiling becomes the **team** ceiling;
+ each **project** has its own limits (calls, tokens, time per period) under
+ it; a task is a job, its plan's steps are steps. The account roll-up in the
+ Projects view is the sum of its projects.
+- **Plan edits**: a plan is a layer above the store. Steps not yet started
+ can be added, removed or reordered; each edit is a new plan revision
+ recorded as an event; started and finished steps are immutable. The store
+ gains append-step and cancel-unstarted-step operations under the existing
+ revision guard.
+- **Recovery quarantine**: the first milestone adds an owner-only, audited
+ **release** after reconciliation, because a single-team, owner-run instance
+ has someone to make that call. Uncertain external actions stay unknown and
+ charged. A hosted restore protocol remains later work.
+- **Hibernation**: CARLOS wakes an instance on request, and the runner's
+ renewals and reports are requests, so a running step keeps it awake. The
+ runner buffers results while the instance wakes.
+
+### 6.8 Connections live on machines
+
+A subscription connection is **an account signed in on a specific machine's
+Paseo** (**call**). The scheduler sends a step only to a machine that holds
+the connection it was assigned. If Paseo cannot run two Claude accounts on
+one machine, each Claude account lives on a different machine (docs-t1,
+tito-studio) and pinning still works; the probe in section 7 decides which.
## 7. Models and accounts
@@ -327,7 +399,10 @@ A team connects CARLOS accounts. Equipo needs, per connected account:
CARLOS does not record it, Equipo stores the binding per project (set by a
person) and the platform request is optional.
-Until (2) exists, the product view runs without CARLOS signals: Now, Next and
+Before (1) and (2) exist, "connecting a CARLOS account" in the first
+milestone means naming it and binding its apps to repositories by hand; it
+grants Equipo nothing. Until (2) exists, the product view runs without
+CARLOS signals: Now, Next and
Later still work, ranked from open issues and people's requests, and the
signal line says it is not connected. **Call**: no CLI-credential shortcut.
@@ -377,9 +452,13 @@ Copy for every user-facing string goes through copy review before it ships.
1. **Egress ruling**: several named providers, chosen per project, as an
Equipo amendment to doctrine section 8, or a different shape.
-2. **Phone landing**: conversation first, or the index with the conversation
+2. **Whose accounts pay for teammates' work**: a teammate's coordinator and
+ the tasks they start draw on the team's connections, which today are
+ Paul's subscriptions on Paul's machines. Allowed, capped per person, or
+ each person brings their own?
+3. **Phone landing**: conversation first, or the index with the conversation
as one row.
-3. **Plan approval default**: start straight away (drafted) or ask first.
+4. **Plan approval default**: start straight away (drafted) or ask first.
## 12. Left to the builder