# Brief: revise Equipo plan 1 after review round 1

Edit `docs/superpowers/plans/2026-11-01-equipo-plan-1-foundation.md` in this
worktree to resolve every finding in
`docs/superpowers/plans/REVIEW-FINDINGS-plan-1-foundation-R1.md`, using the
decisions below. Verify each change against Rastrillo `v0.28.0`
(`git -C /home/paulca/amadan.net/rastrillo/rastrillo show v0.28.0:<path>`)
and the prototype at
`/home/paulca/amadan.net/carlos/platform-team-service/internal/team`.

## Decisions (made by the controller; do not reopen)

- **P1-1:** use `pow.New` with `Difficulty: pow.NoProof` (token form with
  `MinAge`, works without JavaScript; see `pow/browser_test.go`
  `TestBrowserNoProofWorksWithoutJavaScript` at the tag). Add `pow.Schema` to
  `BootSchema`, serve `pow.Assets()` if the form needs them, put the fields
  in the sign-in form, and add a test that `auth.New` succeeds with the
  production config. Not `ProofOff`.
- **P2-1:** the reviewer's fix: a separate `time_reservations` table keyed
  by attempt, settled only in `Contain`, excluded from receipt and audited
  settlement, counted only in period checks. Name the existing tests that
  prove the call ledger is unchanged.
- **P2-2:** add `Project.DefaultBranch` entered by an owner (no repository
  probing); Authority rejects a `DefaultRef` that differs and any `Ref` equal
  to it, with tests.
- **P2-3:** test sign-in by email link through a capturing mailer.
- **P2-4, P2-5:** as the findings say.
- **P3s:** apply all of them: say configured mode drops account `CostMicros`;
  allow lowering a budget below usage (new work blocks); `Authorize` false on
  DB error; delete a removed member's sessions; document `EQUIPO_OWNERS`
  first-boot-only; use the framework's `SigninScreen`/`ui` sign-in partial
  if it exists at the tag and accepts the pow fields, otherwise the app's
  own `signin.html`, and say which; unique on repository plus app; say how
  the per-page speed test signs in; trim Task 5 Step 4 and the grounding
  table to decisions; replace self-review items 2 and 5 with checks that
  decide something.

## Paul's answers since the plan was written (apply them)

- Equipo deploys under the **`oficina` CARLOS account on the flagship
  console** (`https://console.carloku.com/a/oficina`). Resolve the "Questions
  for Paul" section with this and make Task 10 use it.
- **Projects have a kind: app, website or repository.** One Projects list;
  each card shows its kind (spec section 3.3, commit 3bb1dae). Add the kind
  to Task 4's record and form and Task 8's overview.
- The rail no longer includes the console's Apps and Billing. Equipo's rail
  is: team header; Conversation, Needs you, Journey, Projects; Specialists
  (the five); a Team group with Connections, People, Settings
  (`docs/mockups/nav.html`). Update Task 8 to match.

## Rules

- Edit only the plan file. Do not commit or push. Do not write product code.
- Do not spawn Anthropic-model reviewers or other agents.
- No `.claude/HANDOFF.md`. Scratch under `$TMPDIR`, removed at the end.
- At the end of the plan, add a short "Round 1 dispositions" section: one
  line per finding saying how it was resolved.
- Print a five-line summary when done.
