Four AI-agent skills for the layer every other trust surface silently depends on: the clock.
Certificate lifetimes, cron windows, Kerberos tickets, log ordering, financial timestamps — every one of them is only as trustworthy as the daemon that sets the clock and the file that remembers drift. Bundle #50 censuses that layer: what actually decides this machine's time, who is allowed to influence it, which auth keys guard it, and whether the drift file still obeys the law hwclock documents. Standard-library only, zero subprocesses, zero writes, zero network — every report is an honest census, never a mutation.
--conf explicit, else /etc/chrony/chrony.conf, else /etc/chrony.conf). Source grammar census (server/pool/peer + duplicates). The makestep law: limit 0 steps the clock at any update forever — MAKESTEP_UNBOUNDED. rtcsync presence law (NO_RTCSYNC). Exposure law: bare allow = ALLOW_ALL, cmdallow all / bare cmdallow = CMDALLOW_ALL — the cmdmon channel lets remote peers rewrite runtime trust. Keyfile stat-only posture: mode/owner/link rows, KEYFILE_MISSING / KEYFILE_WORLD_READABLE / KEYFILE_WORLD_WRITABLE — key material is never read. confdir/sourcedir one-hop children with DIR_MISSING/INCLUDE_MISSING resolved paths. NTS-vs-plaintext auth census. Secret-shaped directives masked ***:LEN (canary-proven)./etc/systemd/timesyncd.conf + timesyncd.conf.d/*.conf in lexical order, last assignment wins, every displaced assignment a SHADOWED row naming loser file+line vs winner file+line (repeatable --dropin layers for explicit runs). NTP posture: NTP_ABSENT_MAIN while a fallback carries hosts (you are silently riding the fallback); IMPLICIT_FALLBACK when the compiled-in vendor list decides. ROOT_DISTANCE_LOOSE above systemd's own 5.0 default — clock sources too coarse for certificate lifetimes. POLL_RANGE_INVERTED, MALFORMED_NTP_ROW stray-comma tokens, unknown-directive drift rows, the state clock stat row. Secrets masked ***:LEN everywhere including census rows (canary-proven).restrict row without noquery is RESTRICT_DEFAULT_NOQUERY — the remote query surface stays open; absence of any default-class row is honest data (modern daemons ship hardened defaults). Keys stat-only: KEYFILE_MISSING / KEYFILE_WORLD_READABLE / KEYFILE_WORLD_WRITABLE, contents never read; trustedkey/controlkey/requestkey IDs print as data. includefile one-hop with resolved relative paths, duplicate sources, openntpd listen on/sensor flavor census, crypto pw masked ***:LEN by name.LINE_COUNT_BAD past 3 content lines; the two-line pre-sync shape is legal), drift law (DRIFT_FACTOR_MALFORMED non-floats; DRIFT_FACTOR_EXTREME when |v| > 0.1 — no real oscillator drifts 100,000 ppm; that row is corruption or tampering), mode law (exactly UTC/LOCAL, LOCAL carrying the dual-boot note), last-sync ISO law with LAST_SYNC_FUTURE vs the file's own mtime (a recorded adjust cannot postdate the file that records it), world-writable findings, default-path root-owner law, symlink-aware stat (never judges the 0777 link mask — the target is the verdict), honest absence as rc0 (normal before the first adjust).239 executed-assert checks per sweep (chronypeek 61 + timesyncdpeek 61 + ntdpeek 61 + adjtimepeek 56), fired green from the kit twice and re-fired clean-room from this exact shipping zip — 0 failed every source. The defect ledger was closed before green with zero test weakening and truth only UP: the canary law caught a real leak (timesyncdpeek's assignment census printed secret values verbatim — masked now, battery-asserted), plus the shadowed loser/winner bookkeeping inversion, unbounded makestep + restrict-noquery + keyfile law sharpening, the symlink 0777 mask false-verdict, and masked-row duplication — five defect classes owned and closed. Four live smokes on a real host are contract-consistent.
--json.Every tool is a self-contained agent harness:
cd <tool>/agent-harness
python3 -m cli_anything.<tool> --json
Or install into a venv: pip install ./chronypeek/agent-harness. MIT licensed, full source in the zip, battery runnable by the buyer:
python3 runner_count.py
# TOTAL 239 checks, 0 failed
Agents and operators that harden workstations and servers: before trusting any timestamp on this host, census what actually decides the clock — which time daemon owns it, who can influence it, whether NTS/keys guard it, whether the drift file still obeys the three-line law. Pairs with Bundle #45 (CA & TLS Trust Recon — certificate lifetimes assume the clock) and Bundle #20 (Schedule Recon — cron windows assume the clock); this pack censuses the time-sync trust layer itself.
tikkunolam.today — "No one shall be denied access to the tools of liberation for lack of money."