Skip to content

docs(api): align specs, README and design records with server behavior - #1114

Merged
ericfitz merged 5 commits into
mainfrom
docs/1089-1091-doc-alignment
Oct 18, 2026
Merged

ericfitz merged 5 commits into
mainfrom
docs/1089-1091-doc-alignment

Conversation

@ericfitz

Copy link
Copy Markdown
Owner

Summary

  • OpenAPI:
    • SurveyResponse status enum (x-go-type: string keeps the Go types)
    • DELETE collaborate description and ClientCallbackQueryParam description
    • Restore descriptions are now owner-only, dropping "or administrators" (human decision, option A)
    • GET /api/server-info is documented with 400 and 503; the generated route replaces the hand-written one
  • AsyncAPI: documents the /ws/notifications channel, including subscription_updated.
  • README: storage, configuration and WebSocket sections rewritten. .claude/CLAUDE.md: Store[T] reference fixed.
  • Design records get as-built notes; x-tmi-authz-schema.md corrected; the stale docs/survey-api-design.md is deleted; key fixed in scripts/analyze-endpoints.py.
  • Adds the implementation plan for this batch.
  • Wiki corrections for docs(wiki): correct Authentication and Identity Linking pages #1092 to docs(wiki): correct Addon System and Webhook Integration pages #1098 are pushed separately.

Test plan

  • make validate-openapi, make validate-asyncapi, make generate-api; the embedded spec matches
  • make verify
  • Combined integration run: 97 passed, 0 failed

Fixes #1089
Fixes #1090
Fixes #1091

🤖 Generated with Claude Code

https://claude.ai/code/session_015szS68rpMLaq712AFsbMfr

ericfitz and others added 5 commits October 17, 2026 23:58
OpenAPI: SurveyResponse status enum (x-go-type string keeps Go types), DELETE
collaborate description, ClientCallbackQueryParam description, restore
descriptions, and GET /api/server-info (generated route replaces the custom
one). AsyncAPI: /ws/notifications channel and interim ErrorPayload note.
Design records get as-built notes; x-tmi-authz-schema.md corrected; README
storage/configuration/WebSocket sections rewritten; docs/survey-api-design.md
deleted (wiki migration separate).

Human decision (Eric, 2026-10-17): restore is owner-only; drop "or
administrators" from the seven restore descriptions (option A).

Fixes #1089
Fixes #1090
Fixes #1091

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add subscription_updated to the AsyncAPI notification docs, add 400 and 503
to /api/server-info, collapse HandleServerInfo into GetServerInfo, refresh
SEM markers, use the codebase term overridden in the README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…iption

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015szS68rpMLaq712AFsbMfr
@ericfitz
ericfitz force-pushed the docs/1089-1091-doc-alignment branch from ccc55dd to 7ca35f0 Compare October 18, 2026 04:02
@ericfitz
ericfitz merged commit 3da36b1 into main Oct 18, 2026
18 checks passed
@ericfitz
ericfitz deleted the docs/1089-1091-doc-alignment branch October 18, 2026 04:10
ericfitz-version-bump Bot added a commit that referenced this pull request Oct 18, 2026
Folds 1 merged commit(s):
- 3da36b1 docs(api): align specs, README and design records with server behavior (#1114)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant