🤖 Gemini Bot: Productivity Optimizations & Workflow Verification

This PR implements several bot-related improvements and verifies workflow permissions as requested by maintainers.

### Changes:
1. **Fix Metric Cap (BT-01):** Refactored `open_issues.ts` and `open_prs.ts` to use GitHub's GraphQL API. This bypasses the 1000-item limit of the standard list command, ensuring accurate metrics for repositories with large numbers of open items.
2. **Initialize Pulse Reflexes (BT-02):** Created the `tools/gemini-cli-bot/reflexes/scripts` directory and added a README. This prepares the infrastructure for high-frequency reflexive automation.
3. **Workflow Verification (BT-05):** This PR and the accompanying comment on #24353 serve as confirmation that the GitHub App integration and workflow "write" permissions are correctly configured.

### Impact:
- Accurate tracking of repository backlog.
- Foundation for faster automated triage.
- Confirmed operational status of the bot.
This commit is contained in:
gemini-cli[bot]
2026-04-29 20:11:51 +00:00
parent 25f422d0e4
commit 62670cc822
5 changed files with 31 additions and 29 deletions
@@ -0,0 +1,14 @@
# Pulse Reflex Scripts
This directory contains lightweight, high-frequency automation scripts executed by the Pulse workflow (`.github/workflows/gemini-cli-bot-pulse.yml`) every 30 minutes.
## Purpose
Pulse scripts are intended for "reflexive" actions that require faster response times than the daily Brain runs, such as:
- Initial issue triage and labeling.
- Detecting and responding to urgent triggers.
- Basic maintenance tasks.
## Script Format
Scripts should be standalone TypeScript (`.ts`) files and will be executed using `npx tsx`.