cyberneticlibrary

Fix bundler errors file-by-file

phase-d-bundler-perfileworkflowsetup L30
Microck/bun-rust-port-claude-artifacts
What it does

iteratively fix per-file bundler errors

Best for

methodically eliminating cascading compiler errors in a large module via per-file focus

Inputs
  • · { max_rounds: 100 (default) }
Outputs
  • · { rounds, done, history: [{round, total, files}] }
Requires
  • · agent() executor (survey)
  • · agent() executor (fix per-file)
  • · cargo check
  • · git commit --no-verify
Preconditions
  • · repo /root/bun-5
  • · PORTING.md patterns memorized
  • · bundler .zig available
Failure modes
  • · max_rounds hit before total=0
  • · file-level errors compound across rounds
Trust signals
  • · per-round survey re-checks total error count
  • · cap on cargo-check iterations (30) prevents infinite loops