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 lowering and fixed-point validation extension
Consume #645/#646/#647. Bind .om source/profile, bounded recursion contract, upper representation version, transformation, native code, target and verifier identities. Independently validate preserved return/trap/effect/fuel behavior for supported lowering. Controls must catch omitted fuel, frame overflow, wrong continuation/argument order, wrong cache key and missed worklist propagation. Keep observed no-trap IR proof distinct from source/native translation equivalence, as the existing #623 boundary experiment demonstrates. Port/reuse the existing trust mechanism under the owned seeded .om migration; never treat legacy checker compatibility as proof of the new path. Existing reference checkers remain comparators until the corresponding native validation is qualified.
Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295
Existing: src/checker2/c2_ir.c, c2_check.c, c2_lrat.c, c2_receipt.c, src/compiler/osc_interp.c, osc_cg.c, src/omega_receipt.c. Omega #446 was closed after adding independent checker and signed receipts; do not fork these systems. Related scoped E05 aien-architecture-mv #248 and Omega #450 hardening follow-ups.
Implement: a versioned translation-validation obligation for each source dialect -> Omega upper semantic layer -> OSC -> native/interop target; bind source/dialect/version/profile, target ABI/ISA, transform digests, runtime prerequisites, proof or bounded counterexample trace, independent checker version, unknown/timeouts and capability effects. Define how source observation set and target observation set relate (refinement, exact equivalence, approximate declared); supply an independent validation runner/checker adapter using checker2's trust boundary. Have a known-good lowering and mutated invalid examples; never label a timeout PASS.
Acceptance: exact mutation tests for flipped overflow flag, invalid sign extension, altered branch, invalid proof, wrong target, modified source, stale policy/receipt, dropped exception/side effect, race/aliasing and unsupported operation. Tampered code/IR/provenance must refuse. Minimum 20 well-defined SMT/proof-eligible arithmetic examples with independently checked outcomes; larger cases may return UNKNOWN. Report proof assumptions, solver/toolchain pin, run ID and exact confidence class. Cross-check Alive2 only within its documented bounds.
References: https://doi.org/10.1145/3453483.3454030 ; https://doi.org/10.1145/3763147 ; https://doi.org/10.1145/3676641.3716270 .
Relational security and composed certificate binding
Consume #756 quantities, #758 source/native secrecy, #759 resource observations and #760 safe-state certificates under #625. Extend the existing validation boundary; do not create an alternate signer/checker or relabel IR NO-TRAP evidence as native security.
- Bind source and executable hashes, semantic/profile version, policy/disclosure contract, compiler/optimization/ABI/target, concrete transition abstraction, memory/leakage/persistence model, checker version and solver certificate. Reject stale/missing bindings.
- Independently check state-invariant preservation AND the claimed relational observation property. Ordinary per-run trace inclusion can select a secret-dependent allowed trace; include source {0,1} with a faulty secret-selecting lowering as a counterexample.
- For #760, check initial inclusion, admissible action coverage and closure over all modeled disturbances; a feasible safe subset is not a maximality proof. Unsupported/timeout/partial certificates are UNKNOWN, never proof.
- Mutation controls alter native branches/addresses, quantity semantics, policy epochs, quantified disturbance coverage, observation model, executable bytes and checker identity. Require the appropriate obligation to fail.
- Maintain explicit proof-vs-test classes and trusted assumptions. External proof search may be untrusted only when its output is checked by the qualified small checker. Source/binary identity and signatures alone establish neither refinement nor secrecy.