Arch Mini Plan
Use this workflow only after explicit selection as $arch-mini-plan or a
binding task instruction requiring it.
When to use
- The user explicitly asks for a mini plan or a one-pass architecture plan.
- The task is small or medium-sized, but still benefits from the canonical arch blocks.
- The user wants planning rigor without walking the full research -> deep dive -> external research -> phase plan sequence as separate steps.
- The likely next steps after planning are implementation against the same doc via
miniarch-steporarch-step, then docs cleanup viaarch-docs.
When not to use
- The task is a tiny feature or improvement that should run through
lilarch. - The task clearly needs staged full-arch execution, long-running plan shaping, or full-arch implementation/audit work. Use
arch-step. - The problem is primarily a bug/regression investigation. Use
bugs-flow. - The path is intentionally open-ended or hypothesis-driven. Use native goal mode or
north-star-investigation.
Non-negotiables
- This mode is planning-only. Do not modify code here.
- Keep one canonical
DOC_PATHas the source of truth. - Write the compact Scope and Simplicity Contract from
references/artifact-contract.md. Initial architecture may include only the smallest evidenced same-contract convergence closure; sign it off at the ready verdict. After that verdict, only explicit human approval expands scope. - Use the same canonical arch markers and compatible section shapes that
arch-stepexpects. - Keep the phase plan tight: usually 1-2 phases, optionally 3 if cleanup truly needs its own pass.
- Escalate when human-authorized or pre-approval convergence work genuinely exceeds a compact plan, or when decisions remain unresolved. Do not escalate merely because the planner imagined adjacent work.
- Ask questions only when repo/docs/tools cannot answer them.
- When the changed behavior is agent- or LLM-driven, inspect prompt surfaces, native model capabilities, and existing tool/file/context exposure before designing.
- For agent-backed systems, prefer prompt engineering, grounding, and native-capability use before new harnesses, wrappers, parsers, OCR layers, or scripts.
- If mini mode still concludes that custom tooling is needed for agent-backed behavior, say why prompt-first and capability-first options were insufficient.
- If the real lever is prompt repair, say so plainly and recommend
prompt-authoringinstead of inventing deterministic scaffolding. - When source material includes prompts, agent instructions, or other instruction-bearing doctrine, preserve explicit structure by default instead of silently condensing it.
- External guidance is optional and narrow. Do not turn mini mode into hidden full-arch research.
First move
- Read
references/artifact-contract.md. - Read
references/shared-doctrine.md. - Read
../_shared/scope-and-convergence.md. - Read
references/fit-and-escalation.md. - Resolve
DOC_PATHand read it fully. - Verify the North Star and scope are coherent enough to plan against.
- Read
references/quality-bar.md. - Read
references/one-pass-plan.md. - Then write the canonical arch blocks in one pass.
Workflow
- Confirm this is the right mode:
- smaller task
- still needs real architecture grounding
- not a
lilarchfit and not an immediate staged full-arch execution fit
- Gather the minimum evidence needed:
- internal ground truth and reusable patterns first
- external guidance only if correctness depends on it
- Update the canonical blocks together:
- research grounding
- current architecture
- target architecture
- call-site audit
- phase plan
- Stop with a clear "ready to implement" verdict and the recommended next move.
Output expectations
- Update
DOC_PATHonly. - Keep the console summary short:
- North Star reminder
- punchline
- which blocks changed
- any "too big for mini mode" warning
- exact next move, usually
miniarch-step implement,miniarch-step reformat, orarch-step reformat, witharch-docsas the later full-arch docs-cleanup handoff after clean code audit
Reference map
references/artifact-contract.md- canonical mini-plan artifact, required blocks, status rules, and handoff contractreferences/shared-doctrine.md- evidence, question policy, SSOT rules, and anti-fallback disciplinereferences/fit-and-escalation.md- concrete fit examples, non-fit examples, and exact escalation rulesreferences/one-pass-plan.md- the one-pass planning workflow and write orderreferences/quality-bar.md- strong vs weak bars for the blocks mini mode owns