Reference
knowledge.version
domain: knowledge
A document version AS A MERKLE MANIFEST: an ordered list of chunk hashes, whose `root_hash` (a hash of that ordered list) IS the version's identity. A revision that edits one chunk mints a new blob only for that chunk; every unchanged chunk keeps its hash and is SHARED with the prior version (storage proportional to what changed). `as_of(T)` = the latest version effective at T; a cited version always resolves (its chunks are immutable). This is the AirOS knowledge design finally built โ nearly free on the content-addressed filestore.
| Field | Type | Required | Description |
|---|---|---|---|
schema | โ | โ | |
id | string | โ | |
doc_id | string | โ | |
version_no | integer | โ | |
root_hash | string | โ | sha2-256 of the ordered chunk_hash list โ the version identity (Merkle root) |
chunk_count | integer | ||
chunks | array<object> | โ | ordered manifest: [{chunk_hash, index, locator}] |
supersedes | string/null | the prior knowledge.version id this revises | |
created_at | string | ||
tenant | string |