Exacly model

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

  • REQ-012 Answer questions from config and state Requirement main: delivery releasedmain: verification passed
    • supports → PROC-003 Look into a record before changing it Process
      • uses_capability → CAP-003 Understand a model Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-012 Answer questions from config and state Requirement main: delivery releasedmain: verification passed
    • implements ← APP-003 Query Application
      • depends_on → APP-001 Validator Application
        • reads → INFO-001 Model config Information
          • stores ← INF-002 GitHub repository Infrastructure
        • reads → INFO-002 Model state Information
          • stores ← INF-002 GitHub repository Infrastructure (above)
      • reads → INFO-001 Model config Information (above)
      • reads → INFO-002 Model state Information (above)

main config 94cbae926e86

AssessmentReasonEvidenceAt
delivery released
distribution
Query (APP-003) is at python/src/exacly/query.py in revision 96c1c765093403f5b27d67c10d7e1fba119995982026-10-26T20:18:30Z
verification passed
tests
All 49 selected test cases passed2026-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::*