Repository navigation
Add documentation-accuracy and unit-test-expansion work-mode stages to Phase 2 - #52
Merged
Merged
Conversation
…o Phase 2 Phase 2 now presents two additional first-class cycle work-modes beyond implementing issues: Stage A (repo-wide documentation accuracy sweep, complementing the PR-scoped Phase 7 check) and Stage B (unit-test expansion via characterization tests that never change production code). Both reference the generated skill's own Phase 7 doc table and Phase 3 test conventions, so they auto-adapt per project and introduce no new placeholders. Phase 7 now labels itself PR-scoped and points to Stage A; Phase 3 cross-references Stage B; the plan summary generalizes "Issues in scope" to "Work in scope". Grounded in RESEARCH.md §2 (documentation and test PRs merge at higher rates) and §3 (regression/characterization tests as confidence signal). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6 of 7 tasks
dmccoystephenson
added a commit
that referenced
this pull request
Jul 25, 2026
* Fix documentation drift across the three sources of truth
Stage A documentation-accuracy sweep findings:
- create-dev-loop.md Phase 1 hardcoded "tests green" / "CI must be green
first" where the rest of the template uses {{EXTERNAL_SIGNAL_LABEL}};
drift introduced after PR #28 generalized the anchor
- RESEARCH.md was missing Implementations entries for PR #28 (cites §1)
and PR #52 (cites §2 and §3), which CLAUDE.md requires
- RESEARCH.md carried literal \" heredoc-escaping artifacts in the §3 and
§7 Implementations entries
- README Step 3 named only template-version, omitting generated-at;
Step 6 omitted the gap-issue label seeding; the generated-skill
structure list omitted the external signal anchor
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Record this PR's own Implementations entry under RESEARCH.md finding 1
Self-review rubric caught the omission: a PR whose purpose is to backfill
missing Implementations entries must not itself omit one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Avoid implying the external signal anchor is a CI-or-manual binary
The Step 4 EXTERNAL_SIGNAL_LABEL row allows a third case (a
project-specific phrase such as "snapshot regression suite"), which the
README bullet's two-way phrasing excluded.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
dmccoystephenson
added a commit
that referenced
this pull request
Aug 3, 2026
…ity, test comment (#103) - README.md: use ln -sf for the Installation symlink, matching Step 5's own registration convention (create-dev-loop.md:624). - CLAUDE.md: clarify that the ISSUE_TEMPLATE doc-table row's *.md glob deliberately excludes config.yml, which has no restatable conventions. - tests/test_check_docs.py: note in the module docstring that any new test class must reset check_docs.errors in its own setUp(), so a future addition doesn't silently leak state between tests. Not included, with reasons: - RESEARCH.md's "Observed effect: pending — needs N cycles of data" entries (PRs #29/#30/#52/#54): this needs real usage data the maintainer would have to supply; nothing to mechanically edit here without fabricating an observed effect. - The flagged openai.com RESEARCH.md link: re-verified via an independent fetch, still 403 (not 404) — consistent with bot/WAF blocking a non-browser client, not a confirmed dead link. Left as-is.
dmccoystephenson
added a commit
that referenced
this pull request
Aug 3, 2026
…o Phase 2 (#52) Phase 2 now presents two additional first-class cycle work-modes beyond implementing issues: Stage A (repo-wide documentation accuracy sweep, complementing the PR-scoped Phase 7 check) and Stage B (unit-test expansion via characterization tests that never change production code). Both reference the generated skill's own Phase 7 doc table and Phase 3 test conventions, so they auto-adapt per project and introduce no new placeholders. Phase 7 now labels itself PR-scoped and points to Stage A; Phase 3 cross-references Stage B; the plan summary generalizes "Issues in scope" to "Work in scope". Grounded in RESEARCH.md §2 (documentation and test PRs merge at higher rates) and §3 (regression/characterization tests as confidence signal). Co-authored-by: BuildTools <unconfigured@null.spigotmc.org> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dmccoystephenson
added a commit
that referenced
this pull request
Aug 3, 2026
* Fix documentation drift across the three sources of truth
Stage A documentation-accuracy sweep findings:
- create-dev-loop.md Phase 1 hardcoded "tests green" / "CI must be green
first" where the rest of the template uses {{EXTERNAL_SIGNAL_LABEL}};
drift introduced after PR #28 generalized the anchor
- RESEARCH.md was missing Implementations entries for PR #28 (cites §1)
and PR #52 (cites §2 and §3), which CLAUDE.md requires
- RESEARCH.md carried literal \" heredoc-escaping artifacts in the §3 and
§7 Implementations entries
- README Step 3 named only template-version, omitting generated-at;
Step 6 omitted the gap-issue label seeding; the generated-skill
structure list omitted the external signal anchor
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Record this PR's own Implementations entry under RESEARCH.md finding 1
Self-review rubric caught the omission: a PR whose purpose is to backfill
missing Implementations entries must not itself omit one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Avoid implying the external signal anchor is a CI-or-manual binary
The Step 4 EXTERNAL_SIGNAL_LABEL row allows a third case (a
project-specific phrase such as "snapshot regression suite"), which the
README bullet's two-way phrasing excluded.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
dmccoystephenson
added a commit
that referenced
this pull request
Aug 3, 2026
…ity, test comment (#103) - README.md: use ln -sf for the Installation symlink, matching Step 5's own registration convention (create-dev-loop.md:624). - CLAUDE.md: clarify that the ISSUE_TEMPLATE doc-table row's *.md glob deliberately excludes config.yml, which has no restatable conventions. - tests/test_check_docs.py: note in the module docstring that any new test class must reset check_docs.errors in its own setUp(), so a future addition doesn't silently leak state between tests. Not included, with reasons: - RESEARCH.md's "Observed effect: pending — needs N cycles of data" entries (PRs #29/#30/#52/#54): this needs real usage data the maintainer would have to supply; nothing to mechanically edit here without fabricating an observed effect. - The flagged openai.com RESEARCH.md link: re-verified via an independent fetch, still 403 (not 404) — consistent with bot/WAF blocking a non-browser client, not a confirmed dead link. Left as-is.
6 of 7 tasks
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.
What
Adds two additional first-class cycle work-modes to Phase 2 of the generated dev-loop template, so a cycle's unit of work can be more than implementing issues or grooming a PR:
Supporting edits: Phase 3 cross-references Stage B; the Plan summary generalizes "Issues in scope" → "Work in scope".
Design notes
{{placeholders}}— it references existing phases (Phase 7 table, Phase 3 conventions, Phase 3 scope ceiling) by number, which are stable. So no Step 4 substitution-table rows are needed, and the stages adapt per project automatically.Research grounding
Follow-up
Retrofit PRs against every existing generated skill that predates this change are being opened separately, per the "Promoting a rule into the template" convention in CLAUDE.md.