# Projekt-STATUS — Hermes Rocket.Chat Plugin > **Stand:** 25. August 2026, 17:07 — ✅ Alle Commits gepusht (origin = HEAD) > **Letzter Commit:** `1f76e43` — fix(install): P-160 Guard — deploy_plugin() prüft def register in __init__.py > **Gitea-Remote:** ✅ Aktuell (origin/main = `1f76e43`) > **Deployment:** ⚠️ `0a436d4` (P-108 adapter.py) + `1f76e43` (P-160 Guard) NICHT deployt — deployed Stand ist `56bd33c` (24.08. 19:53) > **Uncommitted:** Keine (Working Tree clean) > **Deployment-Pfad:** `~/.hermes/plugins/platforms/rocketchat/` > **Dev-Repo-Pfad:** `~/projekte/Hermes_rocket.chat_Plugin/plugin/` --- ## Deployment-Status (.101) | Datei | Git MD5 (HEAD `1f76e43`) | Deployed MD5 | Status | |---|---|---|---| | `adapter.py` | `f4f9b9f5...` | `1c495044...` | ⚠️ DIFFERS — `0a436d4` (P-108) nicht deployt | | `__init__.py` | `f305e376...` | `f305e376...` | ✅ identisch | | `rc_tools.py` | `1fd47d1d...` | `1fd47d1d...` | ✅ identisch | | `conftest.py` | `9753e447...` | `9753e447...` | ✅ identisch | | `crash_forensics.py` | `42cafee3...` | `42cafee3...` | ✅ identisch | > Core-Plugin-Dateien auf .101 entsprechen Stand `56bd33c`. `0a436d4` (P-108 Sticky-Scope Fix) ändert `adapter.py` und ist noch nicht deployt. `78c71dc` (Doc-String) und `1f76e43` (P-160 Guard in install.sh) ändern keine Plugin-Core-Dateien. Deployment bei nächster Gelegenheit erforderlich (Preflight-Briefing + Gateway-Restart). --- ## Aktuelle Commits (Chronologisch, neueste zuerst — seit 11.08.) | Commit | Beschreibung | Datum | |---|---|---| | `1f76e43` | fix(install): P-160 Guard — deploy_plugin() prüft def register in __init__.py | 25.08. | | `78c71dc` | docs: P-108 test_v8_4_3.py Doc-String korrigiert — altes Fall-through-Verhalten aktualisiert | 25.08. | | `0a436d4` | fix(archivar): P-108 Sticky-Scope bleibt im Ursprungsraum bei themenarmer Folge-Nachricht | 25.08. | | `5302846` | docs: STATUS.md aktualisiert — Stand 24.08. 20:05, Commit 56bd33c, alle Commits gepusht | 25.08. | | `56bd33c` | fix(presence): P-096 Viola-Auflage — SEED-Stale-Reset für orphaned early_seed-Task | 24.08. | | `c3c6d35` | feat(presence): P-096 SEED — Schachuhr H=1 sofort bei Nachrichteneingang | 24.08. | | `c5653bd` | feat(presence): P-096 Staffelstab — Zwei-Person-States-Modell (H, S, MODAL) | 24.08. | | `ad431b5` | fix(presence): P-106 Phasen-Übergänge senden trotz 429-Cooldown (force=True) | 24.08. | | `f2754c7` | fix(archivar): Butler-Lern-Rückfrage triggert nicht mehr auf Self-Messages | 24.08. | | `e621a9c` | fix(archivar): Red-Flag-Timeout HARD durchsetzen statt nachträglich feststellen | 24.08. | | `521e0e5` | fix(repair): Timeout-Zuverlässigkeit für install.sh --repair | 24.08. | | `c348061` | fix(presence): P-103 Folge-Bug — force=True Status-Send nach Clarify-Replay | 24.08. | | `c44e19d` | docs: Abschnitt 1 restrukturiert — Hauptziel menschenähnliche Kommunikation zuerst, logische Kette Hauptziel -> Bedeutung -> Architektur | 24.08. | | `35eddd6` | fix(presence): P-103 Clarify-Modal Status-Reset blockiert durch 429-Cooldown | 24.08. | | `3379bb0` | docs: Status-Indikator korrigiert — Reihenfolge grün/rot/gelb, ⬛ für pulsierend | 24.08. | | `fea25f4` | docs: Funktionsbeschreibung v10.1 — Doku gegen Code korrigiert (4 Buttons, Themenring, Widerspruch-Flow, vollständige Befehlsliste) | 24.08. | | `a53d7d3` | docs: install --repair Doku, v9.0 Funktionsbeschreibung, test timeouts 120s, STATUS.md update, Rainer Bug-Review | 24.08. | | `d5aec93` | feat(archivar): Stufe 5 Commit 3 — Red-Flag Auto-Promotion + Learning-by-Use | 23.08. | | `1a053c6` | feat(archivar): Stufe 5 Commit 2 — ask_routing_learning_choice() + Butler-Handler | 23.08. | | `4906ee3` | feat(archivar): Stufe 5 Commit 1 — record_routing_decision() + scope-Parameter | 23.08. | | `059673b` | feat(archivar): Stufe 4 Red Flag Detection + Bernd Activation | 23.08. | | `5170180` | feat(F92): Self-Check check_components() im Plugin — 6-stufige Background-Diagnose | 23.08. | | `626ebf3` | feat(install): Stufe 7 Plugin-Symlink-Repair in --repair (P-002 Prävention) | 23.08. | | `cb9fd1c` | fix(clarify): P-102 Button-Parsing Off-by-one + Feature 53 Plain-Digit + Defense-in-Depth | 23.08. | | `e8852fc` | docs: ::reasoning Schalter in Inline-Befehle-Doku ergänzt (inkl. none für lokale Inference) | 23.08. | | `0840c13` | fix(archivar): LLM-Modell via ARCHIVAR_LLM_MODEL konfigurierbar (Default qwen2.5:7b lokal) | 22.08. | | `0c66775` | fix(presence): P-094 main_agent aus GC-Reset entfernen, P-095 DDP_TIMEOUT_S 3.0→1.0 | 22.08. | | `cead11d` | fix(presence): P-093 chat_profile stale GC-Reset mit 60s-Timeout | 22.08. | | `b6f532a` | fix(presence): P-090+P-091 429 spiral — backoff N=3 successes + adaptive pulse interval | 22.08. | | `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.) | | P-108 | Topic-Scoped Sticky route Folge-Nachricht ohne klares Topic in falschen Raum | ✅ GEFIXT (25.08., `0a436d4`) — B2-Block setzt `_should_classify=False`, kein Fall-through zum Archivar | | P-108a | Sticky-Erneuerung im Archivar-Fallthrough widerspricht B2-Bypass | ✅ GEFIXT (25.08., `0a436d4`) — `_sticky_bypassed_this_turn`-Flag verhindert ungeprüfte Sticky-Erneuerung | | P-160 | Root-`__init__.py` mit archivar-Inhalt überschrieben — "No messaging platforms enabled" | ✅ GEFIXT (25.08., Don) — register()-Guard in install.sh (`1f76e43`) | > **Gesamt:** 111 Pitfall-Einträge in `/data/Wissensdatenbank/0299 Projektdokumentationen/Pitfalls & Lessons Learned.md`. --- ## Meilensteine (live) | Meilenstein | Status | Commit | |---|---|---| | P-096 Staffelstab-Prinzip — Archivar drückt die Schachuhr | ✅ live | `c5653bd`+`c3c6d35`+`56bd33c` | | Stufe 4 — Red Flag Detection | ✅ live | `059673b` | | Stufe 5 — Feedback-Learning (Butler-Prinzip) | ✅ live | `4906ee3`+`1a053c6`+`d5aec93` | | F92 — Archivar Self-Check nach Gateway-Start | ✅ live | `5170180` | | P-108 Topic-Scoped Sticky Scope-Fix | ✅ GEFIXT | `0a436d4` | | P-108a Sticky-Erneuerung Fallthrough-Schutz | ✅ GEFIXT | `0a436d4` | | P-160 Root-`__init__.py` register()-Guard | ✅ GEFIXT | `1f76e43` (install.sh) | --- ## 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 17. **Live-Test .45 P-108** — P-108 Sticky-Scope-Fix (`0a436d4`) auf .45 live verifizieren (bisher nur .101-Status erfasst) 18. **DDP-Rate-Limiter identifizieren** — welcher Rate-Limiter drosselt DDP-Status-Updates (siehe P-106/P-103 429-Cooldown-Kette) --- ## 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` |