Skip to main content

execute_freeze

Function execute_freeze 

Source
pub async fn execute_freeze(
    actor_store: &ActorStore,
    pool: &SqlitePool,
    target_id: &str,
) -> KernelResult<Vec<String>>
Expand description

Execute a freeze operation: set target to frozen status, cascade to dependents.

Freezing suspends all state-changing actions. PIP-001 §5/§6: Agents have no children, but when a Human freezes, all agents they created (whose lineage contains the human_id) are also frozen.