interplane.Get Omega
Read in your language

homebrew-omega

aien-dev/homebrew-omega

Brought by drakestapleton

branch main Branches Tags History

homebrew-omega / README.md

64 lines · 3336 bytes Raw Blame History Rendered
1# homebrew-omega
2
3My Homebrew tap for `omc`, the Omega compiler. The formula does not download a binary. It downloads
4the omega-mv source at a pinned commit and **births `omc` from seed0, a 408-byte hand-written AArch64
5Linux 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.
7Then it refuses to install unless the result's sha256 is exactly
8`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` (325,524 bytes).
9
10```sh
11brew install --build-from-source aien-dev/omega/omc
12brew test omc
13```
14
15**Honest limits.** This works on **Homebrew on Linux, arm64** only. `omc` runs on and emits code for
16AArch64 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
18compiler at omega-mv commit `e5b32567`"; omega-mv has not tagged a release yet. The 408 bytes are
19written 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
21one build path from a pinned commit: it is not diverse double compilation, and it does not prove `omc`
22correct.
23
24Try it:
25
26```sh
27curl -fsSLO https://raw.githubusercontent.com/aien-dev/omega-packages/main/examples/hello.om
28omc < 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
32two commands above, and runs a negative control: a copy of the formula with a wrong pinned hash must fail
33to 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
42Packaging 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
52Apache-2.0 WITH LLVM-exception (see `LICENSE`). omega-mv itself is Apache-2.0.
53
54## Human-Directed Agentic Engineering
55
56Development follows Human-Directed Agentic Engineering (HDAE): humans define goals,
57architecture, constraints, acceptance criteria, and stopping points; agents implement,
58execute checks, diagnose failures, and revise within those boundaries. Human review
59retains responsibility for claims, acceptance, and release decisions.
60
61For the documented method and a systems-software case study, see Gregory M. Kurtzer,
62[*Ginux: Building an Independent Kernel That Runs Linux Userspace through
63Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548).
64This citation describes the development method, not runtime autonomy or an endorsement.