Repository navigation
fix(skills): stop /sweep subagents inventing fake background notifiers - #2231
Merged
Merged
Conversation
…s, add rate-limit handling Today's sweep run had subagents stall repeatedly by claiming a background poller/monitor/scheduled job "would notify them," even after being resumed with an explicit correction — the exact failure mode a prior fix (7cadceb) targeted, but with a new excuse each time. One subagent also hit a genuine GitHub API rate-limit exhaustion (shared across all subagents in the sweep) from over-tight polling and had no guidance on how to bridge it without ending its turn. Adds explicit language banning the "something will notify me" framing in both the "how to wait" contract and the Rules section, a note in the orchestrator's stall-recovery guidance that this can recur 2-3 times before it sticks, and a new "Mind the GitHub API rate limit" section covering free rate_limit checks, polling cadence, and bounded sleep-then-recheck recovery when the quota is exhausted.
Contributor
Greptile SummaryThe PR strengthens the
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "fix: resolve merge conflicts with main" | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
gh api rate_limitis free to check, poll no tighter than 60-120s and batch checks rather than looping per-item, and ifAPI rate limit exceededoccurs, bridge it with bounded sleep-then-recheck cycles against theresetepoch rather than ending the turn.Test plan
$REPO-parameterized) SKILL.md onorigin/mainto confirm no stale context was reintroduced.