|
|
@@ -134,7 +134,7 @@ sequences — the single most expensive failure observed. Track progress in
|
|
|
a ledger file, not only in todos.
|
|
|
|
|
|
- Each plan owns a workspace: at skill start, run this skill's
|
|
|
- `scripts/sdd-workspace PLAN_FILE` — it prints the plan's git-ignored
|
|
|
+ `bash scripts/sdd-workspace PLAN_FILE` — it prints the plan's git-ignored
|
|
|
directory (`<repo-root>/.superpowers/sdd/<plan-basename>/`), home to
|
|
|
every artifact for THIS plan: ledger, briefs, reports, review packages.
|
|
|
Another plan's directory is never yours to read or write.
|
|
|
@@ -249,7 +249,7 @@ Record BASE (`git rev-parse HEAD`) before dispatching — the review package
|
|
|
and fix-round diffs need it.
|
|
|
|
|
|
- **Task brief:** before dispatching an implementer, run this skill's
|
|
|
- `scripts/task-brief PLAN_FILE N` — it extracts the task's full text to a
|
|
|
+ `bash scripts/task-brief PLAN_FILE N` — it extracts the task's full text to a
|
|
|
uniquely named file and prints the path. Compose the dispatch so the
|
|
|
brief stays the single source of
|
|
|
requirements. Your dispatch should contain: (1) one line on where this
|
|
|
@@ -287,7 +287,7 @@ Template: [implementer-prompt.md](implementer-prompt.md)
|
|
|
|
|
|
Implementer subagents report one of four statuses. Handle each appropriately:
|
|
|
|
|
|
-**DONE:** Generate the review package (`scripts/review-package PLAN_FILE BASE HEAD`, from this skill's directory — it prints the unique file path it wrote; BASE is the commit you recorded before dispatching the implementer — never `HEAD~1`, which silently drops all but the last commit of a multi-commit task), then dispatch the task reviewer with the printed path.
|
|
|
+**DONE:** Generate the review package (`bash scripts/review-package PLAN_FILE BASE HEAD`, from this skill's directory — it prints the unique file path it wrote; BASE is the commit you recorded before dispatching the implementer — never `HEAD~1`, which silently drops all but the last commit of a multi-commit task), then dispatch the task reviewer with the printed path.
|
|
|
|
|
|
**DONE_WITH_CONCERNS:** The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review.
|
|
|
|
|
|
@@ -314,7 +314,7 @@ required. Implementer self-review never replaces the task review; both are
|
|
|
needed.
|
|
|
|
|
|
- Hand the reviewer its diff as a file: run this skill's
|
|
|
- `scripts/review-package PLAN_FILE BASE HEAD` and pass the reviewer the file path
|
|
|
+ `bash scripts/review-package PLAN_FILE BASE HEAD` and pass the reviewer the file path
|
|
|
it prints (or, without bash: `git log --oneline`, `git diff --stat`,
|
|
|
and `git diff -U10` for the range, redirected to one uniquely named
|
|
|
file). The output never enters your own context, and the reviewer sees
|
|
|
@@ -393,7 +393,7 @@ output; dispatch the re-review once all three are present. Name the
|
|
|
covering test files in the fix message — a one-line fix does not need the
|
|
|
whole suite.
|
|
|
|
|
|
-**The re-review is scoped.** Run `scripts/review-package PLAN_FILE FIX_BASE HEAD`
|
|
|
+**The re-review is scoped.** Run `bash scripts/review-package PLAN_FILE FIX_BASE HEAD`
|
|
|
where FIX_BASE is the head the previous review saw, and dispatch
|
|
|
[re-review-prompt.md](re-review-prompt.md) with the findings list, the
|
|
|
brief, the report file, and the printed diff path. The re-reviewer verdicts
|
|
|
@@ -445,7 +445,7 @@ parked-with-ruling at the cap.
|
|
|
## Final Review
|
|
|
|
|
|
The final whole-branch review gets a package too: run
|
|
|
-`scripts/review-package PLAN_FILE MERGE_BASE HEAD` (MERGE_BASE = the commit the
|
|
|
+`bash scripts/review-package PLAN_FILE MERGE_BASE HEAD` (MERGE_BASE = the commit the
|
|
|
branch started from, e.g. `git merge-base main HEAD`) and include the
|
|
|
printed path in the final review dispatch, so the final reviewer reads
|
|
|
one file instead of re-deriving the branch diff with git commands. Dispatch
|
|
|
@@ -460,7 +460,7 @@ with the complete findings list — not one fixer per finding.
|
|
|
Per-finding fixers each rebuild context and re-run suites; a real
|
|
|
session's final-review fix wave cost more than all its tasks combined.
|
|
|
Then run exactly one scoped re-review of the fix wave
|
|
|
-(`scripts/review-package PLAN_FILE FIX_BASE HEAD` over the fix range,
|
|
|
+(`bash scripts/review-package PLAN_FILE FIX_BASE HEAD` over the fix range,
|
|
|
[re-review-prompt.md](re-review-prompt.md)).
|
|
|
Adjudicate any residual findings as in the task loop's breaker: park with
|
|
|
rulings, or rule on the load-bearing ones and ledger what you decided. Only
|
|
|
@@ -507,7 +507,7 @@ You: I'm using Subagent-Driven Development to execute this plan.
|
|
|
|
|
|
[Setup: worktree verified]
|
|
|
[Read plan file once: docs/superpowers/plans/feature-plan.md]
|
|
|
-[Resolve workspace: scripts/sdd-workspace docs/superpowers/plans/feature-plan.md — no ledger inside, fresh start]
|
|
|
+[Resolve workspace: bash scripts/sdd-workspace docs/superpowers/plans/feature-plan.md — no ledger inside, fresh start]
|
|
|
[Create todos for all tasks]
|
|
|
|
|
|
Task 1: Hook installation script
|