Services
Memory Service
Memory search, read, store, and flush service
Memory Service
memory service provides runtime memory operations.
Responsibilities
- Status and Markdown scan search
- Search and read memory entries
- Store explicit memory records
- Flush conversation window into daily memory
- Inject memory service usage rules for the agent
Integration model
memory is an independent service and is not embedded into the local session execution core.
- The system prompt injects a small stable longterm memory pack from
MEMORY.mdplus rules for using the memory service - Injected memory only uses stable Canon text, with dedupe, item limits, and truncation for prompt stability
- When the agent needs more memory, it should call
memory.search,memory.get, andmemory.storeitself - There is no automatic per-turn recall / capture inside the session executor
Use city memory when you want to inspect or manage memory directly.
Runtime operations
city service status memory
city memory status
city memory restart
city service command memory search --payload '{"query":"release decision"}'