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
omega-mv / docs / superpowers / plans / 2026-10-22-universal-625.md
| 1 | # Omega #625 implementation plan |
| 2 | |
| 3 | > Execute inline with superpowers:executing-plans. This is a bounded issue slice, NOT A MASTER PLAN. |
| 4 | |
| 5 | **Goal:** Specify observable source-aware behavior and demonstrate independent arithmetic counterexamples without claiming a converter exists. |
| 6 | **Architecture:** Add a versioned semantic contract outside existing binary formats. Test C, Rust, CPython and unchanged OSC reference/native paths as independent development oracles. No replacement checker, serializer or production compiler. |
| 7 | **Tech Stack:** Markdown/JSON contract; Python test orchestration; C/Rust reference fixtures; existing OSC test library. |
| 8 | **Spec:** https://github.com/aien-dev/omega-mv/issues/625 and architecture #295. |
| 9 | |
| 10 | ## Constraints |
| 11 | Preserve all historical identities/receipts and owner worktrees. C/Rust/Python fixtures are external development oracles, not Omega construction/runtime dependencies. No GPU or service changes. Publish only synthetic tests, tool/hardware facts and repository pins, not private traces. Do not auto-close issues or bypass Renda. |
| 12 | |
| 13 | ## Review focus |
| 14 | C integer promotions must not be confused with narrow modulo operations. Rust wrapping must not imply general Rust overflow equivalence. Python explicit masking is not bigint preservation. Hash equality must never certify equivalence. A failed/unavailable oracle must never produce PASS. |
| 15 | |
| 16 | ## Task 1: Contract and arithmetic conformance |
| 17 | - [ ] Write tests/universal/semantics.py to require exact contract version and pinned digest, explicit fidelity/result vocabulary, and cross-language arithmetic observations. |
| 18 | - [ ] Run before contract/fixtures: named FAIL for missing semantic contract. |
| 19 | - [ ] Add spec/universal/semantics.md and profiles.json; include observation trace, relation direction, assumptions, UB boundary, refusal codes, precision/effects/memory/ABI/concurrency policy and compatibility. |
| 20 | - [ ] Add independent arithmetic.c/.rs/.py and OSC fixture plus test-only existing-API probe. Use boundaries plus deterministic fuzz, assert exact C=Rust=masked Python=OSC interpreter/native and retain differing bigint outcomes. |
| 21 | - [ ] Add mk/universal.mk test target. Run positive suite and real compiled arithmetic mutants; bind hashes, commands, versions, counts and result in JSON. |
| 22 | - [ ] Run unchanged relevant compiler/checker tests and repository base test. Preserve failed/unavailable baseline results. |
| 23 | - [ ] Commit working source; independent review exact diff; correct demonstrated defects; replay committed source in fresh output, publish append-only evidence. |
| 24 | |
| 25 | ## Task 2: Publication and dependency reconciliation |
| 26 | - [ ] Save five-repo snapshot and per-child actual existing-code/owner/delta matrix; no unsupported hardware support claim. |
| 27 | - [ ] Push one #625 branch, verify remote SHA, submit READY intake to existing Renda owner with exact dependencies and review evidence. |
| 28 | - [ ] Update architecture #295 and #625 with real branch/evidence links and blockers; read back exact posted comments. |
| 29 | |
| 30 | Pre-flight: tests consume contract and fixture outputs; no production interfaces change. The task order is contract before downstream #621/#622. User already authorized implementation without further approval. |