Specdag

•

Validate, assemble, and render dependency maps for event-driven systems in Event-Spec-Driven Development (ESDD).

Specdag is a lightweight CLI and Model Context Protocol (MCP) server designed to define and validate the intended architecture of event-driven systems using decentralized dependency maps. It functions as a normative control layer for specifications, ensuring clean event flows, safety approvals, and verification gates before system implementation. The tool models desired architectural dependencies, distinguishing them from observed reality in code, helping to prevent semantic drift and reconcile 'what should be true' with 'what actually exists'.

Características Principales

01Generate Mermaid diagrams for critical paths, approvals, events, and other architectural views.
020 GitHub stars
03Perform impact analysis to identify all downstream components affected by a node change.
04Validate and assemble local dependency maps into a global Spec-DAG.
05Produce static HTML review reports with KPIs, metrics, and gap warnings.
06Expose an MCP server with tools for AI agents to interact with architectural specifications.

Casos de Uso

01Reconciling intended architectural specifications with observed code reality to manage evidence gaps and make informed decisions.
02Ensuring normative control over event specifications, clean event flows, and verification gates prior to implementation.
03Defining and validating the intended architecture of event-driven systems using declarative dependency maps.