From eeedcc4781d7c52d7ca902cbaabed4c515ba5dc3 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Mon, 11 May 2026 23:36:50 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20README=20+=20issue.md=20=E2=80=94=20Pha?= =?UTF-8?q?se=20B=20komplett=20(Punkte=202/3/4=20+=20drumherum)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README.md - Phase A erledigt-Liste erweitert: Info-Buttons, Multi-Select+ZIP, App-Datei-Manager - Neue Sektion "Phase B — Brain mit Memory + Loop + Skills" mit allen 3 Hauptpunkten (Migration / Conversation-Loop / Skills-System) abgehakt - Plus drumherum: Sprachmodell-Setting, App-Chat-Sync, Chat-Suche Next/Prev - Phase 2: "Erste Skills bauen lassen" — primaerer naechster Schritt issue.md - "Brain — Phase B (komplett)" Sektion oben — strukturiert in Infrastruktur / Memory / Conversation-Loop / Skills / Diagnostic+App - Alle Phase-B-Punkte abgehakt, mit Detail-Bullets - Offen-Liste: Tool-Use-Verifikation (claude-max-api-proxy tools-Param) explizit als ToDo, plus "Erste Skills bauen lassen" als Use-Case Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 21 ++++++++++++------- issue.md | 62 +++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 63 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 734e3ac..405e7ff 100644 --- a/README.md +++ b/README.md @@ -842,20 +842,27 @@ docker exec aria-brain curl localhost:8080/memory/stats ### Phase A — Refactor: OpenClaw raus, eigenes Brain rein - [x] aria-brain Container-Skeleton (FastAPI, Qdrant, sentence-transformers) +- [x] aria-core (OpenClaw) komplett abgerissen — Tag `v0.1.2.0` als Archiv - [x] Diagnostic: Gehirn-Tab (Memory Search/Filter, Add/Edit/Delete) - [x] Diagnostic: Gehirn-Export/Import als tar.gz -- [x] Diagnostic: Datei-Manager (Liste, Suche, Download, Delete mit Live-Bubble-Update) -- [x] App: Datei-Manager als Modal in den Einstellungen +- [x] Diagnostic: Datei-Manager (Liste, Suche, Download, Delete, Multi-Select + ZIP + Bulk-Delete) - [x] Diagnostic: Komplett-Reset (Wipe All) +- [x] Diagnostic: Info-Buttons mit Modal-Erklaerungen (Status, Konversation, Memories, Bootstrap) +- [x] App: Datei-Manager als Modal in den Einstellungen (mit Multi-Select + ZIP-Download) - [x] Voice Export/Import (einzelne Stimmen + F5/Whisper-Settings als Bundle) -- [x] aria-core (OpenClaw) komplett abgerissen — Tag `v0.1.2.0` als Archiv -- [ ] **Phase B Punkt 2:** Migration `aria-data/brain-import/` → atomare Memory-Punkte -- [ ] **Phase B Punkt 3:** Brain Conversation-Loop (Single-Chat + Rolling Window + Memory-Destillat) -- [ ] **Phase B Punkt 4:** Skills-System (Manifest, venv, README pro Skill, Diagnostic-Tab) + +### Phase B — Brain mit Memory + Loop + Skills + +- [x] **Phase B Punkt 2:** Migration aus `aria-data/brain-import/` → atomare Memory-Punkte (Identity / Rule / Preference / Tool / Skill, idempotent ueber migration_key) + Bootstrap-Snapshot Export/Import (nur pinned) +- [x] **Phase B Punkt 3:** Brain Conversation-Loop (Single-Chat UI, Rolling Window 50 Turns, Schwelle 60 → automatisches Destillat, manueller Trigger) +- [x] **Phase B Punkt 4:** Skills-System (Python-only via local-venv, skill_create als Tool, dynamische run_ Tools, Diagnostic Skills-Tab mit Logs/Toggle/Export/Import, skill_created Live-Notification in App+Diagnostic, harte Schwelle "pip → Skill") +- [x] Sprachmodell-Setting wieder funktional (brainModel in runtime.json statt aria-core) +- [x] App-Chat-Sync: verpasste Nachrichten beim Reconnect + chat_cleared Live-Update +- [x] App: Chat-Suche mit Next/Prev Navigation statt Filter ### Phase 2 — ARIA wird produktiv -- [ ] Skills bauen (Bildgenerierung, etc.) +- [ ] Erste Skills bauen lassen (yt-dlp, pdf-extract, etc. — durch normale Anfragen) - [ ] Gitea-Integration - [ ] VM einrichten (Desktop, Browser, Tools) - [ ] Heartbeat (periodische Selbst-Checks) diff --git a/issue.md b/issue.md index 158ed11..f5ece2d 100644 --- a/issue.md +++ b/issue.md @@ -212,22 +212,54 @@ Wichtige Mechanismen: - [x] RVS Nachrichten vom Smartphone gehen durch - [x] SSH Volume read-write fuer Proxy (kein -F Workaround mehr) -## Offen +## Brain — Phase B (komplett) -### Brain (Phase B — der grosse Refactor laeuft) +Der grosse Refactor weg von OpenClaw zu eigener Brain-Architektur — alle 4 Punkte +durch. ARIA hat jetzt eigenes Gedaechtnis (Vector-DB), eigenen Loop, eigene +Skills mit Tool-Use. -- [x] aria-brain Container-Skeleton (FastAPI + Qdrant + sentence-transformers) -- [x] Memory CRUD via Diagnostic-Gehirn-Tab (Add/Edit/Delete + Search + Filter) -- [x] Gehirn-Export/Import als tar.gz (komplett: Memories + Skills + Qdrant) -- [x] Voice-Bridge: aria-core-spezifische Logik raus (doctor_fix, aria_restart, aria_session_reset, compact_after) -- [x] aria-core komplett aus docker-compose.yml raus, Watchdog raus -- [x] Diagnostic: Wipe-All-Button (Memory + Stimmen + Settings) -- [x] Voice Export/Import (Diagnostic + XTTS-Bridge auf Gaming-PC) +### Infrastruktur + +- [x] aria-brain Container (FastAPI + Qdrant + sentence-transformers, MiniLM multilingual) +- [x] aria-core (OpenClaw) abgerissen — Tag `v0.1.2.0` als Archiv +- [x] docker-compose komplett umgebaut: brain + qdrant + bridge + diagnostic + proxy +- [x] Voice-Bridge: aria-core-Logik raus (doctor_fix, aria_restart, compact_after) → durch Brain-HTTP-Call ersetzt +- [x] Sprachmodell-Setting in runtime.json (brainModel) — Diagnostic kann Modell live wechseln, Brain-Restart noetig + +### Memory / Vector-DB + +- [x] Memory CRUD via Diagnostic-Gehirn-Tab (Add/Edit/Delete + Suche + Type/Pinned-Filter) +- [x] **Migration aus brain-import/** (Phase B Punkt 2) — Parser fuer AGENT.md/USER.md/TOOLING.md, atomare Punkte mit migration_key (idempotent) +- [x] **Bootstrap-Snapshot** (Phase B Punkt 2) — Export/Import nur pinned Memories als JSON +- [x] **Komplettes Gehirn** Export/Import als tar.gz (Memories + Skills + Qdrant) + +### Conversation-Loop (Phase B Punkt 3) + +- [x] Single-Chat UI + Rolling Window (50 Turns) +- [x] Memory-Destillat: bei >60 Turns automatisch 30 aelteste → fact-Memories via Claude-Call +- [x] Hot Memory (pinned) + Cold Memory (Top-5 semantisch) im System-Prompt +- [x] Manueller Destillat-Trigger + Konversation-Reset (Brain + Diagnostic chat_backup gleichzeitig) +- [x] App-Chat-Sync: verpasste Nachrichten beim Reconnect + chat_cleared Live-Update + +### Skills-System (Phase B Punkt 4) + +- [x] Python-only Skills (local-venv pro Skill, eigene pip-Pakete) +- [x] Tool-Use im Brain: skill_create als Meta-Tool, dynamische run_ pro aktivem Skill +- [x] Harte Schwelle dokumentiert: pip-Install → IMMER Skill (Brain hat keinen Persistenz ausser /data/skills/) +- [x] Diagnostic Skills-Tab: Liste, README, Logs pro Run, Activate/Deactivate/Delete, Export/Import als tar.gz +- [x] skill_created Live-Notification: gelbe Bubble in App + Diagnostic sobald ARIA selbst einen Skill anlegt + +### Diagnostic / App Features (drumherum) + +- [x] Datei-Manager (Diagnostic + App-Modal): /shared/uploads/ verwalten, Multi-Select + Select-All + Bulk-Download als ZIP + Bulk-Delete +- [x] Wipe-All-Button (Memory + Stimmen + Settings) +- [x] Voice Export/Import pro Stimme (Diagnostic + XTTS-Bridge auf Gamebox) - [x] F5/Whisper-Settings als JSON-Bundle Export/Import -- [x] Datei-Manager (Diagnostic + App-Modal): /shared/uploads/ verwalten, Delete spiegelt sich live in den Chat-Bubbles -- [ ] **Phase B Punkt 2:** Migration `aria-data/brain-import/` → atomare Memory-Punkte (Identity / Rules / Preferences / Tools) -- [ ] **Phase B Punkt 3:** Brain Conversation-Loop (Single-Chat UI + Rolling Window + Memory-Destillat) -- [ ] **Phase B Punkt 4:** Skills-System (Manifest, venv/local-bin, README pro Skill, Diagnostic-Skills-Tab, Export/Import) +- [x] App Chat-Suche umgebaut: Highlight + Next/Prev statt Filter +- [x] App Pinch-Zoom in Bildern rewriten (Multi-Touch-Race-Bugs) +- [x] Info-Buttons mit Modal-Erklaerungen im Gehirn-Tab + +## Offen ### App Features - [ ] Chat-History zuverlaessiger laden (AsyncStorage Race Condition) @@ -238,3 +270,7 @@ Wichtige Mechanismen: - [ ] Diagnostic: System-Info Tab (Container-Status, Disk, RAM, CPU) - [ ] RVS Zombie-Connections endgueltig loesen - [ ] Gamebox: kleine Web-Oberflaeche fuer Credentials/Server-Config oder zentral aus Diagnostic per RVS push +- [ ] Erste Skills bauen lassen (yt-dlp, pdf-extract, image-resize, etc.) — durch normale Anfragen, ARIA legt sie selbst an +- [ ] Tool-Use-Verifikation: Live-Test ob claude-max-api-proxy `tools` und `tool_calls` sauber durchreicht +- [ ] Heartbeat (periodische Selbst-Checks) +- [ ] Lokales LLM als Waechter (Triage vor Claude-Call)