[bot] old issues
@worktrunk-bot are we scanning for closed issues each night? why wasn't https://github.com/max-sixty/worktrunk/issues/738 picked up?
The nightly cleaner's issue-scanning step (Step 3) has two constraints that prevented it from picking up #738:
-
Skips non-bug issues — The instructions say "Skip feature requests, discussions, and partially unresolved issues." Issue #738 was a question/feature request, so it would have been skipped even if the fix was detected.
-
Only checks recent commits — Step 3 cross-references open issues against commits from the past 24 hours (
git log --since='24 hours ago'from Step 2). PR #789, which resolved #738, was merged outside that window, so there was no recent commit to match against.
To catch stale issues like this, the nightly cleaner would need a broader scan — e.g., periodically checking old open issues against the full codebase state rather than just the last day's commits. That would be a scope expansion to the skill.
ok great! can we remove the restriction in (1)?
Done — #1596 removes the "skip feature requests, discussions" restriction from Step 3. The nightly cleaner will now check all open issues regardless of type, only skipping partially unresolved ones.