Objective and current code
Build a truthful compressed reference to an already-known, typed, verified semantic operation. There is already canonical semantic identity, body-sensitive program identity v2, the library omega_library.h, and the verified crumb admission bridge. Existing #621/#625 own source-aware IR/observable meaning; #623 owns translation validation; #651 owns reuse-lifecycle. Do not invent a second canonical encoder, checker, proof authority or library.
Contract and concrete scope
- Write a PROPOSED
semantic-atom.v0formal specification under the existing component contract path (coordinate first with #621/#625). Atom: full semantic_id, typed input/output, explicit pre/postconditions, effects/capabilities, arithmetic and failure contracts, registered implementation/realization id, codebook epoch/version, provenance/admission receipt. - The full SHA-256 body/contract identity stays 32 bytes (never shorten it as a global secure identity).
short_refis local to a specific authenticated codebook digest, epoch, namespace and capability context. At most 256 verified entries in first profile, u8 index; a one-bit branch is valid only when there are precisely two fixed alternatives. Charge installation, lookup, params and sync/handshake; changing the dictionary forces changed digest/epoch. - Prototype a bounded
.omlocal resolver/invocation with >=4 permitted pure u64 operations and typed parameter slots. Include 0/1 short choice, 8-bit dictionary, one parameterized operation, refusal status separate from result (no ambiguous sentinel). Seeded.omcompiler owner supplies missing operations; don't alter main compiler while another seed owner works. - Add independent immutable test vectors for reference-to-full-id resolution, encode/decode/roundtrip, version semantics, canonicalization and authorization refusal. The full semantic contract is checked independently before admitting a short reference for a session.
- A candidate may propose an effectful atom but cannot dispatch it without the existing AEGIS/World capability and effect receipt. No short-code permission bypass. No content-address alias for unverified semantic equivalence.
Required negative cases
Wrong version or root, stale generation, ID reuse, permutation of table slots, changed meaning under same display name, changed precision/rounding, missing body, hash collision simulation, unknown index, malformed varint/u8 boundary, missing capability, cross-tenant dictionary confusion, forged/replayed receipt, revoked entry, ambiguous numerical contract. Refs rejected deterministically with a reason. No implicit network transmission in the local v0 test.
Acceptance and reporting
- Frozen v0 format and seed toolchain/profile with per-field canonical bytes and one documented two-entry one-bit illustration.
- Native
.omroundtrip/resolution on a supported host for bounded pure operations, independent oracle comparison, refusal mutants kill; no hidden fallbacks. - Stable full semantic identity under renaming and separate realization identities; change in semantics/epoch breaks reference appropriately.
- Report bytes for empty/first-use/warm-use, including dictionary installation/verification and all parameters; speed claim separate and NOT_RUN until measured.
- Integration contract accepted by #651 owner, PR audited. Status starts PROPOSED / NOT_RUN.
Ownership: new semantic-codebook contract path and native resolver; existing IR/seed/checker files remain with #621/#625/#623 owners. First implementation should be isolated, no serving changes.
Delivery protocol
Issue-first under https://github.com/aien-dev/aien-architecture-mv/issues/315, PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, owner AGENTS/.crumb, existing Honeycomb claims and issue-first delivery. New first-party executable work, tooling, tests and successor are seeded .om, not a permanent .osc/C/Rust/Python runtime. Independent third-party oracle allowed outside runtime, with provenance. Exclusive file owner and reviewed isolated PR; preserve private serving/GPU lease. Attach exact source, seed, binary, commands, output, independent reviewer and explicit PASS/FAIL/INCONCLUSIVE/NOT_RUN. No automatic release/merge.