What it is
Coverage accounting for code analysis. Each analysis is a Markdown file declaring the source file and line ranges it explains; a registry hashes both sides so it knows when an analysis has gone out of date with the code it describes.
Requirements
Node.js 18 or newer with npx on the PATH; it runs as npx @mtimma/knowerage. KNOWERAGE_WORKSPACE_ROOT has to point at the project root, since everything is relative to it. KNOWERAGE_AUTO_FULL_RECONCILE is optional and off unless set to a truthy value; when on, a watcher rebuilds the registry after changes under the knowerage directory, ignoring its own writes so it cannot loop. Reconciliation is not automatic otherwise — an analysis written without it is not counted. State lives in the repository as analysis Markdown plus a registry JSON file keyed by analysis path, so it is reviewable and travels with the code. It can also be built from source with Cargo.
Setup effort
One command — npx @mtimma/knowerage