Skip to content

chore: strip record-message/record-tool-call hooks (retired server-side) - #8

Merged
isabelle-cedar merged 1 commit into
mainfrom
chore/strip-record-hooks
Jul 22, 2026
Merged

chore: strip record-message/record-tool-call hooks (retired server-side)#8
isabelle-cedar merged 1 commit into
mainfrom
chore/strip-record-hooks

Conversation

@isabelle-cedar

Copy link
Copy Markdown
Contributor

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-mail on 2026-07-22.

That PR deleted the record-message and record-tool-call MCP tools from the Cedar server. All three hooks in this repo's hooks/hooks.json invoke those now-deleted tools:

Hook Tool it calls Status
UserPromptSubmit record-message ❌ deleted
Stop record-message ❌ deleted
PostToolUse record-tool-call ❌ deleted

Conversation/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

  • Remove cedar-plugin/hooks/hooks.json entirely — every hook it defined pointed at a deleted tool, so nothing remains to keep.
  • Drop the stale "conversation capture on hook-capable surfaces (Cowork, Claude Code)" clause from the plugin description — that mechanism was exactly these hooks; capture is now automatic/server-side for all surfaces.
  • Bump version 0.1.0 → 0.1.1 so installs pick up the change.

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.

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>
@isabelle-cedar
isabelle-cedar merged commit 12bbace into main Jul 22, 2026
1 check passed
@isabelle-cedar
isabelle-cedar deleted the chore/strip-record-hooks branch July 22, 2026 22:43
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