Agent Revision Markup
Reference

Record

The envelope carried in the DOCX.

The record is everything a compatible tool needs: the manifest and the ledger, in one object.

FieldTypeWhat it is
manifestobjectWho may act. See Manifest.
ledgerarrayThe turns, in order. See Turn.
ledgerHeadstring | nullHash of the latest turn. null when the ledger is empty.
turnCountintegerHow 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.

On this page