ADR-011 Policy-Trace ATO Evidence
Posture statement
For an ATO assessor testing whether Canopy can show where each eligibility number came from: this page names the CI job proving each part of the claim, and the commands that reproduce the evidence.
Under ADR-011 every policy value MUST be:
-
(a) in the pack’s
jurisdiction.tomlwith a matchingcitations.tomlentry naming an authoritative source (PAMMS section, CFR / USC citation, agency tunable), OR -
(b) in the federal layer’s
*.json, with a file-level entry in the federal layer’scitations.toml("Every federal parameter file must have a citation here") and membership of exactly one family of the federal layer’sindexing.toml, OR -
(c) in
compliance/adr-011-literal-allowlist.tomlwith a written rationale.
There is no fourth case: a value matching none of these fails the build.
The gates
The ADR-011 / ADR-031 gate family as .gitlab-ci.yml runs it today.
| CI job | Command | What it proves | Exception file |
|---|---|---|---|
|
|
(a) and (b): completeness, orphans, value consistency, schema, staleness, ruleset coverage and allowlist inventory over both citation families — the list is ADR-011 §3. Defaults to |
|
|
|
(b) alone, including each family’s annual indexing window per |
|
|
|
(c): fails on a |
|
|
|
(a)'s loophole: a |
|
|
|
The same rule inside the rulesets: a literal baked into a JDM expression rather than read from |
|
— ( |
|
None of (a)–(c) — the ADR-003 / ADR-006 companion over vocabularies rather than numbers: no Georgia identity in shared non-test Rust, no manual-cited enum or |
|
|
|
Advisory only ( |
— |
rules-check (cargo xtask rules check) compiles every JDM file in the federal layer and in every pack among the layer roots (each directory with a jurisdiction.toml), and evaluates the happy-path fixtures against each pack’s file carrying the fixture’s ruleset name. It carries no citation logic: it proves none of (a), (b) or (c), only that the rulesets the citations describe still load.
Regenerating the evidence pack
# Blocking gates — a failure names the offending key, file or expression.
cargo xtask policy audit
cargo xtask policy audit-literals
cargo xtask policy audit-unwraps
cargo xtask rules lint-inputs
cargo xtask rules check
# Snapshot both citation manifests.
mkdir -p evidence
cp target/config/georgia/current/citations.toml evidence/adr-011-citations-georgia-$(date +%F).toml
cp target/config/federal/current/citations.toml evidence/adr-011-citations-federal-$(date +%F).toml
# Allowlist sizes.
grep -c '^\[\[allowlist\]\]' compliance/adr-011-literal-allowlist.toml
cargo xtask policy audit-literals --explain
cargo xtask policy sync-cache is not part of this recipe — the audit reads only local files. Sync the PAMMS cache before policy drift or a re-pin instead.
Allowlist hygiene
An entry in compliance/adr-011-literal-allowlist.toml is an exact triple — file, expression, and a context substring that must appear within one line of the match — so it suppresses one known site, never a pattern. There is no wildcard form and no verified_date field. reason is enforced by code review, not by the gate: the audit prints it on consultation but never validates it, and the file’s header states that a placeholder reason will not pass review. The mechanical check is cargo xtask policy audit-literals --explain (#1769), which reports each entry’s match count — 0 means a dead entry to retire.
What this does NOT prove
-
The accuracy of a cited value. A PAMMS section may have been amended since the citation’s
verified_date; currency is a separate loop, the Policy Currency Runbook. -
The semantic correctness of a ruleset.
rules checkproves it compiles and evaluates its fixture, not that it implements the cited policy. Per-program tests cover semantics; the JDM rewrite plan documents determination-flow coverage. -
The downstream use of FTI / IEVS / SSA data. That is ADR-004 and
compliance-data-tenancy.
Cross-references
-
ADR-031 — the federal citation family and the currency tooling
-
ATO Readiness — the cross-control matrix this page feeds