Skip to content

docs: pre-release sweep — surface Phase 7 completion + MCP discoverability#74

Merged
joaoh82 merged 1 commit into
mainfrom
docs-sweep-pre-release
May 3, 2026
Merged

docs: pre-release sweep — surface Phase 7 completion + MCP discoverability#74
joaoh82 merged 1 commit into
mainfrom
docs-sweep-pre-release

Conversation

@joaoh82

@joaoh82 joaoh82 commented May 3, 2026

Copy link
Copy Markdown
Owner

Summary

Pre-release documentation audit ahead of v0.1.25 (which ships sqlrite-mcp to crates.io for the first time). Two themes:

  1. Phase 7 status drift. Phase 7 is now feature-complete except for the deferred FTS slice — but a lot of docs still said "in progress" / "implementation pending" / "ships in 7g.X-7g.Y". Flipped them all to past tense.
  2. MCP discoverability. sqlrite-mcp was only mentioned in its own README + the new docs/mcp.md. Anyone landing on the root README, an SDK README, or docs/embedding.md had no idea it existed. Added a one-line "Sibling products" cross-ref everywhere with the framing "use SDKs when YOUR code drives the DB; use MCP when an LLM AGENT drives it."

What changed

  • Root README.md — flipped Phase 4 / Phase 7 status markers; added a full "MCP server" install section with cargo install sqlrite-mcp + a Claude Code config snippet; rewrote the "Per-product wrappers ship in 7g.3-7g.8" claim into past tense including the MCP ask tool; flipped the "examples for every language" checkbox; dropped the stale 0.1.0 REPL banner literal.
  • docs/_index.md — refreshed Project state with Phase 7 achievements; flipped active frontier to Phase 8; bumped May 2026.
  • docs/roadmap.md — added an "Active frontier (May 2026)" callout up top; dropped "(in progress)" from Phase 3 and Phase 4 headings.
  • docs/phase-7-plan.md — flipped status to "complete except 7f"; rewrote "Next steps" as a retrospective.
  • docs/embedding.md — Phase 5b-5g rewritten in past tense; added 7g + 7h bullets.
  • docs/architecture.md — added a Workspace layout table covering every crate (engine, ffi, ask, mcp, four SDKs, desktop); refreshed the engine module map (connection.rs, ask/, hnsw.rs, json.rs); rewrote the stale "What's deliberately missing" section.
  • docs/supported-sql.md — added an HNSW indexes subsection under CREATE INDEX with the USING hnsw syntax + recall@10 default.
  • docs/smoke-test.md — dropped stale "123 tests pass" pin; added a cargo run --bin sqlrite-mcp -- --help smoke step (catches stdio_redirect regressions); updated format-version note (3 → 4).
  • docs/getting-started.md — refreshed repo-tree map to include all current workspace dirs + new engine modules; dropped 0.1.0 literal.
  • docs/usage.md + docs/desktop.md — small tense fixes; MCP cross-ref.
  • sdk/{python,nodejs,go,wasm}/README.md — added "Sibling products" cross-refs to sqlrite-mcp.
  • sqlrite-ask/README.md — NEW. The crate had no README; crates.io would render only the Cargo.toml description. Now has install snippet, "most users want the engine's ask feature instead", env-var config table, features, architecture notes, sibling products. Cargo.toml gets readme + keywords + categories fields for crates.io discoverability.
  • examples/README.md — added an MCP row pointing at docs/mcp.md.

No code changes. No new tests.

Test plan

  • cargo build --workspace clean
  • cargo test --workspace --exclude sqlrite-python --exclude sqlrite-nodejs --exclude sqlrite-desktop — all green (~340 tests across engine + sqlrite-mcp + sqlrite-ask + sqlrite-ffi)
  • Visual review on GitHub that the new "MCP server" section in the root README renders cleanly above the "Developer guide" section
  • Visual review that sqlrite-ask/README.md will render as expected once published to crates.io (no broken inline links)

Out of scope (intentional)

The audit also flagged some deeper rewrites that I left for follow-up PRs because they're architectural rather than just stale-text:

  • docs/storage-model.md — the upper sections still describe the pre-Phase-3e per-Column Index shape. Needs a real rewrite, not a touch-up.
  • docs/pager.md — the "Staging writes" code sample uses the pre-3c bincode-blob path. Same.
  • docs/sql-engine.md — dispatcher table doesn't include transaction statements; no mention of CreateIndex, JSON funcs, or vec funcs.
  • docs/design-decisions.md — stops at Phase 6; doesn't capture the Phase 7 architectural choices (sqlrite-ask split + dep-direction flip; MCP stdio fd-redirect trick).

These would be a separate "internals doc refresh" PR — not blocking the release.

🤖 Generated with Claude Code

…ility

Audit pass over docs/ + README + examples + SDK READMEs ahead of the
v0.1.25 release that ships sqlrite-mcp (Phase 7h) for the first time.
Phase 7 is now feature-complete except for the deferred FTS scope, so
a lot of "in progress" / "pending" / "shipping in 7g.X-7g.Y" wording
turned stale and needed flipping.

The biggest single gap was MCP discoverability — `sqlrite-mcp` was
only mentioned in its own README + a few cross-refs in the docs we
just shipped. Anyone landing on the root README, an SDK README, or
the Embedding doc would have no idea it existed. Added a one-liner
"sibling product" cross-ref everywhere.

## Changes

- **README.md** — flipped the Phase 7 "(in progress)" marker; added a
  full "MCP server" section near the desktop install with
  `cargo install sqlrite-mcp` + a Claude Code config snippet; rewrote
  the "Per-product wrappers ship in 7g.3-7g.8" claim into past tense
  with the MCP tool included; flipped the stale Phase 4 marker;
  flipped "examples for every language" checkbox to done; dropped the
  stale `0.1.0` REPL banner literal; rewrote the Phase 2 onboarding
  hint about persistence ("`.open` coming in Phase 2" → present-day
  "use `.open <path>`").
- **docs/_index.md** — refreshed the "Project state" with Phase 7
  achievements (vector + HNSW, JSON, ask family, MCP); added MCP to
  the published-artifacts list; flipped active frontier from "Phase 7"
  to "Phase 8 (FTS)"; bumped May 2026.
- **docs/roadmap.md** — added an "Active frontier" callout at the
  top; dropped "(in progress)" from Phase 3 and Phase 4 headings.
- **docs/phase-7-plan.md** — flipped status from "approved 2026-04-26
  — implementation pending" to "complete except 7f, deferred to
  Phase 8"; rewrote "Next steps" as a retrospective with pointers to
  the two scope-correction retros (7d's HNSW split into three sub-
  phases, 7g.2's dep-direction flip).
- **docs/embedding.md** — rewrote the Phase-5 status block (was
  future tense across 5b-5g) into a retrospective; added 7g + 7h
  bullets with the framing "use SDKs when YOUR code drives the DB,
  use MCP when an LLM AGENT drives it"; rewrote the
  "Per-product wrappers ship in 7g.3-7g.8" line.
- **docs/architecture.md** — added a Workspace layout table covering
  every workspace member (sqlrite-engine root, sqlrite-ffi, sqlrite-
  ask, sqlrite-mcp, the four SDKs, desktop) with what each does;
  refreshed the engine module map to include connection.rs, ask/,
  hnsw.rs, json.rs (all Phase 7 additions); rewrote the stale "What's
  deliberately missing" section (transactions/locks/concurrency now
  shipped — flipped to the actually-still-missing list: optimizer
  beyond eq-probe, joins, aggregates, network layer, streaming
  cursor).
- **docs/supported-sql.md** — added an HNSW indexes subsection under
  CREATE INDEX with the `USING hnsw` syntax + the recall@10 ≥ 0.95
  default + a note that brute-force still works without the index.
- **docs/smoke-test.md** — dropped the stale "123 tests pass" pin;
  added a one-line smoke step for `cargo run --bin sqlrite-mcp -- --help`
  to catch regressions in the stdio_redirect dance; updated the
  "unsupported format version" note (3 → 4, since 7a bumped it);
  dropped the `0.1.0` REPL banner literal.
- **docs/getting-started.md** — refreshed the repo-tree map to
  include sqlrite-ffi/, sqlrite-ask/, sqlrite-mcp/, sdk/{python,
  nodejs,go,wasm}/, examples/, scripts/, plus the new engine
  modules (connection.rs, ask/, hnsw.rs, json.rs); dropped the
  `0.1.0` REPL banner literal.
- **docs/usage.md** — flipped the future-tense "SDKs land in Phases
  5b – 5g" to past tense; added MCP cross-ref.
- **docs/desktop.md** — rewrote the "see Roadmap Phase 5" cursor-
  API line to point specifically at the deferred 5a.2.
- **sdk/{python,nodejs,go,wasm}/README.md** — added a "Sibling
  products" subsection to each pointing at sqlrite-mcp with the
  "your code vs LLM agent" framing.
- **sqlrite-ask/README.md** — NEW. The crate had no README, which
  means the crates.io page would render only the Cargo.toml
  description. Now: install snippet, "most users want the engine's
  ask feature instead", configuration env-var table, features table,
  architecture notes, sibling-products list. Cargo.toml gets the
  matching `readme = "README.md"` field plus keywords + categories
  for crates.io discoverability.
- **examples/README.md** — added an MCP row to the "Languages"
  table pointing at docs/mcp.md (no examples/mcp/ subdir — the
  doc covers the wiring directly, lower friction than maintaining
  parallel quickstart files).

No code changes; no new tests. Existing test suite still passes
(workspace builds clean, `cargo test --workspace` minus the SDKs
that need their own runners shows ~340 tests passing across the
engine + sqlrite-mcp + sqlrite-ask + sqlrite-ffi).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@joaoh82 joaoh82 merged commit 27c8029 into main May 3, 2026
16 checks passed
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.

1 participant