interplane.Get Omega
Read in your language

omega-mcp

aien-dev/omega-mcp

Brought by drakestapleton

branch main Branches Tags History

omega-mcp / DEPENDENCIES.md

45 lines · 3830 bytes Raw Blame History Rendered
1# Dependencies
2
3The server is first-party Omega (`src/*.om`, plus the units `src/UNITS` names as `omega-mv:PATH`, read unchanged
4from omega-mv at the revision in `PIN` at every build). Everything below is a host tool. Versions are the ones the recorded evidence ran
5with on Linux arm64 (Ubuntu 24.04 packages).
6
7## Separate maintenance executable
8
9`maintenance/*.om` uses the same omega-mv JSON/SHA units (read from the PIN revision) and pinned
10compiler. Its runtime executes no host binary or language runtime: it uses native
11Linux filesystem/process-identity syscalls and read-only `/proc/self/status`.
12The maintenance build target uses the existing build tools listed below.
13`gates/maintenance.py` is an independent Python 3 verification oracle only.
14The compiler server's bwrap/prlimit dependencies do not apply to maintenance.
15
16## Runtime (the server executes these)
17
18| Tool | Version | What it does for me | Omega replacement |
19|---|---|---|---|
20| `/usr/bin/bwrap` | bubblewrap 0.9.0 (deb 0.9.0-1ubuntu0.3) | Builds the per-call sandbox: new user, mount, pid, net, ipc, uts and cgroup namespaces, cleared environment, read-only binds of the compiler or program and the reaper, a 16 MiB tmpfs working directory | A first-party Omega sandbox launcher using `clone`/`unshare`, `mount` and `pivot_root` host words, once omega-mv exposes namespace and mount words (not present at the pin) |
21| omc (pinned) | the one `PIN` names | The compiler the `compile` and `run` tools invoke | none needed: it is the Omega compiler |
22
23## Build
24
25| Tool | Version | What it does for me | Omega replacement |
26|---|---|---|---|
27| `/bin/sh`, `sed`, `grep`, `cat`, `cp`, `sha256sum` (`build.sh`) | dash 0.5.12, GNU sed 4.9, GNU grep 3.11, GNU coreutils 9.4 | Concatenate `src/UNITS` into one unit, strip `export`, check the compiler pin, copy outputs | An Omega build program that reads `src/UNITS`, checks the pin with the vendored sha256 unit and writes the unit |
28
29## Authoring and verification (never executed by the server)
30
31| Tool | Version | What it does for me | Omega replacement |
32|---|---|---|---|
33| Python 3 (`tools/gen-reference.py`, `tools/ref_examples.py`) | 3.12.3 | Run by `build.sh`: writes `data/reference.json` and `data/examples/*.om` from the pinned omega-mv source | An Omega generator over the same source; the data is reviewed and re-checked regardless |
34| Python 3 (`tools/check-reference.py`) | 3.12.3 | Oracle: re-derives every entry from the pinned source and runs every example with the pinned omc | Kept as an independent oracle (it must not share code with the server) |
35| Python 3 (`gates/smoke.py`, `gates/trust.py`) | 3.12.3 | Oracles: an MCP stdio client session and the trust-boundary gate | Kept as independent oracles |
36| `ps` (procps) | procps-ng 4.0.4 | `trust.py` checks that no sandboxed process outlives a reply | Kept as an oracle |
37
38## Install (never executed by the server)
39
40| Tool | Version | What it does for me | Omega replacement |
41|---|---|---|---|
42| `/bin/sh`, `sha256sum`, `cp`, `mv`, `ln`, `readlink`, `cmp` (`tools/install.sh`, `tools/releases.sh`) | dash 0.5.12, GNU coreutils 9.4, diffutils 3.10 | Add a release beside running servers, switch `current` with one rename, list the live processes per release | An Omega install program with the existing file, link and `/proc` host words |
43| `/bin/sh`, Python 3 (`tools/register-locked.sh`, `tools/register_merge.py`) | dash 0.5.12, Python 3.12.3 | Stage an MCP client file and install it only by `aien-keep update`, which keeps the previous copy | The keeper is a privileged host program. The merge edits an existing JSON object of unbounded keys; the pinned compiler has no heap, so this host step is the same kind as `gen-reference.py` |
44
45The resource limits are set by the Omega `prlimit` host word; `/usr/bin/prlimit` is no longer used.