What happens to agent memory when code changes?
The test starts with a saved rule for retrying HTTP 503. Then the code changes. Step through a recorded Loom run to see what the next agent would read.
Follow the retry rule
Indexed source
def should_retry(status: int) -> bool:
return status == 503Indexed commit c48dc9fadc75
Loom response
freshdecision/retry-policy
should_retryretries on 503. Check retry.py ata3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.
The saved lesson matches the code. The function retries on HTTP 503.
Indexed source
def should_retry(status: int) -> bool:
return status == 429Indexed commit ed0984aa70bb
Loom response
changeddecision/retry-policy
should_retryretries on 503. Check retry.py ata3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.
Changed at ed0984aa70bb
The function now retries on HTTP 429. Loom flags the lesson and identifies the commit that changed the code.
Indexed source
def should_retry(status: int) -> bool:
return status == 503Indexed commit a3b7e4ae1972
Loom response
freshdecision/retry-policy
should_retryretries on 503. Check retry.py ata3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.
The release branch still retries on HTTP 503. Loom returns the same lesson as fresh on this branch.
Run it yourself
Fork Loom and open Actions in your fork. Enable workflows if prompted, then select Coding-agent memory evaluation and choose Run workflow. GitHub starts a disposable ClickHouse container on its runner and publishes the results on the run page. It needs no service credentials or model keys.
This replay uses sample data and runs entirely in the browser. View the Loom revision used for the recording.