Developers / architecture · v3.1.3
Architecture
Required core modules vs optional integrations across CLI, MCP, SQLite, Monitor, and Companion.
Required Core vs Optional Components
DevWorkflow Core runs completely locally with Node.js + SQLite WAL. Optional extensions layer on top without creating hard runtime dependencies.
| Component | Classification | Responsibility |
|---|---|---|
| DevWorkflow Core (workflow-state.js, tools/) | Required | Task contracts, plan tracking, DoD gates, security redaction |
| devwf CLI (bin/cli.js, cli/) | Required | Headless CLI interface for diagnostics, session ops, and fleet control |
| SQLite WAL Store (db/adapters/sqlite.js) | Required | Local-first transactional persistence (.state/workflow.db) |
| MCP Stdio Server (index.js) | Required | JSON-RPC stdio bridge for AI coding agents |
| Monitor Server (monitor-server/) | Optional | Multi-session dashboard, share links, and fleet parity view |
| Zettly / Sentry Integrations | Optional | Human planning Todo sync and Sentry issue linking |
| Android Companion (mobile-app/) | Optional | Read-heavy cockpit and pairing client for tablet monitoring |