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/AUDIT_SCOPE.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 / AUDIT_SCOPE.md` 149 lines · 8313 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 Eight skills live under `skills//SKILL.md` in the Agent Skills layout, and 12 `skills/omega-encoding/examples/` holds two 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. `skills/crumb-protocol/SKILL.md`. Crumbs are public files; section 9 item 5 forbids secrets in 45 them. Check the rest of the skill does not contradict that. 46 4. `skills/omega-encoding/examples/fnv1a32.om` (55 lines) and `trap_narrow.om` (9 lines). The first 47 reads stdin with a partial-read loop into a bounded buffer and refuses 65536 bytes with exit 2; 48 check the bound and the partial-read and partial-write handling. The second shows a narrowing 49 trap (exit 105). 50 5. `skills/aien-repositories/SKILL.md`. Routing and repository status. Check it names no private 51 repository detail beyond what it marks as private, and no private paths. 52 6. `README.md` "Install" and "Check the examples yourself", and `AGENTS.md` "Omega pins". These are 53 commands an operator copies. They clone public repositories and run a committed binary. 54 7. `skills/lean-verify/SKILL.md` "Pins" and "Repair". They tell an agent to add an ssh-stdio MCP 55 entry that runs `lean-lsp-mcp` on the Spark and, when repairing, to `pip install` the pinned set 56 into a project venv. Check that the pins are exact, that no global install or credential is 57 asked for, and that `sorry`/axiom checks cannot be read as proof. 58 59 There is no `.github/workflows/` directory in this repository. 60 61 ## Trust boundaries 62 63 - Input: the skill text is loaded into an agent's context and influences what it does. A 64 malicious edit to a skill is the main risk; `main` refuses direct pushes 65 (`skills/aien-repositories/SKILL.md` records that since 2026-10-25 this repository and one other 66 are pull-request-only). 67 - The example programs read untrusted bytes from stdin. 68 - Trusted: the committed compiler `seed/out/omc` in `aien-dev/omega-mv` at the pin recorded in 69 `skills/omega-encoding/SKILL.md` section 0, identified by sha256. 70 - External: the hosted Wolfram MCP endpoint named in `skills/wolfram-math/SKILL.md`. 71 - External: the Lean toolchain, Mathlib and `lean-lsp-mcp` (PyPI) at the pins in 72 `skills/lean-verify/SKILL.md`, fetched once at install time; the server runs without network. 73 74 ## Threat model summary 75 76 - Assets: the integrity of the guidance agents follow; the absence of secrets and private 77 machine detail in a public repository. 78 - Attackers considered: a contributor or agent who submits a skill change that misleads other 79 agents; an accidental leak of private configuration. 80 - Defended: AGENTS.md forbids credentials, private addresses, home paths, SSH usernames and 81 operator-only configuration in the skills, and forbids rewriting old evidence. `main` is 82 pull-request-only. 83 - Not defended / explicitly out of scope: enforcement inside agent harnesses; the correctness of 84 the compiler; hardware. A compile is not a run, a host run is not hardware qualification, and a 85 merged PR is not a deployment (AGENTS.md). 86 87 ## Build from source at a pin 88 89 There is no build. AGENTS.md: "There is no build and no test suite: the deliverables are Markdown 90 and two example programs." 91 92 To compile the examples you need a Linux AArch64 host and the committed compiler from 93 `aien-dev/omega-mv`. `skills/omega-encoding/SKILL.md` section 0 records the general pin: 94 95 - omega-mv commit ``55f9b0af47de70a3d06357985cf99ae3e45c016f`` (2026-10-25, merge of PR #766) 96 - `seed/omc/omc.om` sha256 ``2e35db7d6c2066fb4a20d19b8a9579c44caca9c9937b0594a89422010b673637`` 97 - `seed/out/omc` sha256 ``734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61`` 98 - `seed/rung0/seed0.hex` sha256 ``baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d`` 99 100 Later sections of the same skill record scoped pins for newer compiler work; check the one that 101 matches what you test. 102 103 ## Run every test 104 105 There is no test suite. The only executable check is the example recipe from `README.md` 106 "Check the examples yourself" (Linux AArch64 only), NOT_RUN while writing this document: 107 108 ```sh 109 git clone rad://z6do9WDBhuSnvopDkgFdFr1yWA62 omega-src 110 git -C omega-src checkout `f4df82394e35893dcf1354dda69a2fe028d94bc1` 111 sha256sum omega-src/seed/out/omc 112 omega-src/seed/out/omc < skills/omega-encoding/examples/fnv1a32.om > fnv 2> fnv.err 113 chmod +x fnv 114 printf abc > fnv.in 115 ./fnv < fnv.in > fnv.out 116 od -An -tx1 fnv.out 117 ``` 118 119 Expected, per `README.md` and `skills/omega-encoding/SKILL.md` section 13: compile exit 0 with empty 120 stderr, and output bytes `0b e9 47 1a` for input `abc`. Section 13 also lists the recorded results 121 for other inputs, the 65536-byte refusal (exit 2), `trap_narrow.om` (run exit 105) and the negative 122 controls. The clone above checks out the harness pin ``f4df8239``; compare the printed sha256 with 123 ``3ad9f10f`…3194` before trusting the result. 124 125 ## Known limitations and NOT_RUN 126 127 - The recorded example results are host-only (2026-10-25, compiler ``734f0a39`...6b61`). 128 - The README recipe checks out the pinned commit from the Radicle omega-mv repository; results only 129 match the record when the compiler digest matches. 130 - Each skill names the omega-mv commit it was checked against; README says skills list known 131 disagreements and that historical sections keep their dated pins. A skill is unverified for a 132 tree whose hashes differ (AGENTS.md). 133 - Agent compliance with the skills is not measured in this repository. 134 135 ## Dependencies and provenance 136 137 - No lockfile, no vendored code, no package dependencies. 138 - The examples depend on omega-mv (cloned at run time from Radicle `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`; 139 the `aien-dev` GitHub organization is frozen since 2026-11-07) and a Linux AArch64 host. 140 - `skills/wolfram-math/SKILL.md` relies on the hosted Wolfram MCP endpoint for agents' arithmetic. 141 - `skills/lean-verify/SKILL.md` relies on Lean `v4.35.0`, Mathlib `v4.35.0` and `lean-lsp-mcp` 142 0.33.0 as a verification oracle; none of them ships in this repository. 143 - No GitHub Actions. 144 145 ## Evidence 146 147 Observed example results are recorded inline in `skills/omega-encoding/SKILL.md` section 13 and 148 in the dated pin sections of that skill. Older measurements stay as dated history and are not 149 rewritten (AGENTS.md, "Do not edit old evidence" in README).