feat(v1): add secure configuration baseline

This commit is contained in:
ila
2026-07-21 09:45:59 +08:00
parent 7b05efe56c
commit 0b01e1bf24
13 changed files with 281 additions and 19 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
},
"model": {
"path": "models/best.pt",
"sha256": "填写受控模型哈希",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"confidence_threshold": 0.25
},
"event": {
@@ -32,7 +32,7 @@
```
- `rtsp_url_env` 必填;应用从同名环境变量读取真实 URL。
- 数值是待现场录像校准的默认值;每个值必须真正进入事件逻辑。
- 数值是待现场录像校准的默认值;每个值必须真正进入事件逻辑。示例中的全零 SHA-256 只占位配置形状,T-103 必须以受控模型的真实哈希替换并验证后才能启动推理。
- 缺少环境变量、模型不存在或哈希不符时,应用显示配置错误,不启动监控。
## 核心数据