SpecificationChangelogGovernanceFormal modelv1.0v1.1v1.2v1.3Raw markdown

Protocol changelog

Changes to the Zanii protocol specification. Every 1.x version describes "v": 1 objects; see GOVERNANCE.md for what each kind of change means. Each released version is frozen verbatim in versions/.

1.3 — 2026-10-19 · frozen

Decimals in payloads (§3). Non-integer numbers are encoded as RFC 8785 specifies instead of being refused, so tool inputs and outputs with prices, coordinates or scores can be recorded. Python reproduces ECMAScript's number form byte for byte (checked over 257,612 values and in @zanii/conformance 0.2.0). Every payload valid under 1.2 hashes exactly as before; only payloads 1.2 refused are newly accepted. A 1.2 verifier still verifies every 1.3 receipt; it cannot run verifyPayload on a payload holding a decimal.

1.2 — 2026-10-19 · frozen

All additions are optional fields or conventions over existing "v": 1 objects; a 1.1 verifier accepts every 1.2 receipt.

1.1 — 2026-09-29 · frozen

Specified the payload encoding (§3). A payload_hash commits to the payload's RFC 8785 JCS bytes: keys sorted, no whitespace, raw UTF-8, a missing payload encoded as null, and non-integer numbers rejected rather than encoded. Before 1.1 this step was undefined, and the two reference SDKs had chosen different serialisers, so the same payload hashed differently in each. Receipts written under the rule carry the additive "payload_encoding": "jcs"; receipts without it are pre-1.1 and are checked with the legacy verifiers, which report which earlier encoding matched.

1.0 — 2026-09-05 · frozen

The baseline: delegation certificates and scopes (§2), signed hash-chained action receipts with salted payload commitments (§3–§4), the RFC 6962 transparency log with inclusion and consistency proofs (§5), revocation (§6), on-chain anchoring (§7), audit bundles carrying the anchors their receipts need (§8), cross-organisation co-signed receipts (§9), reputation and payments (§10), selective disclosure (§11), owner confirmation of irreversible actions (§12), infrastructure co-signatures (§13), and N-party swarm receipts (§14).