Display
Mode and power intent
Public capability reference
A reusable controller contract for coordinating target owners from explicit activity requests and fresh observations. The capability milestone is complete in the source package; this page contains no installation record.
The activity layer emits semantic intent. Each target controller retains its own safe sequencing, transport and confirmation policy.
Mode and power intent
Power, source and bounded volume ownership
Capability and readiness
Ownership-preserving style
Observed power state
Every request receives a monotonic generation. Delayed work from older generations cannot mutate current state.
Validate identity and activity.
Refresh target evidence.
Dispatch semantic target intent.
Require fresh mandatory evidence.
Report ready, waiting or failed.
Timers, command results and observations carry generation identity and cannot complete a newer request.
Mandatory targets require fresh observations. Unsupported or unobservable capabilities remain explicit.
Unsolicited target changes become ownership evidence rather than a reason to fight the user.
Absolute and relative requests share receiver bounds, observed confirmation and an explicit release point for later manual adjustment.
Restart refreshes observations without blindly replaying state-changing commands.
Retries, fallback use, target availability and transition latency remain visible through one state contract.
Activity profiles name semantic outcomes; adapters own protocol-specific operations.
Node-RED adapters bridge the pure reducer to MQTT and Home Assistant without moving policy into flow wiring.
| Surface | Contract | Invariant |
|---|---|---|
| Request | Unique request ID, configured activity and timestamp | Retained requests are inert |
| Desired state | Activity and generation | One current request identity |
| Target evidence | Status, observation time, classification and failure | Older evidence cannot overwrite newer evidence |
| Outcome | Current activity, phase, availability and failure | Ready requires all mandatory targets |
| Operations | Latency, retries, fallbacks, outcomes and objective status | Expected waiting does not become a false failure |
The package test suite covers successful activities, optional degradation, mandatory failure, restart, supersession, stale results, manual ownership, recovery and rolling operational objectives.
This reference describes generalized code behavior only. It intentionally omits device models, room names, addresses, entity identifiers, flow exports, activity history and operational records.