--- name: auto-planning description: Auto Office 3.0 reference spoke, not loaded by 3.1 runs (they use the office CLI). Internal Auto Office v3 planning spoke. Use when the auto-office orchestrator needs to run interactive requirements discovery directly with the user, freeze the five execution fields, resolve product decisions, classify playbook/blast radius/size, produce or refresh a serialized implementation plan, or revise a plan after an accepted PLAN DEFECT. Do not use as a separate lifecycle or to change frozen requirements silently after freeze. --- # Auto Planning > **Auto Office 3.1:** this is 3.0 reference material. A 3.1 run is driven by the `office` CLI and runtime-delivered > role briefs; the `office_runtime.py` helpers it names were removed with the 3.0 runtime. Follow `office status` and its `next:` line. > `convergence-v1` runs (`docs/review-convergence.md`): contract the seams, not the internals (`scope:` is an ownership envelope; `lane:`, `converge:`); plan review answers APPROVED | RECHECK | INTAKE_GAP and PLAN DEFECT is only root-cause metadata. Plan review reviews the initial plan only: once it closes, your later revisions are not reviewed again (#418), so make each one as carefully as the first. Receive the pinned run envelope and the orchestrator's provisional intent. Own **what** up to freeze, then **how**: run `skills/auto-intake/SKILL.md`'s interview directly with the user, reshape goal/scope/done-criteria/blast-radius/named-actions/non-goals when repository evidence contradicts the provisional framing, then freeze the five fields. 1. Reconcile repository/runtime evidence before planning. 2. Propose playbook (`Change|Restructure|Investigate|Prototype|Visual`); orchestrator freezes it. 3. On explicit `--gear greenfield` (#936; the orchestrator judged the job new work at intake, #1300: a new project, or a new component with nothing it must fit into), plan exactly one cohesive T1 task with **2-3 `phases:` list items** inside that task, not a serial Office task chain. The runtime routes that whole task as XL to one strong eligible executor, and only its finished result receives the independent convergence review. Never use the gear automatically or remove checks/risk and human-approval gates. On normal runs, size each task XS|S|M|L|XL with `task_size_rationale` (boundedness, coupling, uncertainty, API evidence); never copy the run gear into it. A size sets the executor intelligence floor (AA Intelligence Index v4.3.2: XS 31, S 38, M 40, L 44, XL 47) and the ideal executor slate, and Opus is for XL subtasks only. A `run_gear:` recommendation with `run_gear_why:` in Requirements is advisory: it is refused below the intake gear or risk floor and never repins the run. Declare evidence-backed blast radius. Cite static call/data/interface boundaries; add runtime probes when static evidence is insufficient. Widen uncertainty rather than hiding it. On 3.4+ runs classify it in `## Requirements` (`blast_radius:`, optional `irreversible: yes`, `size_class:`): unknown risk keeps independent code review on under every gear. Trivial explicitly-low-risk work may add `lightweight: `; the runtime refuses it for unknown or elevated risk and it never removes scope, checks, self-review, evidence or human landing (root `SKILL.md`). 4. Classify `S|M|L|XL` from task count, touched interfaces, diff scope, migration/security involvement, and validation surface. 5. Serialize the plan with observable outcomes, protected paths, validation strategy, known-bad behavior tests, rollback/restore notes, and `model_assignments` for both orchestrator and planner. Each assignment names exact invocation model identifier when available, canonical `model_id`, effort, harness/version, selection rationale, and `inline|routed` status. Declare both roles even when one session owns both. 6. Group tasks into waves. Every task declares `Depends on:` and `Touches:`. A wave is the transitive closure of tasks whose dependencies are satisfied; no two tasks in one wave may `Touches:` the same file. Pin a shared interface (signature/schema/fixture) before dispatch, or make it its own earlier task — apparent parallelism over an unpinned shared contract becomes a serial integration task, not a wave. Every dispatch brief carries the pinned contract and `effective_config_hash`. Exception (3.2 `shared:`): an append-only registry that several tasks must extend (auth/gate manifest, endpoint or grant list, exhaustive policy map, shared mock table) is declared `shared:` on each task instead of serializing them. It is not double-scope ownership, and the compose step merges the appends. Put existing tests that a change predictably breaks (call-count assertions) in the task's scope up front. 7. Emit execution packets only after the plan is accepted at the required gate. 8. On accepted `PLAN DEFECT`, increment plan version and invalidate dependent packets before revising Increment it with `office amend plan` (fields in `protocol/families-and-amendments.md`), not by editing `plan.md` alone; a file edit leaves the runtime `plan_version` stale. Routing follows `protocol/routing.md`; the `office` runtime routes, planning never routes itself. The planner route (when a dedicated planner is funded) still uses `roles.planner.preferred_seed` as an advisory anchor. Executor routes (#300) come back after `office submit` as a slate per task: a primary and two fallbacks ranked by expected cost to success, speed, quota and learned evidence. Keep that ranking unless the task or run context says otherwise: a precise plan lets a cheaper builder succeed, and close routes may spread across parallel tasks. To choose differently, write `route: , , ` and `route_why: ` on the task; a primary outside the close-call band without a reason is ignored. Optional evidence-only task tags (never routing input): `evidence_domain: frontend|backend|infra|docs|tests`, `intent: feature|fix|refactor|test-pruning|migration`, `difficulty_estimate: low|medium|high|very-high|unknown`, `brief_shape: deliverables-enumerated|checks-only|unknown`; omit when unsure (`docs/routing-task-descriptors-415.md`).