Implement the built-in file-backed memory tool that persists to MEMORY.md and USER.md files. This replaces the current ephemeral memoryNotes system with durable on-disk storage that survives restarts and sessions.
Acceptance Criteria
Built-in provider lives in internal/memory/builtin package
MEMORY.md stores persistent agent memory (facts, preferences, state across sessions)
USER.md stores user-provided context (background, instructions, preferences)
Both files are bounded (configurable max size, default 100KB per file)
Files are read at provider initialization and written on every mutation
File format is plain markdown with sections
Thread-safe reads and writes (sync.RWMutex)
Files live under the profile's memory directory (e.g., ~/.config/archie/profiles/{profile}/memory/)
Imported from beads archie-core-1786637494804-191-0907551f · GitHub #212 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08
Implement the built-in file-backed memory tool that persists to MEMORY.md and USER.md files. This replaces the current ephemeral memoryNotes system with durable on-disk storage that survives restarts and sessions.
### Acceptance Criteria
Built-in provider lives in internal/memory/builtin package
MEMORY.md stores persistent agent memory (facts, preferences, state across sessions)
USER.md stores user-provided context (background, instructions, preferences)
Both files are bounded (configurable max size, default 100KB per file)
Files are read at provider initialization and written on every mutation
File format is plain markdown with sections
Thread-safe reads and writes (sync.RWMutex)
Files live under the profile's memory directory (e.g., ~/.config/archie/profiles/{profile}/memory/)
---
_Imported from beads `archie-core-1786637494804-191-0907551f` · GitHub #212 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08_
sam
added the mediumtask labels 2026-10-27 13:37:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implement the built-in file-backed memory tool that persists to MEMORY.md and USER.md files. This replaces the current ephemeral memoryNotes system with durable on-disk storage that survives restarts and sessions.
Acceptance Criteria
Built-in provider lives in internal/memory/builtin package
MEMORY.md stores persistent agent memory (facts, preferences, state across sessions)
USER.md stores user-provided context (background, instructions, preferences)
Both files are bounded (configurable max size, default 100KB per file)
Files are read at provider initialization and written on every mutation
File format is plain markdown with sections
Thread-safe reads and writes (sync.RWMutex)
Files live under the profile's memory directory (e.g., ~/.config/archie/profiles/{profile}/memory/)
Imported from beads
archie-core-1786637494804-191-0907551f· GitHub #212 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08