sage_reflect
Store task reflections to improve future performance by recording what worked (dos) and what didn't (don'ts) after completing significant work.
Instructions
End-of-task reflection. Call this after completing a significant task to store what went right (dos) and what went wrong (don'ts). This feedback loop is critical — Paper 4 proved that agents with memory achieve Spearman rho=0.716 improvement over time while memoryless agents show rho=0.040 (no learning). Both successes and failures make you better. Store them.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Knowledge domain (e.g. debugging, architecture, user-prefs) | general |
| donts | No | What went wrong — mistakes made, approaches that failed, things to avoid | |
| dos | No | What went right — approaches that worked, patterns to repeat | |
| task_summary | Yes | Brief description of what the task was |