Commit Graph

155 Commits

Author SHA1 Message Date
Accusys 4b694a1c2d remove: Portal project (Core Team 不再維護前端)
- 移除 portal/ 目錄 (Vue 3 + Tauri 前端)
- 更新 AGENTS.md 移除 Portal 相關說明
- 更新代碼註釋移除 Portal 引用
- 前端開發統一由 Studio Team 負責

參考: docs_v1.0/OPERATIONS/GUI_ARCHITECTURE_REVIEW.md
2026-09-30 18:59:40 +08:00
Accusys e95cdcc673 fix: add bbox validation in Swift Face processor
問題:
- Face detection 輸出無效 bbox (width=0, height=0)
- 導致 face tracing 失敗
- 所有 faces trace_id = -1

修復:
- ✅ 添加 bbox 驗證邏輯
- ✅ 過濾 width <= 0 或 height <= 0 的 bbox
- ✅ 添加警告日誌
- ✅ 修復 swift_face_pose.swift 類型錯誤

影響文件:
- scripts/swift_processors/swift_face.swift
- scripts/swift_processors/swift_face_pose.swift

狀態: ✅ 已修復,需要重新處理受影響的文件
2026-09-29 01:03:54 +08:00
Accusys 9823cd4328 analysis: deep scan trace_id=-1 issue
問題鏈:
1. Qdrant trace_id 全部為 -1 (40 個 faces)
2. rust_face_cluster 過濾所有 faces (trace_id >= 0)
3. 沒有 trace_profiles 生成
4. Worker 無限循環 (trace_stability = 0)
5. Deep scan 卡死

數據證據:
- Qdrant: trace_id=-1: 40 faces (100%)
- rust_face_cluster: Found 0 unique traces
- processor_results: 只有 scene_vlm
- 輸出文件: 全部缺失
- Worker: 無限循環,每 2 秒檢查一次

修復:
- ✅ Python 腳本修復 (face_clustering_processor.py)
- ✅ 問題定位完成
- ⏳ 等待決策: 方案 A (重置) 或 方案 B (調試)

文檔:
- docs_v1.0/M4_workspace/2026-09-28_deep_scan_trace_id_issue.md
- docs_v1.0/M4_workspace/2026-09-28_deep_scan_final_summary.md

狀態: ⚠️ Critical - 等待 M4 決策
2026-09-28 20:55:35 +08:00
Accusys 3ab65a698a fix: update MediaPipe Pose to v1.0.0 API
問題:
- MediaPipe 1.0.0 使用新 API (tasks.vision)
- 舊 API (solutions) 不存在

修復:
- ✅ 使用 PoseLandmarker (新 API)
- ✅ 使用 pose_landmarker_heavy.task 模型
- ✅ model_complexity=2 (最高準確率)

模型:
- 下載位置: ~/models/mediapipe/
- 大小: 29 MB

測試:
- ✅ 初始化成功
- ✅ 支持 GPU (Metal) 加速

API:
- mp.tasks.vision.PoseLandmarker
- RunningMode.VIDEO
- 33 個關鍵點
2026-09-28 00:26:40 +08:00
Accusys 33ee2d37c9 feat: add MediaPipe Pose support (highest accuracy)
問題:
- Apple Vision Pose 準確率太低
- YOLOv8 Pose 效果也不好
- 需要 MediaPipe Pose (Google)

新增:
- ✅ pose_processor_mediapipe.py (Python)
- ✅ Worker 支持 MediaPipe Pose
- ✅ model_complexity=2 (最準確)

處理器優先級:
1. MediaPipe Pose (最高準確率) ← 新增
2. Rust Pose
3. Swift Pose (Apple Vision)
4. Python YOLOv8

技術:
- MediaPipe Pose: 33 關鍵點
- 支持遮擋和困難姿勢
- CPU 運算(較慢但準確)

測試:
- ✅ 編譯成功
- ⚠️ 需要實際測試準確率
2026-09-28 00:15:49 +08:00
Accusys 30b9a400ae fix: generate traces field when face.json already has trace_id
問題:
- face.json 已包含 trace_id (來自 Rust face_tracker)
- store_traced_faces.py 直接複製,跳過 traces 字段生成
- Worker 檢查 traces 字段判斷 trace_done
- 因缺少 traces 字段,trace_done=false,阻塞 TKG 構建

修復:
- ✅ 即使 face.json 有 trace_id,仍生成 traces 字段
- ✅ 從 faces 提取 trace_id,構建 traces dict
- ✅ 包含 start_frame, end_frame, duration 等信息
- ✅ Worker 可正確判斷 trace_done

影響:
- 修復 020.mp4 卡在 40% 的問題
- 確保 TKG 和後續流程可以繼續
2026-09-27 21:56:22 +08:00
Accusys 1f1522c5ef fix: handle both list and dict formats in store_traced_faces.py
問題:
- face_clustering_processor.py 生成的 frames 是列表格式
- store_traced_faces.py 期望 frames 是字典格式
- 導致 AttributeError: 'list' object has no attribute 'items'

修復:
- 添加格式判斷,支持列表和字典兩種格式
- 向後兼容舊格式

測試:
- ✅ 腳本運行成功
- ✅ 不再報錯

影響:
- Face Deduplication 可以正常執行
- 後續 TKG, Rule2, VLM Summary 可以繼續
2026-09-27 14:50:14 +08:00
Accusys 82c400ed6c fix: migrate TKG Builder to V4.0 architecture (Qdrant)
Problem: TKG Builder used deprecated face_detections table
Solution: Migrated to Qdrant _faces collection

Changes:
- Added qdrant_faces module import
- Replaced SQL queries with Qdrant API calls
- Updated build_face_track_nodes to use get_file_faces()
- Updated build_co_occurrence_edges to fetch from Qdrant
- Updated build_speaker_face_edges to calculate trace spans from Qdrant
- Updated build_face_face_edges to find co-occurrences in Python
- Updated build_face_body_edges to fetch face data from Qdrant
- Changed default schema from 'dev' to 'public'
- Changed default output_dir to /Users/accusys/momentry/output

Test results:
- ✅ Successfully created 7 face_track nodes
- ✅ Successfully created 6 face-face co-occurrence edges
- TKG Builder now works with V4.0 architecture

Related: #V4.0-migration
2026-09-27 10:59:23 +08:00
Accusys 3ed4cb38b3 feat: add common language polling for ASR
Features:
- New --try-common-languages flag for smart language detection
- Tries en, zh, ja when auto-detection fails or quality is poor
- Quality scoring based on avg_logprob, no_speech_prob, segment count
- Automatically selects best result from all attempts

Quality metrics:
- avg_logprob (higher is better)
- no_speech_prob (lower is better)
- segment count (more is better)

Use case:
- Fixes garbled output from wrong language detection
- Prevents Sinhala character output for Japanese audio
- Provides better language detection for common languages
2026-09-27 05:19:23 +08:00
Accusys ba18f4c403 feat: upgrade ASR to large-v3 model + add vocal separation
- Upgrade Whisper model: small -> large-v3
- Add --language parameter for forced language detection
- Add --separate-vocals for demucs vocal separation
- Add preprocess_audio.py utility
- Fix Japanese detection failure issue
- Improve transcription accuracy significantly

Usage:
  python3 scripts/asr_processor.py video.mp4 output.json --language ja --separate-vocals
2026-09-27 04:40:15 +08:00
Accusys 4f60e7ae96 docs: add Whisper Japanese detection failure analysis
- Analyze why Whisper detected 'nn' instead of Japanese
- Document root causes: poor audio quality, high noise, model confusion
- Provide diagnostic tool (analyze_whisper_language.py)
- Document 4 solutions: force language, audio preprocessing, model upgrade, parameter tuning
- Recommend integration into Momentry ASR pipeline
2026-09-27 04:22:25 +08:00
Accusys 5b76b3e647 fix: store_traced_faces.py skips tracking if trace_id exists
- Check if face.json already has trace_id (from Rust face_tracker)
- Skip Python tracking if traces already assigned
- Prevent duplicate tracking and preserve Rust results
- Support both list (FaceResult) and dict formats
2026-09-27 02:38:58 +08:00
Accusys 696ede8696 fix: face_tracker.py now supports list format for frames 2026-09-27 01:14:28 +08:00
Accusys 357e585399 fix: Face processor now saves status and total_faces to face.json 2026-09-26 23:06:11 +08:00
Accusys b0244691cb feat: integrate embeddings storage to Face processor
- Create store_face_embeddings_to_qdrant.py script
- Add automatic Qdrant storage call after FaceNet completes
- Store 512D embeddings with metadata (frame, confidence, bbox)
- Enables downstream face tracing and clustering

This ensures embeddings are automatically stored in Qdrant without manual intervention.
2026-09-26 21:32:56 +08:00
Accusys 693bb56d7f feat: integrate FaceNet CoreML for face embeddings
- Add Swift FaceNet program using FaceNet CoreML model
- Integrate FaceNet into Rust Face processor (auto-generate embeddings)
- Adjust face_filter_defaults: min_confidence=0.5, min_size=1
- Support 512-dim embeddings with ANE acceleration
- Remove Python dependency for face embedding generation

Verified: 210 embeddings generated successfully (99.1% success rate)
Performance: 6.5s for 210 embeddings

Production ready.
2026-09-26 14:29:28 +08:00
Accusys ebee351523 refactor: enable Rust processors and remove appearance_processor.py
- Set MOMENTRY_USE_RUST_PROCESSORS=true in .env
- Remove scripts/appearance_processor.py (Rust binary replaces it)
- Update AGENTS.md with Rust Processors configuration
- Rust binaries available: rust_face_cluster, rust_appearance, rust_pose
- All Rust processors A/B tested and verified against Python versions
2026-09-20 20:12:43 +08:00
Accusys 31d1b4050f fix: correct face detection threshold defaults
- Changed min_confidence from 50.0 to 0.5 (Vision uses 0.0-1.0 range)
- Changed min_size from 32 to 1 (was filtering out all small faces)
- Changed min_capture_quality from 25.0 to 0.25
- Fixes issue where all videos showed 0 faces detected

Root cause: admin_config.rs used wrong defaults (50.0/32) instead of
config.rs constants (0.5/1), causing Vision framework to filter out
ALL faces because confidence threshold exceeded valid range.

Verified: IMG_9449 now correctly detects 191 faces (was 0).
2026-09-18 02:42:21 +08:00
Accusys 9ffbfeb6c5 feat: OCR resolution optimization - native resolution up to 1920px
- Replace fixed 320px downscale with smart resolution handling
- Videos <= 1920px: use native resolution (no downscale)
- Videos > 1920px: downscale to 1920px width
- Improves OCR quality for small text, subtitles, and scene text

Before: All videos scaled to 320px → poor OCR for small text
After: 1080p/720p videos use native resolution, 4K scales to 1920px

Verified: swift_ocr binary builds and runs correctly
- 720x890 video: native resolution (no scaling)
- 1920x1080 video: native resolution (at threshold)
- Detects video width and applies conditional scaling

Note: PaddleOCR fallback (ocr_processor_mps.py) already uses native resolution
2026-09-17 22:18:33 +08:00
Accusys 474a5bee99 refactor: remove YOLO processor and dependencies
- Delete YOLO processor implementation (src/core/processor/yolo.rs)
- Remove YOLO from processing pipeline and worker
- Clean up YOLO-related code across multiple modules
- Add migration 033_remove_yolo.sql

YOLO functionality removed as part of architecture simplification
2026-09-17 16:56:25 +08:00
Accusys e25c279eeb feat: port face clustering to Rust (rust_face_cluster) with A/B gating
- rust_face_cluster: seed-leader + agglomerative clustering port of
  fast_face_clustering_processor.py (Qdrant _faces scroll, trace aggregation,
  auto speaker bind, strict 2dp rounding parity)
- A/B verified vs Python on same Qdrant snapshot: both methods match on
  cluster membership/trace_id/confidence (leader + agglomerative)
- face_clustering.rs: USE_RUST_PROCESSORS switch with Python fallback
- executor.rs: run_rust_with_output_idx_and_frames (+ QDRANT env passthrough)
- appearance/pose: re-use rust runner path (previous migration)
- verify_face_cluster.py / verify_pose.py / verify_appearance.py: A/B harness
2026-09-16 21:50:07 +08:00
Accusys 362a735a91 feat: add VLM model logging before processing
- Add info log in vlm_summary.rs showing VLM model name
- Add print statements in Python VLM scripts showing model name
- Applies to: trace_vlm_caption.py, scene_vlm_caption.py, interval_vlm_caption.py
2026-08-27 20:16:08 +08:00
Accusys 7c9c3ded42 feat: opt-in face trace quality filter (min_trace_len/min_confidence, default off) 2026-08-16 09:36:23 +08:00
Accusys 2466a41eb8 perf: cut face_traced Qdrant I/O — merge trace-count scan (B1) + batch 1000 (B2) 2026-08-16 09:27:46 +08:00
Accusys 5e6a7b7d51 feat: round output JSON floats to 2dp + unify ensure_ascii for asr/asrx 2026-08-16 06:38:39 +08:00
Accusys 39e9ce4c3b fix: add min_capture_quality to FaceFilterSettings + trace profile fixes
- Add min_capture_quality to FaceFilterSettings (file_profile.rs)
- Fix store_traced_faces.py: load embeddings from Qdrant with_vector=True
- Fix face_tracker.py: force new traces when frame_gap > 30
- Fix backfill_trace_profiles.py: key_frame select=eq(n,N), bbox scaling, best_frame
- Add best_frame to FaceTraceProfile (Rust + Python)
- Fix min_capture_quality persistence in file-profile API
2026-08-13 10:12:21 +08:00
Accusys 71172fa354 fix: separate confidence and captureQuality in face detection output
Apple Vision provides two distinct scores:
- confidence: detection confidence (is this a face?)
- faceCaptureQuality: capture quality (is this face suitable for recognition?)

Previously these were mixed together as 'confidence'. Now both are
stored separately in the output JSON for downstream use.
2026-08-12 11:51:10 +08:00
Accusys 86f1fe8852 fix: restore Apple Vision default detection thresholds (0.5 / 1px)
job_worker.rs was overriding Apple Vision defaults with 0.75/64 even when
no face_settings were provided, causing fewer faces to be detected.

Now detect all faces with Vision defaults (confidence 0.5, min_size 1px);
filter later for display via face_filter settings.
2026-08-12 09:16:30 +08:00
Accusys 2e4559715b fix: tkg face_track drift — trace stability check + repair script
Part B (source fix): Enhanced TKG build Qdrant readiness check in
job_worker.rs. Previously only checked point count >= expected_faces,
which could fire before short traces finished uploading. Now verifies
trace_id stability: two consecutive scroll checks (2s apart) with same
unique trace count before proceeding.

Part A (repair): New scripts/repair_tkg_face_tracks.py reconciles Qdrant
_faces traces with PG tkg_nodes face_track rows, inserts missing ones.
Fixed 233 missing traces in 44c37c (1197 → 1430).
2026-08-12 06:21:18 +08:00
Accusys 2b1af42d06 fix: keep all traces in face clustering (remove min_faces=4 cutoff)
Large files (>1000 traces) used min_faces_per_trace=4, silently dropping
short traces (<=3 face points) from dedup. For 44c37c this excluded
484/1430 traces (34%) — walk-ons and passers-by never got a person label.

Now use min_faces=1 constant; noise is handled by the confidence>=0.5
filter in cluster_by_trace instead of dropping short appearances.

Result on 44c37c: 1430/1430 traces clustered, 21717/21717 faces assigned,
clusters 104 -> 203.
2026-08-12 05:19:54 +08:00
Accusys 258f8c4e96 fix: face clustering speaker mapping + representative face_id
- auto_bind_speakers: remove dead DB writes to nonexistent talents table,
  output speaker_person_mapping metadata into face_cluster.json instead
- fix representative_face.face_id to use face_idx (was frame_idx twice,
  causing duplicate face_ids for multi-face frames)
- fix asrx segment field names (start_time/end_time) and pass correct
  asrx path (ASRX_JSON_PATH was stale after UUID reassignment)
2026-08-12 05:04:48 +08:00
Accusys 65da4b451a fix: resolve trace-profile UPSERT SQL error and face-filter route syntax
- Fixed upsert_trace_profile() SQL: replaced scalar subqueries with LEFT JOIN
  to properly reference trace_profiles table in backfill logic
- Fixed face_filter routes: changed {file_uuid} to :file_uuid syntax for
  axum 0.7.9 compatibility
- Both fixes resolve HTTP 500 errors in rename and 404 errors in face filter
- Verified both APIs working correctly with test requests
2026-08-10 00:04:15 +08:00
Accusys 8dada662e8 fix: add parameter logging for face detection settings
- swift_face.swift: Log MIN_CONFIDENCE and MIN_SIZE at startup
- face_processor.py: Log settings passed to swift_face subprocess
- executor.rs: Log face settings being passed to Python subprocesses (4 run methods)
- Enables debugging of face detection parameter chain

Test results:
- FACE_MIN_CONFIDENCE=0.5, FACE_MIN_SIZE=1 → 392 faces (195 frames with 2 faces)
- SwiftFace log shows: MIN_CONFIDENCE=0.5, MIN_SIZE=1
- face_processor.py log shows: Settings passed to swift_face: FACE_MIN_CONFIDENCE=0.5, FACE_MIN_SIZE=1
2026-08-08 16:10:47 +08:00
Accusys a06973484b fix: pass FACE_MIN_CONFIDENCE and FACE_MIN_SIZE env vars to swift_face subprocess
- executor.rs: Add cmd.env() for FACE_MIN_CONFIDENCE and FACE_MIN_SIZE in all 4 run methods
- face_processor.py: Pass os.environ to subprocess.Popen to inherit env vars
- Fixes multi-face detection issue where second face was being filtered out
- Tested: CONFIDENCE=0.5 preserves both faces (392 total), CONFIDENCE=0.75 filters second face (196 total), SIZE=100 filters small faces (201 total)
2026-08-08 15:41:26 +08:00
Accusys 256e872fd9 fix: swift_face.swift reads MIN_CONFIDENCE and MIN_SIZE from env vars
- FACE_MIN_CONFIDENCE env var (default 0.75)
- FACE_MIN_SIZE env var (default 64)
- Allows per-file threshold configuration via environment
2026-08-08 04:19:45 +08:00
Accusys 15967929ef fix: ASR fails to find cut.json when executor uses .tmp output path
- ASR script used output_path.replace('.asr.json', '.cut.json') to find CUT file
- Executor passes output path with .tmp suffix (xxx.asr.json.tmp)
- This produced wrong path: xxx.cut.json.tmp (doesn't exist)
- Fix: use --uuid to construct CUT path from output_dir instead
- Also added executor Full command logging for debugging

Fixed IMG_9449 (1).MOV ASR failure: status changed from failed → completed
2026-08-05 01:45:59 +08:00
Accusys 3d13a06bd9 feat: face fix deployment + trace_* regeneration + executor stderr filter fix
- swift_face.swift: frame rounding (.rounded()), conf 0.75, min_size 64
- trace_* directories regenerated for KOBA (37 traces, start_frame 5307)
- executor.rs: stderr filter now logs all non-empty stderr (was discarding)
- VAD not skippable in ASRX (main_fixed.py Step 2 always runs)
- Step 2.5 sentence boundary refinement added
- Cluster agent async endpoints + similarity transparency
- Keyword search: relationship text extraction, priority ordering
- Face fix handoff doc for Studio team
2026-08-05 00:13:50 +08:00
Accusys 5d0c771a2b fix: use environment variables for VLM/LLM endpoints and models
- trace_vlm_caption.py: use MOMENTRY_LLM_VISION_URL and MOMENTRY_LLM_VISION_MODEL
- scene_vlm_caption.py: use MOMENTRY_LLM_VISION_URL and MOMENTRY_LLM_VISION_MODEL
- Changed from Ollama /api/generate to OpenAI-compatible /v1/chat/completions format
- Added embedding server environment variables
2026-07-27 13:49:08 +08:00
Accusys 39a2cbc65b fix: face group name read consistency, sync_file_status fix, cleanup ghost records, identity_agent replaced with face_dedup
- get_face_groups_handler: COALESCE(tp.name, tn.label) for name consistency
- sync_file_status: compare JSON vs pre_chunks (not chunk table)
- face consistency: compare frames.len() not total_faces
- cleanup 2 ghost records with NULL file_name/file_path
- replace identity_agent with face_dedup in pipeline stages
- remove identity_agent_api.rs and all references
- update required_processors to match actual processors
- update AGENTS.md with team responsibilities
- add Studio pipeline changes documentation
2026-07-27 02:15:51 +08:00
Accusys 3067896b0f fix: comprehensive fixes for ingestion and TKG
1. Add Redis PipelineProgress cleanup in unregister_internal
   - Deletes progress key when file is unregistered

2. Fix ingestion_complete asr_status query
   - Query ASRX first, then ASR
   - Filter out NULL values to avoid false negatives

3. Fix TKG 0 nodes/edges support
   - TKG is considered done if face traces are complete
   - TKG may create 0 nodes/edges for videos with minimal content

4. Add ASRX fallback to ASR segments
   - When ASRX has 0 segments but ASR has segments, use ASR segments
   - Ensures at least one ASRX output when ASR has content
2026-07-06 21:14:08 +08:00
Accusys dd63dbff9b fix: support videos with no audio or no faces
1. trace_done now checks for 'no_faces' status in face_traced.json
   - Videos with no detected faces now complete correctly
   - Previously stuck because trace_count=0 returned false

2. ASRX fallback to ASR segments includes start_frame/end_frame
   - Added _convert_asr_segments_to_asrx helper function
   - TKG can now process fallback segments correctly

This allows processing of:
- Videos with no audio track (ASR: no_audio_track)
- Videos with no faces (face_traced.json: no_faces)
2026-07-06 15:54:14 +08:00
Accusys 27660f48e4 fix: ASRX fallback to ASR segments on error instead of silent_audio
When ASRX processing fails (error or exception), it now falls back to
ASR segments instead of returning silent_audio with 0 segments.

This ensures asrx_segments >= asr_segments always, fixing the bug where
ASRX would report 0 segments even when ASR detected speech.
2026-07-06 14:23:53 +08:00
Accusys 799ede5a0e feat: OCR independent chunks + TMDb seed with file_uuid
- Rule 1 now creates OCR-only chunks instead of merging into ASRX
- generate_seed_embeddings.py supports --file-uuid parameter
- get_seeds() filters by file_uuid
- identity_matcher.py uses file_uuid for seed matching
- Push QDRANT_API_KEY to Python subprocesses
- Face clustering uses frame+bbox matching instead of face_id
- Portal uses JWT authentication
- FilesView filter logic fixed
2026-07-06 08:56:56 +08:00
Accusys e4d6fbac50 feat: add search_by_appearance agent tool for clothing color search
- New Python script: clothing_color_search.py
- New agent tool: search_by_appearance (red, blue, green, etc.)
- Uses appearance.json person bboxes + HSV color analysis
- Returns matched frames with confidence scores
2026-07-02 22:22:07 +08:00
Accusys 3eabd45882 fix: ASRX duplication, TKG edges, trace ingest, and add pipeline progress publishing
- ASRX handler no longer stores duplicate 'asr' pre_chunks
- Pre_chunks storage made idempotent (delete-before-insert)
- Rule 1 + trace_ingest changed to query 'asrx' not 'asr'
- Trace chunks removed (dynamic from TKG/Qdrant)
- TKG scroll_face_points fixed: trace_id >= 1 (not == 1)
- TKG AsrxSegmentEntry: start/end -> start_time/end_time (match ASRX JSON)
- Unregister error handling: log instead of silent discard
- Add publish_pipeline_progress calls at each pipeline stage
  (processors, rule1, face_trace, identity_agent, TKG, rule2, completion)
2026-07-02 10:43:46 +08:00
Accusys bd7d8c77bf feat: add migrate_manual_file_identities.py
Migrate identities.file_uuid to file_identities table for consistent structure
2026-06-26 13:55:10 +08:00
Accusys 67caf09732 feat: tmdb_agent now inserts identities and file_identities to DB
- tmdb_agent.py: INSERT identities with status='pending'
- tmdb_agent.py: INSERT file_identities (file_uuid → identity_id)
- identity.json: file_bindings includes file_uuid, movie_id, character
- backfill_file_identities.py: migrate existing TMDb identities
- Tested: 27 Charade cast identities linked to file
2026-06-26 13:39:08 +08:00
Accusys 6cbc11efda feat: add confirm_identity API endpoint
- Add POST /api/v1/agents/identity/confirm endpoint
- Calls confirm_identity.py to bind trace to identity
- Updates TKG, Qdrant _faces, PG face_detections, _seeds
- Optional Round 2 propagation after confirmation
- Fix trace_id=0 check in confirm_identity.py (use 'is not None')
- Document API endpoint in 08_identity_agent.md
2026-06-26 08:30:03 +08:00
Accusys 615f9da2df fix: identity status - TMDb and user_defined identities start as 'pending' (確認制) 2026-06-26 02:16:46 +08:00
Accusys fd2edd5736 fix: TKG rebuild type mismatch and face_track nodes
- Fix trace_id type mismatch (INT4 vs i64) with explicit ::bigint cast
- Change build_face_track_nodes to use from_pg version
- Add skin_tone_trace_nodes to API response
- Add #[derive(Serialize)] to TkgResult
- Fix Unicode panic in text label truncation
- Add push_existing_embeddings.py script
2026-06-25 11:23:53 +08:00