Documentation

Workspace crates

Understand the role of the main workspace crates and reusable helper crates.

Core runtime crates

  • config: parse and validate configuration files
  • core: transform config into runtime specs and reusable domain types
  • daemon: own the CLI, TUI, supervision loop, and control server
  • process-host: provide process isolation and platform signal helpers
  • stack: own vectron stack planning, plugins, rendering, and execution

Shared helper crates

Examples include:

  • control-protocol
  • control-io
  • log-pipeline
  • log-render
  • log-template-render
  • format
  • fs
  • json-file
  • jsonl
  • tui-utils
  • workspace-state

Design rule

When behavior is shared across multiple crates, prefer a focused helper crate over duplicating the logic in daemon.