chore(claude): add unknowns-discovery phases to /plan and /lfg
Merged
MH
4mo ago+46+46+01234567890123456789-5-5-0123456789
Summary
/plangains a new "Surface the unknowns" phase (Phase 3, renumbering the old Phase 3 → 4 and Phase 4 → 5): a blindspot pass over open decisions/edge-cases/no-precedent territory, followed by a one-question-at-a-timeAskUserQuestioninterview prioritized by blast radius. Answers are recorded in the plan's Decision section asSettled in interview:bullets the executor must not re-litigate.AskUserQuestionwas added to the command'sallowed-tools./lfggains a deviation log:implementation-notes.mdat the repo root, written the moment the plan and reality diverge (deviations / discoveries / judgment calls), folded into a mandatory## Deviations & judgment callsPR-body section and then deleted./lfggains a comprehension close-out (new Phase 8, after Commit & PR): the final message must surface the 3–5 non-obvious decisions (leading with the deviation log) and three merge-gate questions the user should be able to answer before merging.
Why
Catch unknowns before execution (discovery) instead of after (review-fix loops); prose-only change to .claude/commands/.
Test plan
- Diff limited to
.claude/commands/plan.mdand.claude/commands/lfg.md - Phase headings renumbered sequentially in both files (verified via grep)
- Markdown reviewed by hand for broken formatting