read_doc_history
Retrieve archived document revisions for audits or comparisons. List retained versions with digests, or read a specific revision's content re-verified against its digest.
Instructions
Read a RETAINED revision of a document, or list the revisions retained for it. Every write archives the prior copy (nothing is deleted); this is the reader for that archive. Without a version: the list of retained revisions with their digests and dates. With a version: that revision's full content, re-hashed against its stored digest. Read-only. Use it for an audit question - what did this document say at version N - or to compare a document with what it replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document id, e.g. 'CHARTER.md', 'STATE.md' | |
| version | No | Optional: the revision to read. Omit to list what is retained. |