interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

[SEM-1 P0] Define versioned semantic atoms and an authenticated short-code dictionary in seeded .om

Open · #721 · open 2026-10-25 01:45 UTC

Imported from GitHub aien-dev/omega-mv#721, by drakestapleton

drakestapleton wrote on 2026-10-25 01:45 UTC

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.v0 formal 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_ref is 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 .om local 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 .om compiler 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 .om roundtrip/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.

drakestapleton wrote on 2026-10-25 01:55 UTC

2026-10-24 SEM-1 implementation-start receipt: draft PR #724 exists on feat/sem1-semantic-codebook-smoke, with four add-only paths: spec/semantic-codebook-v0.md, examples/semantic-codebook/{codebook-v0.txt,dispatch-v0.om,README.md}. GitHub source files were read back (4/4). The synthetic three-entry root SHA256 is a4d36c23819c865d1d3ae271508fee7e38c1919f62852821ac19f80c3714b0f3, encoded as four little-endian u64 constants in the .om example; it tests pure wrap-u8 operations and stale-epoch/index/root refusals. Status: PROPOSED / native compile NOT_RUN / independent semantic admission NOT_RUN. A caller-provided root comparison is NOT authentication and the current packed u16 result is NOT a general typed effectful ABI. Next: owner-reviewed canonical full-id binding, existing seeded compiler AArch64 run and independent negative controls. No production/speed claim; no merge permission implied.

drakestapleton wrote on 2026-10-25 02:51 UTC

2026-10-24 SEM-4 bridge: Omega #728 adds a bounded native .om lossless hierarchical semantic grammar and unfolding as a consumer of this codebook's authenticated full canonical semantic IDs, local short-index/epoch binding, type/effect contracts, and independently qualified realizations. A short index alone cannot reconstruct missing dictionary definitions or infer behavior; no authorization derived from index/similarity. #721 remains sole owner of canonical dictionary/admission ABI, #728 owns nested grammar and optional inverse/witness execution semantics. Independent all-in bit costs and stale-dictionary mutants required. No overlapping codebook/seed compiler edits.

Sign in to comment