Module effect

Module effect 

Source
Expand description

Reducer outputs. Descriptions of side effects, not executions.

Per RFC-0006 §9: 4 agent-only variants, 5 CP-only variants, 3 shared. The agent applier (Phase 7) handles Local* + shared; the CP applier (Phase 6) handles Remote* + shared. The compiler’s exhaustiveness check guarantees every variant has an arm in its applier — adding a variant fails the build at every applier that doesn’t account for it.

Enums§

Effect
LogLevel
OutboundAgentEvent
Outbound wire payloads (POST /v1/agent/events). Defined here for the reducer’s LocalEmitEvent effect; Phase 6/7 lifts these into nixfleet-proto::agent_wire once the HTTP routes are wired.