Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-orchestrator API Reference (generated)

Crate: vox-orchestrator · Version: 0.6.0 · Target: Library (lib.rs)

Multi-agent file-affinity task router. Queue/lock/oplog in vox-orchestrator-queue; MCP protocol tools in vox-orchestrator-mcp.

Multi-agent file-affinity queue system for the Vox programming language.

Routes tasks to agents based on file ownership — ensuring only one agent writes to any given file at a time. Prevents race conditions and lost updates when multiple AI agents work concurrently across a Vox workspace.

User Request
│
▼
Orchestrator ──► FileAffinityMap ──► route to Agent
│ │
▼ ▼
BulletinBoard ◄──── AgentQueue ──► FileLockManager
  • runtime — Actor-based agents using vox-actor-runtime Scheduler/Supervisor
  • toestub-gate — Post-task quality validation using TOESTUB (on by default)
  • lsp — LSP diagnostic integration for file ownership info

Module-level behavior is documented in each submodule; the crate root is a large re-export surface for the orchestrator binary and integration tests.

Embedding: the usual MCP host is the vox-mcp crate (stdio server), which holds Orchestrator plus optional Turso VoxDb for Codex/Arca. Training and model SSOT for Mens live in mdBook mens-training-ssot.md (three levels up from src/ to repo root).

FeatureDefault / Enables
corpus-dbvox-corpus/database
defaulttoestub-gate, runtime, json-schema, jj, corpus-db, http-server
http-serverdep:axum
jjvox-vcs/jj, runtime
json-schemavox-repository/json-schema
lspdep:tower-lsp-server
news-publishdep:vox-publisher, vox-publisher/scientia-reddit, vox-publisher/scientia-youtube, vox-publisher/scholarly-external-jobs
oratio-rerankdep:vox-speech
populi-transportdep:vox-populi, vox-populi/transport, dep:aes-gcm, dep:vox-mesh-transport, dep:iroh
runtimevox-actor-runtime, vox-populi/mens, lsp
system-metricsdep:sysinfo
test-support—
toestub-gatevox-code-audit, vox-lsp, lsp
token-countingdep:tiktoken-rs
vox-actor-runtimedep:vox-actor-runtime
vox-code-auditdep:vox-code-audit
vox-lspdep:vox-lsp
DependencyKind
vox-actor-runtimeNormal
vox-bounded-fsNormal
vox-code-auditNormal
vox-configNormal
vox-corpusNormal
vox-cryptoNormal
vox-dbNormal
vox-foundationNormal
vox-gamifyNormal
vox-http-clientNormal
vox-lspNormal
vox-mcp-registryNormal
vox-mesh-policyNormal
vox-mesh-transportNormal
vox-mesh-typesNormal
vox-orchestrator-modelsNormal
vox-orchestrator-queueNormal
vox-orchestrator-typesNormal
vox-packageNormal
vox-populiNormal
vox-publisherNormal
vox-repositoryNormal
vox-research-eventsNormal
vox-searchNormal
vox-secretsNormal
vox-skill-runtimeNormal
vox-skillsNormal
vox-speechNormal
vox-telemetryNormal
vox-vcsNormal
vox-actor-runtimeDevelopment
vox-test-harnessDevelopment
ModuleDescription
activity—
agentosAgentOS: ACI-aligned mutation classification, guardrails, checkpoint hints.
attachment_manifest—
json_vcs_facadeJSON-shaped VCS / workspace views for MCP and CLI parity.
merge_conflictsPure conflict-recording core for workspace merge-back.
feedback—
lineage—
route_policyVOX_ROUTE_* alignment helpers for registry/MCP paths (see contracts orchestration routing YAML).
routingCentralized model-routing policy + Thompson exploration (see contracts/orchestration/model-routing.v1.yaml).
a2aAgent-to-agent messaging types and helpers.
drain_oplogDurable orchestrator state logs (drain records, etc.).
spot_checkSubmitter-side spot-check sampler for result verification (P5-T5).
attentionDeveloper attention budget tracking — treats pilot attention as a first-class resource (Phase 15).
attention_trackerVoxDB persistence layer for attention events and agent trust scores (Phase 15).
bootstrapShared bootstrap helpers for repository-aware orchestrator construction.
budgetToken and cost budgets per agent and orchestrator-wide tracking.
budget_gateOrchestrator-policy token/cost budget gate (D7).
bulletinShared bulletin board for cross-agent notices.
cache_predictorPrefix-cache hit predictor (D7).
capability_probeHost capability probing and merge with OrchestratorConfig::default_agent_capabilities.
catalogDynamic model catalogs.
catalog_classifier—
catalog_live—
circuit_breakerFive-signal circuit breaker for doom-loop detection (D6).
clarification_db_inbox_pollDB-backed clarification inbox drain (Codex a2a_messages).
compactionContext window compaction for long-running agent sessions.
compaction_triggerCompaction strategy selector by context utilization (D7).
confidence_fusionComposite confidence fusion for Socrates invocation decision (D3).
configOrchestrator configuration load, merge, and validation.
conflictsFile conflict detection and resolution hooks.
contextEphemeral context store for orchestrator-visible state.
context_envelopeCanonical context envelope contract for cross-surface context payloads.
context_lifecycleContext envelope ingest validation, merge policy, and lifecycle hooks.
continuationContinuation strategies when tasks pause or hand off.
contractCanonical orchestration contract types (v2 payloads, plan surface alignment).
eventsAgent activity events and pub/sub bus.
events_severity—
fatigue_monitorDeveloper mental fatigue monitoring and cognitive pacing.
gatePre/post task gates (including TOESTUB quality checks).
generated—
groundingCompletion citation grounding against session context envelopes.
groupsAffinity group registry built from repository layout.
handoffStructured handoff payloads between agents.
legacy—
orchestrator_policyUnified orchestrator policy façade composing all D1–D10.
privacy_classifierSensitivity classifier and privacy-level-aware routing (D8).
process_util—
research_gateSCIENTIA pre-registration gate — refuses campaigns without a signed prereg (§5.1).
risk_matrixFour-dimension risk scorer and HITL escalation matrix (D5 + D9).
subagent_dispatchSub-agent dispatch router: spawn vs. inline decision (D4).
tier_cascadeThree-tier model cascade for autonomous model-routing (D1).
entropy_scorerEntropy-based hallucination detection.
heartbeatAgent liveness heartbeats and staleness policy.
judge_modelCross-model consensus and judge logic.
hopperUnified task hopper — intake funnel for developer-sourced work (Hp-T1).
interruptInterrupt infrastructure for stopping in-progress local tasks (Track B partial).
isolationMulti-agent isolation strategy model + decision (spec §5.1).
mcp_toolsMCP tool surface and plugin-skills bridge stubs (implementation pending SP6).
memoryLong-term and daily agent memory backed by Codex when enabled.
meshLive mesh node registry — authoritative in-memory topology view for the dashboard.
mesh_federation_pollPopuli control-plane poll loop shared by MCP and vox-orchestrator-d.
mesh_federation_poll—
modelsLLM model registry and provider configuration.
monitorLightweight AI usage / behavior monitor hooks.
observerFile and task observer: real-time structural health evaluation (Wave 2).
controlDrive Console control SSOT — ClutchProfile/RiskPosture parity gate.
mode—
orch_daemonTCP JSON-line orchestrator daemon (vox-orchestrator-d) and client helpers.
orchestration_feature_flags—
orchestratorCore multi-agent orchestrator implementation.
pii_filterPII-aware redacting filter for sensitive data.
planningDynamic planning domain (router, synthesis, policies, replanning).
populi_federationRead-only mens HTTP federation snapshot types (filled by MCP / embedders).
populi_remotePopuli remote execution gating and lease-class helpers.
privacy_routerPII-aware privacy routing and data isolation policies.
qaQuestion/answer routing between agents.
queuePriority task queues and overflow handling.
rebalanceLoad-based agent scale-up/down suggestions.
reconstructionReconstruction campaign tiers, evidence scoring, and resumable campaign state.
registry_model_resolve—
retrieval—
schemaJSON schemas for persisted orchestrator artifacts.
scopeTask path scopes and enforcement guards.
search_bridgeOrchestrator ↔ vox-search adapters (lexical fallback, future native retrieval).
securitySecurity policies, audit log, and guard checks.
servicesEmbeddings, routing, scaling, policy, and gateway services.
sessionDurable agent session records and managers.
snapshotWorkspace snapshots and content hashing for diffs.
socratesSocrates evidence gate and shared task context types.
stateSerializable orchestrator state snapshots for UI and persistence.
summaryRolling summarization of agent interactions.
tool_receiptCryptographic receipts for tool execution grounding.
topology—
typesCore identifiers, tasks, messages, and shared value types.
workspacePer-agent workspace views and pending change tracking.
validationTOESTUB-based output validation gate integration.
victoryAggregate multi-tier verification signals.
skill_runtime_inprocIn-process SkillRuntime implementation (P0-T7).
runtimeTokio scheduler bridge for running tasks against a live crate::Orchestrator.
routing_processorGeneric TaskProcessor wrapper that dispatches by AgentTask::task_category (see runtime’s TaskProcessor trait, which this implements). Not hardcoded to any specific processor type — runtime.rs currently constructs it with the same AiTaskProcessor instance in both slots (Fix Task 4, gui-axis-chat-harness-fixes: the previous dedicated chat-only ChatTaskProcessor was deleted — it had no tool-calling loop, never read active_skill, and nothing produces TaskCategory::Chat in a way that expects that special handling anymore).
lspLSP-facing helpers for ownership and diagnostics surfacing.
preregistration—
secretary—