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

Choose a source revision

Indexed source

retry.pymain branch
def should_retry(status: int) -> bool:
    return status == 503

Indexed commit c48dc9fadc75

Loom response

fresh

decision/retry-policy

should_retry retries on 503. Check retry.py at a3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.

The saved lesson matches the code. The function retries on HTTP 503.

Indexed source

retry.pymain branch
def should_retry(status: int) -> bool:
    return status == 429

Indexed commit ed0984aa70bb

Loom response

changed

decision/retry-policy

should_retry retries on 503. Check retry.py at a3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.

Changed at ed0984aa70bb

The function now retries on HTTP 429. Loom flags the lesson and identifies the commit that changed the code.

Indexed source

retry.pyrelease branch
def should_retry(status: int) -> bool:
    return status == 503

Indexed commit a3b7e4ae1972

Loom response

fresh

decision/retry-policy

should_retry retries on 503. Check retry.py at a3b7e4ae19726fa8fb7b8cd9a522d569e00ca892.

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.