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 (default provider_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 config FA_PROVIDER_BASE_URL / FA_PROVIDER_API_KEY / FA_PROVIDER_MODEL; curl --fail keeps 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

AttributeValue
JobTeammate
Configquota_park_probe.json
ContextIdquota_park_probe
outputTypenone
skipAIProcessingtrue

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

View the agent config on GitHub →

Generated from quota_park_probe.json in the agents repository and its human doc — edit either and the page follows. Last updated .