Context
SessionAliasRegistry.load_from_disk crashes on several malformed JSON envelopes (#60). Add table-driven tests documenting current vs desired behavior.
Objectives
Files
tests/test_agent_press.py
tests/test_kinetic.py (optional CLI-level agent-write with corrupt state)
Getting started
uv sync --all-extras && make all
- See existing registry tests in
tests/test_agent_press.py
Definition of Done
Context
SessionAliasRegistry.load_from_diskcrashes on several malformed JSON envelopes (#60). Add table-driven tests documenting current vs desired behavior.Objectives
{"aliases": {...}}, array root[], invalid JSON, non-string UUID valuestest_session_alias_registry_save_and_load_from_diskFiles
tests/test_agent_press.pytests/test_kinetic.py(optional CLI-levelagent-writewith corrupt state)Getting started
uv sync --all-extras && make alltests/test_agent_press.pyDefinition of Done
make allpasses