feat(auto-improve): workflow Hermes d'analyse et amélioration de la doc

Pipeline complet dans feature/hermes-auto-improve :
- auto-improve.py : analyse admin/ avec hermes --profile funk-ai, applique
  les améliorations, committe dans la branche, ré-ingère dans Qdrant
- trigger-server.py : HTTP 9095 (POST /trigger, /trigger/all, /trigger/subdir,
  /trigger/dry-run) pour déclenchement depuis n8n ou manuellement
- Ansible role hermes_auto_improve : déploie scripts + service systemd sur s01
- n8n workflow "Hermes Auto-Improve" (ID: CX72UUOempE1YtNL) : schedule
  hebdo dimanche 09h + webhook manuel → analyse → résumé LLM → email

Tout reste dans cette branche — rien ne touche main avant review.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alkatrazz 2026-06-02 23:53:53 +02:00
parent ac5938f0ce
commit 4a7a5ac9fc
7 changed files with 429 additions and 2 deletions

View file

@ -0,0 +1,17 @@
[Unit]
Description=Hermes Auto-Improve Trigger Server
After=network-online.target hermes-agent.service
Wants=network-online.target
[Service]
ExecStart=/usr/bin/python3 /usr/local/bin/hermes-auto-improve-server
Restart=on-failure
RestartSec=15s
Environment=PYTHONUNBUFFERED=1
StandardOutput=journal
StandardError=journal
SyslogIdentifier=hermes-auto-improve
[Install]
WantedBy=multi-user.target