Buddy v0.1.21
Self-healing wiki
The wiki now monitors its own health. After every filing and on periodic background checks, Buddy detects and repairs structural issues — broken links, orphan pages, missing backlinks — automatically.
What changed
- Post-write health check. Every
wiki_filecall runs a deterministic audit after filing: orphan pages, ghost index entries, broken links, missing backlinks, frontmatter integrity, thin pages, and connectivity stats. Resolvable issues (missing backlinks, slug-matchable broken links, stale indexes) are repaired immediately. Remaining warnings are logged. - Heartbeat wiki audit. A background task checks for external edits (user renames, manual page edits) via path-scoped
git logsince the last check. When changes are found, the same check-and-repair cycle runs and commits fixes independently of consolidation. - Independent of consolidation. Wiki health runs on its own cycle. A wiki check failure does not block consolidation, and consolidation failures do not affect the wiki. They are separate background tasks with separate state.
- Wiki state tracking.
.buddy/wiki-state.jsonpersistslastHealthCheckandpagesAtLastCheckacross sessions, so the heartbeat knows when to skip (no changes) or run (new commits).
952 unit tests and 326 scenarios.