From 21765c2a47f13066377ae2cea5adef367847ce72 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Mon, 17 Aug 2026 12:17:30 -0500 Subject: [PATCH] docs: put the docs-drift warning where nobody can miss it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rule was already in both READMEs, and in both it was a subordinate clause at the end of something else — a trailing "because nothing fails when the two disagree" here, a closing section titled "The seam this repository opens" there. Written, and easy to read past. Both are now a callout: what breaks, that nothing tells you, and what to do instead. The docs repository's moves to the top, above how to run it, because someone opening that repository is usually about to edit a page. Deliberately not in the marketing site. That risk belongs to whoever changes the API, not to whoever is deciding whether to try the framework. Signed-off-by: Diego Resendez --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dda1bdb..9232a26 100644 --- a/README.md +++ b/README.md @@ -257,9 +257,12 @@ green-tea is **beta**, on the road to a release candidate. Express and Fastify h ## Docs & development -- **[green-tea.expressive-tea.io/docs](https://green-tea.expressive-tea.io/docs)** — getting started, concepts (the graph, `flow`), and guides: routing, DI, validation, uploads, streaming, HTML, security, errors, introspection, OpenAPI, plugins, mesh, runtimes, testing. Its source lives in [green-tea-docs](https://github.com/Expressive-Tea/green-tea-docs); a change to public API here needs a matching change there, because nothing fails when the two disagree. +- **[green-tea.expressive-tea.io/docs](https://green-tea.expressive-tea.io/docs)** — getting started, concepts (the graph, `flow`), and guides: routing, DI, validation, uploads, streaming, HTML, security, errors, introspection, OpenAPI, plugins, mesh, runtimes, testing. Its source lives in [green-tea-docs](https://github.com/Expressive-Tea/green-tea-docs). - **[matcha](https://github.com/Expressive-Tea/matcha)** — the CLI. `matcha new` scaffolds a project (Node, Deno, or Bun), `matcha create` generates and auto-wires controllers/steps/providers/modules, `matcha run` detects your runtime and watches. A standalone Rust binary — no JS runtime needed to install it. +> **Changing public API? The docs are a separate repository now, and nothing tells you when you break them.** +> [green-tea-docs](https://github.com/Expressive-Tea/green-tea-docs) imports nothing from here, so no build fails and no test turns red when a guide describes an API that no longer exists. **A pull request that changes public API updates the page documenting it, in the same pull request.** This is a rule rather than a check because no check exists yet — issue #18 is what a stale page looks like from a user's side, and that happened while both still lived in this repository. + ```bash npm install npm test # vitest (Node only) — the fast loop, ~2s