Skip to content

PHOS roadmap

Current connectivity status

The physical provider interface is implemented for the native controller, optional MQTT, and optional ESPHome Native API. ESPHome uses explicitly configured encrypted devices, bounded inventory, numeric/binary entity mappings, separate authorization, and the shared current external_observations projection in MCP physical context. It does not add device-control operations, source fusion, distributed history, or a spatial world model. See the ESPHome Native API guide for the current user, configuration, security, and projection contract.

MQTT acceptance closure — 04J complete

  • [x] 04J — MQTT Lifecycle Integration Verification and Final Acceptance: accepted for the implemented read-only MQTT scope, including focused automated broker/lifecycle coverage and maintainer-reported Mosquitto/ESPHome hardware acceptance.
  • [x] 04J.1 — MCP Regression Closure: native context, authorized external context, temporal assessment, and native-only history contracts are differentiated.
  • [x] 04J.2 — Final Regression Closure: historical maintainer full-regression result was 1765 passed, 0 failed, 1 skipped, 31 warnings in 748.51 seconds.
  • [ ] 04L.3 — Guided Manual Mapping: remains a non-blocking MQTT backlog item; Topic Explorer does not create mappings.

ESPHome Native API — 05A–05C implementation status

  • [x] Encrypted explicit provider lifecycle, bounded entity inventory, reconnection, replacement fencing, and shutdown (05A).
  • [x] Numeric and supported binary mappings, canonical semantics, freshness, and explicit authorization (05B).
  • [x] Revision-checked application-service persistence, write-only encrypted credential handling, onboarding and configured-device administration (05C.1–05C.4A).
  • [x] Per-entity mapping editor and separate authorization/revocation with fail-closed authorized physical-context projection (05C.4B).
  • [x] Device administration, native batch mapping save, responsive Web Admin, status refresh, shared-credential impact confirmation, and zone metadata propagation (05C.4C and later focused refinements).
  • [x] Maintainer-reported 1.10.0 essential real-device acceptance, including the ESP32 Native API → mapping → authorization → MCP workflow.
  • [ ] Further hardware evidence: zone propagation on hardware, broader entity types, reconnect/failure cases, and credential-rotation behavior are not recorded as hardware-tested here.
  • [ ] Broader hardware evidence for zone propagation, every entity type, reconnect/failure cases, and credential rotation remains unrecorded; it is separate from the maintainer-reported essential 1.10.0 hardware acceptance.
  • [ ] A complete localhost-capable regression run is still required for release closure. The restricted local sandbox ran 1,841 tests successfully but could not bind the ten MCP, MQTT, and Web listener tests.

The repository does not assign a “Milestone 06” number to work following ESPHome. A later feature-status note below names Semantic PHOS Capabilities as a next milestone in its own eye-expression context; this page does not infer that it is Milestone 06 or expand its scope. The separate physical-intelligence vision remains a proposal and does not change milestone authorization.

Current feature status — Expanded Eye Expressions

  • [x] Expanded Eye Expressions: canonical, manually selectable neutral, happy, curious, surprised, sad, angry, focused, tired, confused, scared and skeptical profiles are implemented. Live Tk rendering and Appearance Preview share the same profile/geometry path; custom iris colors remain supported.
  • [x] Manual expression selection is persistent until explicitly replaced and remains separate from RobotState.
  • [ ] Existing feature note: Semantic PHOS Capabilities is listed as next after Expanded Eye Expressions; no milestone number or ESPHome dependency is assigned here.

FURIOUS and expression intensity are not implemented in this milestone.

Transient Overlay System v1

  • [x] Source-scoped, bounded semantic overlay arbitration, expiry, and final display-layer integration below protected administrative overlays.
  • [x] Hardware-free core, renderer, and administrative-overlay regression coverage.
  • [ ] Physical Raspberry display validation.

Semantic Physical Context v1

  • [x] MCP Stage 2 — COMPLETE: semantic event model, filtering/deduplication, subscription lifecycle, modern protocol Resource cues, capability/system-health events, snapshot Resources, sensor availability/freshness events, and standalone bridge compatibility are complete and validated as recorded below.
  • [x] Read-only provider-independent aggregation of canonical perception state.
  • [x] Minimal Agent Permission Model: immutable semantic permission profiles, deterministic evaluation, and a permission-checked application facade.
  • [x] MCP Semantic Adapter — Stage 1: trusted-local Streamable HTTP tools over the agent permission/application-service boundary.
  • [x] MCP Stage 2 Part 6B — Camera Snapshot Resource: application boundary, dedicated read_camera_snapshot permission, resources/list/resources/read, bounded JPEG output, no second camera provider, and preview independence in automated coverage. Raspberry Pi validation confirmed preview-disabled resources/read output with a non-empty image/jpeg blob.
  • [x] Transport-neutral semantic event model, filtering, duplicate suppression, and SemanticSubscription lifecycle.
  • [x] MCP async semantic Resource cues — SDK subscriptions/listen, bounded URI coalescing, and Resource re-read model. Camera snapshots remain synchronous and independent of async delivery.
  • [x] MCP Stage 2 Part 5B — sensor availability/freshness semantic events, runtime freshness monitoring, MCP Resource cues, and Raspberry Pi environment and IMU validation.
  • [x] MCP Stage 3.3 — COMPLETE: credential-backed per-client MCP authentication and authorization through non-secret SecretsService references.

MCP Stage 3.1 — COMPLETE: Agent Identity & Authentication Boundary

  • [x] Immutable provider-neutral AgentIdentity with a stable identifier, optional display name, and reference to an existing permission profile.
  • [x] One pluggable MCP authentication boundary resolves an identity once per inbound request before the identity-bound AgentApplicationService applies existing permission evaluation.
  • [x] Transitional LocalAgentAuthenticator preserves current trusted-local clients as local-agent with the existing standard profile. It performs no credential verification and is not production-grade authentication.
  • [ ] External identity providers.

MCP Stage 3.2 — Persistent Agent & Permission Configuration

  • [x] MCP Stage 3.2 — COMPLETE.
  • [x] Canonical agents configuration and immutable configured registry.
  • [x] Configured default identity resolves through its existing permission profile.
  • [x] Stage 3.3: credential-backed per-client authorization.
  • [x] MCP Stage 3.4 — COMPLETE: encrypted bearer credential creation, rotation, revocation, and non-secret lifecycle status through AgentCredentialService.
  • [x] MCP Stage 3.5 — COMPLETE: authenticated Web Admin status and one-time credential create/rotate/revoke controls for configured agents.
  • [x] Stage 3.6 — COMPLETE: phos-mcp-bridge transports an already-issued PHOS_MCP_TOKEN bearer through Streamable HTTP while PHOS remains authoritative for identity and permission enforcement. Automated bridge validation passed (10 tests); no physical live interoperability result is claimed here.
  • [ ] Stage 3.7 — PENDING: external multi-agent PoC / final Stage 3 validation.

Stage 2 physical validation completed for direct Streamable HTTP includes phos://status sleep/wake notifications, phos://physical-context semantic updates, phos://environment availability updates, environment loss/recovery, and motion/IMU availability transitions. The independently owned phos-mcp-bridge was also externally validated with a stdio subscriptions/listen client receiving two consecutive phos://status ResourceUpdated notifications. Raspberry Pi camera validation confirmed that, with Camera Preview disabled, phos://vision/snapshot remained available and returned a non-empty image/jpeg blob. This establishes resource availability and JPEG output only; it does not establish image-content quality. No air-quality physical validation is claimed.

PHOS 1.7.0 — External Hardware Controller & Semantic LED Control

  • [x] Publish reference ESP32 firmware at phosairobot/phos-esp32, implementing phos-hw v1 for ENS160 + AHT21 telemetry and WS2812B semantic LED control.
  • [x] Generic, bounded phos-hw v1 JSON Lines serial transport with capability discovery, heartbeats, reconnect lifecycle, and actionable protocol errors.
  • [x] Controller-backed environmental, air-quality, and IMU providers that preserve the existing semantic sensor-service boundaries and avoid duplicate local I2C polling when selected.
  • [x] Hardware Controller Web Admin configuration, read model, and bounded diagnostics through the existing application/lifecycle boundary.
  • [x] Capability-aware LED command transport and semantic LED arbitration, including controller-session reapply and transient semantic API signals.
  • [x] Validated LED animation direction/mode/origin contract semantics without exposing raw hardware commands through the Remote API.
  • [ ] Run hardware integration and field tests with the selected external controller and the official firmware.

PHOS 1.6.0 — Multilingual Interaction & Command Layer

  • [x] Provider-neutral interaction contracts, conservative language-tag handling, resolver selection, and a deterministic English/Italian intent vocabulary.
  • [x] Observational voice-transcript resolution with bounded events and runtime status; it does not change robot behavior.
  • [x] Pure canonical-intent routing plus explicitly authorized application-service execution for sleep, wake, and expression commands; voice execution is opt-in and disabled by default.
  • [x] Authorized temperature and air-quality read-model queries with structured semantic outcomes, deterministic English/Italian response rendering, and opt-in query-response speech through the existing TTS/audio path.
  • [ ] LLM resolver, language detection, wake word, and continuous listening.

PHOS 1.4.0 — Voice & Interaction Foundation

  • [x] Startup/readiness experience, splash, ready sound, hidden display cursor, touch/gesture abstraction, and provider-neutral voice capture.
  • [x] Native-rate negotiation, one 16 kHz PCM16 resampling boundary, VAD, 300 ms pre-roll, local Vosk STT, semantic lifecycle/voice status observability, and Raspberry Pi 3 physical validation.
  • [x] Provider-neutral TTS/audio output with local Piper, Cartesia and ElevenLabs adapters; live Voice & Speech provider/output activation through the application boundary.
  • [ ] Remaining voice work: conversational LLM integration, wake word and continuous listening. Deterministic command interpretation/execution is implemented and separately opt-in; Home Assistant remains deferred.
  • [x] Configuration evolution: YAML is the sole editable configuration; ConfigRepository owns validation and atomic YAML persistence. Legacy JSON requires explicit one-time migration. Supported Voice & Speech changes use the runtime-aware live configuration path.

PHOS 1.3.0 — Presence, Attention & Expression Awareness

PHOS 1.3.0 integrates provider-neutral Presence and Attention, observed facial-expression telemetry, cautious expression reactions, and realtime Web Admin/API visibility. See the release record. Automated regression has passed.

  • [x] Versioned 1.3.0 source, package metadata and current-release documentation.
  • [x] Presence hysteresis, semantic enter/leave events, Attention lifecycle, semantic gaze, and configurable LED arrival/departure sweeps.
  • [x] ObservedExpression read model and conservative ExpressionReactionPolicy with confirmation, cooldown, bounded duration, lifecycle events and Web Admin visibility.
  • [x] Unified Raspberry Pi OS installer with the canonical .[all] runtime aggregate, model preparation, smoke checks, and consolidated installation docs.
  • [x] Complete automated release regression and strict documentation validation.
  • [ ] Test camera, display, and LED integration on the Pi.

PHOS 1.2.0 — Remote API historical release

PHOS 1.2.0 adds the authenticated, provider-neutral Remote API with semantic status and commands, capability discovery, temporary overlay overrides, local OpenAPI/Swagger documentation and SSE events. See the release record. Its release-candidate checklist is a historical snapshot; a 1.2.0 tag now exists, but this page does not assert that every historical gate was subsequently completed.

  • [x] Versioned 1.2.0 source, package metadata and documentation homepage.
  • [x] Remote API application-service boundary, local authentication, OpenAPI and offline Swagger UI.

PHOS 1.1.0 — environmental and motion-awareness historical baseline

PHOS 1.1.0 combines the established 1.0 baseline with the implemented optional environmental, air-quality, IMU, WS2812B and visual-arbitration capabilities. See the release record. Its readiness checklist is a preserved pre-tag snapshot; a 1.1.0 tag now exists, but this historical record does not establish that every listed release gate was later completed.

  • [x] Raspberry Pi runtime, animated eyes, visual state/behavior and independent rendering
  • [x] Camera face tracking and bounded gaze via BehaviorEngine
  • [x] Facial-expression observations/reactions with local ONNX or optional AWS
  • [x] Canonical JSON model, validation and atomic persistence at the 1.1.0 source baseline; current runtime configuration is YAML (see configuration migration).
  • [x] Authenticated web administration, mandatory bootstrap password change and external secrets
  • [x] Eight configuration domains with isolated page saves and read-only status
  • [x] Versioned 1.1.0 source, installation/user documentation and hardware-free regression tests
  • [x] Validated logging-level, iris and camera-preview reload; confirmed supervisor-owned PHOS restart
  • [x] Release hardening for failure propagation, preview lifecycle cleanup and bounded preview work
  • [ ] Verify user systemd restart and display-session environment on the actual Pi
  • [ ] Repeat the complete release integration test sequence on the Pi after these changes
  • [ ] Establish expression accuracy and calibrate neutral reactions on actual hardware
  • [ ] Verify optional AWS behavior/latency and mobile/tablet LAN administration on the Pi

The hardware document records the display and Pi Camera/tracking as already operational. Fresh release regression and expression-quality verification remain separate from that prior evidence. See the release record for exact checks.

Included in 1.1.0 — BME280 / BMP280

  • [x] Optional BME280 and BMP280 I2C adapters and provider-neutral environmental service.
  • [x] Canonical environmental type selector, restart-only policy, authenticated Sensors editor and live snapshot with explicit capabilities.
  • [x] Hardware-free adapter/service/configuration/web regression coverage and setup documentation.
  • [ ] Verify actual breakout wiring/address, real units/accuracy, recovery and concurrent eyes/Vision responsiveness on Raspberry Pi 3.

Environmental behavior and overlays are included in 1.1.0.

Included in 1.1.0 — CCS811 air quality

  • [x] Optional smbus2 CCS811 adapter with eCO2/TVOC, conditioning and error checks.
  • [x] Shared sensor worker/lifecycle, canonical settings and Web Admin status/editor.
  • [x] Service-level environmental compensation with safe missing-humidity handling.
  • [x] Fake bus/provider tests and installation/configuration documentation.
  • [ ] Verify actual module power/logic/wake wiring, both addresses as fitted, first-use stability, clock stretching and concurrent operation on Pi 3.
  • [ ] Consider baseline persistence after physical validation; not implemented now.

Included in 1.1.0 — GY-521 / MPU-6050 IMU and WS2812B ring

  • [x] Optional smbus2 MPU-6050 adapter with typed six-axis readings and bounded worker lifecycle.
  • [x] Canonical configuration, Web Admin editor/status and hardware-free adapter/runtime tests.
  • [x] Provider-neutral, debounced motion interpretation with live-reloadable thresholds.
  • [x] Motion-state behavior mapping to FaceState with live-reloadable visual intensity and timing.
  • [x] Historical LED consumer/configuration and hardware-free tests. Current WS2812B builds use the ESP32 phos-hw v1 semantic LED path documented in the controller guide.
  • [ ] Verify board wiring, address, stable readings and coexistence on Raspberry Pi 3.

PHOS 1.2 — remote application-service boundary

  • [x] Provider-neutral application service with semantic status/read models and commands.
  • [x] Versioned /api/v1 JSON adapter for status, state, environment, motion, health, configuration, visual-source, expression and state commands.
  • [x] Bounded semantic event contract with duplicate suppression; the WSGI adapter provides an SSE compatibility stream at /api/v1/events.
  • [ ] Select and deploy a WebSocket-capable local server adapter if a true WebSocket transport is required; it must reuse the same service contract.

Attention / Presence vertical slice

  • [x] Provider-neutral selected-face observations, confirmed Presence edges, Attention acquisition/tracking/loss, semantic gaze, configured LED sweeps, application/SSE forwarding, and read-only Web Admin status.
  • [ ] Test camera/display/LED integration and calibrate the configured behaviors.

Current implementation and deferred scope

Area Current status
Optional hardware field testing Partial: validation exists for selected Pi/display, microphone and integration paths; optional sensor/LED wiring, full coexistence and broader failure cases still require hardware evidence. See current state.
REST API Implemented as an authenticated, service-mediated /api/v1 API; see Remote API.
MCP server Implemented over Streamable HTTP with permission-checked tools, Resources and resource-change cues; see MCP reference. Notifications do not invoke external agent reasoning.
Advanced OS administration Raspberry Pi reboot remains unimplemented/deferred.
STT Implemented for explicit local Vosk capture; optional provider paths and physical audio requirements are described in Voice. This is not a conversational LLM pipeline.
TTS Provider-backed synthesis/playback is implemented for Local/Piper, Cartesia and ElevenLabs; see TTS.
Conversational LLM Deferred. Existing interfaces/scaffolding are not an end-to-end conversation runtime.
Home Assistant Deferred and not implemented as a native integration or robot-tool set.

Future Web/API/MCP/Voice adapters must reuse PHOS application services for validation, authorization, configuration and behavior commands. They must not access GPIO, hardware drivers or subsystem internals directly. Extend services when a capability is approved; do not create parallel control implementations.

Existing ahead-of-scope AI/voice scaffolding is preserved. Implement one approved, runnable vertical capability at a time; do not start deferred work automatically.