{
  "scenario": "Cleanup removes an idle worktree with a published tag-only submodule release",
  "failsOnBase": true,
  "passesOnHead": true,
  "couldNotRun": null,
  "baseSha": "1fe416ae40412978b1d834a981127f61899d043b",
  "headSha": "bbeded9e5d77ab3740d8ccfdda999d14ebafd1f0",
  "verdict": "Proven: the scenario fails on base `1fe416ae40` and passes on head `bbeded9e5d`.",
  "steps": {
    "base": [
      {
        "step": "browser.addInitScript function",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /a3736ad3-0ad1-44c6-a62d-fba30b89f5c1/mcp:9e904fa5-b6ed-42ae-a42f-90cb72d1dd11",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"first fixture turn complete\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Control+k",
        "status": "passed"
      },
      {
        "step": "locator.fill getByPlaceholder(\"Search commands, projects, and threads...\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByText(\"Restart agent session\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Agent session will restart\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Last run\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Inactive for 0 of 1 days\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/Submodule has commits not on a remote-tracking ref|Inactive for 2 days/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.evaluate ",
        "status": "passed"
      },
      {
        "step": "app.screenshot cleanup-result",
        "status": "passed"
      }
    ],
    "head": [
      {
        "step": "browser.addInitScript function",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /257ab8e3-500e-43ee-9147-bf6ca2850fb6/mcp:fe46b13e-6482-4bde-b437-9322dc5f239c",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"first fixture turn complete\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Control+k",
        "status": "passed"
      },
      {
        "step": "locator.fill getByPlaceholder(\"Search commands, projects, and threads...\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByText(\"Restart agent session\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Agent session will restart\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Last run\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Inactive for 0 of 1 days\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/Submodule has commits not on a remote-tracking ref|Inactive for 2 days/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.evaluate ",
        "status": "passed"
      },
      {
        "step": "app.screenshot cleanup-result",
        "status": "passed"
      }
    ]
  },
  "captures": [
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/26f17ddf46b5d71a/001-cleanup-result.png",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f45eda2d47040b4a/001-cleanup-result.png",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/de526b001dab7c52/before-delete-now.mp4",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/23e37c6737532011/after-delete-now.mp4"
  ],
  "videos": [
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/de526b001dab7c52/before-delete-now.mp4",
    "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/23e37c6737532011/after-delete-now.mp4"
  ],
  "markdown": "Steps: Create a project with a clean initialized submodule pinned to v0.9.1-ea2, whose matching upstream tag points to a commit in no remote branch. Publish the parent repository, create a worktree thread, and run a replay turn. Close its provider session through Restart agent session. Enable one-day inactive-worktree cleanup, confirm it is initially too young, advance only the server wall clock by two days, then click Settings > Maintenance > Delete now and expand Last run. Check the report and whether the worktree directory still exists.\n\nEnvironment on both sides: real web client and server, Chromium, 1280\u00d7800, light theme; fresh isolated app state and local synthetic Git remotes. Filesystem paths are redacted.\n\n### Scenario: Cleanup removes an idle worktree with a published tag-only submodule release\n\n**Proven: the scenario fails on base [1fe416ae40](https://github.com/pingdotgg/t3code/commit/1fe416ae40412978b1d834a981127f61899d043b) and passes on head [bbeded9e5d](https://github.com/pingdotgg/t3code/commit/bbeded9e5d77ab3740d8ccfdda999d14ebafd1f0).**\n\n|  | Base [1fe416ae40](https://github.com/pingdotgg/t3code/commit/1fe416ae40412978b1d834a981127f61899d043b) | Head [bbeded9e5d](https://github.com/pingdotgg/t3code/commit/bbeded9e5d77ab3740d8ccfdda999d14ebafd1f0) |\n| --- | --- | --- |\n| Result | \u274c failed<br>ASSERTION_FAILED: expect.poll(...).toBe(...) timed out after 15000 ms<br>last: expected true to be false | \u2705 passed |\n| cleanup result | ![Base 1fe416ae40: cleanup result](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/26f17ddf46b5d71a/001-cleanup-result.png) | ![Head bbeded9e5d: cleanup result](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f45eda2d47040b4a/001-cleanup-result.png) |\n| failure | ![Base 1fe416ae40: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/00ecb792b0e7c87f/002-failure.png) |  |\n| Delete now recording | [Before video](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/de526b001dab7c52/before-delete-now.mp4) | [After video](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/23e37c6737532011/after-delete-now.mp4) |\n\n[Scenario](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f892310ac6618183/cleanup-published-submodule-tag.e2e.ts) \u00b7 [Clock fixture](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/7b5ae47760969214/clock.mjs) \u00b7 [Run command](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/4a3c6ddc29c19384/reproduce.sh). Videos omit setup and pairing; the after clip holds its final frame.\n",
  "base": {
    "sha": "1fe416ae40412978b1d834a981127f61899d043b",
    "status": "failed",
    "title": "Cleanup removes an idle worktree with a published tag-only submodule release",
    "message": "ASSERTION_FAILED: expect.poll(...).toBe(...) timed out after 15000 ms\nlast: expected true to be false",
    "steps": [
      {
        "step": "browser.addInitScript function",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /a3736ad3-0ad1-44c6-a62d-fba30b89f5c1/mcp:9e904fa5-b6ed-42ae-a42f-90cb72d1dd11",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"first fixture turn complete\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Control+k",
        "status": "passed"
      },
      {
        "step": "locator.fill getByPlaceholder(\"Search commands, projects, and threads...\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByText(\"Restart agent session\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Agent session will restart\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Last run\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Inactive for 0 of 1 days\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/Submodule has commits not on a remote-tracking ref|Inactive for 2 days/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.evaluate ",
        "status": "passed"
      },
      {
        "step": "app.screenshot cleanup-result",
        "status": "passed"
      }
    ],
    "captures": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/26f17ddf46b5d71a/001-cleanup-result.png",
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/de526b001dab7c52/before-delete-now.mp4"
    ],
    "videos": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/de526b001dab7c52/before-delete-now.mp4"
    ]
  },
  "head": {
    "sha": "bbeded9e5d77ab3740d8ccfdda999d14ebafd1f0",
    "status": "passed",
    "title": "Cleanup removes an idle worktree with a published tag-only submodule release",
    "steps": [
      {
        "step": "browser.addInitScript function",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /257ab8e3-500e-43ee-9147-bf6ca2850fb6/mcp:fe46b13e-6482-4bde-b437-9322dc5f239c",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"first fixture turn complete\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.keyboard.press Control+k",
        "status": "passed"
      },
      {
        "step": "locator.fill getByPlaceholder(\"Search commands, projects, and threads...\")",
        "status": "passed"
      },
      {
        "step": "locator.tap getByText(\"Restart agent session\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Agent session will restart\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "app.open <pairing link>",
        "status": "passed"
      },
      {
        "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/",
        "status": "passed"
      },
      {
        "step": "app.open /settings/maintenance",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Last run\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(\"Inactive for 0 of 1 days\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.tap getByRole(\"button\", name: \"Delete now\")",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByRole(\"button\", name: \"Delete now\") \u2192 visible",
        "status": "passed"
      },
      {
        "step": "locator.waitFor getByText(/Submodule has commits not on a remote-tracking ref|Inactive for 2 days/) \u2192 visible",
        "status": "passed"
      },
      {
        "step": "browser.evaluate ",
        "status": "passed"
      },
      {
        "step": "app.screenshot cleanup-result",
        "status": "passed"
      }
    ],
    "captures": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f45eda2d47040b4a/001-cleanup-result.png",
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/23e37c6737532011/after-delete-now.mp4"
    ],
    "videos": [
      "https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/23e37c6737532011/after-delete-now.mp4"
    ]
  }
}