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

Open-Source JARVIS Desktop Assistant Built with Claude Code in 2 Days
A developer built a macOS desktop AI assistant called JARVIS in 1-2 days using Claude Code as the primary development tool. The application features a holographic UI, 18 native tools for system control, voice interface, and integrations with Gmail, Google Calendar, Notion, GitHub, and Obsidian.
Claude to LinkedIn Posts Directly from Chat: Full Workflow
A Reddit user shares a workflow using the Contentdrips MCP connector to write, design, and publish LinkedIn posts directly from Claude AI chat.

OpenClaw Local Agent Implementation with TurboQuant Caching for Mid-Range Hardware
A one-click app for OpenClaw with local models now runs on mid-range devices like MacBook Air with 16GB RAM using TurboQuant caching and context warming. The implementation patches llama.cpp for reliable tool calling and achieves 10-15 tokens per second with Gemma 4 and QWEN 3.5.
ThoughtDAG: An Editable Context Graph for LLM Conversations
ThoughtDAG turns LLM context into an editable graph, letting you branch, merge, and prune what the model sees. A pilot shows it can fix errors by removing outdated branches, reducing token counts.