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/aien-sovereign-core-mv/tree/main/om/inquisitor-exit # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / om / inquisitor-exit` `bcf8166` spark-inquisitor: style findings advisory, secrets and .env files block (DRA-99) Drake Stapleton committed 2026-11-07 ``` .. README.md 2833 check.om 10391 ``` README.md # om/inquisitor-exit: exit-status contract of spark-inquisitor (DRA-99) `check.om` is a seeded-Omega test driver for a built `spark-inquisitor` binary. It checks report format `spark-inquisitor-report/2`: style findings are advisory, secrets and `.env` files block. Each case writes a diff into a scratch directory, runs the binary on it (`fork`, `execprog`, stdout and stderr sent to a file with `dupfd`, `waitpid`) and checks the exit status and the output: Case Diff Expected `token-review-blocks` added line with a GitHub token `review` exits 1, names the token finding, never prints the token `aws-key-audit-blocks` added line with an AWS access key `audit` exits 1, never prints the key `env-file-review-blocks` new file `deploy/.env.local` `review` exits 1, names the `.env` finding `dash-only-review-passes-and-prints` added line with one em dash `review` exits 0, prints the dash finding under "PASS (style advisories)" and the format name `dash-only-audit-passes-and-prints` the same diff `audit` exits 0 and prints the dash finding `buzzword-only-review-passes` added line with a banned buzzword `review` exits 0 and prints the finding `clean-review-passes` a clean added line `review` exits 0, no advisory, no failure `secret-with-dash-review-blocks` a token and a dash on one line `review` exits 1, prints the dash advisory with the line redacted, never the token The token, the key and the dash bytes are assembled at run time, so this file contains none of them. ## Run Compiler: omega-mv `bf54b19f` `seed/out/omc`, sha256 `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b` (the pin of `om/golden`). ``` cargo build --release -p spark-inquisitor sha256sum "$OMC" # must print the pin above "$OMC" < om/inquisitor-exit/check.om > /path/to/check && chmod 700 /path/to/check mkdir -p /path/to/scratch /path/to/check target/release/spark-inquisitor /path/to/scratch ``` It prints `PASS NAME` or `FAIL NAME` per case, then `INQEXIT PASS cases=8` (exit 0) or `INQEXIT FAIL cases=8 fail=K` (exit 1). Exit 2 is usage, 3 a host call that failed. Controls (run for DRA-99): the report-format-1 binary from main `9d7b3433` fails the four style cases (it exits 1 on a dash or buzzword); a mutant whose `has_blocking_findings` ignores secrets fails the token and key cases; a mutant that quotes secret lines in findings fails `secret-with-dash-review-blocks`. No gate runs this yet: SC-INQUISITOR (`tests/gates/run.sh inquisitor`) audits the change's own diff, and changing `tests/gates/` needs operator promotion. The Rust crate itself is migration; its seeded-Omega successor (and the self-exemption gap: lines in files whose path contains `spark-inquisitor` are not scanned) is Linear DRA-440.