mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
Agent generated files.
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
# Optimization Processes
|
||||
|
||||
This file documents the automated processes run to improve repository metrics.
|
||||
This file documents the automated processes implemented to drive repository metrics toward their goals.
|
||||
|
||||
| Process | Target Metric | Script | Description |
|
||||
|---------|---------------|--------|-------------|
|
||||
| triage_issues | open_issues | `processes/scripts/triage_issues.js` | Basic issue triage and labeling |
|
||||
| Process | Goal | Script | Description |
|
||||
|---------|------|--------|-------------|
|
||||
| Stale Manager | Reduce `open_issues` | `stale_manager.ts` | Identifies inactive community issues (>30d) and maintainer issues (>90d), labels them as Stale, and eventually closes them. |
|
||||
| Triage Router | Reduce untriaged backlog | `triage_router.ts` | Automatically assigns untriaged issues to maintainers or requests more info for low-quality reports. |
|
||||
| PR Nudge | Reduce `latency_pr_community` | `pr_nudge.ts` | Nudges maintainers for community PRs that pass CI but are stalled waiting for review (>48h). |
|
||||
|
||||
## Implementation Details
|
||||
|
||||
### Stale Manager
|
||||
- **Trigger**: No activity for 30 days (Community) or 90 days (Maintainer Only).
|
||||
- **Grace Period**: 14 days after labeling as Stale.
|
||||
- **Exemptions**: None, but maintainers get more time.
|
||||
|
||||
### Triage Router
|
||||
- **Batch Size**: 50 issues per run.
|
||||
- **Routing**: Round-robin across 13 active maintainers.
|
||||
- **Quality Check**: Issues with <50 chars body are asked for more info instead of being routed.
|
||||
|
||||
### PR Nudge
|
||||
- **Criteria**: Community PR, Non-Draft, SUCCESS CI, REVIEW_REQUIRED, >48 hours old.
|
||||
- **Action**: Add `status/nudge` label and comment pinging the maintainers team.
|
||||
|
||||
Reference in New Issue
Block a user