Commit Graph

12 Commits

Author SHA1 Message Date
7814fa4a65 feat: free-first reaktivierung Teil 2 — torch-freier embedder, Live-Aktivitäten im Graph, systemd-Pfadkorrektur
- src/embedder.py: torch/sentence-transformers durch Hash-Fallback ersetzt
  (kein numpy/ph torch nötig; 384-dim Vektor per sha256+Positional Hash)
- src/store.py: _touch_access() tracked reads für Live-Graph-Aktivität
- fastapi_app.py: SSE-Event-Stream optimiert (2s Takt, Aktivitäts-Tracking)
- templates/dashboard.html: Graph 2.1 mit Live-Aktivitäts-Pulsringen,
  Canvas 16:10, linearem Gradienten, Legendeneinträgen für Lesen/Schreiben/Bewerten
- static/style.css: Grafik-Radius 6px, Activity-Legendenfarben
- openclaw_cron_wrapper.py: CRON_TASKS_DIR ins second-brain-Verzeichnis
- systemd/*.service: Pfade von workspace/ nach second-brain/ korrigiert
- systemd/openclaw-secondbrain.target: neuer Multi-User-Target für Second Brain
- .gitignore: backups/ hinzugefügt

Embedder-Smoke-Test bestanden: encode/encode_batch/similar funktionieren
ohne externe ML-Abhängigkeit.

Refs: #36
2026-06-25 03:03:21 +02:00
89dd603629 Build second brain graph 2.0 view 2026-06-05 09:43:24 +02:00
2f61e900b8 Improve second brain live graph 2026-06-05 08:57:17 +02:00
35f53a0f1c fix(graph): Set default limit_nodes=500 to prevent browser overload
Before: limit_nodes defaulted to 0 (unlimited) causing 51052 nodes to load
After: limit_nodes defaults to 500 for reasonable browser performance

Change: Query(0, ge=0, le=50000) -> Query(500, ge=0, le=50000)
2026-06-05 02:16:33 +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
e6e8eba8f6 chore: sync local workspace state 2026-05-30 00:38:57 +02:00
6d99c520e6 feat: add verdict/evidence verification model 2026-05-29 11:30:24 +02:00
6232f25cc9 fix(fastapi): remove duplicate confirm/reject routes
- api_confirm and api_reject were defined twice on same paths
- FastAPI only registers first definition, causing silent 404s
- Kept api_confirm_engram and api_reject_engram (use _update_correctness)
- Removed duplicate direct DB implementations
- Fixes dashboard confirm/reject buttons not working
2026-05-27 18:36:03 +02:00
021fd0e328 feat(dashboard): pending queue + confirm/reject endpoints 2026-05-27 01:17:32 +02:00
095e6a33f8 feat(dashboard): realtime status + graph render 2026-05-27 00:22:14 +02:00
e5061b317f feat(dashboard): add status+graph views 2026-05-27 00:11:44 +02:00
83b85cb760 Add FastAPI dashboard MVP 2026-05-26 21:02:39 +02:00