Skip to content

chore(claude): add unknowns-discovery phases to /plan and /lfg - #58

Merged
mhenrixon merged 2 commits into
mainfrom
chore/unknowns-workflow
Jul 5, 2026
Merged

chore(claude): add unknowns-discovery phases to /plan and /lfg#58
mhenrixon merged 2 commits into
mainfrom
chore/unknowns-workflow

Conversation

@mhenrixon

Copy link
Copy Markdown
Collaborator

Summary

  • /plan gains 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-time AskUserQuestion interview prioritized by blast radius. Answers are recorded in the plan's Decision section as Settled in interview: bullets the executor must not re-litigate. AskUserQuestion was added to the command's allowed-tools.
  • /lfg gains a deviation log: implementation-notes.md at the repo root, written the moment the plan and reality diverge (deviations / discoveries / judgment calls), folded into a mandatory ## Deviations & judgment calls PR-body section and then deleted.
  • /lfg gains 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.md and .claude/commands/lfg.md
  • Phase headings renumbered sequentially in both files (verified via grep)
  • Markdown reviewed by hand for broken formatting

mhenrixon added 2 commits July 5, 2026 14:54
/plan gains a "Surface the unknowns" phase: a blindspot pass plus a
one-question-at-a-time AskUserQuestion interview before design, with
answers recorded as "Settled in interview" constraints in the plan.

/lfg gains a deviation log (implementation-notes.md, folded into a
mandatory "Deviations & judgment calls" PR-body section) and a
comprehension close-out (key decisions + three merge-gate questions).

Rationale: catch unknowns before execution in discovery loops, instead
of after execution in review-fix loops.
The "Surface the unknowns" phase landed after Design; the interview must
settle open decisions BEFORE candidate approaches are developed. Now
Phase 2 (unknowns) precedes Phase 3 (Design), matching the other repos.
@mhenrixon
mhenrixon merged commit 7721f17 into main Jul 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant