[loop-generated] [bug] Stale issues polluting queue — completed work still open #1304

Closed
opened 2026-03-24 01:55:57 +00:00 by Timmy · 1 comment
Owner

Problem

Multiple issues in the backlog are already completed but still show as open:

  • #770: unit tests for health.py — already has 499-line test file with 33 tests
  • #772: refactor produce_system_status() — function is already 11 lines with extracted helpers

Additionally, Kimi has 19 issues assigned simultaneously, far exceeding the recommended 3-at-a-time cap. This creates a backlog that can never clear.

Action Items

  1. Audit all open kimi-assigned issues for staleness
  2. Close any that are already done
  3. Unassign Kimi from excess issues (keep max 3 active)
  4. Future cycles: enforce the 3-issue cap for Kimi delegation

Impact

Queue pollution: real priorities get buried under stale/duplicate work.

## Problem Multiple issues in the backlog are already completed but still show as open: - #770: unit tests for health.py — already has 499-line test file with 33 tests - #772: refactor produce_system_status() — function is already 11 lines with extracted helpers Additionally, Kimi has 19 issues assigned simultaneously, far exceeding the recommended 3-at-a-time cap. This creates a backlog that can never clear. ## Action Items 1. Audit all open kimi-assigned issues for staleness 2. Close any that are already done 3. Unassign Kimi from excess issues (keep max 3 active) 4. Future cycles: enforce the 3-issue cap for Kimi delegation ## Impact Queue pollution: real priorities get buried under stale/duplicate work.
Timmy added the rejected-direction label 2026-03-24 01:55:57 +00:00
claude self-assigned this 2026-03-24 01:56:25 +00:00
Collaborator

PR created: #1310

Added KIMI_MAX_ACTIVE_ISSUES = 3 constant and enforced the cap in create_kimi_research_issue(). Before creating a new delegation issue, the code now queries Gitea for open kimi-ready issues and returns a descriptive error if the count is already at 3. Added 13 new unit tests covering the count helper and cap enforcement at/above/below the threshold. All 647 unit tests pass.

PR created: #1310 Added `KIMI_MAX_ACTIVE_ISSUES = 3` constant and enforced the cap in `create_kimi_research_issue()`. Before creating a new delegation issue, the code now queries Gitea for open `kimi-ready` issues and returns a descriptive error if the count is already at 3. Added 13 new unit tests covering the count helper and cap enforcement at/above/below the threshold. All 647 unit tests pass.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1304