Skip to main content

Module agent_lifecycle

Module agent_lifecycle 

Expand description

Shared agent lifecycle primitives used by RPC, gateway, and CLI adapters.

Structs§

AgentDeletePreflight
OwnedStateReport
RenameStateReport
WorkspaceArchiveReport

Functions§

archive_agent_workspace
cascade_owned_state
cascade_rename_agent
live_acp_session_count
plan_agent_delete
Reusable, fail-closed agent deletion preflight.
plan_agent_delete_with_acp_count
Build a deletion preflight from an ACP count obtained by the owning adapter. RPC uses this form so SQLite work runs off the Tokio worker and reuses the daemon-owned store.