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

[SI REUSE R1] Compile admitted experience into guarded reusable .om methods

Open · #742 · open 2026-10-25 13:57 UTC

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

drakestapleton wrote on 2026-10-25 13:57 UTC

Outcome

Convert admitted experience into reusable parameterized methods, not cached answers, for a frozen bounded pure-function/state-transition profile. Start with fixed-width aggregate updates and a bounded state-machine family; declare overflow, traps, aliasing, termination/fuel and resource limits. Status PROPOSED / NOT_RUN.

Ownership

Integration slice of #656 (synthesis), #658 (trace learning), #651 (durable reuse), #665 (guarded compilation), #699 (real experience) and aien-train#19 (experience-trained model). Their implementation ownership remains unchanged. Grounding: src/omega_synthesis.c, src/runtime/rx_semantic.h and rx_generation.h; inspect current .om successors before editing.

Acceptance

  • Version method artifact: parameterized .om source/IR and contract identities, exact dependencies, guard, effect/domain limits, evidence references, source eligibility, model/checkpoint/profile versions and resource bounds.
  • Admit only through independent existing verification; finite tests and six-probe agreement are not universal equivalence proofs. Include identity versus x&255 collision at x=256; observational signatures cannot erase semantically distinct candidates without a justified profile.
  • Demonstrate learned method on unseen arguments and sequences, versus answer-cache controls. Freeze training/calibration/heldout boundaries; never learn from final holdout.
  • Guard checks execute before effects. Model/source/profile changes, revoked lineage, stale dependencies, malformed artifact and unsupported domain refuse or use the existing qualified baseline. No confidence score substitutes for authority or correctness.
  • Canonical Cortex persistence and restart reproduce accepted artifact identity; candidate generation and promotion remain separate. Include tampered proof, weakened guard, stale version, wrong arithmetic semantics and crash tests.
  • Keep bounded code/memory budget and qualified baseline; record discovery failures and verification cost. Compilation alone is no positive-T claim.

Shared delivery contract

User approved this bounded experiment on 2026-10-25. Parent research owners: https://github.com/aien-dev/omega-mv/issues/584 and https://github.com/aien-dev/omega-mv/issues/652; SI parent https://github.com/aien-dev/aien-architecture-mv/issues/307. This is NOT another master plan and does not change release sequencing. Before edits read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, doctrine architecture/roadmap, applicable ADRs, repository AGENTS.md/.crumb, active PRs and ownership claims. Reuse canonical compiler/IR, Cortex single writer, World/J-Space, FORGE and independent verifier/promotion authority. All delivered first-party logic/tests/automation use seeded handwritten .om; no second compiler, store, trainer or retained foreign fallback. Route missing facilities to existing owners. Preserve live 27B/35B service and device state; physical measurements use existing reserved windows. Isolated reviewable PRs, exact source/compiler/artifact/fixture hashes, raw results and independent final-source review required. Distinguish source/host/simulator/physical PASS, FAIL, INCONCLUSIVE, BLOCKED and NOT_RUN. Do not auto-close on source-only completion.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:20 UTC

Recovered GitHub comment. Original comment 6399236443

REUSE-1: bounded implementation plan and file ownership (status: SCOPED -> ACTIVE; nothing is qualified yet)

Frozen contract (written before any implementation or data): omega-mv d6edaad1 on branch feat/742-reuse-r1.

  • docs/reuse/REUSE-1.md, sha256 71a6da13…5deb: semantics, artifacts, cost accounting, arms, controls, acceptance and unit interfaces.
  • calibration/profiles/Turing-profile-REUSE-v1.0.toml, sha256 8558b407…64c4.

Two independent read-only consultants reviewed the draft (Codex, Claude); I applied their required changes before freezing. This is not a master plan and changes no milestone status.

What was inspected (omega-mv main acb3f15c):

  • Every reuse owner is C: src/omega_synthesis.c, rx_semantic, rx_generation, rx_costmodel (#704 clamp still present), rx_cortex, World and J-Space. None has an .om successor.
  • The only .om beyond the seed is om/sha256 and om/blake3. Both are called C -> .om through omega-bridge ABI v1; there is no .om -> C path.
  • The only existing experience is ORIG matvec records plus #699's C transition records (PR #707). No aggregate or state-machine experience exists.
  • The spark-rsi-mv #67 judge is Rust.

Plan: profile R1 has two families: fixed-width aggregates (6 folds, 8 lane ops, widths 8 and 16) and bounded state machines (S, A <= 16, first-match rules). The arms are:

ArmDescription
fullinterpreted baseline
cacheexact answer cache
methodexperience-selected templates, compiled by the seeded omc into a router generation
deltamethod plus incremental maintenance
selectdelta plus the #744 frozen cost selector
idelta, delta'ablations: empty library, and a library from shape-permuted experience

Correctness of a bound method is established by an exhaustive bind-time check of the lane map on its whole domain, inside the deployed binary. Its trusted base is omc + host + fixed loop text. Probes are never proof. Library generations follow ADR 0015 commit order. The baseline binary verifies a generation before exec, against a manifest digest the evaluator authorizes from its own reproducible rebuild.

File ownership (one writer per file; agents never write another lane's files):

LaneRepo / branchFiles
CandCore (#742)omega-mv reuse/core -> feat/742-reuse-r1om/reuse/r1.om, exp.om, check.om, router.om, tests/reuse/{r1,exp,check,router}-*.om, tests/reuse/kat.txt
CandLib (#742/#743)omega-mv reuse/libom/reuse/learn.om, codegen.om, lib.om, drive.om, om/reuse/README.md, tests/reuse/{lib,learn,codegen,drive}-*.om, tests/reuse/run.om
CandDelta (#743)omega-mv reuse/deltaom/reuse/delta.om, tests/reuse/delta-*.om
CandSelect (#744)omega-mv reuse/selectom/reuse/select.om, tests/reuse/select-*.om
EvalGen (#73)spark-rsi-mv reuse-eval/gen -> feat/73-reuse-evalom/reuse-eval/gen.om, ref.om, tests/reuse-eval/{gen,ref}-*.om
EvalJudge (#73)spark-rsi-mv reuse-eval/judgeom/reuse-eval/judge.om, stats.om, turing.om, receipt.om, docs/reuse-eval/README.md, tests/reuse-eval/{judge,stats}-*.om
Integration (this session, TURING-lane operator)both integration branchesdocs/reuse/, calibration/profiles/Turing-profile-REUSE-*, evidence/REUSE-*/, merges, PRs, issue ledger

The evaluator lanes read only the contract and the built binaries, never om/reuse/ sources. Candidate lanes never see FINAL.

Order:

  1. r1.om (interface root).
  2. The other candidate units and the evaluator in parallel.
  3. Integration.
  4. Independent review and fixes.
  5. Evaluator freeze, with SHA-256 of the FINAL secret committed first.
  6. TRAIN/TRAIN' experience and CALIB.
  7. Candidate freeze, then the FINAL reveal and one run.

Blockers stated before implementation (REUSE-1 section 11):

  • Cortex persistence is BLOCKED (no .om writer path; route #651 / ADR 0022 owner).
  • The "#699 experience" item is NOT MET (R1 records come from the .om baseline tap, not World/J-Space commits).
  • The judge signature is BLOCKED (the #67 signer is Rust).
  • Independence is UNISOLATED (one operator account).
  • Run-time discovery and rewrites are NOT_RUN in v1.0.
  • GB10, simulator and energy are NOT_RUN / NOT_MEASURED.

Constraints:

  • Host CPU only.
  • Measurement on CPUs 18/19, nice 10; agents build at nice 19.
  • No model load, no service restart, 18091 untouched.

Draft PRs only, no ready-to-merge label. No issue closes on source alone.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:20 UTC

Recovered GitHub comment by @aien-spark on 2026-10-25T16:28:45Z. Original comment 6400175142

REUSE-1 FINAL evidence for #742

Draft PRs: aien-dev/omega-mv#749 (candidate; frozen at 6ad09bff, result commit 9862a862) and aien-dev/spark-rsi-mv#74 (evaluator 4345eda9; FINAL evidence 84900162, evidence/REUSE-73/final/). Contract d6edaad1 docs/reuse/REUSE-1.md; clarifications K1..K17. K1..K8 are in the freeze; K9..K17 were written into the clarifications file after FINAL to record decisions already in the frozen code (judge.om, lib.om, router.om, select.om, delta.om notes); no rule changed. K10 corrected: NOG3 variants ran for C1 and C1b only.

Acceptance:

  • Correctness: PASS. 0 wrong answers or refusals in 189,504 scored requests: 9,024 QUERYs per arm and repetition, 7 scored arms, 3 repetitions.
  • Transfer: PASS. Methods served all 5,616 transfer QUERYs (100 %). 0 route-5 fallbacks.
  • Guards and lineage: PASS. Every control was detected:
    • C1 (by G3, and by wrong answers without G3), C1b, C1c;
    • C2 tampered experience, C3 diagnostic-cost invariance;
    • C6 tampered ELF, manifest and coherent replacement;
    • C7 revocation before start and mid-session;
    • C8 crash after each of the 9 publish steps;
    • C9 compiler or profile drift, C10 truncation, C11 SIGKILL and restart identity.
    • In every case, 0 QUERYs were answered by a tampered or revoked artifact.
  • Lifecycle cost: FAIL. rho(method) = 1.219 (95 % interval 1.091 to 1.363). Request round trips alone are 0.965 of full, but library acquisition (222 ms) and generation load (+71 ms start to ready) outweigh that. No payback within the horizon.
  • Cortex persistence: BLOCKED. There is no .om path to rx_cortex; routed to #651 and the ADR 0022 owner.
  • #699 experience item: NOT MET.
  • Run-time discovery and rewrites: NOT_RUN.

What was learned: experience-selected guarded specialization. Shapes are admitted by TRAIN QUERY counts, and outcomes are never read. This is not general intelligence. T(method) = -8,192 bits (P1), so Turing gain is negative by construction.

Verdicts: source PASS after independent review; host (Spark CPU) correctness and controls PASS, lifecycle cost STOP; simulator NOT_RUN; physical GB10 NOT_RUN; energy NOT_MEASURED. Independence UNISOLATED (one operator account), receipt UNSIGNED (#67 signer is Rust). This issue stays open: source exists, acceptance is not met.

Reproduce: see evidence/REUSE-73/final/README.md in spark-rsi-mv.

Sign in to comment