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/omega-harness/blob/main/AUDIT_SCOPE.md # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories 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 `omega-harness / AUDIT_SCOPE.md` 151 lines · 8559 bytes Raw Blame History Rendered 1 # Audit scope 2 3 Written for an outside, independent security audit. Revision described: 4 ``eb07daf4ae9a3aa4cab66049a60c3f3c2be2aced`` on `main`, 2026-10-26. Everything below is taken from 5 the repository's own files at that revision; items marked NOT_RUN were not executed while writing 6 this document. 7 8 ## What this repository is 9 10 Agent skills for working in Omega (the `.om` language of AienOS) and in the AIEN repositories. 11 The skills live under `skills//SKILL.md` in the Agent Skills layout (`AGENTS.md` lists them), and 12 `skills/omega-encoding/examples/` holds runnable `.om` programs. AGENTS.md states that the 13 repository is documentation and procedure, not a compiler, a runtime, a gate, or evidence that any 14 claim is true. Nothing here ships as executable code; the examples are teaching material compiled 15 with the compiler from `aien-dev/omega-mv`. License: Apache 2.0. 16 17 ## What an auditor can and cannot check here 18 19 Can check: 20 21 - Whether any skill text tells an agent to do something unsafe (leak a secret, weaken a gate, 22 act without authority, rewrite evidence). 23 - Whether any file carries credentials, private addresses, home paths or usernames. 24 - Whether the two example programs compile and behave as `skills/omega-encoding/SKILL.md` 25 section 13 records, against the pinned compiler. 26 - Whether the shell recipes in `README.md` and `AGENTS.md` do what the text says. 27 28 Cannot check here: 29 30 - The compiler, its seed, or its traps and bounds. Those live in `aien-dev/omega-mv`; this 31 repository only cites them at a pin. 32 - Whether an agent actually follows a skill. The skills are guidance; no harness enforcement lives 33 in this repository. 34 - Hardware behaviour. The examples are host programs only. 35 36 ## What to review, in priority order 37 38 1. `skills/omega-harness/SKILL.md` section 4 "Effects and authority" and section 6 "Keep the 39 guides current". These are the rules that tell an agent when it may act. Check that no 40 wording authorises an effect from model confidence, a proposal, or a stale skill. 41 2. `skills/wolfram-math/SKILL.md` "Setup". It tells an agent to add an MCP server entry pointing 42 at `https://agenttools.wolfram.com/mcp` and states that any credential is injected from a vault 43 at launch and never written to a file. Check that no step leads an agent to store a token. 44 3. The `crumb-protocol` skill, at the revision described above. Crumbs are public files; section 9 45 item 5 forbids secrets in them. Check the rest of the skill does not contradict that. The skill 46 was retired on 2026-11-07 (DRA-97) and removed from the repository on 2026-11-11; read the 47 audited guide with `git show `eb07daf4`:skills/crumb-protocol/SKILL.md`. 48 4. `skills/omega-encoding/examples/fnv1a32.om` (55 lines) and `trap_narrow.om` (9 lines). The first 49 reads stdin with a partial-read loop into a bounded buffer and refuses 65536 bytes with exit 2; 50 check the bound and the partial-read and partial-write handling. The second shows a narrowing 51 trap (exit 105). 52 5. `skills/aien-repositories/SKILL.md`. Routing and repository status. Check it names no private 53 repository detail beyond what it marks as private, and no private paths. 54 6. `README.md` "Install" and "Check the examples yourself", and `AGENTS.md` "Omega pins". These are 55 commands an operator copies. They clone public repositories and run a committed binary. 56 7. `skills/lean-verify/SKILL.md` "Pins" and "Repair". They tell an agent to add an ssh-stdio MCP 57 entry that runs `lean-lsp-mcp` on the Spark and, when repairing, to `pip install` the pinned set 58 into a project venv. Check that the pins are exact, that no global install or credential is 59 asked for, and that `sorry`/axiom checks cannot be read as proof. 60 61 There is no `.github/workflows/` directory in this repository. 62 63 ## Trust boundaries 64 65 - Input: the skill text is loaded into an agent's context and influences what it does. A 66 malicious edit to a skill is the main risk; `main` refuses direct pushes 67 (`skills/aien-repositories/SKILL.md` records that since 2026-10-25 this repository and one other 68 are pull-request-only). 69 - The example programs read untrusted bytes from stdin. 70 - Trusted: the committed compiler `seed/out/omc` in `aien-dev/omega-mv` at the pin recorded in 71 `skills/omega-encoding/SKILL.md` section 0, identified by sha256. 72 - External: the hosted Wolfram MCP endpoint named in `skills/wolfram-math/SKILL.md`. 73 - External: the Lean toolchain, Mathlib and `lean-lsp-mcp` (PyPI) at the pins in 74 `skills/lean-verify/SKILL.md`, fetched once at install time; the server runs without network. 75 76 ## Threat model summary 77 78 - Assets: the integrity of the guidance agents follow; the absence of secrets and private 79 machine detail in a public repository. 80 - Attackers considered: a contributor or agent who submits a skill change that misleads other 81 agents; an accidental leak of private configuration. 82 - Defended: AGENTS.md forbids credentials, private addresses, home paths, SSH usernames and 83 operator-only configuration in the skills, and forbids rewriting old evidence. `main` is 84 pull-request-only. 85 - Not defended / explicitly out of scope: enforcement inside agent harnesses; the correctness of 86 the compiler; hardware. A compile is not a run, a host run is not hardware qualification, and a 87 merged PR is not a deployment (AGENTS.md). 88 89 ## Build from source at a pin 90 91 There is no build. AGENTS.md: "There is no build and no test suite: the deliverables are Markdown 92 and two example programs." 93 94 To compile the examples you need a Linux AArch64 host and the committed compiler from 95 `aien-dev/omega-mv`. `skills/omega-encoding/SKILL.md` section 0 records the general pin: 96 97 - omega-mv commit ``55f9b0af47de70a3d06357985cf99ae3e45c016f`` (2026-10-25, merge of PR #766) 98 - `seed/omc/omc.om` sha256 ``2e35db7d6c2066fb4a20d19b8a9579c44caca9c9937b0594a89422010b673637`` 99 - `seed/out/omc` sha256 ``734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61`` 100 - `seed/rung0/seed0.hex` sha256 ``baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d`` 101 102 Later sections of the same skill record scoped pins for newer compiler work; check the one that 103 matches what you test. 104 105 ## Run every test 106 107 There is no test suite. The only executable check is the example recipe from `README.md` 108 "Check the examples yourself" (Linux AArch64 only), NOT_RUN while writing this document: 109 110 ```sh 111 git clone https://interplane.io/projects/omega-mv/repo.git omega-src 112 git -C omega-src checkout `f4df82394e35893dcf1354dda69a2fe028d94bc1` 113 sha256sum omega-src/seed/out/omc 114 omega-src/seed/out/omc < skills/omega-encoding/examples/fnv1a32.om > fnv 2> fnv.err 115 chmod +x fnv 116 printf abc > fnv.in 117 ./fnv < fnv.in > fnv.out 118 od -An -tx1 fnv.out 119 ``` 120 121 Expected, per `README.md` and `skills/omega-encoding/SKILL.md` section 13: compile exit 0 with empty 122 stderr, and output bytes `0b e9 47 1a` for input `abc`. Section 13 also lists the recorded results 123 for other inputs, the 65536-byte refusal (exit 2), `trap_narrow.om` (run exit 105) and the negative 124 controls. The clone above checks out the harness pin ``f4df8239``; compare the printed sha256 with 125 ``3ad9f10f`…3194` before trusting the result. 126 127 ## Known limitations and NOT_RUN 128 129 - The recorded example results are host-only (2026-10-25, compiler ``734f0a39`...6b61`). 130 - The README recipe checks out the pinned commit from the Radicle omega-mv repository; results only 131 match the record when the compiler digest matches. 132 - Each skill names the omega-mv commit it was checked against; README says skills list known 133 disagreements and that historical sections keep their dated pins. A skill is unverified for a 134 tree whose hashes differ (AGENTS.md). 135 - Agent compliance with the skills is not measured in this repository. 136 137 ## Dependencies and provenance 138 139 - No lockfile, no vendored code, no package dependencies. 140 - The examples depend on omega-mv (cloned at run time from `https://interplane.io/projects/omega-mv/repo.git`; 141 the `aien-dev` GitHub organization is frozen since 2026-11-07) and a Linux AArch64 host. 142 - `skills/wolfram-math/SKILL.md` relies on the hosted Wolfram MCP endpoint for agents' arithmetic. 143 - `skills/lean-verify/SKILL.md` relies on Lean `v4.35.0`, Mathlib `v4.35.0` and `lean-lsp-mcp` 144 0.33.0 as a verification oracle; none of them ships in this repository. 145 - No GitHub Actions. 146 147 ## Evidence 148 149 Observed example results are recorded inline in `skills/omega-encoding/SKILL.md` section 13 and 150 in the dated pin sections of that skill. Older measurements stay as dated history and are not 151 rewritten (AGENTS.md, "Do not edit old evidence" in README).