✨ feat(docs): gate example pack and format claims against dogfood (EX-S01) - #58
Merged
Conversation
Paper-gate both polarities so README cannot name a pack or input format that is not shipped under examples/packs, and a dogfooded pack cannot go undocumented. Wired through task docs-gates.
… tests-dir mutation (EX-S01 review) P1-F1: readme_formats tokenized only a hard-coded whitelist, so an unrecognised claim (e.g. toml) was silently dropped and the gate stayed green (REQ-EX-S01-04 fail-open). Now the ENTIRE comma-separated list after 'Input formats:' is tokenized and any token with no matching pack class match.paths extension reddens with a dedicated message. New toml polarity assertion added red-first. P1-F2: the orphan (no .assent/tests/) mutation used GOOD_README, which omits orphan, so deleting the tests-dir check still reddened via the packs-list mismatch — the mutation could not detect removal of the check. The mutation now uses a README variant that lists orphan and asserts the redden reason is the tests-dir message. Verified: deleting the check now flips this assertion to FAIL. P3: deleted the dead bare-tf branch after the exact FORMATS match — the match guarantees tfvars is present, so the branch could never fire.
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.
EX-S01 from openspec/specs/p5-ex-complex-examples/spec.md. Independent review: REQUEST_CHANGES → fixes → fresh re-review APPROVE (no P0/P1). Gates green on merged head.