Autopathy 8-bot engine

Universal multi-plane clinical diagnostic API for the Autopathy site. ~/autopathy-site/engine/server.py, service autopathy-diagnostic-engine.service (user hermes), listens on 127.0.0.1:8455. nginx proxies /api/ to it (private: WG/localhost or basic auth). Endpoints: GET /health, POST /api/diagnose.

Pipeline

1. Stage 1 (parallel): bot 1 Emergency & Red-Flag Triage · bot 2 Pathophysiology & Structural Mechanics · bot 3 Fluid, Mineral & Metabolic Dynamics · bot 4 Steiner Subtle & Soul Anatomy (4-fold constitution) · bot 5 Walter Last Biological Terrain · bot 7 Autopathic Method & Potency Architect.

2. Stage 2: bot 6 Contraindication & Interaction Auditor. It sees the intake and the interventions proposed in stage 1.

3. Stage 3: bot 8 Chief Clinical Synthesizer & Hering's Law Auditor, which receives bots 1 to 7 and writes the dossier.

Failure handling

Each call is retried once. A bot that still fails is reported explicitly to the synthesizer and caller, never passed along as analysis. If a safety-critical bot (1 or 6) is down the response carries a loud warning; if the synthesizer fails there is no dossier. Commit 9c4c727 ("fail closed on bot errors").

Linked from: Autopathy site, Bots and services, Home, Nginx vhosts