Review points
Pause agent work for a person before continuing.
Human input requests let package-backed tools ask for approval, a choice, a reason, a missing value, or an explicit resume signal while ExecWarden stores the request, answer, followup action, and audit context.
When to Use Human Input
Use human input when a tool has enough context to pause, show a concrete question, and continue after a person answers. Approval is one kind of human input: it decides whether a risky followup action may run. Generic input covers the other cases where the package needs a missing value, a reason, a selected option, or a deliberate resume signal.
Lifecycle
Package Contract
return {
ok: true,
userInputRequest: {
title: "Review production change",
summary: "Terminate instance i-123 in us-east-1?",
input: {
kind: "single_choice",
choices: [
{
id: "approve",
label: "Terminate",
style: "danger",
followup: {
capability: "pkg:aws-admin:instances.terminate.commit",
params: { instanceId: "i-123", region: "us-east-1" }
}
},
{ id: "reject", label: "Cancel" }
]
}
}
};Followups are deliberately narrow: they must target the same package namespace and still pass the source policy. Multi-choice answers are stored, but they do not execute followups in the first slice because batch semantics need a separate product shape.