Skip to content

docs: Make the Readme the entry point and stop docs drift #268

Done

Description

@jrosskopf

An audit after v26.11.25 found the Readme stale and some reference docs drifting:

  • Readme examples are out of date:
    • the /mcp/health sample shows version 0.3.0 and protocol 2024-11-05;
    • /doc.yaml is described as Swagger 2.0, but it is OpenAPI 3.0;
    • an example uses a plaintext password;
    • an endpoint example implies auth:/rate-limit: protect the MCP tool.
  • Readme telemetry and build facts are wrong:
    • the telemetry event names are wrong;
    • the build section has wrong vcpkg facts, a dead DuckDB link and a duplicated sentence.
  • The Quick Start probably fails in Docker: it runs examples/flapi.yaml, which installs erpl/bigquery and attaches a relative path.
  • v26.11.x features are missing from the Readme: duckdb-hardening, log-http-requests, shipped extensions, the -runtime image, remote configs, mcp-prompt.
  • Reference-doc drift:
    • broken TOC anchors in CONFIG_REFERENCE and CLI_REFERENCE;
    • telemetry wording;
    • a scheme-whitelisting section describing code that never runs;
    • MCP_REFERENCE missing 2026-07-28 and claiming the Mcp-Session-Id is required;
    • the Dockerfile labels.

Plan:

  • Rewrite the Readme as the entry point: the anofox-forecast layout, and a Quick Start with uvx + flapii project init that CI runs.
  • Fix the reference-doc drift.
  • Extend the docs checks to Readme.md and docs/: the forbidden-facts list, a link/anchor check, and running the Quick Start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions