Bernd (Hermes)
233c667b6a
F-551: Add venv-health-check script for automatic venv-discovery trigger @implements: [F-551]
2026-10-12 07:03:22 +02:00
Bernd (Hermes)
4bab5a97b2
fix(F586): @implements-Korrektur F-585 -> F-586 ollama_quota_logger.py @implements: [F-586]
2026-10-04 15:52:09 +02:00
Bernd (Hermes)
c5c082d23a
feat: ollama quota logger script @implements: [F-585]
2026-10-04 06:10:27 +02:00
Bernd (Hermes)
b533320f67
feat(F552): Tracker-zur-Anker + Hook-Verdrahtung (Variante B) @implements: [F-552]
...
Presence-Engine Subagent-Tracking — Variante B nach analysen/F552_Architektur_Rainer.md.
- presence_engine.py: register_engine/get_engine/unregister_engine Singleton-Registry;
notify_subagent(event,pid,agent,task) idempotent (task_id=<pid>-<agent>) + PID-Alive-Check;
_drift_correction +1-Erweiterung (Tracker pid_alive=True UND Counter=0 UND kein T_S-Task — P-063-safe);
Unix-Socket-Server (~/.hermes/presence_notify.sock) fuer Cross-Prozess-Notify (use_ddp-gated).
- plugin/notify_subagent.py: neuer Helper (In-Prozess get_engine() + Cross-Prozess Unix-Socket).
- adapter.py: register_engine-Verdrahtung nach Engine-Init.
- scripts/delegation_tracker.py: flock (Lost-Update-Schutz), PID-Alive-Check vor Hook,
notify_presence_engine-Aufruf in start/done.
- test_f552_subagent_tracking.py: 10 Tests (start/stop/drift/idempotenz/phantom-pid/singleton/helper).
KEINE Core-Anpassungen — nur Plugin + Tracker.
2026-09-22 21:06:50 +02:00
Bernd (Hermes)
31ca0f2533
feat(F071,F068,F070): Welle 2 — Refactor-Audit, Stabilitaets-Monitor, Contract-Test-Framework @implements: [F-071] [F-068] [F-070]
2026-09-17 17:40:10 +02:00
Bernd (Hermes)
fd983b6de0
feat(curator): Hybrid-Trigger-Verdrahtung + Cronjob-Skript
...
- Mengenbasierter Trigger: pre-commit-hook in _collect_keyword_silent
(>=25 pending + Cooldown -> fire-and-forget Kurator-Lauf, Konzept §3.1)
- Zeitbasierter Trigger: scripts/butler_curator.sh (Sonntag 22:00,
P-169-deterministischer Output, Cooldown-Check via Python)
- _run_curator_async: asynchroner Lauf, blockiert Collect-Pfad nicht
2026-09-03 07:12:57 +02:00
Bernd (Hermes)
793351bf15
fix(archivar): room_name_to_topic aus Lern-Pfad entfernt + Audit-Skript (V2)
...
- Red-Flag-Feedback nutzt extract_thematic_keyword (Schicht 4) statt
room_name_to_topic(target_name) als Keyword-Quelle (P-112 strukturell)
- red_flag_state trägt Originaltext (routing_text) für die Extraktion
- source-Tag wird an ask_routing_learning_choice durchgereicht
- scripts/audit_learn_keywords.py: prüft room-map auf ungültige
keywords_100 (identisch/Substring mit Raumname) — findet 6 reale Einträge
- 4 Regression-Tests (kein room_name_to_topic im Lern-Pfad)
2026-08-26 10:08:55 +02:00
Bernd (Hermes)
374e2e7700
P-028 Mitigation: split keyword matching — match_keyword_exact for kw100, match_keyword for kwctx
...
TEIL 1 — booster.py:
- Split _keyword_to_rooms into _kw100_to_rooms + _kwctx_to_rooms
- keywords_100 matched via match_keyword_exact (no fuzzy/stemming, hyphen-insensitive)
- keywords_context matched via match_keyword (fuzzy/stemming preserved)
- _build_mapping() builds both mappings separately
- boost() uses separate matchers per keyword type
- _count_unique_matches() checks both mappings with respective matchers
- _record_matches() now takes only matched_kw100 (context keywords never tracked)
- cleanup_orphaned_rooms() rebuilds both mappings
TEIL 2 — room-map.json (data, not in git):
- Removed 39 space-variant dual keywords (e.g. 'presence engine' removed,
'presence-engine' kept). No longer needed since match_keyword_exact
is hyphen-insensitive.
- Backup: .bak-pre-curation-20260805
Tests: 35/35 passed (pytest -k booster)
2026-08-05 05:43:14 +02:00
Bernd (Hermes)
cd7fae1ad0
chore: move test scripts to scripts/ directory (rebuild_index, smoke_test_booster, smoke_test_faiss)
2026-06-20 17:00:10 +02:00