Recon is an air-gapped data integration readiness platform that detects schema drift, type mismatches, and data quality defects in third-party partner datasets before pipeline deployment.
Quick Start • Architecture • Visual Studio Tour • Why Recon • Demo Test Suites (5 Domains) • CI/CD Gate • FDE Playbook
Recon is engineered with modern, production-grade technologies optimized for execution speed, auditability, and zero vendor lock-in:
| Component | Technology | Role & Capability |
|---|---|---|
| Language Runtime | Python 3.11 / 3.12 | High-performance type hinting, pattern matching, and native AST compilation. |
| High-Throughput Streaming | Polars + PyArrow | Chunked streaming engine processing multi-gigabyte files with sub-linear memory overhead. |
| Schema Validation | Pydantic v2 (Rust Core) | Blazing-fast runtime schema validation and contract coercion. |
| API & Web Server | FastAPI + Uvicorn ASGI | Async REST endpoints, background session cleanup, and sub-millisecond route dispatch. |
| Code Synthesis | Python Abstract Syntax Tree (AST) | Compiles approved mappings into standalone, reviewable PEP-8 Python scripts. |
| Testing Harness | Pytest + Starlette TestClient | 214 deterministic unit, integration, and security tests with 100% pass rate. |
| Relational Matchmaker | Vectorized Set Containment & PK Discovery | Discovers Primary/Foreign keys, 1:N cardinality, and identical duplicate tables. |
| Frontend Studio | Swiss Modern UI + Tailwind CSS | Zero-latency browser interface with dynamic flow graph and virtualized telemetry. |
| Containerization | Docker & Docker Compose | Reproducible, isolated local and staging environments with multi-stage builds. |
Recon replaces brittle custom scripts and post-ingestion pipeline failures with a deterministic preflight pipeline:
flowchart LR
classDef default fill:#0f172a,stroke:#334155,stroke-width:1.5px,color:#f1f5f9,rx:4,ry:4;
classDef gate fill:#1e1b4b,stroke:#6366f1,stroke-width:1.5px,color:#f1f5f9,rx:4,ry:4;
classDef valid fill:#064e3b,stroke:#059669,stroke-width:1.5px,color:#f1f5f9,rx:4,ry:4;
classDef quar fill:#450a0a,stroke:#dc2626,stroke-width:1.5px,color:#f1f5f9,rx:4,ry:4;
subgraph Intake["1. Ingestion & Contract"]
direction TB
Raw["Source Data Feed\nCSV · XLSX · TSV · JSONL"]
Contract["Target Contract\nJSON Schema · OpenAPI 3.x"]
end
subgraph Profiling["2. Profiling & Alignment"]
direction TB
Profiler["Columnar Profiler\n100% records · zero sampling"]
Matcher["Mapping Engine\nJaro-Winkler · PK/FK detection"]
end
subgraph Audit["3. Preflight Safety Gate"]
direction TB
Rules["Risk Engine\nRules R001–R009"]
Approval{"Approval Gate\nHuman Sign-Off"}:::gate
end
subgraph Runtime["4. AST Synthesis & Sandbox"]
direction TB
Compiler["AST Compiler\nStandalone adapter.py"]
Sandbox["Air-Gapped Sandbox\nIsolated process execution"]
end
subgraph Egress["5. Dual-Stream Delivery"]
direction TB
ValidOutput["Clean Valid Records\nCSV / JSONL"]:::valid
QuarOutput["Quarantine Ledger\nCSV / JSONL with diagnostics"]:::quar
DeployPack["CI/CD Deploy Pack\nadapter.py · Dockerfile · CI workflow"]
end
Raw & Contract --> Profiler
Profiler --> Matcher
Matcher --> Rules
Rules --> Approval
Approval -->|Approved| Compiler
Compiler --> Sandbox
Sandbox --> ValidOutput & QuarOutput & DeployPack
Traditional ETL pipelines fail silently because they treat integration as an ad-hoc scripting exercise after data is already ingested. Recon shifts validation upstream to preflight.
| Dimension | Custom Ad-Hoc Scripts | Generic Cloud ETL | Recon Readiness Engine |
|---|---|---|---|
| Data Quality Scan | Ad-hoc runtime crashes | Post-ingestion error tables | Deterministic 100% Columnar Preflight |
| Schema Drift & Gaps | Discovered in production | Silent column drops | Refuses to guess; explicit human approval gate |
| Data Loss Policy | Drops rows or crashes silently | Unlogged loss or partial loads | Zero-Loss Guarantee ( |
| Output Deliverable | Fragile glue-code | Proprietary platform lock-in | Dual Output: Direct Clean CSVs + Standalone Python AST Adapter |
| Execution Architecture | Cloud SaaS dependency | Cloud SaaS phone-home | 100% Air-Gapped / Zero External Telemetry |
Recon provides an engineering-grade, high-contrast dark studio interface designed for rapid keyboard navigation, clear visual hierarchies, and zero latency.
01 Ingest Cockpit — Multi-Format Intake & Cryptographic Staging
Dual-port ingestion supporting raw CSV, Excel (XLSX), TSV, and JSONL data alongside JSON Schema / OpenAPI 3.x contracts with cryptographic SHA-256 fingerprinting, automatic encoding detection, and UTF-8 BOM auto-stripping.
02 Profile Matrix — 100% Columnar Forensics
Calculates null percentages, distinct value cardinalities, whitespace anomalies, and dynamic type distributions across 100% of records without lossy sampling or arbitrary truncation.
03 Mapping Studio & Relational Matchmaker — Semantic Alignment & Join Discovery
High-confidence matches are auto-proposed with transparent match evidence and SVG flow graphs. Features vectorized Primary Key & Foreign Key discovery across multiple tables with cardinality evaluation (1:1, 1:N) and identical duplicate table detection.
04 Risk Radar & Approval Gate — Pre-Flight Safety Audit
Evaluates 9 deterministic risk rules (R001–R009). Strictly blocks adapter generation if required contract fields are unmapped; logs warnings for domain enum deviations with explicit engineering handle sign-off.
05 Adapter Workbench — Pure-Python AST Synthesis
Inspects the generated, reviewable Python adapter synthesized by the AST compiler. Standalone PEP-8 code featuring typed casting, datetime normalization, and zero proprietary framework lock-in.
06 Validation Lab & Quarantine Forensics — Zero-Loss Mathematical Proof
Executes the synthesized adapter inside an isolated, air-gapped sandbox. Conforming records stream to valid output; faulty records route to the quarantine ledger with line numbers and diagnostic justifications. Verified by mathematical invariant: N_total ≡ N_valid + N_quarantined.
07 Integration Summary & Dual Egress — Certified Production Deliverables
Delivers for both business analysts and data platform engineers: direct 1-click clean CSV and JSONL downloads for immediate data operations, quarantined CSVs with attached error justifications, the target schema contract (.json), and a complete Enterprise CI/CD Deploy Pack (.zip) containing adapter.py, Docker container definitions, GitHub Actions workflow, and a verified Markdown audit dossier.
Recon includes smart self-healing launchers for every operating system that automatically check your Python runtime, establish an isolated virtual environment, install dependencies, resolve port conflicts, and launch the Web Studio:
# On Windows (Command Prompt / PowerShell or double-click in Explorer): start.bat # On macOS / Linux: chmod +x start.sh && ./start.sh
# Clone the repository git clone https://github.com/swamigawai/recon.git cd recon # Create and activate virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install with development dependencies pip install --upgrade pip pip install -e ".[dev]" # Or fallback: pip install -r requirements.txt
Run the self-diagnostic suite to ensure your runtime, dependencies, disk permissions, UTF-8 BOM engines, and pipeline invariants are 100% operational:
recon doctor
# Machine-readable JSON output for automated CI preflights:
recon doctor --json# One-command FDE launcher (checks runtime, auto-installs missing packages, resolves port & opens browser) python scripts/fde_launcher.py # Or start the local server directly recon serve --host 0.0.0.0 --port 8000
Open your browser at http://127.0.0.1:8000 to launch the Recon Studio.
Recon provides a headless CLI command to audit data batches in continuous integration pipelines:
recon gate \
--source tests/fixtures/synthetic_nyc_311.csv \
--contract tests/fixtures/target_contract_service_request.json \
--max-quarantine-pct 5.0 \
--json > gate_result.json| Exit Code | Status | Meaning |
|---|---|---|
0 |
PASS |
Batch conforms strictly to target contract; quarantine rate within threshold. |
1 |
FAIL |
Hard risk blocker detected, required fields unmapped, or quarantine threshold breached. |
2 |
ERROR |
Invalid arguments, malformed input syntax, or unreadable source file. |
Run Recon inside a lightweight, containerized Alpine environment:
# Run with Docker Compose docker-compose up --build -d # Verify server health curl http://localhost:8000/api/health
- Local-First Execution: Your data never leaves your infrastructure. Recon makes zero outbound calls, uses no external telemetry, and requires no API keys.
- In-Process AST Sandbox: Synthesized adapters execute in a Python namespace with dangerous builtins stripped (
__import__,open,eval,exec,os,sys,subprocess,socket). - Network Isolation: Remote
$refdereferencing in schema contracts is disabled by default to eliminate Server-Side Request Forgery (SSRF).
Detailed security architecture and threat models are documented in docs/SECURITY.md.
docs/FDE_PDR_BRIEF.md— Product Design & Delivery Review (PDR) executive mission brief for pilot stakeholders.docs/FDE_PLAYBOOK.md— Forward Deployed Engineer standard operating procedures, edge-case resolution, and production deployment patterns.docs/ARCHITECTURE.md— Core engine internals, schemas, and data pipelines.docs/DEVELOPMENT.md— Contributor instructions, testing setup, and coding conventions.docs/SECURITY.md— Detailed threat modeling, isolation boundaries, and audit policies.docs/PILOT_DEVELOPER_GUIDE.md— Guide for conducting real-world integration pilot evaluations.docs/WEBSITE_INTEGRATION.md— Drop-in web embedding and iframe specifications.docs/FAQ.md— Frequently asked technical and architectural questions.
Recon is open-source software licensed under the MIT License.
Copyright (c) 2026 Swami Gawai.