interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / crates / aien-closure / tests / fixtures / receipts

2f5d6db aien-closure: one meaning per declaration code (VC1 SPEC 6.2) and Rust receipt cross-check fixtures (#171) aien-dev committed 2026-10-02
..
09eab03c5834b48772cac29fbd9f1b37db21d9388ba20f8c81bdddb2de1c2c65.json1168
25bf973765f7c1b0b1ff447474d81d954883c3706a180fb4effe9953a4a01b80.json1184
81433a807b6ec84166822aba84c4b5e8a74820f3f40f83ce93d3d669e66e9671.json1197
9643a90de5a0b5d4ca1e9f143942b527ae78e71666dbc3d669b9fe16713c254e.json2102
README.md3507
b33e41e9c66c3c93d7b466abfa292cc1f41099c98f446294050ec36cc8910489.json1212
b5f772e852cd1ed737fdfc7dead8742d84b30b6379c88956d7b1551fa3dc0888.json1171
d75c983992894bf4ed6f772406f2cb290de39e399b638e427db06834f908d3ea.json1441
dd465c3d45775c1b266bd3c8367c798551bf91f16d88bf276224cd3ea5468503.json1222
e3e3a03ddac21fb0398246310bd6a9026f67206189eda0950eb0a6014b860025.json1341
expected.txt2930
f3fbb365b0aa81d4f090b4c954fb2d88b5a94891a24c2e4d4be1da2066955145.json1271
fa2b52f9bc8aacc03b7908cde2dec6775b7721e40518dfc83f6e0dd622ea0814.json1194

README.md

Receipt cross-check fixtures

Receipts minted with aien-proof (aien_proof::evidence) for the cases the Omega C reader's three fixtures (omega/tests/resolve/receipts) do not cover. Those three are all kind component-qualification, tier HOST_TEST, mutation NONE, no lease, no ledger. These cover what they leave out:

  • a non-NONE declared and observed mutation, including observed below declared
  • a lease binding and a ledger binding
  • kind equal to a verifier profile (host-v1, qemu-v1, production-v1), which is what SPEC 5.1 rule 5 needs (receipt.kind equals verifier_profile)
  • tiers above HOST_TEST: QEMU, MACHINE1_ATTENDED, PRODUCTION (with authority)
  • lists in non-canonical order with duplicates and mixed digest spellings (the id is over the sorted unique form, so a reader that does not sort gets another id)
  • four receipts a profile-aware reader must refuse

Each file is <receipt id>.json, the same layout as an aien-proof store (<store>/receipts/<id>.json). expected.txt has one line per file:

<id> name=... kind=... tier=... result=... mutation=<declared>/<observed> lease=yes|no ledger=yes|no verify=<status> with_store=<status> accept=ACCEPT|REFUSE

What a reader must do

accept=ACCEPT means: the id recomputes from the canonical bytes, the single-receipt consistency rules pass (verify=PASS), and the receipt tier satisfies the minimum tier of the profile named by kind (host-v1 needs HOST_TEST, qemu-v1 needs QEMU, production-v1 needs PRODUCTION, compared with aien_proof::chain::tier_satisfies). accept=REFUSE is the opposite:

Fixture nameWhy refused
host-v1-result-failresult FAIL (verify=FAIL)
host-v1-hardware-without-leasehardware tier PASS with no lease (verify=INCOMPLETE)
host-v1-test-only-trustTEST_ONLY_TRUST satisfies nothing but itself
production-v1-on-qemu-tierproduction-v1 needs a physical tier, QEMU is not

Known limit: ledger and lease bindings

Receipts with lease=yes or ledger=yes have with_store=ERROR: aien-proof verify_with_store also checks the referenced ledger event and lease hold against a proof store, and these fixtures point at events that exist in no store. The Omega C reader does not check those bindings (stated limit in omega_receipt.h), so for it the expected result is ACCEPT. A reader that does check them must refuse these files without a backing store. The id covers the binding fields either way: changing the lease or ledger fields without re-minting breaks the id (changing_any_bound_field_breaks_the_id).

How Omega imports them

Copy this directory next to tests/resolve/receipts, run the C reader on every <id>.json, and compare with expected.txt: the id check and the consistency rules must give verify, and the profile tier rule must give accept. Do not edit the JSON by hand: the file name is the id and the test below pins the bytes.

Regeneration and tests

cargo test -p aien-closure --offline --locked --test receipt_crosscheck checks that the committed bytes equal what the test mints (deterministic: fixed timestamps, commits and digests), that every case is decided as the table says, and that changing any of 17 bound fields (kind, mutation, lease, ledger, authority, assertions, lists, ...) in a fixture breaks the id.

To rewrite the files after a deliberate change: cargo test -p aien-closure --offline --locked --test receipt_crosscheck -- --ignored regenerate_receipt_fixtures.