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/omega-mv/issues/cbd9d3da2103e841 # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OMEGA-UNIVERSAL P0] Specify observable semantics, supported subsets, and conversion fidelity Open · #625 · open 2026-10-22 21:42 UTC Imported from GitHub aien-dev/omega-mv#625, by drakestapleton drakestapleton wrote on 2026-10-22 21:42 UTC ## Governing update: .om only; .osc is legacy Drake reaffirmed on 2026-10-23 that .osc is being retired and .om is the only forward source-language path. This update supersedes older wording below wherever it would require new .osc production features, .osc authoring, a mandatory legacy OSC execution route, or a new foreign compiler/runtime fallback. Extend the existing handwritten seeded .om implementation and current owners; retain legacy formats/code/receipts only under an explicit compatibility, migration or independent-reference role. Preserve historical bytes and trust guarantees; version any changed semantic profile, format, checker boundary or identity rather than relabelling an old OSC ID as .om. This is not permission to remove validation. Current seeded candidates must be inspected alongside main: #621 core `cd2c41f3c697524629585b2a228e2f0ab5b99c45`, #622 importer `50f75da28845f21b118bcf8e3499b96c35ddb587`. The latter already uses bounded recursive parsing. Therefore legacy main's recursion rejection is not a statement that .om lacks recursion. Existing issue comments describe bounded reviewed slices, not whole-program completion. ## Bounded recursion semantics extension Define #645's .om/imported recursive profile: evaluation/argument order, direct versus mutual recursion, effects, arithmetic/traps, fuel/work limits, frame/storage limits and exhaustion. Distinguish termination proof from budget-bounded execution and full equivalence from an explicit restricted/refinement contract. Define #646 cache purity/complete-input identity and how hits account for logical fuel so reuse cannot silently alter budget outcomes. Preserve the already-reviewed arithmetic/lifecycle evidence; extend its versioned contract rather than invalidating or rewriting those receipts. Parent tracking: https://github.com/aien-dev/aien-architecture-mv/issues/295 Existing code: `src/compiler/osc_ir.h`, `src/compiler/osc_interp.c`, `src/omega_types.h`, `spec/program-identity.md`, `src/omega_canonical.c`. Present OSC defines bounded integer and control-flow semantics, not universal cross-language behavior. Work: Write a versioned `spec/universal/semantics.md` describing which observable behaviors are preserved per adapter: values/types, arithmetic overflow, traps and exceptions, memory and ownership, mutation, I/O/effects, concurrency, runtime/ABI requirements and unsupported constructs. Distinguish (1) original source text replay, (2) equivalence or refinement for a specified subset, (3) bounded validation, (4) differential testing, (5) runtime interoperability and (6) unsupported/unknown. Exact byte recovery requires preserving original source bytes; source hashes and matching examples do not themselves prove equivalent behavior. Acceptance: Small conformance fixtures covering C uint64 modulo arithmetic, Rust wrapping arithmetic and Python bigint arithmetic; include counterexamples showing why they differ. Define behavior for signed overflow, pointers/aliasing, floats and exceptions or explicit refusal. Require review by someone other than the implementer; version and hash the contract, and preserve existing OSC identities unless an approved migration specifies otherwise. Research: https://doi.org/10.1145/`3571220` ; https://doi.org/10.1145/`3519939`.`3523703` . Related: https://github.com/aien-dev/aien-architecture-mv/issues/248 . ## Durable language evolution amendment (2026-10-25) Maintain a versioned capability/semantics matrix with implemented, qualified, unsupported and unknown columns, named owner and independent fixtures. Cover integer/FP/NaN/rounding and vector semantics; initialization/ownership/lifetimes/aliasing/layout; slices/FFI; modules/linking; allocation/failure/cleanup; effects/capabilities/exceptions/cancellation; atomics, CPU/GPU memory ordering, races and synchronization; recursion/fuel; serialization/evolution; debugging/source maps; hardware and source-adapter subsets. Map existing issues before creating missing leaf work; require real consumer per extension. No universal-language claim from one subset. For each semantic addition version artifacts/contracts, preserve existing program meaning/IDs, define compatibility/rejection and explicit migration; reproducible conformance fixtures must travel with profile. Separate source equivalence, module linking, native safety and device execution guarantees. Research motivation: compositional verified compilation https://doi.org/10.1145/`3632914` ; single-function correctness does not establish linked-program correctness. First delivery is the compact SHA slice (#745/#746/#747 and #665/#655), not implementing every matrix cell at once. Later consumer-driven systems closure, portability and experiential learning reuse #601/#624/#631/#650/#725/#726/#742-#744 and their existing owners. No changed release sequence. ## Composed effect contract for #673 Freeze a finite versioned profile consumed by #756-#760 and aien-dev/omnet#3. Specify authority (principal/object/action/policy epoch), protocol state and transition, quantity domains, resource reservations, permitted observations/declassification, and crash/recovery conditions. Define exact denial/trap/cancellation/uncertain outcomes and public error disclosures. Bind policy and state versions at the effect's justified linearization point. Specify two proof layers: (1) state invariant preservation under environmental interference, and (2) relational noninterference for paired runs, including scheduler/allocation/reclamation observations where claimed. Declare abstract-to-concrete representation, memory model, target leakage model and persistence assumptions. No atomicity or authority authenticity is assumed merely because a type/ghost token is declared. Exclusive rights/reservations are nonduplicable; shareable reads need explicit rules. Preserve translation-v1 S1 modulo-u64 semantics and existing IDs. #756 adds explicit bounded quantities; it must not silently change unsigned behavior. This extension follows the existing compact-SHA/release priorities rather than replacing them. Proof search is allowed to be incomplete: UNKNOWN refuses the stronger admission claim. Policies require independent review; proofs cannot infer unstated intent. drakestapleton wrote on 2026-10-22 22:08 UTC #625 review finding is fixed and clean-source replayed; programme remains open. Final candidate `69790fb4ad1e803ca79245430745b96129d1dcf4` on `universal/625-semantics` contains the versioned observation/fidelity contract and independent arithmetic references, plus the evidence-lifecycle correction. Independent reviewer L572 replayed exact source `d9ce93af` and confirmed 412 pairs/oracle, 373 bigint counterexamples and two compiled semantic mutants caught. They found one medium defect: a failed rerun could retain an old PASS receipt. I reproduced it with three failing regression cases (missing compiler, changed contract, failed OSC-probe build), invalidated transient receipts at both entry points, and ran all three regressions plus the full new arithmetic suite successfully. Fresh clean-checkout replay of corrective source `c1da86d68fb1d4af20c879a82f373a4556f7e957` exited 0. Review, RED/GREEN and exact-source replay . The base Omega test also exited 0 with 14 gates and both demonstrations, using the exact `physics.lock` dependency. Separate corrected baseline evidence . Initial failed setup invocations and CUDApp host TIMEOUT remain preserved, not relabelled PASS. Renda's existing local-authoritative queue acknowledged the exact repository/branch/head as `ACCEPTED_LOCAL_NOT_PUBLISHED` (ledger L575). No PR/merge or signed Spark-judge qualification is claimed yet. Renda must independently inspect the corrective runner delta and complete ordinary exact-head review/judging before acceptance. No issue closed. The next dependency, #621, is now actively assigned to one fresh worker L574 in its own `universal/621-source-aware` worktree, stacked on this candidate. Verified startup: gpt-6.1-sol/high, native Omega production source constraint, existing OSC/checker boundary retained, explicit source-byte/legality/version/identity gates and actual 10k-valid/100k-malformed requirements. Existing Bridge/compiler/GPU/firmware workers are not duplicated or modified. These results establish bounded arithmetic differential tests and a reviewed semantic contract, not source conversion or a translation proof. General C/Rust/Python imports/exports, checker-bound conversion receipts, x86/RV64GC qualification, typed component interoperability and checked GPU tensor realization remain incomplete. Physical GPU and RV64GC/QEMU programme results remain NOT_RUN. drakestapleton wrote on 2026-10-22 22:30 UTC Independent corrective review is now complete for exact #625 candidate `69790fb4ad1e803ca79245430745b96129d1dcf4` (correction `c1da86d6`). Reviewer-owned replay passed 3 lifecycle regressions, 412 oracle rows and 2 compiled mutants; direct missing-compiler and public probe-build failures both removed seeded stale PASS receipts. No corrective findings remain. Independent report and exact-source reviewer receipt . This evidence-only successor branch does not alter the #625 candidate or its local READY identity. Source-review HOLD is cleared for this bounded contract/arithmetic-fixture correction only. This is not conversion correctness, a formal proof, broad suite approval or merge approval. The confirmed generic READY publication gap L575 and ordinary signed Spark-judge/hosted/merge gates remain open. No PR or issue closure is claimed. drakestapleton wrote on 2026-10-23 12:33 UTC Additive bounded-recursion contract proposal and tested fixtures are now available at functional source , with independent review and raw evidence . The proposal freezes the fixture's left-to-right calls, pure u64 behavior, entry fuel, live-frame/logical-storage bounds, explicit exhaustion precedence, and the distinction between bounded partial execution and termination/equivalence. Independent reviewer reproduced3464 native observations and seven compiled faulty controls after two corrected findings. Existing semantics.md and all historical v1 identities/receipts are unchanged. This is a proposed additive v2 profile, not an accepted general recursive interchange contract. L569/existing semantics and codec owners have the exact proposal for agreement. Native cache identity/fuel requirements are specified; cache execution remains NOT_RUN. Full issue acceptance and signed judge remain open. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:12 UTC Recovered GitHub comment by @aien-spark on 2026-10-25T19:53:33Z. Original comment `6402400478` SC1 additive composed security contract prepared in the #673 integration lane, SHA256 `8bc52be7a480e279fb77673648a2f7775ba6d4841a8b1e6c427531b25d4d1860` (spec/security-compose-v1.md; publication follows review). OM-1/OM-2/S1 meanings unchanged. Independent contract review: checked nominal quantity structs are only a consumer slice; validate original operands before arithmetic, not already-wrapped results. One existing omnet snapshot transaction must commit authority, logical append and accounting together; no second ledger. Namespace rename, durable directory fsync and acknowledgement are separate boundaries. External effects need provider fencing, not post-effect generation comparison. Independent Wolfram R3 enumeration confirms 18 states/78 distinct edges only with global crash clearing BOTH effect-free reservations including quiescent self-loops; per-client-only crash yields70 and is a different model. No disk/secrecy proof follows from R3. Disjoint .om lanes now implement quantity helpers, pure reservations/public envelopes, narrow relational scanner fixtures, and the offline safety game; service/compiler integration remains with existing owners. Policies and implementation correspondence require separate review. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:16 UTC Recovered GitHub comment. Original comment `6402742937` SC1 reviewed contract is now draft PR #770, final revision-2 sha256 `ced61decef1ff4efbf5bc81598db648aa810be434e373e9bc1563dbcb4523496`. It supersedes my earlier draft8bc52... after independent review found actual-policy and evidence mismatches; old receipts retain their old identity and are not silently upgraded. Corrections include rename linearization vs fsync+close acknowledgement, upstream parent-state AUM signer authorization/fork choice, local adapter assertions not remote authentication, canonical replay no-op semantics, standing temporary reservation before staging, public envelope accounting/recovery, explicit secret length/disclosure/closure, scanner limitations including secret dividend with constant divisor, and every Q/R/E/A/L/G acceptance row. Policy appropriateness remains a separate review obligation. Implementation workers now have fixed exclusive paths; no compiler or registry edits. #673 will receive component PRs and exact verified/failed/blocked/not-run matrix. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:21 UTC Recovered GitHub comment. Original comment `6404131043` ## Coverage matrix published; new gaps found by the compiler and SHA work (L839/L835) Matrix: `om2/coverage-matrix` @ `ae0816a0`, `docs/omegese-coverage-matrix.md`, owner-linked per row. Gaps this workstream confirmed and which stay in the matrix: - SIMD: no vector word; the SHA rounds are scalar `ROR`/`ADD` (576 `EXTR`, 0 `RORV`, 0 syscalls in the artifact). - Debug info: none in the output; `om2 diag`/`omc-site` records are compile-time annotations only. - Crypto constant-time: unsupported as a claim; the static scanner cannot treat a declared public count field as public, which is why `update`/`final` are NOT_RUN (E13). - Gate wiring: `gate5`/`gate6`/`gate669` are not wired into `OMEGA-SEED` (the L798 row was partly wrong). - GPU memory ordering: no model at this pin. - Interpreter/trap model: an unbounded loop traps 4 after 1,000,000 passes, so a unit that must stream more splits the work itself (the SHA unit uses 2^25-byte `part`s); function-mode stack exhaustion faults instead of returning a status. Also now covered by contract and fixtures (previously unstated): `dup32` constructor discipline, non-wrapping `part` bounds with `o` evaluated before `k`, `fresh` definite-write joins, layout overlap/extent refusal, 6 parameter slots with unsized views taking two, `E ≤ 32` exports, and per-function expansion fuel charged in source/emission order (E14/E16). Sign in to comment