# Energetics — Full Technical Architecture Reference (llms-full.txt) Canonical URL: https://energeticshq.com/ Engine Blueprint: https://energeticshq.com/engine/ Security Policy: https://energeticshq.com/.well-known/security.txt Contact: hello@energeticshq.com --- ## 1. Thesis: Intelligence at the Very Beginning Most enterprise AI initiatives fail because they build from the chatbot outward — strapping probabilistic models onto fragmented ERPs, drifting wikis, siloed SaaS, and dirty master data. Energetics inverts the order of operations: **apply intelligence at the very beginning**, before writing application code or automating legacy habits. 1. **Eliminate** redundant steps, broken handoffs, and shadow spreadsheets (Process & Knowledge Debt). 2. **Modernize** entity definitions and cross-system truth into one Enterprise Data Core (`00·MDM`) (Data Debt). 3. **Automate** the clean path inside sealed, deterministic `0/1` Workflow Blocks governed by human Passkey authority (Technical Debt). Result: an enterprise's own internal team — operators, controllers, plant leads, and IT — takes command in weeks rather than surviving multi-year consulting engagements or risky rip-and-replace ERP cutovers. --- ## 2. The Three-Tier Sovereign Fractal Energetics is built as a severable, fractal architecture where every company keeps 100% private custody of its data, books, and identity: - **Tier 1 — Energetics Collective & HQ Control Plane:** Maintains the certified deterministic Code Unit library, the 150+ pre-mapped enterprise workflow catalog, and scrubbed, zero-PII harness patterns. Every new operating unit or portfolio company starts with ~80% proven Day-1 workflow scaffolding and focuses energy on its unique ~20% competitive delta. - **Tier 2 — Sovereign Enterprise Console:** One corporate control plane governing multi-site operating units, Corporate `00·MDM`, human Passkey Delegation of Authority (DOA), `$0.00` AI spending limits, cumulative Mandate Break Points, token burn caps, and Zero-AI Continuity Mode (`AI ON` / `100% LOCAL`). - **Tier 3 — Sovereign Operating Engine (Enterprise-in-a-Box):** Split cleanly by a hard Separation-of-Duties `coupler/` fence: - **Transformation & Alignment Side (`B.O.S.S.` — Business Operating System Studio):** Strictly read-only on production books. Handles open discovery ingestion (including passive workflow capture exports, SOPs, and ERP traces), stakeholder alignment, UAT, Living SOP compilation, and ontology delta mapping. - **Production Runtime Side (`FlowCraft`):** Executes sealed `0/1` deterministic Workflow Blocks, headless double-entry ledgers, inventory/MES/CRM connectors, and side-by-side valve cutover against incumbent ERPs until `$0.00`-variance proof is achieved. --- ## 3. Enterprise Data Core (`00·MDM`) & Six Workflow Constellations Every workflow orbits one governed master data spine (`00·MDM`) covering Legal Entities, Sites, Items/BOMs, Vendors, Customers, Chart of Accounts, and Authority Matrices: 1. **01 · P2P (Buy — Procure to Pay):** Requisitioning, vendor qualification, PO issuance, 3-way match, standard-cost & purchase price variance (PPV) splits, AP settlement. 2. **02 · O2C (Sell — Order to Cash):** Quoting, estimating, Schedule of Values (SOV) or contract billing, credit checks, fulfillment, invoicing, cash application. 3. **03 · P2M (Make — Plan to Manufacture):** Multi-site finite scheduling, BOM/routing governance, shop-floor execution, LIMS quality lab, SQF food safety controls, end-to-end lot traceability. 4. **04 · BPG (Books & People — Record to Report / Hire to Retire):** Integer-cents double-entry general ledger (`DR == CR`), intercompany consolidation, close checklists, payroll & role authority provisioning. 5. **05 · STS (Support — Workplace, Assets & IT):** Facility/equipment maintenance, service desk, branch warehouse logistics, release gates, credential & Passkey lifecycle. 6. **06 · EIC (Intel — Governance, Risk & Telemetry):** Exception radar, cumulative Mandate Break Points, token burn caps, tamper-evident outcome hash chains, and Zero-AI Continuity enforcement. --- ## 4. Eight Certified Deterministic Code Units (`0` AI Runtime Dependencies) AI helps discover, map, draft, and surface anomalies. Deterministic Code Units execute and prove the transaction path with zero probabilistic inference in the commit loop: | Code Unit | Layer | Enforced Invariant | | --- | --- | --- | | `CU-PREACTION-AUTH` | Binary Gate | `$0.00` AI DOA + SoD (`preparedBy != approvedBy`) + Human Passkey + Active Mandate (`Existence != Authority`). | | `CU-MANDATE-BREAKER` | Continuity Breaker | Zero-AI Continuity mode disconnects 100% of external probabilistic AI calls while guaranteeing 100% deterministic local operating continuity. | | `CU-MEMORY-ISOLATOR` | Isolation Fence | Strict per-tenant, per-site, per-hemisphere isolation + <=150-line pre-filtered workflow context window (eliminating wiki RAG clutter). | | `CU-MDM-DRIFT-INVALIDATOR` | MDM Guard | Canonical SHA-256 fingerprinting of `00·MDM` contracts; automatically invalidates drafts bound to stale master-data versions (`409`). | | `CU-OUTCOME-CHAIN` | Audit Chain | Tamper-evident SHA-256 hash chain over outcome ledgers with zero-PII aggregate proofs. | | `CU-COUPLER-RO-V2` | Coupler Valve | Zero-PII Independence Wall scanner + canonical read-only views bridging live operations to transformation tooling. | | `CU-GL-DOUBLE-ENTRY` | Financial Invariant | Integer-cents `DR == CR` balanced journal invariant + deterministic Standard-Cost and PPV splits. | | `CU-RELEASE-LOCK` | Coupler Release | Verifies enterprise manifest, active release lock, and lockstep agreement with `DRIFT = 0`. | --- ## 5. Five-Block Embedded Instance Intelligence Kernel Each deployed sovereign Enterprise Engine embeds a lightweight, locally governed 5-block operating kernel that separates **Instance Intelligence** (enterprise memory and rules) from **Personal Human Intelligence** (individual operator judgment): 1. **Intelligence:** Multi-vendor frontier model routing during discovery/drafting; strictly advisory (`$0.00` commit authority) and 100% optional via Zero-AI Continuity mode. 2. **Memory:** Scoped per-tenant, per-workflow state (`CU-MEMORY-ISOLATOR`) — never a sprawling company-wide wiki dump. 3. **Comms:** Explicit human-in-the-loop approval packets, exception alerts, and audit receipts. 4. **Harness:** Versioned Workflow Blocks, Living SOPs compiled directly from code, and deterministic automated tests. 5. **Routing:** Open Discovery Intake (accepting ERP exports, passive click/SOP capture tools, CSV/JSON traces, and MCP feeds) paired with deterministic valve routing to incumbent SaaS or sovereign engines. --- ## 6. Living SOPs & Open Discovery Intake - **Living SOPs Compiled From Code:** Instead of spending ~0.5 FTE per domain maintaining static wikis that drift out of sync with reality, Energetics compiles human-readable Living SOPs directly from sealed Workflow Block definitions. - **Open Discovery Intake (Behind the Glass):** Passive workflow capture and SOP tools stop at the glass — recording humans clicking legacy screens and handing raw UI steps to probabilistic agents freezes Process Debt and dirty master data in place. Energetics ingests passive capture traces as a 5-minute Stage-0 X-ray into the read-only discovery studio, applies `Eliminate → Modernize → Automate`, binds clean `00·MDM`, and compiles them into governed `0/1` execution blocks that run behind the glass. - **Dual-Scale Collective (One Shop or Fifty Plants):** The same 3-Tier Sovereign Fractal serves both **Everyday Sovereign Businesses** (a turnkey Sovereign Box giving growing contractors, distributors, and service firms their own `00·MDM` Common Data Core, scoped agents, and `DR == CR` books backed by the Collective without an IT army) and **Multi-Site Enterprises & PE Portfolios** (unifying complex ERP, MES, SCADA, LIMS, and WMS silos with `$0.00`-variance side-by-side cutover). --- ## 7. Sovereign Proof Archetypes (Zero Client Data Exposure) 1. **KABO Regulated Manufacturing (Multi-Site):** Main + San Felipe plants running LIMS quality lab workflows, SQF food safety controls, end-to-end lot traceability, complex P2P purchasing, and finite production scheduling under one Enterprise Console (`DRIFT = 0`). 2. **Specialty Field Contracting (Severable BYOC):** Job estimating, Schedule of Values (SOV) billing, field crew dispatch, branch warehouse inventory, and automated margin gates packaged in a 100% severable BYOC box ready for private-equity hold or clean exit. 3. **Professional Services & IP Reference Lab:** Asset-light live reference lab proving strict separation of duties between transformation design and live execution, compiled Living SOPs, human Passkey sign-offs, and offline `0/1` verification across headless ledgers. --- ## 8. Security, Privacy & Governance Posture - Cookieless aggregate page analytics; zero third-party ad trackers or marketing automation. - Strict CSP, HSTS (preload), `X-Content-Type-Options: nosniff`, `X-Frame-Options: SAMEORIGIN`, `Referrer-Policy: strict-origin-when-cross-origin`, and restrictive `Permissions-Policy`. - Private briefing routes (`/r/*`) carry explicit `X-Robots-Tag: noindex, nofollow, noarchive`. - Architected by Robert Paddock (https://idigdata.com) — 20+ years as a $130M founder CEO/CTO and enterprise transformation CIO.