{
  "proof": {
    "schemaVersion": "agenttx.proof.v1",
    "agenttxVersion": "0.3.0",
    "producer": {
      "repository": "https://github.com/aliengineering-byte/agenttx",
      "capability": "proof-carrying-repository-transaction"
    },
    "repository": {
      "source": null,
      "baseCommit": "a0b834aedc88d243254ea503daf23f9a20c2368f",
      "beforeStateSha256": "37e3667dbff69c73d80aba4bc898ab751c0c6f13c215588e40aeda265c17b39c",
      "afterStateSha256": "692b50db27cfb588dad549e95ceb6ebccf44bb42b24f69da5b182e8fdf1a6545"
    },
    "transaction": {
      "id": "atx_20261019_131300_f1a5",
      "state": "ROLLED_BACK",
      "accepted": false,
      "verdict": "ROLLED_BACK",
      "reason": "A required validator failed; the claimed success was rejected.",
      "commitApplied": false,
      "rollbackCompleted": true,
      "unrelatedWorkspacePreserved": true
    },
    "execution": {
      "command": {
        "command": "/opt/hostedtoolcache/node/24.21.0/x64/bin/node",
        "args": [
          "scripts/bad-agent.mjs"
        ]
      },
      "exitCode": 0,
      "signal": null,
      "terminationReason": "exit",
      "startedAt": "2026-10-19T13:13:00.597Z",
      "completedAt": "2026-10-19T13:13:00.650Z",
      "durationMs": 53,
      "shell": false,
      "externalSideEffectsAuthorized": false,
      "output": {
        "stdoutBytes": 0,
        "stderrBytes": 0,
        "stdoutSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "truncated": false,
        "preview": []
      }
    },
    "bounds": {
      "timeoutMs": 120000,
      "maxOutputBytes": 1048576,
      "maxEvidenceBytes": 16777216,
      "maxNesting": 1
    },
    "changes": {
      "filesChanged": 1,
      "additions": 3,
      "deletions": 7,
      "binaryFiles": 0,
      "pathsIncluded": true,
      "files": [
        {
          "path": "test/total.test.js",
          "kind": "modified"
        }
      ]
    },
    "validators": [
      {
        "id": "required-1",
        "command": "/opt/hostedtoolcache/node/24.21.0/x64/bin/node",
        "args": [
          "scripts/test-policy.mjs"
        ],
        "source": "AgentTX proof configuration",
        "status": "failed",
        "exitCode": 1,
        "durationMs": 22,
        "required": true
      },
      {
        "id": "required-2",
        "command": "/opt/hostedtoolcache/node/24.21.0/x64/bin/node",
        "args": [
          "--test"
        ],
        "source": "AgentTX proof configuration",
        "status": "failed",
        "exitCode": 1,
        "durationMs": 73,
        "required": true
      }
    ],
    "relatedEvidence": [],
    "claims": {
      "commandSucceeded": true,
      "requiredValidatorsPassed": false,
      "requiredEvidenceVerified": true,
      "derivedVerdict": true
    },
    "timestamps": {
      "startedAt": "2026-10-19T13:13:00.597Z",
      "completedAt": "2026-10-19T13:13:00.784Z"
    },
    "privacy": {
      "mode": "paths",
      "environmentCaptured": false,
      "promptsCaptured": false,
      "secrets": "redacted"
    },
    "reproduction": {
      "argv": [
        "/opt/hostedtoolcache/node/24.21.0/x64/bin/node",
        "scripts/bad-agent.mjs"
      ],
      "workingDirectory": "repository-root",
      "note": "Arguments containing recognized credentials are redacted and must be supplied again locally. External side effects are outside the rollback guarantee."
    },
    "verificationCommand": "agenttx verify-proof proof.json",
    "limitations": [
      "AgentTX isolates Git-visible repository changes; it is not an operating-system sandbox.",
      "Remote pushes, messages, API calls, database writes, and other external side effects cannot be rolled back by this receipt.",
      "Ignored files and unrelated external state are outside the recorded workspace-state digest.",
      "The receipt provides unsigned, recomputable integrity, not authentication of the producer."
    ]
  },
  "integrity": {
    "algorithm": "sha256",
    "canonicalization": "agenttx-canonical-json-v1",
    "scope": "proof",
    "authentication": "none",
    "digest": "cbc84325aa7989eaeabb6edff57fd8afd10cce2d32b1ea4b845afbdea66cfcc7"
  }
}
