feat(memory): Session 1 — pointer index, strict write discipline, daemon spec
Pointer Index: - generateMemoryIndex() produces a compact markdown index (~150 chars/line) with event type counts, latest summaries, and recent activity — cheap enough for agents to always include in context - MemoryManager.generateIndex() with 10s throttled cache; auto-rebuilds on store(), cache invalidated on clear() - MCP resource knowtation://memory/index (text/markdown) - CLI: knowtation memory index [--json]
Strict Write Discipline: - status field ('success'|'failed', default 'success') on all memory events - MEMORY_EVENT_STATUSES exported; validated at creation time - Failed events filtered from index Recent Activity section - isValidMemoryEvent() backward-compatible (accepts events without status)
Docs: - docs/DAEMON-CONSOLIDATION-SPEC.md — full spec for opt-in background consolidation daemon with user-provided LLM; includes hosted deployment architecture, cost model, pricing recommendation, and 6-phase impl plan
Tests: 23 new tests added (100 total in memory.test.mjs, all passing)
0 comments
muse hub commit comment sha256:a8dae5b67c9f5da3ef66460954ea4b4f715e424556a5eedec18f2d3801dfb13a --body "your comment"
No comments yet. Be the first to start the discussion.