| 1 | # Brief: write Equipo plan 3 (Coordinator and conversation) |
| 2 | |
| 3 | You are writing an implementation plan, not code. Worktree |
| 4 | `/home/paulca/amadan.net/oficina/equipo-plan-3`, branch `plan-3`, which is |
| 5 | plan 2b as built (direct provider launch in bubblewrap; still under its |
| 6 | final review, so treat its interfaces as current but say where plan 3 |
| 7 | depends on anything 2b's review might change) plus main's design rev 3. |
| 8 | |
| 9 | ## Read first |
| 10 | |
| 11 | - Spec `docs/superpowers/specs/2026-11-01-equipo-design.md`, all of it, |
| 12 | especially sections 3, 4, 5.1-5.2, 6 and the whole of section 13 |
| 13 | (revision 3: direct launch, credential homes, Teams level, no project |
| 14 | picker, one conversation with per-task threads, custom specialists, |
| 15 | playbooks, templates, runner kinds, onboarding, several accounts). |
| 16 | - Roadmap `docs/superpowers/plans/2026-11-01-equipo-roadmap.md` (row 3; row |
| 17 | 4 stays later). |
| 18 | - Mockups `docs/mockups/` (web: `nav.html`, `conversation.html`, |
| 19 | `journey.html`, `projects.html`, `models.html`; native and onboarding: |
| 20 | `native.html`, `onboarding.html`; rules in `README.md`: no coloured |
| 21 | left-border accents; values and badges never wrap). |
| 22 | - Plan 2b and its code: the direct launcher, journal, tool/permission |
| 23 | relay, Amadan readback. |
| 24 | - How to write it: |
| 25 | `/home/paulca/.claude/plugins/cache/claude-plugins-official/superpowers/7.0.0/skills/writing-plans/SKILL.md`. |
| 26 | |
| 27 | ## Scope (Paul's decisions; do not reopen) |
| 28 | |
| 29 | - Each person's coordinator as a long-lived direct-launch session on that |
| 30 | person's connections, acting only through an Equipo tool server (propose |
| 31 | a plan, ask a person, read a project, route to a task thread), never by |
| 32 | parsed prose. |
| 33 | - The conversation: one per person, live (Rastrillo `live`), task cards, |
| 34 | one-tap question cards, plan proposals with edits and the approval |
| 35 | setting (per project with a per-person override; default start |
| 36 | straight away), the three undeletable steps. |
| 37 | - No project picker: the coordinator infers the project; the card shows it |
| 38 | and a tap corrects it; a one-tap question when unclear. |
| 39 | - Threads per task, automatic, with replies in the main conversation |
| 40 | routed to the task's thread and a short line saying so. |
| 41 | - Preferences page: confirmed versus inferred, source, correct or delete; |
| 42 | inferred preferences never decide anything. |
| 43 | - Custom specialists and the template library (section 13.9), playbooks |
| 44 | and playbook templates (13.7), with "suggest, never create" for the |
| 45 | coordinator. |
| 46 | - Feature and recommendation evidence predicates (spec 6.3 table) so a |
| 47 | feature and a "what's next?" can run, not only bugs. |
| 48 | - Navigation: Teams at the top on the web too (each Equipo instance is a |
| 49 | team; the web Teams page lists the instances this person has signed in |
| 50 | to, as links). |
| 51 | - Onboarding (13.11) for the own-machine runner: invite acceptance, model |
| 52 | account by device code into an Equipo credential home, enrol this |
| 53 | machine with a one-line install and a pairing code (no sudo), specialists, |
| 54 | a safe first task. Show "Hosted by Equipo" as a later option, not built. |
| 55 | - A documented, versioned JSON API for everything the native apps need |
| 56 | (conversation, cards and answers, tasks and threads, Journey, projects, |
| 57 | specialists, playbooks, connections, Needs you), with person-only auth, |
| 58 | CSRF-safe browser use and revision checks; plus a push-notification |
| 59 | outbox the apps can subscribe to later. No native app code in this plan. |
| 60 | |
| 61 | Out of scope: coordinator-to-coordinator settlement and routing to other |
| 62 | people (plan 4), product view signals from CARLOS (plan 4, waits on |
| 63 | platform #514), hosted runners, provider cloud agents, native apps. |
| 64 | |
| 65 | If the scope is more than about 14 tasks, split it into plan 3a and 3b in |
| 66 | the same file, each ending in something Paul can use, and say which order. |
| 67 | |
| 68 | ## Output and rules |
| 69 | |
| 70 | Write `docs/superpowers/plans/2026-11-04-equipo-plan-3-coordinator.md`. |
| 71 | Interfaces, test names and assertions, commands; not bodies. User-facing |
| 72 | strings go in the copy file and are listed for copy review. End with the |
| 73 | self-review and "Questions for Paul" only for what genuinely needs him. |
| 74 | Do not write product code, commit or push. Do not start a copy-review |
| 75 | server. Do not spawn Anthropic-model reviewers or other agents; no provider |
| 76 | runs. No `.claude/HANDOFF.md`. Scratch under `$TMPDIR`, removed. Network |
| 77 | allowed. Print a five-line summary: task count, split, questions for Paul. |
| 78 | |