feat: MFT/INV/DIR test coverage spec — classify-before-generate taxonomy#25
Merged
screenleon merged 4 commits intomainfrom Apr 29, 2026
Merged
Conversation
Introduces structured test category rules (GTCS-001/002/003) so agents classify each test case before writing it, making INV and DIR coverage gaps explicit rather than silently absent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes structural issue where original Added items were orphaned under Changed, merges duplicate Changed sections, and adds version link. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…opters Template development decisions belong in DECISIONS_ARCHIVE.md, not in DECISIONS.md which adopters inherit as a clean starter log. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…RCHIVE.md DECISIONS.md now contains only the header and a commented entry template. Template-internal decisions moved to DECISIONS_ARCHIVE.md which was missing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
rules/global/test-coverage-spec.md— three global rules (GTCS-001/002/003) introducing the MFT/INV/DIR taxonomy: classify each test case into exactly one category before writing it; scale-based coverage floors (Small ≥1, Medium ≥2, Large ≥3); absent categories must be stated with a specific reason in the structured preamble or test-file header.skills/test-and-fix-loop/SKILL.md— added "Test category classification" section (table, workflow, INV-vs-DIR heuristic, scenario examples); four new conformance self-check items;rulesfield in YAML front matter referencingtest-coverage-spec.md.rules/global/code-quality-baseline.md— peer-rule cross-reference totest-coverage-spec.mdfor agent discoverability.DECISIONS.md— decision entry with context, alternatives considered, and constraints introduced.CHANGELOG.md— Added and Changed entries.No CI files changed. All changes are adapter-neutral markdown.
Review notes
Critic and risk-reviewer were both run before this PR. Issues addressed:
depends_onmissing rule referencerules:field in YAML front mattercode-quality-baseline.mdmissing cross-referenceTest plan
rules/global/test-coverage-spec.md— verify GTCS-001/002/003 are internally consistent, no Directive/Conflict-handling contradictionsskills/test-and-fix-loop/SKILL.md— verify classification section appears before test-first guidance; workflow step 5 specifies absence destination; conformance self-check has 9 items in correct orderDECISIONS.md— verify GTCS entry is present and dated 2026-04-29CHANGELOG.md— verify Added (test-coverage-spec.md) and Changed (3 files) entries are present.github/workflows/or CI files were modified🤖 Generated with Claude Code