homebrew-omega
aien-dev/homebrew-omega
Brought by drakestapleton
homebrew-omega / README.md
| 1 | # homebrew-omega |
| 2 | |
| 3 | My Homebrew tap for `omc`, the Omega compiler. The formula does not download a binary. It downloads |
| 4 | the omega-mv source at a pinned commit and **births `omc` from seed0, a 408-byte hand-written AArch64 |
| 5 | Linux program** (`seed0 → hex1 → asm2 → om4 → omc → omc → omc`) with nothing but `sh`, `printf`, `cat`, |
| 6 | `stat`, `sed`, `sha256sum` and `cmp`; no C compiler, assembler or linker writes a byte of that chain. |
| 7 | Then it refuses to install unless the result's sha256 is exactly |
| 8 | `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` (325,524 bytes). |
| 9 | |
| 10 | ```sh |
| 11 | brew install --build-from-source aien-dev/omega/omc |
| 12 | brew test omc |
| 13 | ``` |
| 14 | |
| 15 | **Honest limits.** This works on **Homebrew on Linux, arm64** only. `omc` runs on and emits code for |
| 16 | AArch64 Linux; there is no macOS build, and the formula says so (`depends_on :linux`, |
| 17 | `depends_on arch: :arm64`) instead of failing halfway. The version `0.0.0+git.e5b32567` means "the |
| 18 | compiler at omega-mv commit `e5b32567`"; omega-mv has not tagged a release yet. The 408 bytes are |
| 19 | written as 7,903 bytes of commented hex text, turned into bytes by a 1,048-byte shell script whose |
| 20 | `printf` is the one outside tool. Matching the pinned hash is a fixed-output reproducibility match along |
| 21 | one build path from a pinned commit: it is not diverse double compilation, and it does not prove `omc` |
| 22 | correct. |
| 23 | |
| 24 | Try it: |
| 25 | |
| 26 | ```sh |
| 27 | curl -fsSLO https://raw.githubusercontent.com/aien-dev/omega-packages/main/examples/hello.om |
| 28 | omc < hello.om > hello && chmod +x hello && ./hello # omega 55 |
| 29 | ``` |
| 30 | |
| 31 | [CI](.github/workflows/ci.yml) installs Homebrew on GitHub's `ubuntu-24.04-arm` runner, runs exactly the |
| 32 | two commands above, and runs a negative control: a copy of the formula with a wrong pinned hash must fail |
| 33 | to install. |
| 34 | |
| 35 | ## Connected repos |
| 36 | |
| 37 | - Parent: [aien-dev/omega-mv](https://github.com/aien-dev/omega-mv), pinned at `e5b32567a7aff3ce594e3254a622a846a6cd190b`. |
| 38 | - [aien-dev/omega-packages](https://github.com/aien-dev/omega-packages): the same build for Nix, Guix, AUR, `.deb` and a container image, with attested releases. |
| 39 | |
| 40 | ## Foreign dependencies |
| 41 | |
| 42 | Packaging glue, not part of Omega; none of it writes a byte of `omc`. |
| 43 | |
| 44 | | dependency | version | what it does here | |
| 45 | | --- | --- | --- | |
| 46 | | Homebrew | current `Homebrew/install` (CI) | downloads and checks the source archive, installs into the prefix | |
| 47 | | POSIX sh, printf, cat, stat, sed, sha256sum, cmp | host's (GNU coreutils) | run the seed chain | |
| 48 | | Ruby (Homebrew's portable Ruby) | Homebrew's | evaluates the formula and the sha256 check | |
| 49 | |
| 50 | ## License |
| 51 | |
| 52 | Apache-2.0 WITH LLVM-exception (see `LICENSE`). omega-mv itself is Apache-2.0. |
| 53 | |
| 54 | ## Human-Directed Agentic Engineering |
| 55 | |
| 56 | Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, |
| 57 | architecture, constraints, acceptance criteria, and stopping points; agents implement, |
| 58 | execute checks, diagnose failures, and revise within those boundaries. Human review |
| 59 | retains responsibility for claims, acceptance, and release decisions. |
| 60 | |
| 61 | For the documented method and a systems-software case study, see Gregory M. Kurtzer, |
| 62 | [*Ginux: Building an Independent Kernel That Runs Linux Userspace through |
| 63 | Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548). |
| 64 | This citation describes the development method, not runtime autonomy or an endorsement. |