| 1 | # Brief: plan 3 round 2 fixes (Opus R2: READY AFTER FIXES) |
| 2 | |
| 3 | Edit the plan file only. Decisions (do not reopen): |
| 4 | |
| 5 | - P2-1/P2-A budgets: delete every `size ... 5000 8000` and default `time |
| 6 | ... 10s` record (Rastrillo rejects defaults); keep `time internal/plan3test |
| 7 | 300s`. For `internal/runner` and `internal/equipo/team`, allow measured |
| 8 | raises recorded with reasons in the existing style, stating the expected |
| 9 | new totals, instead of "do not raise existing ceilings". |
| 10 | - P2-B coordinator context: add the context snapshot to `CoordinatorClaim` |
| 11 | (field `Context`). Coordinator turns get their own prompt cap, checked |
| 12 | against `provider.MaxFrameBytes` with the 8 KiB margin the turn-intent |
| 13 | path uses. The recent window is trimmed oldest-first to fit; a |
| 14 | context-limit state appears only when the required instructions and |
| 15 | confirmed decisions alone exceed the cap. Test: a long conversation with |
| 16 | 16 KiB messages still produces turns. |
| 17 | - P2-C: move the coordinator-waiting half of |
| 18 | `TestPlanWorkflowConnectionPreference` to Task 7; Task 4 keeps |
| 19 | alternative-connection selection only. |
| 20 | - P2-D: name the interactive subcommand `equipo-runner account login |
| 21 | --setup <id>`, run by the person on the machine; the instance shows the |
| 22 | setup ID beside the pending `AccountSetup`; the subcommand matches it, |
| 23 | runs Claude's official browser sign-in into the dedicated home, and |
| 24 | reports back. `TestOnboardingClaudeHeadlessBrowserLogin` drives it. |
| 25 | - P3s: apply all four (real runner label; name the shared kernel package |
| 26 | in Task 1; show "waiting for <task>" on the coordinator's waiting card; |
| 27 | route the onboarding mockup edit through the copy pass). |
| 28 | - Trim history: remove "Round 1 dispositions" and the code-verification |
| 29 | paragraphs (move a one-paragraph summary to the end), the self-review |
| 30 | restatements, plan:50's inspection history and plan:67's `--help` |
| 31 | notes; state the Linux/Claude/Mac ruling once (plan:67) and point to it. |
| 32 | Target about 14,000 words or fewer. |
| 33 | |
| 34 | Append "Round 2 dispositions" in one short list. No product code, commits, |
| 35 | pushes, agents or copy-review server; scratch under `$TMPDIR` removed; |
| 36 | network allowed. Print a three-line summary. |
| 37 | |