oficina / equipo Public

Roadmap to the try-out, and briefs for plan 0 and plan 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 5042a9e8b967c0b80c357d724305ec1c6642fa8b parent 58ea594
3 files changed, +169 −0
  • docs/superpowers/plans/2026-11-01-equipo-roadmap.md +27 −0
  • docs/superpowers/plans/CODEX-BRIEF-plan-0-paseo-probe.md +60 −0
  • docs/superpowers/plans/CODEX-BRIEF-plan-1-foundation.md +82 −0

No CI script — run details

diff --git a/docs/superpowers/plans/2026-11-01-equipo-roadmap.md b/docs/superpowers/plans/2026-11-01-equipo-roadmap.md
new file mode 100644
index 00000000..95bee84d
--- /dev/null
+++ b/docs/superpowers/plans/2026-11-01-equipo-roadmap.md
@@ -0,0 +1,27 @@
+# Equipo: plans to the first try-out
+
+Spec: [Equipo design](../specs/2026-11-01-equipo-design.md), approved by Paul
+2026-11-01. The milestone is section 10 of the spec: Paul and one teammate
+trying it on their own apps.
+
+The spec spans several subsystems, so the milestone is four plans. Each one
+ends in software Paul can open and use, and each later plan is written once
+the one before it has landed, from what it taught.
+
+| Plan | Delivers | Paul can |
+|---|---|---|
+| 0. Paseo probe | A written report on what Paseo's CLI and daemon expose (spec 6.9) | Read what the runner can rely on, and which gaps go to Paseo |
+| 1. Foundation | The Rastrillo app, the prototype moved in, keymail sign-in, the team roster, CARLOS-account labels, projects with repo bindings and owners, the default specialists, the rail shell and Projects overview, deployed on CARLOS | Sign in, add his projects, see the empty rail |
+| 2. Runner | `equipo-runner` (enrol, claim, drive Paseo, check executor, publish, cancel), connections discovered per machine, a plain task form, live Journey and specialist pages | Ask for a bug fix through a form and get an Amadan branch with evidence |
+| 3. Coordinator | One coordinator per person as a Paseo agent, the Equipo tool server, the conversation, plan proposals and edits, approval setting, preferences page | Talk to it instead of filling a form |
+| 4. Team | Routing to owners, coordinator settlement and deadlock, per-project model picks with reasons, the product view (Now, Next, Later, Product's note, CARLOS signals once the platform has a read-only token), phone layout | Use it with a teammate, ask "what's next?" |
+
+Alongside, not blocking the try-out:
+
+- the Equipo amendment to the doctrine's egress section, on `oficina/suite`;
+- a carlos/platform request for a read-only scoped token and app-to-repo
+ links (spec section 8);
+- removing `internal/team` and `internal/teamcontract` from carlos/platform
+ once plan 1 has copied them.
+
+Plans 0 and 1 run now, in parallel. Plan 2 is written after the probe.
diff --git a/docs/superpowers/plans/CODEX-BRIEF-plan-0-paseo-probe.md b/docs/superpowers/plans/CODEX-BRIEF-plan-0-paseo-probe.md
new file mode 100644
index 00000000..7c8514c2
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-plan-0-paseo-probe.md
@@ -0,0 +1,60 @@
+# Brief: Equipo plan 0, the Paseo probe
+
+Find out, by running it, what Paseo on this machine (docs-t1) gives a program
+that wants to drive agents. The answers decide how Equipo's runner is built.
+Read spec section 6.9 first:
+`/home/paulca/amadan.net/oficina/equipo-design/docs/superpowers/specs/2026-11-01-equipo-design.md`.
+
+Paseo documentation available locally:
+`/home/paulca/.paseo/zerosub/homes/claude-047fd573ccc9/skills/paseo/SKILL.md`,
+`.../skills/paseo-help/`, `.../skills/paseo-plugin/` (same parent), and
+`paseo --help` / `paseo <cmd> --help`.
+
+## Questions to answer, each with the exact command and trimmed output as evidence
+
+1. **Create and follow an agent from a program.** `paseo run --json` (or the
+ equivalent) in a workspace: what comes back, which IDs, how to start it in
+ a specific git worktree on a named branch from a base commit.
+2. **Timeline and usage.** Can `paseo logs`, `inspect`, `attach` or `ls`
+ return machine-readable events (JSON) and per-agent token usage, model
+ and provider? Is there a streaming form a long-lived process can follow?
+3. **Questions and permissions.** When an agent asks a question or needs a
+ permission, does that appear as an event a program can see and answer
+ (`paseo send`, a permission response)? Try a mode that requires approval.
+4. **Stop and clean up.** `stop`, `archive`, `delete`, workspace archive:
+ does stopping kill the agent's child processes? Is the stop observable?
+5. **Tools per agent.** Can a program give one agent an MCP server or tool
+ configuration at creation time (flags, settings, profiles, plugin
+ transforms)?
+6. **Accounts.** Can two different Claude logins be used side by side on
+ one machine (separate daemon homes via `--home`, provider homes,
+ profiles)? Do not sign in to anything new; inspect configuration and
+ documentation, and say what would be needed.
+7. **Remote and hosts.** Can one daemon drive agents on another host
+ (tito-studio), and what does a program need for that?
+8. **Runner as a Paseo plugin.** From the paseo-plugin documentation, could
+ the runner be a plugin (lifecycle hooks, RPCs, background work, outbound
+ HTTP)? Give a recommendation: separate process or plugin, and why.
+
+## How to run it safely
+
+- Use a throwaway git repository under `$TMPDIR` as the workspace.
+- Use the cheapest available models for any agent you start (for example a
+ Haiku-class Claude model or the smallest Codex model), with tiny prompts
+ ("create hello.txt containing hi"). At most six agent runs in total.
+- Never touch, stop, archive or message any agent or workspace you did not
+ create. Do not restart, reload or reconfigure the Paseo daemon. Do not
+ change `config.json`.
+- Archive or delete everything you created before you finish, and remove
+ your scratch directory.
+- Do not spawn Anthropic-model reviewers or other helper agents beyond the
+ probe agents above.
+- Do not create `.claude/HANDOFF.md`. Do not commit or push.
+
+## Output
+
+Write `/home/paulca/amadan.net/oficina/equipo-design/docs/superpowers/specs/2026-11-01-paseo-probe.md`:
+one section per question with the verdict (yes / no / partly), the evidence,
+and for every "no" or "partly" a one-paragraph request we could send to
+Paseo. End with a short "What the runner should rely on" list. Print a
+five-line summary when done.
diff --git a/docs/superpowers/plans/CODEX-BRIEF-plan-1-foundation.md b/docs/superpowers/plans/CODEX-BRIEF-plan-1-foundation.md
new file mode 100644
index 00000000..3be7ce00
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-plan-1-foundation.md
@@ -0,0 +1,82 @@
+# 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
+
+1. The approved spec: `docs/superpowers/specs/2026-11-01-equipo-design.md`.
+2. The roadmap: `docs/superpowers/plans/2026-11-01-equipo-roadmap.md`. Plan 1
+ is the Foundation row. Do not plan rows 2 to 4.
+3. How to write the plan: follow
+ `/home/paulca/.claude/plugins/cache/claude-plugins-official/superpowers/7.0.0/skills/writing-plans/SKILL.md`
+ exactly (header, Global Constraints, Review Focus, task structure,
+ interfaces, test-first steps, self-review). The header's execution line
+ should name subagent-driven development.
+4. The mockups in `docs/mockups/`, especially `nav.html` (the navigation Paul
+ chose) and `projects.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/team`
+ and `internal/teamcontract` (platform commit `ceee7a67`). 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 ci` gate like memoria's,
+ module `amadan.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 `owner` and `member` (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.md` or any file other than the plan.
+- Scratch goes under `$TMPDIR` and 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.