Exacly model

Requirement · active · spec/exacly/observation.yaml

REQ-010 Write state from CI results

Verification assessments come from observed test results, never from people.

Why it exists

  • REQ-010 Write state from CI results Requirement main: delivery releasedmain: verification passed
    • supports → PROC-002 Refresh state on main Process
      • uses_capability → CAP-002 Observe a model's reality Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-010 Write state from CI results Requirement main: delivery releasedmain: verification passed
    • implements ← APP-002 Refresh Application
      • depends_on → INF-001 GitHub Actions Infrastructure
      • depends_on → INF-002 GitHub repository Infrastructure
      • reads → INFO-001 Model config Information
        • stores ← INF-002 GitHub repository Infrastructure (above)
      • writes → INFO-002 Model state Information
        • stores ← INF-002 GitHub repository Infrastructure (above)

main config 94cbae926e86

AssessmentReasonEvidenceAt
delivery released
distribution
Refresh (APP-002) is at python/src/exacly/refresh.py in revision 96c1c765093403f5b27d67c10d7e1fba119995982026-10-26T20:18:30Z
verification passed
tests
All 98 selected test cases passed2026-11-22T17:48:12Z

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-10-28
statement
For each record with a tests binding, write a verification assessment for the observed implementation against the supplied model from the test cases the binding selects, with the run as evidence, and increase the serial while keeping the lineage and original identities of retained observations.
acceptance_criteria
  • Every selected case passing gives passed; any failing gives failed, with the failing cases as the reason.
  • A mix of passing and skipped selected cases gives inconclusive with evidence and a reason naming skipped cases; skipped cases count as present for pattern matching, and missing-pattern diagnostics and failure precedence are preserved.
  • A binding whose selected cases did not run, or without cases and without the job's result, gives not checked, with the reason.
  • A pattern that selects no case in the report gives inconclusive, naming the pattern, unless a selected case failed, which gives failed and names both.
  • A binding without cases takes the job's result.
  • A record without a binding gets no verification assessment.
  • An optional model revision identifies the approved criteria and bindings separately from the observed implementation revision; omitting it uses the implementation revision for both, preserving existing callers and positional Run arguments.
  • State config_revision names the effective model revision; each new test assessment subject names the model and implementation revisions independently, while assessment context and evidence applies_to name the implementation revision.
  • Revision flags label the supplied config and reports without checking out Git revisions or authenticating their provenance; an automatic GitHub source link uses the selected implementation revision and an explicit source URL is preserved.
  • In a distribution context, a Requirement whose active implementer's reference exists at the revision is assessed as released there.
  • Distribution refresh rejects distinct model and implementation revisions before writing state; matching full and abbreviated Git revisions retain the existing behavior.
  • The serial increases by one on each write, and the lineage stays the same; earlier state for another model or context is refused.
  • Each assessment names its source, tests with the binding's workflow and job, or distribution.
  • A record may have several tests bindings, each observed only by runs of its workflow and job; a run replaces only the results of the bindings it observed, and a binding's result goes when the binding leaves the config.
  • A write replaces only the assessments of the sources it observed, keeping another observer's, and drops observations and pending work for records and relationships that left the config.
  • An earlier verification or delivery assessment without a source is rewritten as tests or distribution; one of another dimension is kept and reported.
  • Advancing the enclosing state's model revision or migrating a legacy source never relabels the original subjects or evidence applicability of retained observations.
  • The refresh command publishes through the shared conditional state writer; a conflicting write requires a fresh observation and does not overwrite the newer state.
  • The state written is accepted by the validator.
verification_method
Refresh tests in CI.
observe
tests
cases
  • python/tests/test_refresh.py::*
  • python/tests/test_refresh_identity.py::*
  • python/tests/test_refresh_identity_cli.py::*