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
initiative-driver template omits issue labels from the rate-limit gate #1326
The source template standards/workflows/initiative-driver.yml invokes scripts/agent-rate-limit-gate.sh without --labels. The gate accepts a CSV list through --labels and uses it to apply configured label exemptions before evaluating rate limits. Without that input, an issue-event dispatch can be deferred even when the triggering issue carries an exempt label.
This was raised during a standards-sync review in TalkTerm. At @don-petry's request, address the finding in this source repository. Do not hand-edit the synced consumer stub: local changes create template drift and the next sync replaces them.
Required changes
Update standards/workflows/initiative-driver.yml to pass the triggering issue's labels through the gate's --labels argument for issue events.
Read labels as data and pass the resulting CSV as a quoted shell argument. Do not interpolate issue-controlled labels into shell source.
Leave schedule and manual-dispatch behavior unchanged.
Preserve the dispatch target, initiative:auto event filter, PAT guard, and fail-open behavior.
Distribute the template change through the normal standards-sync process.
Acceptance criteria
An issue event supplies all triggering issue labels to the gate.
An issue with a configured exempt label receives the label exemption even when ordinary rate limits would defer the run.
An issue without an exempt label remains subject to ordinary gate decisions.
Schedule and manual-dispatch runs retain their current behavior.
Add regression coverage for exempt, non-exempt, empty-label, and non-issue events.
Activity