oficina / equipo Public
Brief: write Equipo plan 1 (Foundation)
You are writing an implementation plan, not code. Work in this worktree (/home/paulca/amadan.net/oficina/equipo-design, branch design).
Read first
- The approved spec:
docs/superpowers/specs/2026-11-01-equipo-design.md. - The roadmap:
docs/superpowers/plans/2026-11-01-equipo-roadmap.md. Plan 1 is the Foundation row. Do not plan rows 2 to 4. - How to write the plan: follow
/home/paulca/.claude/plugins/cache/claude-plugins-official/superpowers/7.0.0/skills/writing-plans/SKILL.mdexactly (header, Global Constraints, Review Focus, task structure, interfaces, test-first steps, self-review). The header's execution line should name subagent-driven development. - The mockups in
docs/mockups/, especiallynav.html(the navigation Paul chose) andprojects.html.
Ground it in real code (read-only)
- Rastrillo, the framework:
/home/paulca/amadan.net/rastrillo/rastrillo(AGENTS.md, DESIGN.md, especially "Navigation", and its scaffold/cmd). - memoria, the closest existing Oficina app, as the template for repo layout,
make ci, keymail sign-in with an owners list,run.sh, browser drive and how it is deployed on CARLOS:/home/paulca/amadan.net/oficina/memoria. - estilo's theme ruling:
/home/paulca/amadan.net/oficina/estilo/README.md. - The suite doctrine, rulings 1, 5 and 9 and section 8:
/home/paulca/amadan.net/oficina/suite/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md. - The prototype being moved in:
/home/paulca/amadan.net/carlos/platform-team-service/internal/teamandinternal/teamcontract(platform commitceee7a67). Check its imports for anything platform-internal that cannot move as is, and plan for it.
Every file path, package name, function name and command in the plan must be checked against these sources. Where Rastrillo or memoria already does something (sign-in, sessions, CSRF, migrations, the nav rail), the plan uses it rather than reinventing it, and names the exact package and function.
Scope of plan 1
Deliverable: Paul signs in to an Equipo instance, adds his projects, and sees the rail and the Projects overview, with no agents running yet.
- Repository scaffold as a Rastrillo app with a
make cigate like memoria's, moduleamadan.net/oficina/equipo, AGENTS.md. - The prototype copied in with its tests passing under the new module path, per spec 6.7 (Authority from the instance's roster; team ceiling and project limits; plan-edit operations and the owner-only quarantine release are plan 2 or 3 unless they are needed now, say which).
- Keymail sign-in, lone-instance roster with
ownerandmember(spec 5.1). - CARLOS account labels and projects: repository binding on Amadan, optional app name, decision owners (spec 3.3, and spec 8: no credential yet).
- The five default specialists as records with settings fields (spec 3.2), no behaviour.
- UI: the rail shell from
nav.html(team, Conversation, Needs you, Journey, Projects, the five specialists, Connections, Preferences), with empty states, and the Projects overview grouped by CARLOS account (no signals). Phone layout as drill-down index screens. User-facing strings go in one copy file per the repo's convention and are marked for copy review; do not invent final copy, keep it plain and short. - Deployment on CARLOS as a task the plan describes for a human to run, the way memoria deployed. Do not deploy anything yourself. If which CARLOS account it deploys to is unclear, list it under a "Questions for Paul" heading at the end of the plan rather than guessing.
Output
Write the plan to docs/superpowers/plans/2026-11-01-equipo-plan-1-foundation.md. Keep it in proportion: interfaces, test names and assertions, commands, not function bodies. End with the self-review results.
Rules
- Do not write product code, do not commit, do not push. Only create that one plan file.
- Do not spawn or call Anthropic-model reviewers or any other agents.
- Do not create
.claude/HANDOFF.mdor any file other than the plan. - Scratch goes under
$TMPDIRand is removed when you finish. - Do not modify any other repository; everything outside this worktree is read-only.
- When finished, print a five-line summary: task count, open questions, and anything in the spec you found contradictory.