{
  "scenario": "A delegated child resumed after Stop wakes its parent",
  "failsOnBase": true,
  "passesOnHead": true,
  "couldNotRun": null,
  "baseSha": "a8bbc2b241d9b0f059ca6288079ed30a5d37dc86",
  "headSha": "85a04cc60f32495aa6b7a56d1f516ac5460314d3",
  "verdict": "Proven: the scenario fails on base `a8bbc2b241` and passes on head `85a04cc60f`.",
  "steps": {
    "base": [
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Working on the delegated task.\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/thread:delegated-task:e046ee7c-02e8-47f2-acc9-5d944f998c50",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-and-child-running",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Stop generation\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Run interrupted\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/thread:delegated-task:e046ee7c-02e8-47f2-acc9-5d944f998c50",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Resume thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot child-stopped",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Resume thread\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → hidden",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Resumed thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot resumed-child-completed",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Parent — stop and resume proof\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-after-child-completion",
        "status": "passed"
      }
    ],
    "head": [
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Working on the delegated task.\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/thread:delegated-task:a2c1499d-afc5-43c7-ab26-dab9e7add3c6",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-and-child-running",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Stop generation\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Run interrupted\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/thread:delegated-task:a2c1499d-afc5-43c7-ab26-dab9e7add3c6",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Resume thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot child-stopped",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Resume thread\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → hidden",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Resumed thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot resumed-child-completed",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Parent — stop and resume proof\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-after-child-completion",
        "status": "passed"
      }
    ]
  },
  "captures": [
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/240c8fbacb853a87/003-resumed-child-completed.png",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ab78572287ebd0bd/004-parent-after-child-completion.png",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0610a10d52dd1974/003-resumed-child-completed.png",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6a75c8489ab3f7cc/004-parent-after-child-completion.png"
  ],
  "videos": [
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6f86ef84a6ede2a9/video.webm",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/862752b76da98fd7/video.webm"
  ],
  "markdown": "Environment: Linux Chromium, 1280×800, light theme, fresh database per commit. Real Claude/Haiku child; controlled Replay parent. Projects, threads and delegation created through the real app APIs.\n\nSteps: start a delegated child running a 150-second foreground Python sleep; wait for its command to run; click Stop on the parent; open the child and click Resume thread; wait for child completion; reopen the parent and observe whether a new parent turn completes within 30 seconds. Same driver and prompts on both commits.\n\n### Scenario: A delegated child resumed after Stop wakes its parent\n\n**Proven: the scenario fails on base [a8bbc2b241](https://github.com/pingdotgg/t3code/commit/a8bbc2b241d9b0f059ca6288079ed30a5d37dc86) and passes on head [85a04cc60f](https://github.com/pingdotgg/t3code/commit/85a04cc60f32495aa6b7a56d1f516ac5460314d3).**\n\n|  | Base [a8bbc2b241](https://github.com/pingdotgg/t3code/commit/a8bbc2b241d9b0f059ca6288079ed30a5d37dc86) | Head [85a04cc60f](https://github.com/pingdotgg/t3code/commit/85a04cc60f32495aa6b7a56d1f516ac5460314d3) |\n| --- | --- | --- |\n| Result | ❌ failed<br>ASSERTION_FAILED: expect.poll(...).toBe(...) timed out after 30000 ms<br>last: expected false to be true | ✅ passed |\n| resumed child completed | ![Base a8bbc2b241: resumed child completed](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/240c8fbacb853a87/003-resumed-child-completed.png) | ![Head 85a04cc60f: resumed child completed](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0610a10d52dd1974/003-resumed-child-completed.png) |\n| parent after child completion | ![Base a8bbc2b241: parent after child completion](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ab78572287ebd0bd/004-parent-after-child-completion.png) | ![Head 85a04cc60f: parent after child completion](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6a75c8489ab3f7cc/004-parent-after-child-completion.png) |\n\n[Before recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6f86ef84a6ede2a9/video.webm) · [After recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/862752b76da98fd7/video.webm)\n\n[Scenario driver](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/5379ffc9f8b82148/resumed-delegate-wakes-parent.e2e.ts) · [Before runtime summary](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/73645a1a0b11ed1d/runtime-1795699076522.json) · [After runtime summary](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/19f1c366e58379f0/runtime-1795699304505.json)\n\nBase: child run 2 completed, follow-up delivery disposed, no parent wake. Head: child run 2 completed, follow-up delivered, parent run 3 completed. Claude returned an interrupted-command note on base and CHILD_DONE on head; the assertion checks completion and waking, not reply wording.\n\nThe comparison wrapper exited 143; the head browser run continued and passed. These are the completed side reports and inspected real-app captures, paired with the runner helpers.\n",
  "base": {
    "sha": "a8bbc2b241d9b0f059ca6288079ed30a5d37dc86",
    "status": "failed",
    "title": "A delegated child resumed after Stop wakes its parent",
    "message": "ASSERTION_FAILED: expect.poll(...).toBe(...) timed out after 30000 ms\nlast: expected false to be true",
    "steps": [
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Working on the delegated task.\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/thread:delegated-task:e046ee7c-02e8-47f2-acc9-5d944f998c50",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-and-child-running",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Stop generation\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Run interrupted\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/thread:delegated-task:e046ee7c-02e8-47f2-acc9-5d944f998c50",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Resume thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot child-stopped",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Resume thread\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → hidden",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Resumed thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot resumed-child-completed",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /f462c528-fe16-4c9d-bf32-26d887c7a50b/mcp:86a2e54d-0716-446c-97d0-b50a916459fe",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Parent — stop and resume proof\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-after-child-completion",
        "status": "passed"
      }
    ],
    "captures": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/240c8fbacb853a87/003-resumed-child-completed.png",
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ab78572287ebd0bd/004-parent-after-child-completion.png"
    ],
    "videos": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6f86ef84a6ede2a9/video.webm"
    ]
  },
  "head": {
    "sha": "85a04cc60f32495aa6b7a56d1f516ac5460314d3",
    "status": "passed",
    "title": "A delegated child resumed after Stop wakes its parent",
    "steps": [
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Working on the delegated task.\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/thread:delegated-task:a2c1499d-afc5-43c7-ab26-dab9e7add3c6",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-and-child-running",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Stop generation\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Run interrupted\") → visible",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/thread:delegated-task:a2c1499d-afc5-43c7-ab26-dab9e7add3c6",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Resume thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot child-stopped",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Resume thread\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Stop generation\") → hidden",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Resumed thread\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot resumed-child-completed",
        "status": "passed"
      },
      {
        "step": "browser.setCookies ",
        "status": "passed"
      },
      {
        "step": "app.open /9b62cc8f-ec00-4987-8110-5acc8dafb8d4/mcp:9c663deb-0c20-4e8d-ae18-df05bd7beae2",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"heading\", name: \"Parent — stop and resume proof\") → visible",
        "status": "passed"
      },
      {
        "step": "app.screenshot parent-after-child-completion",
        "status": "passed"
      }
    ],
    "captures": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0610a10d52dd1974/003-resumed-child-completed.png",
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/6a75c8489ab3f7cc/004-parent-after-child-completion.png"
    ],
    "videos": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/862752b76da98fd7/video.webm"
    ]
  },
  "runnerExitCode": 143,
  "assembly": "Paired completed browser reports using the runner readSide/buildProof helpers after the wrapper exited 143; head browser execution continued and passed."
}