← All use casesUSE CASE 03

Keep decisions from going stale

Flag a memory when the code it describes changes.

THE PROBLEM

A note says one thing, the code now does another, and the next agent trusts the note.

TRACE03
  1. StartFile changed
  2. Toolmemory_check_freshness
  3. Toolmemory_correct
  4. Result✓ Memory corrected

See it happen

  1. 01

    A decision is saved with its file.

    memoryNo automatic retries on the payment webhook.↳ src/payments/webhook.ts
  2. 02

    The file changes.

    may be outdatedsrc/payments/webhook.ts changed
  3. 03

    The agent corrects it.

    correctedRetries are safe on the payment webhook.

Try it

prompt

Save to ContextForge: we use an idempotency key on the payment webhook.

Start for free

Read more

Give your AI tools a memory that outlasts the session.