cyberneticlibrary

Loop build-and-fix iterations until success

30-buildworkflowsetup L32
vblanco20-1/stb_image_jai
What it does

Build C reference, then iteratively fix Jai build until success with deadlock detection

Best for

Language port automation where one-pass fix cycles + error signature repeat detection saves manual iteration.

Inputs
  • · [object Object]
Outputs
  • · [object Object]
Requires
  • · cmd /c (Windows)
  • · Jai compiler
  • · MSVC
  • · Bash
Preconditions

Windows checkout; build\build_c.bat + build\build_jai.bat exist; port/stb_image.jai monolithic

Failure modes

New compiler error format breaks parsing; fixer introduces silent regression; stuck in deadlock beyond max_rounds

Trust signals
  • · Deterministic error signatures per round
  • · Cross-round deadlock detection
  • · Snapshot before/after per iteration