CLI-Anything Bundle #37 — Unit Trust Recon Pack

Two NEW agent-native read-only harnesses for the systemd unit surface — which unit files exist and which file WINS each unit name, plus the full enablement graph verdict census. Zero subprocesses, zero writes, no sockets, no systemctl calls.

unitpeek — unit-file layering census

Per unit NAME: the winner file under the documented load order (/etc > /run > /usr/local/lib > /lib > /usr/lib; realpath-equal merged-usr twins merged with the note carried), type class, size, symlink winners with single-hop targets — plus every SHADOWED losing file named with its dir, and SYMLINK_DANGLING winners. .wants/.requires/.d dirs never counted as units; dotfiles skipped; honest UNREADABLE and NO_UNIT_DIRS rows; rc0 clean / rc4 findings / rc6 no files / rc2 usage.

wantpeek — enablement symlink census

Per <unit>.wants / .requires / .upholds directory: kind, dependent unit with present/absent truth, and one row per enable link — resolved target basename, raw single-hop target, and an ENABLED vs DANGLING_TARGET verdict against a full unit-name census of the declared load path. NOT_A_SYMLINK entries carried as data; nothing is ever linked or unlinked; rc0 clean / rc4 findings / rc6 no link dirs / rc2 usage.

Install

unzip CLI-Anything_Bundle37_UnitTrustRecon_v1.0.zip
cd unitpeek/agent-harness && python3 -m cli_anything.unitpeek --root / --json
cd ../wantpeek/agent-harness && python3 -m cli_anything.wantpeek --root / --json

Verify your extract

sha256sum CLI-Anything_Bundle37_UnitTrustRecon_v1.0.zip

Battery truth: 216 checks total per full sweep (unitpeek 100 + wantpeek 116) — fired twice from the kit + a clean-room fire from this exact shipping zip, 0 failed every time. Apache-2.0, stdlib-only, Python 3.8+.