Skip to content

docs(specs): document OpenResponses endpoints and fix default port#36

Merged
chaliy merged 2 commits into
mainfrom
claude/maint-spec-align-t0rOv
May 17, 2026
Merged

docs(specs): document OpenResponses endpoints and fix default port#36
chaliy merged 2 commits into
mainfrom
claude/maint-spec-align-t0rOv

Conversation

@chaliy
Copy link
Copy Markdown
Owner

@chaliy chaliy commented May 17, 2026

What

Spec/doc alignment fixes spotted during routine maintenance (specs/maintenance.md R5, R6):

  • specs/api-endpoints.md: add OpenResponses as a first-class provider (the endpoint /openresponses/v1/responses is already implemented and registered in the router but was not listed in the spec). Renumbered the trailing sections so the document reads linearly: Anthropic → R4, System endpoints → R5, SDK Compatibility → R6.
  • AGENTS.md: fix the local dev hints — default port is 8080 (per ServerConfig defaults), not 3000, and cargo run needs the serve subcommand to actually start the server.

Why

R5.1 requires specs to accurately reflect the current implementation. The OpenResponses endpoint has been live since v0.2.x and AGENTS.md is the entry point for coding agents — both should be correct.

How

Documentation-only changes. No code touched.

Risk

  • Low. Documentation updates with no behavioral impact.

Checklist

  • Specs accurately reflect current router (src/cli/mod.rs)
  • AGENTS.md default port matches ServerConfig::default() in src/cli/config.rs

chaliy added 2 commits May 17, 2026 05:17
- Add OpenResponses as a documented provider in specs/api-endpoints.md
  with its own requirement section (R3). The endpoint is implemented
  and registered in the router but was not previously listed in the
  spec.
- Renumber subsequent sections (Anthropic now R4, system endpoints R5,
  SDK compatibility R6) to keep the spec linear.
- Fix AGENTS.md local dev hints: default port is 8080, not 3000, and
  the binary needs the `serve` subcommand to actually start the server.
clippy 1.95.0 ships a new `clippy::unnecessary_sort_by` lint that
flags the sort_by closure in `draw_model_chart`. Replace the closure
with `sort_by_key + std::cmp::Reverse` per the lint's suggestion.
Behavior is unchanged.
@chaliy chaliy merged commit f1fc7c2 into main May 17, 2026
11 checks passed
@chaliy chaliy deleted the claude/maint-spec-align-t0rOv branch May 17, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant