Each State Root has its own Runtime Host as execution and write authority. Desktop, TUI, CLI, bots, and evaluation clients execute work through that Host boundary rather than creating a second Runtime for the same state. Multiple Hosts may own different State Roots; Peer Mesh supplies endpoint membership and connections without combining their execution authorities.
Runtime Host owns Session and Turn identity, agent lifecycle, continuation, tools, permissions, and events. @maka/eval owns benchmark experiment semantics only: subjects, tasks, repetitions, cells, immutable attempts, result selection, budgets, and verifier configuration. A Maka subject always crosses the public Runtime Host client/protocol boundary; an external competitor is a generic external subject.
Experiment = benchmark + executor + subjects + tasks + repetitions Cell = task × repetition × subject repetition = a new experimental sample infra retry = a replacement attempt for the same cell continuation = internal Runtime Host behavior within a Maka subject
One Experiment uses one fully expanded declarative spec. Every arm shares its executor, benchmark, tasks, budget, and verifier. A/B is simply a two-arm Experiment. Harbor and Pier are executor adapters, not independent workflows.
The result kernel contains only score, normalized usage, attributable cost, duration, status or failure reason, and artifacts. When a cell has multiple attempts, the earliest valid attempt is authoritative; operators cannot choose a preferred outcome.
| Area | Responsibility |
|---|---|
packages/core | Pure Session, Runtime Event, AgentRun, permission, and protocol contracts |
packages/storage | Interactive Runtime stores and SQLite control planes |
packages/runtime | SessionManager, AgentRun, model adapters, tools, context, recovery, and Graph reconciliation |
packages/runtime-host | Sole hosted execution authority and public client/protocol |
packages/eval | Experiment cells, attempts, result selection, and subject/executor adapters |
packages/cli | TUI, maka run, and the public maka eval route |
apps/desktop/src/main | Electron composition and product-entry adapters |
packages/eval.Historical designs remain under docs/archive. Current GitHub issues and source take precedence over older drafts.