remove phi-core memory namespace and all references
phi-core was a turbopuffer namespace meant for operator-curated
identity and guidelines at highest trust. in practice it was never
properly curated — it accumulated 7 copies of a murmuration test
rule from an eval that wrote to production, stale IIT-era identity,
an Ozzy Osbourne concert correction, and "Today feels stable and
optimistic." all 18 entries were injected into every agent run as
[CORE IDENTITY AND GUIDELINES] alongside the actual personality file.
the personality file is the source of truth for identity. operator
directives happen through direct conversation with phi, not hidden
injection. this commit removes the concept entirely:
- namespace_memory.py: remove phi-core from NAMESPACES, delete
store_core_memory() and get_core_memories(), remove include_core
parameter from build_user_context()
- agent.py: remove include_core flag from inject_user_memory, remove
tier 1 [CORE IDENTITY AND GUIDELINES] from trust hierarchy (past
exchanges are now highest trust)
- evals/test_memory_integration.py: deleted — this test wrote
"when users mention birds, acknowledge murmuration patterns" to
production turbopuffer and never cleaned up. it ran at least 6
times, leaving 7 persistent entries phi read on every interaction.
- evals/conftest.py: remove include_core=True from build_user_context
call
- docs/memory.md: remove phi-core from namespace table and context
injection diagram
- CLAUDE.md: remove phi-core from namespace list
the turbopuffer phi-core namespace was already purged to 0 entries
earlier this session. this commit removes the code that would
repopulate it.