Four agent-native read-only harnesses that census the device trust surface: what udev will execute as root on the next device event, what the hardware database hands out, which device nodes are exposed too wide, and who can watch the keystroke stream. No other bundle owns this layer — USB bus inventory (Bundle #12) and kernel-module config (Bundle #34) are adjacent, not this.
/etc > /run > /usr/lib) with shadowed files NAMED; RUN+=/PROGRAM=/IMPORT{program}= ROOT_EXEC target stat law (TARGET_OK · NOT_EXECUTABLE · WRITABLE_TARGET with world/group flags · MISSING · RELATIVE · SPECIFIER); OWNER/GROUP/MODE takeover law with udev's quoted grammar; world-writable rules files as the plant-a-rule finding; continuation lines JOINED; secret env keys masked by NAME.hwdb.bin drift law (STALE_HWDB / MISSING_HWDB_BIN), secret keys masked by NAME; honest absence rc6./dev entry typed ONLY from S_IFMT bits, WORLD/GROUP_WRITABLE_NODE findings with flags echoed, single-hop symlink targets + DANGLING_LINK law, unreadable rows honest, subdirs counted never descended — and it never opens any device node.event*/mouse*/js*/ts* nodes, the INPUT_GROUP_MEMBER verdict (can this user capture the keystroke stream — stated, not guessed), require_root owner law, /sys/class/input name census. The event bytes are never read — zero file reads, battery-pinned against the code itself.Battery truth: 139 executed-assert checks per sweep (udevpeek 45 + hwdbpeek 35 + devpeek 29 + inputpeek 30) — fired ×2 fresh clean-room from this shipping zip (census-verified 40 files/0 junk); 0 failed every source. Defect ledger closed before green over 6 repair rounds (documented operator-selection law, udev quoted-grammar guards, mask-name law, observability rows) — zero test weakening, counted truth up.
Laws (all four tools): zero subprocesses, zero network, zero writes — device nodes and event streams never opened (lstat/scandir/readlink only); secret-named values masked by NAME with values never printed; rc 0 clean · 4 findings · 6 nothing-readable · 2 usage; 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 #51 · License: MIT · tikkunolam.today