Files
AI_Printer/components/platform
admin a549989332 refactor(architecture): enforce component layering constraints
- move runtime policy/diag contracts to domain-owned facade and remove control_plane leapfrog usage

- enforce single declaration point for direct debug config in domain public API (constraint #6)

- harden timeout/idempotent semantics in REST/voice/printer/wifi/ble paths
2026-02-28 14:21:17 +08:00
..

Platform Layer

Purpose: hardware and system resource abstraction only.

Allowed examples:

  • Wi-Fi/BLE driver wrappers
  • NVS/time/RTOS/system adapters
  • board-specific IO and transport bindings

Rules:

  • Expose stable APIs in include/.
  • Keep private headers in internal/.
  • Do not depend on domain, control_plane, or app_composition.