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
omega-mv / seed / helix / ollm_factory / ARCHITECT-BUILDER-4STRAND.md
| 1 | # 4-Strand Architect–Builder RLVR Pipeline (`seed/helix/ollm_factory/`) |
| 2 | |
| 3 | Pure seeded-Omega implementation of the **4-Strand Architect–Builder RLVR Plan** for a single DGX Spark (NVIDIA GB10), unifying: |
| 4 | |
| 5 | - **Architect**: `q36-35b` (Zero-CUDA Qwen 3.6 35B-A3B, `~/.local/bin/q36-35b`), producing language-neutral algorithm plans and 3–5 concrete `ASSERT(in->out)` vectors (never raw OM-2 code) in a single cold-boot batch. |
| 6 | - **Multi-Strand Builder**: Frozen `loop_r3` core + 4 chained `14.17 MB` `OLLMSP01` specialist strands clipped via live `ollm spclip (MODE=1, S=4)`: |
| 7 | 1. **Strand 1 (`arith` / `branch` / `bits` / `digits`)**: Core arithmetic & control. |
| 8 | 2. **Strand 2 (`loop` / `fold` / `select` / `count` / `scan`)**: Iteration, state & aggregation. |
| 9 | 3. **Strand 3 (`rewrite`)**: Structural & symbolic transforms. |
| 10 | 4. **Strand 4 (`repair`)**: Compiler & logic repair (`broken + omc error / wrong output -> verified fix`). |
| 11 | - **Deterministic Judge**: `seed/out/omc` + execution oracle + `bench seen == 0` zero-leakage screen across all `165` frozen benchmark tasks. |
| 12 | - **Governance & Safety**: 4-Strand BFT Braid + Four-Wall RSI Gate (`REJECT_OVERFIT_KEEP_P1` on `held.tok` regression, minimum batch floor guard eliminating the `P2` 16-window overfitting failure mode, tamper controls `rc=60/61/62`, and Section 6 Post-Cycle Scaling Decision Rule). |
| 13 | |
| 14 | ## Pure-Omega Components |
| 15 | |
| 16 | | File | Role | |
| 17 | |---|---| |
| 18 | | `architect_client.om` | Native Omega TCP batch client for `q36-35b` (`plan`, `requeue`, `selfcheck`); enforces zero raw-OM-2 leakage and `>= 3` `ASSERT(...)` checks; supports offline deterministic mode (`port=0`) for host CPU gates. | |
| 19 | | `strand4_attr.om` | 4-Strand Fault Attribution Engine (`attribute`), Dual-View `\0`-EOS trace extractor (`extract`), Minimum Batch-Floor + Four-Wall BFT Promotion Gate (`promote`), Section 6 Scaling Rule (`decide`), and full positive/negative `selfcheck`. | |
| 20 | | `architect-builder-cycle.sh` | 4-Stage batched cycle orchestrator (`--offline` for host CPU testing, `--live` for single GB10 cold-boot `q36-35b` + 4-strand `spclip` sweep). | |
| 21 | | `architect-builder-gate.sh` | Dual-strand AArch64 host verification gate (zero GPU required): compiles all tools identically across Strand A (`seed/out/omc`) and Strand B (`A_fast`), trains a compact 4-strand `OLLMSP01` ensemble, runs live 4-strand `spclip MODE=1 (S=4)` + tamper controls (`rc=60/61/62`), and executes an end-to-end offline cycle. | |
| 22 | |
| 23 | ## Verification (Spark AArch64 CPU, Zero GPU) |
| 24 | |
| 25 | ```sh |
| 26 | sh seed/helix/ollm_factory/architect-builder-gate.sh |
| 27 | ``` |
| 28 | |
| 29 | ## Campaign results |
| 30 | |
| 31 | - Rounds 1 to 3 and Cycle 1: `evidence/OLLM-HELIX-CLOSED-LOOP-20261121/`. |
| 32 | - Cycle 2 harvest, `r0` baseline re-measurement, and rounds 4 to 11: `evidence/OLLM-AB4-ROUNDS-4-11-20261122/`. Diminishing returns reached on the frozen benchmark for this model and this data (rounds 4 to 11 scored 3, 5, 5, 5, 2, 2, 4 and 2 of 159 vs round 3's 6 / 159; nothing promoted). The `r8` vs `r9` ablation confirmed that widening the rehearsal draw recovers most of the rounds 1–3 held-out forgetting (`3.128` back to `2.218–2.244` against the pre-campaign `r0` baseline of `2.144`, plateaued in `r10–r11`). GPU training of frozen-core strands, Architect Cycle 3, and a widened core are NOT_RUN. |