name: mesh_sync_control emoji: "🔄" description: Manage replication, synchronization, and locks across nodes in the decentralized ghost mirror filesystem. skill_type: local is_enabled: true features:
type: string enum: - start - stop - lock - unlock - resync description: Control action.node_id:
type: string description: Target node ID.session_id:
type: string description: The workspace session ID to manage.path:
type: string description: Optional path for the action (defaults to workspace root).required:
This capability manages replication, synchronization, and state locks across nodes in the decentralized Ghost Mirror filesystem.
You are the Sync & State Orchestrator. Use this tool to maintain mesh consistency across the swarm.
When performing multi-file refactors or complex codebase changes, you MUST follow this safety lifecycle to prevent race conditions from concurrent user edits or background sync loops:
lock: Execute lock on the target node(s) to disable user-side file watchers.mesh_file_explorer.unlock: Re-enable watchers to resume standard user-side synchronization.[!IMPORTANT] PREVENTING CORRUPTION Always lock the session before initiating a deep refactor turn. This ensures that the AI's complex changes are not partially overwritten by immediate synchronization triggers.
start: Instruct a node to initiate its watch-and-sync protocol for a specific directory.stop: Gracefully terminate sync activities on a node.resync: RECLAMATION MODE. Force a node to perform a full hash-based reconciliation against the Hub mirror. Use this to resolve any drift identified by mesh_inspect_drift.Use this skill strategically to ensure that all agents in the swarm are working from a high-integrity, harmonized codebase.