Feature request: a hook event for "agent is awaiting user input" (Notification-equivalent)
- Dominant language
- Rust
- Stars
- 54.2k
- Forks
- 6.2k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 262
Description
Goose's command-based hooks (`SessionStart`/`End`, `Stop`, `UserPromptSubmit`, `PreToolUse`/`PostToolUse`, …) make it easy for an external command to observe the agent. `Stop` gives turn-end, but there's no event that fires specifically when goose **pauses awaiting a human decision** — a tool-approval prompt or an interactive question (the "your turn" state). Claude Code exposes this as its `Notification` hook, and the Open Plugins hooks spec goose follows has room for it.
**Request:** add a `Notification`-style command hook that fires when goose blocks pending user input, with a payload noting the reason (e.g. `tool_permission`, `prompt`).
**Why:** external status tools — status bars and remote monitors — want a single reliable "waiting on you" signal rather than inferring it from `PreToolUse` (which fires on every tool, not on the block itself). Benefits any observer.
Contributor guide
Assessment
This issue has not been assessed yet.