fix: filter actual assignees before dispatching agents #82

Merged
Timmy merged 1 commits from fix/agent-assignee-filter-spam into main 2026-03-28 13:31:41 +00:00
Owner

Summary

  • fix find_agent_issues() so agent loops post-filter the actual assignee list instead of trusting Gitea's misleading assignee query
  • add regression tests proving Timmy-assigned issues no longer appear in every agent's queue

RCA

Gitea assignee-filter queries were returning Timmy-assigned issues for claude, gemini, kimi, grok, and perplexity. Huey dispatch/worker code trusted that result, so it sprayed dispatch comments to every agent and spawned worthless branches/PRs.

Test Plan

  • python3 -m pytest tests/test_gitea_assignee_filter.py -q

Refs the runaway loop RCA from 2026-03-28.

## Summary - fix `find_agent_issues()` so agent loops post-filter the actual assignee list instead of trusting Gitea's misleading assignee query - add regression tests proving Timmy-assigned issues no longer appear in every agent's queue ## RCA Gitea assignee-filter queries were returning Timmy-assigned issues for `claude`, `gemini`, `kimi`, `grok`, and `perplexity`. Huey dispatch/worker code trusted that result, so it sprayed dispatch comments to every agent and spawned worthless branches/PRs. ## Test Plan - `python3 -m pytest tests/test_gitea_assignee_filter.py -q` Refs the runaway loop RCA from 2026-03-28.
Timmy added 1 commit 2026-03-28 13:31:40 +00:00
Timmy merged commit 0b77282831 into main 2026-03-28 13:31:41 +00:00
Timmy deleted branch fix/agent-assignee-filter-spam 2026-03-28 13:31:42 +00:00
Sign in to join this conversation.