Skip to content

API-09 / API-11: correct the connection-status enum and complete the error-code table - #8

Draft
ever-just wants to merge 1 commit into
mainfrom
claude/api-doc-cluster-fixes
Draft

API-09 / API-11: correct the connection-status enum and complete the error-code table#8
ever-just wants to merge 1 commit into
mainfrom
claude/api-doc-cluster-fixes

Conversation

@ever-just

Copy link
Copy Markdown
Contributor

What & why

Two customer-docs-vs-code discrepancies from the remediation ledger, each verified against the control-plane source and by an independent adversarial check.

API-09 (medium) — the MCP page listed six connection statuses; three of them (completed, error, expired) don't exist. The real status is a closed four-value enum — pending, propagating, live, failed (model.go:116-119, asserted by status_test.go:59). Corrected content/mcp/overview.mdx.

API-11 (medium) — the error-code table documented neither forbidden (403), conflict (409), nor rate_limited (429), though the handlers return all three. Added them to content/reference.mdx and content/api-reference/index.mdx. The other three the finding named (quota_exceeded, ProviderAuthenticationError, InvalidNameservers) were already present.

Only codes/values that exist in the Go code were added — nothing invented. The OpenAPI enum already lists the correct four statuses, so check-openapi-sync stays green and no spec change was needed.

API-03, API-08, API-14 from the same cluster were checked and found already correct in these docs (12-attempt durable-outbox retries; twelve MCP tools; all eight SDK window events) — no change, verified not assumed.

Docs (required)

  • Docs updated — this PR is entirely the customer-facing doc corrections.

Checks

  • cd site && npm run build — clean (105+ pages prerendered).
  • No secrets or credentials added to the repo.

Generated by Claude Code

…error table

Two docs-vs-code discrepancies from the remediation ledger, each verified against
the control-plane source and by an independent adversarial check.

API-09 (medium): the MCP page listed six connection statuses; three
(`completed`, `error`, `expired`) do not exist. The real status is a closed
four-value enum — `pending`, `propagating`, `live`, `failed`
(services/control-plane/internal/model/model.go:116-119, asserted by
status_test.go:59). Corrected content/mcp/overview.mdx to the four real values.

API-11 (medium): the error-code table documented neither `forbidden` (403),
`conflict` (409), nor `rate_limited` (429), though the handlers return all three.
Added them to content/reference.mdx and content/api-reference/index.mdx.
`quota_exceeded`, `ProviderAuthenticationError`, and `InvalidNameservers` — the
other three the finding named — were already present from earlier work.

Only codes/values that exist in the Go code were added; nothing invented. The
OpenAPI enum already listed the correct four statuses, so check-openapi-sync
stays green and no spec change was needed. Site builds clean (npm run build).

API-03, API-08 and API-14 from the same cluster were checked and found already
correct in these docs (12-attempt durable-outbox retries, twelve MCP tools, and
all eight SDK window events respectively) — no change needed, verified not assumed.

Claude-Session: https://claude.ai/code/session_01YFw2Aya3Vn1W3saDPs8XRY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants