Development

June 11, 2026 · View on GitHub

For contributors working on the framework itself. Not for users.

Contributing workflow

See the top-level CONTRIBUTING.md for setup, branch conventions, and PR flow. Read CLAUDE.md before touching code; it encodes the architecture rules (Creature vs Terrarium vs Root, controller-as-orchestrator, non-blocking tool dispatch) and the style conventions (modern type hints, no in-function imports, logging instead of print).

In this section

  • Architecture: implementation-level map of the 16 runtime flows. Read alongside src/kohakuterrarium/.
  • Testing: three-tier discipline (unit / integration / e2e), audit loop, the ScriptedLLM / TestAgentBuilder harness, and the multi-node test patterns (RealLabWorker).
  • Dependency rules: the leaf-first import discipline and how to verify with scripts/dep_graph.py.
  • Frontend: Vue 3 dashboard, panel registration, WebSocket contracts.

When to read what

Code-near docs

Every subpackage under src/kohakuterrarium/ has its own README.md covering the files it contains. Those are the most accurate description of "what actually lives here." Use them together with this section.