verify_index
Walks every section of a documentation index, byte-range-reads current content, recomputes SHA-256, and compares to stored hash to detect drift, missing sections, or errors. Optionally verify only the first N sections for quick CI checks.
Instructions
Byte-offset integrity check. Walks every section, byte-range-reads its current on-disk content, recomputes SHA-256, and compares to the stored content_hash. Reports drift / missing / error counts plus the drifting section ids. Sample N sections via the sample arg for cheap CI checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| sample | No | Only verify the first N sections. |