ee744a6994
## Summary Removes the Modal-based distributed execution machinery (`COGNEE_DISTRIBUTED`) from cognee: - **`distributed/` package** — Modal app, image, queues, signal, graph write batching, queued-write tasks, and the data-point/graph saving workers. **`distributed/deploy/` is intentionally kept**: those are the one-click API-server deployment templates (Modal, Fly.io, Railway, Render, Daytona) referenced from the README deployment table, unrelated to distributed execution. - **Pipeline wiring** — `run_tasks_distributed.py` and the `override_run_tasks` / `COGNEE_DISTRIBUTED` env switch in `run_tasks.py`. - **Adapter hooks** — `@override_distributed` queue-diversion decorators and `distributed.*` imports in the Neo4j adapter (`add_nodes`/`add_edges`) and PGVector adapter (`create_data_points`). - **Packaging** — the `distributed` extra (modal dependency) and the `distributed` wheel package in `pyproject.toml`; `uv.lock` rebuilt (modal + ~20 transitive deps dropped). - **CI / Docker** — `distributed_test.yml` workflow, the informational-only `distributed-tests` job in `test_suites.yml`, the `COPY ./distributed` Dockerfile layer, and `--extra distributed` in `Dockerfile.ci`. - **Tests / docs** — queue-task and write-batch unit tests (`test_islo_sandbox.py` kept — it tests the deploy templates); extras lists in `CLAUDE.md`, `AGENTS.md`, `cognee-mcp/README.md`; stale comment in `add_data_points.py`. ## Verification - `ruff check` (pinned v0.15.11) clean on all touched Python files; `ruff format --check` unchanged vs dev. - `import cognee`, `run_tasks`, and the Neo4j adapter import cleanly; PGVector adapter compile-checked (venv lacks optional asyncpg). - `cognee/tests/unit/modules/pipelines`: **67 passed**. - Repo-wide grep confirms no remaining references to `run_tasks_distributed`, `override_distributed`, `COGNEE_DISTRIBUTED`, or the removed extra. Closes COG-6100 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>