Requirement · active · spec/exacly/validation.yaml
REQ-002 Check references and relationships
References resolve, IDs and edges are unique, endpoints are legal, and cycles are found.
Why it exists
How it is realized
REQ-002Check references and relationships Requirement main: delivery releasedmain: verification passed
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| delivery released distribution | Validator (APP-001) is at python/src/exacly in revision 96c1c765093403f5b27d67c10d7e1fba11999598 | 2026-10-26T20:18:30Z | |
| verification passed tests | All 14 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-25
- statement
- Report duplicate IDs, edges and bindings, unresolved references, relationship endpoints section 6 does not allow, and containment, replacement and dependency cycles.
- acceptance_criteria
- Duplicate IDs and duplicate edges are errors.
- Two bindings of one source on a record that can't be told apart are an error, by workflow and job for tests, otherwise by their whole content.
- A reference to a record the model does not contain is an error; a reference to another model is not resolved locally.
- An endpoint section 6 does not allow is an error, including stores from anything but Infrastructure.
- A containment or replacement cycle is an error; a dependency cycle, including a self-dependency, is a warning.
- verification_method
- Validator test cases in CI.
- observe
- tests
- cases
- python/tests/*/cases.yaml::Duplicate*
- python/tests/*/cases.yaml::IDs must be unique*
- python/tests/*/cases.yaml::A relationship to a record that does not exist
- python/tests/*/cases.yaml::A reference to another model*
- python/tests/*/cases.yaml::A namespace-qualified reference*
- python/tests/*/cases.yaml::A relationship between types*
- python/tests/*/cases.yaml::contains must link*
- python/tests/*/cases.yaml::Only Infrastructure stores*
- python/tests/*/cases.yaml::*cycle*