Quota Park Probe
Bounded self-lift for the gh-1087 provider-quota park: runs locally on every SM tick against tickets carrying the park label (default provider_quota) and fires one cheap provider ping only when the recorded park-tick count hits the jobParams.quotaProbeEveryNTicks cadence (default 3 ticks).
Every tick records a lightweight quota-park-tick: n marker comment — the durable cadence clock — so the tick count advances even between probes (an attempts-only counter deadlocks after the first failed probe: probe #2 can never fire). Probe success means the quota window has reset or the provider was reconfigured — the handler removes the park label, clears the development/rework dispatch trigger labels, moves the ticket back to Ready For Development and posts an un-park comment, so the normal dispatch lanes resume on the next tick. Probe failure keeps the park and posts a quota-probe: <n> marker used for probe numbering only. The probe command is logged redacted (sensitive header/credential values masked, env-var name references untouched).
Parameters
jobParams.quotaParkLabel— park label name to watch and remove (defaultprovider_quota). When overridden, the SM rule’s JQL (labels = provider_quota) must be overridden to match.jobParams.quotaProbeEveryNTicks— probe cadence in SM ticks (default 3). The first tick after the park always probes (a misclassification self-corrects immediately).jobParams.quotaProbeCommand— the cheap provider ping shell command (default: a 1-token chat completion against the fa provider configFA_PROVIDER_BASE_URL/FA_PROVIDER_API_KEY/FA_PROVIDER_MODEL; curl--failkeeps the park on any HTTP error). Override for non-fa provider shapes. The command is logged in redacted form — inline credentials are masked.
A human un-parks immediately by removing the park label from the ticket — the probe rule stops matching and no further probes fire.
Human doc: agents/docs/agents/quota_park_probe.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | quota_park_probe.json |
| ContextId | quota_park_probe |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/quota_park_probe.md
Actions
postJSAction: quotaParkProbe.js
quotaParkProbe.js — gh-1087 AC3: bounded self-lift for the provider-quota park.
- Source:
agents/js/quotaParkProbe.js - Parameters (customParams):
commentMarkup
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/quota_park_probe.md
Custom params
commentMarkup(used by JS action)
Generated by js/agentDocGenerator.js