✨ feat(board): 实现小智式板端交互状态机 - #222
Draft
ZhaoXingPeng wants to merge 10 commits into
Draft
Conversation
为本地唤醒、播报结束和待机恢复增加脱敏生命周期事件,验收采集器现在会拒绝乱序事件和失败事件。\n\n主机测试与 ESP32-S3 Profile 构建用于验证证据字段不影响运行链路。
移除汇报文档、过程文档入口和与 Linx 语音链路无关的探针变更,仅保留功能代码、必要测试与实际 Profile 依赖。
提高有界事件队列容量并提升事件 worker 优先级,避免真人语音突发帧使 Linx Transport 溢出并误报 Provider 失败。
Collaborator
Author
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
结论与范围
本 PR 接入小智式板端交互状态机,并修复实板启动时 WebSocket 事件队列占用内部 RAM 导致的启动失败。PR 保持 Draft:实板已进入 WebSocket 连接阶段,但会话启动仍失败,真人 ASR/TTS、按键、唤醒与打断闭环尚未完成,不能合并。
变更
VoiceInteractionController,覆盖 BOOT、待机、聆听、思考、播报、打断、重连和错误状态迁移。LINX_WS_QUEUE_*与LINX_WS_ERROR数值诊断。验证
./scripts/run_pre_submit_checks.shpython3 scripts/firmware.py build esp32s3-voicelife-pcb-pcm0x1a7c30DISPLAY_READY=1,依次显示BOOT、WIFI、LINX、ERROR。LINX_WS_ERROR的诊断镜像并采集数值错误码。下一步
在不暴露凭据、设备身份或原始串口日志的前提下,刷入非活动 OTA 槽位的诊断镜像,复位后采集
LINX_WS_ERROR数值标记,定位 WSS 失败原因;修复后完成真人交互验收,再将 Draft 转为 Ready for review。真机安全
仅使用非活动 OTA 槽位测试。已保留一份经过哈希校验的
otadata基线备份;后续测试结束后恢复该启动选择。未提交凭据、设备身份、原始串口日志或备份文件。AI 使用与人工复核
AI 用于按既定接口和状态迁移方案实现、测试和执行门禁;人工复核 GPIO 映射、状态动作边界、OTA 槽位安全、异常路径和 PR 范围。主机契约测试覆盖核心状态迁移;真人网络与语音验收保留给 Review 阶段。
Refs #105