aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / crates / spark-inquisitor / README.md
| 1 | # spark-inquisitor |
| 2 | |
| 3 | Automated review gate for the AienOS project: PR code reviewer, contributor interview and issue triage. |
| 4 | |
| 5 | ## Architecture |
| 6 | |
| 7 | `spark-inquisitor` is a pure native compiled Rust binary that enforces the project standards (the Stapleton Doctrine; values in `COVENANT.md`) across GitHub repositories: |
| 8 | |
| 9 | 1. **Zero Telemetry**: Flags tracking scripts, analytics SDKs, and data collection calls. |
| 10 | 2. **Sovereign Voice and Anti-Slop**: Flags em dashes, en dashes, and banned AI buzzwords. |
| 11 | 3. **Contributor Alignment**: Runs the contributor interview and checks the certification reply (zero telemetry, AGPL-3.0-or-later license and attribution preserved downstream). |
| 12 | 4. **Autonomous Issue Triage**: Classifies bug reports, complaints, proposals, and community inquiries. |
| 13 | |
| 14 | ## Commands |
| 15 | |
| 16 | - `spark-inquisitor review --author <user> --pr <num> --title <title> --diff <file>`: Runs the doctrine diff audit and generates the GitHub PR review comment. |
| 17 | - `spark-inquisitor triage-issue --author <user> --issue <num> --title <title> --body <file>`: Analyzes issue description and outputs triage guidance with labels. |
| 18 | - `spark-inquisitor evaluate --testimony <file> --author <user>`: Evaluates contributor interview replies against the project standards. |
| 19 | - `spark-inquisitor doctor`: Runs local self-diagnostics. |
| 20 | - `spark-inquisitor audit --diff <file>`: Runs the same diff audit and prints a short verdict (`--advisory-style` is still accepted; it is the default now). |
| 21 | |
| 22 | ## Exit status (report format `spark-inquisitor-report/2`, DRA-99) |
| 23 | |
| 24 | `review` and `audit` exit 1 only for blocking findings: |
| 25 | |
| 26 | - a plaintext secret on an added line (AWS access key, GitHub token, private key header); |
| 27 | - a `.env` or `.env.*` file anywhere in the diff; |
| 28 | - a telemetry hook on an added line. |
| 29 | |
| 30 | Style findings (em dash, en dash, banned buzzwords, antithesis tropes) are advisory. They are still listed, |
| 31 | under "Style advisories (non-blocking)", and a review with only style findings passes with the extra label |
| 32 | `style-advisory`. A line that holds a secret is never quoted in any finding; it is shown as |
| 33 | `[line redacted: it contains a plaintext secret]`. Report format 1 (before DRA-99) failed on every finding. |
| 34 | |
| 35 | Files whose path contains `spark-inquisitor` or `constitution.rs` are not scanned for line findings, so the |
| 36 | pattern definitions do not flag themselves; `.env` file names are still checked there. |
| 37 | |
| 38 | Tests: `cargo test -p spark-inquisitor`. The exit-status contract of a built binary is also checked by the |
| 39 | seeded-Omega driver `om/inquisitor-exit/check.om` (see its README). |
| 40 | |
| 41 | This crate is existing Rust under migration: its seeded-Omega successor is Linear DRA-440 (see also |
| 42 | `om/inquisitor-exit/README.md`). |