feat(templates): add 3-tier memory templates (OpenClaw pattern)
This commit is contained in:
parent
cd74a4e8b0
commit
80120e5c6c
4 changed files with 208 additions and 0 deletions
46
scripts/templates/memory/MEMORY.md
Normal file
46
scripts/templates/memory/MEMORY.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Long-Term Memory: {{AGENT_NAME}}
|
||||
|
||||
> Cold curated memory. Updated manually or after significant learnings.
|
||||
> This is the last file read during compaction recovery.
|
||||
|
||||
## Agent Identity
|
||||
|
||||
- Name: {{AGENT_NAME}}
|
||||
- Role: [what this agent does]
|
||||
- Domain: {{DOMAIN}}
|
||||
- Created: {{DATE}}
|
||||
|
||||
## Key Learnings
|
||||
|
||||
> Manually curated from daily logs. Only include insights that affect
|
||||
> future behavior. Delete entries that are no longer relevant.
|
||||
|
||||
- [learning 1 — date discovered]
|
||||
- [learning 2 — date discovered]
|
||||
|
||||
## Recurring Patterns
|
||||
|
||||
> Patterns observed across multiple runs. Used to improve agent behavior.
|
||||
|
||||
| Pattern | Frequency | Impact | Action taken |
|
||||
|---------|-----------|--------|-------------|
|
||||
| | | | |
|
||||
|
||||
## Known Issues
|
||||
|
||||
> Active issues that affect agent performance.
|
||||
|
||||
- [issue] — [workaround] — [status: open/resolved]
|
||||
|
||||
## Project Context
|
||||
|
||||
> Static context that doesn't change often.
|
||||
|
||||
- Project: {{PROJECT_DIR}}
|
||||
- Pipeline: {{PIPELINE_NAME}}
|
||||
- Schedule: {{SCHEDULE}}
|
||||
- Deployment: [target]
|
||||
|
||||
## Last Updated
|
||||
|
||||
[date — update this when you curate this file]
|
||||
Loading…
Add table
Add a link
Reference in a new issue