Priority: P2 [9/832]
Summary
When a claude-code session starts, the hook currently injects only episodic memories into the system prompt. This issue explores injecting
additional memory types — event_log, foresight, and raw MemCell responses — to provide the Agent with richer historical context.
Background
When a claude-code session starts, the hook retrieves memories from EverMemOS and injects them into the system prompt, allowing the LLM to be
aware of historical context throughout the session. Currently, only the episodic type is injected:
| Memory Type |
Description |
episodic |
High-level summary information (currently injected) |
event_log |
Fine-grained details of each atomic event |
foresight |
Predictions about the user's future behavior |
| Raw MemCell response |
The Agent's verbatim answers from past conversations, generally high quality |
TODO
Uncertainty
- The effectiveness of adding
event_log and foresight is unclear and requires empirical validation
- Raw MemCell responses are generally high quality and are expected to be beneficial when injected directly, but this still needs to be verified
Risks
- Injecting more memory types may significantly increase the token count of the system prompt, affecting cost and context window utilization
- A filtering or truncation strategy is needed to avoid injecting excessive low-value content
Notes
- This is an optional quality enhancement that does not affect current system availability; classified as P2
Priority: P2 [9/832]
Summary
When a claude-code session starts, the hook currently injects only
episodicmemories into the system prompt. This issue explores injectingadditional memory types —
event_log,foresight, and raw MemCell responses — to provide the Agent with richer historical context.Background
When a claude-code session starts, the hook retrieves memories from EverMemOS and injects them into the system prompt, allowing the LLM to be
aware of historical context throughout the session. Currently, only the
episodictype is injected:episodicevent_logforesightTODO
event_loginto the system prompt and evaluate the effectforesightinto the system prompt and evaluate the effectUncertainty
event_logandforesightis unclear and requires empirical validationRisks
Notes