Skip to content

fix(haiku): run summarization subprocess with --strict-mcp-config - #86

Closed
jacoubian wants to merge 1 commit into
Digital-Process-Tools:mainfrom
jacoubian:fix/haiku-strict-mcp-config
Closed

jacoubian wants to merge 1 commit into
Digital-Process-Tools:mainfrom
jacoubian:fix/haiku-strict-mcp-config

Conversation

@jacoubian

@jacoubian jacoubian commented May 30, 2026 •

Copy link
Copy Markdown

Withdrawn.

The Haiku summarization call spawns `claude -p ... --allowedTools <maybe empty>`
and never invokes a tool, but without --strict-mcp-config that subprocess loads
the user's globally configured MCP servers. For single-consumer channel plugins
this is actively harmful: the Telegram plugin allows exactly one getUpdates
consumer per bot token, so the poller booted by this subprocess SIGTERMs the
user's long-running session poller to claim the slot, then exits when the short
summarization call finishes — leaving the slot empty. The user's Telegram
channel goes silent until a manual /mcp reconnect.

Adding --strict-mcp-config makes the subprocess load zero MCP servers. It uses
no tools anyway, so this is pure win: no eviction of single-consumer channel
plugins, plus faster startup and lower overhead per call.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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