tools.swarm_state_tools module

Tools to expose the Swarm Engine state to sub-agents.

This enables peer-to-peer messaging via the explicit write_to_workbench logic and transparent introspection to infinite-context paginated memory tracking.

V12: Defensive hardening — directory safety, type coercion, orphan cleanup, split-brain resilience, and active-only fork-bomb cap.