TOOLID=llms-docs-indexer. Build a compact, deterministic JSON index of local documentation exports. Each entry contains only declared purpose, owner and scope, an explicit review date and freshness state, a SHA-256 content hash, and a local link that the CLI verifies inside the supplied root. The tool never invents a capability from document prose, claims its own authority, fetches a URL, or writes to a source system. It has no dependencies.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.
Run the checked-in example
node bin/llms-docs-indexer.mjs --root examples --manifest manifest.json --policy policy.json
node bin/llms-docs-indexer.mjs --root examples --manifest stale-manifest.json --policy policy.json
npm run checkRead the result
The first example exits 0/pass and omits the internal note from a public index. The second exits 1/fail because the source is one day beyond the freshness limit. JSON goes to stdout only. --help lists options. Inputs are relative to --root; resolving a symlink outside that real root makes the run incomplete or invalid. No output-file option exists, so evidence cannot be overwritten.