Skip to content

Validate: C16 reports a quarantine file that names no stage of the settings - #68

Merged
Arthurvdv merged 2 commits into
mainfrom
wp08/validate-quarantine-stage
Oct 7, 2026
Merged

Arthurvdv merged 2 commits into
mainfrom
wp08/validate-quarantine-stage

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

Summary

  • Test-QuarantineFiles takes the settings; a quarantine.<x>.json whose <x> is not a stage slug gets the warning C16: "quarantine..json names no stage of the settings, so its ids are not quarantined anywhere; rename it to a stage slug, remove it, or add the stage".
  • Runs only when the settings have no C5 findings; not blocking; the file still feeds C7 and C13 as before.
  • Fixture overlay tests/fixtures/repos/unknown-quarantine-stage/ (quarantine.staging.json with LC0099, which no valid-minimal chain mentions) and five Pester cases (fixture, C7/C13 still fed, settings without stage CI, C5 suppression, valid-minimal and template/ clean).
  • Docs: ARCHITECTURE §5.3 row C16 (with the C13 pairing and why unusedRulebookFiles is no remedy) and §5.5 order, composition.md invariants, naming.md §6 row, every "C1 to C15" range (README, CONTRIBUTING, Validate action and module) now "C1 to C16".

Closes #48

🤖 Generated with Claude Code

Arthurvdv and others added 2 commits October 7, 2026 20:46
…ttings

Test-QuarantineFiles takes the settings and adds the warning C16 for a
quarantine.<x>.json whose <x> is not a stage slug, only when the settings
have no C5 findings. Not blocking; the file still feeds C7 and C13.
Fixture overlay unknown-quarantine-stage, Pester cases, ARCHITECTURE 5.3
row and 5.5 order, naming.md section 6 row, and every C1 to C15 range
moved to C1 to C16.

Refs #48

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…its ARCHITECTURE row

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Arthurvdv Arthurvdv added the enhancement New feature or request label Oct 7, 2026
@Arthurvdv
Arthurvdv merged commit e306374 into main Oct 7, 2026
4 checks passed
@Arthurvdv
Arthurvdv deleted the wp08/validate-quarantine-stage branch October 7, 2026 18:59
@Arthurvdv Arthurvdv mentioned this pull request Oct 7, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate: report a quarantine file that names no stage of the settings

1 participant