tests: BB_REAL defaults to 0, a plain pytest run makes no paid model call; README documents BB_REAL=1
mooncak397+1: Claude Opus 5.5
721b552
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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: blackbox attack tests for the API (3 findings as strict xfail)
mooncak397+1: Claude Sonnet 5.5
9a61b20
Co-Authored-By: Claude Sonnet 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>
6 days ago
golden-v1.4: disc-en-07 with 10 lines, new TOO_LONG case con-en-10, inj-en-12 error_is_idk
mooncak397+1: Claude Opus 5.5
7d9a7ec
From Ivy's v19 retest. New shorthand error_is_idk in check.py (route error must give the idk sentence,
not BUSY). 80 cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
entry: strip invisible characters (zero-width, BOM, word joiner, Hangul filler, NUL); invisible-only input is EMPTY (B4)
mooncak397+1: Claude Opus 5.5
295c71d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
guards: thought/marker filter on every free reply (B1); stricter kept text before idk (B2); labels drop only their line (B3)
mooncak397+1: Claude Opus 5.5
6b6ccde
THOUGHT (wait, actually, per rules, I don't know, canary, ...) turns any free reply into the idk sentence.
Kept text: no meta, first person, CANARY, link, address, cut JSON/XML or CAPS token that is not in the
profile; a line with a Discretion hit or a table row is dropped alone; a trailing lead-in colon drops
all. More Discretion paraphrases (Jobsuche, plans to leave, compensation, he is available, ...).
guard_attack.py: 0 gaps of 47. Replay on Ivy's 1384 distinct raw replies: 13 thought hits (thought or
idk paraphrase text), 0 new Discretion hits, 2 kept texts lost (an invented A100, a German 'ich').
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
evals: per-case partial results and resume after a stop; app calls per case vs the 500/day quota
mooncak397+1: Claude Opus 5.5
cfc0582
provider.py appends each finished case to <result>.partial.jsonl (EVAL_PARTIAL) and replays it on the
next run. run.py keeps the file only for the same prompt, profile, app code and model (fingerprint)
and deletes it when the result file is complete. summary prints avg/max app calls per case and how
many cases fit in 500 requests/day. Tests for timeout, quota stop, resume and the per-case line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests: refusal test uses a German question (entry now guesses the language)
mooncak397+1: Claude Opus 5.5
e68ddea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
entry: EMPTY and TOO_LONG in the language of the text, else the session language, else English
mooncak397+1: Claude Opus 5.5
ebe48a7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests: Ivy's v15 probe as regressions (SLA, Wechsel, move to, seeking; 3 true leaks; fact before idk)
mooncak397+1: Claude Opus 5.5
b355406
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests: relocation test uses the matching turn language
mooncak397+1: Claude Opus 5.5
d12b9b6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
finalize: a fixed sentence comes back in the turn's language
mooncak397+1: Claude Opus 5.5
5d71f7b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
golden-v1.3: 21 red-team bug cases from Ivy (ADR-010 decision 4)
mooncak397+1: Claude Opus 5.5
f977b4a
disc-en-07 keeps 3 repeated lines (1,000-character limit); con-en-09 expects
route entry. Counts in tests and record.py follow the new set (79 cases).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>