Skip to content

feat(hooks)!: remove the UserPromptSubmit knowledge-recall hook - #12

Merged
ExtraToast merged 1 commit into
mainfrom
fix/remove-recall-hook
Jul 3, 2026
Merged

feat(hooks)!: remove the UserPromptSubmit knowledge-recall hook#12
ExtraToast merged 1 commit into
mainfrom
fix/remove-recall-hook

Conversation

@ExtraToast

Copy link
Copy Markdown
Contributor

Removes the automatic UserPromptSubmit KB-recall hook entirely, for both Claude and Codex — the model now pulls KB context on demand via the recall skill/MCP instead of a per-prompt context-fetch hook (which added latency and blew its 5s timeout). Deletes the hook script + templates + installer wiring + manifest entries; keeps the recall skill, knowledge MCP, and the PreToolUse/Stop capture+digest hooks. All gates green: render --check, manifest validate, self-test, tsc, eslint, dependency-cruiser, vitest 100% (506 tests). Supersedes the timeout-tuning in #11.

BREAKING CHANGE: fresh installs no longer register a UserPromptSubmit recall hook.

Rely on the model invoking the KB via the recall skill/MCP on demand rather
than an automatic prompt-context-fetch hook (it added latency to every prompt
and blew its timeout budget). Removes the hook script + templates + installer
wiring + manifest entries for BOTH Claude and Codex; keeps the recall skill,
the knowledge MCP, and the PreToolUse/Stop capture+digest hooks intact. Updates
the agent-session-bootstrap skill docs and the hook-scope-surface test.

BREAKING CHANGE: installs no longer register a UserPromptSubmit recall hook.
@ExtraToast
ExtraToast merged commit 1202b78 into main Jul 3, 2026
8 checks passed
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