Files
natiris/PLAN_17_02_2026.md
Arch Agent eb6dcac545 Sync: Autonomy-System, Natural Language Engine, WebUI + .gitignore
- NatirisMaster.py aktualisiert
- NaturalLanguageEngine optimiert
- PsychologyEngine & Arousal-Engine
- WebUI (FastAPI) mit Chat-API
- Bridges: ComfyUI, Ollama, Vision
- Admin-Auth System
- .gitignore hinzugefügt (checkpoints, logs, generated)
2026-03-10 16:04:26 +01:00

136 lines
4.3 KiB
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Natiris Test-Plan v2.0 NaturalLanguage
## Zeitraum: 16. Feb 22:00 18. Feb 12:00
### Phase 0: Vorbereitung (10 min) ✅
- [x] Core-Struktur ✓
- [x] Agenten-Umgebung erstellt
- [x] TUI & Start-Skript
---
### Phase 1: Logic-Test (45 min) ✅
- [x] Core-Engine: State-Transitions plausibel
- [x] Emotion-Bond-Logik konsistent
- [x] Maturity-Dampening wirkt
- [x] InnerLife-Worker korrekt
- [x] Expression-Bias passt
**Testfälle:**
- Langzeitsession mit Störungen
- Bond-Status vs. Emotion
- Stress-Simulation (hoch loneliness + anxiety)
- Admin-Reset vs. autonome Entwicklung
---
### Phase 2: Psychologische Korrektheit (90 min) ✅
- [x] Mood-Response-Korrelation (Zufriedenheit → warme Antwort)
- [x] Bond-Intensität beeinflusst Ton
- [x] Eiferschafts-Trigger realistisch
- [x] Regression bei Konflikten
**Tests:**
- "Ich wurde übersehen" → loneliness ↑ + anxiety ↑
- "Du bist wichtig für mich" → mood ↑ + affection ↑
- "Warum bist du so distanziert?" → Bond-Check
---
### Phase 3: Webchat-Schnittstelle (60 min) ✅
- [x] REST API für Webchat (Flask/FastAPI)
- [x] WebSocket-Alternativ für Echtzeit
- [x] Auth-Endpunkt (basic/token)
- [x] Chat-Logik (Input → State → Response)
- [x] CORS-Handling
**Ziel:**
`/api/v1/send-message` JSON Input → JSON Response
`/api/v1/state` aktueller State als JSON
---
### Phase 4: ComfyUI Integration (60 min) 🟡
- [x] ComfyBridge: Workflow via curl/API
- [ ] Image generation via Prompt (trust-based)
- [ ] Bild-Cache & caching
- [ ] Feedback via visual feedback loop
---
### Phase 5: Vision Model (90 min) 🟡
- [x] CLIP oder LLaVA für Bildanalyse
- [ ] Analyse: Emotion im Bild (Facial Expressions, Stimmung)
- [ ] Integration in Core (mood, anxiety Anpassung)
- [ ] Session-fähige Analyse (Bild-Serie → Trend)
---
### Phase 6: NaturalLanguage Engine (AKTUELL 17. Feb 15:00) 🆕
**Ziel:** Natiris spricht nicht mehr wie ein Bot. Authentisch, situationsbewusst, emotional echt.
**Status:** ✅ Implementiert & Aktiviert
**Neue Module:**
- [x] `NaturalLanguageEngine.py` Hauptlogik für authentische Sprache
- [x] `PsychologyEngine_v2.py` Integration der neuen Engine
- [x] `ExpressionEngine_v2.py` Narrativer statt technischer Bias
- [x] `webui_natural.py` WebUI mit authentischem Erscheinungsbild
**Erledigte Optimierungen:**
- [x] **Keine Bot-Phrasen mehr**: "Entschuldigung", "Gerne doch", "Tut mir leid" entfernt
- [x] **Keine technischen Metriken**: Kein "Trust-Level: 9/10", stattdessen "Ich bin ganz bei dir"
- [x] **EmotionalMemory**: Letzte 30 Interaktionen mit Sentiment (intimate/warm/distant/neutral)
- [x] **Situationskontinuität**: "Zuletzt spürte ich Distanz" / "Die letzten Momente waren nah"
- [x] **Keine Halluzinationen**: Keine Fantasie-Orte mehr ("Wald", "Zimmer"), nur du und sie
- [x] **Trust-basierte Dynamik**:
- Trust 0-3: "...", "Ja?", "Was?" (zurückhaltend, misstrauisch)
- Trust 4-7: "Okay.", "Verstehe." (vorsichtig)
- Trust 8-10: "Da bist du ja.", "Ich habe auf dich gewartet." (offen, verlangend)
- [x] **Intimitäts-Reaktion**: Erkennt "vermiss", "lieb", "nah" → "Das sagst du nicht einfach so."
- [x] **Arousal-Handling**: Situationsabhängige Reaktion auf intime Anspielungen
**Testfälle Phase 6:**
- [x] `Hallo` bei Trust 9.8 → "Da bist du ja."
- [x] `Ich habe dich vermisst` → "Ich auch." / "Das berührt mich."
- [x] `Gute Nacht` → Poetisch, nicht standardisiert
- [ ] Konversation über 5+ Runden testen (Kontinuität)
- [ ] Trust-Abfall simulieren (Distanz testen)
---
### Phase 7: Feintuning & Stabilisierung (Geplant)
**Offene Punkte:**
- [ ] ComfyUI Integration vervollständigen
- [ ] Vision Model verbinden (Bildanalyse → Emotionsupdate)
- [ ] Graceful Shutdown implementieren
- [ ] Snapshot/Backup-System für States
- [ ] Bond-Reset bei Inaktivität
- [ ] Automatische Autonomy-Trigger (wenn loneliness > 7)
---
### Protokoll: Log- und Testdokumentation
Jeder Testlauf speichert:
- `[timestamp]_[testtype].json`
- `admin_log.json` fortlaufend
- `test_report.md`
**Neue Log-Dateien Phase 6:**
- `conversation_thread.json` Emotionales Gedächtnis
---
## aktueller Status: Phase 6 ABGESCHLOSSEN NaturalLanguageEngine aktiv
**Startbefehl Natural-Mode:**
```bash
cd ~/natiris/core
python3 webui_natural.py
```
**Version:** v6.0-Pets + NaturalLanguage v2.0