Why
The DB consolidation in #120 replaces the entire legacy SQL function surface (~66 functions) with a unified ~12-function set over the document store. The Nyuchi Design MCP server (design.nyuchi.com/mcp) currently boots from mcp_tool_registry and calls the legacy functions (get_component, list_components, get_brand_tokens, get_doc, list_skills, get_ubuntu_*, etc.), which read the old reference tables.
When #120 drops the legacy functions + tables, the live MCP will break. This is accepted and intentional — we are rebuilding the tools wholesale, not patching them.
Scope
Also affects
Blocked by #120.
Why
The DB consolidation in #120 replaces the entire legacy SQL function surface (~66 functions) with a unified ~12-function set over the document store. The Nyuchi Design MCP server (
design.nyuchi.com/mcp) currently boots frommcp_tool_registryand calls the legacy functions (get_component, list_components, get_brand_tokens, get_doc, list_skills, get_ubuntu_*, etc.), which read the old reference tables.When #120 drops the legacy functions + tables, the live MCP will break. This is accepted and intentional — we are rebuilding the tools wholesale, not patching them.
Scope
read_documents,put_document,read_versions,emit_event,query_events,log_release,record_doctrine_change, count/summary fnsmcp_tool_registryrow'ssource_table/ handler to the new functions (registry-driven, no per-tool code)input_schema/output_shapefor the document-shaped responses (returnsdocument jsonb, not flat typed columns)get_design_tokens/get_brand_inforesolve for all five brands (known pre-existing bug)[object Object]) in remaining tool response handlers (known pre-existing bug)Also affects
nyuchi-docs-apiCloudflare Worker readsdocumentation_pagesdirectly via PostgREST — must repoint to thedocumentationdocument collection (or toread_documents).design.nyuchi.com) typed routes — confirm contract strategy during DB consolidation → single source of truth: document store + unified function set (4.1.0) #120 cutover.Blocked by #120.