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

[ORIG-4] Add default-off shadow admission for an original mini-model plan selector

Open · #731 · open 2026-10-25 03:23 UTC

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

drakestapleton wrote on 2026-10-25 03:23 UTC

Goal and ownership

Bounded integration leaf of aien-train #19. Consume the original scratch-trained scorer through an existing Omega planner/experience path, without a new runtime, scheduler, model server or Cortex writer.

Dependencies:

Scope

  1. Pin the existing consumer and admissible-candidate owner; coordinate active work and disjoint paths before editing. Reuse ORIG-1's typed contract. If the native prerequisite does not exist, report the exact blocking owner instead of adding a foreign-language fallback.
  2. Deterministic code generates and validates the candidate set. Model output consists only of scores or abstention—not executable text, new candidates, permissions or authority.
  3. Add a default-off shadow mode: observe eligible requests and score candidates without changing incumbent selection, execution or side effects. No live online weight updates.
  4. Artifact admission binds model hash, schema, candidate semantics, compiler/runtime revisions, hardware profile and consent/provenance validity. Check resource budget before inference.
  5. Missing/corrupt/stale/wrong-profile artifacts, NaN, timeout, empty candidates, unknown features and out-of-distribution inputs fall back to the existing deterministic path. Preserve correct behavior even if the learned model never wins.
  6. Any future selected candidate must pass deterministic validation again before execution. A benchmark GO does not waive this boundary.
  7. Project independently verified outcomes through existing X1/consent mechanisms only; no automatic private-data sharing or heldout feedback into training.
  8. Measure all consumer-side feature/scoring/loading/validation/fallback overhead. Keep a reversible kill switch. Opt-in active selection is a separate release decision after ORIG-3 evidence; this issue alone does not deploy it.

Acceptance

  • Default-off tests prove shadow mode cannot alter selected work, permissions, external effects or live serving state.
  • Mutants cover stale/corrupt artifacts, wrong profiles, timeout, nonfinite outputs, unknown IDs and revoked provenance.
  • No unauthorized/final-holdout feedback reaches training.
  • Reproducible end-to-end development receipt: authorized data contract → random initialization → native training artifact → reload → native inference → independent judgment.
  • Full integration cost is compared with the deterministic baseline; negative results are retained.
  • Exact dependency and artifact identities are recorded. Missing steps are BLOCKED/NOT_RUN, not completion.
  • Deployment/promotion is separate; no listener disruption, driver replacement, second resident model or hardware experiment.

Dependency order

Contract and scaffolding follow ORIG-1; artifact integration waits for ORIG-2. Independent evaluation protocol should be frozen before candidate selection. Shadow implementation may be reviewed independently, but active selection remains disabled without ORIG-3 qualification and separate release authorization. Do not close broad #699/#606/#19 qualification from this leaf.

Execution and authority

Read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, AGENTS.md, .crumb and active claims before changing code. Preserve existing owners and exact dependency pins. First-party implementation/tests are seeded handwritten .om; disclose external oracles and temporary host glue separately. Do not create another trainer, scheduler, Cortex writer, C kernel, or Python/PyTorch product path. Keep private owner data local; public artifacts contain schemas, hashes and authorized synthetic fixtures only. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN/BLOCKED accurately. This issue authorizes planning/implementation through reviewed PRs, not a training run, installation, private-data export, hardware experiment, production promotion or automatic merge. Any later Spark run requires an exclusive reservation and must not load a second model beside the resident service.

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

Recovered GitHub comment. Original comment 6393532498

ORIG-4 delivered as draft PR aien-dev/omega-mv#734 (branch feat/731-orig4-shadow-advice, head 83bea08e). Needs independent review; no label added.

  • tests/runtime/rx_empirical_optimizer.c 1ec81372: default-off omexp-v1 record tap (OMEGA_EMPIRICAL_RECORDS); nothing in the harness or src/ reads it (asserted by the gate).
  • native/orig4/shadow.om + shadowmain.om (handwritten .om, built by seed/out/omc): admits allow-list, records (every ORIG-1 refusal class) and the pinned ORIG-2 image (sladmit, binding reported), then prints only SHADOW|ADVICE|FALLBACK|COST lines; fallbacks ood/single/nonfinite/budget; kill switch (enable word) + the tap env var. Pins in native/orig4/orig4.pin (aien-train c9ae2b24, omega-bridge 7e1d0d61, candidate sha256 8dbd9b04…). Gate tests/gates/omega-orig4-shadow.gate (run.sh orig4-shadow), .crumbs current (crumb verify . OK 163), spec/shadow-advice-v0.md, CONTRIBUTORS row.
  • Tests 265 checks; process-path mutants: damaged/truncated image, forged and wrong-profile record, revoked/absent allow-list, budget, config, mode. Owner records (local): 738/738 advised, 0 fallbacks, advised arms identical to the evaluator's, 103 ms for 738 records (≈0.14 ms each) vs a nanosecond fixed rule; adv_cost/oracle 1.0096, incumbent 1.584.
  • Active selection stays disabled: ORIG-3 verdict INCONCLUSIVE (benchmarks-mv#46). No listener, driver, second resident model or GPU touched; GB10 NOT_RUN.

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

Recovered GitHub comment. Original comment 6398785776

ORIG v2 on PR #734 (feat/731-orig4-shadow-advice): 85641e1e (code), e5a9a913 (evidence).

  • Harness: default-off OMEGA_EMPIRICAL_COVERAGE=<n> (only with the tap on) measures n log-uniform shapes per core class after the held-out phase, tapped as family 5; nothing in the harness or src/ reads them (gate default-off proof unchanged).
  • shadow.om: config word 3 = v2 admission (oxadm2), word 4 = advisor kind (0 image scorer, 1 retrieval); v2-refused records fall back reason=refused; v1 image under the v2 scorer refused (image-9). orig4.pin -> aien-train 692d8510. Tests 1069 checks; run.sh PASS, gate orig4-shadow PASS, evidence-immutable PASS, crumb verify 163 current.
  • Overhead campaign (7 interleaved reps over the post-freeze collection, evidence/ORIG4-SHADOW-v2/): MLP 80.84 us, retrieval 64.08 us per decision. With that charged, the ORIG v2 verdict is NO-GO (benchmarks-mv#46 5930d65). Active selection stays disabled.
  • CI at 85641e1e: CodeQL reports 1 high alert, tests/runtime/rx_empirical_optimizer.c:382 (env-var path passed to open, from the tap commit 1ec81372; same alert at the previous head 83bea08e); not silenced. Analyze jobs pass.

Host-only; GB10 NOT_RUN. DCO certification remains for the human contributor. Draft, no label.

Sign in to comment