2026-02-21T20-16-58_auto_memory/memories.db-wal, memory/2026-02-21-timeline
This commit is contained in:
parent
2928f1d40c
commit
b8be5e4d8d
@ -10861,3 +10861,18 @@
|
|||||||
{"timestamp":"2026-02-21T20:16:37.584Z","level":"info","category":"hooks","message":"Session start hook","data":{"harness":"claude-code","project":"/home/nicholai/signet/signetai/packages/daemon"}}
|
{"timestamp":"2026-02-21T20:16:37.584Z","level":"info","category":"hooks","message":"Session start hook","data":{"harness":"claude-code","project":"/home/nicholai/signet/signetai/packages/daemon"}}
|
||||||
{"timestamp":"2026-02-21T20:16:37.585Z","level":"info","category":"hooks","message":"Session start completed","data":{"memoryCount":9,"durationMs":1}}
|
{"timestamp":"2026-02-21T20:16:37.585Z","level":"info","category":"hooks","message":"Session start completed","data":{"memoryCount":9,"durationMs":1}}
|
||||||
{"timestamp":"2026-02-21T20:16:37.586Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
{"timestamp":"2026-02-21T20:16:37.586Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:42.913Z","level":"info","category":"git","message":"Auto-committed","data":{"message":"2026-02-21T20-16-42_auto_memory/memories.db-wal, memory/memories.db-wal, me","filesChanged":3}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:48.504Z","level":"info","category":"summary-worker","message":"Wrote session summary","data":{"path":"/home/nicholai/.agents/memory/2026-02-21-timeline-api-endpoint-implementation.md"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:48.507Z","level":"info","category":"summary-worker","message":"Inserted session facts","data":{"total":9,"saved":9,"deduplicated":0}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:48.507Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:48.508Z","level":"info","category":"watcher","message":"File added","data":{"path":"/home/nicholai/.agents/memory/2026-02-21-timeline-api-endpoint-implementation.md"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.400Z","level":"info","category":"memory","message":"Memory saved","data":{"id":"2f9fdc9e-cb92-4961-8919-e9de25cf0d09","type":"fact","pinned":false,"embedded":true}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.401Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.413Z","level":"info","category":"memory","message":"Memory saved","data":{"id":"437d1950-ca01-479b-af48-dfbac34d145e","type":"fact","pinned":false,"embedded":true}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.424Z","level":"info","category":"memory","message":"Memory saved","data":{"id":"0341bb8b-03ed-4427-a816-b980990694f8","type":"fact","pinned":false,"embedded":true}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.434Z","level":"info","category":"memory","message":"Memory saved","data":{"id":"d70eda84-6b97-44d5-9ecb-82aa860e284b","type":"fact","pinned":false,"embedded":true}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.434Z","level":"info","category":"watcher","message":"Ingested memory file","data":{"path":"/home/nicholai/.agents/memory/2026-02-21-timeline-api-endpoint-implementation.md","chunks":4,"sections":4,"filename":"2026-02-21-timeline-api-endpoint-implementation"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:49.902Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:53.522Z","level":"info","category":"hooks","message":"Session start hook","data":{"harness":"claude-code","project":"/home/nicholai/signet/signetai/packages/daemon"}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:53.523Z","level":"info","category":"hooks","message":"Session start completed","data":{"memoryCount":9,"durationMs":1}}
|
||||||
|
{"timestamp":"2026-02-21T20:16:53.524Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/memories.db-wal"}}
|
||||||
|
|||||||
22
memory/2026-02-21-timeline-api-endpoint-implementation.md
Normal file
22
memory/2026-02-21-timeline-api-endpoint-implementation.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 2026-02-21 Session Notes
|
||||||
|
|
||||||
|
## Timeline API Endpoint Implementation
|
||||||
|
|
||||||
|
Added a new GET /api/timeline endpoint to the Signet daemon to expose recent memory activity for a dashboard timeline view. The endpoint leverages the existing timeline builder at packages/daemon/src/timeline.ts, which aggregates events from memory_history, memories, and connectors tables into a unified feed.
|
||||||
|
|
||||||
|
### Endpoint Design
|
||||||
|
|
||||||
|
The endpoint accepts optional query parameters for pagination and filtering:
|
||||||
|
- `limit` (default: 50) — number of events to return
|
||||||
|
- `offset` (default: 0) — pagination offset
|
||||||
|
- `type` filter — filter by event category (memories, connectors, system)
|
||||||
|
|
||||||
|
Response format: `{ events: [{id, type, timestamp, summary, details}], total, hasMore }`
|
||||||
|
|
||||||
|
### Key Decisions
|
||||||
|
|
||||||
|
Included memory extraction events from the pipeline worker (extraction_complete, decision_applied) as requested. All timestamps use ISO 8601 format, maintaining consistency with the rest of the Signet API.
|
||||||
|
|
||||||
|
### Deferred Work
|
||||||
|
|
||||||
|
Frontend implementation deferred to next session. Will involve adding a new route in packages/cli/dashboard/src/routes/ and a SvelteKit timeline component to consume the endpoint.
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user