Repository navigation
Closed
Closed
Copy link
Labels
bugSomething isn't working
Description
Problem
A Continuation of a bug issue whose Issue branch already holds the fix hands the issue back as needs-info, instead of finishing.
#1362 is the case.
- The first Ticket run committed and pushed the fix (
0bc80be5), then failed on a provider capacity error. - Its recovery Continuation,
thirdshift <issue URL> merge …, started a session whose prompt asks it to "usediagnosing-bugsto reproduce A model-at-capacity error fails a Trial instead of voiding it #1362 before changing production code, building on the commits already onissue-1362. If reproduction fails, hand backneeds-info". - The session ran the fix's own regression tests on the branch, and they passed. The bug therefore "could not be reproduced". The session posted Triage Notes asking for evidence of the failure in a build containing
0bc80be5, and swapped the label toneeds-info. - So the finished fix got no review and no PR, and the issue is now parked as
needs-info.
Reproducing a bug on a branch that already fixes it can't succeed. Reproduction belongs at the Base branch, or at the branch's merge base with it.
Second problem in the same Run: the Claim was lost
- 08:40:38: the Continuation labelled A model-at-capacity error fails a Trial instead of voiding it #1362
in-progress, in place ofready-for-agent. - 08:41:26: something removed
in-progressand restoredready-for-agent, through the operator's token. Nothing in the Continuation's command log or session trace shows that edit. - 08:46: a Pickup pass on the same host took A model-at-capacity error fails a Trial instead of voiding it #1362 as Ready and failed at
git worktree add, because the Continuation's worktree was there. It left the checkout alone, so no work was lost. - A Claim that disappears mid-Run lets a second Run start on the same issue.
What to build
- Continuations. When an Issue branch already has commits beyond the Base branch, a bug Ticket run's reproduction step reproduces at the merge base (or the Base branch) and checks the fix on the branch. It hands back
needs-infoonly when the bug doesn't reproduce at the base either. Otherwise it continues to review, the PR and merge. - Claims. Find what restored
ready-for-agenton A model-at-capacity error fails a Trial instead of voiding it #1362 at 08:41:26 EDT on 2026-10-26, and make sure nothing removes a live Claim while its Run is running. The evidence is in~/.thirdshift/logs/JacobStephens2/thirdshift/commands/issue/1362-20261026T084033-0400~OTgh4MOGFKHJDxFL*and in the issue's timeline.
Acceptance criteria
- A fake Continuation of a bug issue whose branch fixes the bug reproduces at the merge base, sees the branch's fix pass, and goes on to review and the PR. It doesn't hand back
needs-info. - A bug that doesn't reproduce at the base still hands back
needs-info, as today. - The cause of the 08:41:26 label change is identified in the PR, and a test shows a running Run's Claim survives whatever caused it.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
JacobStephens2 commentedon Oct 26, 2026
Triage Notes
What we've established so far:
8fcee47conissue-1373, using the supplied issue file and the diagnosis skill. The Continuation problem and the unexplained live Claim loss have different evidence limits.behavior.txt = brokenonmainandbehavior.txt = fixedonissue-7. Its scripted agent mirrored A model-at-capacity error fails a Trial instead of voiding it #1362's probe of the already-fixed checkout. Runningcargo test --test bug_run a_continuation_reproduces_at_its_baseline_and_delivers_the_existing_fix -- --exact --nocapturecompiled successfully and then failed with exit 101: expectedhttps://github.com/acme/widgets/pull/1, receivedhttps://github.com/acme/widgets/issues/7#issuecomment-42. This exercises the incorrect handoff path; it does not reproduce the cause of the separate live Claim removal.gh api --paginate repos/JacobStephens2/thirdshift/issues/1362/events, selecting label events only. Events34258750110and34258750215confirm removal ofin-progressand application ofready-for-agentat 2026-10-26 12:41:26 UTC / 08:41:26 EDT. Both nameJacobStephens2; both haveperformed_via_github_app: null. Those fields do not identify the browser, command, process, or token client that sent the edit.1362-20261026T084033-0400~OTgh4MOGFKHJDxFLCommand log and Session trace show the Claim being made at 08:40:38, read-only work around 08:41:26, and the Session continuing until 08:47:55. No Claim release or label-edit command appears at the disputed time. The later Pickup log confirms another Claim at 08:46:15 and failure against the occupied worktree.What we still need from you (@JacobStephens2):
JacobStephens2 commentedon Oct 26, 2026
Agent Brief
Category: bug
Summary: When a bug Continuation's Issue branch already has commits beyond the Base branch, reproduce the bug at the branch's merge base with the Base branch, not on the branch itself, so a fix that's already pushed goes on to review and a PR instead of coming back as
needs-info.Scope change: This issue now covers only the first half, Continuations. The lost Claim at 08:41:26 EDT turned out to be a manual relabel by the operator, part of a cleanup that also touched #1363 and #1365. No thirdshift code removed it. Whether a Run should notice a lost Claim is now tracked in #1376. Drop the original acceptance criterion about the cause of the 08:41:26 change.
Current behavior:
A bug Ticket run starts with the
thirdshift-diagnosing-bugsskill, which must reproduce the bug before production code changes. If it can't, the run ends withBug not reproduced: <comment URL>, posts Triage Notes and swaps the label toneeds-info. In a Continuation, the session runs in a worktree of the existing Issue branch. When an earlier Run already committed and pushed the fix there, as in #1362 (0bc80be5), the fix's own tests pass on the branch. The session reports "not reproduced", and the finished fix gets no review and no PR.The earlier Pickup run on this issue reproduced the defect with a temporary fake:
behavior.txt = brokenonmainandfixedonissue-7, with a scripted agent that probes the checkout as #1362's session did. It expected the PR URLhttps://github.com/acme/widgets/pull/1but got the triage comment URLhttps://github.com/acme/widgets/issues/7#issuecomment-42.Desired behavior:
needs-info), as today.thirdshift-diagnosing-bugsand the bug diagnosis prompt (diagnosing_bugs, and the Continuation facts it keeps) say where to reproduce.Key interfaces:
thirdshift-diagnosing-bugsFactory skill: its reproduction step names the merge base as the place to reproduce in a Continuation, and the branch as the place to confirm the fix.Bug reproduced: fixedandBug not reproduced: <comment URL>don't change.prompts/and the site fragment withUPDATE_PROMPTS=1 cargo test prompts_page.Acceptance criteria:
needs-infoor post Triage Notes.needs-info, as today.cargo test prompts_page.Out of scope:
issue-1362, and the Day shift decides how it lands.JacobStephens2 commentedon Oct 26, 2026
Retrying on codex. The 10:42 Run failed on a grok API error (
HTTP 400 Bad Request) during implementation; nothing about the issue changed. Branchissue-1373is reused.