Requirement · active · spec/exacly/admission.yaml
REQ-019 Admit verification evidence from an approved GitHub producer
Establish the checked origin and target of a live verification report before deriving state from it.
Why it exists
How it is realized
REQ-019Admit verification evidence from an approved GitHub producer Requirement main: verification passed- implements ←
APP-008GitHub verification evidence admission Application- depends_on →
APP-002Refresh Application- depends_on →
INF-001GitHub Actions Infrastructure - depends_on →
INF-002GitHub repository Infrastructure - reads →
INFO-001Model config Information- stores ←
INF-002GitHub repository Infrastructure (above)
- stores ←
- writes →
INFO-002Model state Information- stores ←
INF-002GitHub repository Infrastructure (above)
- stores ←
- depends_on →
- depends_on →
INF-001GitHub Actions Infrastructure (above) - depends_on →
INF-002GitHub repository Infrastructure (above) - reads →
INFO-001Model config Information (above) - writes →
INFO-002Model state Information (above)
- depends_on →
- implements ←
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| verification passed tests | All 483 selected test cases passed | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- active
- last_reviewed_at
- 2026-10-29
- statement
- Given an independently approved producer policy, explicit target, GitHub run and exact attempt, and an evaluation date, verify the live producer and artifact through authenticated GitHub reads, then derive fresh verification state only from an admitted report and approved model files, retaining an explainable receipt with the scope and limits of the admission decision.
- acceptance_criteria
- A strict policy explicitly identifies the repository by numeric ID and full name, exact branch, workflow path and digest, job ID and name, verification/package/upload step names, artifact prefix, observer selectors and digest, and approved model revision, files and config digest; the library supplies no repository layout defaults.
- Candidate-policy generation is available through the installed exacly evidence propose-policy github-actions command, requiring an explicit repository, full immutable revision, repeated model-file paths, policy name/version and a YAML or JSON proposal containing exactly producer and observer_paths; it reuses the policy core to compute remote workflow, observer and model fingerprints without inferring layout or selectors, and repository proposals and generated fingerprints do not approve their producer, execution inputs or model.
- Admission reads the live GitHub source with a read-permission token supplied through the environment and accepts no offline producer metadata or caller-authored state as origin evidence.
- The run must identify the approved repository, a push to the exact approved branch, the selected full implementation SHA and attempt, the configured workflow, and the single designated observation job; branch protection is required unless the independently approved trust policy explicitly sets branch_protection to not_required, and the selected context is independent of the branch name.
- Workflow bytes and the selected observer fingerprint must match the approved policy at the implementation revision; approved model files are fetched at their full revision and checked against the policy's config digest.
- Observer selectors are literal safe repository-relative files or directory subtrees with no glob patterns; explicitly selected absence is pinned, so later addition, removal or modification changes the fingerprint.
- Admission requires conforming 0.2 config and rejects model inputs containing observed state; the explicit evaluation date governs model conformance and expiry checks.
- Exactly one attempt-named artifact created within the observation job is accepted; its archive digest, manifest identity and report digest are checked, and unsafe or unexpected archive contents are rejected.
- The receipt identifies the artifact's job and attempt association as an inference from the approved single-job contract and timing; it records the selected branch_protection mode, branch_protection_verified and the required live check's actual timestamp separately from as_of, or false and null when protection is not required, without claiming historical protection or evaluating the strength of branch rules.
- A producer job completed after the selected UTC evaluation date is rejected.
- The approved producer packages only a manifest and a complete JUnit report for a completed verification step, retaining failures as observations; skipped or cancelled steps and missing reports are rejected.
- Positive assessments from a failed verification step become inconclusive so that a reported positive cannot hide the failed step.
- An admitted result derives fresh state using approved model and observed implementation identities without merging caller-supplied state; rejected results create no verification state.
- A decision writes a receipt atomically to a new output directory with POSIX mode 0700; admitted results also retain the archive, report and state, while rejected results retain only the receipt; every retained file is created with mode 0600 independently of the caller's umask, and existing output paths are refused.
- Exit status is 0 for admitted evidence, 1 for rejected evidence and 2 for invalid inputs or output errors.
- Receipts limit their claim to checked origin and target applicability, explicitly leave test honesty and acceptance coverage unverified, and are not self-authenticating; admission neither signs receipts, dispatches work nor closes tasks.
- The optional branch_protection field accepts only required or not_required and omission retains the required default without rewriting the approved policy or its digest; opt-out never bypasses exact branch identity, failed GitHub reads or other admission checks, and changing the choice changes the trust contract for registration, reconciliation and completion.
- The policy-drafting command preserves branch_protection omission, uses the environment token convention for authenticated GitHub reads, writes deterministic candidate JSON only to a new file outside declared model folders without overwriting or aliasing inputs, and returns the same bytes with --json; candidate creation exits 0 and errors exit 2, leaves approval and installation to independent review and controlled storage, and is covered by installed-wheel checks outside the source checkout.
- verification_method
- Admission core, policy-drafting and admission commands, GitHub transport, producer-workflow and installed-wheel tests in CI.
- observe
- tests
- cases
- python/tests/test_admission.py::*
- python/tests/test_admission_cli.py::*
- python/tests/test_github_evidence.py::*
- python/tests/test_policy_drafting_cli.py::*
- tests/test_evidence_workflow.py::*
- tests/test_policy_distribution.py::*