Files
Hermes_rocket.chat_Plugin/STATUS.md
T

164 lines
11 KiB
Markdown
Raw 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.
# Projekt-STATUS — Hermes Rocket.Chat Plugin
> **Stand:** 20. August 2026 — ✅ AKTUELL (auto-fix tagesstart 21.08.)
> **Aktiver Branch:** `main`
> **Letzter Commit:** `bc4e180` — P-085: Diagnose-Log in _drift_correction einbauen (Vorbereitung)
> **Gitea-Remote:** ✅ SSH synchron — `Andreas/Hermes_rocket.chat_Plugin` (git@192.168.180.47:222)
> **Uncommitted:** ⚠️ 4 modifizierte Test-Dateien (tests/live_rc/test_01-04), 1 untracked (.env.test)
> **Deployment-Pfad:** `~/.hermes/plugins/platforms/rocketchat/`
> **Dev-Repo-Pfad:** `~/projekte/Hermes_rocket.chat_Plugin/plugin/`
---
## Deployment-Status (.101)
| Datei | Deployed MD5 | Git MD5 | Status |
|---|---|---|---|
| `adapter.py` | `2f3baac7...` | `2f3baac7...` | ✅ identisch |
| `__init__.py` | `d081804a...` | `d081804a...` | ✅ identisch |
| `rc_tools.py` | `1fd47d1d...` | `1fd47d1d...` | ✅ identisch |
| `conftest.py` | `9753e447...` | `9753e447...` | ✅ identisch |
| `crash_forensics.py` | `42cafee3...` | `42cafee3...` | ✅ identisch |
> Core-Plugin-Dateien auf .101 entsprechen dem aktuellen Git-Stand (`f7cbe7d`).
---
## Aktuelle Commits (Chronologisch, neueste zuerst — seit 11.08.)
| Commit | Beschreibung | Datum |
|---|---|---|
| `bc4e180` | P-085: Diagnose-Log in _drift_correction einbauen (Vorbereitung) | 20.08. |
| `faae77b` | feat(Phase3/C): Fallback Move-Request statt Auto-Route bei unzugänglichem Zielraum | 20.08. |
| `94b29ba` | feat(Phase2/A): Runtime-Guard User-Mitgliedschafts-Check | 20.08. |
| `a51a9bb` | feat(Phase1/B): user_visible Flag — Auto-Route User-Zugriff-Schutz | 20.08. |
| `6f430dc` | feat(V10.1): PLUGIN_VERSION-Konstante + Versionsanzeige in ::status | 20.08. |
| `b05010f` | test(live_rc): test_09 Auto-Route-Widerspruch-Flow (4 Szenarien) | 20.08. |
| `a887d48` | fix(HOTFIX-3): Originalnachricht nach Widerspruch-Clarify an Agenten dispatchen | 20.08. |
| `bbb3667` | fix(HOTFIX-2): _recent_auto_routes vor Archivar-Handler-Block initialisieren | 20.08. |
| `86f4eb6` | fix(HOTFIX): Widerspruch-Clarify nur nach tatsächlicher Auto-Route | 20.08. |
| `67ef518` | fix(QG-VETO): P1-Blocker Negation + WIDERSPRUCH-Allow-Liste + State-Clear | 20.08. |
| `43a02c7` | feat(P1): Auto-Route-Widerspruch-Flow — detect_routing_contradiction + Clarify | 20.08. |
| `92455d7` | fix(P-079b): Cache-Skip auch für normalen Puls (GREEN_PULSE/RED_PULSE) | 19.08. |
| `ed6f1d5` | feat: ::compress Inline-Command | 19.08. |
| `7d36dd1` | test: Triagie pre-existing Failures (1 entfernt, 10 xfail, 1 fixed) | 19.08. |
| `5ecb2dc` | fix(STETS-GELB): Message-Cache-Reset bei Phasen-Übergang + Heartbeat bei STATIC-Phasen | 19.08. |
| `9ea8541` | fix(P-063): STETS-GELB — 3 Fixes (P-063-Verschiebung, setPresence, Heartbeat) | 19.08. |
| `0e30720` | feat: ::reasoning Inline-Command | 19.08. |
| `6ed7116` | fix(P-079): Modal-Puls Cache-Skip — rot fest statt pulsierend | 18.08. |
| `f7cbe7d` | fix(P-075): crash_forensics.py an reales gateway_state.json-Schema anpassen | 15.08. |
| `8af0c03` | fix(P-074c): gateway_state.json updated_at ist ISO-String, nicht Unix-Float | 15.08. |
| `0700f40` | fix(P-074): Crash-Forensik Pfad-Mismatch + SIGKILL-Klassifikation | 15.08. |
| `0deb3a5` | fix(P-073): crash_forensics-Import im Gateway-Kontext — expliziter sys.path-Eintrag | 15.08. |
| `8dc62f1` | fix(P-072): Crash-Forensik Race-Condition — start_time-Vergleich bei PID-Match | 14.08. |
| `bb91300` | fix(crash_forensics): P0-Schema-Fixes + P1-Takeover-Fix + Integrationstest | 14.08. |
| `438d4bc` | plugin: Post-Crash-Forensik + skip_background_review-Integration | 14.08. |
| `10c52cd` | fix(P-067): send_clarify aktiviert Clarify-Modal-Puls | 13.08. |
| `9018683` | fix(P-066-followup): send_clarify nutzt button_builder-Pipeline | 13.08. |
| `2ffb7cb` | fix(P-066): Clarify-Buttons gerendert + deutsche Labels | 13.08. |
| `0ac5031` | tune(P2): adaptive pause factor ×3 → ×6 | 13.08. |
| `4ad0cf5` | feat(B7): Natürliche Sprache als Hilfetrigger | 13.08. |
| `5363405` | fix(P-064+P-065): Hook-Registrierung in connect() + Onboarding ACTIVE-Guard | 13.08. |
| `3471d8e` | fix(P-063): RC-Status-Reset nach Gateway-Neustart + Drift-Korrektur | 13.08. |
| `3fa3b59` | fix: stay_tracker nur bei stay_here (Option 2) | 13.08. |
| `db06190` | fix(P-061): restliche V8.6-Zombie-Referenzen entfernt | 13.08. |
| `379140d` | fix(P-060-followup): V8.6 PresenceEngine Methodenaufrufe entfernt | 13.08. |
| `71ade40` | fix(P-060): ungeschützte _pulse_controller-Referenzen entfernt | 12.08. |
| `da08382` | fix: P-057 Folgefix + P-058 DM-Ausschluss-Korrektion | 12.08. |
| `da9517f` | fix: P-059 — PresenceEngine coalesce_ms/pulse_interval Inkompatibilität | 12.08. |
| `2cb506c` | fix: P-056 + P-057 + P-058 — Themenring, stay_once neutral, Button 4 | 12.08. |
| `400bdd5` | test: P-054 + P-055 — Unit-Tests | 12.08. |
| `fed5656` | fix: P-054 + P-055 — Onboarding-State-Bug und Clarify-Dispatch-Schleife | 12.08. |
| `0d6db77` | test(live_rc): test_08_clarify | 12.08. |
| `cd84fd3` | fix(P-052): Modal-Puls ignoriert Cooldown | 12.08. |
| `328532b` | fix(P-051): action_id in allen Button-Dicts (RC 6.x Rendering-Fix) | 12.08. |
| `338fa14` | feat(P-044): install.sh-Migration pip → offizieller Hermes-Installer | 12.08. |
| `5fc3dbd` | fix: entferne doppelte clear_clarify_modal()-Blöcke | 11.08. |
| `a743914` | feat: P-049 Clarify-Modal + P-047 Mobile-Buttons | 11.08. |
---
## Behobene Pitfalls (dieser Sprint)
| P-ID | Problem | Status |
|---|---|---|
| P-044 | pip deprecated → offizieller Hermes-Installer | ✅ Migration implementiert |
| P-051 | Clarify-Buttons ohne action_id → RC 6.x ignoriert | ✅ gefixt, Mobile bestätigt |
| P-052 | Modal-Puls blockiert durch Cooldown | ✅ gefixt |
| P-053 | Self-Improvement-Loop crasht Gateway während Clarify | ✅ gefixt |
| P-054 | In-Memory Onboarding-State nach Restart leer | ✅ 3-Stage Fallback |
| P-055 | Clarify-Dispatch-Schleife (stay_once + Nachklärungs-Buttons) | ✅ skip_direct_dispatch |
| P-056 | Themenring greift nicht nach stay_here (Room-ID-Mismatch) | ✅ _normalize_room_id |
| P-057 | stay_once lernt falsch (neutral statt negativ) | ✅ feedback_type='neutral' |
| P-058 | Button 4 "Falsch geroutet" (reject feedback_type) | ✅ implementiert + DM-Ausschluss |
| P-059 | PresenceEngine coalesce_ms/pulse_interval Inkompatibilität | ✅ reverted zu away_grace_s |
| P-060 | V9-Refactor: ungeschützte _pulse_controller-Referenzen | ✅ entfernt |
| P-061 | V8.6-Zombie-Methoden in adapter.py | ✅ alle entfernt |
| P-063 | Drift-Korrektur Auto-Inkrement + fehlender RC-Status-Reset | ✅ gefixt |
| P-064 | _register_presence_hooks() nie aufgerufen — Status permanent GRÜN | ✅ in connect() verdrahtet |
| P-065 | _is_onboarding_phase_active() behandelt ACTIVE als laufend | ✅ aufgespalten |
| P-066 | send_clarify baut Buttons manuell — keine Pipeline-Features | ✅ button_builder genutzt |
| P-067 | send_clarify aktiviert Clarify-Modal-Puls nie | ✅ set_clarify_modal verdrahtet |
| P-072 | Crash-Forensik Race-Condition — Core-Heartbeat überschreibt PID vor Plugin-Connect | ✅ start_time-Vergleich bei PID-Match (14.08., .45 deployed) |
| P-073 | crash_forensics-Import schlägt im Gateway-Kontext fehl (sys.path) | ✅ expliziter sys.path-Eintrag (15.08.) |
| P-074 | Crash-Forensik Pfad-Mismatch + SIGKILL-Klassifikation | ✅ gefixt (15.08.) |
| P-074c | gateway_state.json updated_at ist ISO-String, nicht Unix-Float | ✅ gefixt (15.08.) |
| P-075 | crash_forensics.py an reales gateway_state.json-Schema angepasst | ✅ gefixt (15.08.) |
| P-076 | background_review.py ist Core-Code, nicht Plugin-Code | ✅ erkannt — Core-Änderung als eigener Deploy-Schritt (18.08.) |
| P-077 | _review_fork_ran-Flag muss VOR run_conversation gesetzt werden | ✅ gefixt — Flag vor run_conversation, idempotenter Clamp (18.08.) |
| P-079 | Modal-Puls Cache-Skip — rot fest statt pulsierend | ✅ gefixt — _clarify_modal überspringt Cache (18.08.) |
| P-079b | Normaler Puls (GREEN_PULSE/RED_PULSE) gecacht — ~10s-Takt statt 2,5s | ✅ gefixt — Puls-Phasen überspringen Cache (19.08.) |
| P-080 | Veralteter Snapshot — apt dist-upgrade als Testvoraussetzung vergessen | ✅ dokumentiert (19.08.) — Prävention in Test-Doku |
| P-081 | busy_input_mode=interrupt als Default schluckt Nachrichten bei Messaging-Bots | ✅ gelöst — queue-Modus aktiv (19.08.) |
| P-082 | ContextVar token mismatch bei parallelen Nachrichten — Antworten blockiert | 🔲 OFFEN — Plugin-Bug, Miguel fixen |
| P-083 | HIER_HER-Pattern Negations-Lookahead — 'passt hier nicht' fälschlich als Widerspruch | ✅ gefixt — Negative-Lookbehind-Regex (20.08.) |
| P-084 | detect_routing_contradiction nur Negation — positive Formulierung nicht erkannt | ✅ gefixt — positive Formeln + angebunden (20.08.) |
---
## GAP-Analyse (13.08. — verifiziert am Code)
| GAP | Stand 13.08. | Aufwand |
|---|---|---|
| B1: V7-2 Sticky thematisch | ✅ Implementiert | Nur Doku |
| B2: V7-3 "Jetzt verblasst" | ⚠️ Teilweise (24h-Verfall, adaptiv fehlt) | Mittel |
| B3: V7-4 Rückbezüge | ⚠️ Teilweise (sentence_markers.py, Verdrahtung fehlt) | Klein-Mittel |
| B4: V7-5 Pause-Definition | ⚠️ Teilweise (24h hard limit, adaptiv fehlt) | Klein |
| B5: Onboarding ohne Neustart | ⚠️ Teilweise (DDP-Events, Trigger fehlt) | Klein |
| B6: FAKT-Speicherort-Dialog | ✅ Implementiert (::setfakt) | Kein GAP |
| B7: Hilfeseite natürliche Sprache | ✅ Implementiert (Commit 4ad0cf5) | Kein GAP |
| B8: Taskliste (Notizzettel) | ⚠️ Teilweise (Counter + ::task, Nachhake-Logik fehlt) | Mittel |
---
## Offene Punkte
1. **P-050** — Rate-Limiting-Telemetrie vor Release prüfen
2. **P-041a Stufe 2** — Core-API `on_session_progress` Hook (langfristig)
3. ~~**install.sh-Migration** — Rainers X1-X7 Plan, Andreas' 3 Entscheidungen offen~~ **✅ ERLEDIGT (11.08.)** — A1/A2/A3 im Decision Log als ✅ Angenommen, Feature-Register Eintrag 62 (Commit `338fa14`), Pitfall P-044. Implementiert von Miguel.
4. **.45 Plugin** — ältere Version, Update ausstehend
5. **GAP B2/B4** — Adaptive Verfall-Logik (V7-3/V7-5)
6. **GAP B3** — Rückbezug-Verdrahtung (V7-4)
7. **GAP B5** — Onboarding-Trigger ohne Neustart
8. **GAP B8** — Taskliste-Nachhake-Logik
9. **24h-Rekonvaleszenz-Check** — Listener stabil seit 13.08.?
10. **Alte state.db-Backups** — Aufräumen WV 16.08. (4,6 GB, 5 Dateien)
11. **P-082** — ContextVar token mismatch bei parallelen Nachrichten (Plugin-Bug, Miguel)
12. **P-085** — Gezielter Fix stale `main_agent` Counter nach Diagnose-Log-Auswertung
13. **test_09 Assertions** — Live-Test-Assertions korrigieren (Backend funktioniert, Assertions mismatch)
14. **.45 Modell** — Qwen3.8-27B (DGX) vs. deepseek-v4-flash — Entscheidung ausstehend
15. **Tagesabschluss-Skill** — Standardisierter Skill für Tagesabschluss (STATUS.md, Daily Notes, Feature-Map)
16. **DGX .46 Stabilität** — Ursache Einfrieren ungeklärt, vLLM-Status unbestätigt
---
## Wichtige Pfade
| Was | Pfad |
|---|---|
| **Dev-Repo** | `/home/bernd/projekte/Hermes_rocket.chat_Plugin/` |
| **Plugin im Repo** | `/home/bernd/projekte/Hermes_rocket.chat_Plugin/plugin/` |
| **Deployed** | `~/.hermes/plugins/platforms/rocketchat/` |
| **Gitea** | `git@192.168.180.47:Andreas/Hermes_rocket.chat_Plugin.git` (Port 222) |
| **Feature-Map** | `/data/Wissensdatenbank/0299 Projektdokumentationen/Feature-Maps/` |
| **Pitfalls** | `/data/Wissensdatenbank/0299 Projektdokumentationen/Pitfalls & Lessons Learned.md` |