sprawl sync
📌 1. The Target Problem
When you pull updates to your global DNA rules registry, your active local workspaces fall out-of-sync. Running agents might continue using stale configurations, or their virtual environments might lack required dependencies, causing agent failures.
⚙️ 2. Usage & Options
sprawl sync [target_dir]
Options & Flags
target_dir: Optional workspace path (defaults to current folder).
🔍 3. How it Works (Under the Hood)
- Pulls current DNA files, schemas, and instructions matching dependencies in the manifest.
- Provisions a local Python virtual environment inside
.agents/.venvand installs loaded skills packages. - Aggregates rules files into a compiled, token-optimized
AGENTS.mdcontext file. - Regenerates local Claude Desktop/IDE MCP configuration files (
mcp_config.json).
🩺 4. Troubleshooting
- Virtual environment provisioning fails
- Resolution: Ensure Python 3.10+ and the standard
python3-venvlibrary package are present on your operating system.