Commit dbb4803
docs: retire the /graphql endpoint contract and its protocol-page residue (#10845)
* docs: retire the /graphql endpoint contract and protocol residue (#10832)
/graphql is not mounted. `packages/runtime/src/http-dispatcher.ts:2026` records
its removal, there is no `createGraphQLDomain` among the domains registered at
`http-dispatcher.ts:556-574`, and no `handleGraphQL` survives outside CHANGELOGs.
Remove-vs-rewrite follows the 404/501 distinction in
`packages/runtime/src/domains/unavailable.ts`: 404 = the route is not there;
501 = the route is there, the implementation is not. /graphql is in neither
state, so it belongs in neither row of a catalog of servable routes.
Deleted (the construct asserts a surface that does not exist):
- `api/plugin-endpoints.mdx` — the whole `### GraphQL (/graphql)` section and
its POST method/path table, plus GraphQL from the frontmatter enumeration.
- `api/declarative-endpoints.mdx` — /graphql from the exemplar list pointing at
that catalog; the two remaining examples are real mounted routes.
- `protocol/diagram.mdx` — the `GQL[GraphQL]` node AND both its edges
(`CLIENT --> GQL`, `GQL --> KERNEL`); mermaid materialises an undeclared node
from a dangling edge, so deleting the declaration alone still renders a box.
- `protocol/diagram.mdx` — GraphQL from the `src/api/` layer-table cell;
that directory contains zero graphql files (re-measured).
Rewritten (the surrounding claim is true; only the enumeration was wrong):
- `protocol/diagram.mdx` sequence label → `HTTP Request (REST)`.
- `protocol/kernel/lifecycle.mdx` → `Start HTTP server`, box width preserved.
- `protocol/kernel/error-handling.mdx` → `(HTTP, WebSocket)`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
* docs(api): reflow the plugin-endpoints callout after the /graphql removal
Keeps the em dash attached to the clause it belongs to instead of orphaning
it at the start of a line, and refills the paragraph. No claim changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent baed0f7 commit dbb4803
5 files changed
Lines changed: 8 additions & 17 deletions
File tree
- content/docs
- api
- protocol
- kernel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 145 | | |
152 | 146 | | |
153 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
101 | 98 | | |
102 | 99 | | |
103 | 100 | | |
| |||
160 | 157 | | |
161 | 158 | | |
162 | 159 | | |
163 | | - | |
| 160 | + | |
164 | 161 | | |
165 | 162 | | |
166 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments