Template L · Concept · D2 Tool Design + Integration

SDK Hooks (Pre/PostToolUse).

2 min read·1 sections·Tier B

Hooks are deterministic code that runs before or after tool calls. They enforce policy that prompt-only patterns can't guarantee, refund limits, identity verification, audit logging. The exam pattern: prompt-only enforcement is wrong; hook is the deterministic gate. Full content in SCRUM-21 follow-up.

Synthesis pendingDomain 2
Loop mascot — focused mood for SDK Hooks (Pre/PostToolUse).
Domain D2Tool Design + Integration · 18%
On this page
01 · Summary

TLDR

Hooks are deterministic code that runs before or after tool calls. They enforce policy that prompt-only patterns can't guarantee, refund limits, identity verification, audit logging. The exam pattern: prompt-only enforcement is wrong; hook is the deterministic gate. Full content in SCRUM-21 follow-up.

2
Hook types
D2
Exam domain
prompt-only policy
Trap
B
Coverage tier
deterministic
Right answer
Coverage tier B

This concept has a stub page — vault sources are catalogued but full content lands in a SCRUM-21 follow-up pass. Sources: ACP-T03 §4.2 enforcement hierarchy; ACP-T03 §4.4 prompt vs hook trap; ASC-A01 Course 6.