orchestrata_ultimate.kernel

Reference › orchestrata_ultimate › kernel

Orchestration Kernel - Central coordination engine

The kernel package is where Orchestrata's pieces are joined into a running system, and where an intent from a human becomes a sequence of CXP packets between volks. It holds the kernel object and event bus, the per-packet router and dispatcher, the pipeline that drives the volks, the command-line entry points that boot everything, and supporting services for audit, policy, sessions, configuration and performance. The hand-written story is the curated kernel page; the broader picture is in the architecture page and the runtime services page.

How messages and intents move:

Parts by role: core (kernel, event_bus); pipeline mixins (pipeline_session, pipeline_kg, pipeline_audit, pipeline_checkpoint); services (session_manager, session_context, config_manager, resource_monitor, heartbeat_pump); and the subpackages audit, pam and performance. Entry points are cli_main (monolithic deployment and client commands), cli (standalone kernel) and pipeline_cli (REPL). Start with cli_main, then pipeline.

Curated narrative

The hand-written story of this package: orchestrata_ultimate.kernel.

51 modules, 19,600 lines of code.

Subpackages

Package Modules LOC
audit 6 1,642
pam 4 1,323
performance 9 2,666

Modules

Module Summary LOC
__init__ Orchestration Kernel - Central coordination engine 8
__main__ Enable python -m src execution. 8
audit_bootstrap Shared boot-time construction + fire-and-forget helpers for kernel.audit. 146
audit_logger Backward-compat shim. 5
cli Orchestrata Kernel CLI — standalone kernel process. 118
cli_client Gateway client helpers for the orchestrata CLI. 162
cli_main Orchestrata CLI — monolithic deployment entry point. 1696
cli_watch Streaming client for orchestrata watch -- the Phase 0 proof consumer. 340
config_manager Configuration Management for Orchestration Kernel. 1082
console_cli Orchestrata Console CLI — TUI entry point (stub). 40
dispatcher CXP Message Dispatcher for Orchestration Kernel. 1031
event_bus Dual-layer (in-process + Redis) EventBus implementation. 353
heartbeat_pump SPEC-001 volk-comms-heartbeat — the roster heartbeat pump (closes G1). 126
kernel Orchestration Kernel - Central coordination engine 134
pam_enforcer Backward-compat shim. 10
performance_manager Backward-compat shim. 5
pipeline PipelineRunner — boots the 11-volk pipeline and routes commands. 693
pipeline_artifacts Kernel-side re-export of the canonical artifact store. 16
pipeline_audit PipelineRunner audit mixin. 84
pipeline_checkpoint Pipeline checkpoint / resume — reuse completed-stage outputs. 302
pipeline_cli Orchestrata Pipeline — REPL-based CLI. 311
pipeline_escalation PipelineRunner escalation routing mixin — the PACKET-level mesh. 590
pipeline_events Pipeline milestone events — emitted at each stage transition. 595
pipeline_kg PipelineRunner knowledge graph mixin. 1064
pipeline_session PipelineRunner session management mixin. 516
policy_evaluator Policy Evaluator for Orchestration Kernel. 1331
queue_manager Redis-backed Message Queue Manager for Orchestration Kernel. 674
resource_monitor System resource monitoring for Orchestrata. 301
router CXP Message Router for Orchestration Kernel. 647
session_context Session Context Management for Orchestration Kernel. 704
session_manager Session Management for Orchestration Kernel. 703
volk_status_bridge SPEC-001 volk-comms-heartbeat — the status-change -> kernel-event bridge (closes G3d). 174

Dependency diagram

Package dependency diagram orchestrata_ultimate.kernel

Truncated: showing 34 of 34 modules/subpackages (most connected first) and 10 of 15 outside packages.