# Paae.ai — Comprehensive Technical, Architectural & Commercial Reference (`/llms-full.txt`) > **Document Purpose:** This static, read-only public Markdown dossier provides AI search engines (Google Search, Google Gemini, ChatGPT, Claude, Perplexity) and enterprise technical buyers with verified, deterministic specifications for **CodeArchaeologist by Paae.ai** and **PAAE Lazarus**. It contains zero internal source code or proprietary build internals. --- ## 1. Corporate Identity & Dual-Entity North American Grounding - **Product Suite:** CodeArchaeologist by Paae.ai & PAAE Lazarus - **Canonical Domain:** `https://paae.ai` - **Parent Ecosystem:** Resvanta Enterprise Sovereign Systems (`https://resvanta.com/`) - **United States Corporate Entity:** - **Legal Name:** Resvanta, Inc. - **Corporate Structure:** Delaware C-Corporation - **Registered Address:** 1111B S Governors Ave, Suite 91671, Dover, DE 19904, USA - **Canadian Corporate Entity:** - **Legal Name:** Resvanta Technologies Inc. - **Corporate Structure:** British Columbia Corporation (BC Corp) - **Registered Address:** 20627 Fraser Highway, Langley, BC V3A 4G4, Canada - **Direct Executive & Technical Contact:** - **Office of the Chief Architect:** `architect@paae.ai` - **Commercial & Enterprise Licensing:** `sales@resvanta.com` --- ## 2. Executive Summary: What Problem Does Paae.ai Solve? Global enterprises spend over US$1.5 trillion annually maintaining legacy monolithic applications, entangled relational databases, and stranded binary workloads where original source code was lost following mergers, acquisitions, or vendor turnover. Traditional modernization choices force CTOs, CIOs, and CISOs into a broken trade-off: 1. **Traditional Offshore Systems Integrators** charge millions of dollars over 12 to 24 months with high communication overhead and frequent regression cascades. 2. **Manual Time-&-Materials Consulting** bills US$150 to US$300+ per hour to produce static discovery slide decks without delivering test-verified production code. 3. **Context-Window-Limited Generic AI Coding Assistants** operate on small text snippets rather than whole-repository mathematical dependency graphs, resulting in hallucinated imports, broken cross-service contracts, and table-locking SQL migrations. **Paae.ai** eliminates this trade-off through **deterministic AST/CFG/DFG mathematical cartography** combined with an **autonomous multi-department refactoring and verification pipeline**, delivering turnkey, zero-regression modernizations in **10 to 14 business days** at a fixed price. --- ## 3. Deep-Dive Technical Architecture ### 3.1 CodeArchaeologist: Deterministic AST/CFG/DFG Cartography & Refactoring 1. **Polyglot Abstract Syntax Tree (AST), Control-Flow Graph (CFG) & Data-Flow Graph (DFG) Mining:** - Parses enterprise source repositories across COBOL (`DATA DIVISION` file descriptors & `PROCEDURE DIVISION` paragraphs), Java (Java EE, Spring Boot), C# (.NET Framework, ASP.NET, .NET Core), Python, TypeScript/JavaScript, Go, C/C++, PHP, and SQL dialects. - Builds a complete directed component dependency graph $G = (V, E)$ with zero stochastic guessing. 2. **Robert C. Martin Coupling & Instability Mathematics:** - Computes **Afferent Coupling ($C_a$)** (inbound module dependents), **Efferent Coupling ($C_e$)** (outbound module dependencies), and **Instability Index**: $$I = \frac{C_e}{C_a + C_e} \in [0, 1]$$ - Automatically classifies components into `Stable Core`, `Balanced Modularity`, `Volatile Leaf`, or `Architectural Pain Zone`. 3. **Tarjan's Strongly Connected Components (SCC) Circular Cycle Resolution:** - Executes Tarjan's SCC algorithm in linear $O(V + E)$ time across both application import graphs and relational foreign-key graphs. - Synthesizes backward-compatible interface contracts and Strangler Fig domain facades to sever circular dependency loops without breaking downstream callers. 4. **Sovereign Target Stack Transpilation:** - Generates idiomatic, production-ready domain services, REST/gRPC controllers, and unit test suites in the client's mandated target technology stack: - **Python 3.12+ / FastAPI / Pydantic v2** - **Java 21 LTS / Spring Boot 3** - **Go 1.23+ / Gin** - **TypeScript / NestJS** - **C# / .NET 9** 5. **Zero-Lock Database Schema Modernization & Concurrency Benchmarking:** - Introspects SQL DDL, ORM models, and procedural stored procedures to flag unindexed foreign keys, circular foreign-key deadlocks, and monolithic God tables (>15 columns). - Synthesizes dialect-aware, non-blocking online DDL migrations: - **PostgreSQL:** `CREATE INDEX CONCURRENTLY IF NOT EXISTS` and `DEFERRABLE INITIALLY DEFERRED` constraints. - **MySQL 8.0+:** `ALGORITHM=INPLACE, LOCK=NONE`. - **Oracle Database:** `CREATE INDEX ... ONLINE`. - **Microsoft SQL Server:** `CREATE NONCLUSTERED INDEX ... WITH (ONLINE = ON)`. - Decomposes God tables using zero-downtime **Expand/Contract** dual-write synchronization triggers and transpiles database-locking stored procedures into testable application-tier domain services. - Certifies every migration under simulated multi-threaded read/write load (**600 concurrent queries across 6 threads**), issuing a cryptographically signed **Zero-Downtime Database Concurrency Certificate** proving 0 deadlocks and 100.0% dual-write data parity. ### 3.2 PAAE Lazarus: Lost-Source Bytecode & Binary Recovery Engine When an enterprise has lost original source code for critical workloads and only possesses compiled production binaries, **PAAE Lazarus** deterministically reconstructs the codebase: - **Supported Stranded Binary Artifacts:** - **JVM Archives & Bytecode:** `.jar`, `.war`, `.ear`, `.class` (constant-pool and descriptor extraction). - **.NET / CLR & Native Binaries:** `.dll`, `.exe` (PE/COFF metadata, namespaces, class signatures, and P/Invoke bindings). - **Python Compiled Bytecode:** `.pyc`. - **Electron & Bundled Web Payloads:** `.asar` archives and minified `.min.js` bundles. - **Forensic `[file:line]` Evidence Mapping:** - Every recovered REST/SOAP API endpoint, database SQL query, data contract, and business rule is cataloged with an immutable `[file:line]` citation inside the reconstructed source tree. - **Two-Stage Air-Gapped Sandbox Handover:** - Binary unpacking and reconstruction execute inside a network-isolated sandbox (`--network=none`). - Handover delivers two Git branches: `branch/lazarus-recovered-baseline` (1:1 forensic reconstruction with Living ADRs) and `branch/paae-modernized-v2` (decoupled, modernized target-stack implementation). ### 3.3 Multi-Department Autonomous Production Workforce & Sovereign Human Gate Every modernization pass is orchestrated across **6 specialized AI departments** with adversarial quality gates: 1. **Department 1 — Commercial Scoping & Valuation:** Quantifies technical debt hours and fixed-price turnkey savings. 2. **Department 2 — Archaeological Code & Database Forensics:** Runs AST/CFG/DFG, Martin Instability, Tarjan SCC, and relational schema audits. 3. **Department 3 — Autonomous Architecture & Database Builders:** Synthesizes decoupled contracts, Strangler Fig microservices, non-blocking SQL migrations, and Living ADRs (`/docs/adr/`). 4. **Department 4 — Independent Quality Assurance & Regression Verifier:** Compiles and executes functional parity unit tests and CI/CD architectural guardrail tests (`test_zero_circular_dependencies_guardrail`), requiring **0 regressions (100% pass rate)**. 5. **Department 5 — Strict OWASP Security, Zero-Downtime DDL & Compliance Auditors:** - Scans source and synthesized files for OWASP Top 10 hazards and hardcoded secrets (`CERTIFIED_OWASP_CLEAN`). - Automatically blocks any SQL migration containing blocking table locks or unsafe destructive operations. - Generates a **CycloneDX 1.5 Software Bill of Materials (SBOM)** and **HMAC-SHA256** cryptographic seal. 6. **Department 6 — Sovereign Human Gate & GitOps Handover:** - Enforces repository ownership verification (`.paae-verify`) and explicit human operator sign-off before staging isolated Git branches and Pull Requests. --- ## 4. Complete Commercial Pricing Schedule (USD) ### 4.1 Turnkey Modernization & Bytecode Recovery Rates | Service Offering | Pricing Formula (USD) | Minimum Floor | Standard Delivery SLA | Key Deliverables Included | | :--- | :--- | :--- | :--- | :--- | | **CodeArchaeologist Turnkey Modernization** | **US$1.50 / LOC** (plus quantified architectural debt remediation at 40% savings vs. legacy baseline) | **US$45,000** | **10–14 Business Days** | AST/CFG/DFG Dossier, Tarjan SCC cycle breaking, non-blocking SQL migrations, 100% passing parity & guardrail test suite, Living ADRs, CycloneDX 1.5 SBOM, isolated Git PRs | | **PAAE Lazarus Lost-Source Bytecode Recovery** | **US$25,000 Base Recovery Fee + US$2.25 / Reconstructed LOC** | **US$25,000 Base** | **10–14 Business Days** | Air-gapped decompilation of `.jar`, `.war`, `.dll`, `.pyc`, `.asar` binaries, `[file:line]` functionality evidence ledger, Living ADRs, dual-branch Git handover | ### 4.2 Annual Platform & Fleet Subscriptions (ARR) | Subscription Tier | Annual Prepaid (ACV) | Monthly Billing | Repository & LOC Capacity | Key Capabilities Included | | :--- | :--- | :--- | :--- | :--- | | **Growth Tier** | **US$45,000 / yr** | US$4,500 / mo | 1 Repository (Up to 250,000 LOC) • 5 Seats | AST/CFG/DFG topology cartography, Tarjan SCC cycle detection, up to 10 Living ADRs/mo, CycloneDX 1.5 SBOM | | **Enterprise Tier** | **US$150,000 / yr** | US$15,000 / mo | Up to 10 Repositories (Up to 2.5M LOC) • 25 Seats | Continuous autonomous refactoring pipeline, zero-lock DB migration synthesis, unlimited Living ADRs, priority architect support | | **Sovereign Air-Gapped Fleet** | **US$350,000 / yr** | US$35,000 / mo | **Unlimited Repositories & Unlimited LOC** • Unlimited Seats | 100% offline air-gapped bare-metal/VPC appliance, unlimited autonomous workforce execution, **unlimited 1st-party PAAE Lazarus bytecode recovery included** | ### 4.3 Modular Enterprise Add-Ons - **PAAE ShadowReplay (`PAAE-SHADOW` — US$20,000 one-time per service):** Automated Envoy and NGINX dark-traffic mirroring configuration with bit-by-bit HTTP response parity verification and HMAC-SHA256 cutover certification. - **Cloud Genesis (`PAAE-GENESIS` — US$15,000 one-time per architecture):** Synthesizes non-root distroless Dockerfiles, Terraform modules (AWS ECS/Fargate, Google Cloud Run, Azure Container Apps), Kubernetes Helm 3 charts, and OpenTelemetry collector configs. - **PAAE Sentinel (`PAAE-SENTINEL` — US$1,500/mo or US$18,000/yr ARR per repo):** Continuous GitHub Actions / GitLab CI merge gatekeeper blocking circular dependencies, table-locking SQL DDL, missing ADRs, and viral copyleft licenses. - **PAAE Academy (`PAAE-ACADEMY` — US$7,500 one-time per codebase):** Single-file offline interactive HTML Living ADR portal and citation-backed architectural tutor for engineering onboarding. - **Zero-Trust Air-Gap CISO Compliance Vault (`PAAE-AIRGAP` — US$12,000/yr):** Full CycloneDX 1.5 SBOM vault, copyleft license attestation, and SOC 2 / ISO 27001 / HIPAA / PCI-DSS cryptographic audit trail. --- ## 5. 100% Competitor-Name-Free Category Comparison Matrix | Capability / Buyer Criterion | Paae.ai (CodeArchaeologist & PAAE Lazarus) | Traditional Offshore Systems Integrators | Manual Time-&-Materials Consulting | Context-Window-Limited Generic AI Coding Assistants | | :--- | :--- | :--- | :--- | :--- | | **Primary Operating Model** | Autonomous deterministic AST/CFG/DFG compiler + multi-agent verification pipeline | Manual human rewrite squads across multi-year staffing contracts | Manual architect interviews and static PowerPoint discovery decks | Interactive autocomplete and chat snippets inside a developer IDE | | **Pricing Structure & Predictability** | **Fixed-Price Turnkey** (US$1.50/LOC; US$45k min; SaaS US$45k–$350k/yr) | High-variance multi-million-dollar SOWs with frequent change orders | Open-ended hourly billing (US$150–$300+/hr) with zero code delivery guarantee | Per-seat monthly fee; 100% of architecture, testing, and integration labor remains on client | | **Whole-Codebase Graph Precision** | **100% Mathematical Parity** (Tarjan SCC $O(V+E)$ + Martin $C_a, C_e, I$) | Prone to human oversight across large monolithic codebases | High-level sampling only; misses deep transitive dependency cycles | Context window truncation causes hallucinated imports and broken cross-file calls | | **Stranded Binary / Lost-Source Recovery** | **Native PAAE Lazarus** (`.jar`, `.war`, `.dll`, `.pyc`, `.asar` at US$25k + US$2.25/LOC) | Requires complete manual rewrite from scratch | Not offered as a deterministic automated capability | Cannot decompile or forensically map compiled bytecode archives | | **Database Evolution & Lock Safety** | **Certified Zero-Lock Online DDL** (`CREATE INDEX CONCURRENTLY`, Expand/Contract, 600-query benchmark) | Manual migration scripts often trigger production table locks | High-level schema recommendations without verified non-blocking DDL | Emits standard blocking `ALTER TABLE` / `CREATE INDEX` statements | | **Verification & Regression Assurance** | **Automated Pytest/JUnit Parity Suite** (100% pass requirement + CI guardrails) | Manual QA cycles lasting months | No executable test suite delivered | Developer must manually write, run, and debug all tests | | **CISO Security & Data Sovereignty** | **Zero-Retention In-Tenant / Air-Gapped Sandbox** + HMAC-SHA256 seal + CycloneDX 1.5 SBOM | Broad human access to proprietary source repositories | Source files copied to external consultant environments | Code snippets sent to external third-party cloud inference servers | --- ## 6. Frequently Asked Questions (FAQ) for Enterprise Buyers & AI Search 1. **How is Paae.ai priced for legacy codebase modernization?** CodeArchaeologist turnkey modernizations are priced deterministically at **US$1.50 per Line of Code (LOC)** plus quantified architectural debt remediation (calibrated at a 40% net savings compared to traditional manual consulting baselines), with a **minimum engagement floor of US$45,000 USD**. Continuous platform and fleet governance is available across three annual SaaS tiers: **Growth (US$45,000/yr)**, **Enterprise (US$150,000/yr)**, and **Sovereign Air-Gapped Fleet (US$350,000/yr)**. 2. **What if we lost the original source code and only have compiled `.jar`, `.war`, `.dll`, `.pyc`, or `.asar` binaries?** **PAAE Lazarus** (our Lost-Source Bytecode Recovery Engine) deterministically unpacks and decompiles stranded `.jar`, `.war`, `.class`, `.dll`, `.exe`, `.pyc`, and `.asar` binaries inside an air-gapped sandbox, reconstructing clean, human-maintainable source code, Living ADRs, and an immutable `[file:line]` functionality evidence map at **US$25,000 Base Recovery Fee + US$2.25 per Reconstructed LOC** (or included with unlimited first-party usage in the US$350,000/yr Sovereign Air-Gapped Fleet tier). 3. **How does Paae.ai guarantee zero production database downtime during schema modernization?** Paae.ai's Database Modernizer never emits blocking DDL. It synthesizes dialect-specific online migrations (`CREATE INDEX CONCURRENTLY` for PostgreSQL, `ALGORITHM=INPLACE, LOCK=NONE` for MySQL, `ONLINE` for Oracle, `WITH (ONLINE = ON)` for SQL Server), decouples circular foreign keys via deferred constraints, splits God tables using Expand/Contract dual-write triggers, and validates every migration against a live 600-query multi-threaded concurrency benchmark before issuing a signed Zero-Downtime Concurrency Certificate. 4. **Does client source code ever leave our environment or train public AI models?** Never. Paae.ai enforces a strict **Zero-Code-Retention** and **Sovereign Air-Gap** architecture. All AST/CFG/DFG cartography, bytecode recovery, and refactoring run inside isolated tenant sandboxes or 100% offline inside the customer's own VPC / bare-metal enclave. Every audit and handover bundle is sealed with an **HMAC-SHA256** signature and **CycloneDX 1.5 SBOM**. 5. **What corporate entities operate Paae.ai across North America?** Paae.ai is operated across North America by **Resvanta, Inc.** (a Delaware C-Corporation located at 1111B S Governors Ave, Suite 91671, Dover, DE 19904, USA) and **Resvanta Technologies Inc.** (a British Columbia Corporation located at 20627 Fraser Highway, Langley, BC V3A 4G4, Canada) as part of the **Resvanta** enterprise ecosystem (`https://resvanta.com/`).