2026-02-28T02-05-24_auto_memory/memories.db-wal, memory/2026-02-28-memory-i

This commit is contained in:
Nicholai Vogel 2026-02-27 19:05:25 -07:00
parent 2a5bb896da
commit 7a33a8588c
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# 2026-02-27 Session Notes
## Memory Injection Timestamp Enhancement
Implemented plan to surface `created_at` timestamps in all memory injection points within the Signet daemon. Previously, timestamps were stripped during injection despite being queried from the database for decay scoring, undermining temporal reasoning in agent context.
### Changes Made
All modifications concentrated in `packages/daemon/src/hooks.ts`:
1. **Helper Function**: Added `formatMemoryDate(isoDate: string)` to convert ISO timestamps to compact localized format (e.g., "Feb 15, 2026")
2. **Session Start Injection** (~line 852-854): Updated memory format from `- ${content}[tags]` to include date suffix
3. **User Prompt Submit Injection** (~line 1044): Modified selected memories map to include formatted dates
4. **Synthesis Prompt** (~line 1379): Updated memory formatting in LLM synthesis context
### Verification Plan
- Run `bun run build` and `bun run typecheck` for compilation checks
- Test fresh Claude Code session to verify injected context shows dated memories
- Verify `[signet:recall]` injection includes timestamps
- Confirm synthesis prompts include dated memories if triggered
### Status
Session started with plan approval, began reading hooks.ts to identify exact injection locations.

Binary file not shown.