Hermes-independent SOTA decision engine
- Python 91.1%
- HTML 8.7%
- Shell 0.2%
| adr | ||
| decider | ||
| ISSUES | ||
| tests | ||
| .gitignore | ||
| auth.env | ||
| decider.conf.json | ||
| decisions.db | ||
| precedents.db | ||
| principles.md | ||
| README.md | ||
| start.sh | ||
| start_auth.sh | ||
Decider
Hermes-unabhängiger Decision Engine. Bewertet Situationen gegen abstrakte Prinzipien per externem LLM (DeepSeek).
Principles
Siehe principles.md — 5 abstrakte Regeln:
- Autonomy First — handeln ohne Fragen, außer bei irreversiblen Schäden
- Root Cause Focus — Ursachen fixen, nicht Symptome
- Ambiguity Escalation — nur fragen wenn Prinzipien ambig sind
- Execute-Report — erst machen, dann berichten
- Risk-Graded Autonomy — Autonomie nach Risikostufe
Usage
# Einfach
echo '{"situation": "npm package installieren?"}' | python3 decider.py
# Mit Kontext
echo '{"situation": "soll ich nginx config ändern?", "context": "Port 443 -> 8443"}' | python3 decider.py
# Interaktiv
python3 decider.py --interactive
# Custom principles
python3 decider.py --situation "..." --principles /pfad/zu/principles.md
Output
{
"decision": "auto_approve",
"principle": "P1",
"reasoning": "Low-risk, reversible action. Proceed without asking.",
"ask_question": null
}
Decisions: auto_approve | ask_user | abort
Hermes Integration
Wird von Hermes per subprocess aufgerufen, ersetzt approvals.mode: manual.
Kein Hermes-Code im Decider — standalone, austauschbar.
Dependencies
- Python 3.11+
- httpx (
pip install httpx) - DEEPSEEK_API_KEY in env