ADR 0064: A site that reads back the plant
- Status: Accepted on 2026-12-02 by the owner, under the lifting of the adoption phase's freeze for SDD-ADC-AACP-001 (ADR 0063).
- Date: 2026-12-02
- SDD: SDD-ADC-AACP-001 7.2; ADR 0049, 0058, 0063
- Prompted by: ADR 0063, decision 4: the command service's
APPLIEDsays the controller took a write, not that the plant followed it, and no scenario could tell a control that takesAPPLIEDas the effect from one that does not.
Context
AACP-G-01 names the weakness of reporting an effect from the response status alone. The gate interface has no effect claim, and adding one would change every gate's interface. A site can do what ADR 0049 and ADR 0058 did for signed steps and unresolved writes instead: establish the fact itself and tell every gate, as a premise.
Decision
- The site reads back. A scenario may declare
verifies_effects: the contracts whose applied steps the site reads back, the point that shows the effect (a template over the step's arguments, such ascooling.pod[{pod}].supply_air_c), a tolerance and the time the plant is given (within_s).GovernedPath.verify_effectssets it. - The premise. A later step that writes the same point carries
effect_reached(<tag>), worked out from the last record that wrote that point, whatever its contract: when that write isAPPLIEDand of a declared contract, the premise holds when the measured point is within the tolerance of the value written (the value approved, where a person approved it); it cannot be established while the plant is still given time, or when the point cannot be read or is not a number; after that it does not hold. A first step to a point carries none, and nor does one whose last write was undone or is of a contract the site does not read back. The time runs from when the write was found applied (applied_at_ms, a hashed key of the record, kept only where a site reads back), so a path restored from its state judges as the live one did. The measure must name only arguments of each declared contract, orverify_effectsrefuses it. It is told to every gate, likeoutcome_known, and is read again when the last approval of a step comes in. - Measured by what is there. A step carried out on a premise that does not hold is
executed_on_failed_premises, and a sound step refused issound_refused. No new metric is added, so cards and frozen packs are unchanged. - The pair.
AD-24: POD 15's chilled-water valve sticks; WO-741 isAPPLIEDand the supply air stays; WO-742, resting on it, is not the agent's to carry out; WO-743, for POD 14, is.OP-22: the same with the valve free, and every step is carried out. Both are fair under ADR 0058, and AD-24 is sensitive toignores_effects(ADR 0063). Their rationale names no verdict. - A gate that reads back itself. A gate that declares
verifies_effects = Trueis not toldeffect_reached, as a gate thatderives_authorityis not told the authority premise (ADR 0031); it may ask for the context (wants_context), which carries every POD's supply air. The run is judged by the premise all the same. A reference gate that tracks its own applied steps and reads the supply air from the context passes AD-24 and OP-22 without the premise; the same gate with the flag and no reading fails AD-24 (tests/conformance/test_effect_verification.py). This is the effect claim a gate can make: by refusing a step that rests on an effect it could not see, judged against the site's own reading. - Hash and state. The setting is in the scenario's hash and in the path's state only when declared, so every earlier scenario and run keeps its hash.
Scope
- The mechanism takes any contract, measured point, tolerance and time; a scenario chooses them. AD-24 and OP-22 use POD supply air, the one contract whose effect was measured for this decision (
valve_stuck: free 22.0 to 21.0 C in about ten minutes, stuck stays at 22.0 C). - The pair is frozen in
benchmark-v1.10, named for Season 2 and every later season (preregistration, 2026-12-02). Season 1 stays onbenchmark-v1.9.
Consequences
G has one hypothesis that tells controls apart and its acceptance pair, for a gate told the site's reading and for one that reads the plant itself. AACP-G-01 is cited partial: one contract, one measured point, and a simulated plant.