cyberneticlibrary

Apply refactors with 2-vote review

phase-f-reviewed-refactorworkflowsetup L30
Microck/bun-rust-port-claude-artifacts
What it does

Apply and verify code refactoring

Best for

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

Inputs
  • · error log or diff for fixing
  • · code diff to review
  • · git worktree path
Outputs
  • · bug report with evidence and fixes
  • · review verdict
  • · git commit hash
Requires
  • · cargo
  • · grep,find
  • · git
  • · bun
  • · zig compiler
Preconditions
  • · .zig spec file must exist at same path
  • · agent orchestrator running
  • · git worktree initialized
Failure modes
  • · agent returns null on syntax error
Trust signals
  • · enforced hard rules prevent git reset/checkout
  • · 2-voter consensus gate required
  • · explicit git commit protocol
  • · spec-grounded verification