Expand description
Split out of the single-file bootstrap module unchanged (SPEC_LARGE_FILE_MODULE_ANALYSIS_2026_09_30.md §4.3).
Structs§
- Reducer
Plumbing - Output of
spawn_reducer_plumbing.
Functions§
- build_
app_ state - Assembles the final
AppStatefrom every bundle produced above, plus the handful of state pieces (auth session manager, install sessions, container manager, shell sessions, cron scheduler) that only ever existed inline in theAppStatestruct literal. - spawn_
reducer_ plumbing - Phase E.2 / E.2c.2 — srv reducer plumbing, hoisted out of the
(conditional) pipe-IPC bind block so HTTP/WS RPC handlers in
dispatch_service can route through the reducer. State, event
bus, event log, and persist subscriber all live unconditionally;
the pipe IPC server is still conditional on
AGENTMUX_SRV_PIPE_PATHbeing set (absent intask devmode).