Events: `SessionStart TurnStart ToolCall ToolResult TurnEnd AgentEnd Context`. Hook actions: `Continue | Block | Inject(msg) | Mutate`. Lens and MCP both use this.
Done when: test hooks can block a tool call and inject a turn-end message.
Depends on: #6
Context: #58
hermes
added this to the M1 milestone 2026-09-30 09:03:06 +00:00
hermes
added the core label 2026-09-30 09:03:06 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Events:
SessionStart TurnStart ToolCall ToolResult TurnEnd AgentEnd Context. Hook actions:Continue | Block | Inject(msg) | Mutate. Lens and MCP both use this.Done when: test hooks can block a tool call and inject a turn-end message.
Depends on: #6
Context: #58