Requirement · active · spec/exacly/understanding.yaml
REQ-012 Answer questions from config and state
The same answers for people (as text) and agents (as JSON), computed from the model.
Why it exists
How it is realized
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| delivery released distribution | Query (APP-003) is at python/src/exacly/query.py in revision 96c1c765093403f5b27d67c10d7e1fba11999598 | 2026-10-26T20:18:30Z | |
| verification passed tests | All 49 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-25
- statement
- Given a model's config and state, show a record with its relationships, state and findings; trace why it exists up to Outcomes and how it is realized; list what a change to records, or between two revisions, affects; and list the model's gaps beyond conformance.
- acceptance_criteria
- Show gives the record, its document, its relationships in both directions, its state and pending work by context, and the findings that name it.
- An unknown record is an error that suggests close IDs; a reference qualified with the model's namespace works.
- Trace follows supports, uses_capability, contributes_to, implements, evaluates and stores up, and uses, reads, writes, depends_on and contains the other way, marking a record reached twice instead of repeating its branches.
- Impact lists every record that relies on the changed ones with the shortest path, the Outcomes reached, and the Requirements to check again with their bindings.
- Impact against a Git revision lists records and relationships added, changed (with the fields) and removed, including relationships to other models, and traces removals in the earlier model.
- A relationship added, changed or removed affects the record that relies on the other end, in both its earlier and its later version.
- Impact against a Git revision works with a relative or absolute model path or pattern, matching a pattern against each revision's files by the same rules, hidden files left out, and with file names Git would quote.
- A record's assessments of one dimension in one context combine to the state that most needs attention (for verification failed, inconclusive, not checked, passed), and a source bound to the record with no result there counts as not checked.
- Show lists every assessment with its source, the combined state, and the bound sources with no result.
- Gaps lists the validator's findings, Requirements not verified or not released in any context, Requirements without a binding, proposed Measures and pending work.
- Every answer is available as JSON.
- A config file that doesn't parse, or holds a value YAML can't construct, is an error naming the file and line, not a traceback.
- verification_method
- Query tests in CI.
- observe
- tests
- cases
- python/tests/test_query.py::*