Skip to main content

Module request_layer

Module request_layer 

Source
Expand description

A layer over every lane’s host requests, set once by a composition root whose root agent is not the session actor’s (ultron mcp, whose root is Claude Code): it may answer a request itself (refuse an API that root cannot serve, such as schedule.* with nothing to fire it) or pass it on and see the answer (which root a spawn’s work is charged to). Without one set, requests pass through unchanged.

Type Aliases§

Next
Passes the request (with this payload) on to the session’s own handler.
RequestLayer
(lane, kind, payload, next): answer the request, or call next and return (or inspect) what it answers.