jim800121chen
12b1fe3bad
fix(local-agent): Rescan 序號身分比對替換 stale session + 鎖外 Disconnect
- serialIdentity() 三態比對(空/假序號 0x00000000 正規化為無身分、對齊
ADR-018 R2):Rescan 對既存合成 ID 比對身分——同一顆保留 live session、
換位/拔插以新 info 替換 session,serial 索引重建即正確
- stale drivers 改釋放鎖後 Disconnect(不再阻塞 GetDevice 路由)+
Disconnect 錯誤改 WARNING log
- 測試 seam:detectFn/newDriverFn 注入 + newSessionDriverLocked 統一建構
(Start 行為零變動);新 4 支行為級測試(拔除位移/換位 rebind/
同序號保 session/無身分回歸)
- evidence:build/vet/test 全綠 + -race ok;review 通過 0C/0M/0Mi/4Sug
(wp0-serial-routing-review.md「Minor #1 修復審查」章節)
- WP-C 阻擋項解除;觀察項:多裝置實測留意 changed identity log
(偵測順序抖動時解法在 detector 端排序)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 09:44:47 +08:00
..
2026-05-01 11:22:01 +08:00
2026-05-01 11:22:01 +08:00
2026-05-01 11:22:01 +08:00
2026-05-01 11:22:01 +08:00
2026-07-10 09:44:47 +08:00
2026-07-10 09:31:51 +08:00
2026-05-01 11:22:01 +08:00
2026-05-01 11:22:01 +08:00
2026-05-01 11:22:01 +08:00