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/33dcc2847c2813f6 # 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] Source-aware .om dialect IR and lossless provenance; legacy OSC migration Open · #621 · open 2026-10-22 21:42 UTC Imported from GitHub aien-dev/omega-mv#621, 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. ## Recursive .om interchange extension Coordinate with #645. The current source-aware-v1 contract and core.om permit only straight-line expressions; this is the actual interchange gap. Add versioned function/control-flow and bounded-recursion representation after #625 freezes semantics. Keep source bytes/provenance separate from meaning. Replace forward-facing OSC5/osc-v5 profile assumptions with properly versioned .om profiles; retain old IDs as legacy, never silently change their interpretation. Existing reviewed codec work remains the baseline. Recursive imported behavior must execute through the owned seeded .om path, with #623 validation; no new parallel codec/compiler. Do not change the qualified v1 contract in place. Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295 Current code: https://github.com/aien-dev/omega-mv/blob/main/src/compiler/osc_ir.h ; `src/compiler/osc_ir.c` canonical encode/decode and format versions; `src/compiler/osc_front.c`, `osc_lower.c`; `src/omega_types.h`; https://github.com/aien-dev/omega-mv/blob/main/spec/program-identity.md . OSC is a typed lower execution IR, not a complete Python/Rust/JS semantic model. Existing canonical identity and reader cannot be mutated casually. Implement an additional versioned source-aware layer with importer-owned dialect ops/types/attributes, explicit language/runtime/ABI profiles, effect and alias sets, source spans and a provenance/source-byte sidecar (round-trip source text is preserved from bytes rather than reconstructed from lower IR). Define typed interfaces to OSC IR and an operation legality/target-capability checker: legal, requires runtime, lowerable with obligations, unsupported. Preserve dynamic language constructs until a proof/adapter permits lowering; never invent generic dynamic semantics in `OscScalar`. Use MLIR dialect conversion as design evidence, not an architectural dependency mandate. Acceptance: encode/decode round-trip byte-identical (including unknown-version and malformed mutants); stable hash/no hash collisions introduced by ignoring semantics; old OSC fixtures unchanged; provenance loss must yield named refusal for exact text export; dialect operation with no legal lowering stays typed or refuses. Structural fuzz >=10,000 valid & >=100,000 malformed cases (report actual executed counts); reviewer confirms external API to existing Omegese and checker2. References: https://doi.org/10.1109/CGO51591.2021.`9370308` ; https://doi.org/10.1145/`3729309` ; existing closed Omega #444 https://github.com/aien-dev/omega-mv/issues/444 . drakestapleton wrote on 2026-10-22 23:11 UTC Implemented source-aware semantics and a first bounded C-import slice; this is not programme completion. - #621 handwritten seeded Omega codec/API source: `cd2c41f3c697524629585b2a228e2f0ab5b99c45` . It implements versioned typed upper records, profile/effect/alias/obligation validation, separate semantic/provenance identities and byte-exact source replay without changing existing OSC/checker2 formats. - #622 native handwritten Omega lexer/parser/upper-envelope producer: `50f75da28845f21b118bcf8e3499b96c35ddb587` , branch `universal/622-c-u64-import`. Supported first profile: one pure u64 function, zero through six inputs, decimal ULL literals, parentheses, +,-,*. Precedence/associativity, modulo arithmetic and input slots are explicit. Names/preprocessing/resource bounds are deliberately narrow; unsupported forms refuse, not approximate. Precise profile and teaching guide . Published complete cold replay, raw values, source/upper fixtures, compiler/tool/hardware identities and preserved RED controls . Evidence-only successor `3b86bb2cbe41c8871344fd87feccaebf50c56939` has no runtime-source changes from the reviewed target. Remote inventory was read back and byte-checked. A fresh checkout of the committed source, with no build directory, reconstructed through the existing immutable source-only bootstrap and executed sequentially: - C import gate: 35 programs,48 refusals,817 native-GCC behavioral observations,105 existing native #621 decode/replay/legality requests;15 boundary/public controls;five successfully compiled semantic mutants caught by real differing values. - Full #621 gate: 10000 unique valid +100000 unique malformed units,131000 actual consumed-input-hash-checked structural requests, plus capability/edge/public/direct transactional controls,nine compiled mutants and60 unchanged OSC fixtures through existing decoder/checker2. Exact sourceHEAD is recorded. The native codec artifact hash consumed by the C gate matches this full gate. - Existing base `make test`: 14/14 gates and both reference demonstrations pass, using exact physics pin `6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf`. Real pre-freeze semantic defects were reproduced against GCC: octal010 meant8 in C but10 after import; backslash/trigraph line splicing meant1 in C but3 after import. The corrected first profile explicitly refuses those source forms before publishing an upper unit. Original REDs remain published. Unused named parameters are valid C and intentionally tested; only that oracle warning classification was corrected, with no fixture/assertion removed. Scope: physical Linux AArch64 host correctness evidence. The Omega-native importer and semantic codec executed; the imported C computation was compared through an independent development upper evaluator, not yet lowered/executed through an Omega CPU backend. Python build/dispatch orchestration is disclosed, not called a pure-Omega public command boundary. No exporter, other widths/control flow,10k-C-program corpus,source-to-OSC lowering,checker-bound translation proof,Rust/Python adapter,x86/RV64/GPU qualification or signed production authority is supplied by this slice. Hash equality is identity, not equivalence proof. Independent combined source review L602 is running against exact #621 `cd2c41f3` and #622 `50f75da28845f21b118bcf8e3499b96c35ddb587`. Findings, sole Renda publication and exact-head Spark/hosted verification remain acceptance gates. No issue closed or merge approval asserted. Next executable package after review disposition: C exporter/round-trip qualification and continued #623 obligation/receipt binding, without bypassing the existing checker. drakestapleton wrote on 2026-10-22 23:18 UTC Independent source review completed: PASS for the explicitly bounded #621 source-aware codec and first #622 C importer; no blocking findings. Published original report, reviewer raw C gate/boundary/mutant records and parent disposition . Exact reviewed functional pins: #621 `cd2c41f3c697524629585b2a228e2f0ab5b99c45`, #622 `50f75da28845f21b118bcf8e3499b96c35ddb587`. Report SHA256 `48efc75073aa1e501d3a694c19b28bb0378f99da87491744ae30e4038499965a`; controls SHA256 `caad8a85060ec84e827a7211b8cfe2f68b021988015156cef414292987dae873`. Reviewer independently built in a private archived snapshot and executed 35 positive programs,48 refusals,817 native-GCC comparisons,105 existing #621 API requests,15 boundary/public controls and five successfully compiled semantic mutants. Builder symlink/special-file refusals preserved external sentinels. The full 131000-request #621 suite was not redundantly rerun by the reviewer; its exact committed-source cold receipt was inspected, with fresh focused review/probes separately reported. Parent verified original report/control hashes, actual raw reviewer results, all10 recorded consumed source-closure hashes against the frozen author replay, and equality of reviewer/author native importer artifact hashes. The private snapshot's local git metadata is explicitly not the upstream source pin. This evidence-only commit changes no runtime source. The independent-source-review hold is cleared only. No whole-#622 completion, C exporter/roundtrip, new widths/control flow, imported computation through Omega CPU lowering, translation proof, signed Spark/hosted gate, PR merge, other CPU/GPU support or production authority is inferred. #625/#621 remain dependency-ordered inputs to the sole Renda publisher; full programme remains open and no issue is closed. The broader #622 exporter/corpus/lowering work remains on its existing branch/owner rather than a duplicate worker. drakestapleton wrote on 2026-10-23 12:33 UTC L729 source and contract proposal and reviewed evidence reconcile reviewed codec `cd2c41f3` with importer50f75da2 and evidence-only successor `f5b5b3f6`. The importer already has bounded recursive parsing; current v1 interchange still excludes recursive programs. No changes to core.om, source-aware-v1.md, old profile IDs or historical bytes. Fresh inherited codec gate passed10000 valid/100000 malformed units,131000 actual requests and9 compiled mutants. The new recursion workload gate passed3464 observations and7 compiled faulty controls, independently reproduced. Required next artifact from existing codec owner: additive canonical function/CFG/call/return-continuation records, explicit .om profile/identity versioning, malformed graph/version/identity gates, and a binding to owned native lowering/#623 validation. The RQ2 transport in the new fixtures is explicitly test-only and is not a recursive upper codec. L569/L608/L707 were notified; no ownership transfer or issue completion is inferred. Sign in to comment