docs: Release v1.0.20261008 交付通知
交付内容:
- Production binary (44M)
- Database schema (95K)
- Release manifest
- Rust/Swift CLI 工具清单
关键修复:
- M4ProMini 文件卡死问题修复
- face_traced.json status=null 处理
- Path traversal security patch
- VLM/Agent search timeout 改进
验证状态:
- ✅ M4ProMini 已验证修复生效
- ✅ Binary 编译成功
- ✅ 所有工具完整
交付: Core Team → Admin Team
版本: v1.0.20261008
Commit: d55d3988
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
# Release v1.0.20261008 交付通知
|
||||
|
||||
## 交付状态
|
||||
|
||||
✅ **已确认可使用** - Release binary 已编译完成,准备交付 admin team 部署
|
||||
|
||||
## 交付内容
|
||||
|
||||
**位置**: `/Users/accusys/momentry_core_releases/v1.0.20261008/`
|
||||
|
||||
**文件清单**:
|
||||
- `momentry_v1.0.20261008` (44M) - Production binary
|
||||
- `schema_v1.0.20261008.sql` (95K) - Database schema
|
||||
- `RELEASE_MANIFEST.md` - 完整发布说明
|
||||
- `rust_tools.txt` - Rust CLI 工具清单
|
||||
- `swift_tools.txt` - Swift CLI 工具清单
|
||||
|
||||
## 关键修复
|
||||
|
||||
### Critical Fix
|
||||
**M4ProMini 文件卡死问题**:
|
||||
- **症状**: 文件卡在 "Scanning" 状态超过 10 小时
|
||||
- **根本原因**: `face_traced.json` status=null 导致 TKG 检查失败
|
||||
- **修复**: 检查 `total_faces=0` 作为 no-face video 判断条件
|
||||
- **验证**: M4ProMini 已部署修复,文件状态已恢复为 "ready"
|
||||
|
||||
### Security Patches
|
||||
- Path traversal prevention (A-6)
|
||||
|
||||
### Stability Improvements
|
||||
- VLM timeout: 120s → 300s
|
||||
- Agent search timeout: 60s
|
||||
- Worker auto-finalize stuck tasks
|
||||
|
||||
## 部署步骤
|
||||
|
||||
### 1. 停止服务
|
||||
```bash
|
||||
launchctl stop gui/$(id -u)/com.momentry.server
|
||||
launchctl stop gui/$(id -u)/com.momentry.worker
|
||||
```
|
||||
|
||||
### 2. 备份当前 binary
|
||||
```bash
|
||||
cp target/release/momentry target/release/momentry.backup_$(date +%Y%m%d)
|
||||
```
|
||||
|
||||
### 3. 部署新 binary
|
||||
```bash
|
||||
cp /Users/accusys/momentry_core_releases/v1.0.20261008/momentry_v1.0.20261008 \
|
||||
~/momentry_core/target/release/momentry
|
||||
```
|
||||
|
||||
### 4. 启动服务
|
||||
```bash
|
||||
launchctl start gui/$(id -u)/com.momentry.server
|
||||
launchctl start gui/$(id -u)/com.momentry.worker
|
||||
```
|
||||
|
||||
### 5. 验证
|
||||
```bash
|
||||
# 检查服务运行
|
||||
curl http://localhost:3002/api/v1/health
|
||||
|
||||
# 检查 Worker 状态
|
||||
ps aux | grep momentry | grep worker
|
||||
|
||||
# 检查日志
|
||||
tail -20 ~/momentry_core/logs/momentry_3002.log
|
||||
```
|
||||
|
||||
## 工具依赖
|
||||
|
||||
### Rust CLI (tools/cli/rust/)
|
||||
所有工具已编译并测试通过:
|
||||
- rust_store_traced_faces
|
||||
- rust_scene_vlm
|
||||
- rust_cut
|
||||
- rust_appearance
|
||||
- rust_face_cluster
|
||||
- rust_facenet_coreml
|
||||
- rust_pose
|
||||
- rust_vad
|
||||
|
||||
### Swift CLI (scripts/swift_processors/)
|
||||
- swift_face - Face detection (ANE 加速)
|
||||
- swift_ocr - OCR (ANE 加速)
|
||||
- swift_pose - Pose estimation
|
||||
|
||||
### Python Scripts
|
||||
**必要**:
|
||||
- asrx_processor.py
|
||||
- asr_processor_simplified.py (回退)
|
||||
|
||||
**已弃用**:
|
||||
- build_tkg.py (TKG 已有 Rust 实现)
|
||||
- face_detector.py (已被 Swift 取代)
|
||||
- ocr_processor.py (已被 Swift 取代)
|
||||
- cut_detector.py (已被 Rust 取代)
|
||||
|
||||
## 已知限制
|
||||
|
||||
1. **ASRX**: Swift CLI 二进制存在但源码缺失,仍依赖 Python
|
||||
2. **ASR 回退**: Whisper CLI 不存在时回退到 Python
|
||||
3. **Python 环境**: 仍需保留 Python 3.11 作为回退机制
|
||||
|
||||
## 验证测试
|
||||
|
||||
- ✅ M4ProMini 已验证修复生效
|
||||
- ✅ Binary 编译成功
|
||||
- ✅ Rust/Swift CLI 工具完整
|
||||
- ✅ Database schema 无变更
|
||||
|
||||
## 下一步
|
||||
|
||||
**Admin Team**:
|
||||
1. 部署 release binary
|
||||
2. 验证服务运行正常
|
||||
3. 监控日志是否有异常
|
||||
|
||||
**Core Team**:
|
||||
- Deep Scan Queue 功能开发(已开始规划)
|
||||
- ASRX Swift CLI 源码恢复(待处理)
|
||||
- 完全移除 Python 依赖(长期目标)
|
||||
|
||||
---
|
||||
|
||||
**交付日期**: 2026-10-08
|
||||
**交付团队**: Core Team
|
||||
**接收团队**: Admin Team
|
||||
**版本号**: v1.0.20261008
|
||||
**Git Tag**: v1.0.20261008
|
||||
**Commit**: d55d3988
|
||||
Reference in New Issue
Block a user