oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Brief: write Equipo plan 1 (Foundation)
2
3You are writing an implementation plan, not code. Work in this worktree
4(`/home/paulca/amadan.net/oficina/equipo-design`, branch `design`).
5
6## Read first
7
81. The approved spec: `docs/superpowers/specs/2026-11-01-equipo-design.md`.
92. The roadmap: `docs/superpowers/plans/2026-11-01-equipo-roadmap.md`. Plan 1
10 is the Foundation row. Do not plan rows 2 to 4.
113. How to write the plan: follow
12 `/home/paulca/.claude/plugins/cache/claude-plugins-official/superpowers/7.0.0/skills/writing-plans/SKILL.md`
13 exactly (header, Global Constraints, Review Focus, task structure,
14 interfaces, test-first steps, self-review). The header's execution line
15 should name subagent-driven development.
164. The mockups in `docs/mockups/`, especially `nav.html` (the navigation Paul
17 chose) and `projects.html`.
18
19## Ground it in real code (read-only)
20
21- Rastrillo, the framework: `/home/paulca/amadan.net/rastrillo/rastrillo`
22 (AGENTS.md, DESIGN.md, especially "Navigation", and its scaffold/cmd).
23- memoria, the closest existing Oficina app, as the template for repo layout,
24 `make ci`, keymail sign-in with an owners list, `run.sh`, browser drive and
25 how it is deployed on CARLOS: `/home/paulca/amadan.net/oficina/memoria`.
26- estilo's theme ruling: `/home/paulca/amadan.net/oficina/estilo/README.md`.
27- The suite doctrine, rulings 1, 5 and 9 and section 8:
28 `/home/paulca/amadan.net/oficina/suite/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md`.
29- The prototype being moved in: `/home/paulca/amadan.net/carlos/platform-team-service/internal/team`
30 and `internal/teamcontract` (platform commit `ceee7a67`). Check its imports
31 for anything platform-internal that cannot move as is, and plan for it.
32
33Every file path, package name, function name and command in the plan must be
34checked against these sources. Where Rastrillo or memoria already does
35something (sign-in, sessions, CSRF, migrations, the nav rail), the plan uses
36it rather than reinventing it, and names the exact package and function.
37
38## Scope of plan 1
39
40Deliverable: Paul signs in to an Equipo instance, adds his projects, and sees
41the rail and the Projects overview, with no agents running yet.
42
43- Repository scaffold as a Rastrillo app with a `make ci` gate like memoria's,
44 module `amadan.net/oficina/equipo`, AGENTS.md.
45- The prototype copied in with its tests passing under the new module path,
46 per spec 6.7 (Authority from the instance's roster; team ceiling and
47 project limits; plan-edit operations and the owner-only quarantine release
48 are plan 2 or 3 unless they are needed now, say which).
49- Keymail sign-in, lone-instance roster with `owner` and `member` (spec 5.1).
50- CARLOS account labels and projects: repository binding on Amadan, optional
51 app name, decision owners (spec 3.3, and spec 8: no credential yet).
52- The five default specialists as records with settings fields (spec 3.2), no
53 behaviour.
54- UI: the rail shell from `nav.html` (team, Conversation, Needs you, Journey,
55 Projects, the five specialists, Connections, Preferences), with empty
56 states, and the Projects overview grouped by CARLOS account (no signals).
57 Phone layout as drill-down index screens. User-facing strings go in one
58 copy file per the repo's convention and are marked for copy review; do not
59 invent final copy, keep it plain and short.
60- Deployment on CARLOS as a task the plan describes for a human to run, the
61 way memoria deployed. Do not deploy anything yourself. If which CARLOS
62 account it deploys to is unclear, list it under a "Questions for Paul"
63 heading at the end of the plan rather than guessing.
64
65## Output
66
67Write the plan to
68`docs/superpowers/plans/2026-11-01-equipo-plan-1-foundation.md`. Keep it in
69proportion: interfaces, test names and assertions, commands, not function
70bodies. End with the self-review results.
71
72## Rules
73
74- Do not write product code, do not commit, do not push. Only create that
75 one plan file.
76- Do not spawn or call Anthropic-model reviewers or any other agents.
77- Do not create `.claude/HANDOFF.md` or any file other than the plan.
78- Scratch goes under `$TMPDIR` and is removed when you finish.
79- Do not modify any other repository; everything outside this worktree is
80 read-only.
81- When finished, print a five-line summary: task count, open questions, and
82 anything in the spec you found contradictory.
83