{
  "schema": "txra.agenttrail-vectors.v1",
  "profile": "draft-sharif-agent-audit-trail-01",
  "spec": "creation1618.com/verify/SPEC.md §3.3",
  "note": "Conformance vectors for the Seal1618 agent-trail profile. Each vector is a document (and, for the signed ones, the reader-supplied public key) with the verdict a conforming verifier reaches and the named check(s) that fail. Every value is invented; every hash is real. The signing key is a TEST key that signs nothing but these vectors. summaryStartsWith is the reference verifier's wording — an independent implementation must agree on the verdict and the failing checks; matching the sentence is optional.",
  "generatedAt": "2026-09-02T04:00:10.000Z",
  "testPublicKey": {
    "kty": "EC",
    "x": "R4-9aIf3_o22T6otmYNo9dlGmONwxKhtDOG121not9s",
    "y": "I_4YvAaw8NzflE1iblSqidmcM-nDbphGjvVcXCpPta8",
    "crv": "P-256"
  },
  "vectors": [
    {
      "id": "intact-wrapper",
      "note": "A closed five-record session in the txra.agenttrail.v1 wrapper. Every check passes.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "intact-native-array",
      "note": "The same records as the draft's native shape — a bare JSON array. Verifies identically; the schema check reports the native export.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record"
      },
      "input": {
        "document": [
          {
            "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "timestamp": "2026-09-02T04:00:00.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_start",
              "recording_mode": "self",
              "trigger": "manual",
              "enabled_tools": [
                "example.tool"
              ]
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": null,
            "prev_hash": null,
            "record_phase": "concurrent"
          },
          {
            "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "timestamp": "2026-09-02T04:00:00.700Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_call",
            "action_detail": {
              "tool_name": "example.tool",
              "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
            "record_phase": "pre_execution",
            "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
          },
          {
            "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "timestamp": "2026-09-02T04:00:01.400Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_response",
            "action_detail": {
              "tool_name": "example.tool",
              "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
              "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
            "record_phase": "post_execution",
            "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
          },
          {
            "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "timestamp": "2026-09-02T04:00:02.100Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "decision",
            "action_detail": {
              "decision_type": "generate"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
            "record_phase": "post_execution",
            "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
          },
          {
            "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "timestamp": "2026-09-02T04:00:02.800Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_end",
              "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
              "record_count": 5,
              "duration_ms": 2800
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
            "record_phase": "post_execution"
          }
        ]
      }
    },
    {
      "id": "open-session",
      "note": "No close record. The chain verifies; the end of the session is not established, and the verifier says so in the verdict.",
      "expect": {
        "verdict": "VERIFIED_OPEN",
        "summaryStartsWith": "VERIFIED (OPEN SESSION — no close record)"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "332d5cd5-f468-4739-b649-ee2b78471241",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "5934872d-2e83-4051-8ed2-961774acf5e9",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "306ccbd8-4082-4b63-b2a3-295aeeb5e1bd",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "5934872d-2e83-4051-8ed2-961774acf5e9",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "332d5cd5-f468-4739-b649-ee2b78471241",
              "prev_hash": "4ca141395427be5bb9ee037616554b1e4f574affc1559edb8a2abe8d21f83cda",
              "record_phase": "pre_execution"
            },
            {
              "record_id": "d1d00954-249c-4a40-84c6-3444eac6e3f6",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "5934872d-2e83-4051-8ed2-961774acf5e9",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "306ccbd8-4082-4b63-b2a3-295aeeb5e1bd"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "306ccbd8-4082-4b63-b2a3-295aeeb5e1bd",
              "prev_hash": "06f2eb33118b62dd815105006b354ef878e3b531d7b442908905200b055381bb",
              "record_phase": "post_execution"
            },
            {
              "record_id": "6e24e0f0-0fe2-445b-85fa-db61f5c02957",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "5934872d-2e83-4051-8ed2-961774acf5e9",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d1d00954-249c-4a40-84c6-3444eac6e3f6",
              "prev_hash": "68175266c72f5421caea89a9e0310a16c001f469ae1da299ebe799d36ae5b252",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f376ddaa9477e5bb1dacc43396415a2a3fc29aa92d9bf3ddf0e77d87e856c6b3",
            "recordCount": 4
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "tombstoned-record",
      "note": "Record 2 replaced by a §9.3 tombstone carrying the original hash. The chain is accepted across it, the session_hash is unchanged, and the verdict names the deletion.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record whose session_hash covers all of them; this is the trail that was written, in this order. 1 record is tombstoned"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "record_deleted",
                "deletion_reason": "gdpr_art17",
                "deleted_at": "2026-09-03T00:00:00.000Z",
                "original_action_type": "tool_response"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "tombstone_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "altered-field",
      "note": "One field changed in record 1 and nothing re-chained: record 2's prev_hash no longer equals hex(SHA-256(JCS(record 1))).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "chain"
        ],
        "summaryStartsWith": "FAILED — chain. A broken link"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "another.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "reordered-records",
      "note": "Records 1 and 2 swapped, nothing else changed. Four checks see it: the chain and the linkage (each record now follows the wrong one), the timestamps (record 2 now precedes record 1), and the close (the session_hash was computed over the original order).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "chain",
          "linkage",
          "timestamps",
          "close"
        ],
        "summaryStartsWith": "FAILED — chain, linkage, timestamps, close"
      },
      "input": {
        "document": [
          {
            "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "timestamp": "2026-09-02T04:00:00.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_start",
              "recording_mode": "self",
              "trigger": "manual",
              "enabled_tools": [
                "example.tool"
              ]
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": null,
            "prev_hash": null,
            "record_phase": "concurrent"
          },
          {
            "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "timestamp": "2026-09-02T04:00:01.400Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_response",
            "action_detail": {
              "tool_name": "example.tool",
              "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
              "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
            "record_phase": "post_execution",
            "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
          },
          {
            "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "timestamp": "2026-09-02T04:00:00.700Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_call",
            "action_detail": {
              "tool_name": "example.tool",
              "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
            "record_phase": "pre_execution",
            "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
          },
          {
            "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "timestamp": "2026-09-02T04:00:02.100Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "decision",
            "action_detail": {
              "decision_type": "generate"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
            "record_phase": "post_execution",
            "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
          },
          {
            "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "timestamp": "2026-09-02T04:00:02.800Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_end",
              "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
              "record_count": 5,
              "duration_ms": 2800
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
            "record_phase": "post_execution"
          }
        ]
      }
    },
    {
      "id": "backdated-timestamp",
      "note": "Record 3 carries a timestamp earlier than record 2; the chain was recomputed so only the timestamps check fails.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "timestamps"
        ],
        "summaryStartsWith": "FAILED — timestamps"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T03:59:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "6488891da9674f80673cb61682dcde869079276b3d86b4ab797a63d4e5766ba7",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "ddb1dd3af72f22f09f86d398d7b9e2af7b2a809fc5f1638418229dbf7969ff10",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "c525521eb06e9c3dbd3d47ab1adf43ef8bdd0e172ad4adb35ae26b6360542c40",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "duplicate-nonce",
      "note": "Record 3 reuses record 1's nonce; re-chained, so only the nonces check fails (§13.5 replay).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "nonces"
        ],
        "summaryStartsWith": "FAILED — nonces"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "189fa3d7eb0befd8634071d7f9ae5ddd0981a5ab2320ad769197efc6334568af",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "b4e9138e0ce4ac822ba266d55112b3bd2713520af31fa8c13a97af53220de6fb",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "afc14b7d4af7662cc3be0fa504d5c92ce444a3e9d2b3c611651db3916a7e07b6",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "denied-decision-after-the-fact",
      "note": "A decision with outcome denied recorded in the post_execution phase — §4.2 requires pre_execution. Only the phases check fails.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "phases"
        ],
        "summaryStartsWith": "FAILED — phases"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "81764891-3bcf-4f28-b204-2d035054685d",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "3deb3534-ef65-4a15-ba94-f0e0cec9ff7e",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "f280e6cc-e4c9-498f-aa50-680e8b359a7b",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "3deb3534-ef65-4a15-ba94-f0e0cec9ff7e",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "81764891-3bcf-4f28-b204-2d035054685d",
              "prev_hash": "e57797d9bd8dabd2ea85dbbe9aeee29373f3814e44fe52e872c9bf7fd5bbb261",
              "record_phase": "pre_execution"
            },
            {
              "record_id": "9d91d94b-048a-4eaa-8714-557ec2f1fe66",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "3deb3534-ef65-4a15-ba94-f0e0cec9ff7e",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "f280e6cc-e4c9-498f-aa50-680e8b359a7b"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "f280e6cc-e4c9-498f-aa50-680e8b359a7b",
              "prev_hash": "fbe8654fd1460d3ced5331a48df1c374928302a28ff50c708fedce6c86d18c07",
              "record_phase": "post_execution"
            },
            {
              "record_id": "431c1249-cbfc-46e6-a729-f9a8c67f3c00",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "3deb3534-ef65-4a15-ba94-f0e0cec9ff7e",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "approve"
              },
              "outcome": "denied",
              "trust_level": "L0",
              "parent_record_id": "9d91d94b-048a-4eaa-8714-557ec2f1fe66",
              "prev_hash": "6cecbd2b4a4b136057d226a5b83e3ae12ea48885b8ea0d08e12e8c832e33f8c2",
              "record_phase": "post_execution"
            },
            {
              "record_id": "15aa9f74-615d-4364-b605-775b603238fc",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "3deb3534-ef65-4a15-ba94-f0e0cec9ff7e",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "2767e65c1a46537f8410bba065fcec33858ac079c216ca4e8c0770acceb7e16d",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "431c1249-cbfc-46e6-a729-f9a8c67f3c00",
              "prev_hash": "329ad63f3981d9ba6d495a08f1416359b5147079f0631b77ef8bda9e01f6ff93",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "374a9b67a4718bbfce64f239f995d61294636feff0f2ea1471e7a826d224d0c0",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "session-hash-wrong",
      "note": "The close record states a session_hash that does not equal SHA-256 over the raw prev_hash digests. Only the close check fails.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "close"
        ],
        "summaryStartsWith": "FAILED — close"
      },
      "input": {
        "document": [
          {
            "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "timestamp": "2026-09-02T04:00:00.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_start",
              "recording_mode": "self",
              "trigger": "manual",
              "enabled_tools": [
                "example.tool"
              ]
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": null,
            "prev_hash": null,
            "record_phase": "concurrent"
          },
          {
            "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "timestamp": "2026-09-02T04:00:00.700Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_call",
            "action_detail": {
              "tool_name": "example.tool",
              "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
            "record_phase": "pre_execution",
            "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
          },
          {
            "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "timestamp": "2026-09-02T04:00:01.400Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_response",
            "action_detail": {
              "tool_name": "example.tool",
              "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
              "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
            "record_phase": "post_execution",
            "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
          },
          {
            "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "timestamp": "2026-09-02T04:00:02.100Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "decision",
            "action_detail": {
              "decision_type": "generate"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
            "record_phase": "post_execution",
            "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
          },
          {
            "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "timestamp": "2026-09-02T04:00:02.800Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_end",
              "session_hash": "02f0bbb494f777eb6acbb0e6596846f6402fe97babf74b104d9a0e5da8db52e0",
              "record_count": 5,
              "duration_ms": 2800
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
            "record_phase": "post_execution"
          }
        ]
      }
    },
    {
      "id": "record-removed-before-close",
      "note": "The decision record is gone. The close's prev_hash and parent no longer link, and its session_hash no longer covers the set.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "chain",
          "linkage",
          "close"
        ],
        "summaryStartsWith": "FAILED — chain, linkage, close"
      },
      "input": {
        "document": [
          {
            "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "timestamp": "2026-09-02T04:00:00.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_start",
              "recording_mode": "self",
              "trigger": "manual",
              "enabled_tools": [
                "example.tool"
              ]
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": null,
            "prev_hash": null,
            "record_phase": "concurrent"
          },
          {
            "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "timestamp": "2026-09-02T04:00:00.700Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_call",
            "action_detail": {
              "tool_name": "example.tool",
              "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
            "record_phase": "pre_execution",
            "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
          },
          {
            "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "timestamp": "2026-09-02T04:00:01.400Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_response",
            "action_detail": {
              "tool_name": "example.tool",
              "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
              "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
            "record_phase": "post_execution",
            "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
          },
          {
            "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "timestamp": "2026-09-02T04:00:02.800Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_end",
              "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
              "record_count": 5,
              "duration_ms": 2800
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
            "record_phase": "post_execution"
          }
        ]
      }
    },
    {
      "id": "record-after-close",
      "note": "A well-formed record appended after the session_end record. The close record must be last (§8.3).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "close"
        ],
        "summaryStartsWith": "FAILED — close"
      },
      "input": {
        "document": [
          {
            "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "timestamp": "2026-09-02T04:00:00.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_start",
              "recording_mode": "self",
              "trigger": "manual",
              "enabled_tools": [
                "example.tool"
              ]
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": null,
            "prev_hash": null,
            "record_phase": "concurrent"
          },
          {
            "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "timestamp": "2026-09-02T04:00:00.700Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_call",
            "action_detail": {
              "tool_name": "example.tool",
              "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
            "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
            "record_phase": "pre_execution",
            "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
          },
          {
            "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "timestamp": "2026-09-02T04:00:01.400Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "tool_response",
            "action_detail": {
              "tool_name": "example.tool",
              "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
              "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
            "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
            "record_phase": "post_execution",
            "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
          },
          {
            "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "timestamp": "2026-09-02T04:00:02.100Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "decision",
            "action_detail": {
              "decision_type": "generate"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
            "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
            "record_phase": "post_execution",
            "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
          },
          {
            "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "timestamp": "2026-09-02T04:00:02.800Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "lifecycle",
            "action_detail": {
              "event": "session_end",
              "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
              "record_count": 5,
              "duration_ms": 2800
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
            "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
            "record_phase": "post_execution"
          },
          {
            "record_id": "fd01253c-23c9-4bbe-bfb7-3c43e9683d6c",
            "timestamp": "2026-09-02T04:00:30.000Z",
            "agent_id": "urn:example:agent",
            "agent_version": "1.0.0",
            "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
            "action_type": "decision",
            "action_detail": {
              "decision_type": "generate"
            },
            "outcome": "success",
            "trust_level": "L0",
            "parent_record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
            "prev_hash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "record_phase": "post_execution",
            "nonce": "343545b972907f9d3598ee6fdca34e87"
          }
        ]
      }
    },
    {
      "id": "reserved-prefix",
      "note": "action_detail uses the reserved aat_ prefix (§3.3). A record-format violation; the trail is refused before the chain is read.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "records"
        ],
        "summaryStartsWith": "FAILED — 1 record violates the record format"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate",
                "aat_reserved": true
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "f809b73f165409dcfad5c990dfe70042d8a4ae42f921d2c8dc072d8888a4c071",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "077f2e66b93522211d24a2c86e0d30afb5900b6c7617b218b6c71d7e01b1e063",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "e6c27cdf0cbd354a3e9879c18bc4ba9368afab5c92adeb954e64e8e52a4e9700",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "wrapper-integrity-mismatch",
      "note": "The wrapper states four records and carries five. The records are intact; the file contradicts itself, so it FAILS on the integrity check.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "integrity"
        ],
        "summaryStartsWith": "FAILED — integrity"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "recordCount": 4
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "unimplemented-profile-revision",
      "note": "The wrapper names a revision this specification does not implement. UNVERIFIED by name — nothing has contradicted anything.",
      "expect": {
        "verdict": "UNVERIFIED",
        "summaryStartsWith": "UNVERIFIED — this document names a profile revision this tool does not implement"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-99",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "9dc72029ffeb3e9c9bbbd579b1700c684bc59b9215d21d50e70fb06322c93d28",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "dbb69c022df5ecf355ca7b2c3fa2b7394cdaeed2226e4a739efc09d532c797b1",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c56bc20232a97dbb53a9ed0c7987039b5015641a492f770242a76253d2a9daff",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "c378a7427115ab508b0068cbd35f524aff8cd3930bc0bc7d059e16f32c3cee1a",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "f1ec728c1bce0ec871166e20a63d8b065ce204b0bf27847fd38150b36bbf1437",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "empty-trail",
      "note": "A wrapper with no records. An empty trail evidences nothing; a session begins with a genesis record (§8.1).",
      "expect": {
        "verdict": "UNVERIFIED",
        "summaryStartsWith": "UNVERIFIED — an empty trail evidences nothing"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": []
        }
      }
    },
    {
      "id": "signed-key-supplied",
      "note": "Every record signed with the test key; the public key is supplied as the reader's. Every signature verifies and the trail is VERIFIED.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent",
              "signature": "hw2dDU89r_DdYO5bL1JJGF4wG9sF8UVtOEPhNrgxYdkp6nVopdaaU_K8OgRXIi17yDphJH4bH39t-musP01UFA"
            },
            {
              "record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "prev_hash": "6f51f1be4cca1cedf3606c962cb9e86b15aa45fbb827188a1bbca0f19b8b7374",
              "record_phase": "pre_execution",
              "signature": "v8MOUcX__rw4WvwipyVS5clS8YQxJRowQAtle2hr7jumWRZLoUHhwhWQ1MIvSSLuv1ZLyW1kPUQF7a8vz_gP3Q"
            },
            {
              "record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "prev_hash": "5d4cd56d0aa011cb998f86fbed4a37a3f86c1fd0771173f488fc1ef3d47c121c",
              "record_phase": "post_execution",
              "signature": "IcrQqL7uqC_P5DXQxL40yNLebxARZDZFxPbY8g68do2_jXCo7oYZhJrsPLMuEIRrKawrpuZNILtQoj755-u5kg"
            },
            {
              "record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "prev_hash": "61912733e72496129427665a817c05d57a5f3a3d6961b6c95481f0a27c44e570",
              "record_phase": "post_execution",
              "signature": "9q4jG88ySFo_18QoPb0kQyxyTGoryCyWBwtFHE3ANwTIP9L_P36Mpms_kHqzS-qT91Ud364YXHG7ib_0YZraow"
            },
            {
              "record_id": "be072172-0d9f-4bf5-a665-a95db7cb0590",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "9bffc0e339c6c363b1089efe858874ae976052e4cf14b29d62a40a2022b73ddf",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "prev_hash": "2c528d0dce342e1a662709f093fdcfe4e0992c73ed98fc03290c5838296fc484",
              "record_phase": "post_execution",
              "signature": "8Mb5d-S9rwsP2fAAgL1FU_OM57yGmGr1DkS__PMTpbALDD271Tz7-ZOWf_zn0Gyz6UvnSlsC1eMNwVnctOV0Lw"
            }
          ],
          "integrity": {
            "terminalHash": "be1d83945a196171acc542c721cda8e33cab3a16cd415dd55fcc89661d32b6eb",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        },
        "publicKey": {
          "kty": "EC",
          "x": "R4-9aIf3_o22T6otmYNo9dlGmONwxKhtDOG121not9s",
          "y": "I_4YvAaw8NzflE1iblSqidmcM-nDbphGjvVcXCpPta8",
          "crv": "P-256"
        }
      }
    },
    {
      "id": "signed-no-key",
      "note": "The same signed trail with no key supplied. The chain verifies; the signatures are reported as not checked, by name — a signature is a claim until a key the reader obtained checks it.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent",
              "signature": "hw2dDU89r_DdYO5bL1JJGF4wG9sF8UVtOEPhNrgxYdkp6nVopdaaU_K8OgRXIi17yDphJH4bH39t-musP01UFA"
            },
            {
              "record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "prev_hash": "6f51f1be4cca1cedf3606c962cb9e86b15aa45fbb827188a1bbca0f19b8b7374",
              "record_phase": "pre_execution",
              "signature": "v8MOUcX__rw4WvwipyVS5clS8YQxJRowQAtle2hr7jumWRZLoUHhwhWQ1MIvSSLuv1ZLyW1kPUQF7a8vz_gP3Q"
            },
            {
              "record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "prev_hash": "5d4cd56d0aa011cb998f86fbed4a37a3f86c1fd0771173f488fc1ef3d47c121c",
              "record_phase": "post_execution",
              "signature": "IcrQqL7uqC_P5DXQxL40yNLebxARZDZFxPbY8g68do2_jXCo7oYZhJrsPLMuEIRrKawrpuZNILtQoj755-u5kg"
            },
            {
              "record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "prev_hash": "61912733e72496129427665a817c05d57a5f3a3d6961b6c95481f0a27c44e570",
              "record_phase": "post_execution",
              "signature": "9q4jG88ySFo_18QoPb0kQyxyTGoryCyWBwtFHE3ANwTIP9L_P36Mpms_kHqzS-qT91Ud364YXHG7ib_0YZraow"
            },
            {
              "record_id": "be072172-0d9f-4bf5-a665-a95db7cb0590",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "9bffc0e339c6c363b1089efe858874ae976052e4cf14b29d62a40a2022b73ddf",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "prev_hash": "2c528d0dce342e1a662709f093fdcfe4e0992c73ed98fc03290c5838296fc484",
              "record_phase": "post_execution",
              "signature": "8Mb5d-S9rwsP2fAAgL1FU_OM57yGmGr1DkS__PMTpbALDD271Tz7-ZOWf_zn0Gyz6UvnSlsC1eMNwVnctOV0Lw"
            }
          ],
          "integrity": {
            "terminalHash": "be1d83945a196171acc542c721cda8e33cab3a16cd415dd55fcc89661d32b6eb",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    },
    {
      "id": "signed-flipped-byte",
      "note": "One byte of the close record's signature flipped, key supplied. The chain is intact (nothing follows the close record); only the signatures check fails.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "signatures"
        ],
        "summaryStartsWith": "FAILED — signatures"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent",
              "signature": "hw2dDU89r_DdYO5bL1JJGF4wG9sF8UVtOEPhNrgxYdkp6nVopdaaU_K8OgRXIi17yDphJH4bH39t-musP01UFA"
            },
            {
              "record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "prev_hash": "6f51f1be4cca1cedf3606c962cb9e86b15aa45fbb827188a1bbca0f19b8b7374",
              "record_phase": "pre_execution",
              "signature": "v8MOUcX__rw4WvwipyVS5clS8YQxJRowQAtle2hr7jumWRZLoUHhwhWQ1MIvSSLuv1ZLyW1kPUQF7a8vz_gP3Q"
            },
            {
              "record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "prev_hash": "5d4cd56d0aa011cb998f86fbed4a37a3f86c1fd0771173f488fc1ef3d47c121c",
              "record_phase": "post_execution",
              "signature": "IcrQqL7uqC_P5DXQxL40yNLebxARZDZFxPbY8g68do2_jXCo7oYZhJrsPLMuEIRrKawrpuZNILtQoj755-u5kg"
            },
            {
              "record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "prev_hash": "61912733e72496129427665a817c05d57a5f3a3d6961b6c95481f0a27c44e570",
              "record_phase": "post_execution",
              "signature": "9q4jG88ySFo_18QoPb0kQyxyTGoryCyWBwtFHE3ANwTIP9L_P36Mpms_kHqzS-qT91Ud364YXHG7ib_0YZraow"
            },
            {
              "record_id": "be072172-0d9f-4bf5-a665-a95db7cb0590",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "9bffc0e339c6c363b1089efe858874ae976052e4cf14b29d62a40a2022b73ddf",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "prev_hash": "2c528d0dce342e1a662709f093fdcfe4e0992c73ed98fc03290c5838296fc484",
              "record_phase": "post_execution",
              "signature": "8Mb5d-S9rwoP2fAAgL1FU_OM57yGmGr1DkS__PMTpbALDD271Tz7-ZOWf_zn0Gyz6UvnSlsC1eMNwVnctOV0Lw"
            }
          ],
          "integrity": {
            "terminalHash": "c0ae3453186f1a0c54b15e62ca7c20fc5867749ad0627255c9550956cb2a0b40",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        },
        "publicKey": {
          "kty": "EC",
          "x": "R4-9aIf3_o22T6otmYNo9dlGmONwxKhtDOG121not9s",
          "y": "I_4YvAaw8NzflE1iblSqidmcM-nDbphGjvVcXCpPta8",
          "crv": "P-256"
        }
      }
    },
    {
      "id": "signed-unreadable-key",
      "note": "The signed trail with a key the verifier cannot read. INCOMPLETE — an inability, not a finding.",
      "expect": {
        "verdict": "INCOMPLETE",
        "summaryStartsWith": "INCOMPLETE — the chain is intact, but the public key supplied could not be read"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent",
              "signature": "hw2dDU89r_DdYO5bL1JJGF4wG9sF8UVtOEPhNrgxYdkp6nVopdaaU_K8OgRXIi17yDphJH4bH39t-musP01UFA"
            },
            {
              "record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "ba7daec0-4f9b-41c8-b94d-75e9fd31275e",
              "prev_hash": "6f51f1be4cca1cedf3606c962cb9e86b15aa45fbb827188a1bbca0f19b8b7374",
              "record_phase": "pre_execution",
              "signature": "v8MOUcX__rw4WvwipyVS5clS8YQxJRowQAtle2hr7jumWRZLoUHhwhWQ1MIvSSLuv1ZLyW1kPUQF7a8vz_gP3Q"
            },
            {
              "record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "48a3f6ab-c7f9-459b-b630-49a47ff4cd24",
              "prev_hash": "5d4cd56d0aa011cb998f86fbed4a37a3f86c1fd0771173f488fc1ef3d47c121c",
              "record_phase": "post_execution",
              "signature": "IcrQqL7uqC_P5DXQxL40yNLebxARZDZFxPbY8g68do2_jXCo7oYZhJrsPLMuEIRrKawrpuZNILtQoj755-u5kg"
            },
            {
              "record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "b7c6cf68-c866-4a39-8c3e-dd666942be1b",
              "prev_hash": "61912733e72496129427665a817c05d57a5f3a3d6961b6c95481f0a27c44e570",
              "record_phase": "post_execution",
              "signature": "9q4jG88ySFo_18QoPb0kQyxyTGoryCyWBwtFHE3ANwTIP9L_P36Mpms_kHqzS-qT91Ud364YXHG7ib_0YZraow"
            },
            {
              "record_id": "be072172-0d9f-4bf5-a665-a95db7cb0590",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "66923305-7d06-49fc-8012-cffea29f1318",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "9bffc0e339c6c363b1089efe858874ae976052e4cf14b29d62a40a2022b73ddf",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L1",
              "parent_record_id": "cbf53203-14eb-464d-a723-2476653b3365",
              "prev_hash": "2c528d0dce342e1a662709f093fdcfe4e0992c73ed98fc03290c5838296fc484",
              "record_phase": "post_execution",
              "signature": "8Mb5d-S9rwsP2fAAgL1FU_OM57yGmGr1DkS__PMTpbALDD271Tz7-ZOWf_zn0Gyz6UvnSlsC1eMNwVnctOV0Lw"
            }
          ],
          "integrity": {
            "terminalHash": "be1d83945a196171acc542c721cda8e33cab3a16cd415dd55fcc89661d32b6eb",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        },
        "publicKey": "this is not a key"
      }
    },
    {
      "id": "large-integer-detail",
      "note": "Record 1 carries the integer 9007199254740993 (2^53 + 1) in its action_detail — the file says so literally. Under RFC 8785 a JSON number is an IEEE double, so it canonicalises as 9007199254740992 and the chain was computed on that. A verifier that hashes the exact integer computes a different prev_hash for record 2 and FAILS the chain; it is the verifier that is wrong. VERIFIED.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 5 records chain from genesis to a close record"
      },
      "input": {
        "document": {
          "schema": "txra.agenttrail.v1",
          "profile": "draft-sharif-agent-audit-trail-01",
          "records": [
            {
              "record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "timestamp": "2026-09-02T04:00:00.000Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_start",
                "recording_mode": "self",
                "trigger": "manual",
                "enabled_tools": [
                  "example.tool"
                ]
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": null,
              "prev_hash": null,
              "record_phase": "concurrent"
            },
            {
              "record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "timestamp": "2026-09-02T04:00:00.700Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_call",
              "action_detail": {
                "tool_name": "example.tool",
                "parameters_hash": "f528212a496dc7a0e9a57c129b561aa4609364d70f886c09d668e00797521eb5",
                "byte_budget": 9007199254740993
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "cc6ff739-4ce3-4435-9cfb-ccb50f72a2a0",
              "prev_hash": "22f9f82517f00916f04861551022f13803d33f9a8bdd7b94782d48d89bdb82ab",
              "record_phase": "pre_execution",
              "nonce": "bda16cd68916d79ffdb156c5f83cd6c2"
            },
            {
              "record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "timestamp": "2026-09-02T04:00:01.400Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "tool_response",
              "action_detail": {
                "tool_name": "example.tool",
                "response_hash": "a9f4b3d22a523fdada41c85c175425bcd15b32b4cd0f54d9433accd52d7195a1",
                "parent_call_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "280c3d3b-189f-4410-9cbc-6011ba3a3e8d",
              "prev_hash": "b78e42527069a64da227b5372154353fe115f4e1c87c0e14074fd83b2be060a1",
              "record_phase": "post_execution",
              "nonce": "3ca6fac265dad7d5754d93bf4f353bf6"
            },
            {
              "record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "timestamp": "2026-09-02T04:00:02.100Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "decision",
              "action_detail": {
                "decision_type": "generate"
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "d08f1b73-26cf-4746-ad12-0a9132e98b62",
              "prev_hash": "83f551d7869727678cd9c2245034486c818b81f0886695560a4c4b8bb9dc68fc",
              "record_phase": "post_execution",
              "nonce": "0c0f39e932d68f23c469ccad02f4b23f"
            },
            {
              "record_id": "ec65d6d7-1b6f-4a92-9155-88f4a0614283",
              "timestamp": "2026-09-02T04:00:02.800Z",
              "agent_id": "urn:example:agent",
              "agent_version": "1.0.0",
              "session_id": "b4b5f886-de24-4b0c-ab95-83c42e08070c",
              "action_type": "lifecycle",
              "action_detail": {
                "event": "session_end",
                "session_hash": "c4cd41eb992a98f056fb0c4ad141a3ad387ce8febcf665d3bf8f01d95d682419",
                "record_count": 5,
                "duration_ms": 2800
              },
              "outcome": "success",
              "trust_level": "L0",
              "parent_record_id": "80b494c4-3ed8-4450-a653-c0cbcfdf15ce",
              "prev_hash": "319cafebeea0f80ab8fb92c0453ac12ddff49f7b7ed8978bf71d9e7c7843a649",
              "record_phase": "post_execution"
            }
          ],
          "integrity": {
            "terminalHash": "747f178e3c3197e1f8a5b9810fe5a70d6bee7184ae00526c4636d16ec2ecc55f",
            "recordCount": 5
          },
          "issuer": {
            "platform": "Seal1618 conformance vectors",
            "recordedBy": "a synthetic agent — every value invented",
            "generatedAt": "2026-09-02T04:00:10.000Z"
          }
        }
      }
    }
  ]
}
