Skip to content

Attribute existing tests to the requirements they pin (6 → 51) - #12

Merged
rokoss21 merged 1 commit into
masterfrom
feat/attribute-existing-tests
Aug 21, 2026
Merged

Attribute existing tests to the requirements they pin (6 → 51)#12
rokoss21 merged 1 commit into
masterfrom
feat/attribute-existing-tests

Conversation

@rokoss21

Copy link
Copy Markdown
Owner

Second step of ROADMAP item 1.

Nothing is implemented here. These are tests that already existed and already passed, now pointed at the normative statements they actually enforce — so the coverage map reflects the compiler instead of understating it.

Chapter Covered Total
§12 standard facets 9 17
§13 interfaces 6 9
§14 variables / inputs 9 13
§15 testing 3 3
§16 policy 12 65
others 12 99

facet_semantics_tests, interface_tools_tests and the error-catalog matrix turned out to pin one normative statement each with unusual precision, which made the attribution mechanical rather than judgemental.

What §16 tells us

The twelve covered statements are all validation — rule schema, name matchers, condition typing. The remaining fifty-three are guard behaviour: decision order, fail-closed timing, effect-class semantics. None of it is observable while run builds one request and stops, so it is blocked on ROADMAP item 2 (closing the execution loop), not on writing more tests. §17 and Appendix F are in the same position. ROADMAP.md now says so, so the gap is not mistaken for laziness about tests.

Mechanics

  • CI baseline rises 6 → 51; it only moves one way
  • the report is written to docs/conformance/coverage-report.md on every run
  • every cited test name is verified to exist, so the map cannot drift into fiction

🤖 Generated with Claude Code

Coverage moves from 6 of 206 to 51. Nothing was implemented here: these
are tests that already existed and already passed, now pointed at the
statements they actually enforce, so the map reflects the compiler
instead of understating it.

The language chapters are largely attributed now — §12 9/17, §13 6/9,
§14 9/13, §15 3/3 — mostly from facet_semantics_tests,
interface_tools_tests and the error catalog matrix, which turn out to
pin one normative statement each with unusual precision.

§16 lands at 12/65, and the shape of what is left is the point: the
covered twelve are all *validation* (rule schema, name matchers,
condition typing), while the remaining fifty-three are guard
*behaviour* — decision order, fail-closed timing, effect-class
semantics. None of that is observable until the execution loop exists,
so it is blocked on ROADMAP item 2 rather than on writing more tests.
The same is true of §17 and Appendix F. Recorded in ROADMAP.md so the
gap is not mistaken for laziness about test-writing.

The CI baseline rises to 51 and the report is now written to
docs/conformance/coverage-report.md on every run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@rokoss21
rokoss21 merged commit ca8066a into master Aug 21, 2026
14 checks passed
@rokoss21
rokoss21 deleted the feat/attribute-existing-tests branch August 21, 2026 22:20
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.

1 participant