This document contains the canonical documentation for the entire 100-step autonomous software factory.
The system uses a Recursive Step-Down/Step-Up methodology to transition raw intent into verified public code.
- File:
SystemsGUI.ps1(PowerShell/WinForms) - Role: Orchestrates the user interface, real-time log streaming, and manual approval gates.
- Mechanism: Uses a Concurrent Queue to pipe logs from the background Python process without freezing the UI.
- File:
pipeline.py(Python 3) - Role: The primary "Brain" of the operation. Handles topology generation, code evolution, and GitHub shipping.
- Core Logic:
SystemsPipelineEngineclass.
- File:
CodeLedger.db(SQLite) - Role: Stores every "Winning" logic block cryptographically indexed by its hash.
- Benefit: Prevents re-generation of identical logic and ensures 100% data integrity.
- File:
karoo_bridge.js(Node.js) - Role: Interfaces with the Karoo GP agent.
- Selection Pressure: Evaluates code variants for "Fitness" and performs single-variable "Scientific Method" mutations.
- Module: Integrated in
pipeline.py - Role: Performs AST-based static analysis to flag concurrency risks (Race Conditions).
- Visualization: "Purple Flags" in the Master Console.
- Python 3.11+:
C:\Users\viper\python\python.exe - Git (Portable):
C:\Users\viper\git\cmd\git.exe - GitHub CLI (gh):
C:\Users\viper\scoop\shims\gh.exe - Ollama (Local LLM):
C:\Users\viper\AppData\Local\Programs\Ollama\ollama.exe
- Python:
pip install requests pyyaml playwright - Node.js:
npm install axios chalk soap
Execute these commands in order to replicate the environment from zero:
# Create base directories
mkdir C:\Users\viper\SystemsPipeline
mkdir C:\Users\viper\build_lab
# Install core python dependencies
python -m pip install requests pyyaml playwright
python -m playwright install chromium# Navigate to the repo
cd C:\Users\viper\CascadeProjects\recursive-ai-agent
npm install# Ledger is auto-created on first run, but can be manually initialized:
sqlite3 C:\Users\viper\SystemsPipeline\CodeLedger.db "CREATE TABLE ledger (sha256 TEXT PRIMARY KEY, code_block TEXT, metadata TEXT, fitness_score REAL, verified_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);"# Double-click DRAG_FOLDER_HERE.bat on Desktop OR:
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Users\viper\SystemsGUI.ps1"- LAB: Normalize paths and isolate the build.
- DNA: Generate project topology JSON.
- GROWTH: Window-based code generation (20-line sliding window).
- MUTATION: Karoo GP fitness selection.
- RACE SCAN: Purple Flagging for concurrency hazards.
- RE-INJECTION: Final completion loop (Injecting "Please help me finish this program").
- SYNTHESIS: Deep README and ASCII mapping.
- SHIP: Force-push to GitHub
mainbranch.
MISSION STATUS: VERIFIED v10.0