cyberneticlibrary

Parallel bundler error fixing pipeline

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

sharded per-file bundler error fixing

Best for

parallelizing fix work on a single large file (bundle_v2) across multiple agents without conflicts

Inputs
  • · { max_rounds: 100, shard: 0..N-1, nshards: N }
Outputs
  • · { rounds, done, history: [{round, total, mine}], shard }
Requires
  • · agent() executor (survey)
  • · agent() executor per-shard
  • · cargo check
  • · git commit --no-verify
Preconditions
  • · repo /root/bun-5
  • · bundle_v2.rs split into line-range buckets for sharding
Failure modes
  • · shards block on shared dependency
  • · bundle_v2 line-buckets misaligned across survey runs
Trust signals
  • · stable sort + modulo sharding ensures deterministic distribution
  • · per-shard re-gating of CSS/dependent paths