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/afc95e7c242ba5c0 # 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 # [SI LATTICE L1] Native 3D meaning×method×physics candidate field with causal DAG and measured selection Open · #698 · open 2026-10-24 17:34 UTC Imported from GitHub aien-dev/omega-mv#698, by drakestapleton drakestapleton wrote on 2026-10-24 17:34 UTC ## Deliverable and exact ownership Implement an additive native semantic policy interface to choose among qualified methods and FORGE physical realizations for the same bounded typed objective graph. Connect protocols #50 , Omega #522 numeric selector and #695 batch scheduler, Core #735 model seat admission and FORGE physics-mv . `si-lattice` proposed repo/issue #308 owns strategy experiments and optional visualization; Omega owns real World/J-Space math semantics and scheduling admission, FORGE owns machine realization, AEGIS owns authority. Do not build a new scheduler behind another name. ## Operations - Define sparse admissible set `C_{i,j,k}` indexed by typed obligation `i`, qualified method/model/skill `j` and FORGE-reported hardware realization `k`. A coordinate is a proposal, not permission; bound supported combinations and enumerate complete source/capability/precision/dependency identity. - DAG precedence, cost and energy estimates with uncertainty from real verified receipts; include full objective wall time, GPU contention, shared weights, memory traffic, prep/verify/recovery, p95 fairness and effect isolation. Never treat Turing scientific gain as a direct per-microjob score. - Support concurrent independent ready nodes, multiple proposed refinements, adaptive recomputation or cache reuse of pure nodes, and exactly-once effects after verification. No requirement that Allen→SI→Omega→FORGE be literally serialized; dependence and capability checks determine safe concurrency. - Evaluate a finite predeclared candidate set with deterministic ties, mixed CPU/GPU placements when independently qualified; unknown-cost/incompatible proposals refuse or select known qualified incumbent. Selective model call vs math-only `.om` path preserves semantics and data ownership. - Signed proposal and realized-outcome links into existing Cortex observation/receipt path; no direct untrusted write or privileged workflow. ## Acceptance - ≥12-node synthetic graph with fork/join, two strategy choices, two simulated physical alternatives, one trusted effect and mixed privacy scopes; prove equivalent completed outputs vs serialized baseline. - Independent mutants for cycles, wrong deps, stale model/precision, illegitimate cached output, privilege escalation, budget starvation, model worker-down, self-modified proof/receipt, invalid realization and transaction replay. - Compare serialized/lowest-cost-first/3D qualified policy on identical workload with all overhead; report measured wall and critical path, reduction in bytes and CPU/GPU utilization only where instrumented. Actual Spark claim needs signed real-chip runs; no speedup presumed. ## Mandatory shared contract Parent: https://github.com/aien-dev/aien-architecture-mv/issues/307 . Read authoritative PLAN_AUTHORITY , current plan, doctrine/ADRs, `AGENTS.md`, directory `.crumb`, current source heads, branch claims, in-flight PRs and prerequisite issues before edits. This is a bounded component issue and not another master plan. Reuse authoritative Omega seeded handwritten `.om`, existing compiler, skill/Cortex single-writer, FORGE native physical realization, AEGIS authority, Spark independent judge and receipt signer; no new shadow compiler/trainer/scheduler/trusted ledger or Python/PyTorch/CUDA product fallback. Existing C/Rust is migration evidence, not new first-party final implementation. Unavailable `.om` capability is a concrete compiler-owner blocker. Do not stop/restart/expose live 35B private 18091, publish private data, swap weights, run unreserved GB10 tasks, or deploy a network as a side effect of issue creation. Separate source-only, host, independent silicon, and production readiness into PASS/FAIL/INCONCLUSIVE/NOT_RUN and pin receipts. drakestapleton wrote on 2026-10-24 22:45 UTC ## Boot-native causal execution addendum (2026-10-24) Integration dossier: https://github.com/aien-dev/aien-architecture-mv/issues/314 . Keep this issue's existing Omega/World/J-Space, FORGE and AEGIS ownership; no new scheduler. - “Flow/hive” means deterministic readiness from explicit dependencies, ownership and completion, not a literal quantum state, zero elapsed time, or an LLM on every dispatch. - Connect #644 resident-state handles to ready-work admission, bounded queues/backpressure, fairness, cancellation and safe handoff. Test independent concurrent nodes, fork/join, stale completions and starvation under finite resources. - Retain the qualified incumbent if a more elaborate placement policy loses or evidence is inconclusive. Existing host q3d results are comparison evidence, not proof that the new policy wins or that .om/GPU migration is complete. - Scope effect guarantees precisely: preserve approved effect identity and durable claim/completion protocols; uncertain external outcomes are not automatically retried. Do not promise universal exactly-once external effects from DAG scheduling. - Compare outputs, complete state and effect trace against the same serialized semantic baseline. Deterministic scheduling alone does not prove floating-point bitwise equivalence. The boot-native dossier consumes this component's evidence; it does not change authority, numerical profiles or current hardware-window rules. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:15 UTC Recovered GitHub comment. Original comment `6387933963` ## L1 lattice: HOST_TESTED (source + host CPU). q3d loses to lcf on measured wall time. Branch `feat/698-lattice-candidates` · commits `a8742c96` (code) and `c02e4c35` (evidence + spec). No PR; the merge desk owns PR creation. Files (new only): `src/runtime/rx_lattice.{c,h}`, `tests/runtime/rx_lattice_{fixture.h,unit.c,bench.c}`, `mk/lattice.mk` (auto-included), `spec/candidate-lattice.md`, `evidence/LATTICE-698/20261024T1827Z-a8742c96/`. ### What it is - Sparse `C[i,j,k]` over: - typed obligations `i`, using `rx_graph.h` AgKind numbering and AG_E_* errors; - qualified methods `j` (rx_costmodel arms); - reported realizations `k` (core class + lane count, or a FORGE descriptor digest + verified flag). - Only declared supported pairs are enumerated. Each coordinate gets a SHA-256 identity covering shape, weights, scope, precision, generation, deps, method revision/precision/rights/seat/source, and the realization descriptor. - Candidate ≠ authorization. Admission records a refusal reason for each coordinate: precision, stale, privilege, scope, realization, seat, unverified, evidence, unknown_cost, failed, budget. A node commits only from a receipt that binds the dispatched candidate and reports passing independent verification. - No second cost model. Mean and spread come only from `rx_cm_predict`. The lattice pins `rx_cm_digest`, and changed evidence refuses the challengers. Ops that rx_costmodel doesn't cover run their incumbent only, charged at the declared cap. Unknown cost is never zero. - Policies over identical admitted sets and lanes: `serial`, `lcf` (lowest predicted cost first, dependency-driven), and `q3d` (longest remaining path first; minimizes lane availability + upper-confidence cost; incumbent wins ties; affinity to resident weights). - Lanes never exceed declared capacity. A single-owner device has 1 lane, so there is no fake parallelism. - Effects are exactly-once per txid, committed by the single dispatcher after verified inputs. - Pure-output reuse is scope- and generation-bound. - Calculator only, nm-guarded like rx_costmodel.o: no fork, exec, mmap, open, write, authority or generation symbols. ### Tests (aarch64 Spark host, no GPU) - `make test-lattice` → checks 237 failures 0, exit 0. - 17-node graph with fork/join, public plus tenants A and B, one trusted effect, shared weights. - Methods: the reference incumbent, M12 scalar, R10 quad4, a planted wrong arm, and a declared model call. Emitted arms are differentially verified in a forked child. - Realizations: 2× X925, 2× A725, and a simulated single-owner accelerator. - All 3 policies produce outputs identical to serial and to an independent reference-only oracle, with the effect committed once. - Mutants: cycle and self-cycle; wrong deps (effect consumed, out of range, arity, duplicate, weight shape, kind, cross-tenant); stale revision and precision; illegitimate cache entries (tampered, other tenant, stale generation); privilege escalation and effect without the right; budget starvation; model worker down; self-modified receipt, receipt for another candidate, replayed receipt; changed cost evidence; invalid realization and changed descriptor; transaction replay; unknown cost; failed arm. - Unit test makespans are MODELED (synthetic truth table), not measured. - `make test-costmodel` → checks 68 failures 0 (unchanged consumer). - `make build/rx_lattice_bench && ./build/rx_lattice_bench 31` → exit 0. These are measured wall times on pinned host CPU lanes. The cost model was fitted from 240 timed observations on shapes that don't appear in the graph, and gpu.sim was refused (no FORGE lease). Recorded run, medians over 31 paired rounds in rotating order: policy wall busy sum realized crit path serial 655.8 µs 490.4 µs 195.1 µs lcf 243.4 µs 434.9 µs 163.9 µs q3d 303.3 µs 380.4 µs 150.5 µs - q3d/lcf = 1.255; q3d was faster in 0/31 rounds. Over 5 runs the ratio was 1.21–1.26. Sign test (Wolfram): P(0 of 31) = 4.7e-10. - Both beat serial: lcf/serial 0.366 and q3d/serial 0.461, faster in 31/31 rounds. - Why q3d loses: it does less total work (quad4 on X925 only) but leaves the A725 lanes idle while waiting for X925. The ~9.7–10.6 µs/node hand-off overhead (serial wall − busy)/17 isn't a feature rx_costmodel has. - Outputs and effect are identical to serial in every run. Energy, memory bytes and GPU utilization were not measured, and none are claimed. ### Status: HOST_TESTED (calculator, mutants, CPU-lane benchmark) Migration debt (seeded-.om rule). This is C because it must consume rx_costmodel (C, IEEE doubles). Seeded omc has no float or fixed-point log2/exp2 and no C ABI/import, so an .om lattice could neither call the cost model nor port it faithfully. The .om successor is blocked on the compiler owner: #636 FR4 IEEE floats + FR7 ABI/imports. It needs those features before it can replace rx_costmodel and this lattice. ### Remaining blockers / NOT_RUN - Signed Cortex proposal/outcome links: the receipt binding is SHA-256, not a signature. - A real accelerator realization: needs a FORGE lease (physics-mv#77) and a spark-window. - Model seat: Core#735. - Batching: #695 (no overlap; only weight-residency counts here). - A dispatch-overhead feature in rx_costmodel (#522/#583 owners). - Any Spark GPU claim. Sign in to comment