M6 fixes after Ivy's blackbox test: 503 on missing model config (F1), TRUST_PROXY (F2), control characters in email (F3)
mooncak397+1: Claude Opus 5.5
e7ab12a
- F1: SystemExit from app/llm.py in /chat gives 503 model_unavailable with the BUSY text.
- F2: TRUST_PROXY (default true, HF proxy); false = socket address. uvicorn runs with
--no-proxy-headers, because app/guards.py reads X-Forwarded-For itself.
- F3: the email field rejects every control character, not only CR and LF.
Blackbox: strict xfail markers removed; the F1 test expects 503, the F2 test sets TRUST_PROXY=false.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M6: FastAPI server with server-side chat history, HMAC session tokens, rate limits, /contact via Resend
mooncak397+1: Claude Opus 5.5
9291ded
ADR-010 decision 1: /chat takes only {message} (extra=forbid), sessions in memory
(30 min, 500 max, 20 user turns, last 10 to the model), server-written contact markers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>