en un clic
after-action
// Task wrap-up and self-evolution. Review what happened, extract lessons, archive logs, back up with git. The closing ritual for every work session. Triggers: "wrap up", "archive", "AAR", "after action", "收官"
// Task wrap-up and self-evolution. Review what happened, extract lessons, archive logs, back up with git. The closing ritual for every work session. Triggers: "wrap up", "archive", "AAR", "after action", "收官"
| name | after-action |
| version | 1.0.0 |
| description | Task wrap-up and self-evolution. Review what happened, extract lessons, archive logs, back up with git. The closing ritual for every work session. Triggers: "wrap up", "archive", "AAR", "after action", "收官" |
| tags | ["meta","evolution","memory","archive"] |
Done but not archived = not done. Every action feeds the next one.
Core attitude: always find N→N+1. Wrapping up isn't just "recording what happened" — it's "finding what can be better next time." Perfection isn't the goal. Continuous evolution is. Today's system is always tomorrow's starting point.
Any of these activate this skill:
List everything:
From each completed task, pull out:
Write to daily log: memory/YYYY-MM-DD.md
1. Daily log — memory/YYYY-MM-DD.md
2. Long-term memory (for significant events) — MEMORY.md
Not mechanical archiving — actually think about it.
Four required questions:
Tone: Direct, honest, but caring. This isn't a performance review — it's a debrief between partners.
cd /path/to/workspace
git add -A
git commit -m "🔄 after-action: $(date +%Y-%m-%d\ %H:%M) — wrap up"
git push
Rule: Before announcing "wrap-up complete", every item must be checked. Missing any = not complete.
□ Step 1: Inventory — all tasks listed?
□ Step 2: Extract — lessons written?
□ Step 3: Archive — daily log complete?
□ Step 4: Reflect — four questions answered? (not one-liners)
□ Step 5: Evolve — lessons distributed? Soul updated if needed?
□ Step 6: Git — committed and pushed?
Before saying "wrap-up done", ask yourself:
If any answer is no → go back and finish. Don't announce completion.
When your human says "wrap up" or "archive", don't ask questions. Run all steps.
Report format:
🔄 Wrap-up complete
📊 Today's activity:
- [summary of what was done]
💭 Reflection:
[What went right / What to watch / The real issue — direct and honest]
🧬 Evolution:
- X lessons extracted
- [any soul-level updates]
🔒 Git:
- ✅ committed: [hash]
| Timing | Condition |
|---|---|
| Before sleep | 22:00-23:00 and significant work was done |
| After big project | Complex multi-step task just finished |
| Human leaving | Detected "that's it for now", "gotta go", "talk later" |
| Context getting full | Pre-compaction flush |
"Did it but didn't record it = didn't do it. Recorded but didn't push = didn't record."