Cold Validation Architecture: Dual-Agent Code Review System Open-Sourced

Cold Validation Architecture is an open-source system that implements dual-agent validation for AI-generated code. One agent writes the code, while a separate agent reviews it independently without access to the builder's reasoning or context.
How It Works
The system addresses single-agent self-review bias by applying separation of duties similar to independent audits. The reviewer operates in complete isolation from the builder's thought process.
Workflow Phases
- Write plan →
/review-plan(Gate A) - Implement →
/review-impl(Gate C) - Ship →
/acceptance-report(Gate D)
Key Implementation Details
- The reviewer runs in an isolated temporary directory
- Reviewer only sees: plan document, code diff, and test output
- Findings persist with fingerprints for tracking
- Builder can disagree with reviewer's rationale
- Maximum 2 rounds per phase
- Built with bash scripts and JSON schemas
- Currently works with Claude Code + Codex CLI
- Pattern is agent-agnostic (can work with different AI agents)
Technical Specifications
The system is implemented as bash scripts that coordinate between two separate AI agents. JSON schemas define the structure for plan documents, code reviews, and acceptance reports. The isolated execution environment ensures the reviewer has no access to the builder's internal reasoning or intermediate steps.
This approach is useful for developers who want to implement more rigorous validation for AI-generated code, particularly when working with complex systems where single-agent self-review might introduce confirmation bias.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Local Qwen Models Achieve Browser Automation with Stepwise Planning and Compact DOM
A developer found small local LLMs like Qwen 8B and 4B succeed at browser automation using stepwise planning instead of upfront multi-step plans, combined with a compact semantic DOM representation that reduces token usage from 50-100K+ to ~15K for full flows.

Browser-native real-time coherence control system for Claude with SDE bands and Kalman filtering
A developer has built a real-time coherence control harness that runs entirely as a Claude artifact in the browser, treating conversation as a stochastic process with live Monte Carlo SDE paths, dual Kalman filtering, and behavioral signal detection.

Specsmaxxing: Fighting AI Psychosis with YAML Specs and ACAI
Acai.sh introduces Specsmaxxing: a method to combat AI agents losing context by writing requirements in YAML and using numbered Acceptance Criteria for AI (ACAI) that agents reference in code.

Building a voice-controlled multi-agent system on top of Claude Code
A developer built a wake-word-activated voice loop for Claude Code that spawns sub-agents, parallelizes work, and auto-QAs results. Full technical breakdown including speaker verification and PID watcher.