server
Server owns the product ingress boundary.
Language: rust
Path: crates/server
Owns:
- CoreCommand transport contract
- JSON command decoding and response encoding
- local in-process core endpoint
- shell/API/MCP-facing dispatch shape
Must Not:
- render UI
- own durable storage tables
- implement provider/model logic
- bypass CoreCommand/CoreResponse
Inputs:
- CoreCommand values
- CoreCommand JSON
Outputs:
- CoreResponse values
- CoreResponse JSON
Depends On:
- engine
- proto
Used By:
- CLI/TUI/Web/MCP adapters
- Python native bridge
Verify:
- cargo check -p server