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

AGI in md: 11 Cognitive Compression Levels for Claude System Prompts
A GitHub repository documents 11 levels of cognitive compression that can be encoded in Claude system prompts, with Level 8 shifting from analysis to construction and improving Haiku's performance from 0/3 to 4/4. The project includes 28 prompts, 299 raw outputs, and full experiment logs across 19 domains.

Peek Plugin for Claude Code: Automatic Steering Through Session Memory
Peek is a Claude Code plugin that automatically captures and injects user corrections and preferences to steer the AI assistant. It uses fusion search with embeddings, BM25, time decay, and metadata filters to provide relevant context without manual prompting.

DecisionNode: CLI and MCP Server for Semantic Decision Storage
DecisionNode is a local-only CLI and MCP server that stores structured decisions as JSON, embeds them as vectors for semantic search, and makes them accessible across AI tools via MCP. It's MIT licensed and designed to work with Claude Code, Cursor, Windsurf, Antigravity, and other MCP clients.

cc-soul plugin adds persistent memory and adaptive personas to OpenClaw
The cc-soul plugin for OpenClaw provides permanent memory storage across sessions, 10 auto-switching personas, and learning from corrections. Installation requires one command with zero configuration.