Four agent-native read-only harnesses that census the Linux audit-subsystem trust surface: what the kernel records about everything, whether the recording still matches its declared sources, whether audit keys make the trail searchable or a duplicated mess, and whether the immutable lock actually locks. No other bundle owns this layer — unit-file Exec* targets (Bundle #38), sudo delegation grants (Bundle #40), sshd surface (Bundle #22), and sysctl/dmesg/boot knobs (Bundle #14) are adjacent, not this.
/etc/audit/rules.d (one-hop *.rules children) + legacy audit.rules under the first-token verb grammar — watch rules with the documented -p letter law (rwax subset, unknowns never parsed as truth), syscall rules with document action/filter classes, -F values ALWAYS masked (field name printed, value never — argv/env are commands and secrets), the immutable lock law (-e 2 must be terminal: NOT_TERMINAL_IMMUTABLE + RULE_AFTER_IMMUTABLE findings — anything after the lock is silently inert), DUPLICATE_RULE dead weight named, readable-file NO_LOCK posture note, honest absence rc6.***:LEN, battery-canary pinned), enum + digit keys parsed honestly (unknowns are UNPARSABLE notes, never invented), log_file stat truth with the log-permission law (world/group-writable logs = findings).-k and -F key= across every readable rule file — AUKEY rows (distinct key, hit count, files), DUPLICATE_KEY findings (one key, one purpose), EMPTY_KEY finding, MALFORMED_KEY notes outside the documented audit-name law ([A-Za-z0-9_.-], ≤63 chars), MIXED_KEY_FORMS + WATCH_NO_KEY data rows, KEYLESS_POSTURE honest note.Battery truth: 226 executed-assert checks per sweep (auditrulespeek 75 + auditconfpeek 57 + aukeypeek 43 + augenrulespeek 51) — python3 runner_count.py prints the counted truth. Fired ×2 on kit bytes + ×2 clean-room from THIS shipping zip; 0 failed every source. Zero test weakening; the masked-value canary and the read-only fingerprint law machine-checked every fire.
Laws (all four tools): zero subprocesses, zero network, zero writes; per-tool exit laws stated in each docstring and battery-asserted (0 clean · 4 findings · 6 nothing-readable · 2 usage); sensitive-name values masked ***:LEN; -F values never print; keys (search labels) print as data; honest absence is a verdict, never a fabricated clean; every report as human text and --json.
Run: cd <tool>/agent-harness && python3 -m cli_anything.<tool> --json — no pip required (stdlib-only, Python 3.8+, self-test batteries inside).
Bundle: CLI-Anything #53 · License: MIT · tikkunolam.today