Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
19 lines
834 B
Markdown
19 lines
834 B
Markdown
---
|
|
id: 139
|
|
title: Quota and Rate-Limit Failure Classification
|
|
group: v1.42.1 Features
|
|
---
|
|
|
|
**Command:** `/msd-execute-phase`
|
|
|
|
**Purpose:** Treat provider quota and rate-limit failures as wait-and-resume conditions, not normal executor failures.
|
|
|
|
**Behavior:** Agent output is classified for signals such as `429`, `rate limit`, `usage limit`, `RESOURCE_EXHAUSTED`, and `usage_limit_reached`. Matching failures present a wait-for-reset recovery path.
|
|
|
|
**Requirements:**
|
|
- REQ-QUOTA-01: Quota failures MUST NOT offer immediate retry as the primary recovery.
|
|
- REQ-QUOTA-02: Classification MUST cover Claude, Copilot, Codex, and generic provider sentinels.
|
|
- REQ-QUOTA-03: Non-quota failures MUST continue through the normal execution failure path.
|
|
|
|
**Reference:** [Provider Rate Limit Signals](research/provider-rate-limit-signals.md)
|