hey-dave system map

hey-dave system map An architecture diagram generated by Archify. CLI · dave · run · init · doctor · Architecture component CLI dave · run · init · doctor UI adapters · TUI · dave run · bg host · Architecture component UI adapters TUI · dave run · bg host Runtime + context catalog · subject · policy · manifest · Core Runtime + context catalog subject · policy · manifest ConfigManager · merge · validate · undo · Architecture component ConfigManager merge · validate · undo Sessions · JSONL · context · compact · Core Sessions JSONL · context · compact AgentLoop · rounds · events · Core · core/loop.py AgentLoop rounds · events core/loop.py Providers · openai · codex · ollama · Architecture component Providers openai · codex · ollama PermissionGate · rules · cards · proposals · Core PermissionGate rules · cards · proposals Tools · fs · bash · delegate · plan · Architecture component Tools fs · bash · delegate · plan Skills · plugins · MCP · web · foreign sources · Architecture component Skills · plugins MCP · web · foreign sources SubagentRunner · Task charges · bounds · D.A.V.E. SubagentRunner Task charges · bounds State services · Core records · transactions · D.A.V.E. State services Core records · transactions Pi shim · npm prefix · Node · one per ext · Architecture component Pi shim · npm prefix Node · one per ext Daemon · supervise · chat · API · Architecture component Daemon supervise · chat · API launch input · events settings turns persist stream tool calls allowed register delegate dave_* tools MCP stdio · Node dave daemon supervises bg hosts Core D.A.V.E. Legend Frontend Backend Database Cloud Security Message bus External

Design rules

  • • One process, one user, one terminal
  • • The core emits events; the TUI and dave run render them

Trust

  • • The model is untrusted: every call passes the gate
  • • Outward writes need a per-proposal yes; children inherit only read grants

Vault and Tasks

  • • DaveState is the only vault writer; the journal is append-only
  • • Task work, memory and sync: specs 11–12 and the stage files