Commit Graph

3 Commits

Author SHA1 Message Date
8783bb2db5 fix: performance optimizations for large dataset
- Add generated columns and indexes for correctness and metadata fields
- Optimize get_all() with keyset pagination
- Add get_pending_for_review() for targeted queries
- Update cron tasks to use optimized queries instead of full table scans
- This fixes timeouts in review_brain and verify_pending_external (300s timeout)

Fixes #35: Second-Brain in Takt bringen, Dedup, Pendings, Graph und Performance
2026-06-04 12:25:11 +02:00
0ff6db73ea feat(dashboard): integrate link suggestions and predictive links into UI
- FastAPI: parse_engram now includes link_suggestions and predictive_links from metadata
- FastAPI: add POST /api/links/accept to create links from suggestions
- Dashboard: new renderCardsWithSuggestions() displays suggestions in each card
- Dashboard: acceptLink() function handles click-to-link
- Dashboard: loadCards() calls renderCardsWithSuggestions()
- Systemd: remove DirectoryNotEmpty from ingest path unit (already present)

Refs: #25 #27
2026-05-31 15:42:46 +02:00
2504327e35 refactor: event-driven tuning\n\n- ingest: switch to path unit (inotify) for immediate trigger\n- auto-review: every 30min + ExecStartPost after ingest\n- health-check: every 30min\n- import-context-buffer: every 15min\n\nRefs: #25 2026-05-31 14:10:12 +02:00