cyberneticlibrary

Fix failing tests with root cause analysis

phase-g-test-swarmworkflowsetup L30
Microck/bun-rust-port-claude-artifacts
What it does

Distribute test execution and crash analysis

Best for

Massively parallel test crash categorization across shards without reimplement runners.

Inputs
  • · codebase state (file list, error counts)
  • · error log or diff for fixing
  • · code diff to review
  • · test glob pattern
Outputs
  • · structured findings (files, counts)
  • · bug report with evidence and fixes
  • · review verdict
  • · git commit hash
Requires
  • · grep,find
  • · git
  • · bun
  • · 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)
  • · agent call timeout on large files
  • · test crash on unported stub
Trust signals
  • · enforced hard rules prevent git reset/checkout
  • · 2-voter consensus gate required
  • · read-only survey phase