cursus.mcp.tools.dag

dag.* tools — author, validate, and serialize a pipeline DAG.

This namespace wraps cursus.api.dag: PipelineDAG (build a topology from nodes + edges), PipelineDAGResolver (integrity validation, execution planning, dependency lookup), and the serializer helpers PipelineDAGWriter / export_dag_to_json / import_dag_from_json. DAGs cross the tool boundary as plain JSON ({"nodes": [...], "edges": [[src, dst], ...]}) so an agent can round-trip them.