interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-sovereign-core-mv / om / inquisitor-exit / README.md

45 lines · 2833 bytes Raw Blame History Source

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:

CaseDiffExpected
token-review-blocksadded line with a GitHub tokenreview exits 1, names the token finding, never prints the token
aws-key-audit-blocksadded line with an AWS access keyaudit exits 1, never prints the key
env-file-review-blocksnew file deploy/.env.localreview exits 1, names the .env finding
dash-only-review-passes-and-printsadded line with one em dashreview exits 0, prints the dash finding under "PASS (style advisories)" and the format name
dash-only-audit-passes-and-printsthe same diffaudit exits 0 and prints the dash finding
buzzword-only-review-passesadded line with a banned buzzwordreview exits 0 and prints the finding
clean-review-passesa clean added linereview exits 0, no advisory, no failure
secret-with-dash-review-blocksa token and a dash on one linereview 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.