oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Equipo: a coordinator and AI specialists for running your own apps
2
3Status: design, revision 3, 2026-11-03. Revision 3 (section 13) records
4Paul's decisions of 2026-11-02 and 2026-11-03 and supersedes the parts of
5sections 4, 6, 7 and 9 it names. Drafted by Claude (Opus 5.5) from a
6brainstorm with Paul the same day. Every decision marked **Paul** was his in
7that conversation; everything marked **call** is the drafter's and is open to
8correction. Mockups from the brainstorm are in [`docs/mockups/`](../../mockups/).
9
10Supersedes, as a product, the platform-embedded team service in
11`carlos/platform` (`docs/superpowers/specs/2026-11-01-team-service-design.md`,
12feature discussion 508). That design's execution contracts (leases, fences,
13budgets, evidence, recovery) still hold and its merged prototype
14(`internal/team`, platform `ceee7a67`) is reused here. What changes is where
15the product lives, who it is for and what it looks like.
16
17## 1. Why
18
19Paul runs several apps on CARLOS (oficina, comercio, rastrillo and others) and
20already does most of his engineering through AI agents driven by hand: one
21session per task, Paseo to manage them, Amadan branches to land the work,
22copy review and second-model review as habits. Equipo turns that habit into a
23product: one conversation that takes a request ("fix this", "add that", "what
24should I work on next?"), plans it, hands it to specialists, and comes back
25with reviewed, verified work for a person to merge.
26
27The first milestone is **Paul trying it on his own apps** (Paul).
28
29## 2. What it is
30
31- **A separate product, not part of the CARLOS console** (Paul). The UI has its
32 own navigation, projects and model accounts; it uses CARLOS as a supplier.
33- **An Oficina app** (Paul), repository `amadan.net/oficina/equipo`. It follows
34 the suite's sharing doctrine (`oficina/suite`,
35 `docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md`): the team is
36 the boundary, one instance per team.
37- **Named Equipo** (Paul): Spanish for team, and for kit.
38- **For Paul and his teammates first** (Paul). Offering it to other CARLOS
39 customers is not a goal of this design.
40- **Multiplayer from day one** (Paul). Everyone on the team shares projects
41 and work; each person has their own coordinator.
42
43### Goals
44
451. A person asks for a bug fix, a feature or a recommendation in plain words
46 and gets back either an answer or a reviewed, verified Amadan branch.
472. Everyone on the team can see, at a glance, what each specialist is doing,
48 how far along each task is, and what is waiting on them.
493. A product view per project ranks what to do next, with reasons drawn from
50 the app's own errors and analytics in CARLOS.
514. People choose which model accounts each project may use; the coordinator
52 picks the best fit per step within that and says why.
53
54### Non-goals
55
56- Automatic merge or deploy. A person merges (Paul, carried from the team
57 service design).
58- Production infrastructure changes, customer messages, money movement.
59- A general agent runtime. Paseo runs the agents (Paul).
60- Native Mac and iOS apps in the first milestone (**call**: Paul pictured both;
61 they follow once the web app has been tried. The web UI is responsive and
62 its phone layout is the model for the iOS app).
63- Other CARLOS customers, billing, plans.
64
65### Anti-goals (would make it a failure even if it works)
66
67- Specialists with personalities, names or staged dialogue. They are
68 categories with icons (Paul rejected both mineral names and initials).
69- "Done" meaning "a model said so". Success needs evidence (section 6).
70- Working around CARLOS or Amadan. A missing capability is a request to that
71 product, never a direct database, shell or AWS path.
72- A coordinator quietly committing a person to something big (section 5.3).
73
74## 3. Who and what
75
76### 3.1 People and coordinators
77
78Each person on the team has **their own coordinator** (Paul calls it the
79person's "delegate mirror"): the main chat they talk to. It learns that
80person's preferences ("no em dashes", "reproduce before fixing") and plans
81their requests that way.
82
83Preferences are inspectable and correctable on a preferences page, each with
84its source (the message it came from) and a status: **confirmed** (the person
85said so or accepted it) or **inferred** (the coordinator noticed a pattern).
86Inferred preferences never decide anything on their own (section 5.3), and no
87preference ever grants authority.
88
89Team-wide rules (house style, which models a project may use, budgets) are
90separate from personal preferences and are set by a team owner.
91
92### 3.2 Specialists
93
94Equipo ships with five default specialists (Paul): **Product, Design, Copy,
95Engineering, Review**. Each is a category, shown as an icon plus its name,
96never initials.
97
98Per team, each specialist has: its model selection (section 7), how many tasks
99it runs at once, and standing instructions. Custom specialists (Ops, Data)
100are later work (**call**).
101
102**Review is constrained**: it must use a different model family from whoever
103built the change (carried from the team service design).
104
105### 3.3 Projects
106
107A project is one thing to work on, with a **kind**: an **app**, a **website**,
108or a bare **repository** (the platform itself is a repo, not a CARLOS app).
109There is **one Projects list**, each card showing its kind, rather than
110separate sections for apps and websites (Paul). Projects are grouped by **CARLOS account**
111(Paul): a team connects one or more CARLOS accounts, and each account's
112projects sit under it with a roll-up (projects, what needs people, budget
113used).
114
115A project binds: a repository on Amadan, optionally a CARLOS app, which
116accounts may build it, and which people own decisions in it (who merges, who
117owns copy, and so on).
118
119### 3.4 Tasks and plans
120
121Every request becomes a task with a **plan**: an ordered list of steps, each
122held by one specialist, ending with a person.
123
124- **The coordinator proposes the plan; people can edit it** (Paul's question,
125 drafter's answer accepted): add, remove or reorder steps.
126- **Three steps cannot be removed**: independent review, checks, and a person
127 at the end. A plan without them cannot reach success (section 6).
128- An investigation plans only as far as it can see ("Find the cause, then you
129 decide"); later steps are planned when the cause is known.
130- **Whether a plan waits for approval is configurable** (Paul): per project,
131 with a per-person override. Default: start straight away and let people
132 redirect (**call**).
133
134Typical plans (illustrative, not fixed):
135
136| Request | Steps |
137|---|---|
138| Bug | Engineering: reproduce, write the fix. Review: review, checks. Person: merge |
139| Feature | Product: scope. Copy and Design where needed. Engineering: build. Review: review, checks. Person: merge |
140| What's next? | Product: rank, with reasons. Person: decide. No branch |
141
142## 4. What people see
143
144Mockups: [`docs/mockups/`](../../mockups/). They are brainstorm sketches; the
145copy in them is not approved and the layout is the point.
146
147### 4.1 Navigation
148
149**Hierarchical, the way the CARLOS console and Fiesta do it** (Paul):
150
151- **Desktop:** a rail. The team at the top (switchable), then Conversation,
152 Needs you, Journey, Projects, the specialists, Connections, Preferences.
153 The rail shows counts ("Engineering · 1 · 1 queued", "Copy · 1 waiting").
154 See `nav.html`.
155- **Phone:** drill-down index screens with a back link to the parent
156 (Work → Engineering → one task), as the console's mobile navigation does.
157- No split screen (Paul: "I don't think I want to split-screen").
158- It should feel like **mostly talking to one thing** (Paul).
159- **What the phone opens on is a personal setting** (Paul): the conversation
160 or the Work index. Default: the conversation (**call**, from "mostly
161 talking to one thing").
162
163### 4.2 Conversation
164
165One running conversation with the person's own coordinator. Tasks appear in it
166as live cards. When a task is handed to a specialist, a short line says so
167("Fix VAT rate on invoice PDF is with engineering"). Questions that need the
168person show as cards with an answer action.
169
170### 4.3 Specialist pages
171
172Per specialist: a stat band (working now, queued, finished this week, tokens
173this week), then cards for Working now, Queued, Finished this week and
174Settings. Each task row shows its **progress as its real steps** inside that
175specialist (Paul asked for progress; **call**: steps, never a percentage,
176because an agent cannot estimate a percentage honestly). See `nav.html` and
177`workload.html`.
178
179### 4.4 Journey
180
181Every task with **its planned steps listed beside it, not in a table** (Paul).
182Each step is a two-line chip: **the specialist's category above what it is
183doing** (Paul), plus a third line with the model and account once one is
184picked. Done, in progress, waiting on a person and still to come are
185distinguishable by more than colour. Tasks are grouped: needs you, in
186progress, queued, done this week. See `journey.html`.
187
188### 4.5 Projects
189
190Overview grouped by CARLOS account (Paul); each project card shows what needs
191people, what is in progress, what is next, and one signal line ("Errors 7d: 41
192↑ 29 · checkout timeouts").
193
194A project's **product view** (Paul: "from a product manager perspective"):
195
196- a stat band from CARLOS (errors, a key latency, shipped this week, agent time
197 and tokens this week);
198- **Now** (in flight), **Next** (Product's ranked list, each item with its
199 reason and a Start action), **Later** (parked), **Shipped recently**;
200- **Product's note**: a short plain-words summary of what to do and why, with
201 when it was written and from what.
202
203See `projects.html`.
204
205### 4.6 Connections and model choice
206
207See section 7 and `models.html`.
208
209## 5. Multiplayer
210
211### 5.1 The team
212
213An Equipo instance belongs to one team. Its members are the team's roster.
214Following the doctrine's **lone instance** shape (ruling 5), the first instance
215is its own identity authority: keymail sign-in and an owners/members list,
216as memoria runs today (**call**; moving to the suite home's roster is the
217doctrine's suite shape and comes when the home serves it).
218
219### 5.2 Routing work to people
220
221Each project names who owns which decisions. When a task needs a person, the
222coordinator of the person who asked routes the question to the owner: it
223lands in the owner's Needs you and in their conversation, with the task
224attached.
225
226### 5.3 Coordinators talking to each other
227
228**Coordinators may settle things between themselves, and people step in when
229they deadlock** (Paul). The guardrails are the drafter's proposal, accepted
230in the conversation without objection; listed here so they can be corrected:
231
232- A coordinator may settle a question for its person only from that person's
233 **confirmed** preferences or the team's rules. Wording, priority order and
234 plan details are the expected cases.
235- An **inferred** preference never settles anything; the coordinator asks its
236 person.
237- Every settlement shows in both people's conversations and either person can
238 overturn it.
239- **Deadlock** (no agreement after two exchanges, or confirmed preferences
240 that conflict) goes to both people with each side's position summarised.
241- Always a person: merging; spending beyond a project's budget; anything inside
242 a project the other person owns.
243
244Attribution follows doctrine ruling 9 ("a write names its real actor; no
245sibling ever acts as a person"): a settlement is recorded as made **by the
246coordinator, citing the preference it relied on**, never as the person.
247
248## 6. Doing the work
249
250### 6.1 Engine: Paseo
251
252*Superseded by section 13.1 (revision 3): Equipo no longer uses Paseo.*
253
254**Paseo runs the agents** (Paul). Each step of a plan becomes a Paseo agent run
255on one of the team's machines (docs-t1 or tito-studio to start), in an
256isolated worktree of the project's repository, with the provider, model and
257settings the step was assigned. Paseo already supports Claude Code and Codex,
258worktrees, cross-host agents and completion notifications.
259
260**Call**: the Equipo instance runs on CARLOS; it does not reach Paseo
261directly. A small **runner** on each enrolled machine dials out to the
262instance, claims steps (the prototype's fenced claim), drives the local Paseo
263daemon, and reports events, usage and artefacts back. Paseo's control socket
264is never exposed. The runner protocol is the team service design's (claim,
265renew, stop, status, fence on every request).
266
267Specialists that only read (Product ranking, Review) still run through Paseo
268so every model call is accounted the same way.
269
270### 6.2 Results land on Amadan
271
272Engineering publishes to a review branch on the project's Amadan repository
273through a disclosed agent account (`<name>~<operator keymail>`, badged), never
274a person's credential. Equipo never merges and never pushes the default
275branch. The person merges through Amadan's gate.
276
277### 6.3 Evidence
278
279Carried unchanged from the team service design (its "Records and invariants"
280section): success requires a reproduction that fails on the base and passes
281on the candidate, the repository's own checks on the exact candidate, and an
282independent review on that candidate. A changed candidate invalidates checks
283and review. A model's narrative or a successful exit code never counts.
284
285**Evidence by kind of task** (**call**; the prototype has only `software_fix`
286and a business reconciliation predicate, and these extend it):
287
288| Kind | Success requires |
289|---|---|
290| Bug | As above: frozen reproduction fails on base, passes on candidate; checks; independent review |
291| 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 |
292| Copy or design only | Checks; independent review; the owning person's approval of the rendered change. No reproduction |
293| 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 |
294
295### 6.4 Checks are not an agent run
296
297Reproductions and checks run in the **runner's check executor**, not in a
298Paseo agent: trusted code that runs the pinned check definitions from the
299base revision against the exact candidate and records exit status, test
300counts and bounded logs (**call**, from the team service design's
301verification rules). The frozen reproduction or acceptance test is stored in
302the Equipo instance's artefact store, outside every worktree, and handed to
303the executor by hash.
304
305### 6.5 Publishing
306
307The **runner holds the Amadan agent credential**; agents never do (**call**).
308When Engineering finishes, the runner checks the candidate hash, the target
309repository and that the ref is the task's review branch, then pushes. Agents'
310worktrees have no push credential and git hooks and credential helpers are
311disabled in them. This is the team service design's broker, reduced to the
312runner.
313
314### 6.6 Where coordinators run
315
316*Superseded by section 13.1 (revision 3): Equipo no longer uses Paseo.*
317
318Each person's coordinator is a **long-lived Paseo agent on a machine that
319person enrolled**, one per person per team, using that person's own
320connection (Paul ruled connections per person; the placement is a **call**; the instance holds no model credentials, so every
321model call goes through Paseo and is accounted the same way). Conversation
322turns travel instance → runner → Paseo and back. Coordinator-to-coordinator
323settlement (section 5.3) is a **structured exchange of proposals** relayed by
324the instance, each side stating its position and the preference it relies
325on, not a free dialogue (**call**).
326
327### 6.7 Records, budgets and authority
328
329Astra's prototype (`carlos/platform` `internal/team` at `ceee7a67`, with
330`internal/teamcontract`) moves into this repository and becomes Equipo's
331record of jobs, steps, attempts, actions, budgets, evidence and recovery.
332**Call**: copy it in with its tests and history noted in the commit, then
333remove it from platform in a separate platform branch; nothing in platform
334imports it (verified 2026-11-01). Equipo is its own Go module,
335`amadan.net/oficina/equipo`. It does not import `oficina/suite` in the first
336milestone (that module does not resolve yet; doctrine revision 8) and runs
337as a lone instance.
338
339Mapping onto the prototype (**calls**):
340
341- **Authority**: the instance's own roster and project ownership implement
342 the prototype's Authority interface; there is no console.
343- **Budgets**: the prototype's account ceiling becomes the **team** ceiling;
344 each **project** has its own limits (calls, tokens, time per period) under
345 it; a task is a job, its plan's steps are steps. The account roll-up in the
346 Projects view is the sum of its projects.
347- **Plan edits**: a plan is a layer above the store. Steps not yet started
348 can be added, removed or reordered; each edit is a new plan revision
349 recorded as an event; started and finished steps are immutable. The store
350 gains append-step and cancel-unstarted-step operations under the existing
351 revision guard.
352- **Recovery quarantine**: the first milestone adds an owner-only, audited
353 **release** after reconciliation, because a single-team, owner-run instance
354 has someone to make that call. Uncertain external actions stay unknown and
355 charged. A hosted restore protocol remains later work.
356- **Hibernation**: CARLOS wakes an instance on request, and the runner's
357 renewals and reports are requests, so a running step keeps it awake. The
358 runner buffers results while the instance wakes.
359
360### 6.8 Connections live on machines
361
362*Superseded by section 13.1 (revision 3): Equipo no longer uses Paseo.*
363
364A subscription connection is **an account signed in on a specific machine's
365Paseo** (**call**). Each person enrolls the machine(s) their own accounts are
366signed in on, with a runner. The scheduler sends a step only to a machine that
367holds the connection it was assigned, which is always a connection of the
368person whose task it is.
369
370**Subscriptions are first-class connections** (Paul): a Claude or ChatGPT
371subscription is used through the provider's own unmodified CLI (Claude Code,
372Codex), signed in by the person on their own machine, driven by Paseo.
373Equipo never sees, stores or relays the login; it only knows the connection
374exists on that machine. Metered API keys are an alternative connection type,
375not a requirement. A subscription harness cannot enforce a token or currency
376ceiling, so its usage is recorded and shown, and Equipo's own limits (calls,
377time, attempts) still apply. If Paseo cannot run two Claude accounts on
378one machine, each Claude account lives on a different machine (docs-t1,
379tito-studio) and pinning still works; the probe in section 7 decides which.
380
381### 6.9 How the runner drives Paseo
382
383*Superseded by section 13.1 (revision 3): Equipo no longer uses Paseo.*
384
385Each enrolled machine runs **`equipo-runner`** (**call**: a small Go binary,
386a user service under systemd or launchd, no root, no inbound ports).
387
3881. **Enrol.** The person runs `equipo-runner enrol`, approves it in the
389 browser (a device-code sign-in to their Equipo instance) and gets a runner
390 credential bound to them and that machine. The runner asks the local Paseo
391 which providers and profiles are signed in and reports them as that
392 person's connections on that machine.
3932. **Wait for work.** The runner holds an outbound HTTPS connection to the
394 instance and long-polls for steps assigned to a connection on this
395 machine. It sees only its own person's steps.
3963. **Claim and brief.** It claims a step (fenced, as in the prototype) and
397 receives the brief: repository, base commit, review branch, the step's
398 instructions, the specialist's standing instructions, the person's
399 relevant confirmed preferences, provider, model, settings and limits.
4004. **Workspace.** It keeps one clone per project, fetched from Amadan with
401 its agent credential, registers it as a Paseo project, and creates a
402 Paseo worktree workspace on the review branch from the base commit.
4035. **Run.** It starts a Paseo agent in that workspace (`paseo run --json`
404 with the provider, model and mode, the brief as the prompt) and follows
405 its timeline (`paseo logs`, `inspect`, `wait`), turning it into Equipo
406 events: progress, usage, questions.
4076. **Questions.** When the agent asks something or needs a permission, the
408 runner relays it to the instance (to the coordinator, then to a person if
409 needed) and sends the answer back with `paseo send`.
4107. **Finish.** It records the resulting commit, hands reproductions and
411 checks to the check executor (section 6.4), uploads artefacts and, for a
412 publish step, pushes the review branch (section 6.5). Then it archives
413 the agent and workspace.
4148. **Cancel.** `paseo stop`, then archive, then report the stop as
415 acknowledged.
416
417Coordinators (section 6.6) are long-lived Paseo agents driven the same way
418through `paseo send`. They act through a small **Equipo tool server** that the
419runner provides to the agent (propose a plan, ask a person, read a project,
420settle a proposal), so their decisions arrive as structured calls, not parsed
421prose.
422
423**Probe before building** (**call**): verify on docs-t1 that Paseo's CLI or
424daemon API gives the runner (a) machine-readable timeline and usage per
425agent, (b) agent questions and permission requests as events it can answer,
426(c) MCP or tool-server configuration per agent, and (d) two Claude accounts
427side by side (Paseo already keeps separate provider homes per daemon home,
428which suggests yes). Gaps are requests to Paseo. An alternative worth
429weighing in the probe is shipping the runner as a Paseo plugin rather than
430a separate process.
431
432## 7. Models and accounts
433
434Paul: assign a particular Claude account to a particular project, and also
435let the coordinator choose the most appropriate account, service and model per
436task and step.
437
438- **Connections belong to people, not the team** (Paul: "each account should
439 connect to their own provider"). Each person connects their own model
440 accounts. A person's coordinator, and the steps of tasks they start, use
441 that person's connections; nobody's work draws on someone else's
442 subscription. Each connection shows what is left. Subscriptions (Claude on paul@tito.io, Claude on keymail, Codex) show
443 their allowance; metered API keys show spend against a hard cap.
444- **Per project**: a team owner sets which providers and model families the
445 project allows. Each person ticks which of their own connections they use
446 for it and may pin one ("comercio uses paul@tito.io for Claude work").
447- **How the coordinator picks**, per project: best fit for each step
448 (default), always the pinned account, or ask each time.
449- **Shown everywhere**: the plan shows each step's pick and the reason ("Long
450 code task; Codex has the most headroom this week"); every finished step
451 records what actually ran.
452
453Rules regardless of setting: never outside the project's ticked connections;
454never switch account mid-step without telling the person; Review always a
455different family from the builder.
456
457**Dependencies to verify, not work around:**
458
459- Can Paseo run two Claude accounts side by side on one machine? If not, that
460 is a request to Paseo.
461- Is there a supported way to read a subscription's remaining weekly
462 allowance? If not, the bars show usage Equipo counted itself, labelled as
463 such.
464
465## 8. CARLOS as a supplier
466
467A team connects CARLOS accounts. Equipo needs, per connected account:
468
4691. **Sign-in or connection consent** by a person who is a member of that
470 CARLOS account.
4712. **A read-only, scoped credential** for app errors, analytics and app
472 metadata. The team service design found that today's `instance` and
473 `operate` roles also allow mutations; a read-only role is a platform
474 feature to request (carlos/platform), not something to approximate.
4753. **App-to-repository link**: which repository an app is built from. If
476 CARLOS does not record it, Equipo stores the binding per project (set by a
477 person) and the platform request is optional.
478
479Before (1) and (2) exist, "connecting a CARLOS account" in the first
480milestone means naming it and binding its apps to repositories by hand; it
481grants Equipo nothing. Until (2) exists, the product view runs without
482CARLOS signals: Now, Next and
483Later still work, ranked from open issues and people's requests, and the
484signal line says it is not connected. **Call**: no CLI-credential shortcut.
485
486## 9. Gates for the first milestone
487
488The team service design gated live use on metered API keys with hard caps and
489on bubblewrap-confined workers. For Paul's own repos on his own machines, the
490first milestone relaxes both (drafter's proposal in the conversation; Paul
491chose Paseo, which implies it, but did not rule on the gates explicitly):
492
493- Subscription logins through Paseo are allowed. Usage is recorded and shown;
494 it is not enforced as a currency cap.
495- Workers run in Paseo's worktrees under the harnesses' own sandboxes, not
496 bubblewrap.
497
498Both gates return before anyone outside Paul's team uses it.
499
500Kept in the first milestone: no merge or deploy; agent accounts on Amadan;
501evidence before success; budgets and limits per project (calls, tokens, time)
502enforced by Equipo even when cost is not; cancel stops the Paseo agent and
503records it.
504
505**Doctrine egress (section 8 of the doctrine).** Sending conversation and code
506to model providers is egress, and **Equipo needs it** (Paul: "Equipo
507obviously needs to send stuff out to providers"). The doctrine admits egress
508only per-team opt-in to one named recipient chosen by the app. Equipo's
509amendment, to record in `oficina/suite` Appendix A:
510
511- Egress to model providers is the product's purpose, so Equipo has no
512 egress-off floor; a team without connections can still track work by hand.
513- The app names the providers it supports (Anthropic and OpenAI in the first
514 milestone). A **person** chooses among them by connecting their own
515 accounts; a team owner can restrict which a project allows.
516- Disclosure: the README's first paragraph names the providers, and every
517 step records the provider, model and account that ran it.
518
519## 10. First milestone: Paul tries it
520
521Equipo deploys under the **`oficina` CARLOS account** on the flagship
522console (Paul: `https://console.carloku.com/a/oficina`).
523
524Done when Paul, and one teammate, can:
525
5261. Sign in to the team's Equipo instance on CARLOS.
5272. Connect a CARLOS account and add two projects (say oficina and comercio).
5283. Each connect at least one of their own model accounts (Paul a Claude and
529 a Codex account) and set per-project picks.
5304. Ask "fix this bug" and watch it travel Engineering → Review → him, ending
531 in an Amadan branch with evidence attached; merge it himself.
5325. Ask "what's next?" for a project and get a ranked answer with reasons.
5336. See the rail, a specialist page, Journey and the product view live.
5347. Route a question to the teammate and see coordinators settle a wording
535 question from confirmed preferences, or escalate on deadlock.
5368. Cancel a running task and see it stop.
537
538Copy for every user-facing string goes through copy review before it ships.
539
540## 11. Open, for Paul
541
542None at revision 2. Resolved by Paul on 2026-11-01: egress is needed
543(section 9); each person connects their own providers (section 7); the
544phone's landing screen and plan approval are configurable (sections 4.1 and
5453.4). The doctrine amendment in section 9 still has to be written into
546`oficina/suite`.
547
548## 12. Left to the builder
549
550Visual detail within Fiesta and estilo; data schemas beyond the prototype's;
551the runner's packaging; the shape of the product ranking prompt; exact
552deadlock thresholds; how settled preferences are learned and surfaced, within
553section 3.1's rules.
554
555
556## 13. Revision 3 decisions (2026-11-03)
557
558### 13.1 Direct launch replaces Paseo (Paul)
559
560Paseo is built for a person watching agents, not as an auditable launcher,
561and every live-gate blocker came from that layer. The runner launches the
562providers' own unmodified CLIs directly: Claude Code headless
563(`claude -p --output-format stream-json`) and Codex through its app-server.
564Each attempt runs inside a bubblewrap PID namespace owned by the runner, so
565ending the namespace proves every process has stopped. Isolation is by
566construction: exact settings per run, user configuration ignored, tools
567pinned per specialist, Claude's sandbox and Codex's deny profile both
568working inside the namespace. The runner keeps its own durable event
569journal; a mid-turn crash leaves the step waiting for a person and never
570redispatches. Evidence: `2026-11-03-direct-cli-probe.md` and
571`2026-11-03-bwrap-nesting.md`. Plan: `2026-11-03-equipo-plan-2b-direct.md`.
572
573Consequences: supervised trial mode, the dedicated runner OS user and the
574unconfined-Codex acknowledgement are no longer needed (Codex is confined by
575its deny profile).
576
577### 13.2 Dedicated Equipo credential homes (controller ruling, plan 2b)
578
579Each model account is signed in once, by its person, into an Equipo-only
580credential home at enrolment. Equipo never uses everyday interactive logins,
581because a token refresh inside Equipo would sign out the person's own
582sessions. A new credential generation with the same identity triggers a
583fresh preflight; a different identity stops the step.
584
585### 13.3 Navigation: Teams at the top (Paul)
586
587The hierarchy is Teams, then a team, then its pages. On iPhone the back
588button leads up this hierarchy; there is no team dropdown. Teams lists every
589team the person belongs to (each its own Equipo instance) and what needs
590them across all of them. The Mac sidebar starts with a Teams section. The
591web app follows the same structure.
592
593### 13.4 No project picker (Paul)
594
595The box people type into has no project picker. The coordinator works out
596the project from the message and the recent conversation; the task card
597shows the project it chose and a tap corrects it. When it is genuinely
598unclear, the coordinator asks with a one-tap question.
599
600### 13.5 One conversation, threads per task
601
602There is one main conversation per person; nobody creates or manages
603threads. Every task has its own thread automatically, reached from the task
604(the message icon on iPhone, "About this task" beside the steps on the
605Mac). A reply about a task in the main conversation is routed to that
606task's thread, with a short line in the main conversation saying so.
607
608### 13.6 Custom specialists (Paul)
609
610People create their own specialists beyond the five defaults: name, icon,
611standing instructions, allowed models, tools and the projects they apply
612to. The coordinator may suggest a new specialist when it sees a recurring
613need; it never creates one.
614
615### 13.7 Playbooks (Paul)
616
617A playbook is a saved line-up of specialists for a kind of work (for
618example "Website change": Copy, Design, Engineering, Review, then a person).
619People create and edit playbooks and can make one the default for a
620project or a kind of request. The coordinator picks a playbook per request,
621adapts it to the task and shows which it used; it may propose a new
622playbook when it keeps building the same plan, which a person saves or not.
623Every playbook keeps independent review, checks and a person at the end.
624"Team" keeps meaning a group of people; groups of specialists are
625playbooks.
626
627### 13.8 Native apps
628
629Equipo gets native iPhone and Mac apps in each platform's idiom (mockups in
630`docs/mockups/native.html`): the iPhone opens on the conversation with the
631team one step back, questions arrive as notifications answerable from the
632lock screen, and the Mac uses a sidebar, the conversation and the selected
633task side by side, plus a menu bar item for what needs the person. Building
634them follows plan 3, which provides the API, the conversation and push
635notifications they need. Interface rules: values and badges never wrap;
636secondary text truncates; no coloured left-border accents.
637
638### 13.9 Specialist and playbook templates (Paul)
639
640Equipo ships the five default specialists and a library of templates
641grouped by purpose (Quality: QA and testing, Accessibility, Performance;
642Safety: Security, Privacy; Running things: Ops, Data, Support; Words and
643reach: Docs, Localisation, SEO) plus a blank one. Adding a template gives
644the team its own copy to edit; a later improvement to a template is offered
645as a suggestion showing what changed, never applied silently. Engineering
646and Review cannot be removed. Playbooks work the same way, starting from
647shipped templates (Bug, Website change, Infra change, Investigation).
648
649### 13.10 Where work runs (Paul: both hosted and own machine)
650
651Three kinds of runner, usable side by side:
6521. **Your own machine** (Mac or Linux), enrolled with one command and a
653 pairing code, no sudo; on a Mac the app can enrol it. Works with a
654 person's Claude or ChatGPT plan.
6552. **Hosted by Equipo on CARLOS**, using CARLOS isolated exec (#126) for the
656 same containment; platform gaps are requests to carlos/platform. Uses a
657 metered **API key**: Equipo never holds a person's subscription login on
658 its servers (section 6.8 and the provider rule in section 7).
6593. **Provider cloud agents** (Claude Code on the web, Codex cloud) as
660 outside builders for repos with a GitHub mirror, if a programmatic API
661 exists (to be probed). Reproduction, checks and review still run on a
662 trusted runner; their work is labelled as built remotely.
663
664### 13.11 Onboarding
665
666Five steps, the same on web, Mac and iPhone (`docs/mockups/onboarding.html`):
667welcome to the team; connect a model account by device code (one is enough
668to start, a second family is requested before the first review); choose
669where work runs; choose specialists (defaults ticked, library one tap
670away); a safe first task that reads and recommends and changes nothing.
671
672### 13.12 Several accounts per provider
673
674A person may connect any number of Claude and Codex accounts, each its own
675connection in its own Equipo credential home, each showing its remaining
676allowance. Projects tick which may be used and may pin one; the coordinator
677picks per step by fit and headroom and says why. A step never changes
678account mid-step; a later step may use another of the person's accounts,
679recorded. Connections are never shared or pooled across people.
680
681