aien-rig
AIEN Rig: local AI and frame-rate tuning for RTX gaming PCs. Pre-alpha; host fixtures and target-card qualification are separate.
Brought by drakestapleton
aien-rig / AUDIT_SCOPE.md
| 1 | # Audit scope |
| 2 | |
| 3 | Written for an outside, independent security audit. Revision described: |
| 4 | `2a9bef612b598f0cb823cda0a33c44fd8ee013ad` on `main`, 2026-10-26. Everything below is taken from the repository's own files at |
| 5 | that revision; items marked NOT_RUN were not executed while writing this document. |
| 6 | |
| 7 | ## What this repository is |
| 8 | |
| 9 | Planned local AI and a measured FPS tuner for RTX gaming PCs, starting with the RTX 5070 (12 GB). |
| 10 | Five planned parts: a C++/CUDA inference engine with an OpenAI-compatible HTTP server (`engine/`), |
| 11 | speech-to-text (`speech/`), a YouTube creator helper (`creator/`), a Windows FPS tuner (`tuner/`) |
| 12 | and a Windows app (`app/`). AGENTS.md: the component directories currently hold only placeholder |
| 13 | READMEs; there is no build system or CI yet, and nothing has been tested on an RTX 5070. Licence |
| 14 | AGPL-3.0. |
| 15 | |
| 16 | ## What an auditor can and cannot check here |
| 17 | |
| 18 | - Can check: that no tracked file carries tokens, credentials or private data; that README and |
| 19 | AGENTS.md state status honestly. |
| 20 | - Cannot check here: the engine, HTTP server, speech runtime, tuner or app. Each directory contains |
| 21 | one line: `# <name> (in progress)`. |
| 22 | |
| 23 | ## What to review, in priority order |
| 24 | |
| 25 | 1. All nine tracked files for secrets or private data. |
| 26 | 2. `AGENTS.md` "Safety and approvals": the tuner must apply only safe changes, record a receipt for |
| 27 | each and be able to undo every change. This is the contract later tuner code must meet. |
| 28 | 3. `docs/PLAN.md`: assigns `.github/` (Windows CI and release) to the `app/v0` stream. No |
| 29 | workflow exists yet. |
| 30 | |
| 31 | There is no `.github/workflows/` directory. |
| 32 | |
| 33 | ## Trust boundaries |
| 34 | |
| 35 | - Planned, not implemented: network clients of the `engine/` HTTP server; settings changes on the |
| 36 | user's Windows machine by `tuner/`. |
| 37 | - Untrusted today: pull requests from outside contributors. Trusted: maintainer review; `main` is |
| 38 | merged by the desk only (AGENTS.md). |
| 39 | |
| 40 | ## Threat model summary |
| 41 | |
| 42 | - Assets: future users' machines and settings; the honesty of performance claims. |
| 43 | - Attackers considered: none can be exercised against code that does not exist. |
| 44 | - Defended: written rules (receipts for every speed claim, reversible tuner changes). |
| 45 | - Not defended / explicitly out of scope: everything executable, because nothing executable exists. |
| 46 | |
| 47 | ## Build from source at a pin |
| 48 | |
| 49 | No build exists yet (AGENTS.md). When it does, engine and speech work needs an NVIDIA RTX card |
| 50 | (target RTX 5070, 12 GB), and tuner and app work needs Windows. |
| 51 | |
| 52 | ## Run every test |
| 53 | |
| 54 | There is no test suite and no CI. NOT_RUN: nothing to run. |
| 55 | |
| 56 | ## Known limitations and NOT_RUN |
| 57 | |
| 58 | - All five components are placeholders. |
| 59 | - `docs/TARGETS.md` and `evidence/` do not exist yet. |
| 60 | - No hardware results of any kind. |
| 61 | |
| 62 | ## Dependencies and provenance |
| 63 | |
| 64 | No lockfile, no vendored code, no dependencies, no GitHub Actions. llama.cpp is named as a |
| 65 | yardstick for comparison, not as a dependency. |
| 66 | |
| 67 | ## Evidence |
| 68 | |
| 69 | Every speed claim is to link to a receipt in `evidence/` naming the card it ran on (AGENTS.md). |
| 70 | `evidence/` does not exist at this revision. Receipts are append-only and are not edited after the |
| 71 | fact. |