omega-helix
This project has not described itself yet.
Brought by drakestapleton
omega-helix / docs / FORMATS.md
| 1 | # Canonical Omega Data, Compiler & Droid Formats |
| 2 | |
| 3 | Single source of truth for all Omega file extensions and binary containers so tools, droids, and agents never conflate them. |
| 4 | |
| 5 | | Extension | Magic / Container | Level | Purpose | Canonical Tool | |
| 6 | | --- | --- | --- | --- | --- | |
| 7 | | **`.om`** | UTF-8 text (`om2`) | L0 (Human viewport) | Human-readable pure seeded Omega source code. | `omc` (`omega-mv/seed/out/omc`) | |
| 8 | | **`.omg`** | `OMGC` (`V=256`) | L2 (Canonical AST) | Lossless De Bruijn AST token stream with `O(1)` grammar bitmask (`95%+` `omc` compile validity). | `ollm omg pack / decode / samp` | |
| 9 | | **`.omk`** | `OMK01` (`V=1024`) | L3 (Motif DAG) | Hierarchical Re-Pair motif DAG (`16 B` header + `4 B`/motif table + 10-bit packed tokens, `basis_hash`-sealed). Self-bootstraps `omkc` and all 5 Omega seed helix strands bit-exact. | `tools/omkc/omkc.om` (`pack`/`unpack`/`verify`/`direct`) & `tools/omkc/omkc_direct.om` | |
| 10 | | **`.omz`** | `OMZ01` (`960..1023`) | L4 (Variational) | 64 variational generator tokens unfolding 9-token Hamiltonian/Noether specs into `.omk` via 1-pass reverse AD (`det(J) = 1`, 524-program physics suite `2,112 B < 2.19 KB`). | `tools/omkc/omz_unfold.om` (`OmzSymplectic.lean`) | |
| 11 | | **`.omh`** | `OMH01` (`F_{p^2}`) | L5 (Spectral) | Goldilocks `p = 2^64 - 2^32 + 1` extension `F_{p^2}` 16-byte holographic DAG witnesses (`< 1 ns` check, `<= 2^-110` collision bound) + `O(log T)` Koopman-NTT time-jumper (`T = 10^12`). | `tools/omh/omh_resonance.om` (`OmhSoundness.lean`) | |
| 12 | | **`.omkp`** | `OMKP` (`24 B` hdr) | Wire (Droid L3) | 24-byte little-endian droid wire frame (`magic`, `verb`, `flags`, `tok_count`, `basis_hash`, `msg_id`, `reply_to`) + 10-bit `.omk` payload + optional 32-byte receipt, guarded by `Gate 62/63/64`. | `tools/omkc/omkc.om` (`frame`/`gate`) | |
| 13 | | **Zero-Header RDMA** | `raddr` IOVA | L5 (Silicon Fabric) | Zero-byte header address-encoded grammar (`Base \| (Verb_2b << 22) \| (TypeSort_4b << 18) \| (Slot_10b << 8)`), 4 MiB holographic law blackboard, 64-bit lattice CAS, and live 2:4 sparse NVFP4 row graft. | `tools/omkc/telepathy.om` | |
| 14 | | **`.omds`** | `OMDS01` | Archive / Traces | General dataset/trace container (git commits, diffs, JSONL traces, telemetry). **Not `.omk`.** | `omega-mv` / `omega-helix` dataset tools | |
| 15 | | **`.sp2`** | `OLLMSP02` | Droid Strand | `< 30 KB` W4 crystallized specialist droid capsule with cryptographic 1-bit tamper refusal (`rc=61`). Stored in `~/.local/share/omega-droids/strands/` (never committed to git). | `ollm spcryst / spweval` | |
| 16 | | **`.ck`** | `OLLMCK02` / `03` | Model Checkpoint | Trained pure-Omega transformer (`CK02` standard, `CK03` Level-5 looped-core). Stored locally / on Spark (never committed to git). | `ollm init / gtrainb / vtrain / eval` | |
| 17 | |
| 18 | ## Formal Verification Root |
| 19 | |
| 20 | All base `.omk` / `omkc_direct` / `telepathy.om` invariants (address bijection, `rkey` aperture isolation, lattice CAS monotonicity, `Gate 64` stack soundness, plus broken-model negative controls) are formally proved in Lean 4 (`v4.35.0`, `0 sorry`, `0 native_decide`, standard core axioms only) in [OmkBaseProofs.lean](proofs/OmkBaseProofs.lean). |