@kaged/memory-markdown

Reference project plugin for agent memory — markdown-based entry storage with keyword scoring, recency boost, tag filtering, and auto-facts aggregation

12
source files
10
test files
~3.9k
lines
✕ 8 (7 fail)
tests
pass
typecheck
clean
lint

Test results 8

mergeConfig > applies defaults when no overrides are provided [0.120ms]
handleRetain > resolves subagent directory under agent isolation [1.21ms]
config:/ resolution > resolveStoreUri > config:/memory/special-place → <config_root>/memory/special-place/<project_id> [0.080ms]
config:/ resolution > resolveStoreUri > config:/ with trailing slash is normalized [0.070ms]
project:/ resolution > resolveStoreUri > project:/memory → <project_root>/memory (no project_id appended) [0.030ms]
context validation > resolveStoreUri > empty project_root is rejected for project:/ resolution [0.050ms]
context validation > resolveStoreUri > project_root is not consulted when resolving config:/ URIs [0.050ms]
context validation > resolveStoreUri > config_root is not consulted when resolving project:/ URIs [0.030ms]

Mentioned in

Type Document
adr ADR-0023: Project-plugin lifecycle hooks, per-agent declaration, isolation as a core principle
adr ADR-0024: Context compaction is kaged-owned, layered, observable, and operator-tunable
spec Spec: HTTP + WebSocket API
spec Spec: Local config
spec Spec: Plugin Host
spec Spec: Project DSL