Requirement · active · spec/exacly/validation.yaml
REQ-011 Keep config and state in version control
Config and state history is the repository's history. Whether main accepts changes only through pull requests is a repository setting on GitHub, outside what the repository itself can verify.
Why it exists
How it is realized
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| delivery released distribution | GitHub Actions (INF-001) is at .github/workflows/spec.yml in revision 96c1c765093403f5b27d67c10d7e1fba11999598 | 2026-10-26T20:18:30Z | |
| verification passed tests | All 9 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-26
- statement
- Keep config and state in the repository, so main is the current baseline, branches are proposed changes, and tags are historical baselines; only CI writes state, and only from main.
- acceptance_criteria
- Config lives in spec/exacly/ and CI checks every change to it, or to the tooling, on pull requests and on main.
- The workflow cannot write by default; only the state job can, and it runs only on pushes to main after the checks pass.
- The state job commits only spec/exacly/state/main.json, never force-pushes, and marks its commit so it does not trigger CI.
- Test reports and state computed by a check run are not committed.
- The check run requires applicable verification for every active Requirement, without requiring a release or deployment.
- verification_method
- Tests that read the workflow and the repository's ignore rules, in CI.
- observe
- tests
- cases
- tests/test_ci.py::*