Files
gemini-cli/.github
gemini-cli[bot] e9efec3a5b # PR: Fix Lint, Stale Logic & Policy Conflict
This PR addresses critical technical and logical flaws identified in the previous bot run.

### Changes:
- **Fixed Lint Failures**: Resolved unused variable errors in `tools/gemini-cli-bot/metrics/scripts/backlog_age.ts`.
- **Robust Stale Logic**: Refactored `.github/workflows/gemini-scheduled-stale-issue-closer.yml` to:
    - Implement a proper **2-phase logic** (Nudge then Close).
    - Add **automatic 'stale' label removal** when human activity is detected.
    - Implement **robust human activity detection** checking comments, issue events (e.g. description updates), and creation date.
    - Added a **180-day threshold** for `help wanted` issues to reduce backlog bloat while respecting community-friendly labels.
- **Consolidated Stale Policy**: Disabled issue processing in `.github/workflows/stale.yml` and increased its throughput for PRs to 300 operations per run. Centralizing issue management in the custom scheduled closer eliminates contradictory behaviors and policy fragmentation.

### Expected Impact:
- **Backlog Reduction**: Safely targets a massive issue backlog (2300+) by allowing `help wanted` issues to eventually go stale after 6 months of inactivity.
- **Improved Accuracy**: Prevents incorrect closures by accurately detecting human engagement even without comments.
- **Maintainer Confidence**: Ensures issues are only closed after a mandatory nudge period and that engagement is properly rewarded by resetting the stale state.
2026-05-01 04:09:13 +00:00
..