feat: install.sh komplett überarbeitet — alle 9 Punkte + 10 Pitfalls

Neue install.sh (1570 → 866 Zeilen, -56% Komplexität):

Punkte 1-9 alle abgedeckt:
1. System-Dependencies (Python 3.13, pipx, git, curl, Ollama)
2. Hermes Agent via pipx + snowballstemmer in pipx-venv (P1)
3. Plugin nach site-packages/plugins/platforms/rocketchat/ (P3)
4. config.yaml aus env-Variablen (P2/P6/P7)
5. .env aus env-Variablen (P4/P8)
6. room-map.json leer — Onboarding füllt sie (P10)
7. SOUL.md ohne 'Bestätigung vor Bearbeitung' (P9)
8. systemd user service mit enable (P5)
9. Verifikation am Ende prüft alle Pitfalls

Env-Variablen-First:
- OLLAMA_CLOUD_API_KEY, ROCKETCHAT_PASSWORD, ROCKETCHAT_USER_ID (erforderlich)
- MODEL_NAME=nemotron-3-super, CONTEXT_LENGTH=131072, COMPRESSION_THRESHOLD=0.85 (defaults)
- ARCHIVAR_LLM_BASE_URL=http://localhost:11434 (P8: lokal, nicht cloud)
- Alle Werte über env, nichts hardcodiert

Neue Optionen:
- --dry-run  zeigt was gemacht würde, ändert nichts
- --check    prüft nur Voraussetzungen
- --update-only  Notfall-Deploy (nur Plugin + Restart)
- --force    überschreibt bestehende Dateien
- --skip-system-deps / --skip-ollama-models für CI/Container

Pitfalls (alle automatisch abgefangen):
P1  snowballstemmer in pipx-venv (NICHT system-python)
P2  auxiliary=ollama-cloud (NICHT openrouter/Nous — payment errors)
P3  Plugin-Pfad site-packages/plugins/platforms/rocketchat/
P4  .env nicht zwischen Maschinen kopieren
P5  systemctl --user enable hermes-gateway (Autostart)
P6  provider=ollama-cloud (NICHT custom)
P7  model=nemotron-3-super (NICHT nemotron-3-super-120b)
P8  ARCHIVAR_LLM_BASE_URL=localhost:11434 (NICHT ollama-cloud)
P9  SOUL.md ohne 'Bestätigung vor Bearbeitung'
P10 room-map.json leer starten

Doku: INSTALL.md mit allen env-Variablen und Beispiel-Aufruf.
This commit is contained in:
Bernd (Hermes)
2026-07-19 18:30:53 +02:00
parent 6eb34e11e3
commit 775f719701
2 changed files with 1013 additions and 1473 deletions
+911 -1473
View File
File diff suppressed because it is too large Load Diff