Skip to main content

Module cleanup

Module cleanup 

Source
Expand description

Protocol cleanup command: check for held resources and suggest cleanup.

Reads agent’s active claims (from bus) and stale workspaces (from maw) to produce cleanup guidance. Skips release commands for active bone claims.

Exit policy: always exits 0 with status in stdout (clean or has-resources). Operational failures (bus/maw unavailable) propagate as anyhow errors → exit 1.

Functions§

execute
Execute cleanup protocol: check for held resources and output cleanup guidance.