Documentation
¶
Overview ¶
Package memo is the file-based memory surface (T-044): MEMORY.md, notes.md, and tasks/<id>/progress.md. Load assembles them into one block for system- prompt injection (resume inject); AppendMemory and WriteProgress persist updates. These are ordinary project files — nothing here touches the network.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Files ¶
type Files struct {
Root string
}
Files addresses the memory files relative to a project Root.
func (Files) AppendMemory ¶
AppendMemory appends a line to MEMORY.md, creating it (and tasks/ parents are not needed here) if absent.
func (Files) Load ¶
Load reads MEMORY.md, notes.md, and tasks/*/progress.md (in task-id order), concatenating them with section headers for resume injection. Missing files are skipped silently. Returns "" (no error) when nothing exists.
func (Files) WriteProgress ¶
WriteProgress writes (overwrites) tasks/<task>/progress.md.