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/sovereign-intelligence/blob/main/harness/README.md # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `sovereign-intelligence / harness / README.md` 136 lines · 11269 bytes Raw Blame History Rendered 1 # Omega Harness 2 3 Agent skills for working in Omega, the `.om` language of AienOS, and in the AIEN repositories. An agent that loads these skills finds the actual source before acting, writes `.om` code that the seeded compiler accepts, runs what it builds, and reports its status without overstating it. 4 5 Skills can't make agents flawless. What these do is turn the mistakes agents keep repeating into checks they must run before they claim anything: stale syntax, guessed compiler limits, compiling without running, labeling host-only runs as qualified, and choosing the wrong repository. 6 7 | Skill | Use it for | 8 |---|---| 9 | [`omega-harness`](skills/omega-harness/SKILL.md) | The overall workflow: orient, implement in `.om`, compile, run, challenge, handle effects, learn from repeated errors | 10 | [`writing-omega`](skills/writing-omega/SKILL.md) | A portable guide for writing a correct `.om` program on any machine: shape, types, words, traps, errors 1..30, common mistakes with their exact refusals, known compiler defects and workarounds | 11 | [`omega-encoding`](skills/omega-encoding/SKILL.md) | The language the seeded compiler accepts: prefix words, types, traps, bounds, registers, host I/O, byte layouts, error codes, plus two runnable examples | 12 | [`omega-communication`](skills/omega-communication/SKILL.md) | Status labels, reports, PR text, agent handoffs, receipts, wire formats, corrections | 13 | [`aien-repositories`](skills/aien-repositories/SKILL.md) | What AIEN builds, who decides what, and which repository owns a task | 14 | [`crumb-protocol`](skills/crumb-protocol/SKILL.md) | Directory coordination: read and respect crumbs, claim and release locks, keep committed crumbs fresh, answer `CRUMB-VERIFY` and `crumb-doctor` | 15 | [`wolfram-math`](skills/wolfram-math/SKILL.md) | Mandatory Wolfram for every computation: MCP setup an agent can do alone, verification calls, failure handling | 16 | [`lean-verify`](skills/lean-verify/SKILL.md) | Machine-checked Lean 4 + Mathlib proofs of safety invariants over an explicit model through the `lean` MCP: when to use Lean versus Wolfram, the model-to-system link, no `sorry` or extra axioms | 17 18 The skills use the Agent Skills layout (`skills//SKILL.md` with `name` and `description` frontmatter), so any agent that reads that layout picks them up. 19 20 ## Human-Directed Agentic Engineering 21 22 Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria and stopping points; agents implement, execute checks, diagnose failures and revise within those boundaries. Human review retains responsibility for claims, acceptance and release decisions. These skills make the agent's inner loop explicit without transferring the human's authority to a model. 23 24 For the documented method and systems-software case study, see Gregory M. Kurtzer, *Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026), [doi:10.5281/zenodo.`23682548`](https://doi.org/10.5281/zenodo.`23682548`). Project authorship, compiler pins and historical evidence remain unchanged. 25 26 ## Install 27 28 Clone the repository, then put the skill directories where your agent looks for skills: 29 30 ```sh 31 git clone rad://`z39gvwWsnkRZsAConQLjaKiNVLHfW` omega-harness 32 ``` 33 34 Radicle is the canonical home (2026-11-07). The `aien-dev` GitHub organization is frozen; its 35 `github.com/aien-dev/...` links below are historical citations of the commits they name, not live 36 destinations. 37 38 | Agent | Skill directory | 39 |---|---| 40 | oh-my-pi (`omp`) | `~/.omp/agent/skills/` or a project's `.omp/skills/` | 41 | Claude Code | `~/.claude/skills/` or a project's `.claude/skills/` | 42 | Codex and other Agent Skills readers | `~/.agents/skills/` or a project's `.agents/skills/` | 43 44 ```sh 45 cp -R omega-harness/skills/* ~/.agents/skills/ # pick the directory for your agent 46 ``` 47 48 `omp` can also read them in place. Add the clone's `skills` directory to `skills.customDirectories` in `~/.omp/agent/config.yml`. Once installed, agents load a skill automatically when the task matches its description. In `omp` you can also invoke one directly with `/skill:omega-harness`. 49 50 ## Conversion 51 52 The November 6 local Mac model experiment has explicit 53 [runtime receipts and an open host-language migration boundary](skills/omega-harness/SKILL.md#2-implement-in-the-actual-language). 54 Omega inference inside an Aienux firmware guest does not make the temporary 55 C++ browser adapter Omega, and firmware-hosted emulation does not establish 56 standalone-kernel or native Apple Silicon support. These are unmerged experiment 57 branches; they do not change the compiler pin or supported language. 58 59 These skills cover working in Omega itself. Conversion between Omega and other languages belongs to [`omega-bridge`](https://github.com/aien-dev/omega-bridge). It converts a declared, checked subset and refuses to attempt universal conversion. You can run an MCP server in front of it if you want automated conversion, but that wrapper doesn't let it convert anything beyond that subset. 60 61 Merged [omega-bridge #32](https://github.com/aien-dev/omega-bridge/pull/32) localizes private 62 ABI1/ABI2 runtime symbols so independent generated translation units link without collisions. 63 [#33](https://github.com/aien-dev/omega-bridge/pull/33) adds conservative integer-scalar 64 freestanding output without pthread, mmap, heap or TLS; [#35](https://github.com/aien-dev/omega-bridge/pull/35) 65 extends finite aggregate frame/output pools with checked refusal. Section 2 pins main 66 ``2efdd48cd0c7c232064d5870e77660a5a75966e1`` and records host evidence and negative controls. 67 Merged host-exercised source is not deployment or GPU qualification. 68 69 Merged [omega-bridge #36](https://github.com/aien-dev/omega-bridge/pull/36) (merge 70 ``2ed42c3818e72da321c3218d22d7662be607633c``, 2026-11-01) adds an explicitly pinned 71 `bridge-seeded` frontend for portable checked C/Python and C declarations. 72 Section 2 records head ``3dc4a00e9966770cce58bdedb401c3b3932c35ee``, compiler and converter 73 hashes, canonical composition and binary32 limits, the import-free scalar profile, 74 and exercised differential/refusal controls. Consumer host acceptance is separately 75 recorded. This does not replace baseline gates or depend on a native x86 Omega compiler. 76 77 The merged [omega-mv WebAssembly backend (#787)](https://github.com/aien-dev/omega-mv/pull/787) 78 is a compiler backend for the existing scalar OSC IR v1 wire format, not a foreign-source 79 converter. Its seeded Omega writer and read-only Node oracle boundary are documented in 80 `omega-encoding` section 0 and `omega-harness` sections 2-3. Backend merge: 81 ``3364a1dfd0ca50c1b82bf19ba34932d8bc10a7a9``; boolean IR prerequisite #786: 82 ``87489da90a1a7a750fd4a7f9eeb005b1221721f6``. 83 84 The [SPIR-V backend (#804)](https://github.com/aien-dev/omega-mv/pull/804) 85 merged as ``3a10bd29fb7debdcf2c8f5cb58680cc74cb5b1f3``: an Omega-written OpenCL Kernel 86 emitter, a PoCL CPU parity gate and a minimal OpenCL IL demo. `omega-harness` 87 section 3 records the exact exercised source, toolchain, ABI, refusal boundary 88 and evidence. CPU execution is not GPU or DPC++ qualification. 89 90 The Neuralese supplement ([#919](https://github.com/aien-dev/omega-mv/pull/919), merged by 91 train r1 #971 as ``f56a372a``) keeps Omega's name and proposes model/decoder-bound 92 representations that decode into explicit Omega operations on the ordinary checked 93 path. `omega-harness` section 2 and `omega-communication` record its pin, native host 94 codebook evidence and trust boundary. The learned experiment is PROPOSED / NOT_RUN; the 95 bounded reference is MERGED and IMPLEMENTED / EXERCISED on the host, not hardware 96 QUALIFIED or deployed. 97 98 ## Host-only NL1R diagnostics 99 100 `omega-harness` documents the separate capacity and task-conditioned experiments 101 under [aien-train #39](https://github.com/aien-dev/aien-train/issues/39), with exact 102 frozen source/compiler pins, independent judge custody, actual carrier/context 103 budgets and retained negative results. Constructive capacity, learned recovery, 104 heldout performance and production execution authority are separate claims. 105 These host experiments do not qualify device execution or deployment. 106 107 ## Check the examples yourself 108 109 The examples run on Linux AArch64 hosts only. [`examples/`](examples/) holds 105 programs, each 110 `NAME.om` with `NAME.expect` (and `NAME.stdout` when it prints): every trap, one refusal per error 111 code, the common mistakes and the known defects. `examples/gate.sh` refuses any compiler but the 112 pinned one, then compiles and runs every program here and in `skills/*/examples/`: 113 114 ```sh 115 git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src 116 git -C omega-src checkout `f4df82394e35893dcf1354dda69a2fe028d94bc1` 117 sha256sum omega-src/seed/out/omc # `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194` at main `f4df8239` (2026-11-05, #1022 efi 14); `b4f45121`... at the previous pin `d3d1b1bc`; `be8c5130`... at `9920aab1`; `24caacf4`... at `3a163bc5`; `2aec185d`... at `91c83438`; `734f0a39`... at the 2026-10-25 pin `55f9b0af` 118 examples/gate.sh omega-src/seed/out/omc 119 ``` 120 121 It prints `PASS name` or `FAIL name: reason` per program and ends with 122 `GATE PASS examples=110 pass=110 fail=0 omc=`3ad9f10f`...` (exit 0), `GATE FAIL ...` (exit 1), or a hash 123 refusal (exit 2), for example `GATE FAIL omc sha256 `b4f45121`..., pinned `3ad9f10f`... (omega-mv `f4df8239`...)` 124 for the previous pin's compiler. The `omega-encoding` skill (section 0 and section 13) records the observed results 125 and the negative controls; [`examples/WOLFRAM.md`](examples/WOLFRAM.md) records the Wolfram checks of 126 the arithmetic expectations. 127 128 ## Keeping it current 129 130 **The agent that makes a change updates the guides.** If your work changes the Omega language, the compiler or its pin, build or gate commands, the encoder or bridge, repository ownership or status, or this harness, update the matching skill in the same piece of work. Then contribute it as a Radicle patch: hand the desk a READY file with the evidence (base, head, bundle, gate logs, negative control); the Radicle publishing lane opens the patch and the desk merges it. Never push to github.com. If you can't, give the desk a note saying what is now stale. `omega-harness` section 6 has the full map of which change goes in which skill. 131 132 Each skill names the omega-mv commit it was checked against and lists known disagreements. Historical sections retain their dated pins. `omega-encoding` section 0 adds scoped pins for the IR/wasm backend, the merged Omega 1.0 roadmap, and main ``91b3c932`` (compiler ``189ada82`…3b54`): executable contracts, expanded capacity and the f32 return fix. The batch has host evidence, not GPU qualification. When the compiler changes, recheck cited lines, rerun examples, then update pins. Do not edit old evidence. Contributions follow the [shared AIEN agent rules](https://www.aienos.com/agents/RULES.md). 133 134 The [native GPU realization guidance](skills/omega-communication/SKILL.md#native-gpu-realization-records-2026-10-28) distinguishes quantization indexes, canonical artifact identity, session residency and independent qualification. It tracks the CUDApp #26 work without treating host fixtures or unmerged components as production admission. 135 136 Written by Drake Stapleton with AIEN agents. Apache License 2.0.