orchestrata_ultimate.gateway.handlers

Reference › orchestrata_ultimate › gateway › handlers

RPC handler modules -- split from the monolithic RPCHandler.

The handlers package holds the domain classes behind the gateway's JSON-RPC methods. Each class owns one subsystem and exposes handle_* coroutines taking a connection id and a params dictionary. rpc creates one instance of each and binds them to method names by reading the table in method_table; server injects late-bound collaborators such as the kernel client, graph repository and policy engine through setters. Failures are raised as RPCError from exceptions.

By role:

Start with gateway for the introspection calls, then pick the handler for the subsystem you care about. The package narrative is in gateway.

22 modules, 5,346 lines of code.

Modules

Module Summary LOC
__init__ RPC handler modules -- split from the monolithic RPCHandler. 28
_policy_gate Governance PAM++ gate for workflow control RPCs (SPEC-014 REQ-014-080). 93
_scope_guard Per-connection scope enforcement for workflow/config RPCs (SPEC-014 REQ-014-076/080/081). 88
_session_events Session event-broadcast contract -- SessionEventOps. 81
_session_kg Session KG query-building contract -- pure functions + stateful I/O. 400
auth Auth RPC handler -- authenticate. 76
config Runtime configuration RPC handlers -- get/watch/set. 143
cxp CXP RPC handlers -- send, subscribe, unsubscribe, status. 459
fireflies Fireflies RPC handlers -- transcript retrieval, search, summaries, and health. 185
gateway Gateway RPC handlers -- ping, info, clients, replay. 423
governance Governance RPC handlers -- decisions, query, evaluate, rules. 349
knowledge Knowledge RPC handlers -- query, nodes, relationships. 411
memory Gateway handler exposing the memory engine (SPEC-010). 128
orchestrator Orchestrator RPC handlers -- intent processing, task creation. 361
projects Projects RPC handlers -- list, get, tasks. 385
session Session RPC handlers -- list, get, open, close, events, facts. 445
state State sync RPC handlers -- getAll, putAll, put, delete. 186
test_metrics Test execution and metrics RPC handlers. 119
ultimatetui UltimateTUI gateway handler — bridges VizInt UI to CheetahClaws agents. 240
utils Shared utilities for gateway RPC handlers. 65
volk Volk RPC handlers -- list, get, register, deregister, lifecycle. 459
workflow Workflow control RPC handlers -- start/pause/resume/cancel. 222

Dependency diagram

Package dependency diagram orchestrata_ultimate.gateway.handlers