refactor: remove unused approval system, document for future reference
removed 164 lines of orphaned code from database.py that was never
integrated with the current MCP-based architecture. the approval system
was designed for conditional self-modification (phi proposes changes,
operator approves), but was left behind during the pydanticai refactor.
documented the original design and future integration options in
sandbox/APPROVAL_SYSTEM.md for when we want to reintroduce this capability.
this change makes phi fully stateless - all dynamic state now lives in
remote services (turbopuffer for memories, atproto for threads). the only
local files are ephemeral caches (.session) and configuration.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This is a binary file and will not be displayed.