Commit Graph

7 Commits

Author SHA1 Message Date
Bernd (Hermes) b96ac54770 feat(F556): Multi-Profil-Adapter-Reduktion ROCKETCHAT_SKIP_ADAPTER Variante C @implements: [F-556] 2026-09-26 11:27:17 +02:00
Bernd df8be1c0d7 feat(F069,F434,F172): Welle 1 — BG-Review-Switch, venv-Stamp, Human-Tempo-Pacing
F069 (Trivial): install.sh generiert auxiliary.background_review.enabled in
  config.yaml — SKIP_BACKGROUND_REVIEW env-Switch deaktiviert den
  Self-Improvement-Loop (Hermes-Core liest dies via load_background_review_settings).
  Config-Aenderung, kein Code-Feature. @implements: [F-069]

F434 (Standard): install.sh erkennt venv-Wechsel (Python-Version-Upgrade
  oder neuer venv-Pfad) via .venv_stamp State-Datei und installiert
  requirements.txt automatisch neu. Verdrahtet in Haupt- und Update-Flow.
  .venv_stamp in .gitignore. @implements: [F-434]

F172 (Standard): Bot-seitiges Human-Tempo-Pacing — der zentrale Send-
  Chokepoint _post_message_with_retry wartet min. HUMAN_TEMPO_MIN_DELAY
  Sekunden (Default 2.0) zwischen Nachrichten. Konfigurierbar via
  HUMAN_TEMPO_MIN_DELAY / HUMAN_TEMPO_PACING, dokumentiert in templates/.env.
  Async, nicht-blockierend (asyncio.sleep). @implements: [F-172]

Tests: 24 Unit-Tests (5 F069 + 9 F434 + 10 F172), alle gruen auf .45.
2026-09-17 17:21:49 +02:00
Bernd (Hermes) a4f1bd6443 install.sh: 6 Verbesserungen + 9 Pitfall-Prüfungen (Don)
1. .env-Template: ARCHIVAR_EMBEDDING_BASE_URL ergänzt
2. Ollama Service-Start + Modell-Pull gesichert
3. numpy/faiss Import-Test nach Installation
4. sys.path.insert für archivar-Imports in __init__.py
5. LLM_CONFIG Klarstellung: LLM=Cloud, Embeddings=lokal
6. loginctl enable-linger Check (KRITISCH — ohne Linger Crash-Loop)

Pitfalls P1-P9 dokumentiert und geprüft in install.sh
Idempotent — mehrfach ausführbar ohne Fehler
2026-07-14 14:58:28 +02:00
Hermes Agent 7a0abc465a fix: template .env aufgeraeumt — nur OLLAMA_API_KEY, kein HERMES_API_KEY 2026-06-03 18:34:35 +02:00
Hermes Agent d01eded6ff fix: drei /API-KEY-Bugs — install.sh jetzt komplett productionsicher
Bug #12: /usr/bin/bash-Expansion im Passwort verhindert — cat <<'EOF' (single-quoted delimiter)
         + Platzhalter-Ersetzung via python3 (sed expandiert hBcZeichen in double quotes)
Bug #10: OLLAMA_BASE_URL aus rocketchat.env entfernt — überschreibt sonst Cloud-Provider-URL
Bug #11: OLLAMA_API_KEY via env var setzbar (OLLAMA_API_KEY=...) statt hartem Platzhalter
2026-06-03 17:37:13 +02:00
Hermes Agent 13a87fb233 fix: template now uses ollama-cloud as built-in provider + home_channel placeholders
Root cause: 'ollama-cloud' is a built-in Hermes provider. Putting it under
custom_providers with api_key_env broke key resolution. Built-in providers
use their own env-var conventions (OLLAMA_API_KEY, not HERMES_API_KEY).

Changes:
- template: model.provider=ollama-cloud, base_url=ollama.com/v1 (no custom_providers)
- template: gateway.platforms.rocketchat.home_channel with PLACEHOLDER vars
- install.sh: sed-replace placeholders with actual RC_URL/RC_HOME_CHANNEL
- template: .env now uses OLLAMA_API_KEY (what ollama-cloud actually reads)
- Bug #11 (export prefix in rocketchat.env) still needs push
2026-06-03 14:05:22 +02:00
Hermes Agent f54f90be5b fix: provision config.yaml/.env + systemd EnvironmentFile drop-in
Fixes #9 (custom_providers missing — fresh installs had no config.yaml/.env,
so gateway had no provider to connect to) and #10 (systemd unit had no
EnvironmentFile, so gateway couldn't read rocketchat.env/.env → crash-loop).

Templates provisioned on first install only (no overwrites):
- templates/config.yaml: minimal working config with ollama-cloud provider
- templates/.env: API key placeholder
- templates/hermes-gateway-env.conf: systemd drop-in wiring rocketchat.env + .env
2026-06-03 12:24:08 +02:00