summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-08-04 11:17:05 -0700
committerJesse Vincent <jesse@primeradiant.com>2026-08-04 11:17:05 -0700
commit538d65120be78ad147fc82ea392da2ed0edc4cdc (patch)
treeef14351719e06a23fae0afc732840bfbe5b02801
parentbb2a34b2a0ac6eac16a3337897a3d66052d50e3e (diff)
fix(planning): the spec travels with the plan — Spec: header pointer + SDD reads it at setupfix/spec-travels-with-plan
In controlled evals, an identical seeded-incoherence plan yielded 0-1/5 correct conflict resolutions when executed specless (controllers ruled the conflicts 'internally explained') and 4-5/5 with the spec merely present and named — even with no other skill-text changes. Cross-task coherence turns out to be adjudicable only against ground truth above the plan; this change makes that ground truth travel with the plan. Claude-Session: https://claude.ai/code/session_0185AJr98gHx5EmwqNeft4Sy
-rw-r--r--skills/subagent-driven-development/SKILL.md5
-rw-r--r--skills/writing-plans/SKILL.md3
2 files changed, 7 insertions, 1 deletions
diff --git a/skills/subagent-driven-development/SKILL.md b/skills/subagent-driven-development/SKILL.md
index 6c0b834..be2a44e 100644
--- a/skills/subagent-driven-development/SKILL.md
+++ b/skills/subagent-driven-development/SKILL.md
@@ -140,7 +140,10 @@ a ledger file, not only in todos.
that happens, recover from `git log`.
Read the plan once, note its context and Global Constraints, and create a
-todo per task.
+todo per task. If the plan names a Spec, read that too: the spec is the
+authority the plan argues from, and conflicts inside the plan resolve
+against it. A plan with no reachable spec gets a ledger note saying so —
+rulings made without one are provisional.
Before dispatching Task 1, scan the plan once for conflicts:
diff --git a/skills/writing-plans/SKILL.md b/skills/writing-plans/SKILL.md
index dd2702b..f74605b 100644
--- a/skills/writing-plans/SKILL.md
+++ b/skills/writing-plans/SKILL.md
@@ -66,6 +66,9 @@ independently testable deliverable.
**Tech Stack:** [Key technologies/libraries]
+**Spec:** [path to the spec/design doc this plan implements — the plan
+argues from the spec, so the spec travels with it; executors read both]
+
## Global Constraints
[The spec's project-wide requirements — version floors, dependency limits,