Agentic Retrospective

Session Review, Waste Reduction & Improvement

12 / 12

In Practice

  • Capture automatically: a session-end hook logs corrections, re-prompts, and abandoned threads
  • Let the agent analyze recent sessions: where context grew, prompts failed, and rewrites happened
  • Have it draft the fix: a rule in AGENTS.md, a new skill, a hook, or a habit change
  • Diff its output against your final commit; what you corrected by hand is the lesson
  • Approve before it lands: the agent never silently rewrites its own rules
  • Prune as you go: drop contradictory or bloated rules so context stays tight
  • Track tokens, cost, and tool failures over time so you can see the loop working

Page 59 of 72: Agentic Retrospective: In Practice

Contents