DataScript schema definitions for swarm hivemind coordination.
Contains:
DDD: Value Objects for status enums, schema as domain model.
DataScript schema definitions for swarm hivemind coordination. Contains: - Entity schemas (slave, task, claim, wrap-queue, etc.) - Status enumerations for validation - Schema documentation DDD: Value Objects for status enums, schema as domain model.
Valid agent type values (IAgent discrimination). :ling - Agentic worker instance (can chain tools)
Valid agent type values (IAgent discrimination). :ling - Agentic worker instance (can chain tools)
(claude-model? model)Check if a model identifier represents a Claude model name. Returns true for nil, 'claude', any 'anthropic/claude-' model, OR any bare 'claude-' model (Anthropic's native naming).
Pure infrastructure helper — does NOT influence spawn-mode resolution anymore (that leak was closed in the seam cleanup). Provider routing is handled by the LLM router, not by spawn-mode.
Check if a model identifier represents a Claude model name. Returns true for nil, 'claude', any 'anthropic/claude-*' model, OR any bare 'claude-*' model (Anthropic's native naming). Pure infrastructure helper — does NOT influence spawn-mode resolution anymore (that leak was closed in the seam cleanup). Provider routing is handled by the LLM router, not by spawn-mode.
Valid coordinator status values.
:active - Currently running and sending heartbeats :stale - Not sending heartbeats (likely crashed) :terminated - Gracefully shutdown
Valid coordinator status values. :active - Currently running and sending heartbeats :stale - Not sending heartbeats (likely crashed) :terminated - Gracefully shutdown
Valid critical operation types that block kill. :wrap - Session crystallization in progress :commit - Git commit operation in progress :dispatch - Task dispatch in progress
Valid critical operation types that block kill. :wrap - Session crystallization in progress :commit - Git commit operation in progress :dispatch - Task dispatch in progress
Health score thresholds for daemon selection in multi-daemon setups.
:healthy - 70-100: Preferred for new ling spawns :degraded - 30-69: Usable but not preferred :unhealthy - 0-29: Avoid spawning new lings
Health score thresholds for daemon selection in multi-daemon setups. :healthy - 70-100: Preferred for new ling spawns :degraded - 30-69: Usable but not preferred :unhealthy - 0-29: Avoid spawning new lings
Valid Emacs daemon status values.
:active - Running and sending heartbeats :stale - Not sending heartbeats (likely crashed) :error - In error state (Emacs reported errors) :terminated - Gracefully shutdown
Valid Emacs daemon status values. :active - Running and sending heartbeats :stale - Not sending heartbeats (likely crashed) :error - In error state (Emacs reported errors) :terminated - Gracefully shutdown
Default ling model. When set, uses Claude Code CLI.
Default ling model. When set, uses Claude Code CLI.
Valid Olympus layout mode values. :auto - Automatically calculate optimal layout :manual - User-controlled window positions :stacked - Overlapping/tabbed windows
Valid Olympus layout mode values. :auto - Automatically calculate optimal layout :manual - User-controlled window positions :stacked - Overlapping/tabbed windows
DataScript schema for swarm state.
Design notes:
DataScript schema for swarm state. Design notes: - :db.type/ref for entity relationships (enables joins) - :db/unique for primary keys - :db.cardinality/many for collections (presets, files)
Valid slave status values.
:idle - Ready for work :spawning - Being created :starting - Process starting :initializing - Spawned, awaiting preset injection completion :working - Executing a task :blocked - Waiting on external resource :error - In error state :terminated - Killed/stopped :zombie - Stale-sweep-marked: registry row outlived process (no activity past stale threshold AND :alive? false). Kept for audit; agent_status default-filters these out.
Valid slave status values.
:idle - Ready for work
:spawning - Being created
:starting - Process starting
:initializing - Spawned, awaiting preset injection completion
:working - Executing a task
:blocked - Waiting on external resource
:error - In error state
:terminated - Killed/stopped
:zombie - Stale-sweep-marked: registry row outlived process (no
activity past stale threshold AND :alive? false). Kept
for audit; agent_status default-filters these out.Valid ling spawn mode values. Derived from spawn-mode-registry.
Valid ling spawn mode values. Derived from spawn-mode-registry.
Valid task status values.
:queued - Waiting for dispatch (file conflicts) :dispatched - Sent to slave, in progress :completed - Successfully finished :timeout - Timed out waiting :error - Failed with error
Valid task status values. :queued - Waiting for dispatch (file conflicts) :dispatched - Sent to slave, in progress :completed - Successfully finished :timeout - Timed out waiting :error - Failed with error
Valid task type values for task classification. :coding - Code implementation tasks :docs - Documentation tasks :review - Code review tasks :test - Testing tasks :refactor - Refactoring tasks
Valid task type values for task classification. :coding - Code implementation tasks :docs - Documentation tasks :review - Code review tasks :test - Testing tasks :refactor - Refactoring tasks
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |