You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(rate-limit-guard): decide what an action at a rate-limit threshold would do for a lane #12274
Box 5 of #6156, split out under the 2026-10-13 decision (#6156 (comment)). The 90% pause edge stays fixed. Box text from #6156, verbatim:
Configurable actions at rate-limit thresholds. context-guard lets zones.json set an action per zone and per threshold (README.md:66-68; the actions are none, save-state, handoff and block, register.tsx:18). rate-limit-guard's options set the line threshold, approach mark, data and band only (plugins/rate-limit-guard/.claude-plugin/plugin.json, userConfig), and the 90% pause edge is a contract constant. #6152 makes actions configurable for context boundaries only, by an owner-approved exception. To decide: what an action at a rate-limit threshold would be for a lane, given the pause edge stays fixed.
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: intent
Blocked by: none
I understand this is box 5 of #6156: decide what a configurable action at a rate-limit threshold would mean for a lane, with the 90% pause edge fixed. The issue asks for a decision and doesn't pick a design, so these questions are open. I found no likely duplicates among the open issues.
Which actions should rate-limit-guard offer? RECOMMENDED: none, save-state and handoff, with no block. Basis: the 90% pause edge is a fixed contract, and block would overlap with it.
Which thresholds can carry an action? RECOMMENDED: only the line threshold and the approach mark, never the 90% edge. Basis: those are the existing configurable points, and the edge stays fixed.
Where is the action configured? RECOMMENDED: a new userConfig option in plugin.json. Basis: that is where rate-limit-guard's other options already live.
To answer, post a comment that starts with this line:
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add an optional per-threshold action option to rate-limit-guard (likely none, save-state, handoff) for the line threshold and approach mark only, leaving the fixed pause edge unchanged.
Which actions should a rate-limit threshold offer a lane?
RECOMMENDED: none, save-state and handoff; no block, because the fixed pause edge already stops a lane. Basis: plugins/rate-limit-guard/reference/reader-contract.md:49
Which thresholds can carry an action: the line threshold and approach mark only, never the pause edge?
RECOMMENDED: Line threshold and approach mark only; the pause edge stays fixed and keeps drain-then-pause. Basis: plugins/rate-limit-guard/README.md:328
Where is the action configured, and does it affect a lane or only what Claude is told?
RECOMMENDED: A new userConfig option in plugin.json, read by the lane through the reader contract and not tied to LOOP_LANE_RATE_LIMIT_PAUSE. Basis: plugins/rate-limit-guard/.claude-plugin/plugin.json:43
The issue says the pause edge is 90%, but the repo says 95%. Which value is the fixed edge?
RECOMMENDED: 95%, as the repo and README state; correct the issue text. Basis: plugins/rate-limit-guard/README.md:78
Should rate-limit-guard reuse context-guard's action definitions or define its own?
RECOMMENDED: Reuse context-guard's action vocabulary so the two guards share one set. Basis: judgment
Sources read
plugins/rate-limit-guard/.claude-plugin/plugin.json:43: line threshold option; the lane pause threshold stays 95 whatever it is set to
plugins/rate-limit-guard/README.md:78: line threshold is a line setting only; the opted-in lane pause stays 95%
plugins/rate-limit-guard/README.md:328: file path and 95% pause threshold are deliberately not configurable
plugins/rate-limit-guard/reference/reader-contract.md:49: drain-then-pause for an opted-in lane on a trip
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Closing as not planned: the reader contract already answers this box, and nothing is left to build.
For a lane, the action at a rate-limit threshold is the fixed drain-then-pause floor: an opted-in lane at 95% "finish[es] in-flight work, stop[s] claiming new work, pause[s] until the pause end, and report[s]"; without the opt-in it "keeps working and reports the window" (plugins/rate-limit-guard/reference/reader-contract.md:49-52). The 95% threshold is a contract constant, "deliberately not configurable: cross-plugin consumers read the documented values, so a per-user override could silently split writer and readers", and rate_limit_line_threshold "sets only when Claude gets the threshold line" (reader-contract.md:297-300). Every lane copy of the floor is drift-checked against the contract by scripts/check-loop-lane-floor-drift.sh (reader-contract.md:313-314). A configurable per-threshold action for lanes would add a per-user setting that changes what a lane does, which is the split the contract rules out, and a lane has no person to receive a save-state or handoff at a lower mark. Context-guard's per-zone actions stay the exception for context boundaries only (#6152). This issue's 90% is the contract's 95%. Written by the issue-triage session.
Closed as not planned: the reader contract already answers this box and nothing is left to build. The reasoning, with file and line citations, is in the comment above. Written by the issue-triage session.
Activity
github-actions commentedon Nov 2, 2026
Proposed work class: none
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: intent
Blocked by: none
I understand this is box 5 of #6156: decide what a configurable action at a rate-limit threshold would mean for a lane, with the 90% pause edge fixed. The issue asks for a decision and doesn't pick a design, so these questions are open. I found no likely duplicates among the open issues.
none,save-stateandhandoff, with noblock. Basis: the 90% pause edge is a fixed contract, andblockwould overlap with it.userConfigoption inplugin.json. Basis: that is where rate-limit-guard's other options already live.To answer, post a comment that starts with this line:
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 2, 2026
The triage verdict left this issue at
status: needs-decision:melodic-automation-lanes commentedon Nov 2, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add an optional per-threshold action option to rate-limit-guard (likely none, save-state, handoff) for the line threshold and approach mark only, leaving the fixed pause edge unchanged.
Related work
Open questions
RECOMMENDED: none, save-state and handoff; no block, because the fixed pause edge already stops a lane. Basis: plugins/rate-limit-guard/reference/reader-contract.md:49
RECOMMENDED: Line threshold and approach mark only; the pause edge stays fixed and keeps drain-then-pause. Basis: plugins/rate-limit-guard/README.md:328
RECOMMENDED: A new userConfig option in plugin.json, read by the lane through the reader contract and not tied to LOOP_LANE_RATE_LIMIT_PAUSE. Basis: plugins/rate-limit-guard/.claude-plugin/plugin.json:43
RECOMMENDED: 95%, as the repo and README state; correct the issue text. Basis: plugins/rate-limit-guard/README.md:78
RECOMMENDED: Reuse context-guard's action vocabulary so the two guards share one set. Basis: judgment
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 3, 2026
Closing as not planned: the reader contract already answers this box, and nothing is left to build.
For a lane, the action at a rate-limit threshold is the fixed drain-then-pause floor: an opted-in lane at 95% "finish[es] in-flight work, stop[s] claiming new work, pause[s] until the pause end, and report[s]"; without the opt-in it "keeps working and reports the window" (
plugins/rate-limit-guard/reference/reader-contract.md:49-52). The 95% threshold is a contract constant, "deliberately not configurable: cross-plugin consumers read the documented values, so a per-user override could silently split writer and readers", andrate_limit_line_threshold"sets only when Claude gets the threshold line" (reader-contract.md:297-300). Every lane copy of the floor is drift-checked against the contract byscripts/check-loop-lane-floor-drift.sh(reader-contract.md:313-314). A configurable per-threshold action for lanes would add a per-user setting that changes what a lane does, which is the split the contract rules out, and a lane has no person to receive asave-stateorhandoffat a lower mark. Context-guard's per-zone actions stay the exception for context boundaries only (#6152). This issue's 90% is the contract's 95%. Written by the issue-triage session.kyle-sexton commentedon Nov 3, 2026
Closed as not planned: the reader contract already answers this box and nothing is left to build. The reasoning, with file and line citations, is in the comment above. Written by the issue-triage session.