CodeTruth Agent V3

GitHub DOI M1 Core DOI M1 Extension DOI M2 Core DOI M2 Deep Resolution GPL-3.0
AI imagines. CodeTruth checks. Nature tests. Humans decide.

What It Does

Before an AI agent modifies a codebase, it must answer two questions deterministically:

Question 1: What is this repository?      ← Module 1
Question 2: What calls what inside it?    ← Module 2

No AI models. No guessing. Pure static analysis with governed, evidence-based decisions.

Pipeline

Repository
    ↓
Module 1 — Repository Cognition Engine
    Domain: ENERGY_SYSTEM / AEROSPACE / FINANCE / MEDICAL ...
    Framework: pandapower / pyNastran / CCXT / PyDICOM
    Gate: APPROVED / REVIEW_REQUIRED / BLOCKED
    ↓ (if APPROVED)
Module 2 — Repository Graph Intelligence
    Call graph: 1,916,272 calls resolved
    Deep Resolution: 394,796 additional (+25.9%)
    Language adapters: Python / SQL / C# / Go
    ↓
Module 3 — Repository Reasoning Engine (in progress)
    Data flow tracing / Return type inference

Validation — Module 1

MetricResult
Repositories validated32/32 PASS + 11/11 cross-domain
Engineering domains16 specific domains
File extensions218 across 25 domain blocks
Crashes0
Governance gateAPPROVED / REVIEW_REQUIRED / BLOCKED

Validation — Module 2

MetricResult
Repositories validated76/76 PASS
Files processed54,435
Baseline calls resolved1,521,476
Deep Resolution additional394,796 (+25.9%)
Total calls resolved1,916,272
Language adaptersPython, Oracle SQL, C#, Go
DR resolvers proven7
Crashes0

11-Domain Cross-Validation

fastapi     API_SERVICE                      FastAPI      ✅
pytorch     ML_PIPELINE                      PyTorch      ✅
django      WEB_APPLICATION                  Django       ✅
biopython   SCIENTIFIC_COMPUTING             BioPython    ✅
OpenMDAO    AEROSPACE_STRUCTURAL_SIMULATION  OpenMDAO     ✅
lasio       WELL_LOGGING                     Lasio        ✅
welleng     DRILLING_SYSTEM                  welleng      ✅
ccxt        FINANCE_SYSTEM                   CCXT         ✅
pandapower  ENERGY_SYSTEM                    pandapower   ✅
poliastro   SPACE_SYSTEM                     poliastro    ✅
pydicom     MEDICAL_SYSTEM                   PyDICOM      ✅

How to Run

git clone https://github.com/Zeeshan78699/CodeTruthAgent
cd CodeTruthAgent
python -m venv .venv
.venv\Scripts\activate  # Windows
pip install -r requirements.txt

# Module 1 only
python run_m1.py "C:\repos\your_repo"

# Module 2 only
python run_m2.py "C:\repos\your_repo"

# Full pipeline
python pipeline.py "C:\repos\your_repo"

DOIs

RecordDOI
Module 1 Core10.5281/zenodo.20669542
Module 1 Extension Layer10.5281/zenodo.21005444
Module 2 Core10.5281/zenodo.20706591
Module 2 Deep Resolution10.5281/zenodo.21005972

Status

Module 1 — Repository Cognition     ✅ COMPLETE  FROZEN
Module 2 — Repository Graph Intel   ✅ COMPLETE  FROZEN
Module 3 — Repository Reasoning     🔄 IN PROGRESS
Modules 4-6                         📋 PLANNED

CodeTruth Agent V3 — github.com/Zeeshan78699/CodeTruthAgent