Skip to content

[Production] Release 2026-10-09 - #302

Merged
wasimxyz merged 1 commit into
productionfrom
staging
Oct 9, 2026
Merged

wasimxyz merged 1 commit into
productionfrom
staging

Conversation

@wasimxyz

@wasimxyz wasimxyz commented Oct 9, 2026

Copy link
Copy Markdown
Member

No description provided.

* Bundle the docs pages into the web app for the MCP server

A script in the docs site writes every hand-written docs page as Markdown
into web/lib/mcp/docs/, using the same text the site serves at /docs/<page>.md.
make docs-catalogs runs it last, and docs-lint.yml fails when the committed
copy is stale.

The docs package becomes an ES module package so Node can load the Fumadocs
output, and gains tsx to run the script.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Answer questions about Data Hub through search_docs and read_doc

Adds two MCP tools and a datahub://docs/{page} resource template that serve
the bundled docs pages and the changelog. search_docs returns up to five
matching sections with excerpts and links, and lists every page when nothing
matches. read_doc returns one page or one section, so no call loads all the
docs. Analytics record result counts and page IDs, never the query text.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Rewrite the MCP server instructions to fit Claude Code's 2 KB limit

The old text was 2.2 KB, so Claude Code cut off the feedback guidance. The
new text says what Data Hub is, points how-to questions at search_docs, and
no longer sends agents to the glossary resource, which most clients cannot
read on their own.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Test docs search, the docs tools, and the instructions size

Adds 21 golden questions that each name the page that should answer them,
tests for the Markdown helpers and page references, protocol tests for the
two tools and the resource template, analytics tests, and a test that keeps
the server instructions under 2 KB. The integration test also calls both
tools against the production build, which proves the bundled docs and the
changelog ship with the app.

A test found that a card description ending in a period got a second one in
search excerpts, so that is fixed too.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Document answering questions about Data Hub over MCP

Adds a section to the MCP overview page, a changelog entry, a developer page
on how the docs bundle and search work, and notes in AGENTS.md and
docs/site/AGENTS.md that docs changes need make docs-catalogs. The bundled
docs are regenerated to include the new MCP section.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Keep angle brackets and drop table rules in docs excerpts

Excerpts lost the closing > of text such as <token_id> and showed rows of
table dashes. Docs resource names now add a page suffix only to the second
and later pages that share a title, so the first stays plain.

Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>

* Rename the docs corpus files to docs bundle

Co-authored-by: Cursor <cursoragent@cursor.com>

* Flag docs searches that don't answer the question, and address review

search_docs now counts a section as an answer only when it holds two thirds of the question's words and every word appears in the docs. Otherwise it adds a hint that names missing words and offers send_feedback, and analytics counts it in the 0 bucket. Watcher bump instructions now regenerate the docs bundle, the code uses 'bundle' instead of 'corpus', and the MCP catalog carries the tool group labels the docs site reads.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Wasim Amiri <wasimxyz@users.noreply.github.com>
@wasimxyz wasimxyz self-assigned this Oct 9, 2026
@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
data-hub (staging) Ready Ready Preview Oct 9, 2026 6:28pm UTC
data-hub-docs Ready Ready Preview Oct 9, 2026 6:28pm UTC

Request Review

@wasimxyz
wasimxyz merged commit d83301d into production Oct 9, 2026
14 checks passed

This branch was successfully deployed

2 active deployments
staging – data-hub — 57d95b61 Deployed Oct 9, 2026 by vercel[bot]
Preview – data-hub-docs — 57d95b61 Deployed Oct 9, 2026 by vercel[bot]
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