Skip to content

Elicitation hooks not fired when using AskUserQuestion tool #45

@jsosa-netizen

Description

@jsosa-netizen

Description

The Elicitation hook defined in ~/.claude/settings.json never fires
when Claude Code is running inside Warp. The hook is configured correctly
and works as expected in other terminals (confirmed by adding a log line
that is never written to disk).

The Stop hook works correctly in Warp.

Expected behavior

When Claude calls AskUserQuestion, the Elicitation hook should execute
before or alongside the question popup, the same as it does in standard terminals.

Actual behavior

The hook never runs. No log file is created, no command is executed.

Environment

  • Claude Code CLI
  • Warp terminal with warp@claude-code-warp plugin enabled
  • Windows 11

Hook configuration (settings.json)

{
"hooks": {
"Elicitation": [{ "hooks": [{ "type": "command", "command": "...", "shell": "powershell", "async": false }] }],
"Stop": [{ "hooks": [{ "type": "command", "command": "...", "shell": "powershell", "async": true }] }]
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions