Liking cljdoc? Tell your friends :D

hive-datascript.swarm.schema

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.

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.
raw docstring

agent-typesclj

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)
sourceraw docstring

claude-model?clj

(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.
sourceraw docstring

coordinator-statusesclj

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
sourceraw docstring

critical-op-typesclj

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
sourceraw docstring

daemon-health-levelsclj

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
sourceraw docstring

daemon-statusesclj

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
sourceraw docstring

ling-model-defaultclj

Default ling model. When set, uses Claude Code CLI.

Default ling model. When set, uses Claude Code CLI.
sourceraw docstring

olympus-layout-modesclj

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
sourceraw docstring

schemaclj

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)
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)
sourceraw docstring

slave-statusesclj

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.
sourceraw docstring

spawn-modesclj

Valid ling spawn mode values. Derived from spawn-mode-registry.

Valid ling spawn mode values. Derived from spawn-mode-registry.
sourceraw docstring

task-statusesclj

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
sourceraw docstring

task-typesclj

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
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close