cyberneticlibrary

Survey and batch-fix build errors by subtree

phase-d-subtree-batchworkflowsetup L30
Microck/bun-rust-port-claude-artifacts
What it does

Execute workflow

Best for

Staged multi-agent compilation loops with spec-grounded verification.

Inputs
  • · codebase state (file list, error counts)
  • · error log or diff for fixing
Outputs
  • · bug report with evidence and fixes
Requires
  • · cargo
  • · grep,find
  • · git
  • · zig compiler
Preconditions
  • · git repo at /root/bun-5
  • · HEAD is clean, uncommitted changes okay
  • · .zig spec file must exist at same path
  • · agent orchestrator running
Failure modes
  • · survey phase returns null (grep timeout)
Trust signals
  • · enforced hard rules prevent git reset/checkout
  • · 2-voter consensus gate required
  • · read-only survey phase
  • · explicit git commit protocol