chore: strip record-message/record-tool-call hooks (retired server-side) - #8
Merged
Merged
Conversation
Cedar server PR #2230 (feat/external-mcp: universal per-tool intent
capture) deleted the `record-message` and `record-tool-call` MCP tools.
All three hooks in hooks.json referenced those now-deleted tools:
- UserPromptSubmit -> record-message
- Stop -> record-message
- PostToolUse -> record-tool-call
Conversation/intent capture is now universal and connector-agnostic:
the server injects self-reported intent fields into every tool's input
schema, so no plugin hooks are needed. Left in place, these hooks call
tools that no longer exist ("tool not found" on every prompt/tool use).
- Remove cedar-plugin/hooks/hooks.json entirely (no hooks remain).
- Drop the now-inaccurate "conversation capture on hook-capable
surfaces" clause from the plugin description.
- Bump plugin version 0.1.0 -> 0.1.1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This is the required companion change for cedar-mail #2230 (feat(external-mcp): universal per-tool intent capture, retire record-* hooks), which was merged into
cedar-mailon 2026-07-22.That PR deleted the
record-messageandrecord-tool-callMCP tools from the Cedar server. All three hooks in this repo'shooks/hooks.jsoninvoke those now-deleted tools:UserPromptSubmitrecord-messageStoprecord-messagePostToolUserecord-tool-callConversation/intent capture is now universal and connector-agnostic: the server injects self-reported intent fields (
user_request_summary,is_new_request) into every tool's input schema and persists them server-side, so no plugin hooks are needed. Left as-is, these hooks fire a "tool not found" on every prompt and tool call — it fails cleanly but is noisy for anyone on a lagging plugin install.Changes
cedar-plugin/hooks/hooks.jsonentirely — every hook it defined pointed at a deleted tool, so nothing remains to keep.Note on sequencing
cedar-mail #2230 has already merged, so this repo is currently the lagging side. Merging this promptly stops the "tool not found" noise for plugin users.