Skip to content

docs: Make the Readme the entry point and stop docs drift (#268) - #269

Merged
jrosskopf merged 6 commits into
mainfrom
docs/gh-268-readme-entry-point
Nov 25, 2026
Merged

jrosskopf merged 6 commits into
mainfrom
docs/gh-268-readme-entry-point

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Readme rewritten in the anofox-forecast layout: logo and badges, pitch, Claude Code plugin callout, grouped features covering v26.11, table of contents, skills table, installation (PyPI, release archives, Docker incl. -runtime), a uvx-only Quick Start (flapii project init, then the same endpoint over REST and as an MCP tool), a one-config example with correct REST/MCP auth, docs tables, build, telemetry, license, support, citation.
  • Drift guard: check_skills now also covers Readme.md, TELEMETRY.md and docs/ (not archive/blog/promotion):
    • forbidden facts, cache template variables, and flapi/flapii commands;
    • relative links and GitHub #anchors;
    • it runs the Readme Quick Start against the built binaries in the cli-integration job.
  • Docs fixes:
    • CONFIG_REFERENCE / CLI_REFERENCE: TOC anchors, telemetry wording and telemetry.sample_rate, and the removed fictional scheme-whitelisting section.
    • MCP_REFERENCE: the 2026-07-28 row, Mcp-Session-Id corrected, and the arrow_* health fields.
    • TELEMETRY.md: the per-minute aggregation.
    • flapii project init now links real docs (docs.datazoo.dev does not resolve).
    • Dockerfile labels, and the posthog-telemetry submodule over HTTPS.

Test plan

  • Red: 609cfbc — check_skills failed with 14 findings on the old Readme/docs (stale /mcp/health sample, Swagger 2.0, application_start, broken anchors, no runnable Quick Start).
  • Green: python3 scripts/check_skills.py --flapi <flapi-io 26.11.25>/flapi --flapii "node cli/dist/index.js" → 1302 passed, 0 failed. The Quick Start runs (init → append mcp-tool → serve → REST and MCP calls).
  • Quick Start by hand from a clean dir with the published uvx --from flapi-io==26.11.25: the output matches the Readme.
  • One-config example under --validate-config and a live server: REST without credentials gets 401, the reader gets 200; MCP without credentials gets 401, the agent gets 200; reader credentials on MCP get 401 (separate auth, as documented).
  • tsc --noEmit for the CLI change.
  • CI green.

Closes #268

🤖 Generated with Claude Code

https://claude.ai/code/session_018txuxF9jXyiKakpUoXrKBi


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…Start (#268)

- check_skills applies the forbidden facts, cache template variables and
  flapi/flapii command checks to Readme.md, TELEMETRY.md and docs/
  (not docs/archive, docs/blog, docs/promotion)
- New link check: every relative link and #anchor resolves, with anchors
  generated the way GitHub does
- New Quick Start run: the Readme's <!-- flapi: quickstart --> blocks run in
  a clean directory against the built binaries
- Forbidden facts for the drift found in the audit (telemetry event names,
  Swagger 2.0, the old /mcp/health sample, port 8081, pip install flapii,
  result_set_bytes, "returned_data", docs.datazoo.dev)
- A forbidden term may appear where the text says it is gone
- Fails today: 14 findings in Readme.md, CLI_REFERENCE, CONFIG_REFERENCE,
  security.md
- Readme in the anofox-forecast layout: logo, badges, pitch, plugin callout,
  grouped features (incl. duckdb-hardening, log-http-requests, shipped
  extensions, -runtime image, remote configs, mcp-prompt), table of contents
- Quick Start with uvx + flapii project init: one endpoint over REST and as an
  MCP tool; CI runs the blocks against the built binaries
- One-config example protects REST with auth: and MCP with mcp.auth +
  allowed-roles, no literal passwords
- Correct build (vcpkg/VCPKG_ROOT, real port list), telemetry, /mcp/health,
  OpenAPI 3.0 and Docker facts
- CONFIG_REFERENCE/CLI_REFERENCE: TOC anchors, telemetry wording,
  telemetry.sample_rate; the scheme-whitelisting section described a check
  that never ran
- MCP_REFERENCE: 2026-07-28 in the protocol table, Mcp-Session-Id is a legacy
  echo, arrow_* health fields; version headers name v26.11.25
- TELEMETRY.md documents the per-minute aggregation
- flapii project init links the guides on GitHub (docs.datazoo.dev does not
  exist)
- Dockerfile labels name DataZooDE; posthog-telemetry submodule over HTTPS
- check_skills: GitHub slugs keep text inside code spans
- Quick Start: a marker that does not parse, an unknown kind or a try block
  without expect= fails instead of being skipped; any fence info string;
  steps run in their own process group with a timeout that reports instead
  of raising; process cleanup no longer raises when the group is gone;
  only localhost:8080 / 127.0.0.1:8080 is rewritten
- Forbidden facts: the 'gone' word must be in the term's sentence (a table
  row counts as one), as a whole word
- Links: images, single-quoted HTML attributes, query strings, repo-absolute
  and URL-encoded paths, untracked/ignored targets, inline code is skipped
- Anchors: emphasis, combining marks, setext headings, duplicate slugs and
  case-insensitive <a name> as GitHub generates them
- CLI check in docs also sees uvx --from flapi-io, env prefixes and paths
- Readme: Docker run points at the Quick Start project, server stops with
  Ctrl+C, full TOC, plainer MCP and tracing bullets
- Prepared-statement binding applies outside {{#...}} sections only; add the
  number and boolean validators
- The runtime image is :<tag>-runtime / :main-runtime, there is no
  :latest-runtime
- Telemetry aggregates reach PostHog as feature_used (feature = ...); route
  templates are sent, filled paths never; sample_rate outside (0,1) sends all
- log-http-requests redacts userinfo and query strings, not paths
- The Quick Start needs network access (the wheels fetch extensions); the
  one-config example names the env whitelist; MCP default, /mcp/health,
  resources and prompts, the pack deny list are back
- License wording follows LICENSE (hosted or embedded basis, trademarks,
  Change Date) instead of restating a period
- CONFIG_REFERENCE Path Security: escapes are a validate-config warning for a
  local config and fatal for a remote one; s3a/s3n/abfs are data only,
  azure:// is a config location
- AGENTS.md and the Dockerfile label comment say what actually runs
- yaml-includes.md still said a {{env.NAME}} in an included file is left as
  literal text; #165 changed that (ExtendedYamlParser::loadYamlFile)
- Verified with the 26.11.25 binary: an included auth.yaml with
  '{{env.API_PASSWORD}}' accepts the env value and rejects the literal
- --flapii / FLAPII_BIN paths are made absolute: CI passes the relative
  'node cli/dist/index.js', and the Quick Start runs in a temp dir
- Gone-words: 'deprecated'/'no effect' anywhere in the sentence; 'is/are/was
  ignored/removed/dropped' of the subject; 'drops'/'existed'/'ignored' only
  next to the term, so 'removed snapshots' no longer excuses a dead key
- Forbidden terms may be regexes (re:); port: 8081 no longer matches
  http-port: 8081
- Anchors: setext headings need the underline on the next line, front matter
  is skipped, emphasis is stripped outside code spans only
- Quick Start: a second serve block fails instead of leaking a server; the
  log handle is closed
- --set-version stamps the reference docs' flAPI Version header, and the
  version check compares it with CHANGELOG
- Readme: the PBKDF2 comment no longer reads as 'never a hash'
@jrosskopf
jrosskopf merged commit 4066301 into main Nov 25, 2026
32 checks passed
@jrosskopf
jrosskopf deleted the docs/gh-268-readme-entry-point branch November 25, 2026 12:21
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.

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

1 participant