loop_guard.py now checks Gitea API for open issues before returning queue items. Closed issues are filtered out and queue.json is automatically cleaned. Graceful fallback: if API unreachable, returns unfiltered queue (no regression).
Co-authored-by: Kimi Agent <kimi@timmy.local> Co-committed-by: Kimi Agent <kimi@timmy.local>