Step 1 of 6
Observe
Every event is saved.
Everything goes into a permanent log and into the agent’s pool. Nothing in the pool is memory yet.
Experience pool
no events yet
heartbeat ok
migration failed: permission denied
retry 1: timeout
tool output (48 KB)
user: cancel the deploy
retry 2: timeout
lint passed
fix verified: use migrator role
retry 3: timeout
9 events logged and added to the pool.
Step 2 of 6
Triage
Urgent instructions don’t wait.
Review comes later, but instructions and corrections go straight to working state.
heartbeat ok
migration failed: permission denied
retry 1: timeout
tool output (48 KB)
user: cancel the deploy
retry 2: timeout
lint passed
fix verified: use migrator role
retry 3: timeout
All 9 events are logged. Nothing has left the pool yet.
“Cancel the deploy” moved to working state.
Step 3 of 6
Review
A background worker sorts the pool.
Three retries share a cause, so they’re grouped. Routine events are marked low value. The failure and its fix are flagged to keep.
heartbeat ok
migration failed: permission denied
retry 1: timeout
tool output (48 KB)
retry 2: timeout
lint passed
fix verified: use migrator role
retry 3: timeout
user: cancel the deploynext step
3 retries grouped, 3 events marked low value, 2 flagged to keep.
Step 4 of 6
Remember
Experience becomes memory.
The failure becomes an episode, the fix a lesson, the retries one note. Each links to its source events.
heartbeat oklow value
migration failed: permission deniedkeep
tool output (48 KB)low value
lint passedlow value
fix verified: use migrator rolekeep
retry 1: timeout
retry 2: timeout
retry 3: timeout
same causeuser: cancel the deploynext step
Nothing yet. Memories are created during review.
1 episode, 1 lesson and 1 note saved.
Step 5 of 6
Archive
Nothing is deleted.
Low-value events and duplicates move to the archive, where they stay searchable.
heartbeat oklow value
tool output (48 KB)low value
lint passedlow value
user: cancel the deployapplied
Episode
Payments migration failed
↳ 2 sources
Note
3 timeouts, one cause
↳ 3 sources
Lesson
Use the migrator role for migrations
↳ 3 sources
All 9 events are logged. Nothing has left the pool yet.
5 events archived. The pool is empty again.
Step 6 of 6
Recall
Each task gets only what it needs.
A new task gets a small context: who the agent is, what’s in progress, the one lesson that applies, and a pointer to the full incident.
Empty. New events will land here.
user: cancel the deployapplied
Episode
Payments migration failed
↳ sources in archive
Note
3 timeouts, one cause
↳ sources in archive
Lesson
Use the migrator role for migrations
↳ sources in archive
heartbeat ok
tool output (48 KB)
retry 2: timeout
lint passed
retry 3: timeout
4 items in context. Everything else stays out.