jim800121chen
b9ee184586
feat(device): WP-0 序號串通 + serial 路由(ADR-018 走向 A' 第一階段)
- local-agent/server:detector 保留 kn_number(parseScanDevices 可測化、
合成 ID 語意不動)+ DeviceInfo.SerialNumber + Manager serialToLocalID
反查表 + GetDevice 雙查(sessions 先、serial 後,純加法)
- visiona-agent:pairing exchange 帶本地裝置清單(DeviceLister 失敗不中斷
配對、timeout 2s、omitempty 舊版相容)
- visionA-backend:exchange 收 devices —— R1 取第一顆可用序號、R2 假序號
0x00000000 寫 NULL、R4 同 owner 同序號復用既有 device_id(防 23505)、
pg+mem 兩實作對齊
- 五個 proxy 操作(flash/inference/camera/connect/disconnect)收斂於
GetDevice 單一入口,serial 路由一處涵蓋
- docs:api-spec.md §2 增補 POST /api/pairing/exchange(schema + R1/R2/R4)
- 測試:行為級四環節鏈 + dbtest 130 實跑 6/6 + DBOn 回歸 4/4;
三 module build/vet/test 全綠
- review:通過 0C/0M/6Mi/5Sug(.autoflow/05-implementation/review/
wp0-serial-routing-review.md);Minor #1 Rescan stale session 掛 WP-C 前置
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 09:31:51 +08:00
..
2026-05-01 11:21:20 +08:00
2026-07-09 06:30:36 +08:00
2026-05-01 11:21:20 +08:00
2026-05-01 11:21:20 +08:00
2026-07-09 04:36:06 +08:00
2026-07-09 06:30:36 +08:00
2026-07-09 06:30:36 +08:00
2026-05-01 11:21:20 +08:00
2026-05-16 18:56:01 +08:00
2026-05-16 19:16:28 +08:00
2026-05-01 11:21:20 +08:00
2026-06-20 18:28:04 +08:00
2026-06-20 18:28:04 +08:00
2026-06-21 06:36:35 +08:00
2026-06-21 06:36:35 +08:00
2026-06-20 18:28:04 +08:00
2026-06-20 18:28:04 +08:00
2026-06-20 18:28:04 +08:00
2026-05-01 11:21:20 +08:00
2026-05-01 11:21:20 +08:00
2026-06-27 06:18:05 +08:00
2026-06-28 07:38:25 +08:00
2026-06-28 07:38:25 +08:00
2026-06-28 07:38:25 +08:00
2026-06-27 03:18:59 +08:00
2026-06-27 03:18:59 +08:00
2026-07-10 09:31:51 +08:00
2026-07-10 09:31:51 +08:00
2026-07-10 09:31:51 +08:00
2026-05-01 11:21:20 +08:00
2026-07-10 09:31:51 +08:00
2026-06-28 07:38:25 +08:00
2026-07-09 04:27:49 +08:00
2026-07-09 04:56:54 +08:00
2026-06-21 06:36:35 +08:00
2026-05-01 11:21:20 +08:00
2026-07-09 06:30:36 +08:00
2026-05-01 11:21:20 +08:00
2026-06-20 18:28:04 +08:00
2026-06-20 18:28:04 +08:00
2026-06-20 18:28:04 +08:00