AgentsKit Chat Alpha
Actions

Typed action confirmation

View canonical Markdown

Typed action confirmation

Without persistent storage, an actionable choice moves from pending directly to approved, rejected, or expired after upstream success. Persistent cross-client sessions first claim approving, rejecting, or expiring through storage CAS, delegate only from the winning client, then persist the matching terminal status.

FieldMeaning
tokenOpaque session correlation handle; not authentication
sessionIdSession allowed to approve or reject
actionRegistered upstream tool name
inputValidated, immutable argument snapshot
toolCallIdCanonical AgentsKit tool-call identity
expiresAtAbsolute expiry checked before approval
statuspending; processing approving, rejecting, expiring; or terminal approved, rejected, expired

Persistent resolution is claimed before delegation, so concurrent replay cannot execute twice. A failure or crash after the claim leaves an accurate processing record for host reconciliation; processing and terminal records are inert on resume. In-memory resolution preserves retryable behavior by marking the outcome only after upstream success. A token from another session is inert.

This slice does not claim to be an audit ledger. Policy work may observe these fields and the upstream tool lifecycle, attach approver identity, and persist audit events without changing the execution path.