Skip to content

knowledge write tools: global-only semantic context - #1

Merged
rubywerman merged 1 commit into
ruby/w-23867374-knowledge-mcp-toolsfrom
ruby/knowledge-write-global-only
Sep 8, 2026
Merged

knowledge write tools: global-only semantic context#1
rubywerman merged 1 commit into
ruby/w-23867374-knowledge-mcp-toolsfrom
ruby/knowledge-write-global-only

Conversation

@rubywerman

Copy link
Copy Markdown
Owner

node-scoped semantic-context writes are gated off for GA — TK returns node_semantic_context_disabled (403) for any target_node_id write, because node-scoped context is Tableau-owned and arrives via ingestion (confirmed w/ rami). the mcp create tool advertised targetNodeId anyway, so agents picked it and got a bare 403. this locks the write tools to global to match.

  • create-knowledge-semantic-contexts: drop targetNodeId/isGlobal, always send is_global: true
  • update-knowledge-semantic-contexts: drop targetNodeId/isGlobal, only statements/name
  • validateCreateAttachment removed; validateUpdate reduced to "at least one of statements/name"
  • reads (list/search) unchanged — ingested node context stays readable as SEMANTIC_CONTEXT_EXTERNAL
  • SDK method + knowledgeApi.ts still accept target_node_id for when the gate flips post-GA; only the tool surface is locked

verification: 74/74 knowledge tests pass, eslint clean, tsc --noEmit clean.

node-scoped writes are gated off for GA (TK returns node_semantic_context_disabled),
so drop targetNodeId/isGlobal from create + update. create always sends is_global:true;
update only touches statements/name. reads (list/search) unchanged.
@rubywerman
rubywerman merged commit e0c2e82 into ruby/w-23867374-knowledge-mcp-tools Sep 8, 2026
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