{
  "boundary": {
    "basedOnBase": true,
    "reasonCodes": [],
    "resultingChangedPaths": [
      "test/payment-succeeded.test.mjs"
    ],
    "selectedPathsMatchHead": true,
    "unchangedPathsMatchBase": true,
    "valid": true
  },
  "command": {
    "arguments": [
      "--test",
      "--test-reporter=tap",
      "test/payment-succeeded.test.mjs"
    ],
    "environmentKeys": [
      "GIT_CONFIG_GLOBAL",
      "GIT_CONFIG_NOSYSTEM",
      "LANG",
      "LC_ALL",
      "PATH"
    ],
    "executable": "node",
    "maxStderrBytes": 65536,
    "maxStdoutBytes": 65536,
    "timeoutMs": 10000,
    "workingDirectory": "."
  },
  "envelope": {
    "baseBlobIds": {
      "src/handle-payment.mjs": "9f69a709d468159e29f10ac8d6ab8544f3291da8",
      "test/payment-succeeded.test.mjs": "9d5c50153d84d68708c3079ba3f55855b7e5ffa5"
    },
    "baseModes": {
      "src/handle-payment.mjs": "100644",
      "test/payment-succeeded.test.mjs": "100644"
    },
    "excludedChangedPaths": [
      "src/handle-payment.mjs"
    ],
    "headBlobIds": {
      "src/handle-payment.mjs": "66fc4b9ade0ec15b93d834cd1dbc45af7ad8f836",
      "test/payment-succeeded.test.mjs": "08365f291672616c74d0b47a23329ecd2b42838d"
    },
    "headChangedPaths": [
      "src/handle-payment.mjs",
      "test/payment-succeeded.test.mjs"
    ],
    "headModes": {
      "src/handle-payment.mjs": "100644",
      "test/payment-succeeded.test.mjs": "100644"
    },
    "includedPaths": [
      "test/payment-succeeded.test.mjs"
    ],
    "materializedPaths": [
      "test/payment-succeeded.test.mjs"
    ],
    "requestedIncludedPaths": [
      "test/payment-succeeded.test.mjs"
    ],
    "resultingChangedPaths": [
      "test/payment-succeeded.test.mjs"
    ],
    "stateCBlobIds": {
      "src/handle-payment.mjs": "9f69a709d468159e29f10ac8d6ab8544f3291da8",
      "test/payment-succeeded.test.mjs": "08365f291672616c74d0b47a23329ecd2b42838d"
    },
    "stateCModes": {
      "src/handle-payment.mjs": "100644",
      "test/payment-succeeded.test.mjs": "100644"
    }
  },
  "expectationProvenance": null,
  "limitations": [
    "Only explicitly selected paths were evaluated.",
    "The result does not prove implementation correctness.",
    "Worktrees provide state isolation but not a security sandbox.",
    "Trusted local repository code was executed.",
    "Dependencies were not discovered automatically.",
    "Relevant tests were not discovered automatically."
  ],
  "reasons": [
    "The selected head test failed at the expected assertion against the exact base implementation."
  ],
  "repository": {
    "baseCommitId": "0dfbbd8706714556d5a1d56a4846f2644f5f437a",
    "baseRef": "0dfbbd8706714556d5a1d56a4846f2644f5f437a",
    "changedPaths": [
      "src/handle-payment.mjs",
      "test/payment-succeeded.test.mjs"
    ],
    "headCommitId": "7a07403cbdc86b15b21d63bbe59e074b48c2dd34",
    "headRef": "7a07403cbdc86b15b21d63bbe59e074b48c2dd34"
  },
  "schemaVersion": "0.1",
  "states": {
    "stateA": {
      "assertionObserved": false,
      "commitId": "0dfbbd8706714556d5a1d56a4846f2644f5f437a",
      "execution": {
        "durationMs": 55,
        "exitCode": 0,
        "processErrorCode": null,
        "signal": null,
        "stderrTruncated": false,
        "stdoutTruncated": false,
        "timedOut": false
      },
      "failedSubtests": [],
      "framework": "node:test",
      "invalidFailure": false,
      "outcome": "PASS",
      "reasonCode": "NODE_TEST_PASS",
      "summary": {
        "cancelled": 0,
        "fail": 0,
        "pass": 1,
        "skipped": 0,
        "tests": 1,
        "todo": 0
      },
      "tapVersionPresent": true,
      "testDiscovered": true,
      "testExecuted": true
    },
    "stateB": {
      "assertionObserved": false,
      "commitId": "7a07403cbdc86b15b21d63bbe59e074b48c2dd34",
      "execution": {
        "durationMs": 52,
        "exitCode": 0,
        "processErrorCode": null,
        "signal": null,
        "stderrTruncated": false,
        "stdoutTruncated": false,
        "timedOut": false
      },
      "failedSubtests": [],
      "framework": "node:test",
      "invalidFailure": false,
      "outcome": "PASS",
      "reasonCode": "NODE_TEST_PASS",
      "summary": {
        "cancelled": 0,
        "fail": 0,
        "pass": 2,
        "skipped": 0,
        "tests": 2,
        "todo": 0
      },
      "tapVersionPresent": true,
      "testDiscovered": true,
      "testExecuted": true
    },
    "stateC": {
      "assertionObserved": true,
      "commitId": "0dfbbd8706714556d5a1d56a4846f2644f5f437a",
      "execution": {
        "durationMs": 55,
        "exitCode": 1,
        "processErrorCode": null,
        "signal": null,
        "stderrTruncated": false,
        "stdoutTruncated": false,
        "timedOut": false
      },
      "failedSubtests": [
        "creates exactly one order across duplicate payment deliveries"
      ],
      "framework": "node:test",
      "invalidFailure": false,
      "outcome": "TEST_ASSERTION_FAILURE",
      "reasonCode": "EXPECTED_ASSERTION_FAILURE_OBSERVED",
      "summary": {
        "cancelled": 0,
        "fail": 1,
        "pass": 1,
        "skipped": 0,
        "tests": 2,
        "todo": 0
      },
      "tapVersionPresent": true,
      "testDiscovered": true,
      "testExecuted": true
    }
  },
  "timing": {
    "durationMs": 272,
    "startedAt": "2026-12-01T23:38:44.974Z"
  },
  "toolVersion": "0.1.0-beta.2",
  "verdict": "OBSERVED_TEST_DISCRIMINATION",
  "warnings": [],
  "workspace": {
    "cleanupCompleted": true,
    "cleanupFailureCodes": [],
    "ownershipValidated": true,
    "resourcesNotRemoved": 0,
    "resourcesRegistered": 3,
    "workspaceRemoved": true,
    "worktreesCreated": 3,
    "worktreesRemoved": 3
  }
}
