Reference
Record
The envelope carried in the DOCX.
The record is everything a compatible tool needs: the manifest and the ledger, in one object.
| Field | Type | What it is |
|---|---|---|
manifest | object | Who may act. See Manifest. |
ledger | array | The turns, in order. See Turn. |
ledgerHead | string | null | Hash of the latest turn. null when the ledger is empty. |
turnCount | integer | How many turns the ledger holds. |
Carriage
In a DOCX, the record travels as one custom XML part. The payload is escaped JSON; the XML wrapper exists so Word-family tools discover and preserve it.
<agentrevisionmarkup:record
xmlns:agentrevisionmarkup="urn:agentrevisionmarkup:docx:record:0.1"
version="0.1">
<agentrevisionmarkup:payload encoding="application/json">
{"manifest":{...},"ledger":[...],"ledgerHead":"sha256:...","turnCount":2}
</agentrevisionmarkup:payload>
</agentrevisionmarkup:record>Inspect any DOCX to see a carried record in place.