Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Conventions

One page, freeze the vocabulary. If a term isn’t here, it’s defined where it’s used.

Names and paths

TermValueNotes
BinarycastellanSingle CLI; subcommands below
Config filecastellan.tomlLayered — repo root, then .castellan/, then env
State directory.castellan/Episodes, archive, proposals, skills
Episode logs.castellan/episodes/One JSON per goal run (castellan run)
Topology archive.castellan/topology_archive.jsonGenome lineage for castellan evolve / --seed-archive
Multiplexer socket~/.config/castellan/castellan.sockDefault Unix socket; override with --socket or CASTELLAN_SOCKET
Statusline snapshot~/.config/castellan/statusline.jsonWritten by castellan dashboard; read by castellan_read_statusline
Telemetry DB~/.config/castellan/telemetry.dbcastellan telemetry query target
MCP toolscastellan_* prefixe.g. castellan_deposit_signal, castellan_discover_tools — see MCP tools

Note: Paths above are defaults. Named multiplexer sessions (--session) scope their own socket and persist directory — see Multiplexer overview.

Glossary

TermOne-liner
EpisodeA single castellan run goal attempt, logged as JSON under .castellan/episodes/ — field state, topology, wake stats, verdict
TopologyThe wake graph (nodes, edges, thresholds) a run’s agents coordinate through; mutated by castellan evolve
Pressure fieldThe scheduler’s wake-priority substrate — pheromone zones + dependency signals decide when a pending task dispatches
Drift-checkcastellan drift-check — validates repo guardrails and topology mutations against the verification manifest; rejects incompatible changes before they land
RAH (Recursive Agent Harness)Depth-bounded harness-within-harness spawn (multiplexer pane + topology binding); see castellan rah-demo and Frontier positioning
GenomeA named topology snapshot in the evolve archive, with lineage (parent_genome_id)
BlackboardTyped JSON slots agents read/write instead of talking to each other in natural language

Command surface at a glance

castellan doctor
castellan --version
castellan --help