interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / provenance / BINDING.md

361 lines · 25661 bytes Raw Blame History Rendered
1# Effect binding, version 1
2
3Status: implemented in `src/binding.rs`, `src/ledger.rs` and `src/lib.rs`; tested in
4`tests/effect_binding.rs`. Companion schema stays 0 (ADR 0004, Proposed); the `effect` link gains a
5required `binding` field.
6
7**Provenance is evidence, never authority.** A verdict says what retained records say and whether
8they agree. It does not allow, deny, authorize or repair anything, and it is never an input to an
9execution decision. The only authority over an AIEN effect is the daemon's own check (desk-key MAC,
10durable replay claim, grant, intent). The verifier opens the archive read-only (test:
11`verifying_reads_and_changes_nothing`).
12
13## What an effect link can bind
14
15| `effect.binding` | Strength | What it binds | What it cannot do |
16|---|---|---|---|
17| `aien-ledger-slice/1` | strong | request id, trace id, approval id, approved path and bytes, the replay claim, the commit, the grant, the intent and the ack, all from records the AIEN daemon wrote, plus the daemon process and executable | prove that a particular human approved (the MAC proves the desk-key holder did); prove the loaded model authored the proposal (the approved path does not consult the model); authenticate the exported records offline (see Trust) |
18| `record_effect_receipt/1` | weaker | tool, outcome, digest of the request arguments, digest of the result data | tell two identical calls apart; name a request or a trace; the producer never writes it on the approved path |
19
20The verdict ends with ` effect=<binding>:strong` or ` effect=<binding>:weak`. A weaker binding is
21accepted (it was in v0) and labelled; it is never upgraded.
22
23## Strong binding: `aien-ledger-slice/1`
24
25`COMPANION.json`:
26
27```json
28"effect": { "binding": "aien-ledger-slice/1", "approval_binding": "aien.approval.v2",
29 "proposal_origin": "model_generation/2" }
30```
31
32Retained records (raw files, each named in `records` with path, sha256, bytes):
33
34| Record | Content | Written by |
35|---|---|---|
36| `ledger_claim` | the replay claim, `approved_submission: "accepted"` | daemon |
37| `ledger_committed` | its settlement, `approved_submission: "committed"`, with the compose evidence | daemon |
38| `ledger_grant` | the reserved `approved_grant` authorization | daemon |
39| `ledger_intent` | `phase: "intent"` | daemon, at the executor's request |
40| `ledger_ack` | `phase: "ack"`, `state: "DONE"`, read back from disk by the daemon | daemon |
41| `daemon_run` | `{kind: "aien-daemon-run", pid, start_ticks, socket, workspace, executable_sha256, ...}` | the run harness, not the daemon |
42
43Each of the first five is one `ComposeRecordView` exactly as the daemon's `ComposeRecall` command
44returns it (`id, cls, kind, subject, tag, links, digest, verified, note, text`); `text` is the
45record's JSON as a string. No sovereign-core change is needed to export them.
46
47`proposal_origin` must be stated; silence is `malformed_companion`. It decides which link is missing:
48
49| `proposal_origin` | Meaning | Verdict |
50|---|---|---|
51| `scripted_turn` | the harness wrote the INTERPLANE model turn | `PASS_LABELLED_INCOMPLETE missing=link:model_turn` (never `PASS complete`) |
52| `model_generation/2` | the tool-call text came from the loaded model through AIEN's own generation path, and the DAEMON wrote a record of that generation (sovereign-core #301); `model_turn` and `ledger_generation` are retained | checked (below); nothing missing |
53| `model_generation/1` | superseded: the generation was observed and written by the run driver | `FAIL unsupported_binding` |
54| anything else | | `FAIL unsupported_binding` |
55
56The loose `record_effect_receipt/1` names no author, so it also leaves `link:model_turn` missing.
57The verdict repeats the origin: `effect=aien-ledger-slice/1:strong proposal=model_generation/2`.
58A companion that declares `complete` while a link is missing fails with `unlabelled_missing`.
59
60`model_generation/2` checks (`src/modelturn.rs`), after the ledger checks below. The generation record is the
61`ComposeRecall` view of the daemon's `effect` note carrying top-level `generation: 1` (spec: sovereign-core
62`docs/DAEMON_GENERATION_RECORD.md`). It is refused unless: `verified` is true, the note is `effect`, the four
63link slots are zero, the text is exactly one JSON object, `generation == 1` and `v == 1`; its id equals
64`model_turn.generation_record_id` (the id the daemon returned in `TurnFinished.generation_record`);
65`output_text_sha256` is the SHA-256 of `model_turn.input`; `model_sha256` and `tokenizer_sha256` equal the
66exported weights and `tokenizer.json`; `daemon.pid` and `daemon.start_ticks` equal `daemon_run`;
67`finish_reason` is `eos` or `max_tokens`, `output_tokens` is positive and the token-id digests are SHA-256 hex;
68its id is smaller than the replay claim's id. The real `aien_legacy` dialect parses `model_turn.input` into
69exactly one request with the trace's request id, tool, arguments and `source_digest`, sent by the `model` named in
70`model_turn.model`. `request_id` and `operation_id` in the record are the client's claims and are not trusted.
71
72Does not prove (from the AIEN document): the digest is of the file read at load time (a swap between hash and load
73is not detected); the record is unsigned and a same-user process able to append to the compose ledger could forge
74one; the exported `verified` flag is the daemon's statement at export time; no capability or authority; nothing
75about correctness of the text.
76
77### Checks (fixed order, first failure wins)
78
791. `effect.approval_binding` is `aien.approval.v2`, else `FAIL unsupported_binding`.
802. All six records are named in the manifest and retained.
813. Each ledger record has `verified: true`, the expected `note`, a 64-hex `digest`, integer `links`
82 and a `text` that parses to a JSON object.
834. Record kinds: claim `accepted`, committed `committed`, grant `approved_grant: 1`, intent
84 `phase: intent`, ack `phase: ack`.
855. Ledger order: `claim.id < committed.id < grant.id < intent.id < ack.id`.
866. `committed.claim == claim.id`; committed links the claim; `grant.replay_claim == claim.id`; the
87 grant links its promotion, evidence and claim; the commit evidence names the grant's
88 `proposal_sha256`, `cx_promotion`, `cx_evidence`.
897. **The approval key is recomputed** from the grant's own nine approval fields in the byte form
90 below. It must equal the grant's `approval_key` and the claim's `approval_key`; the claim's
91 `approval_id` must equal the grant's.
928. **Request and trace identity.** The grant's and the claim's `trace_id` and `request_id` equal the
93 `interplane` link's. Two identical calls differ here: each daemon grant and claim carry their
94 own request id, and the ids are inside the MAC-bound approval key.
959. Intent and ack: intent names the grant and repeats its `proposal_sha256`, `path`, `target`,
96 `content_sha256`, `prior_sha256`; `tool` is `write_file`; the grant's `target` is `workspace + "/"
97 + path`; no ack after the intent is `FAIL effect_interrupted`; ack names the intent and the grant,
98 `state` is `DONE` (`NOT_DONE` is `FAIL effect_not_done`, `UNRESOLVED` is `FAIL effect_unresolved`, see
99 "Recovery outcomes"), and its `content_sha256` and
100 `disk_sha256` equal the grant's `content_sha256`.
10110. **Same process.** `claim.executor.{pid,start}` equals `daemon_run.{pid,start_ticks}`;
102 `daemon_run.workspace` equals the grant's workspace; `daemon_run.executable_sha256` equals
103 `aien.executable_sha256`; the load log's `Binding socket at <path>` equals `daemon_run.socket`.
104 With the load-log model and tokenizer digests (already bound to the export), this ties the
105 effect to the model the same daemon process loaded.
10611. **The INTERPLANE call** (when the trace is retained): the request's tool is `write_file`; its
107 `path` equals the grant's; `sha256(content)` equals the grant's `content_sha256`;
108 `sha256(approved_proposal_bytes)` equals the grant's `approved_proposal_sha256`;
109 `sha256(compose_proposal_bytes)` equals the grant's `proposal_sha256`; the result is `ok` and
110 its `data.receipt` names the same grant, intent and ack ids and digests, `DONE`, and the same
111 request and trace.
112
113### Exactly which bytes are hashed
114
115Nothing in this binding is JCS. Each digest below has one named form. `src/binding.rs` writes each
116form byte for byte; a form it cannot reproduce is refused, never approximated.
117
118`json_string(s)`: an RFC 8259 string with only the mandatory escapes: `"` as `\"`, `\` as `\\`,
119U+0008 `\b`, U+000C `\f`, U+000A `\n`, U+000D `\r`, U+0009 `\t`, every other character below U+0020
120as `\u00xx` (lowercase hex). U+007F, U+2028 and all non-ASCII are written as raw UTF-8. This is what
121`serde_json` writes.
122
123| Digest | Input bytes (UTF-8) | Hash |
124|---|---|---|
125| record file | the retained file, unchanged (no re-serialization) | SHA-256 |
126| `approval_key` (`aien.approval.v2`, sovereign-core `approved_auth::binding_bytes`) | `{"approval_id":S,"approved_proposal_sha256":S,"approver":S,"content_sha256":S,"desk_key_id":S,"path":S,"request_id":S,"trace_id":S,"v":"aien.approval.v2","workspace":S}` with each `S` a `json_string`, these keys in this order (their byte order), no whitespace | SHA-256 |
127| `approved_proposal_sha256` | `{"content":S,"path":S}`, compact, that key order | SHA-256 |
128| `proposal_sha256` (compose) | the text `filename: <path>\n<content>` | SHA-256 |
129| `content_sha256` | the content's UTF-8 bytes | SHA-256 |
130| WALDO record pins | Go `json.Marshal` of the record (whitespace-stripped `MarshalIndent`) | SHA-256 |
131
132Test `approval_binding_bytes_are_the_daemons_sorted_compact_object` checks the approval bytes
133against a `serde_json` map of the same fields. `fixtures/real-waldo-aien-chain` recomputes the
134approval key the real daemon wrote, so producer and verifier are checked against each other byte
135for byte on real output.
136
137### Trust, stated plainly
138
139The five ledger files are exports of what the daemon reported. The verifier cannot re-derive a
140Cortex record `digest` (it is Omega's record digest) and cannot tell an export from a hand-written
141file. What the binding adds over a loose file is **internal consistency across independent
142records the daemon writes, and across the INTERPLANE call**: a forger must reproduce a mutually
143consistent set including an HMAC-keyed replay key chain, a process identity and the call bytes.
144Real assurance that the slice came from the daemon needs the journal itself (re-run
145`ComposeRecall` against the live home) or a prefix digest over the whole journal; the verifier
146records neither. This is a limit, not a feature.
147
148## Weaker binding: `record_effect_receipt/1`
149
150```json
151"effect": { "binding": "record_effect_receipt/1",
152 "digest_form": "serde_json.to_vec.sorted-keys/1", "receipt": "effect_receipt" }
153```
154
155aien-cli (`crates/aien-cli/src/tools.rs`, `record_effect_receipt`) hashes with
156`serde_json::to_vec`. The form `serde_json.to_vec.sorted-keys/1` is: compact JSON, object keys in
157UTF-8 byte order, no whitespace, integers in decimal, strings as `json_string`. Differences from JCS
158(RFC 8785) that a shared "sorted keys" reading would hide, each pinned by a test:
159
160- key order: JCS sorts by UTF-16 code unit, so U+1F600 sorts before U+FFFF; UTF-8 byte order puts
161 U+FFFF first;
162- numbers: `1.0` is `1.0` in the producer form and `1` in JCS; a non-integer number is therefore
163 **refused** (`canonicalization_mismatch`), because this verifier does not reimplement the
164 producer's float printing.
165
166Refusals: `digest_form` absent or different is `canonicalization_mismatch`; a digest that equals the
167JCS digest of the same value but not the producer digest is reported as
168`canonicalization_mismatch ... is the JCS form`; any other difference is `binding_mismatch`.
169
170The receipt names no request, trace, approval or model. Two requests with the same tool, arguments
171and result data produce byte-identical receipts and cannot be told apart (test
172`weaker_receipt_cannot_tell_two_identical_calls_apart_and_says_so`). The approved daemon path never
173writes it.
174
175## Not covered by `aien-ledger-slice/1`
176
177- The **minted** flow of sovereign-core #296 (`ComposeAuthorize`, `compose_commit`, `minted_grant`).
178 The INTERPLANE adapter does not use it; a binding for it would be a new version.
179- The approved write path never calls the model ("returns the approved text instead of calling the
180 model", `approved.rs`). Authorship is therefore established upstream, in the same trace, by
181 `model_generation/2`, not by the approved-write ledger records.
182- Model identity inside the approved-write records. They carry no model or tokenizer digests; the
183 daemon process identity is the bridge to the generation record (`model_generation/2`).
184## Fix-the-test slice: test run, source pin, native claim (VAC M3b)
185
186Status: implemented in `src/testrun.rs`; tested in `tests/fix_the_test.rs` on the committed
187`fixtures/synthetic-fix-the-test` (generated by `gen-synthetic <dir> fix-the-test-native`). These
188sections ride on top of `aien-ledger-slice/1` and need it: a `test_run` section beside any other
189effect binding is `malformed_companion`. They run after the ledger checks and before the
190`fixture.class` check.
191
192**The test run is harness evidence, not a daemon effect.** The AIEN daemon only wrote the file
193(`bash_eval` is `NOT_EXECUTED`). The run harness executed the task's test command before the
194proposal and again after the daemon's ack, and retained what it saw. All of these records are
195unsigned exports; the verifier cannot tell a harness export from a hand-written file.
196
197Retained records (named in `records`, raw files):
198
199| Record | Content |
200|---|---|
201| `task` | `{kind: "vac-task", task_id, repo_commit, test_cmd: [argv...], target_path}`; `target_path` is the one file the task allows to change (`target_file` in the fixture's `TASK.md`) |
202| `source_pin` | `{kind: "vac-source-pin", repo, commit, target_path, target_blob_sha256}`: the task's start commit and the SHA-256 of the target file before the fix |
203| `test_run_record` | `{kind: "vac-test-run", v: 1, task_id, argv, cwd_rel, exit_code, test_exit_before, stdout_sha256, stderr_sha256, started_unix_ms, duration_ms, tree_commit_after, target_blob_sha256_after}` |
204| `test_stdout`, `test_stderr` | the test command's output after the fix, byte for byte |
205| `compose_recall` | the daemon's raw `ComposeRecall` report (carries `compose_native`, `omega_sha`) |
206
207`COMPANION.json` gains `"test_run": {"binding": "vac-test-run/1", "task_id": ..., "record": "test_run_record"}`
208and, when the daemon reports it, `"aien": {..., "native": {"claimed": bool, "omega_sha": str}}`.
209
210### Checks (fixed order, first failure wins)
211
2121. **`test_run_missing`**: no `test_run` section while the archive names a `task`, `source_pin` or
213 `test_run_record` (a bundle that carries a task claims a fix, so dropping the section is not
214 silence); or the section's record, or `task`, is absent or not retained.
2152. **`unsupported_test_run`**: `test_run.binding` is not `vac-test-run/1`, or the record's `kind`/`v`
216 is not `vac-test-run`/`1`.
2173. **`task_scope_mismatch`**: `task.target_path` is absent, or differs from the grant's `path`. Without
218 it, a run that rewrote the test file instead of the code would still verify. The task record is
219 written by the same harness as the bundle, so this binds the declared scope to the write; it does
220 not prove the declared scope equals the fixture's `TASK.md` (unsigned-export limit above). Bundles
221 captured before this check (no `target_path`) are refused with this code.
2224. **`source_pin_mismatch`**: `source_pin.kind` is not `vac-source-pin`; `source_pin.target_path` differs
223 from the grant's `path`; `source_pin.target_blob_sha256` differs from the grant's `prior_sha256`
224 (null for a new file also fails); `source_pin.commit` differs from `task.repo_commit`.
2255. **`test_run_mismatch`**: `task_id` differs between the section, the record and `task`; `argv` differs
226 from `task.test_cmd`; `exit_code` is not 0 (the slice claims the test passes after the write);
227 `test_exit_before` is 0 (nothing was fixed) or missing; `target_blob_sha256_after` differs from the
228 ack's `disk_sha256` (the daemon's read-back) or the grant's `content_sha256`; `stdout_sha256` or
229 `stderr_sha256` is not hex, differs from the retained `test_stdout`/`test_stderr`, or the record is absent or labelled not retained (a claimed digest needs the bytes it names).
2306. **`native_claim_contradicted`**: see below.
231
232### Native claim, and what a missing one means
233
234`aien.native.claimed: true` is accepted only when the retained `compose_recall` report says
235`compose_native: true` and its `omega_sha` (40 hex) equals `aien.native.omega_sha`; with no report, a
236report of `false`, or another sha it is `native_claim_contradicted`. `claimed: false` is refused when
237the report says native. A malformed `native` object is `malformed_companion`.
238
239In a bundle with a `test_run` section, `link:native` is **missing** (labelled, never complete) unless a
240native claim was accepted: the field absent (a daemon older than sovereign-core #346) or `claimed: false`.
241The verdict is then `PASS_LABELLED_INCOMPLETE missing=link:model_turn,link:native ...`. Bundles without a
242`test_run` section are unchanged. `omega_sha` is the build's pinned expected sha, a build-time fact; a
243library supplied by override is linked without a sha check (sovereign-core M3a report).
244
245What this check does not do: it reads only the retained `compose_recall` report. The ledger ack records
246carry no `compose_native` field, so the ack is not consulted. The recall report is digest-bound but not
247cross-checked against the five ledger records, so a producer who writes the bundle can hand-write a
248recall report saying `compose_native: true`. That falls under the unsigned-export limit above: the
249verifier detects inconsistent or altered evidence, not a producer that fabricates a consistent set.
250
251Does not prove: that the tests are good, that the proposal came from a model (it is scripted:
252`link:model_turn` stays missing), that the harness is honest, or that nothing else touched the
253workspace between the ack and the second test run.
254
255## Recovery outcomes: effects the ledger does not show as landed (VAC M4d)
256
257Status: implemented in `src/ledger.rs` (`unlanded`); tested in `tests/recovery_verdicts.rs` on the
258committed real slice (`real-waldo-aien-chain`) and the synthetic fixtures, mutated and restamped.
259
260**Behaviour before M4d [O, from `tests/effect_binding.rs`]:** an ack with `state: NOT_DONE` was
261`FAIL binding_mismatch: ledger_ack.state`; an intent with no ack in the manifest was
262`FAIL missing_record_entry: ledger_ack`; `UNRESOLVED` took the same path as `NOT_DONE` [I, same code
263line]. None could pass, but all three were indistinguishable from a tampered bundle.
264
265**Now**, in the checks' fixed order (step 9, after the intent and ack are tied to the grant):
266
267| Ledger shows | Verdict | Meaning |
268|---|---|---|
269| ack `DONE` | as before | the daemon read the file back and it matched |
270| ack `NOT_DONE` | `FAIL effect_not_done` | the daemon read the world back and the write did not land |
271| ack `UNRESOLVED` | `FAIL effect_unresolved` | the daemon could not tell whether the write landed |
272| intent, no `ledger_ack` in the bundle | `FAIL effect_interrupted` | the executor was interrupted after the intent; the write may or may not have landed |
273| any other ack state | `FAIL binding_mismatch: ledger_ack.state=<x>` | not a daemon state |
274
275Why FAIL and not `PASS_LABELLED_INCOMPLETE`: a labelled-missing link says "an otherwise valid chain
276lacks a link". Here the claimed effect is the link, and the ledger says it is absent or unknown. A PASS
277of any kind would let a reader take the effect as having happened. The three codes are checked after the
278records before them agree (a forged claim next to a missing ack is reported as the forgery) and before the
279INTERPLANE call checks.
280
281**A test run cannot certify a write that did not land.** When the bundle carries a `test_run` section or
282any of `task`, `source_pin`, `test_run_record`, each of the three cases above is instead
283`FAIL test_run_on_unlanded_effect: <effect code>: <detail>`.
284
285Limits: the verifier does not re-derive that a recovery was correct, only that the exported ack says
286what it says. An interrupted run's ack may never be written, and then the bundle is unrecoverable as
287evidence of the effect, by design. The NOT_DONE and UNRESOLVED fixtures are synthetic (the real DONE ack
288with `state` changed); a bundle exported from a real daemon after an interruption was not produced.
289
290## Independent evaluation: `rsi-eval/2` (VAC M5)
291
292Status: implemented in `src/evaluation.rs`; tested in `tests/evaluation.rs` on the committed
293`fixtures/rsi-eval-v2` (a receipt signed by spark-rsi's own code) and on the live M5 bundle by
294`adapters/aien/scripts/test-m5-rsi.sh`. Receipt format: spark-rsi `docs/RECEIPT-V2.md`.
295
296The invariant: **no change may be promoted unless its exact identity matches the identity covered by a
297valid, independently signed evaluation.** The proposer (the RSI engine) and the judge run as different
298operating-system accounts; the judge signs with a key only its account can read. The judge's public
299key is a trust input the operator supplies to the verifier (`verify <dir> --judge-key <file>
300[--policy-sha256 <hex>]`); it is never read from the bundle, because a bundle that carried its own key could carry the proposer's.
301
302Retained records (raw files, never re-serialized):
303
304| Record | Content |
305|---|---|
306| `evaluation_receipt` | the judge's version 2 receipt, exactly as the judge printed it |
307| `evaluation_policy` | the operator's policy file the judge ran under (`holdout_set_sha256`, `min_holdout_pass_ratio`, `require_admitted`, `allowed_targets`, `protected_paths`) |
308
309`COMPANION.json` gains `"evaluation": {"binding": "rsi-eval/2", "receipt": "evaluation_receipt", "policy": "evaluation_policy"}`.
310The section rides on `aien-ledger-slice/1` (with any other effect binding it is `malformed_companion`)
311and is checked after the test-run section and before the `fixture.class` check.
312
313### Checks (fixed order, first failure wins)
314
3151. **`evaluation_missing`**: the archive names an evaluation record but has no `evaluation` section; a
316 judge key was supplied but the bundle carries no evaluation; or a named record is absent or not
317 retained.
3182. **`unsupported_evaluation`**: `evaluation.binding` is not `rsi-eval/2`, or `format_version` is
319 neither 1 nor 2.
3203. **`evaluation_v1_insufficient`**: the receipt is version 1 (or has no `format_version`). Version 1
321 does not bind the evaluated change; it stays verifiable as history in spark-rsi but never
322 satisfies this check.
3234. **`evaluation_malformed`**: a field the digest needs is missing or has the wrong type.
3245. **`evaluation_signature_bad`**: the recomputed version 2 digest differs from `receipt_digest` (any
325 field edited after signing), or the P-256 signature does not verify under the supplied key (wrong
326 or substituted key, a receipt signed by anyone but the pinned judge).
3276. **`evaluation_untrusted`**: no judge key was supplied. A receipt is never trusted on its own word.
3287. **`evaluation_subject_mismatch`**: `binding.subject_path` differs from the grant's `path`, or
329 `binding.subject_sha256` differs from the grant's `content_sha256` or the ack's `disk_sha256`. A
330 genuine receipt for different bytes (a substituted change) fails here.
3318. **`evaluation_parent_mismatch`**: the receipt's `parent_id` differs from the archive's
332 `source_pin.commit`, or the archive has no source pin. A genuine receipt for the same bytes judged
333 against another tree fails here.
3349. **`evaluation_policy_mismatch`**: `binding.policy_sha256` differs from the SHA-256 of the retained
335 policy bytes; the operator pinned a policy (`--policy-sha256`) and the retained policy is not it;
336 the written path is under one of the policy's `protected_paths` or not in `allowed_targets`;
337 `require_admitted` is not `true`; or `min_holdout_pass_ratio` is not in (0, 1].
33810. **`evaluation_holdout_mismatch`**: `binding.holdout_set_sha256` differs from the policy's pinned
339 digest.
34011. **`evaluation_below_threshold`**: the judge did not admit the change, or
341 `holdouts_passed < min_holdout_pass_ratio * holdouts_total`, or the total is 0.
342
343A plain `verify <dir>` without `--judge-key` does not look for an evaluation: a bundle with no
344evaluation section passes as an ordinary ledger bundle. An M5 audit must therefore always pass
345`--judge-key` (and should pass `--policy-sha256`, the SHA-256 of the operator's own policy file);
346with a key supplied, a bundle that carries no evaluation fails `evaluation_missing`.
347
348The same checks run in the harness **before** the write (`evaluation::precheck`, against the exact
349bytes about to be proposed), so a change whose receipt does not bind it never reaches the daemon. The
350verifier then repeats them against the daemon's own grant and read-back.
351
352### Trust, stated plainly
353
354- The verifier checks that the pinned judge signed this evaluation of these bytes under this policy and
355 holdout set. It does not re-run the judge; that the judge's holdouts and layers are good tests is the
356 judge's claim.
357- The judge refuses to evaluate when the holdout directory is missing, empty, holds anything but
358 regular `.json` files, a file does not parse, a suite or case is incomplete, or the set's digest
359 differs from the policy's pin. The verifier sees only the digest the judge signed.
360- Key separation holds against the proposing account. The operator account can read the judge key
361 through sudo; that is the operator's authority, and the M5 receipt lists it as a limit.