trapfall-proto → Sentry protocol types (wire format)
trapfall-db → Data layer (SQLite + Postgres dual backend, migrations)
trapfall-core → Store abstraction, fingerprinting (Blake3)
trapfall-ingest → Envelope parser (Sentry SDK format)
trapfall-mcp → MCP server (12 tools)
trapfalld → Binary: HTTP server, auth, WebSocket, alert engine, SPA serving
What
Create
ARCHITECTURE.mddocumenting the post-cleanup 6-crate structure and where each feature actually lives.Why
BMAD COO finding: There is no architecture document. Contributors must guess where code lives. After the v0.3.0 crate consolidation (9→6), documentation is critical to prevent future ghost-crate confusion.
Content Outline
trapfalld/src/alert.rs(NOT a separate crate)web/served viatrapfalld/src/spa.rstrapfalld(delegates totrapfall-db)trapfalld/src/auth.rstrapfalld/src/config.rsTesting