Expand description
The session inspector (createSessionControl().inspect, session-control-provider.ts): the read-only host
requests behind RPC inspect, /agents, /memory why|list, /skills, /experiments, /goals, /progress
and the Claude Code watch views. A request outside INSPECTION_REQUESTS is refused before it reaches the
runtime, so inspecting never runs a search, starts work or changes state. Allowed requests go to the session’s
host stack as the root lane’s requests (the worker’s host.handle(request, payload)), outside any cell.
Constants§
- INSPECTION_
REQUESTS - Read-only host requests the inspector may issue (
INSPECTION_REQUESTSof session-control.ts, withoutgrants.list: there is no grant system). None of them runs a search or starts work. - VIEWER_
INSPECTIONS - The inspections
ultron claude’s watch viewer may make through its control socket (READ_ONLY_INSPECTIONSof claude/mcp-server.ts): theINSPECTION_REQUESTSthe rlm-views poller sends, plusasync.pendingandusage.report.
Functions§
- inspect
inspect(request, payload): refuse anything but an inspection request, then askruntime(none: the session has no Ultron runtime). A null payload is an empty one; any other non-object is refused.