Skip to content

docs: gateway-first README + split engine internals into engine/README#23

Open
JinBa1 wants to merge 1 commit into
mainfrom
docs/readme-rewrite
Open

docs: gateway-first README + split engine internals into engine/README#23
JinBa1 wants to merge 1 commit into
mainfrom
docs/readme-rewrite

Conversation

@JinBa1

@JinBa1 JinBa1 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

The root README led with "an in-memory relational query engine" and listed only engine SQL features — the REST + MCP gateway was invisible. This reframes it around what the project now is: a self-hosted, read-only, budgeted SQL gateway that AI agents reach over REST and MCP.

Changes

  • Root README.md — gateway-first and punchy: tagline + why, a capability matrix (gateway + engine), a container-first quick start (docker run -v <csvs>:/cuckoodb/data … ghcr.io/jinba1/cuckoodb), the five MCP tools, the REST surface with fail-closed budget semantics (429/504), a real EXPLAIN example, and a short "how it works" (the QueryService choke point). ~870 words.
  • engine/README.md (new): the deep engine internals relocated here — architecture, scope, CLI usage + demo, total-work budgets, full EXPLAIN, join algorithms, the JMH benchmark table, the sample-query runner, and the engine layout.

Accuracy pass

  • EXPLAIN examples regenerated from real CLI output — the planner auto-selects HashJoin for equi-joins; the old README showed a plain Join, which was stale.
  • Test counts corrected to engine 419 + server 90 (was "339"); file counts refreshed.
  • Verified the GHCR image is live and the docker run quick start works (/tables, /queries, /mcp).

Docs only — no code change.

…als into engine/README

The root README led with "an in-memory relational query engine" and listed only
engine SQL features — the REST + MCP gateway was invisible. Reframe it around what
the project now is: a self-hosted, read-only, budgeted SQL gateway that AI agents
reach over REST and MCP.

- root README: gateway-first and punchy — tagline + why, a capability matrix
  (gateway + engine), a container-first quick start, the five MCP tools, the REST
  surface with fail-closed budget semantics (429/504), a real EXPLAIN example, and a
  short "how it works" (the QueryService choke point). Links to the engine README.
- engine/README.md (new): the deep engine internals relocated here — architecture,
  scope, CLI usage + demo, total-work budgets, full EXPLAIN, join algorithms, the JMH
  benchmark table, and the sample-query runner.
- accuracy pass: EXPLAIN examples regenerated from real CLI output (the planner
  auto-selects HashJoin for equi-joins; the old plan showed a plain Join); test
  counts corrected to engine 419 + server 90; file counts refreshed.

Docs only — no code change.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants