Skip to content

Keep the MCP, CLI, and examples docs in step with what ships - #716

Merged
arrry-hydraDB merged 1 commit into
hydra-db:mainfrom
jaywyawhare:docs/drift-fixes
Dec 5, 2026
Merged

arrry-hydraDB merged 1 commit into
hydra-db:mainfrom
jaywyawhare:docs/drift-fixes

Conversation

@jaywyawhare

@jaywyawhare jaywyawhare commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bring the MCP, CLI, and examples docs back in line with what ships, and add a test in both SDKs so they cannot drift silently again. docs/mcp.md now states 57 tools and lists upsert_text and upsert_facts, docs/cli.md names upsert text and upsert facts with insert as the alias, and examples/README.md lists every Python and TypeScript example, including a new TypeScript quickstart.

Implementation details

Decisions

  • Fix the stated tool count (55 to 57) and add upsert_text and upsert_facts to the tool table, the idempotentHint row, and the read-only exclusion note.
  • Name upsert text and upsert facts in the CLI command table and note that insert text and insert facts still work as aliases.
  • List the three tutorial scripts in examples/README.md and add a TypeScript table for typescript/examples.
  • Add typescript/examples/quickstart.mjs, a port of quickstart.py; both print the same output.
  • Add tests/test_docs_drift.py and typescript/test/docsDrift.test.ts: each checks the stated tool count, that every registered tool is named in docs/mcp.md, and that every example is listed in examples/README.md.

Validation

  • All six new tests fail on base and pass here.
  • scripts/precheck.py passes (117 changed lines, clean trial merge).
  • Full suites on Kuzu pass: Python 1,784 passed, TypeScript 1,463 passed. Ruff, lint, typecheck, and build pass.

Limits

Docs, one example, and tests only; no SDK, CLI, or MCP behavior change. sync_quickstart, extract_from_text, and with_llm stay Python-only.

Linked issue

Closes #715

AI Assistance

AI tools helped write and test parts of this. I reviewed and ran every change.

Checklist

  • Implements an issue a maintainer has /approved.
  • Small and scoped to that issue.
  • New errors have a code and hint, the same on API, CLI, and MCP in both SDKs (see AGENTS.md). No new codes.
  • Breaking changes described below, or none.

Breaking changes

None.


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

@arrry-hydraDB arrry-hydraDB added docs Docs only effort: S Under ~50 lines, one place labels Dec 5, 2026

@arrry-hydraDB arrry-hydraDB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arrry-hydraDB
arrry-hydraDB merged commit 00b78d5 into hydra-db:main Dec 5, 2026
50 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Docs only effort: S Under ~50 lines, one place

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep the MCP, CLI, and examples docs in step with what ships

2 participants