diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-06-11 10:31:48 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:47 -0700 |
| commit | de4672b171213a6ff6960228d8b95c46ea0b09f4 (patch) | |
| tree | c57c87020ae31ac376426540abd3f0ea8961a3e4 | |
| parent | 25192df30bdc098768f657eed4e7e92392c6ae6a (diff) | |
Constraints block is the reviewer's attention lens: copy spec verbatim, never improvise process rules
E30 replay: the planted-DRY catch is causally determined by the
controller-composed constraints block (0/6 with process-shaped vs 5/6
with the spec's own wording). E31 micro: this recipe doubles the rate
at which composed blocks carry the spec's cross-component relationship
(6/6 vs 3/6). Affects dev and the redesign equally (E29: both 4/5).
| -rw-r--r-- | skills/subagent-driven-development/SKILL.md | 10 | ||||
| -rw-r--r-- | skills/subagent-driven-development/task-reviewer-prompt.md | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/skills/subagent-driven-development/SKILL.md b/skills/subagent-driven-development/SKILL.md index 55c8e3d..eb4623a 100644 --- a/skills/subagent-driven-development/SKILL.md +++ b/skills/subagent-driven-development/SKILL.md @@ -150,9 +150,13 @@ final whole-branch review. When you fill a reviewer template: loop. If the prompt you are writing contains "do not flag," "don't treat X as a defect," "at most Minor," or "the plan chose" — stop: you are pre-judging, usually to spare yourself a review loop. -- Include the spec/design's global constraints that bind the task (version - floors, naming and copy rules, platform requirements) in the requirements - you paste — a reviewer can only enforce what you hand them. +- The global-constraints block you hand the reviewer is its attention + lens. Copy the binding requirements verbatim from the plan's Global + Constraints section or the spec: exact values, exact formats, and the + stated relationships between components ("same layout as X", "matches + Y"). The reviewer's template already carries the process rules (YAGNI, + test hygiene, review method) — the constraints block is for what THIS + project's spec demands. - Hand the reviewer its diff as a file: run this skill's `scripts/review-package BASE HEAD` and pass the reviewer the file path it prints (or, without bash: `git log --oneline`, `git diff --stat`, diff --git a/skills/subagent-driven-development/task-reviewer-prompt.md b/skills/subagent-driven-development/task-reviewer-prompt.md index 3bc019a..d2177f0 100644 --- a/skills/subagent-driven-development/task-reviewer-prompt.md +++ b/skills/subagent-driven-development/task-reviewer-prompt.md @@ -159,8 +159,10 @@ Subagent (general-purpose): - `[MODEL]` — REQUIRED: reviewer model per SKILL.md Model Selection - `[BRIEF_FILE]` — REQUIRED: the task brief file (`scripts/task-brief PLAN N` prints the path; same file the implementer worked from) -- `[GLOBAL_CONSTRAINTS]` — the spec/design's global constraints that bind - this task (version floors, naming and copy rules, platform requirements) +- `[GLOBAL_CONSTRAINTS]` — the binding requirements copied verbatim from + the plan's Global Constraints section or the spec: exact values, formats, + and stated relationships between components (not process rules — those + are already in this template) - `[REPORT_FILE]` — REQUIRED: the file the implementer wrote its detailed report to - `[BASE_SHA]` — commit before this task |
