Skip to content

Fix S18.6 self-test to account for the design freeze downgrading EnforcementUnevidenced - #40

Merged
The-Running-Dev merged 1 commit into
mainfrom
fix/38-s18-6-freeze-downgrade
Aug 24, 2026
Merged

Fix S18.6 self-test to account for the design freeze downgrading EnforcementUnevidenced#40
The-Running-Dev merged 1 commit into
mainfrom
fix/38-s18-6-freeze-downgrade

Conversation

@The-Running-Dev

Copy link
Copy Markdown
Owner

Summary

  • tools/Test-DesignState.Tests.ps1's S18.6 test expected the pre-freeze exit code (1) and the finding in .Findings when stripping SupersededBy: from a real superseded decision record.
  • design/FROZEN.md exists on this tree, and design/20-contract.md § The freeze specifies that while it exists, every blocking class — including EnforcementUnevidenced — is downgraded to reported rather than blocking; exit stays 0 (I21).
  • The test predates the freeze marker and was never updated. Fixed it to assert exit 0 and check .Reported for the finding while frozen, and to check both .Findings and .Reported are clear once the record is restored.

Closes #38.

Test plan

  • Reverted the fix and confirmed the test fails with Expected 1, but got 0. — same failure CI is showing on main
  • Reapplied the fix and confirmed the test passes
  • Ran the full tools/Test-DesignState.Tests.ps1 suite: 123 passed, 0 failed

…rcementUnevidenced

design/FROZEN.md exists on this tree, so per design/20-contract.md "The freeze",
a blocking EnforcementUnevidenced finding is downgraded to reported and the run
exits 0 rather than 1 (I21). The S18.6 self-test predated the freeze marker and
still asserted the pre-freeze exit code and Findings-list location. Fixes #38.
@The-Running-Dev
The-Running-Dev merged commit 36fa443 into main Aug 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S18.6 self-test does not account for the design freeze downgrading EnforcementUnevidenced

1 participant