--- title: '{title}' type: 'feature' # feature | bugfix | refactor | chore ticket: '' # the entry id from the ticket tree, or the story file's stem when the entry has no id; empty outside it created: '{date}' status: 'draft' # draft | ready-for-dev | in-progress | in-review | built | done | blocked | dropped baseline_revision: '' # the commit the work starts from, set before any code change route: '' # oneshot | full — set by step-02 route_source: '' # pinned | auto — set with route by step-02 risk: '' # low | medium | high — set by step-02; a CI process can read it to decide how much review the change gets review: '' # none | quick | thorough — set by step-04 review_source: '' # pinned | auto — set with review by step-04 lenses_ran: [] # ids of the lenses launched, set by step-04 review_loop_iteration: 0 # incremented by step-04 before each review loopback context: [] # optional: `{project-root}/`-prefixed paths to project-wide standards/docs the implementation agent should load. Keep short — only what isn't already distilled into the plan body. --- ## Intent **Problem:** ONE_TO_TWO_SENTENCES **Approach:** ONE_TO_TWO_SENTENCES ## Boundaries & Constraints **Always:** INVARIANT_RULES **Never:** NON_GOALS_AND_FORBIDDEN_APPROACHES ## I/O & Edge-Case Matrix | Scenario | Input / State | Expected Output / Behavior | Error Handling | |----------|--------------|---------------------------|----------------| | HAPPY_PATH | INPUT | OUTCOME | No error expected | | ERROR_CASE | INPUT | OUTCOME | ERROR_HANDLING | ## Code Map - `FILE` -- ROLE_OR_RELEVANCE - `FILE` -- ROLE_OR_RELEVANCE ## Tasks & Acceptance **Execution:** - [ ] `FILE` -- ACTION -- RATIONALE **Acceptance Criteria:** - Given PRECONDITION, when ACTION, then EXPECTED_RESULT ## Implementation Notes ## Plan Change Log ## Review Triage Log ## Design Notes DESIGN_RATIONALE_AND_EXAMPLES ## Verification **Commands:** - `COMMAND` -- expected: SUCCESS_CRITERIA **Manual checks (if no CLI):** - WHAT_TO_INSPECT_AND_EXPECTED_STATE