Commit Graph

135 Commits

Author SHA1 Message Date
Accusys
a0774cb9ab feat: wire TKG builder into worker pipeline + face-face edges
- Auto-run tkg_builder.py after face trace store + Qdrant sync + trace chunks
- Add face-face CO_OCCURS_WITH edges (two traces in same frame)
- docs: TKG integration report for M4
2026-05-09 06:22:27 +08:00
Accusys
b902763d45 feat: trace chunks with co-appearance relationships
- New trace_ingest module: creates chunks for each face trace (time + bbox + ASR text)
- Computes pairwise time overlaps between traces -> co_appearances in metadata
- Worker auto-triggers after face trace store + Qdrant sync
- SearchFilters: chunk_type filter (sentence/cut/trace/visual)
- SearchFilters: co_appears_with_trace_id filter
2026-05-09 06:18:32 +08:00
Accusys
9f5afd1b86 fix: file-based source of truth for worker + backup protocol
- Worker: check {uuid}.{processor}.json existence before starting processor
- Worker: timestamp-copy backup existing output files before re-run (no delete, no overwrite)
- Executor: partial output saved as .json.partial (not .json) to avoid false completion
- Start script: removed set-e, log dir changed to momentry/logs, Qdrant collection status fix
- docs: M4 release incident report + M4/M5 collaboration protocol
2026-05-09 05:32:13 +08:00
Accusys
b220920e64 Visual scene classification: Phase 1+2 complete
- Extracted visual_stats per scene (face count, size, objects, duration, density)
- Classified 1130 scenes into 18 types (establishing/close_up/medium/long/two/group × dialogue/sparse/silent)
- All from existing data, no LLM needed
- Scene type stored in cut chunk metadata
2026-05-08 14:38:00 +08:00
Accusys
283da8e767 Fix trace/3128: drawtext + filter_complex_script
- Replaced bitmap font (~195K drawbox commands) with drawtext (~2.2K)
- Write filter to temp file, use -/filter_complex to bypass ARG_MAX
- Added ffmpeg stderr logging for debugging
2026-05-08 14:03:30 +08:00
Accusys
1f103e796b Video endpoints: use ffmpeg-full for drawtext, fix ARG_MAX via filter_complex_script
- Added FFMPEG Lazy static + ffmpeg_cmd() with DYLD_LIBRARY_PATH
- Replaced bitmap font rendering with drawtext (1 filter vs 35 per letter)
- Large traces (>1000 detections) may still fail (ARG_MAX with -vf)
2026-05-08 13:55:08 +08:00
Warren
7d89ff77d0 docs: add purpose/use case for each visualization type 2026-05-08 13:50:10 +08:00
Warren
6234972f37 docs: add trace visualization catalog V1-V5 with priority 2026-05-08 13:49:06 +08:00
Warren
77598a4713 docs: add XY trajectory visual encoding guide with color/size/fade 2026-05-08 13:45:35 +08:00
Warren
bb8e79cbc2 docs: add X-axis + xy trajectory modes, API request format 2026-05-08 13:43:12 +08:00
Warren
a0f3382d13 docs: expanded trajectory section with interpretation guide and SQL 2026-05-08 13:40:10 +08:00
Warren
e5f252a3ec docs: heatmap as full-pipeline visual search visualization layer 2026-05-08 13:37:53 +08:00
Warren
2058599e63 docs: trace heatmap spec v1.0.0 — spatial + temporal + combined 2026-05-08 13:33:57 +08:00
Warren
f469197ce6 M4: add ffmpeg-full licensing evaluation for M5's doc 2026-05-08 13:28:16 +08:00
Warren
3ff783e4aa docs: full demo script with narration (10 steps) 2026-05-08 13:24:32 +08:00
Warren
606405b941 M4: suggest replace bitmap font with drawtext filter 2026-05-08 13:21:40 +08:00
Warren
ac59789f6e Merge branch 'main' of 192.168.110.201:/Users/accusys/momentry_core_0.1/ 2026-05-08 13:16:28 +08:00
Accusys
14d95cab8e Notify M4: video endpoints root cause 2026-05-08 13:16:05 +08:00
Accusys
485dc4010c Fix video endpoints: DB file_path did not match actual file
Root cause: video file was renamed on disk but DB still had old path.
Old: ...Charade ... │ Comedy ...mp4
New: ...Old_Time_Movie_Show_-_Charade_1963.HD.mov

All 3 endpoints (trace/video, video/bbox, thumbnail) now return 200.
2026-05-08 13:14:00 +08:00
Warren
6ee2607f67 M4: add ffmpeg-full install status to response 2026-05-08 13:11:06 +08:00
Accusys
0cf9ca56d4 Fix ARG_MAX overflow: use filter_complex_script instead of -vf
- trace_video filter string can exceed macOS 256KB limit
- Write filter to temp file, pass with -filter_complex_script
2026-05-08 13:08:23 +08:00
Warren
ebe8722e1f M4: response to ffmpeg evaluation - ARG_MAX is the root cause 2026-05-08 13:06:27 +08:00
Warren
cfd4159b30 Merge branch 'main' of 192.168.110.201:/Users/accusys/momentry_core_0.1/ 2026-05-08 13:04:17 +08:00
Warren
6a8b534239 M4: update bug report - found root cause ARG_MAX overflow 2026-05-08 13:03:21 +08:00
Accusys
0366eb0f04 FFmpeg drawtext technical evaluation 2026-05-08 13:03:15 +08:00
Accusys
0977a04002 Fix guide for M4 video endpoints 500 2026-05-08 12:52:12 +08:00
Warren
d6ba74a61a M4: bug report - video endpoints 500 (trace, bbox, thumbnail) 2026-05-08 12:49:32 +08:00
Warren
047f6c4b2b docs: demo sequence v1.0.0 - curl POST + browser video 2026-05-08 12:32:56 +08:00
Warren
1bdc94c1ac docs: single-line curl for cross-platform (bash/PowerShell/cmd) 2026-05-08 11:57:45 +08:00
Warren
b63fe58751 docs: hardcode curl examples, remove shell vars 2026-05-08 10:58:06 +08:00
Warren
bb3505c91b fix: demo login returns official API key matching docs 2026-05-08 10:40:24 +08:00
Warren
653387a557 docs: fix API_REFERENCE key to official format 2026-05-08 09:55:34 +08:00
Warren
f122a1ebca docs: fix RELEASE_API_REFERENCE with correct API key 2026-05-08 09:50:50 +08:00
Warren
1f6cc7a631 docs: update API key to official format 2026-05-08 09:47:38 +08:00
Warren
e502e8248b Merge branch 'main' of 192.168.110.201:/Users/accusys/momentry_core_0.1/ 2026-05-08 09:31:01 +08:00
Accusys
8405d60797 Fix 5W1H+: max_tokens 2048->4096, skip empty summaries
- max_tokens was too low, truncating LLM JSON output
- Added guard to skip storing empty parent_summary
- Applied fix to all 3 entry points (analyze, batch, pipeline)
2026-05-08 08:12:45 +08:00
Warren
2767d4971b docs: make curl commands directly copy-pasteable with shell vars 2026-05-08 04:30:49 +08:00
Warren
6c266f0beb docs: add real curl examples with verified responses 2026-05-08 04:28:17 +08:00
Warren
7a193845bb docs: remove .rs annotations, fix :uuid→:file_uuid, :id→:trace_id 2026-05-08 04:25:15 +08:00
Warren
cad5eadeec docs: rewrite RELEASE_API_REFERENCE v4.0 - 55 endpoints, 10 categories 2026-05-08 04:16:39 +08:00
Warren
8c9bab1d4a docs: fix numbering 47→56, separate delete section 2026-05-08 04:06:11 +08:00
Warren
876552ee95 docs: add media+delete routes to dictionary 2026-05-08 03:13:44 +08:00
Accusys
3caa35e096 Fix 5W1H status endpoint: uuid to file_uuid 2026-05-08 03:05:36 +08:00
Warren
a19385d35b docs: add missing trace routes to API_DOCUMENTATION, mark V3 docs deprecated 2026-05-08 02:54:18 +08:00
Warren
761853771a docs: update production test report - public schema, status ok 2026-05-08 02:46:17 +08:00
Warren
76c4d47112 docs: complete API dictionary v1.0.0 (55 endpoints) 2026-05-08 02:41:43 +08:00
Warren
ae0033f14b docs: schema migration plan v1.0.0 + production .env 2026-05-08 02:30:25 +08:00
Warren
dfd6bf9861 docs: production test report v1.0.0 2026-05-08 02:19:09 +08:00
Accusys
32f1d3e28a Release v1.0.0 notification 2026-05-08 01:46:40 +08:00
Accusys
d8714aa46e Fix semantic search: query chunks instead of empty parent_chunks table 2026-05-08 01:29:10 +08:00