CLI-Anything Bundle #66 — AIDE Intrusion Detection Trust Recon Pack

Four agent-native read-only harnesses that census the AIDE intrusion-detection trust surface: the layer that decides whether this host can still PROVE its own file integrity — the installed checker binary and its first-run posture, the aide.conf rule and database grammar, the report channel family, and the baseline snapshot database. No other bundle owns this surface — #43 keeps package-manager verification (the dpkg + conffile layer), #41 keeps the LSM/mandatory-access posture (census: 0 exact / 0 name-class substring token collisions across the whole shipping catalog, 139 Gumroad products pulled fresh). AIDE's own install, config, report and baseline-database layers are unclaimed census territory.

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc2 usage; --json emits the full report; --conf points the census at one config file, --dir replaces the root list — any tree or fixture. Pure Python stdlib — zero subprocesses, zero writes, zero sockets, zero network; AIDE artifacts are only ever READ and statted, the checker binary is never executed, and any secret-shaped literal is masked by length only. The census never "fixes" an exposed posture — it names it.

Self-test battery inside

731 fixture-based executed assertions (checks.py + runner_count.py per bundle norm) — verified as: three green fires from the shipping tree (fire1, fire2, merged-kit fire) and two clean-room fires from THIS exact shipping zip (731/0 every fire). The battery pins rc laws, every finding code, the never-execute law (the aide binary is only ever statted), grammar edges, caps, stat hygiene, and write-nothing fingerprints.

Who this is for

Admins who inherited AIDE installs nobody can honestly call a working integrity baseline; hardening teams proving the checker, its rules, its report channel and its database still form a closed loop; agent builders who want their AI to census a host's AIDE trust posture without ever mutating it. The census reads — the intrusion-detection stack is never touched.

MIT licensed · Python 3.8+ · 40 files · stdlib-only