Autopathy site
Static reference site on autopathy (Jiří Čehovský's method), built 2026-11-01 in ~/autopathy-site (git). Live at autopathy.archetypalhealth.com. Hermes also edits this repo; run git log before editing.
- Build:
python3 -I build.py → dist/. Content in content/*.md (27 pages: principles, dosing, potency, prana, safety, FAQ, glossary, case library, etc.). tools/extract_cases.py builds data/cases.json from the autopathy.com WP export (397 items); all 159 case entries were hand-reviewed.
- Publish:
tools/deploy.sh → /var/www/autopathy (backups in /var/backups/autopathy). Preview: python3 -I tools/serve.py 8765.
- Vhost
autopathy (Let's Encrypt SAN cert shared with archetypalhealth.com): static root /var/www/autopathy, strict CSP (no inline JS/CSS), security headers in deploy/autopathy-headers.conf.
- Private parts:
/api/ and /diagnose use snippets/autopathy-private.conf (satisfy any: localhost or WireGuard 10.88.0.0/24 passes, otherwise basic auth). /api/ proxies to the engine, see Autopathy 8-bot engine.
- Rules: no em/en dashes in copy (build.py checks), own summaries plus short quotes only (autopathy.com terms forbid copying), never prefill personal medical details in public forms.
- Linked read-only into AGNT (
/sites/autopathy-source, /sites/autopathy-live).
- Vhost list: Nginx vhosts