Universal Reverse-Twin Framework: Autonomous full-stack reverse engineering
  • PHP 55.1%
  • TypeScript 33.9%
  • HTML 4.5%
  • JavaScript 3.7%
  • Python 2.5%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-25 19:02:31 +01:00
.agents feat: implement universal reverse-twin framework with 5-phase DAG pipeline 2026-10-23 14:29:51 +02:00
.github/workflows feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
agents feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
core/orchestrator feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
docs feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
packages/object-cache-pro feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
projects/objectcache-pro feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
sql feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
tasks feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
test feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
tests feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
tools feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
types feat: implement universal reverse-twin framework with 5-phase DAG pipeline 2026-10-23 14:29:51 +02:00
.env.example feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
.gitignore feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
AGENTS.md feat: implement universal reverse-twin framework with 5-phase DAG pipeline 2026-10-23 14:29:51 +02:00
antigravity.config.json feat: implement universal reverse-twin framework with 5-phase DAG pipeline 2026-10-23 14:29:51 +02:00
benchmark_suite.py feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
cli.ts feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
compare_bench.py feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
hypercache_benchmark.py feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
l1_vs_l2_bench.php feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
LICENSE feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
package-lock.json feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
package.json feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
README.md feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
remediation-plan.md feat: complete universal reverse-twin framework v2.0 with strict DAG and documentation 2026-10-25 19:02:31 +01:00
tsconfig.json feat: implement universal reverse-twin framework with 5-phase DAG pipeline 2026-10-23 14:29:51 +02:00

Universal Reverse-Twin Framework (twin-turbo-reverse)

Autonomous full-stack reverse engineering, AST decompilation, API behavioral probing, and isomorphic codebase synthesis.


⚡ Overview

The Universal Reverse-Twin Framework is an autonomous multi-agent micro-kernel designed to decompile, reconstruct, probe, and synthesize a production-grade 1:1 isomorphic replica of any target web application.

It generates:

  • Fastify Backend: Type-safe REST server with CORS, healthchecks, SSE streams, and Prisma ORM client integration.
  • React Frontend: Modern React + Vite + Tailwind CSS SPA with declarative react-router-dom navigation and API wrappers.
  • Relational Database DDL & Seeders: Dual-dialect (PostgreSQL & SQLite) SQL schemas with typed column definitions and foreign keys.
  • Docker Orchestration: Multi-container docker-compose.yml (PostgreSQL, backend, frontend) with healthchecks.
  • Dual-Run Parity Verifier: Differential API assertions and Pixelmatch visual regression tests.

🚀 Quick Start

1. Installation

git clone https://github.com/your-org/twin-turbo-reverse.git
cd twin-turbo-reverse
npm install
npm run build

2. Configuration

Copy the example environment file:

cp .env.example .env

3. Execution

Execute the full 5-phase DAG pipeline against any target URL:

node dist/cli.js run https://example.com -o ./workspace

🏗 Pipeline Architecture (5-Phase DAG)

  1. RECON: Stealth anti-fingerprinting crawler harvesting HTML documents, JS bundles, stylesheets, and sourcemap links into HAR 1.2 recordings.
  2. DECOMPILE: Sourcemap v3 reconstructor restoring original directories and Babel AST static analyzer discovering routes, validation schemas, and queries.
  3. PROBE: Active behavioral mutation fuzzer discovering boundary conditions, fused with dynamic traces to synthesize OpenAPI 3.1 & Prisma schemas.
  4. SYNTHESIZE: Compiles modular Fastify TypeScript server, React + Vite + Tailwind SPA, and database migrations.
  5. VERIFY: Dual-run differential API tester and Pixelmatch visual engine calculating an objective Parity Verification Score (0-100%).

🧪 Testing

# Run unit & integration test suites
npm test

# Run strict TypeScript compilation check
npm run build

📄 License

Licensed under the Apache License, Version 2.0 (the "License"). See the LICENSE file for details.