Skip to content

Recover lost autoloop iterations from failed safe_outputs runs #241

@mrjf

Description

@mrjf

Context

Between Apr 25–29, autoloop ran successfully (agent step produced code) but safe_outputs failed to push the changes due to the stale patch generation bug (gh-aw #28955, fixed in v0.71.2). The code changes are preserved in the agent artifacts of each run and can be recovered.

Lost iterations

Each run's agent artifact contains aw-autoloop-{program}.patch. The last commit in each patch is the agent's actual iteration — earlier commits are phantom diffs from the stale base.

tsb-perf-evolve (4 iterations)

Run Iteration Description
24928883789 16 LSD 8-pass radix sort
24932091850 18 LSD 8-pass radix sort
25053867836 25 make finBuf/nanBuf/fvals module-level
25111403382 26 module-level optimizations

perf-comparison (3 iterations)

Run Iteration Description
24933142674 292 Add 5 benchmark pairs
24997568696 295 Add benchmark pairs
25096656047 297 Add benchmark pairs

build-tsb-pandas-typescript-migration (4 iterations)

Run Iteration Description
24929866462 Feature port
24931293995 Feature port
24932687823 Feature port
25091308179 Feature port

Recovery plan

  1. Download each agent artifact: gh run download <run_id> --name agent
  2. Extract the last commit from each .patch file (the agent's actual work, not the phantom diffs)
  3. Apply them in iteration order per program, verifying each applies cleanly against current main
  4. Create one PR with all recovered iterations
  5. Some iterations may conflict with each other or with changes that landed on main since — skip those

Notes

  • Artifacts have not expired as of today
  • Later iterations may supersede earlier ones (especially tsb-perf-evolve where each iteration rewrites series.ts)
  • For tsb-perf-evolve, only the latest iteration (26) likely matters since they all modify the same method
  • For perf-comparison and build-tsb, iterations are additive (new files) so all can be applied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions