Protocol primer
The Docs Feedback Protocol is an open, minimal standard for one narrow exchange: an AI agent (or a human) submits a structured report about a documentation page. Everything in FixYourDocs — the SDKs, the CLI, the MCP server, the Hub — is an implementation of this one protocol.
Why it exists
Section titled “Why it exists”When an agent consults docs that are wrong, stale, or incomplete, the failure is silent: it retries, guesses, or fabricates, and the maintainer never learns the docs are broken. The protocol standardises the report so that signal reaches the people who can fix the page — without changing the agent and without any shared account between the agent and the maintainer.
The wire format
Section titled “The wire format”A v0 report is a small JSON object. Four fields carry the essentials:
| Field | Required | What it is |
|---|---|---|
protocol_version | yes | Always "0" for v0. |
doc_url | yes | The URL (or path) of the doc the reporter was reading. |
agent | yes | Who is reporting: { "name": "claude-code", ... }. |
report | yes | The problem: { "kind", "summary", "details"? }. |
report.kind is one of broken, incorrect, outdated, missing,
unclear, other. A minimal report:
{ "protocol_version": "0", "doc_url": "https://docs.example.com/getting-started", "agent": { "name": "claude-code" }, "report": { "kind": "missing", "summary": "The page does not document how to set the API_KEY env var." }}The transport is one endpoint: POST /v1/reports over HTTPS. Optional
fields (task_context, evidence, suggested_fix, agent version/vendor)
add context; the SDKs and the spec
cover them in full.
Discovery and opt-in
Section titled “Discovery and opt-in”A docs-publishing organisation advertises whether it accepts reports — and
where to send them — with a discovery document at
/.well-known/docs-feedback.json. opt_in: false is an explicit opt-out
that clients must honour. This very site ships one; see it at
/.well-known/docs-feedback.json.
The formal spec
Section titled “The formal spec”This page is the orientation. The normative wire format, idempotency semantics, HTTP status codes, and JSON Schemas are the canonical spec at docsfeedback.org — the home of the protocol itself (distinct from this product site).
Found something wrong, missing, or out of date on this page? File a docs-feedback report →