aboutsummaryrefslogtreecommitdiff
path: root/scripts/tests/audit.bats
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-10 18:21:15 -0500
committerCraig Jennings <c@cjennings.net>2026-06-10 18:21:15 -0500
commitb0140951ebe0f0c2d33a868a2d1cda2eafd29044 (patch)
treea259806847559e32153bbbb6f60bddfb4bb2c8fe /scripts/tests/audit.bats
parent242b95ea44d4ba12a611a0b2acb3edc109ce74f5 (diff)
downloadrulesets-b0140951ebe0f0c2d33a868a2d1cda2eafd29044.tar.gz
rulesets-b0140951ebe0f0c2d33a868a2d1cda2eafd29044.zip
feat(kb): monthly hygiene report for agent KB nodes
Phase 4 of the agent KB spec. kb-hygiene.sh inventories :agent: nodes, flags orphans (no id: link anywhere in the KB points at them), duplicate titles, and stray conflict files, then writes an org report into the rulesets inbox for the normal inbox flow to propose dispositions. Read-only by design — it never deletes. A monthly systemd user timer (Persistent=true) runs it; bats covers the counts, orphan detection, duplicates, conflict tally, and the missing-KB error path.
Diffstat (limited to 'scripts/tests/audit.bats')
0 files changed, 0 insertions, 0 deletions