Summary
Add assertion helpers that compare a repo fixture's expected.semanticFacts against bootstrap output or graph state.
The fixture builder can already carry expected semantic facts. The next step is making those facts executable so Hill 1 tests read like product statements rather than manual graph assertions.
Why
Upcoming bootstrap slices need to prove that artifact inventory, entity extraction, and relationship inference satisfy the design intent. Tests should be able to say: given this fixture, assert these semantic facts were found with the expected edge type, confidence band, and provenance.
Scope
- Add helpers for asserting expected semantic facts against bootstrap JSON summaries, graph exports, or direct graph reads.
- Support exact facts and partial matching for confidence/provenance metadata.
- Produce clear failure messages that name missing, extra, and mismatched facts.
- Keep helpers fixture-local; do not add production graph behavior.
Acceptance Criteria
Related
Summary
Add assertion helpers that compare a repo fixture's
expected.semanticFactsagainst bootstrap output or graph state.The fixture builder can already carry expected semantic facts. The next step is making those facts executable so Hill 1 tests read like product statements rather than manual graph assertions.
Why
Upcoming bootstrap slices need to prove that artifact inventory, entity extraction, and relationship inference satisfy the design intent. Tests should be able to say: given this fixture, assert these semantic facts were found with the expected edge type, confidence band, and provenance.
Scope
Acceptance Criteria
Related