writing-plans: user-facing text that describes app behaviour should cite the code it describes
- I searched existing issues and this has not been proposed before (related in spirit: #2285 — values asserted rather than produced)
What problem does this solve?
A plan fixed onboarding and help texts as "final wording" and ticked them off in self-review. Several described behaviour the code implements differently: "end the session at the top right" (the button sits at the bottom of the content), "when your last set reaches the rep target, +5 kg appears" (the suggestion needs at least two sets, and the increment is user-selectable), history "grouped by training day" (it is grouped by exercise within a session). The UI layer had no tests, so nothing would have caught these before they reached users.
Proposed solution
Add to Self-Review (or What a Step Contains): every statement about a location, condition or number in a user-facing string the plan fixes carries a code reference (file and symbol) it was checked against; a behavioural claim without one counts as a placeholder.
What alternatives did you consider?
Relying on the implementer: the implementer copies "final wording" verbatim by design. Relying on review: the reviewer checks the diff against the plan, and the text matches the plan.
Is this appropriate for core Superpowers?
Yes — help texts, onboarding, error messages and tooltips exist in most user-facing projects, and they are exactly where tests rarely reach.
Environment (required)
| Field | Value |
|---|---|
| Superpowers version | observed on 6.3.0; the gap is still present on dev as of 2026-10-01 |
| Harness (Claude Code, Cursor, etc.) | Claude Code (desktop app, Code tab) |
| Harness version | 2.1.272 |
| Your model + version | Claude Opus 5.5 (claude-opus-5-5) |
| All plugins installed | superpowers, task-observer, claude-mem, context7, plus private skill plugins unrelated to this area |
| OS + shell | Windows 11, Git Bash |
Context
Principle: a text that tells the user what the software does is a claim about the code and needs the same evidence as code that calls it.
Source: obra/superpowers