Approvals and structured questions
Kheish can stop a run and wait for an operator or user decision without losing execution state.Approvals
Approvals are triggered when a tool execution requires human review under the active permission policy. An approval captures:- the pending tool call
- the justification context
- the request identifier used for resolution
Structured user questions
Structured user questions are used when the agent needs explicit input rather than guessing. They are designed for:- multiple-choice or constrained answers
- optional declines
- resumable execution after the answer is posted
Operational effect
Both approvals and structured questions push the run into a waiting state. This lets:- another client resolve the wait later
- the daemon restart and restore the pending state
- operators inspect the exact blocking reason through the API and CLI
