ADR 0063: AACP as the evidence language of the scenarios
- Status: Accepted on 2026-12-02 by the owner, who lifted the adoption phase's freeze for this work alone.
- Date: 2026-12-02
- SDD: SDD-ADC-AACP-001; SDD-ADC-001 9.4 and 12; ADR 0046, 0049, 0055, 0058
- Prompted by: the first run of the AACP crosswalk (phase 1 of SDD-ADC-AACP-001), which showed that a hypothesis scenario was only checked against limits-only and refuse-everything controls, never against a control that lacks exactly the protection the scenario is about; that F had no scenario in which the plant changes between approval and write, and G none in which a confirmed write lacks its effect, without saying why; and that some text a control can read names the expected verdict.
Context
CONTRIBUTING.md puts the project in an adoption phase from 2026-11-25: no new feature until a person from outside has reached a result on their own. The owner lifted the freeze once before, for the language-model agent (ADR 0035). The owner lifts it a second time, on 2026-12-02, for phase 2 of SDD-ADC-AACP-001 only. Nothing else is admitted by this decision.
AACP shows a probe tests something in three steps: it observes the weakness on a weak subject, stops observing it when that weakness alone is repaired, and observes it again when the protection is removed from a sound subject (sensitivity). ADR 0058 already holds every scenario to a weaker form of the first two: the limits-only control fails it and follows_the_rules passes it. It does not say which protection a scenario tests.
Decision
- Weakened references.
fairness.WEAKENINGSnames the weakened references, eachfollows_the_ruleswith one family of premises ignored:ignores_authority(authority(...)),ignores_signed_actions(action_authorized(...)),ignores_outcomes(outcome_known(...)),ignores_effects(effect_reached(...), added by ADR 0064),ignores_unknown(a premise that could not be established is taken as holding) andignores_plant(every premise about the plant). They belong to no system, are on no card, and are not reference controls of ADR 0058. - Sensitivity of a scenario. A hypothesis scenario names its weakening in the crosswalk (
weakening). It isSENSITIVEwhenfollows_the_rulespasses it with both scripted agents and the weakened reference fails it with one of them;INSENSITIVEotherwise.tools/aacp_sensitivity.pyruns every one and writesinterop/aacp/sensitivity.json, each result with the scenario's SHA-256 and one SHA-256 over the code it ran on (the references, the harness, the control path, the premises and the limits-only control); a result whose scenario or code has changed is stale and fails the check. A hypothesis that the simulator stops before the control is asked (AD-02, AD-10), or whose protection is carried by the path or the command service and not by a premise (AD-04, AD-05, AD-06, AD-07, AD-14), names no weakening and says why (no_weakening). AnINSENSITIVEresult stays in the record and its entry says why (insensitive_note). - Acceptance pairs. A hypothesis with a mapping that bears on A-G names its acceptance pair (
pairs_with) or says why it has none (no_pair_reason). The crosswalk check fails otherwise. - F and G are located, not given new scenarios. Before writing the scenarios SDD-ADC-AACP-001 7.1 and 7.2 proposed, the path was read and tried (
tests/conformance/test_aacp_toctou_and_effect.py): - F. When the last approval comes in, the control path reads the premises, the mandate and any signed authorization again before it writes (ADR 0038, 0049). A chiller trip between a gate's VERIFY and the approval is refused by the path, whatever the gate did, and a gate that releases execution itself is not asked. A scenario of that kind would be passed by the limits-only control and fail ADR 0058, so it is not added. A gate's own TOCTOU window cannot be reached on the governed path; the crosswalk says so.
- G. The command service's
APPLIEDsays the controller took the write. With a POD's chilled-water valve stuck (valve_stuck), the write isAPPLIEDand the supply air does not follow. The gate interface carries no claim of effect, so a gate cannot be held to G here. A scenario that does needs an effect claim in the interface, which is a change to the gate interface and is left to its own ADR. - The leak scan reads the weekly generators.
tools/aacp_crosswalk.py --checkbuilds every kind the weekly generators draw, with fixed times and PODs (a kind's words do not depend on the draw), and scans its work orders with the same words as the library. A hit is acknowledged per kind ingenerator_leaks_acknowledged, with a note; a new kind that names its verdict fails the check until it is. - CI. The
staticjob runstools/aacp_crosswalk.py --checkandtools/aacp_sensitivity.py --check(which reads the record and does not run scenarios).
Not done
-
An effect claim in the gate interface. ADR 0064 gives G a scenario that tells controls apart without one: the site reads the plant back and says so as a premise.
-
Weakenings finer than a family: one that ignores expiry but not revocation needs the mandate rule written again with a hole in it, and is left until a scenario needs to tell the two apart.
- Changing frozen scenarios or generator 2. Their leaking text stays, and is recorded.
- Publishing capability profiles. That stays phase 3, on AACP's terms.
Consequences
A scenario's claim to test a property now rests on a run that shows it fails a control lacking that protection, recorded with the scenario's hash. No scenario is added and frozen versions do not change. Where a scenario cannot tell controls apart because the path itself carries the protection, the crosswalk says so (no_weakening) rather than counting it.