Production-grade human commute orchestration
Wake → Shower → Walk → Sit
WSWS is a deterministic morning pipeline with first-class retry semantics, middleware injection, observability, and graceful degradation when external providers fail.
Core pipeline
Sequential execution only. Parallel phase proposals rejected under RFC-0017.
Phase state machine
Every WSWS phase shares the same lifecycle hooks: trigger, success, error, and retry policy exhaustion.
Phase reference
Built-in middleware
Benchmarks
Measured across 10k commuters · 90 weekdays · excludes holidays and remote-shim invocations.
Reliability SLOs
WSWSWS Pro
Evening · Walk → SleepExtends the core pipeline across the workday boundary with evening return phases and durable state into the next Wake cycle.
- ▸Full-duplex lifecycle across morning and evening pipelines
- ▸Energy budgeting with predictive modeling across six phases
- ▸Workday bridge — hydration and alertness telemetry through Sit → EveningWalk
- ▸Sleep seeds next-day Wake alarm configuration
- ▸Weekend overrides — extended Sleep; Wake retries disabled
- ▸Holiday mode — phases suspended; state frozen until next business day
Quickstart
AI environment integrations
CommuteState carries energy, alertness, hydration, and keysWalletPhone through every transition. Durations use string literals ('7m', '30s') — never raw numbers.
DST handling is a known issue. See GitHub issue #47 in the upstream spec.