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
This commit is contained in:
admin
2026-02-28 14:21:17 +08:00
parent 8a55ca0005
commit a549989332
23 changed files with 718 additions and 331 deletions

View File

@@ -9,6 +9,7 @@ idf_component_register(
"src/image_generation.c"
"src/screen_preview.c"
"src/system_runtime.c"
"src/domain_runtime_contracts.c"
"src/voice_interaction.c"
"src/voice_interaction_common.c"
"src/voice_interaction_ws.c"
@@ -19,9 +20,9 @@ idf_component_register(
"third_party/qrcodegen.c"
INCLUDE_DIRS
"include"
"third_party"
PRIV_INCLUDE_DIRS
"internal"
"third_party"
REQUIRES
platform
esp_http_client