Implement the three core memory tool actions: add (appends new content to a section), replace (replaces content using substring matching to find the target), remove (deletes content using substring matching). These act on the MEMORY.md/USER.md files.
Acceptance Criteria
Tool exposes three actions: add, replace, remove
add(target_section, content) appends to or creates a named section
replace(target_section, substring, replacement) finds first match of substring in section and replaces it
remove(target_section, substring) removes the matching line/block from the section
Substring matching is exact, case-sensitive by default (configurable)
Actions return clear success/error messages including the affected section and character count
Tool validates section names (alphanumeric + spaces, max 64 chars)
Size bounds are checked before any write (reject if would exceed max file size)
Imported from beads archie-core-1786637494829-192-fa7ea3e2 · GitHub #213 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08
Implement the three core memory tool actions: add (appends new content to a section), replace (replaces content using substring matching to find the target), remove (deletes content using substring matching). These act on the MEMORY.md/USER.md files.
### Acceptance Criteria
Tool exposes three actions: add, replace, remove
add(target_section, content) appends to or creates a named section
replace(target_section, substring, replacement) finds first match of substring in section and replaces it
remove(target_section, substring) removes the matching line/block from the section
Substring matching is exact, case-sensitive by default (configurable)
Actions return clear success/error messages including the affected section and character count
Tool validates section names (alphanumeric + spaces, max 64 chars)
Size bounds are checked before any write (reject if would exceed max file size)
---
_Imported from beads `archie-core-1786637494829-192-fa7ea3e2` · GitHub #213 · 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 three core memory tool actions: add (appends new content to a section), replace (replaces content using substring matching to find the target), remove (deletes content using substring matching). These act on the MEMORY.md/USER.md files.
Acceptance Criteria
Tool exposes three actions: add, replace, remove
add(target_section, content) appends to or creates a named section
replace(target_section, substring, replacement) finds first match of substring in section and replaces it
remove(target_section, substring) removes the matching line/block from the section
Substring matching is exact, case-sensitive by default (configurable)
Actions return clear success/error messages including the affected section and character count
Tool validates section names (alphanumeric + spaces, max 64 chars)
Size bounds are checked before any write (reject if would exceed max file size)
Imported from beads
archie-core-1786637494829-192-fa7ea3e2· GitHub #213 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08