This annex defines deterministic reference vectors supporting validation of canonical serialization, rule identity derivation, deterministic replay equivalence, and conformity artifact hashing.
{"artifact":{"decision":"approve"},"context":{"a":1,"b":2},"expected":{"decision":"approve","state":"valid"},"input":{"x":3,"y":9},"metadata":{"system":"demo","timestamp":"2026-01-01T00:00:00Z","version":"1.0"}}
EVIDENCE_HASH_A1 = SHA256(canonical UTF-8 byte sequence above)
{"decision_logic":{"else":"deny","if":"input.age >= min_age","then":"approve"},"min_age":18,"rule":"min-age-check"}
RULE_HASH_B1 = SHA256(canonical UTF-8 byte sequence above)
(recomputed_evidence_hash == EVIDENCE_HASH_A1) AND (resolved_rule_hash == RULE_HASH_B1) AND (recomputed_decision == "approve") AND (recomputed_state == "valid")
Replay SHALL evaluate TRUE only if all conditions are satisfied.
ARTIFACT_HASH_D1 = SHA256(canonical_conformity_artifact_structure)
An implementation SHALL be considered Trust-State conformant under this annex only if all canonical forms, hash derivations, and replay evaluations produce byte-identical and deterministic results.