CLI-Anything Bundle #87 — Etcd KV 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 etcd distributed key-value trust surface — the layer that tells you whether an etcd install’s runtime and configuration posture can still be TRUSTED. Read-only by construction: no binary is ever executed, nothing is ever written, nothing networks, and no credential value, peer identity or keyspace VALUE ever prints raw (values ride BIN1/CONF1/DATA1/ID1/SNAP1/KEYS/WAL1 token classes only); MIT, stdlib-only, self-test batteries inside (872 executed checks across the four tools — 241 + 225 + 203 + 203 — fired three times at 0 failed, plus clean-room fires unpacked from this exact shipping zip, 0 failed).
- etcdpeek — etcd install + runtime posture census: etcd install + runtime posture census: exact etcd/etcdctl binaries stat-only across lookup dirs (TOOL_BINS rows, found-class + count, identities ride BIN1/BIN2 tokens, binaries NEVER executed); install-dir config/docs subdir presence rows (INSTALL, default probe /opt/etcd + /usr/lib/etcd); config dir presence/perm class (CONF rows, contents never parsed, identities ride CONF1 tokens; /etc/etcd is public vocabulary); data/wal run-state walk (RUNSTATE rows: member/ and wal/ presence + wal segment file COUNT only, contents never read, no member LIST ever enumerated, identities ride DATA1 tokens); systemd etcd* unit census (UNITS count/perm rows, never parsed); perms findings CONF_PERM / DATA_PE (241 checks)
- etcdconfpeek — etcd config grammar + security posture census: etcd config grammar + security posture census: config file glob census (etcd.conf.yml, etcd.conf, *.yml, *.yaml, etcd* — CONF rows with CONF1/CONF2 tokens + PERM class); LINE-BASED indentation-tolerant grammar parser over the public etcd vocabulary (a yaml module is NEVER imported) riding KEY-PRESENCE GRAMMAR rows only; listen posture classes (doc-shaped loopback URLs may print; wildcard 0.0.0.0/:: rides a WILD_BIND finding; custom hosts/IPs ride HOST1 tokens — the host never prints); security key-presence SEC rows (client-cert-auth, peer-client-cert-auth, trusted-ca-file, cert-file, key-file, auto-tls, peer-auto-tls — values never read or printed) with AUTOTLS findings on auto-tls/peer-auto (225 checks)
- etcdkeypeek — etcd keyspace/lease/backup surface census: etcd keyspace/lease/backup surface: JSON keyspace dump globs (*.json, keys*.json, lease*.json) across the /var/lib/etcd + /etc/etcd probe with 256KB capped-head stdlib-json parses (GRAMMAR field-vocabulary rows, VALUE_SHAPE scalar/bytes/ empty classes — value CONTENTS never print), the REVISION census (per-file max on KEYS tokens), the LEASE census (presence + TTL zero/short/long), the backup posture (*.snapshot, etcd-snapshot*, *.db.bak, mtime buckets, SNAP1 tokens, bodies never read), compact* COMPACT rows + GROWTH_NOTE; DRIFT / KEYS_PERM findings, honest KEYS_UNPARSED rows; honest rc6. Read-only by construction — zero subprocesses, zero writes, no network; MIT; stdlib-only; self-test batt (203 checks)
- etcpeerpeek — etcd peer/cluster directory posture census: etcd peer/cluster directory posture: member/ tree (snap/ + wal/ + ciphers/ presence/shape on DATA1/ID1 token law; bodies never read), member/snap db + ciphers size-bucket PEER rows, TLS-shaped filename presence rows, member/wal segment census (*.wal count truth + WAL1 token names), snapshot census (*.bak + snapshot*.db, mtime fresh/week/stale buckets, SNAP1 tokens), permission posture (MEMBER_PERM / WAL_PERM / SNAP_PERM, rc4 class) and honest WAL_EMPTY / BOOTSTRAP_NOTE / DATA_OWNER notes; custom paths ride PATH1/DATA1 tokens, standard /var/lib/etcd + /etc/etcd stay public vocabulary; honest rc6. (203 checks)