/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-829-8ee8ba59fefd/workdir/CyberGril/.venv312/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
  from starlette.testclient import TestClient as TestClient  # noqa
PASS persona 1/1 refuses rerun 
PASS persona refusal makes no upstream call 
PASS gist cumulative to cap 8 {'memory_gist': 8, 'dialogue_main': 2, 'persona_generation': 1}
PASS 9th gist refused 
PASS no extra upstream gist calls 
PASS restart resumes account 
PASS post-restart gist still refused 
PASS failed call still counts (7->8) 8
PASS after failure cap holds 
PASS failure settled in ledger ['fail']
PASS concurrent: ledger never exceeds 8 8
PASS concurrent: exactly 4 served, 6 refused ['ok', 'ok', 'ok', 'ok', 'cap', 'cap', 'cap', 'cap', 'cap', 'cap']
PASS concurrent: upstream saw exactly 4 
PASS chat turns 2+4 reach 6 
PASS 7th chat turn refused 
PASS growth recorded not blocked {'dialogue_main': 6, 'growth_extract': 3}
PASS missing ledger refuses start 

17 passed, 0 failed
