docs: reply to M4 on trace schema hardcode fix

This commit is contained in:
Accusys
2026-05-14 02:56:59 +08:00
parent e8f44d7357
commit 4e933a554c

View File

@@ -0,0 +1,33 @@
# trace_agent_api schema hardcode — 修復回覆
**Date**: 2026-05-14
**From**: M5
**To**: M4
**Ref**: `2026-05-14_trace_schema_hardcode.md`
---
## 修正
`src/api/trace_agent_api.rs` 中全部 7 處 `dev.*` 硬編碼已替換為 `schema::table_name()`
| 行 | 原 | 改 |
|:--:|----|----|
| 81 | `dev.videos` | ✅ `schema::table_name("videos")` |
| 101 | `dev.face_detections` | ✅ |
| 110 | `dev.face_detections` | ✅ |
| 146 | `dev.face_detections` | ✅ |
| 221 | `dev.videos` | ✅ |
| 229 | `dev.face_detections` | ✅ |
| 247 | `dev.face_detections` | ✅ |
## Binary
```
release/delivery/v1.0.0_20260513_2115/
momentry_v1.0.0_schemafix ← 含 schema 修復 + trace mode + face tracker
```
## Commit
`e8f44d7``fix: trace_agent_api.rs — replace all dev.* hardcodes with schema::table_name()`