2-vote adversarial code review against spec
phase-h-diff-reviewworkflowsetup L3★0
Microck/bun-rust-port-claude-artifacts ↗What it does
2-vote adversarial review of a diff range
Best for
Multi-perspective code review with adversarial voting and automated fix application.
Inputs
- · args: configuration object
- · worktree (path), from_commit (sha), to_commit (sha), files (list)
- · file_content (markdown/text)
- · git_diff_output (text)
- · execution_logs (text)
Outputs
- · structured_data (JSON)
- · git_commits (git history)
- · audit_findings (JSON list)
Requires
- · agent
- · phase
- · log
- · parallel
- · pipeline
- · file_read
- · git
- · json_schema
Preconditions
- · Python virtual environment or package manager set up
- · Workflow orchestrator runtime context
- · LLM agent tier models available
- · Async runtime environment
Failure modes
- · Agent timeout or non-response
- · Phase execution state corruption
- · Race condition or deadlock in parallel tasks
- · Promise rejection or timeout
- · Git operation failure (merge conflict, detached HEAD)
- · Malformed input data
- · Empty result set causing downstream failures
Trust signals
- · Structured output schemas with required-field validation
- · Parallel execution with aggregation and deduplication
- · Explicit specification or contract documentation