{
  "target": "https://github.com/pingdotgg/t3code/pull/21239",
  "base": "f0fb0e8525fca72f0259c7b44a2b15aafde52a31",
  "head": "9b3d4c1e52aae45cab887c2e13585196eba782fd",
  "proofKind": "Headless Linux integration using real orchestrator, EventSink and SQLite; no live external provider or UI",
  "before": {
    "mainRuntimeCases": 86,
    "initialRegressionRun": {
      "passed": 90,
      "failed": 8,
      "total": 98
    },
    "reviewRegressionRun": {
      "passed": 98,
      "failed": 3,
      "total": 101
    }
  },
  "after": {
    "runtimeCases": 101,
    "relatedCases": 58,
    "parentIntegrated": {
      "numTotalTests": 159,
      "numPassedTests": 159,
      "numFailedTests": 0,
      "success": true
    }
  },
  "behaviorAssertions": [
    "Unwatch, unlink, replacement generation, merged/closed snapshot and changed head cancel queued wakes and advance queued user work.",
    "Cancelled run, attempt and node are terminal; message remains once and no provider turn item is created.",
    "Final notices deliver for the retained ended generation; final notice unlink/relink is cancelled.",
    "An old closed observation before a restarted watch does not drop new notifications in idle or queued paths.",
    "Current terminal snapshots block idle open wakes before message or run admission.",
    "Valid, final and legacy unstamped notices retain delivery."
  ],
  "checks": {
    "serverTypecheck": "passed",
    "contractsTypecheck": "passed",
    "lint": "passed; two existing warnings on unchanged lines",
    "formatAndWhitespace": "passed"
  },
  "commands": [
    "export PATH=\"$HOME/.local/bin:$PATH\"",
    "nice -n 10 env RAYON_NUM_THREADS=2 node_modules/.bin/vp test run apps/server/src/orchestration-v2/runtimeLayer.test.ts apps/server/src/orchestration-v2/pullRequestWatch.test.ts apps/server/src/orchestration-v2/pullRequestWatch.forgejoComments.test.ts packages/contracts/src/orchestrationV2.test.ts --maxWorkers=2",
    "nice -n 10 env RAYON_NUM_THREADS=2 node_modules/.bin/vp run --filter t3 typecheck",
    "nice -n 10 env RAYON_NUM_THREADS=2 node_modules/.bin/vp run --filter @t3tools/contracts typecheck"
  ],
  "limits": [
    "No real host polling or external provider execution.",
    "No physical restart or UI verification.",
    "No macOS, Windows, Electron, iOS or Android runtime pass.",
    "CI must be checked on the published current head."
  ],
  "mainIntegration": {
    "reason": "Merge main to incorporate its upstream web test typecheck repair",
    "reviewedPatchId": "4fd01e99f34b82f4b13e3e4957d4f878d9646b40",
    "currentPatchId": "4fd01e99f34b82f4b13e3e4957d4f878d9646b40",
    "conflicts": false,
    "focusedTestsAndScopedTypechecksRerun": "159/159, server/contracts typechecks and targeted lint passed on merged head"
  }
}
