interplane.Get Omega
Read in your language

aien

aien-dev/aien

Brought by drakestapleton

branch main Branches Tags History

aien / AUDIT_SCOPE.md

107 lines · 6285 bytes Raw Blame History Rendered
1# Audit scope
2
3Written for an outside, independent security audit. Revision described:
4`b02bc7fb8c28bf90803d5bd357d1749cabdfc974` on `main`, 2026-10-29. Everything below is taken from the repository's own files at
5that revision; items marked NOT_RUN were not executed while writing this document.
6
7## What this repository is
8
9Allen's project home: mission (`docs/MISSION.md`), phase ledger P0 to P7 (`docs/PHASES.md`) and the
10P0 work-stream plan (`docs/PLAN.md`). README states it is pre-alpha and that nothing here is
11qualified. The only code at this revision is the goal microjob kernel (Allen #13):
12`src/goal_microjobs/kernel.om` (seeded Omega), its build and driver scripts
13`scripts/goal_microjobs/build.sh` and `scripts/goal_microjobs/microjobs.sh`, and the offline gate
14`tests/goal_microjobs/gate.sh`. There is no hosted CI. `guard/` and `inventory/` contain only
15`.gitkeep`; `evidence/goal-microjobs/offline-20261024T182027Z-rdcMbK/` holds one committed gate
16run. `docs/SOURCE_MAP.md` and
17`docs/B0_ACCEPTANCE_CONTRACT.md` are planned and not on `main`. Licence AGPL-3.0-or-later.
18
19## What an auditor can and cannot check here
20
21- Can check: that no tracked file contains raw conversations, credentials, weights, private
22 training samples or personal data; that `.gitignore` excludes the file types the README says
23 never enter the repository; that the documents do not overstate status.
24- Cannot check here: the source-control guard or programme close guard (planned, not present);
25 the access-controlled conversation archive; Allen's identity, memory or runtime, which live in
26 other repositories (README table "What lives here and what does not").
27
28## What to review, in priority order
29
301. The whole tree and its history for leaked private data. AGENTS.md: "The source-control guard
31 planned for `guard/` is not on `main`; check this boundary yourself rather than relying on an
32 automatic guard." README: the repository was created private on 2026-10-20 and is now publicly
33 readable without a green guard receipt.
342. `.gitignore`: excludes `*.jsonl`, `records/`, `raw/`, `latest/`, `state/`, `*.safetensors`,
35 `*.gguf`, `*.pt`, `*.bin`, `*.db`, `*.sqlite`, `.env`, `*.pem`, `*.key`, `target/`. Check it
36 matches the stated policy. An ignore file is not enforcement.
373. `src/goal_microjobs/` (with `scripts/goal_microjobs/`): the security-relevant code. The kernel
38 keeps a persistent journal, admits or refuses plans and events, and enforces budgets and
39 cancellation; the gate drives it with synthetic workers and verifiers only (no model call,
40 nothing leaves the run directory). Trust boundary: `build.sh` compiles it only with the pinned
41 historical seeded compiler: Omega checkout `c434565c67552c0b01df2d7f76c1a04287c70560`,
42 `build/L574/toolchain/build/bootstrap/omc` sha256
43 `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`, compiler source
44 `seed/omc/omc.om` sha256 `8608fa11f6a2cf1c50db22d871eef16b00d5bc719bc1a222cc3e456984ac5ebf`.
45 That toolchain is an untracked build artifact, not part of the Omega commit; `build.sh` exits
46 BLOCKED rather than substitute another compiler. The compiler binary itself is trusted, not
47 audited here.
484. `docs/PLAN.md`: defines the planned `guards` stream (Rust crate `allen-guard`). It is not on
49 `main`.
505. `docs/PHASES.md` and `docs/MISSION.md`: status claims. Check none claims a gate or guard ran.
51
52There is no `.github/workflows/` directory at this revision: no hosted CI exists.
53
54## Trust boundaries
55
56- Untrusted: issues and pull requests from outside contributors.
57- Access-controlled and outside this repository: raw conversation logs, personal training
58 artifacts and weights. README says this repository holds pointers, counts and digests only.
59- Trusted: the maintainer's review before merge. AGENTS.md: agents push branches and do not open or
60 merge pull requests themselves.
61
62## Threat model summary
63
64- Assets: privacy of conversation data and personal training material; honesty of status claims.
65- Attackers considered: accidental commit of raw data or secrets; a status claim that overstates
66 evidence.
67- Defended: written policy in AGENTS.md and README; `.gitignore` patterns; human review.
68- Not defended / explicitly out of scope: there is no automatic guard on `main`; status words
69 (PASS, FAIL, INCONCLUSIVE, NOT_RUN) are checked manually until the close guard exists.
70
71## Build from source at a pin
72
73`OMEGA_WORKTREE=<seeded omega at c434565c> bash scripts/goal_microjobs/build.sh` builds the
74kernel to `target/goal_microjobs/kernel` with the pinned compiler above.
75
76## Run every test
77
78One offline gate, run locally (no hosted CI):
79
80 OMEGA_WORKTREE=<seeded omega at c434565c> GM_RUN_ROOT=<scratch> bash tests/goal_microjobs/gate.sh
81
82It builds the kernel, drives a 12-node objective through the journal across separate processes
83(restart, partial completion, model failure, correction, refusal, cancellation, budgets), refuses
84plan and event mutants, and checks that kernel source mutations are caught; success prints
85`PASS <receipt.json> checks=158`. Observed 2026-10-30 on the Spark against this revision with the
86pinned toolchain: PASS, checks=158. The planned source-control guard and programme close guard are
87NOT_RUN because they do not exist on `main`.
88
89## Known limitations and NOT_RUN
90
91- `guard/`, `inventory/`: placeholders only.
92- The gate's workers and verifiers are synthetic fixtures; no real model or network path is tested.
93- Source-control guard: planned, not present; public visibility preceded it.
94- `docs/SOURCE_MAP.md`, `docs/B0_ACCEPTANCE_CONTRACT.md`: planned, not on `main`.
95
96## Dependencies and provenance
97
98No lockfile, no vendored code, no GitHub Actions. The one build dependency is the pinned
99historical seeded Omega compiler described above. AGENTS.md: outside tools are
100yardsticks or test oracles, never shipped.
101
102## Evidence
103
104README: every claim links to a file under `evidence/` or to a receipt in
105`aien-dev/aien-receipts`; a sentence with no link is a plan, not a result. `evidence/` holds one
106committed gate run, `evidence/goal-microjobs/offline-20261024T182027Z-rdcMbK/` (the gate writes
107new runs under `GM_RUN_ROOT`, default `evidence/goal-microjobs/`). Receipts are append-only and are not edited after the fact.