Add an AGENTS.md rule for pacing bulk GitHub writes (secondary rate limit)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github, typescript
- Ambito
- devtools
Direzione di ricerca
Inizia da AGENTS.md e individua le indicazioni sul lavoro guidato dalle issue e sul lavoro di lunga durata. Poi leggi il passaggio Close di docs/contribution-model.md e le ricette degli skill issue-triage e board-ops per le scritture GitHub in blocco. Aggiungi la regola fornita a AGENTS.md e inserisci un collegamento a essa nella guida alla contribuzione e in tutti gli skill interessati, senza ripetere i numeri. Il lavoro è completato quando questi riferimenti puntano all’unica regola e, se è stato modificato uno skill, npm run verify:skills ha esito positivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Nothing in AGENTS.md governs how fast an agent may write to GitHub. The only pacing guidance is in docs/contribution-model.md (closing outside PRs: "a pause of a few seconds between them, in batches"). That is a design document, not loaded every session, and it gives no numbers.
Several flows in this repo make bulk writes, and agents run them:
- the backlog triage (#4875, #4876, #4877): closing PRs with canned comments, boarding and labelling issues
- board audits and recoveries (
board-ops) - Copilot review loops (
pr-flow): many thread replies per round
GitHub's secondary rate limit refuses those writes even while gh api rate_limit still shows primary quota. Most gh writes go through GraphQL, which has its own limits on top. A refused create is also not reliably a no-op: the object can still have been created, so a blind retry duplicates it.
Change
Add this rule to AGENTS.md, worded as given:
Pace bulk GitHub writes: 1 s between requests, never in parallel, under 80 a minute and 500 an hour. The secondary limit refuses while
gh api rate_limitstill shows quota, and mostghwrites are GraphQL. After a refusal, wait outretry-after, or a minute without one; a refused create can still land, so look before retrying.
- The rule belongs in
AGENTS.md(where a rule that must not drop out of context lives), probably under Issue-driven work style or next to Waiting on long-running work, which already sets the 30 s polling floor for remote APIs. docs/contribution-model.md's "Close" step should then link to the rule instead of stating its own pacing, so there is one copy.- Any skill recipe that loops over GitHub writes (
issue-triage,board-ops) should follow it and point to it rather than restating the numbers.
Done when
AGENTS.mdcarries the rule as above.docs/contribution-model.mdand any skill that does bulk writes link to it, with no second copy of the numbers.npm run verify:skillspasses if a skill changed.
- Lingua principale
- JavaScript
- Stelle
- 91.2k
- Fork
- 11.8k
- Merge medio
- 6h 52m
- PR unite (30g)
- 107
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di modelcontextprotocol/servers
-
sequentialthinking: the thought box's header row is 2 columns narrower than its borderForse già presa @nightcityblade l’ha presa 1 giorno fa. Apertabug server-sequentialthinking v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
modelcontextprotocol/servers#5108 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug server-git v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
modelcontextprotocol/servers#5107 ·
I maintainer di solito rispondono entro 1 giorno
-
chore v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
modelcontextprotocol/servers#5091 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/servers#5071 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
git: git_create_branch is marked non-destructive but silently resets an existing packed branchAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
modelcontextprotocol/servers#5059 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di modelcontextprotocol/servers
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
521xueweihan/HelloGitHub#3939 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
needs-website-changes
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] critique requires the detector on native targets, but audit.native.md says it does not applyApertaneeds triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pbakaus/impeccable#1017 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno