Files
CyberGril/docs/r3/guard-test-HEL-835.txt
T

41 lines
3.2 KiB
Plaintext

/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 R1 same-second reserves both recorded
PASS R1 precise settlement in order ['ok', 'fail']
PASS R1 cancelled settles its own entry ['ok', 'fail', 'cancelled']
PASS R1 stale settlement refused
PASS R2 poisoned boundary still counts dialogue_main {'memory_gist': 0, 'dialogue_main': 3, 'persona_generation': 0, 'growth_extract': 0, 'life_event': 0, 'sharing_judge': 0}
PASS R2 persona scene bound {'memory_gist': 0, 'dialogue_main': 3, 'persona_generation': 1, 'growth_extract': 0, 'life_event': 0, 'sharing_judge': 0}
PASS R2 unknown scene refused
PASS R2 poisoned run made exactly 2 upstream calls
PASS R3 empty {} ledger refuses start
PASS R3 corrupt ledger refuses start
PASS R3 missing capped keys refuse start
PASS R3 negative counter refuses start
PASS R3 valid audited ledger loads
PASS R3 {} ledger cannot re-reserve persona
PASS R4 early close settles cancelled [{'call_id': '1792890182152408199-691221-b12ccb72', 't': '2026-10-25T01:03:02Z', 'category': 'dialogue_main', 'pid': 691221, 'outcome': 'cancelled'}]
PASS R4 upstream explicitly closed closed=1
PASS R4 cancelled attempt still counted {'memory_gist': 0, 'dialogue_main': 1, 'persona_generation': 0, 'growth_extract': 0, 'life_event': 0, 'sharing_judge': 0}
PASS R4b done-then-close settles ok {'call_id': '1792890182253008414-691221-79830ad2', 't': '2026-10-25T01:03:02Z', 'category': 'memory_gist', 'pid': 691221, 'outcome': 'ok'}
PASS R4b upstream closed once
PASS v1 persona 1/1 refuses rerun
PASS v1 persona refusal zero upstream calls
PASS v1 gist cumulative to cap 8 {'memory_gist': 8, 'dialogue_main': 2, 'persona_generation': 1, 'growth_extract': 2, 'life_event': 0, 'sharing_judge': 0}
PASS v1 9th gist refused
PASS v1 exactly 4 upstream gist calls
PASS v1 restart resumes account
PASS v1 failed call counted and settled fail {'call_id': '1792890182254928947-691221-d603a9f7', 't': '2026-10-25T01:03:02Z', 'category': 'memory_gist', 'pid': 691221, 'outcome': 'fail', 'detail': "OSError('controlled upstream failure')"}
PASS v1 after failure cap holds
PASS v1 concurrent ledger never exceeds 8 {'memory_gist': 8, 'dialogue_main': 0, 'persona_generation': 0, 'growth_extract': 0, 'life_event': 0, 'sharing_judge': 0}
PASS v1 concurrent exactly 4 served 6 refused ['ok', 'ok', 'ok', 'ok', 'cap', 'cap', 'cap', 'cap', 'cap', 'cap']
PASS v1 concurrent upstream saw exactly 4
PASS v1 concurrent every served entry settled ok ['ok', 'ok', 'ok', 'ok']
PASS v1 7th chat turn refused
PASS v1 growth recorded not blocked {'memory_gist': 0, 'dialogue_main': 6, 'persona_generation': 0, 'growth_extract': 3, 'life_event': 0, 'sharing_judge': 0}
PASS v1 missing ledger refuses start
PASS assembly poisoned-boundary chat counts dialogue_main only {'memory_gist': 0, 'dialogue_main': 1, 'persona_generation': 0, 'growth_extract': 0, 'life_event': 0, 'sharing_judge': 0}
PASS assembly health ok with guard
36 passed, 0 failed