interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

GitHub aien-dev/aien-architecture-mv#180 (code only)

closed derived d24a104adee67a67 #180

Imported from GitHub aien-dev/aien-architecture-mv#180 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 00e9f2308666f74e58f524b177b2a31eccdc69ba · Head dbc29d24a21fca8791c2b4a8da2dabb33f93dbfc

Apply it

git checkout -b patch-d24a104adee67a67 00e9f2308666f74e58f524b177b2a31eccdc69ba
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/d24a104adee67a67.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-architecture-mv
180
dbc29d24a21fca8791c2b4a8da2dabb33f93dbfc
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":180,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/180","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:52Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 4cb03a0..18e601c 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "eeb1fed714d76f16fe78a886e11fd1888fd37fc5bb062b0f90c719257dd98f12",
-          "last_commit": "a2b1353",
+          "digest": "42d5d87e77fb0d860097e54be1d151b9cb9492f5d2c0c48376be7d93937f483e",
+          "last_commit": "ed2c86b",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -45,15 +45,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:cc651d9cfab66c32e244b53198cfffeb5fe60d27278b0945be1e171afeeb3d61",
-      "compiled_at": "2026-10-09T22:31:15Z",
+      "children_root": "sha256:62efee95e3c46a71a3283fde61e38b23d7eb0903086f3e71c153fdb6d6a4a5e6",
+      "compiled_at": "2026-10-09T22:38:45Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:d7ee5a1f6555219e7946bb5339e52f0323f0f7532e49bd78f7bc8d1a1c151749",
+      "digest": "sha256:44e094b9bacb64b9637c3efb4faa00a8f1fe6f4778166516a14d1917bc543886",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 242,
-      "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f",
-      "source_tree": "sha256:d0bcfd2cee8afb59bc165325322c499fe22a41b74e6a5abb9f628d27b3650cdb"
+      "files": 243,
+      "generated_at_commit": "ed2c86b6b0fd417a763e0524d9a3982ed14feff9",
+      "source_tree": "sha256:698df246ff30faf43744f1be12cbde92c06b11c415dd78c1609a9c565fb611fb"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index 2bf6132..3b4fe98 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -55,8 +55,8 @@
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
         {
-          "digest": "335d3b7f1127417f8d8136266c5b8d95513a632894182a44fa221adc521ac844",
-          "last_commit": "a2b1353",
+          "digest": "1c3367c40243691423ba53254712f2d74c816feba528fc018baabbb765a24858",
+          "last_commit": "ed2c86b",
           "name": "plans",
           "purpose": "Directory docs/plans. Purpose not yet described by a human."
         },
@@ -73,15 +73,15 @@
           "purpose": "Directory docs/specs. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:974c1475362430cecbb92430aee7b233e47a26cc766e85ec8646f3c6ee300704",
-      "compiled_at": "2026-10-09T22:31:15Z",
+      "children_root": "sha256:43671a3ccfec8f905c13e6678e59f74e19fdfa0c91ed12fe161c6437e4088c3c",
+      "compiled_at": "2026-10-09T22:38:45Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:eeb1fed714d76f16fe78a886e11fd1888fd37fc5bb062b0f90c719257dd98f12",
+      "digest": "sha256:42d5d87e77fb0d860097e54be1d151b9cb9492f5d2c0c48376be7d93937f483e",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 134,
-      "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f",
-      "source_tree": "sha256:28819957065d23b5aef52cb7ce7c2b844e656114fb21bcf885401af1368e7e0f"
+      "files": 135,
+      "generated_at_commit": "ed2c86b6b0fd417a763e0524d9a3982ed14feff9",
+      "source_tree": "sha256:0b37dcb090ca96cd192ee056aec961dd67062f9187b61b7a001c332f6d4fc29a"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/.crumb b/docs/plans/.crumb
index 99cdca0..e352b25 100644
--- a/docs/plans/.crumb
+++ b/docs/plans/.crumb
@@ -53,8 +53,8 @@
           "purpose": "Directory docs/plans/arena-x. Purpose not yet described by a human."
         },
         {
-          "digest": "81fad15f1c7b817ab780c6b053d55eff4a8f7ff938d24d86646837cf564404da",
-          "last_commit": "a2b1353",
+          "digest": "48ae65b56ee95830df47d7180df42059a283914573938878986db0b9b1254dca",
+          "last_commit": "ed2c86b",
           "name": "atemporal",
           "purpose": "AT-0 Clock-Free Universe research program: charter, frozen AT0_CASE_V1 and AT0_RESULT_V1 contrac"
         },
@@ -101,15 +101,15 @@
           "purpose": "VAC (Verifiable Autonomous Computing) finite workstream plan. NOT A MASTER PLAN."
         }
       ],
-      "children_root": "sha256:92f5db7f01cadae28f64187df9109eaed4cffe0581543903defc80777a9fd4f5",
-      "compiled_at": "2026-10-09T22:31:15Z",
+      "children_root": "sha256:a68578a244c8681d7a134ed84a3640f30a9325631829d603ceb5b328a733cc9c",
+      "compiled_at": "2026-10-09T22:38:45Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:335d3b7f1127417f8d8136266c5b8d95513a632894182a44fa221adc521ac844",
+      "digest": "sha256:1c3367c40243691423ba53254712f2d74c816feba528fc018baabbb765a24858",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 39,
-      "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f",
-      "source_tree": "sha256:f80da350824c8688cc3794cca1ca111a34f058a66f27b121b32d47be5dd64aa2"
+      "files": 40,
+      "generated_at_commit": "ed2c86b6b0fd417a763e0524d9a3982ed14feff9",
+      "source_tree": "sha256:0879fe5f0a8b1740cabe872d8239e5fc05d95cdc05c5a66a91a85a40e56fb5d6"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/atemporal/.crumb b/docs/plans/atemporal/.crumb
index a8cc0d5..9eb71f4 100644
--- a/docs/plans/atemporal/.crumb
+++ b/docs/plans/atemporal/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-09T22:31:15Z",
+      "compiled_at": "2026-10-09T22:38:45Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:81fad15f1c7b817ab780c6b053d55eff4a8f7ff938d24d86646837cf564404da",
+      "digest": "sha256:48ae65b56ee95830df47d7180df42059a283914573938878986db0b9b1254dca",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 4,
-      "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f",
-      "source_tree": "sha256:e94f58fd1ec7d78993653a88e1cd4edc29b3a888b08f07b144378bb5d01add37"
+      "files": 5,
+      "generated_at_commit": "ed2c86b6b0fd417a763e0524d9a3982ed14feff9",
+      "source_tree": "sha256:36db44817ccb750bf5cbaa70341b2ee19676c350d9d77e073872d9fe5f9c9833"
     }
   },
   "name": "atemporal",
diff --git a/docs/plans/atemporal/AT0_CHARTER.md b/docs/plans/atemporal/AT0_CHARTER.md
index 403b1f6..7411449 100644
--- a/docs/plans/atemporal/AT0_CHARTER.md
+++ b/docs/plans/atemporal/AT0_CHARTER.md
@@ -3,7 +3,7 @@
 **NOT A MASTER PLAN.** `CURRENT_EXECUTION_PLAN.md` owns sequencing and `doctrine/ROADMAP.md` owns milestone identifiers and status (`PLAN_AUTHORITY.md`). AT-0 is a research program label, like DIRAC-0. It is not a registered roadmap milestone (section 10).
 
 **Program status: NOT_RUN.** No AT-0 code exists, no case has been executed, and no result exists. Every gate in section 6 is NOT_RUN.
-**Contract status:** `AT0_CASE_V1` and `AT0_RESULT_V1` are FROZEN on merge of the pull request that adds them (section 8, `AT0_FREEZE.md`).
+**Contract status:** `AT0_CASE_V1` and `AT0_RESULT_V1` FROZEN at aien-architecture#174 (`044c9d1`); `AT0_RESULT_V2` supersedes `AT0_RESULT_V1` and is FROZEN on merge of the pull request that adds it (section 8, `AT0_FREEZE.md`).
 **Written:** 2026-10-09 by Agent 0 (technical coordinator).
 **Snapshots inspected (GitHub default branches, 2026-10-09):** omega `19f73c7`, aien-architecture `27f3b71`, aien-sovereign-core `5b7861f`, physics `9f96f25`, physics0 `fe587d2`, aienos.com `cc389e3` (Atemporal AIEN Postulate v1.1 source).
 
@@ -71,7 +71,7 @@ Every decision below rests on code or files read at the snapshots above. "Line"
 - **Canonical text.** ASCII, LF, fixed line order, fixed key set, single spaces, canonical number forms; anything else is refused, never repaired.
 - **Hashes are evidence of equality, not its definition** (Postulate v1.1, paper.tex line 197).
 
-Full rules: `AT0_CASE_V1.md` sections 1 to 5 and `AT0_RESULT_V1.md` sections 1 to 7.
+Full rules: `AT0_CASE_V1.md` sections 1 to 5 and `AT0_RESULT_V2.md` sections 0 to 7.
 
 ## 5. Reuse and dependencies
 
@@ -100,7 +100,7 @@ Full rules: `AT0_CASE_V1.md` sections 1 to 5 and `AT0_RESULT_V1.md` sections 1 t
 |---|---|---|
 | P1 ideal clock, full cover | the AT0_CASE_V1 section 6 example; also other N, M, `h`, `tau` | `PASS` |
 | P2 nonzero `h0`, tilted `h` with rational norm (for example `hx = 3/10, hz = 2/5`) | clock energies chosen to cover `h0 +/- |h|` | `PASS` |
-| N1 uncovered spectrum | clock energies all positive, system eigenvalues `+/- 1/2` | `FAIL TRIVIAL_PHYSICAL_STATE` |
+| N1 uncovered spectrum | no clock energy equals the negative of any system eigenvalue (for eigenvalues `+/- 1/2`: no clock energy in `{+1/2, -1/2}`), so the kernel is empty | `FAIL TRIVIAL_PHYSICAL_STATE` |
 | N2 half-covered spectrum | only one system eigenvalue matched | `FAIL SCHRODINGER_DEVIATION_EXCEEDED` |
 | N3 broken clock | `tau` with `D tau M` not an integer for some energy gap `D` | `FAIL` with `POVM_NORMALIZATION_EXCEEDED` plus every code that follows (derived by hand) |
 | N4 wrong weight | `w != N / M` | `FAIL` with `POVM_NORMALIZATION_EXCEEDED`, `PROBABILITY_SUM_EXCEEDED` (and any other derived code) |
@@ -147,7 +147,7 @@ Nobody edits omega's `Makefile`, other `mk/` fragments, existing `src/`, `tests/
 
 ## 8. Interface change rule
 
-1. The shared interfaces are exactly two: `AT0_CASE_V1` text and `AT0_RESULT_V1` text. The oracle, the model and the evaluator exchange nothing else: no shared C header, no shared library, no shared numerical routine. Each implements its own parser and proves it on the AT0_CASE_V1 section 6 example (gate G1).
+1. The shared interfaces are exactly two: `AT0_CASE_V1` text and `AT0_RESULT_V2` text (`AT0_RESULT_V1` stays frozen but is superseded; see `AT0_FREEZE.md`). The oracle, the model and the evaluator exchange nothing else: no shared C header, no shared library, no shared numerical routine. Each implements its own parser and proves it on the AT0_CASE_V1 section 6 example (gate G1).
 2. A frozen interface is never edited, including typo fixes. Any change, however small, is a new version: new file (`AT0_CASE_V2.md`, `AT0_RESULT_V2.md`), new header line and domain tags (`omega.at0.case.v2` and so on), new entry in `AT0_FREEZE.md`, and re-review of every consumer. Old versions stay readable and their evidence stays valid under the version it was written against.
 3. Only Agent 0 creates a new contract version. Other agents raise a contract question as a GitHub issue in aien-architecture with label `needs-triage`, naming the contract and section, and keep working against the frozen version.
 4. Private code inside one owner's paths may change freely.
@@ -184,13 +184,15 @@ Nobody edits omega's `Makefile`, other `mk/` fragments, existing `src/`, `tests/
 - **Oracle language: DECIDED.** omega#358 originally said "preferably Python standard-library"; the no-Python rule and this charter said C11. Drake ruled Option 3, Rust, on 2026-10-09 (section 3 item 7). The property that matters, no shared code or numerical routine between oracle and model, is now also guaranteed by the language boundary.
 - **Independent review.** The contracts were self-reviewed against the sources in section 2. An outside review before the first G1 run is recommended.
 - **Charter history.** The first merged charter (aien-architecture#174, `044c9d1`) numbered the agents and placed omega paths differently from omega#358; sections 6, 7, 9 and 11 were realigned to the issue in the following pull request. The two frozen contracts were not touched.
+- **AT0_RESULT_V2 (2026-10-09).** Agent 1 found that AT0_RESULT_V1 does not say how `label` and `clock_probability` lines are written when the kernel is empty, and that the charter's N1 example ("all positive clock energies") did not guarantee an empty kernel. The first is a shared-interface gap and became `AT0_RESULT_V2.md` under section 8 (V1 stays frozen, no evidence was ever written under it; `case_contract` stays `AT0_CASE_V1`); the second was a charter wording fix in section 6. Ruling on omega#358. Section 3 item 7 quotes Drake's ruling verbatim and therefore still says `AT0_RESULT_V1`; read it as the current result contract.
 
 ## 11. Status
 
 | Item | Status |
 |---|---|
 | Program AT-0 | NOT_RUN |
-| AT0_CASE_V1, AT0_RESULT_V1 | FROZEN (aien-architecture#174, `044c9d1`) |
+| AT0_CASE_V1, AT0_RESULT_V1 | FROZEN (aien-architecture#174, `044c9d1`); AT0_RESULT_V1 superseded by V2 |
+| AT0_RESULT_V2 | FROZEN on merge of the pull request that adds it; the current result contract |
 | AT0_SPEC.md (Agent 1) | NOT_WRITTEN |
 | AT0_RESULTS.md (Agent 6) | NOT_WRITTEN |
 | Gates AT0-G0 to AT0-G7 | NOT_RUN |
diff --git a/docs/plans/atemporal/AT0_FREEZE.md b/docs/plans/atemporal/AT0_FREEZE.md
index edf9cb4..ffb8dd1 100644
--- a/docs/plans/atemporal/AT0_FREEZE.md
+++ b/docs/plans/atemporal/AT0_FREEZE.md
@@ -5,7 +5,7 @@ This file lists every frozen AT-0 interface with the SHA-256 of its file bytes.
 Verify at any time from the aien-architecture root:
 
 ```
-sha256sum docs/plans/atemporal/AT0_CASE_V1.md docs/plans/atemporal/AT0_RESULT_V1.md
+sha256sum docs/plans/atemporal/AT0_CASE_V1.md docs/plans/atemporal/AT0_RESULT_V1.md docs/plans/atemporal/AT0_RESULT_V2.md
 ```
 
 | Interface | File | SHA-256 of file bytes | Frozen |
diff --git a/docs/plans/atemporal/AT0_RESULT_V2.md b/docs/plans/atemporal/AT0_RESULT_V2.md
new file mode 100644
index 0000000..f6b5d52
--- /dev/null
+++ b/docs/plans/atemporal/AT0_RESULT_V2.md
@@ -0,0 +1,155 @@
+# AT0_RESULT_V2: AT-0 result interchange contract
+
+**Contract:** `AT0_RESULT_V2`. **Domain tags:** `omega.at0.verdict.v2` (verdict identity), `omega.at0.evidence.v2` (evidence digest).
+**Status:** FROZEN on merge of the pull request that adds this file. After that, any change to this file is a contract change and requires `AT0_RESULT_V2` (charter section 8).
+**Owner:** Agent 0 (charter section 7). **Program status:** NOT_RUN.
+
+## 0. Changes from AT0_RESULT_V1
+
+AT0_RESULT_V1 stays frozen and readable (`AT0_FREEZE.md`); no evidence was ever written under it. V2 differs from V1 only in:
+
+- the five version strings: header `OMEGA-AT0-RESULT v2`, `domain omega.at0.result.v2`, `contract AT0_RESULT_V2`, verdict tag `omega.at0.verdict.v2`, evidence tag `omega.at0.evidence.v2`;
+- the trivial-kernel rule (sections 1, 3, 4): V1 did not say how the `label` and `clock_probability` lines are written when the kernel of `H_total` is empty, so two V1-conforming implementations could disagree. Reported by Agent 1 on 2026-10-09; ruling on aien-dev/omega#358.
+
+`case_contract` stays `AT0_CASE_V1`. AT0_CASE_V1 is unchanged.
+
+A result records one execution of one AT0_CASE_V1 case: the computed numbers, how precise they are, the verdict, and where everything came from. It keeps two things apart:
+
+- **Semantic content** (exact text, may carry an identity): the case, the acceptance rules, and the discrete verdict.
+- **Physical execution evidence** (no identity): computed floating-point values, bounds, toolchain, host, wall-clock times and artifact digests.
+
+## 1. File shape
+
+The byte rules and encodings of AT0_CASE_V1 sections 1 and 2 apply unchanged, with one addition: the `f64:` value token of section 2 below. Lines appear in exactly this order:
+
+```
+OMEGA-AT0-RESULT v2
+domain omega.at0.result.v2
+contract AT0_RESULT_V2
+case_contract AT0_CASE_V1
+case_name <name>
+<the case's semantic block, byte-identical, begin semantic .. end semantic>
+<the case's acceptance block, byte-identical, begin acceptance .. end acceptance>
+case_id <digest>
+acceptance_id <digest>
+case_file_sha256 <digest>
+begin numerics
+arithmetic <BINARY64|BINARY64_INTERVAL|BINARY64_COMPENSATED|NONE>
+bound_kind <RIGOROUS|ESTIMATED|NONE>
+threads 1
+end numerics
+begin values
+physical_state_kernel_dim <integer>
+constraint_residual <value> <bound>
+povm_residual <value> <bound>
+label <k> <label> <DEFINED|UNDEFINED|INDETERMINATE>        (repeated, k = 0 .. M-1)
+clock_probability <k> <value> <bound>                     (repeated)
+pauli <k> <AXIS> <SIGN> <value> <bound>                    (repeated)
+reference <k> <AXIS> <SIGN> <value> <bound>                (repeated)
+end values
+begin verdict
+check <check_name> <PASS|FAIL|INDETERMINATE|NOT_EVALUATED> (repeated, fixed order of section 4)
+outcome <PASS|FAIL|ERROR|NOT_RUN>
+failure_codes <code>,<code>,... | none
+error_code <code> | none
+expectation_met <YES|NO|NOT_APPLICABLE>
+end verdict
+verdict_id <digest>
+begin provenance
+source_repo <owner/name>
+source_commit <40 lowercase hex>
+source_tree_clean <YES|NO>
+contract_commit <40 lowercase hex>
+engine_sha256 <digest>
+oracle_repo <owner/name>
+oracle_commit <40 lowercase hex>
+oracle_sha256 <digest>
+build_cc <text>
+build_flags <text>
+host <text>
+run_started_utc <YYYY-MM-DDTHH:MM:SSZ>
+run_finished_utc <YYYY-MM-DDTHH:MM:SSZ>
+artifact <path> <digest>                                   (repeated, sorted by path bytewise; may be absent)
+end provenance
+evidence_digest <digest>
+end
+```
+
+`AXIS` is `X`, `Y` or `Z`; `SIGN` is `PLUS` or `MINUS`. The `pauli` and `reference` lines are ordered by `k`, then axis `X, Y, Z`, then `PLUS, MINUS`. For a label whose status is not `DEFINED`, its six `pauli` lines carry the value token `undefined` and bound `0@0`, and its six `reference` lines are still written (the reference does not depend on the label being reachable). **Trivial kernel:** when `physical_state_kernel_dim` is `0`, or `Psi` is exactly zero, every `label` status is `UNDEFINED`, every `clock_probability` line carries `undefined` and bound `0@0`, every `pauli` line carries `undefined` and bound `0@0`, `constraint_residual` carries `undefined` and bound `0@0`, and the `povm_residual` and `reference` lines are still written with real values. The line count and order never change. `<text>` is 1 to 200 bytes of 0x20..0x7E with no leading or trailing space.
+
+`case_name`, the two blocks, `case_id` and `acceptance_id` are copied from the case. A writer must refuse to emit a result whose blocks do not reproduce the copied identities.
+
+## 2. Numbers in a result
+
+- **Value token:** `f64:` followed by 16 lowercase hex digits of the IEEE-754 binary64 bit pattern, written most-significant digit first (the integer value of the 64-bit pattern, not the byte order in memory). `-0.0` is written as `+0.0` (`f64:0000000000000000`), the same rule omega uses in `src/estimation/est_types.c`, `src/dual/rx_dual.c` and `src/ans/`. NaN and infinity are never written as `f64:`. A non-finite computed value is written as the token `nonfinite` and forces failure code `NONFINITE_VALUE`. `undefined` is used only where sections 1 and 3 say (non-`DEFINED` labels, trivial kernel); a parser refuses it anywhere else.
+- **Bound token:** a scaled decimal (AT0_CASE_V1 section 2): a claimed absolute error bound on the value, in the same units. `bound_kind` says what kind of claim every bound in the file is:
+  - `RIGOROUS`: a proven enclosure (for example directed-rounding interval arithmetic, with transcendental functions also enclosed).
+  - `ESTIMATED`: a stated numerical estimate, not a proof.
+  - `NONE`: no claim; every bound is `0@0`.
+  The bound covers the full error from the exact mathematical quantity defined in AT0_CASE_V1 section 3, including rounding of inputs.
+- **Arithmetic:** names the arithmetic the engine used. `threads 1` is fixed in V2: no parallel reductions, so results are reproducible bit for bit on the same build.
+
+## 3. Quantities
+
+All quantities refer to the exact definitions in AT0_CASE_V1 section 3. Let `Psi` be the physical state and `Psi_hat = Psi / ||Psi||`.
+
+- `physical_state_kernel_dim`: dimension of the kernel of `H_total`, computed exactly from the rational energies (count of pairs with `E_j + e_s = 0`). Exact integer, not a measurement.
+- `constraint_residual`: `|| H_total Psi_hat ||_2`, Euclidean norm, energy units. Written as a value only when the kernel is nontrivial and `Psi` is nonzero; otherwise `undefined` with bound `0@0` (section 1, trivial kernel).
+- `povm_residual`: `|| sum_k F_k - I_C ||_F`, Frobenius norm over the N x N clock matrix.
+- `clock_probability k`: `p(k) = w || phi_k ||^2 / || Psi ||^2` with `phi_k = (<t_k| (x) I_S) Psi`.
+- Label status: `UNDEFINED` if `p(k) + bound <= tol_zero_probability`; `DEFINED` if `p(k) - bound > tol_zero_probability`; otherwise `INDETERMINATE`.
+- Trivial kernel (`physical_state_kernel_dim` is `0`, or `Psi` is exactly zero): `p(k)` has no value because `|| Psi || = 0`. Every label is `UNDEFINED` and every `clock_probability` is `undefined` with bound `0@0`; the writer never divides. `povm_residual` does not depend on `Psi` and is still computed.
+- `pauli k AXIS SIGN`: for a `DEFINED` label, the probability of outcome `+1` (`PLUS`) or `-1` (`MINUS`) when that Pauli is measured on the conditional system state `rho_k = phi_k phi_k^dagger / || phi_k ||^2`. Each is computed directly from `rho_k`, not as one minus the other.
+- `reference k AXIS SIGN`: the same probabilities for the Schrodinger-evolved state `exp(-i H_S (t_k - t_r)) |psi_0> / || psi_0 ||`, where `t_r` is the reading of `reference_clock_label`. Produced by the independent oracle (charter section 7, Agent 3) through a separate code path, never by the engine.
+
+No result field is a deviation or a sum. Those are derived by the checker from the values above (section 4), so they cannot disagree with them.
+
+## 4. Checks, in this fixed order
+
+Each comparison is decided in exact real arithmetic on the written values: a binary64 value is an exact rational and a scaled decimal is an exact rational, so a checker never compares floats. Two comparison forms are used, for a quantity `v` with bound `b` and tolerance `tol`. **Absolute form** (residuals, sums, deviations): `PASS` if `|v| + b <= tol`; `FAIL` if `|v| - b > tol`; otherwise `INDETERMINATE`. **Signed form** (range limits only): `PASS` if `v + b <= tol`; `FAIL` if `v - b > tol`; otherwise `INDETERMINATE`. Derived quantities carry the summed bounds of their parts. A check whose input contains `nonfinite` or `undefined` is `NOT_EVALUATED` for that input (check 2 and check 9 already report those cases).
+
+| # | check_name | quantity compared with its tolerance | failure code on FAIL |
+|---|---|---|---|
+| 1 | `bound_kind_sufficient` | `bound_kind` at least `min_bound_kind` (order `NONE < ESTIMATED < RIGOROUS`) | `BOUND_KIND_INSUFFICIENT` |
+| 2 | `values_finite` | no `nonfinite` token anywhere | `NONFINITE_VALUE` |
+| 3 | `physical_state_nontrivial` | `physical_state_kernel_dim >= 1` and `Psi` nonzero (exact, no tolerance) | `TRIVIAL_PHYSICAL_STATE` |
+| 4 | `constraint_residual` | `constraint_residual` vs `tol_constraint_residual` | `CONSTRAINT_RESIDUAL_EXCEEDED` |
+| 5 | `povm_normalization` | `povm_residual` vs `tol_povm_residual` | `POVM_NORMALIZATION_EXCEEDED` |
+| 6 | `clock_probability_sum` | `sum_k p(k) - 1` vs `tol_probability` | `PROBABILITY_SUM_EXCEEDED` |
+| 7 | `probability_range` | every written probability `p`, signed form: `-p` vs `tol_probability` and `p - 1` vs `tol_probability` | `PROBABILITY_OUT_OF_RANGE` |
+| 8 | `pauli_pair_sum` | for each defined label and axis, `PLUS + MINUS - 1` vs `tol_probability` | `PROBABILITY_SUM_EXCEEDED` |
+| 9 | `conditional_defined` | no label `UNDEFINED` | `CONDITIONAL_UNDEFINED` |
+| 10 | `schrodinger_agreement` | for each defined label, axis and sign, `pauli - reference` vs `tol_schrodinger` | `SCHRODINGER_DEVIATION_EXCEEDED` |
+
+A check that cannot be evaluated because an earlier check removed its input is `NOT_EVALUATED` and contributes no failure code. In the trivial-kernel case this is fixed: check 3 is `FAIL` (`TRIVIAL_PHYSICAL_STATE`), checks 4, 6, 7, 8, 9 and 10 are `NOT_EVALUATED`, checks 1, 2 and 5 are evaluated as usual. The `UNDEFINED` labels of a trivial kernel do not raise `CONDITIONAL_UNDEFINED` (check 9 is not evaluated) and do not raise `PRECISION_INSUFFICIENT`. Any `INDETERMINATE` check or label adds failure code `PRECISION_INSUFFICIENT`. A check that is `FAIL` for several items adds its code once.
+
+## 5. Outcome, codes and expectation
+
+- `outcome PASS`: every check is `PASS` or `NOT_EVALUATED`, and no label is `INDETERMINATE`.
+- `outcome FAIL`: the case was valid and the run completed, but at least one failure code was raised. `failure_codes` lists them, sorted bytewise ascending, no duplicates.
+- `outcome ERROR`: the case was refused or the run could not complete. `error_code` names why; `failure_codes none`; every check `NOT_EVALUATED`; the values block is written with `physical_state_kernel_dim 0`, all values `undefined` and bounds `0@0`.
+- `outcome NOT_RUN`: a placeholder result for a case that has not been executed. Same shape as `ERROR` with `error_code none`. In `ERROR` and `NOT_RUN` results, provenance fields whose value does not exist (`engine_sha256`, `oracle_repo`, `oracle_commit`, `oracle_sha256`, `build_cc`, `build_flags`, `host`, `run_started_utc`, `run_finished_utc`) carry the token `none`. `NOT_RUN` is the status of every AT-0 case today.
+
+**Failure codes (closed set for V2):** `BOUND_KIND_INSUFFICIENT`, `CONDITIONAL_UNDEFINED`, `CONSTRAINT_RESIDUAL_EXCEEDED`, `NONFINITE_VALUE`, `POVM_NORMALIZATION_EXCEEDED`, `PRECISION_INSUFFICIENT`, `PROBABILITY_OUT_OF_RANGE`, `PROBABILITY_SUM_EXCEEDED`, `SCHRODINGER_DEVIATION_EXCEEDED`, `TRIVIAL_PHYSICAL_STATE`.
+
+**Refusal codes (closed set for V2):** `CASE_PARSE_ERROR`, `CASE_NONCANONICAL`, `CASE_UNSUPPORTED_VERSION`, `CASE_INVALID_PARAMETER`, `CASE_IRRATIONAL_SPECTRUM`, `CASE_ID_MISMATCH`. A case that fails AT0_CASE_V1 section 4 cannot be copied into a result, so no result file is written: the tool prints exactly one line `AT0_CASE_REFUSED <code>` to standard error and exits with status 2.
+
+**Run error codes (closed set for V2, written as `error_code`):** `ORACLE_UNAVAILABLE`, `RESOURCE_LIMIT`, `INTERNAL_ERROR`.
+
+**`expectation_met`:** `NOT_APPLICABLE` when the outcome is `ERROR` or `NOT_RUN`. Otherwise `YES` exactly when the outcome equals `expected_outcome` and `failure_codes` equals `expected_failure_codes` as a set; else `NO`. A negative control therefore succeeds only when it fails for the stated reasons and no others: a verifier may not normalize a discrepancy away (Postulate v1.1, "Negative controls").
+
+## 6. Identity and evidence
+
+- **`verdict_id`** `= SHA-256( "omega.at0.verdict.v2" || 0x00 || "case_id " || case_id || LF || "acceptance_id " || acceptance_id || LF || B_ver )`, where `B_ver` is every line from `begin verdict` through `end verdict` inclusive, each followed by LF. It covers only exact, discrete content: which case, which rules, which checks passed, which codes. It is the claim identity of the run (the `CLAIM_ID` role in the Postulate). Two runs on different hosts, at different times, with bit-different floating-point values, have the same `verdict_id` when they reach the same verdict on the same case and rules.
+- **No semantic identity over computed values in V2.** The values are binary64 measurements produced by an unspecified sequence of floating-point operations. Their bit patterns are physical evidence, so no V1 identity is defined over them, and no digest that includes them may be called a semantic identity, case identity, result identity or claim identity. An exact-arithmetic engine could define a result identity in a later contract version.
+- **`evidence_digest`** `= SHA-256( "omega.at0.evidence.v2" || 0x00 || every line of the file above the evidence_digest line, each followed by LF )`. It fingerprints this physical record (values, bounds, provenance, wall-clock times) so it can be cited and checked for tampering. It is evidence, not identity: two honest runs of the same case normally have different evidence digests.
+- `case_file_sha256`, `engine_sha256`, `oracle_sha256` and `artifact` digests are artifact digests: plain SHA-256 of the file bytes, no domain tag.
+
+## 7. Provenance rules
+
+- `source_repo`, `source_commit`: the omega commit the engine was built from; `source_tree_clean NO` means the build had uncommitted changes, and such a result may not be cited as evidence for a gate.
+- `contract_commit`: the aien-architecture commit holding the frozen AT0 contract files the writer was built against.
+- `engine_sha256`, `oracle_sha256`: digests of the executables that produced the values and the reference values.
+- `build_cc`, `build_flags`, `host`: free text for humans; never parsed for decisions.
+- `run_started_utc`, `run_finished_utc`: wall-clock times of the physical execution, UTC, second resolution. They exist only here, outside every identity.
+- `artifact` lines name other files produced by the run (logs, case file copy), relative to the evidence folder.