[KongchangAI]
ConceptHook

Command Hook

An interception point exposed by agent tools before invoking the underlying shell. It allows the agent to pass the command string to the hook for approval, questioning, or rejection before executing the command, thereby intercepting destructive operations before side effects occur.

Timeline (last 90 days)

Oct 25

Command hooks occur before side effects happen and can stop destructive operations, but they only see the line about to execute and cannot understand transitive dependencies.

Unverified50%

All Facts (1)

Source Articles