verify_index
Validates documentation integrity by checking each section's SHA-256 hash against stored values, reporting drifts or missing sections. Use the sample parameter for lightweight 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. |