ad307423744483386b8aa680d49656d71f7f7791
Issue: phase_completed was calculated but never used File: src/api/files.rs:1982 Root cause: - phase_completed = (phase == "COMPLETED") - But new_status only checked all_consistent and any_json_exists - This caused inconsistency between DB phase and reported status Solution: - Add phase_completed as highest priority condition - If phase is COMPLETED and any_json_exists → status = completed - This ensures DB phase is respected when available Logic: 1. phase_completed + any_json_exists → completed (trust DB) 2. all_consistent + any_json_exists → completed (all JSONs ready) 3. any_json_exists → scanning (in progress) 4. no JSONs → registered (not started) Benefits: - Fixes G-1 gate condition - Resolves potential inconsistency between phase and status - Matches original design intent Verification: cargo check --lib passes References: - A-9 in Momentry_Release_Requirements_20261004.md v1.1 - G-1 in M5Max128_Portability_Install_Test_20261004.md
momentry_core
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Releases
2
v0.9.20260325_151200
Latest
Languages
PLpgSQL
30.5%
Python
27.4%
HTML
20.4%
Rust
13.3%
Shell
3.1%
Other
5.2%