Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-protocols-mv/issues/94132c78b4b96876 # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [SEM-WIRE P1] Negotiate short semantic references safely in the existing typed task/receipt protocol Open · #54 · open 2026-10-25 01:45 UTC Imported from GitHub aien-dev/aien-protocols-mv#54, by drakestapleton drakestapleton wrote on 2026-10-25 01:45 UTC ## Purpose One local one-bit/u8 code can select an existing verified meaning, but not across participants with differing dictionaries. Define the optional transport binding for SEM-0 without creating another protocol, executor, trust authority or network. Protocols #43 owns stream/task ABI; #50 owns typed microjobs, dependencies, consent, capabilities and output receipts. ## Versioned additive contract - Reuse `microjob-v1` and existing typed task envelope. Define a negotiated `semantic_codebook_ref.v0` carrying recognized dictionary root (full 32-byte id), epoch/version/domain, local index (u8 for <=256 entries or explicitly bounded varint), type and effect contract binding, parameter payload length, matching realization/receipt reference and authorization context. The full root may be sent once per authenticated session when needed; report amortized and first-message wire bytes separately. - Specify deterministic canonical encoding and failure/refusal for mismatched root/epoch, index reuse, unknown id, mismatched schema/precision/effects, consumer missing executable/verified realization, revoked permission, truncated parameter, malformed frame, cross-tenant swaps, stale message or replay. - Effects remain explicit intents. No semantic code, even one referring to a privileged operation, grants capability or wallet balance. No automatic sharing of local traces, user data or library contents; peer may decline/renegotiate/fall back to full semantic reference. - Initial tests: two versions of a 2-entry dictionary (bit switch), two versions of a 256-entry dictionary (u8 switch) and one incompatible peer. Include mixed-version handshake and forced fallback. Baseline against uncompressed typed task envelope at equal semantic results and mandatory security checks. - Coordinate with Omega SEM-1 and #651, not a second codebook store. Final first-party codec/conformance implementation in `.om`, independent oracle separately acceptable. ## Exit criteria - Reviewed schema and canonical byte vectors; same dispatch or safe refusal with honest negotiation overhead. - Send/receive negative security mutants; no forged effects or cross-scope meaning substitution. - Data-size ledger first-use vs warm-use, compression beyond header after amortization, no unmeasured network/compute efficiency claims. - Endpoint support remains PROPOSED/NOT_RUN until actually integrated and verified. Owned paths: new additive `specs/semantic-codebook/` or existing protocol-owner-approved subpath. Do not change #43/#50 schema semantics without explicit versioning and owner agreement. ## 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. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:22 UTC Recovered GitHub comment. Original comment `6647500240` Sweep verification (P-DRA-9), origin/main `e1ac336b`. Not closing: no implementation exists. - `specs/semantic-codebook/` does not exist; `grep -rl semantic_codebook` matches only `specs/latent-payload/SPEC.md`, which says LTP0 never reinterprets a codebook id. #71 only references this issue. - No open or merged PR implements `semantic_codebook_ref.v0`. Parent SEM-0 (aien-architecture-mv#315) and omega-mv#651 are OPEN. Every exit criterion is unmet (schema + byte vectors, security mutants, first-use vs warm-use byte ledger). This is a new spec plus an `.om` codec, not a small fix. Needs prioritization and an owner. Sign in to comment