Research prototype for representing user memory as executable Python code.
# Run all constraints for Jessica Thompson
python runner.py
# Run tests
python -m pytest jessica_thompson/tests/ -vEach user is a self-contained Python project with:
- manifest.py -- compact index always loaded into agent context
- domains/ -- typed dataclass schemas + current state
- constraints/ -- executable invariants that detect conflicts and safety issues
- tests/ -- pytest suite validating constraint behavior
The runner discovers all constraint modules and executes their check() functions,
collecting alerts with severity levels (critical / warning / info).