cyberneticlibrary

Automated clippy fixes with review gate

clippy-fix-roundworkflowsetup L392,877
oven-sh/bun
What it does

adversarially validate fix round

Best for

Large Rust codebases with many clippy violations needing safe, automated fixes with adversarial review.

Inputs
  • · {codexOutput?, opencodeOutput?, priorRoundFindingCount?, roundNum?}
  • · {reviewers: [{name, role}]}
  • · [{file, count, diagPath}]
Outputs
  • · Unified diff patch
  • · Drafted specification document
Requires
  • · Read tool
  • · Grep tool
  • · Write tool
  • · Edit tool
  • · Bash (restricted)
  • · Claude API (subagent)
Preconditions
  • · Rust project with clippy lints
Failure modes
  • · Unable to parse freeform output (parse phase failure)
  • · Skeptic cannot verify claims (inconclusive verdict)
  • · Diff fails to apply cleanly
  • · Agent cannot access required files
Trust signals
  • · Skeptic agent independently verifies claims
  • · Explicit hard constraints documented in prompt
  • · Safety comments required in code changes
  • · Diff validated against git apply