The Framework/Engineering
⚙️
Phase Goal: Build

Engineering

System-level validation structures to address vibe-coding debt, calculate velocity-insolvency horizons, and enforce testing standards.

Observed Evidence

The Direct Experience

"After reviewing dozens of enterprise codebases, I saw development velocity freeze completely as teams spent 70% of their sprints resolving bugs. The pattern was unmistakable: developers were 'vibe coding' - copy-pasting thousands of lines of LLM-generated code without writing unit tests. The mechanism is cyclomatic complexity explosion: AI-generated code introduces unmapped state mutations and subtle logic branches. This leads to the principle of the Technical Insolvency Date - the specific quarter when codebase maintenance consumes 100% of engineering resources. The broader implication is that AI-assisted velocity is a valuation liability unless coupled with strict, deterministic code compilation gates."

Core Analytical Axioms

Forensically proven concepts in this operational boundary.

PAIG-ENG-001

Technical Insolvency Date

Deep Dive Specification →
Definition

The projected quarter when codebase maintenance load consumes 100% of engineering capacity, reducing feature velocity to zero.

The Problem

Organizations ignore technical debt growth until feature shipping halts completely, rendering them uncompetitive.

Why It Matters

Establishes a concrete deadline for boards to fund core modernization and refactoring.

Provenance (Where This Appears)
CIO.com articlesPDI CalculatorCurriculum Track 1
Governance Integration Mesh
Research
The Technical Insolvency Date
Why Your CFO Hates Your Agile Transformation
Diagnostics
Product Debt Index (PDI)
Valuation Scenario Engine (EV-SE)
Education
Track 1: Engineering Economics Foundations
Track 9: Technical Debt as Financial Liability
Enforcement Layer
Exogram Refactoring Track Controls
PAIG-ENG-002
Definition

The rapid accumulation of unverified, AI-copilot-generated code that lacks architectural coherence.

The Problem

Engineers generate thousands of lines of syntax using LLMs without understanding the architectural blast radius, leading to system failure.

Why It Matters

Vibe coding codebases deteriorate 4x faster than human-written codebases, accelerating the Technical Insolvency Date.

Provenance (Where This Appears)
Built In publicationsCurriculum Track 1
Governance Integration Mesh
Research
In the Vibe Coding Era, What Does a Software Engineer Even Do?
When AI Writes the Code, What Skills Are Employers Hiring For?
Diagnostics
Audit Interview Protocol
Education
Track 1: Engineering Economics Foundations
Track 17: Developer Experience (DX) Economics
Enforcement Layer
Exogram SECS Code Quality Boundary Gates
PAIG-ENG-003

SLM vs API Arbitrage

Deep Dive Specification →
Definition

The decision framework for replacing expensive commercial APIs with fine-tuned Small Language Models.

The Problem

Hosting commercial model APIs at scale burns excessive margins when a 7B local parameter model can perform the task at 90% lower cost.

Why It Matters

Preserves long-term SaaS gross margin profile by localizing standard workflows.

Provenance (Where This Appears)
Built In publicationsSLM vs API Arbitrage toolCurriculum Track 11
Governance Integration Mesh
Research
Claude API Bill Blowup Costs
Diagnostics
SLM vs API Arbitrage
AI Unit Economics Benchmark (AUEB)
Education
Track 11: Economics of Build vs. Buy for AI
Enforcement Layer
Exogram Semantic Model Router & Fallback Gate
PAIG-ECON-004

The Inference Dividend Model Framework

Deep Dive Specification →
Definition

A 3-level edge optimization architecture (pre-call validation, vector intent caching, SLM routing) recapturing >50% of wasted AI token spend.

The Problem

Un-monitored model calls cause AI feature OpEx to scale linearly with user activity, destroying traditional 80% SaaS gross profit margins.

Why It Matters

Recaptures wasted token capital while dropping cache hit latencies under 20ms to preserve software unit margins.

Provenance (Where This Appears)
LinkedIn NewslettersCIO.comExogram Platform
Governance Integration Mesh
Research
How to Reduce LLM API Token Costs in Production
How to Reduce LLM Costs in Production: The Inference Dividend Model
Growth Is Not Your Cost Problem - Your Architecture Is
Diagnostics
AI Unit Economics Benchmark (AUEB)
SLM vs API Arbitrage
Education
Track 2: AI Economics
Track 7: Cloud FinOps & AI Cost Management
Enforcement Layer
Exogram 3-Level Edge Inference Dividend Interceptor

Want to apply this to your organization?

Run a free diagnostic first. If the numbers concern you, book a session to build a remediation plan.

Richard Ewing - AI Economist & Capital Auditor