Context blueprint accepted by createServer(...).
createServer(...)
The server owns context assembly: request and service return context seeds, and the server attaches the gate declared by gate so identity changes can never authorize against a stale context.
request
service
gate
Build the per-request context seed.
Optional
Build a service context seed for schedules, outbox drains, tasks, and background work. Required before server.createServiceContext(...) can be called.
server.createServiceContext(...)
Context blueprint accepted by
createServer(...).The server owns context assembly:
requestandservicereturn context seeds, and the server attaches the gate declared bygateso identity changes can never authorize against a stale context.