# P1 positive-PR-overlap

Evidence for [#33263](https://git.cafe/pingdotgg/t3code/pull/33263). Both real hosted lookups publish the open PR. Before: a later null erases the PR/upstream/default-ahead data; final passive snapshot is null. After: final passive snapshot retains the open PR, upstream true, ahead 0/behind 0/default-ahead 1.

This reuses R6 ordering with a read-only shallow public checkout tracking fix/issue-33256. The real PR is [#33263](https://github.com/pingdotgg/t3code/pull/33263). No linked-thread PR fallback, push, PR creation, comment, or paid provider is involved. The actual web toolbar was not exercised.

AI-assisted; verified with the tests and tools listed above.

| Before | After |
|---|---|
| [4c361199f4](https://git.cafe/pingdotgg/t3code/commit/4c361199f47f6ea32a2c14835df392640d0f7c63) | [456327574c](https://git.cafe/pingdotgg/t3code/commit/456327574c52ad1c7624083bb97eaf382edd1732) |
| [Full timestamped log](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/631337208fcd6041/P1-before.log) | [Full timestamped log](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0514b36b8f8e5059/P1-after.log) |

Before environment: Linux 6.8.0-117-generic x64; Node v26.12.1; `T3CODE_DEV_SEED=0 node apps/server/src/bin.ts serve --host 127.0.0.1 --port 40297 --base-dir /tmp/lead-33263-r1/evidence-capture/2026-11-10T07-15-37.599Z-before-P1/t3 --no-browser --log-level warn --dev-url http://127.0.0.1:40297`; settings: `automaticGitFetchInterval=30 seconds`. Fresh explicit base dir; Replay provisioned by `--dev-url`; forwarding git wrapper first on PATH. No dev runner or live-data seeding.

After environment: Linux 6.8.0-117-generic x64; Node v26.12.1; `T3CODE_DEV_SEED=0 node apps/server/src/bin.ts serve --host 127.0.0.1 --port 44091 --base-dir /tmp/lead-33263-r1/evidence-capture/2026-11-10T07-14-42.926Z-after-P1/t3 --no-browser --log-level warn --dev-url http://127.0.0.1:44091`; settings: `automaticGitFetchInterval=30 seconds`. Fresh explicit base dir; Replay provisioned by `--dev-url`; forwarding git wrapper first on PATH. No dev runner or live-data seeding.

The recordings below preserve action/event order independently in each column. Rows align by event ordinal, not wall-clock synchronization. Full payloads, command traces, and server completion spans are in the linked logs. Bounded windows establish only the recorded absence of an update, not a full 30-second delay.

| Before recording | After recording |
|---|---|
| `2026-11-10T07:15:59.772Z +22172ms` SYNTHETIC_SEED {"facts":{"hosted":{"status":"## fix/issue-33256...origin/fix/issue-33256","head":"456327574c52ad1c7624083bb97eaf382edd1732","origin":"https://github.com/pingdotgg/t3code.git","divergence":"0\t0","note":"Read-only shallow public checkout. Local edit is synthetic. PR metadata comes from the actual source-control provider."}}} | `2026-11-10T07:15:05.534Z +22607ms` SYNTHETIC_SEED {"facts":{"hosted":{"status":"## fix/issue-33256...origin/fix/issue-33256","head":"456327574c52ad1c7624083bb97eaf382edd1732","origin":"https://github.com/pingdotgg/t3code.git","divergence":"0\t0","note":"Read-only shallow public checkout. Local edit is synthetic. PR metadata comes from the actual source-control provider."}}} |
| `2026-11-10T07:15:59.775Z +22175ms` SERVER_SPAWNED {"pid":293169} | `2026-11-10T07:15:05.540Z +22613ms` SERVER_SPAWNED {"pid":291878} |
| `2026-11-10T07:16:03.824Z +26224ms` RPC_SEND server.updateSettings automaticGitFetchInterval=30000ms | `2026-11-10T07:15:10.835Z +27908ms` RPC_SEND server.updateSettings automaticGitFetchInterval=30000ms |
| `2026-11-10T07:16:03.916Z +26316ms` RPC_RESULT server.updateSettings {"automaticGitFetchInterval":{"_id":"Duration","_tag":"Millis","millis":30000}} | `2026-11-10T07:15:11.020Z +28093ms` RPC_RESULT server.updateSettings {"automaticGitFetchInterval":{"_id":"Duration","_tag":"Millis","millis":30000}} |
| `2026-11-10T07:16:03.917Z +26317ms` SUBSCRIBE passive-1 includeRemote=False | `2026-11-10T07:15:11.021Z +28094ms` SUBSCRIBE passive-1 includeRemote=False |
| `2026-11-10T07:16:04.392Z +26792ms` VCS_EVENT passive-1 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":false} worktree={"insertions":0,"deletions":0,"files":[]} remote=null | `2026-11-10T07:15:11.823Z +28896ms` VCS_EVENT passive-1 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":false} worktree={"insertions":0,"deletions":0,"files":[]} remote=null |
| `2026-11-10T07:16:04.392Z +26792ms` SUBSCRIBE first-active-2 includeRemote=True | `2026-11-10T07:15:11.823Z +28896ms` SUBSCRIBE first-active-2 includeRemote=True |
| `2026-11-10T07:16:04.424Z +26824ms` VCS_EVENT first-active-2 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":false} worktree={"insertions":0,"deletions":0,"files":[]} remote=null | `2026-11-10T07:15:11.877Z +28950ms` VCS_EVENT first-active-2 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":false} worktree={"insertions":0,"deletions":0,"files":[]} remote=null |
| `2026-11-10T07:16:04.530Z +26930ms` GATE_READ_IN_FLIGHT {"args":["--git-dir","/tmp/lead-33263-r1/evidence-capture/2026-11-10T07-15-37.599Z-before-P1/workspace/demo/.git","fetch","--quiet","--no-tags","--no-auto-gc","--","origin"]} | `2026-11-10T07:15:12.024Z +29097ms` GATE_READ_IN_FLIGHT {"args":["--git-dir","/tmp/lead-33263-r1/evidence-capture/2026-11-10T07-14-42.926Z-after-P1/workspace/demo/.git","fetch","--quiet","--no-tags","--no-auto-gc","--","origin"]} |
| `2026-11-10T07:16:04.531Z +26931ms` EXTERNAL_EDIT {"file":"edit.txt"} | `2026-11-10T07:15:12.025Z +29098ms` EXTERNAL_EDIT {"file":"edit.txt"} |
| `2026-11-10T07:16:04.531Z +26931ms` RPC_SEND vcs.refreshStatus localOnly=True | `2026-11-10T07:15:12.025Z +29098ms` RPC_SEND vcs.refreshStatus localOnly=True |
| `2026-11-10T07:16:04.901Z +27302ms` VCS_EVENT passive-1 localUpdated {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} | `2026-11-10T07:15:12.640Z +29713ms` VCS_EVENT passive-1 localUpdated {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} |
| `2026-11-10T07:16:04.902Z +27302ms` LOCAL_UPDATE_CONFIRMED_BEFORE_GATE_RELEASE {} | `2026-11-10T07:15:12.641Z +29714ms` LOCAL_UPDATE_CONFIRMED_BEFORE_GATE_RELEASE {} |
| `2026-11-10T07:16:04.902Z +27302ms` GATE_RELEASE_REQUESTED {} | `2026-11-10T07:15:12.641Z +29714ms` GATE_RELEASE_REQUESTED {} |
| `2026-11-10T07:16:04.903Z +27303ms` GATE_RELEASE_WRITTEN {} | `2026-11-10T07:15:12.642Z +29715ms` GATE_RELEASE_WRITTEN {} |
| `2026-11-10T07:16:04.903Z +27303ms` VCS_EVENT first-active-2 localUpdated {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} | `2026-11-10T07:15:12.643Z +29716ms` VCS_EVENT first-active-2 localUpdated {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} |
| `2026-11-10T07:16:11.229Z +33629ms` VCS_EVENT passive-1 remoteUpdated remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main | `2026-11-10T07:15:12.645Z +29718ms` RPC_RESULT vcs.refreshStatus branch=fix/issue-33256 remote={"hasUpstream":false,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":0} pr=null |
| `2026-11-10T07:16:11.231Z +33631ms` VCS_EVENT first-active-2 remoteUpdated remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main | `2026-11-10T07:15:19.219Z +36292ms` VCS_EVENT passive-1 remoteUpdated remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main |
| `2026-11-10T07:16:11.233Z +33633ms` RPC_RESULT vcs.refreshStatus branch=fix/issue-33256 remote={"hasUpstream":false,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":0} pr=null | `2026-11-10T07:15:19.221Z +36294ms` VCS_EVENT first-active-2 remoteUpdated remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main |
| `2026-11-10T07:16:11.239Z +33639ms` VCS_EVENT passive-1 remoteUpdated remote=null | `2026-11-10T07:15:20.011Z +37084ms` REAL_SERVER_REMOTE_REFRESH_COMPLETED VcsStatusBroadcaster.refreshRemoteStatus exit=Success |
| `2026-11-10T07:16:11.240Z +33640ms` VCS_EVENT first-active-2 remoteUpdated remote=null | `2026-11-10T07:15:20.763Z +37836ms` OBSERVATION_WINDOW_CLOSED {"timeoutMs":750} |
| `2026-11-10T07:16:11.929Z +34329ms` REAL_SERVER_REMOTE_REFRESH_COMPLETED VcsStatusBroadcaster.refreshRemoteStatus exit=Success | `2026-11-10T07:15:20.764Z +37837ms` UNSUBSCRIBE first-active-2 |
| `2026-11-10T07:16:12.681Z +35081ms` OBSERVATION_WINDOW_CLOSED {"timeoutMs":750} | `2026-11-10T07:15:20.768Z +37841ms` UNSUBSCRIBED first-active-2 |
| `2026-11-10T07:16:12.682Z +35082ms` UNSUBSCRIBE first-active-2 | `2026-11-10T07:15:20.768Z +37841ms` SUBSCRIBE final-passive-3 includeRemote=False |
| `2026-11-10T07:16:12.684Z +35084ms` UNSUBSCRIBED first-active-2 | `2026-11-10T07:15:20.825Z +37898ms` VCS_EVENT final-passive-3 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main |
| `2026-11-10T07:16:12.684Z +35084ms` SUBSCRIBE final-passive-3 includeRemote=False | `2026-11-10T07:15:20.825Z +37898ms` UNSUBSCRIBE final-passive-3 |
| `2026-11-10T07:16:12.725Z +35125ms` VCS_EVENT final-passive-3 snapshot {"isRepo":true,"refName":"fix/issue-33256","isDefaultRef":false,"hasPrimaryRemote":true,"hasWorkingTreeChanges":true} worktree={"insertions":0,"deletions":0,"files":[{"path":"edit.txt","insertions":0,"deletions":0}]} remote=null | `2026-11-10T07:15:20.826Z +37899ms` UNSUBSCRIBED final-passive-3 |
| `2026-11-10T07:16:12.725Z +35125ms` UNSUBSCRIBE final-passive-3 | `2026-11-10T07:15:20.826Z +37899ms` UNSUBSCRIBE passive-1 |
| `2026-11-10T07:16:12.725Z +35125ms` UNSUBSCRIBED final-passive-3 | `2026-11-10T07:15:20.826Z +37899ms` UNSUBSCRIBED passive-1 |
| `2026-11-10T07:16:12.726Z +35126ms` UNSUBSCRIBE passive-1 | `2026-11-10T07:15:20.826Z +37899ms` ROW_COMPLETE {"row":"P1"} |
| `2026-11-10T07:16:12.726Z +35126ms` UNSUBSCRIBED passive-1 | `2026-11-10T07:15:21.027Z +38100ms` SERVER_STOPPED {"pid":291878,"exitCode":130,"signal":null} |
| `2026-11-10T07:16:12.726Z +35126ms` ROW_COMPLETE {"row":"P1"} |  |
| `2026-11-10T07:16:12.833Z +35233ms` SERVER_STOPPED {"pid":293169,"exitCode":130,"signal":null} |  |

Final before: remote=null

Final after: remote={"hasUpstream":true,"aheadCount":0,"behindCount":0,"aheadOfDefaultCount":1} pr=[#33263](https://github.com/pingdotgg/t3code/pull/33263) open fix/issue-33256 -> main
