Repository navigation
Conversation
…ot by building it
Field report (Harper Reed, Opus 5.5): asked to write a plan from an
approved spec, the session built 8 of 17 phases in scratch, generated
the plan from the built code, and grew 1,739 lines of build/replay
tooling across 44 compactions — while the plan stayed undelivered.
Reproduced with Opus 5.5 subagents on a 12-component Go spec: 6/6 runs
built the whole project in scratch, rendered the plan from it with a
script, then replayed the plan to verify (38–76 tool calls). Same result
with the full skill (2/2), with No Placeholders and type-consistency
removed (2/2), and with no skill at all (2/2) — the model verifies code
by running it, and nothing in the skill said planning doesn't.
A positive recipe ("the plan is a document; check its code by reading;
the code first runs in its task's test cycle") ended it: 5/5 runs built
nothing beyond a dependency-version check (0–1 .go files vs 61–187), at
21–38 tool calls, with full code still in every task. An alternative
that described implementation in prose instead of code went 4/5 (one
run dry-ran the whole implementation after writing the plan) and was
rejected.
Claude-Session: https://claude.ai/code/session_011XgkdvAxv9MF2k55kX6Npj
3 of 5 tasks
Owner
Author
2 of 5 tasks
1 of 2 tasks
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Who is submitting this PR? (required)
What problem are you trying to solve?
On Opus 5.5, writing-plans turns planning into building. Asked to write a plan from an approved spec, the session implements the project in a scratch directory, generates the plan's code blocks from that implementation with a script, then writes a second script to replay the plan and prove it matches. The plan is the deliverable and it doesn't arrive.
Field evidence (Superpowers 6.4.1, Claude Code 2.1.280,
claude-opus-5-5), from two of Harper Reed's projects:specrater): the plan overview records the method verbatim: "Each writer builds its tasks' code in a scratch copy of the repo, runsmake checkthere, and transcribes the verified code into a plan part." 16,704 lines of plans, 25 compaction boundaries in the root transcript, two of four milestone plans written, no application code in the repo, pluscheck-transcription.shandcheck-part-hygiene.shbuilt to keep the plan in sync with the scratch tree.Reproduced with Opus 5.5 subagents on a 12-component Go spec (SQLite, bcrypt, HTTP API, worker, CLI): 6/6 runs built the whole project in scratch (61–187
.gofiles), rendered the plan from it, and replayed it — 38–76 tool calls, 17–24 minutes. It happens with the current skill (2/2), with No Placeholders and type-consistency removed (2/2), and with no skill at all (2/2). The model verifies code by running it; nothing in the skill says planning doesn't.What does this PR change?
Adds one section, "The Plan Is a Document," above Scope Check: the deliverable is the plan file, its code is checked by reading it against the spec, earlier tasks' interfaces, and the self-review checklist, and it first runs in its task's test cycle. Planning ends when the plan is written and self-reviewed.
Is this change appropriate for the core library?
Yes. writing-plans is core, and the failure is model behavior on any multi-component spec, not project-specific.
What alternatives did you consider?
All on the same fixture and prompt, Opus 5.5, 5 reps each; "built" means the run implemented the project outside the plan (dependency-version probes and reading library source don't count).
#2333 fixes this too, and does it better: once plans stop carrying implementation bodies, there is nothing to verify by building, and runs are a third of the time and half the tokens. This section adds nothing measurable on top of #2333. This PR is a stopgap: one additive section that leaves the tuned No Placeholders text alone, so it can land while #2333's larger rewrite is reviewed. It should be closed or reverted when #2333 merges.
The prose-implementation arm (close to #2333's step recipe without its proportion check and reader changes) had one run write the plan, then implement the whole project in scratch to "dry-run" it — the same instinct, applied after writing instead of before.
Does this PR contain multiple unrelated changes?
No. One section, one failure.
Existing PRs
Environment tested
New harness support (required if this PR adds a new harness)
Not applicable.
Evaluation
godirectives, one tiny version-resolution module) and several said unprompted that the plan's code first runs in its task's test cycle. Plans still carry full code, so length, time and tokens are unchanged; what's gone is the scratch implementation and the render/replay tooling that compounded into the field reports' compactions.Rigor
superpowers:writing-skillsand completed adversarial pressure testing (paste results below)writing-skills: RED baseline first (6/6 across three arms including no-skill), form chosen per "Match the Form to the Failure" (a recipe for a wrong-shaped process, not a prohibition), two wordings compared against the baseline, every run's work log and scratch directory read. Not done: multi-pressure adversarial scenarios, and a clean-config control. Every arm's subagents inherited the maintainer's global CLAUDE.md, which pushes TDD and never skipping steps; Harper's sessions also carried strict verification instructions. Also unmeasured: whether plans whose code was never compiled produce more fix rounds during execution.
Human review
https://claude.ai/code/session_011XgkdvAxv9MF2k55kX6Npj