Routine execution issues (originKind=routine_execution) stay in_progress between cron fires by design — one open issue is coalesced across dispatches via issues_open_routine_execution_uq. decideSuccessfulRunHandoff treated that steady state as a missing disposition, enqueued a corrective handoff that exhausted after one attempt, and left the issue blocked with a source_scoped_recovery_action — re-waking the agent on every successful run (observed at ~27 runs/hour on one orphan-check routine, which additionally tripped a false productivity review). Exempt routine_execution issues from the handoff, mirroring the existing issue-monitor maintenance skip; the routine lifecycle owns their disposition. Adds a regression test that fails without the guard. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||