Task ID: t216 | Status: open
Assignee: @marcusquinn | Logged: 2026-02-10 | Started: 2026-02-10T04:36:28Z
Tags: bugfix supervisor self-improvement
Notes
Currently scan_orphaned_prs() only runs in Phase 6 of the pulse with a 10-minute throttle. Workers that create PRs but get evaluated as task_only (because the PR wasn't in the DB) must wait for the next throttle window. Fix: (1) After any worker evaluates as complete (task_only), immediately check GitHub for open PRs on that task's branch (feature/tXXX) — this is a targeted single-PR lookup, not a full scan, so no throttle needed. (2) If found, link the PR and transition to pr_review instead of deployed. (3) Keep the full Phase 6 scan as a safety net for edge cases. This eliminates the gap where t204 created PR #886 but the supervisor marked it deployed (task_only).
Synced from TODO.md by issue-sync-helper.sh
Task ID:
t216| Status: openAssignee: @marcusquinn | Logged: 2026-02-10 | Started: 2026-02-10T04:36:28Z
Tags:
bugfixsupervisorself-improvementNotes
Currently scan_orphaned_prs() only runs in Phase 6 of the pulse with a 10-minute throttle. Workers that create PRs but get evaluated as
task_only(because the PR wasn't in the DB) must wait for the next throttle window. Fix: (1) After any worker evaluates ascomplete (task_only), immediately check GitHub for open PRs on that task's branch (feature/tXXX) — this is a targeted single-PR lookup, not a full scan, so no throttle needed. (2) If found, link the PR and transition topr_reviewinstead ofdeployed. (3) Keep the full Phase 6 scan as a safety net for edge cases. This eliminates the gap where t204 created PR #886 but the supervisor marked itdeployed (task_only).Synced from TODO.md by issue-sync-helper.sh