KB Staleness Validator
Verifies the integrity of knowledge base indexes against source library files to identify and report documentation drift.
The Knowledge Base Staleness Validator is an essential tool for maintaining synchronized documentation in AI-first development environments. It performs a hash-based comparison between your library files and the shelf-index to detect additions, removals, or modifications that haven't been indexed. By offering both a warning mode for manual checks and a strict mode for CI/CD pipelines, it ensures that Claude always has access to the most accurate and up-to-date project knowledge. It is specifically designed to be wired into pre-push hooks to prevent stale documentation from reaching your repository.
主な機能
01Strict mode support for failing CI/CD or pre-push hooks
0239 GitHub stars
03Silent pass-through for projects without a configured knowledge base
04Hash-based drift detection for markdown library files
05Detailed reporting of added, removed, and modified entries
06Automated logging of check results to log.md
ユースケース
01Automating documentation validation in Git pre-push hooks
02Auditing documentation integrity during large-scale refactors
03Ensuring AI-readable indexes are up-to-date before deployments