CLI-Anything Bundle #95 — Keepalived VRRP Trust Recon Pack (4 New AI Agent Skills)
v1.0.0 · MIT · stdlib-only · read-only by construction
Four agent-native, read-only trust-recon CLI tools covering the keepalived VRRP failover trust surface — the layer that tells you whether a deployment's install, config grammar, instance hygiene and VIP/notify-script posture can still be TRUSTED (an operator whose keepalived binary, keepalived.conf, VRRP priority hygiene and virtual-IP grammar cannot be honestly censused has no failover-trust story at all): the install + runtime posture layer, the keepalived.conf grammar layer, the VRRP instance-hygiene layer, and the virtual-IP + notify-script layer. Each tool stats/globs binaries, configs and run-state and parses documented grammar line-based — nothing is ever executed, no keepalived binary is ever spawned, nothing is ever written, nothing networks, and no auth_pass value, unicast peer address, VIP or script body is ever read or printed (CRED-PRESENT presence rows only; RFC1918 doc examples print; real hosts/IPs/VIPs/script paths ride HOST1/VIP1/SCRIPT1 tokens).
- keepalivedpeek — keepalived install + runtime posture census: exact keepalived binary stat-only across lookup dirs (TOOL_BINS presence rows, BIN1 tokens, binaries NEVER executed); install-dir census (INSTALL rows, /usr/sbin + /opt/keepalived probe); config-dir presence + PERM class (contents never parsed by this tool); run-state pidfile census (RUNSTATE rows, PID1 tokens); keepalived.log mtime buckets; keepalived* systemd unit census; findings CONF_PERM; posture findings BARE_TOOL, CONF_WITHOUT_TOOL, honest NOT_RUNNING; rc 0 clean / 4 findings / 6 nothing readable / 3 usage.
- keepalivedconfpeek — keepalived.conf grammar census: keepalived.conf/*.conf file census with perm class rows; LINE-BASED hand classifier over top-level blocks (global_defs, vrrp_script, vrrp_instance, static_ipaddress, virtual_server) as KEY-PRESENCE + count rows (instance names ride NAME1 tokens unless public VI_1 shapes); global posture (router_id value classes, SCRIPT_SEC row on enable_script_security presence, SCRIPT_SEC_OFF finding when absent, script_user CRED-PRESENT rows on non-root values); rc 0 / 4 / 6 / 3 law.
- vrrppeek — VRRP instance grammar + priority hygiene census: per-instance keys (state, interface, virtual_router_id, priority, advert_int, authentication, track_interface, track_script, notify_master, virtual_ipaddress) as KEY-PRESENCE rows; priority hygiene (integers print; PRIORITY_RANGE on <1/>255; NO_PRIORITY on a MASTER-state instance without one; PRIORITY_NONINT); DOUBLE_MASTER on >1 MASTER sharing one virtual_router_id; auth_type/auth_pass ride AUTH CRED-PRESENT presence rows (values NEVER print); interface classing (public eth0-class prints, custom ride IF1); rc 0 / 4 / 6 / 3 law.
- vippeek — virtual IP + notify/script census: virtual_ipaddress VIP strings class rows (RFC1918 doc examples print; custom/real IPs ride VIP1 tokens; CIDR mask presence class rows); DUPLICATE_VIP finding on one VIP string across >1 instance; UNICAST rows (unicast_peer/src_ip presence, peers ride HOST1 tokens); SCRIPT posture (notify_/vrrp_script blocks PRESENCE, paths ride SCRIPT1 tokens, bodies never read); track_script rows + UNDECLARED_SCRIPT finding; MULTICAST_DEFAULT honesty note; rc 0 / 4 / 6 / 3 law.
Read-only by construction — no binary is ever executed, nothing is ever written, nothing networks, and no auth_pass value, unicast peer address, VIP or script body ever prints raw (values ride BIN1/CONF1/PID1/NAME1/HOST1/VIP1/SCRIPT1/IF1/CRED-PRESENT class tokens only); MIT, stdlib-only, self-test batteries inside (1390 executed checks across the four tools — 661 + 299 + 218 + 212 — fired three times at 0 failed, plus clean-room fires unpacked from this exact shipping zip — one /tmp room, one home-path room — 0 failed in both).