forked from bchanot/claude
feat(ship-feature,init-project): pass B at the plan and design steps
This commit is contained in:
@@ -58,8 +58,8 @@ In both cases: MANDATORY STOP until user answers remaining questions. Produce PR
|
|||||||
|
|
||||||
**Then run `$HOME/.claude/lib/contract-interview.md`** seeded from the BRIEF:
|
**Then run `$HOME/.claude/lib/contract-interview.md`** seeded from the BRIEF:
|
||||||
REQUEST verbatim = the user's project description; ACCEPTANCE CRITERIA = the
|
REQUEST verbatim = the user's project description; ACCEPTANCE CRITERIA = the
|
||||||
V1 FEATURES (each testable); FILE SCOPE = the planned tree. No new questions
|
V1 FEATURES (each testable); FILE SCOPE = the planned tree. Pass A is covered
|
||||||
(the interview already asked). It writes
|
by the interview; pass B runs at STEP 3 against the DESIGN. It writes
|
||||||
`.claude/tasks/contracts/<date>-<slug>-<HHMM>.md`; the DESIGN approved at STEP
|
`.claude/tasks/contracts/<date>-<slug>-<HHMM>.md`; the DESIGN approved at STEP
|
||||||
4 ENRICHES it, and STEP 9's verifier judges the MVP against the enriched
|
4 ENRICHES it, and STEP 9's verifier judges the MVP against the enriched
|
||||||
contract.
|
contract.
|
||||||
@@ -70,6 +70,9 @@ Load `$HOME/.claude/agents/analyzer.md`. Analyze BRIEF: existing code, stack con
|
|||||||
## STEP 3 — DESIGN
|
## STEP 3 — DESIGN
|
||||||
Invoke `superpowers:brainstorming` with BRIEF + ANALYSIS REPORT.
|
Invoke `superpowers:brainstorming` with BRIEF + ANALYSIS REPORT.
|
||||||
Produce DESIGN: stack+versions, full folder tree, module responsibilities, data flow, interfaces (signatures only), config+tooling, test strategy, resolved decisions, prereqs list.
|
Produce DESIGN: stack+versions, full folder tree, module responsibilities, data flow, interfaces (signatures only), config+tooling, test strategy, resolved decisions, prereqs list.
|
||||||
|
Then run pass B of `$HOME/.claude/lib/contract-interview.md` against the DESIGN
|
||||||
|
(minus what the BRIEF and the brainstorm settled): one batch before STEP 4;
|
||||||
|
answers append to the contract `[gated]`.
|
||||||
|
|
||||||
## STEP 4 — VALIDATION GATE #1 ★ MANDATORY STOP
|
## STEP 4 — VALIDATION GATE #1 ★ MANDATORY STOP
|
||||||
Present:
|
Present:
|
||||||
|
|||||||
@@ -116,6 +116,10 @@ Refine request into validated design via Socratic questioning. Don't proceed unt
|
|||||||
Invoke `superpowers:writing-plans` with the validated design AND the 0d digest: every task
|
Invoke `superpowers:writing-plans` with the validated design AND the 0d digest: every task
|
||||||
must be consistent with the in-force constraints; where a task implements or affects one,
|
must be consistent with the in-force constraints; where a task implements or affects one,
|
||||||
note the ID inline. Break design into tasks (2-5 min each). Each task: exact file paths, full code, verification steps.
|
note the ID inline. Break design into tasks (2-5 min each). Each task: exact file paths, full code, verification steps.
|
||||||
|
Then run pass B of `$HOME/.claude/lib/contract-interview.md` against the plan:
|
||||||
|
every VISIBLE / PUBLIC NAME / SCOPE choice the plan settles that neither the
|
||||||
|
request nor the STEP 1 brainstorm settled (check the contract's CLARIFICATIONS
|
||||||
|
first) → one batch before STEP 2b; answers append to the contract `[gated]`.
|
||||||
|
|
||||||
## STEP 2b — CHALLENGE THE PLAN (adversarial, before the gate)
|
## STEP 2b — CHALLENGE THE PLAN (adversarial, before the gate)
|
||||||
Before the human sees the plan, harden it. Run `$HOME/.claude/lib/challenge-plan.md`:
|
Before the human sees the plan, harden it. Run `$HOME/.claude/lib/challenge-plan.md`:
|
||||||
|
|||||||
Reference in New Issue
Block a user