# Pipelines for Computer Automation of Software Development and Maintenance

- **Study ID:** `software-automation-pipelines`
- **Kind / Status:** Research paper
- **Revision:** `1dd05ffc` (30 November 2026)
- **Web Edition:** https://research.openie.dev/papers/software-automation-pipelines/
- **Markdown Twin:** https://research.openie.dev/papers/software-automation-pipelines.md
- **PDF Edition:** https://research.openie.dev/pdfs/software-automation-pipelines.pdf
- **Interactive Figures:** https://research.openie.dev/figures/software-automation-pipelines/pipeline-taxonomy.svg
- **Claim Scope & About:** https://research.openie.dev/about/software-automation-pipelines/
- **Data & Reproducibility:** https://research.openie.dev/data/#software-automation-pipelines
- **Keywords:** software automation pipelines, software maintenance, neuro-symbolic synthesis, Language Constellation, Reality Code Engine, FormJEPA, mutation testing, morphic memory, SWE-sweep, thermodynamics of computation

> Separates the engineering goal of automating software creation and maintenance from the substrate choice of computer intelligence, comparing autoregressive token loops (~1,000-1,200x chat token volume, ~85% context re-reading, ~75-95% prompted issue repair vs ~4.7% unprompted repository defect discovery), pure deductive/symbolic synthesis, active neuro-symbolic hybrids (Gordian 91-96% token reduction, SchemaGuard 100% grammar compliance, Moderne semantic AST recipes), and deterministic Form-and-projection cascades (/constellation/ 12,117 catalogued languages and 270 measured grammars across 131 universal constructs, RCE P = (S, E, delta, D, lambda), 6-Gear lookup-first routing, Spec orthogonal to Impl + 100% AST Mutant Kill Gate with 0/200 escaped bugs and 45.22x Zen 5 RAPL reported_j cut in Kit #8, 1.04 us Wasmtime 50.0.1 M3 gate in Kit #9, Scholar x JouleDB morphic basins at 74.90 uJ/distinction reported_j in Kit #10, and 38.9M x dynamic measured_j reduction from cold RepoFormJepa synthesis to 9.17 nJ net G0 lookup on Jetson AGX Thor TI INA3221 at 258cbb11; board_metered is false for this synthesis paper). Plain words: calling the field 'AI coding' assumes a text-predicting neural model must rewrite every piece of code forever; naming the goal computer automation of software development and maintenance makes the intelligence engine an explicit engineering choice, using deterministic gates and microjoule lookups for solved structure and waking learned models only on novel gaps.

---
*revision [`1dd05ffc`](https://github.com/openIE-dev/research-openie-web/commits/main/src/content/papers/software-automation-pipelines.md), 30 November 2026. Interactive bridge: [/automation-pipelines/](https://research.openie.dev/automation-pipelines/). Data and code: [research.openie.dev/data/](https://research.openie.dev/data/) · [The Language Constellation](https://research.openie.dev/constellation/).*

## Abstract

Contemporary discourse names automated software engineering "AI coding," implicitly treating an autoregressive token-generating model as the fixed engine of every development and maintenance step and demoting compilers, constraint solvers, static analyzers, and canonical intermediate representations to auxiliary guardrails. This paper reframes the engineering problem from first principles: the objective is *computer automation of software development and software maintenance*, while the substrate of computer intelligence—dense or sparse autoregressive transformers, non-generative latent world models (`FormJEPA`), satisfiability and equality-saturation solvers, neuro-symbolic hybrids, or deterministic state-machine `Form`s paired with downward lookup cascades—is an explicit design variable evaluated on semantic admission soundness, unprompted defect discovery, residual specification entropy, and energy per admitted repository transition.

Synthesizing empirical measurements from external literature and self-checked Open Interface Engineering reference implementations (`openIE-dev/rce` at commit `258cbb11` and `openIE-dev/openie-research-experiments` Kits `#1` through `#10`), we document a stark saturation asymmetry in the dominant autoregressive pipeline: frontier token loops approach high-70% to high-90% resolution on prompted, human-localized issue benchmarks while recovering roughly `4.7%` on unprompted repository-wide hidden-defect sweeps, burning `1,000` to `1,200` times chat-turn token volume with roughly `85%` of session traffic spent re-reading static repository context. Extending this analysis across the entire eight-stage software lifecycle—from industrial "lights-out" software factories, multi-agent AI-to-AI co-work, and unattended dark long-horizon coding agents to the epistemic interplay of research, search, and coding, the `60%–80%+` enterprise expenditure tied to legacy maintenance, zero-exfiltration sovereign code governance, and physical datacenter-versus-edge infrastructure—isolates one universal design invariant: *durable pipelines minimize the runtime surface area of unconstrained stochastic generation, bind AI-to-AI handoffs to typed binary frames and context-isolated deterministic gates, keep proprietary source sovereign on local substrates, and crystallize verified transitions into microjoule and nanojoule lookups*.

**In plain words**

1. Calling the field "AI coding" assumes a text-predicting neural network must rewrite code word by word on every task, forever. Naming the goal *computer automation of the full software development and maintenance lifecycle* treats the intelligence engine—and the surrounding infrastructure—as an explicit engineering choice.
2. Current token-loop assistants perform strongly when a human bug report already points to the broken behavior, yet miss over nine in ten hidden repository defects when unprompted, corrupt live state when running unattended across long horizons, and expose proprietary codebases to external cloud APIs across the `60%–80%+` of software life spent maintaining existing systems.
3. Pairing mainstream and legacy surface languages (`12,117` catalogued languages and `270` grammar-measured front-ends mapped onto `131` universal constructs in `/constellation/`) with the *Research–Search–Coding* triad (`Scholar Commons` + `JouleDB` morphic basins + `RCE` `6`-Gear cascades), typed binary AI-to-AI co-work, `Spec ⊥ Impl` mutant-killing gates, and air-gapped sovereign compilation enables lights-out software factories and dark maintenance agents whose marginal energy trends toward local lookup minimums.

## Terms and evidence labels

<ul id="terms">
<li>AI, LLM, SFT, RL: artificial intelligence, large language model, supervised fine-tuning, and reinforcement learning</li>
<li>GRPO, DAPO, GSPO: Group Relative Policy Optimization, Decoupled Clip and Dynamic Sampling Policy Optimization, and Group Sequence Policy Optimization—outcome-driven post-training algorithms for multi-step code and reasoning rollouts</li>
<li>JEPA, VICReg, EMA, MPC, FedAvg: Joint-Embedding Predictive Architecture, Variance-Invariance-Covariance Regularization, exponential moving average target encoding, model predictive control, and Federated Averaging</li>
<li>SMT, SAT, CEGIS, SyGuS, DRAT: satisfiability modulo theories, Boolean satisfiability, counterexample-guided inductive synthesis, syntax-guided synthesis, and Delete Resolution Asymmetric Tautology clausal proof certificates</li>
<li>AST, LST, CFG, IR, SSA, HLDS: abstract syntax tree, lossless semantic syntax tree, context-free grammar (or control-flow graph where noted), intermediate representation, static single assignment, and High-Level Data Structure (Mercury compiler IR)</li>
<li>RCE, EARS, VSA, PPD, RAG: Reality Code Engine, Easy Approach to Requirements Syntax, vector symbolic architecture, Price-Per-Distinction receipt protocol (`scholar-jouledb-ppd/1`), and retrieval-augmented generation</li>
<li>LSP, DAP, IDE, CLI, API, JSON, XML, UTF, CRUD, CoW: Language Server Protocol, Debug Adapter Protocol, integrated development environment, command-line interface, application programming interface, JavaScript Object Notation, Extensible Markup Language, Unicode Transformation Format (`UTF-8`), create-read-update-delete stateful operations, and copy-on-write</li>
<li>WASI, LLVM, MLIR, CIRCT, RTL, LUT, FPGA, SRAM, DRAM, HBM, NVMe, EDA: WebAssembly System Interface, Low Level Virtual Machine compiler infrastructure, Multi-Level Intermediate Representation, Circuit IR Compilers and Tools, register-transfer level, lookup table (`LUT6`), field-programmable gate array, static random-access memory, dynamic random-access memory, High Bandwidth Memory, Non-Volatile Memory Express, and electronic design automation</li>
<li>ISA, ARM64, RV64IM, ELF64, SIMD, GPU, CPU, NPU, MCU: instruction set architecture, 64-bit Arm architecture, 64-bit RISC-V integer/multiply profile, 64-bit Executable and Linkable Format, single instruction multiple data, graphics processing unit, central processing unit, neural processing unit, and microcontroller unit</li>
<li>RAPL, TI, DC, VDD, MSS, SYS, VIN, PASS: Running Average Power Limit on-chip energy counters, Texas Instruments (`INA3221`, `INA238`, and `INA260` current-shunt monitors), direct current, supply rails (`VDD_GPU`, `VDD_CPU_SOC_MSS`, `VIN_SYS_5V0`, `VIN`), and passing drift-gate status</li>
<li>IETF, RFC, COSE, OTLP, SHA, BLAKE, JCR, ML-DSA: Internet Engineering Task Force, Request for Comments (`RFC 9052`), CBOR Object Signing and Encryption (`COSE_Sign1`), OpenTelemetry Protocol, Secure Hash Algorithm (`SHA-256`), `BLAKE3` cryptographic hash, Joule Cryptographic Receipt (`JCR-1 v1.2`), and Module-Lattice-Based Digital Signature Standard (`FIPS 204 ML-DSA-44`)</li>
<li>ISO, IEC, GAO, CISQ, O&amp;M, SPC, TCO, IP: International Organization for Standardization, International Electrotechnical Commission (`ISO/IEC 14764`), U.S. Government Accountability Office, Consortium for Information &amp; Software Quality, operations and maintenance, statistical process control, total cost of ownership, and intellectual property</li>
<li>IEA, TWh, MW, kW, Wh, FAIR, METR, RCT, SWE, ARC, AGI, LTCB, BM25, FP32, INT8, Q16, Q32, PD, VM, LoC, PR, CI, OS: International Energy Agency, terawatt-hour, megawatt, kilowatt, watt-hour, Fundamental AI Research, Model Evaluation &amp; Threat Research, randomized controlled trial, Software Engineering benchmark (`SWE-bench`, `SWE-sweep`), Abstraction and Reasoning Corpus (`ARC-AGI-3`), artificial general intelligence, Large Text Compression Benchmark, Best Matching 25 lexical retrieval, 32-bit floating point, 8-bit integer, fixed-point formats (`Q16.16`, `Q32.32`), protection domain, virtual machine, lines of code, pull request, continuous integration, and operating system</li>
</ul>

Every external and internal quantitative figure in this paper carries both a source-epistemology label and, whenever energy is stated, one of four strictly orthogonal telemetry classes (`measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered`) that are never summed across boundaries:

| Label | Epistemic scope |
|---|---|
| **Projection** | A forward-looking forecast or scenario built on stated growth or adoption assumptions |
| **Company-reported** | An operational metric, benchmark score, pricing schedule, or capacity figure stated by a vendor without independent audit |
| **Filed** | An audited or statutory disclosure in a public regulatory filing (such as Form 10-Q or Form 10-K) |
| **Literature / Reported** | A peer-reviewed or preprint empirical finding reported by external researchers on their own benchmark harness |
| **Measured** | A deterministic count, timing, or energy reading from reproducible public artifacts (`Signed Provenance · Self-Checked` for OpenIE repository receipts). Energy values strictly separate `measured_j` (external physical DC rail shunt, such as `TI INA3221` on NVIDIA Jetson AGX Thor or `TI INA260` on AMD Kria KV260 under `Falsifier 6 <= 5.0%` idle drift), `reported_j` (on-chip/OS hardware energy counter, such as Linux `powercap` `RAPL` or Apple Silicon `IOReport`), `est_j` (analytical unit-cost constant, such as `~1 µJ` lookup vs. `~5,000,000 µJ` cold proposal), and `unmetered` (counts or proofs with `board_metered: false`) |

---

## 1. Goal Reframing — Automation First, Intelligence as Means

Software development and software maintenance form a state-transition problem over structured artifacts. At step $t$, a repository $R_t$ confronts an engineering obligation $\Sigma_t$: implementing a new specification, repairing a regression, migrating an interface across dependencies, or uncovering a latent invariant violation before runtime failure. An automation pipeline maps $(R_t, \Sigma_t)$ to a candidate transition $R_{t+1}$ gated by an admission predicate $C(R_{t+1}, \Sigma_t) \in \{0, 1\}$, expending energy $J_t$ and incurring an escaped-defect risk $\epsilon_{\text{esc}} = \Pr[\text{semantic fault}(R_{t+1}) \mid C(R_{t+1}, \Sigma_t) = 1]$.

When industry and academic benchmarks frame this discipline as "AI coding," they collapse the *engineering goal* (reliable, low-energy automation of $(R_t, \Sigma_t) \mapsto R_{t+1}$) into one specific *implementation mechanism* (sampling surface-language tokens $w_1, \dots, w_T$ from an autoregressive conditional distribution $p_\theta(w_k \mid w_{<k}, R_t, \Sigma_t)$). Under that framing:

1. **Every non-generative mechanism looks like a patch around the model.** Type systems, `SMT` solvers, grammar masks, `e-graph` rewrites, and content-addressed skill caches are treated as temporary scaffolding to clean up token hallucinations rather than primary computational engines.
2. **Repeated work pays first-time discovery cost.** Even though empirical studies of public software corpora find that roughly `70%` of files on GitHub are clones or near-clones of prior files (`Literature / Reported`, Lopes et al. [1]), a stateless token loop re-derives syntax, variable bindings, and control flow from raw text on task $10,000$ just as on task $1$.
3. **Syntax entropy masquerades as reasoning difficulty.** A single algorithm expressed across Rust, Python, C++, COBOL, or Verilog forces a surface-token generator to master hundreds of punctuation, keyword, and library conventions that carry zero additional state-transition information.

Reframing the objective as **computer automation of software development and software maintenance** restores architectural symmetry. Computer intelligence becomes a modular design variable spanning six candidate substrates:

- **Autoregressive surface-token models** (dense and Mixture-of-Experts transformers trained with `SFT` and outcome-based `RL`),
- **Canonical latent world models** (non-generative `JEPA` predictors such as `FormJEPA` operating over alpha-invariant De Bruijn program structures [18]),
- **Deductive and constraint synthesizers** (`SyGuS`, `CEGIS`, `SMT`/`Z3`, and equality-saturation `e-graph`s [9, 10, 11]),
- **Bounded neuro-symbolic hybrids** (grammar-masked proposers, solver-pruned search, semantic `LST` refactoring recipes [15, 16, 17]),
- **Deterministic state-machine `Form`s with polyglot surface projections** (`RCE` $P = (S, E, \delta, D, \lambda)$ and `/constellation/` [19, 20]), and
- **Downward-compiled lookup cascades** (`Mixture of Limits` / `lut-adapt` and 9-rung `Avalanche` architectures [21, 22]).

Each pipeline is evaluated on the same four physical and formal axes: (i) semantic soundness ($\epsilon_{\text{esc}}$), (ii) unprompted defect discovery across whole repositories, (iii) residual specification entropy required from human engineers, and (iv) energy $J$ (`measured_j`, `reported_j`, or explicitly labeled `est_j`) per admitted transition over a long task horizon.

![Diagram comparing four software automation pipeline architectures across input context, stochastic surface area, verification gate, and repeat-task joule scaling: Autoregressive Token Loop, Pure Symbolic Synthesis, Bounded Neuro-Symbolic Hybrid, and Deterministic Form plus Constellation 6-Gear Cascade.](https://research.openie.dev/figures/software-automation-pipelines/pipeline-taxonomy.svg)

*Figure 1. Architectural comparison of four software automation pipelines. Surviving pipelines shrink the runtime surface area of unconstrained stochastic generation behind deterministic admission and canonical lookup reuse. A [PNG copy](https://research.openie.dev/figures/software-automation-pipelines/pipeline-taxonomy.png) is provided.*

---

## 2. Operational Anatomy and Saturation Asymmetry of the Dominant Autoregressive Pipeline

### 2.1 Four Operational Layers of Autoregressive Code Automation

The incumbent "AI coding" stack operates as a four-layer industrial pipeline whose training and inference stages remain tightly coupled to floating-point datacenter throughput:

| Operational layer | Dominant mechanism in 2025–2026 | Empirical scaling or cost signal | Epistemic label & source |
|---|---|---|---|
| **1. Datasets** | Public source repositories (~`70%` file-level clone duplication), teacher-to-student synthetic trajectories, and containerized unit-test execution sandboxes | `518.7M` merged pull requests/year on GitHub; synthetic reward traces filtered by container exit codes | `Literature / Reported` [1]; `Company-reported` [23] |
| **2. Training sequence** | Autoregressive pretraining $\to$ instruction/diff `SFT` $\to$ outcome-based & multi-turn agentic `RL` (`GRPO`, `DAPO`, `GSPO`) against test harnesses | Post-training shifts compute from static next-token cross-entropy into million-rollout sandboxed container execution | `Literature / Reported` [24, 25] |
| **3. Power-bound compute** | Hyperscale GPU/accelerator clusters under thermal and grid interconnects | Frontier training compute demand ~`4–5×/yr`, largest-run training spend ~`2.4×/yr`; global datacenter electricity `~415 TWh` (2024) $\to$ `~945–950 TWh` (2030) | `Literature / Reported` [2]; `Projection` (IEA [3, 4]) |
| **4. Runtime token loop** | IDE plugins, CLI shells, and background cloud agents running iterative read–propose–test–retry loops | Agentic coding consumes `~1,000–1,200×` single-turn chat tokens (up to `30×` run-to-run spread); `~85%` of session tokens spent re-reading input context; `0.24 Wh` (`864 J`) per median simple text prompt while agentic reasoning uses hundreds to thousands of times more | `Measured` (`8` models, SWE-bench Verified, Bai et al. [5]); `Measured` by operator / `Projection` [4, 26] |

Two structural bottlenecks emerge directly from Layer 4:

1. **Quadratic-to-linear context re-ingestion bloat.** Because an autoregressive loop holds no persistent, canonical program state across sessions, every tool call (`grep`, file read, test traceback, retry diff) appends raw UTF-8 text back into the prompt window. Bai, Huang, and Wang [5] (`Measured` across eight frontier and open-weight models on `SWE-bench Verified`) show that agentic coding consumes roughly `1,000` to `1,200` times more tokens than code chat, that `~85%` of session cost goes to repeatedly prefilling input context rather than emitting patch tokens, and that burning more tokens does not monotonically increase patch accuracy.
2. **Compute-coupled runtime operating cost.** Public regulatory filings and vendor pricing transitions between mid-2025 and mid-2026 document the operational consequence of stateless inference loops without invoking speculative market forecasts: standalone editor shells repriced from flat seat tiers to pass-through API token billing (`Company-reported` [6, 7]), hyperscale cloud operators reported multi-billion-dollar quarterly equity-method compute losses alongside `>3.2 quadrillion` monthly token throughput (`Filed` and `Company-reported` [8, 27]), and independent agentic coding harnesses repeatedly consolidated into compute-owning model labs or cloud operators to secure subsidized inference capacity. When task $N$ burns the same prefill and decode joules as task $1$, runtime software maintenance remains permanently bound to accelerator watt-hours.

### 2.2 Prompted Saturation vs. Unprompted Repository Discovery Asymmetry

Evaluating the autoregressive pipeline solely on localized, human-prompted issue benchmarks conceals a severe capability cliff between *prompted repair* and *unprompted maintenance discovery*:

| Benchmark regime | Localization provided to system | Representative 2026 recovery | Structural bottleneck | Label & source |
|---|---|---|---|---|
| **Prompted single-issue repair** (`SWE-bench Verified` / curated subsets) | Human-written issue report naming failing symptom, stack trace, or target module | High-`70%` to high-`90%` regime across top multi-turn harnesses | Narrow conditional search $H(\Delta R \mid \text{issue})$; susceptible to weak-test overfitting when `Spec` and `Impl` share context | `Company-reported` & `Literature / Reported` [5, 28] |
| **Shared-context self-certified patches** (`Kit #8` Arm A naive spec gate) | Same LLM context authors or selects test assertions and candidate patch | `199 / 200` (`99.50%`) AST semantic mutants falsely admitted (`0.50%` mutant kill) | Goodhart specification gaming (Goodhart, 1975 [29]): vacuous or tautological checks pass broken candidates | `Measured` (`Signed Provenance · Self-Checked`, `@ d036b64`) |
| **Unprompted repository-wide defect discovery** (Meta FAIR `SWE-sweep`-class whole-repo audits) | Zero issue prompt; system must audit an entire multi-file codebase and surface real hidden defects without false-positive floods | Single-digit `~4.7%` hidden-defect recovery | Context window fragmentation, quadratic cross-file interaction space, and absence of canonical cross-module invariants | `Literature / Reported` [30] |
| **Experienced maintainer RCT on familiar repos** (METR open-source developer trial) | Real maintainer tasks on mature repositories (`n = 246` tasks, `16` developers) | `19%` slower task completion with AI assistant (`2026` follow-up cohort flagged by authors as confounded/unreliable signal) | Human review, prompt steering, and subtle defect cleanup exceed raw draft speed | `Literature / Reported` (Becker et al. [31, 32]) |

Formally, an issue prompt supplies an external oracle hint that collapses search from $O(|R|^2)$ cross-module interactions down to a neighborhood $B_\varepsilon(r_0) \subset R$ of a few files. When no human has yet noticed or localized the bug—the exact regime that dominates production software maintenance, security auditing, and dependency evolution—stateless token sampling over sliding text windows suffers simultaneous recall collapse (`~4.7%`) and false-alarm inflation.

![Two-panel data figure. Left panel: Benchmark saturation asymmetry showing prompted localized SWE-bench repair in the 75 to 95 percent band versus unprompted whole-repository SWE-sweep defect discovery at 4.7 percent and naive shared-context mutant survival at 99.5 percent. Right panel: Log-log cumulative energy trajectories across 1 to 50,000 repeated tasks comparing stateless autoregressive token loops against one-time replay-gated synthesis amortized by G0 lookup on Jetson AGX Thor INA3221 measured_j and Linux RAPL reported_j.](https://research.openie.dev/figures/software-automation-pipelines/amortization-and-gap.svg)

*Figure 2. Left: Asymmetry between prompted issue resolution and unprompted whole-repository defect discovery, alongside shared-context vs. `Spec ⊥ Impl` mutant escape rates. Right: Cumulative dynamic energy scaling (`measured_j` on Jetson AGX Thor `TI INA3221` at `@ 258cbb11` and analytical `est_j` reference curves, plotted on separate non-summed axes) across task horizon $N$. A [PNG copy](https://research.openie.dev/figures/software-automation-pipelines/amortization-and-gap.png) is provided.*

---

## 3. Survey of Alternative Automation Pipelines

Before introducing canonical `Form` cascades, Section 3 surveys five alternative software automation lineages developed across programming-languages, formal-methods, and neuro-symbolic systems research.

### 3.1 Five Non-Monolithic Pipeline Families

1. **Pure Deductive and Inductive Synthesis (`SyGuS`, `CEGIS`, and Equality Saturation).**
   Classical program synthesis derives an implementation mechanically from a formal specification: deductive refinement transforms specifications via semantics-preserving rules, `CEGIS` (Solar-Lezama et al. [10]) alternates a candidate generator with a bounded `SAT`/`SMT` counterexample oracle (`Z3`, de Moura and Bjørner [33]), `SyGuS` restricts candidates to an explicit grammar [9], and equality saturation (`egg`, Willsey et al. [11]) compacts exponentially many algebraic rewrites inside an `e-graph` before extracting a minimum-cost term.
   - *Strength*: `0%` syntax or type hallucination; exact soundness within decidable fragments.
   - *Boundary*: Combinatorial blowup past tens of AST nodes when lacking a learned structural prior, plus high upfront human effort to write complete formal specs.

2. **Active Neuro-Symbolic Hybrids (Neural Proposer Demoted Behind Symbolic Structure).**
   Recent hybrid architectures restrict the neural model to proposing compact choices inside a symbolic host:
   - *Solver-pruned search (`Gordian`-class architectures)* delegates constraint propagation and dead-branch pruning to deterministic solvers rather than autoregressive chain-of-thought rollouts, achieving **`91%–96%` token reduction** on structured synthesis and reasoning workloads (`Literature / Reported` [15]).
   - *Automata- and schema-constrained decoding (`SchemaGuard` / `Outlines` / `llguidance`)* compiles context-free grammars or JSON/type schemas into deterministic finite-state or pushdown token masks applied directly to logits during generation, raising structural validity to **`100.0%` versus `~23%` structural/schema failure** in unconstrained JSON-mode prompting (`Literature / Reported` [16]; matched locally by `Kit #8` Arm D reducing wasted syntax/type tokens from `298,175` to `0` at `45.22×` lower Zen 5 `RAPL` `reported_j`).
   - *Build-phase Compiled AI* invokes neural synthesis strictly offline during build/compilation to emit deterministic parsers, data mappers, or policy tables that undergo static verification once and execute at runtime with zero model calls.
   - *Deterministic Lossless Semantic Tree (`LST`) refactoring (`Moderne` / `OpenRewrite`)* [17] represents multi-repository codebases as type-attributed, formatting-preserving syntax graphs; deterministic recipes execute deterministic framework migrations and security patches across millions of lines of code, using small bounded models only to select or parameterize recipes.

3. **Generate-Many-and-Filter (`AlphaCode` Lineage).**
   `AlphaCode` (Li et al. [12]) demonstrated competitive-programming synthesis by sampling $10^4$ to $10^6$ candidates per problem, filtering by compilation and example execution, and clustering behavioral equivalence classes. Because sampling millions of full-length token completions at deployment time expends megajoules per solved problem, standalone inference-time filtering has largely been absorbed into training-time `RL` (`GRPO`/`DAPO`), where execution filters score rollouts offline.

4. **Pure Symbolic Execution and Bounded Model Checking (`KLEE`, `CBMC`).**
   Symbolic execution engines (Cadar et al. [13]) replace concrete inputs with symbolic bitvectors and fork execution states across feasible branch conditions solved by `SMT`. While effective at unprompted local crash and assertion discovery inside bounded loops, pure symbolic execution hits exponential path explosion ($O(2^b)$ in branch depth $b$), environment-syscall modeling gaps, and solver timeouts on heap-heavy or floating-point codebases.

5. **LLM-as-Formalizer (Autoformalization into Proof Assistants).**
   Autoformalization pipelines prompt neural models to translate natural-language docstrings or legacy source code into `Lean 4`, `Rocq`/`Coq`, `Dafny`, or `Verus` proof obligations, using the proof kernel to reject invalid proofs (Cunha [14]). Kernel checking eliminates *proof* hallucination (`Impl` soundness), yet shifts the failure surface entirely onto *specification* translation: if the formalizer emits a vacuously true precondition (`false -> P`) or omits a boundary clause, the proof kernel certifies a theorem that diverges from user intent.

### 3.2 Comparative Summary and Empirical Design Invariant

| Pipeline family | Stochastic runtime surface | Semantic soundness guarantee | Unprompted discovery capability | Repeat-task cost trajectory |
|---|---|---|---|---|
| **Autoregressive token loop** | `100%` of context reading, localization, diff generation, and test authoring | None intrinsic; relies on existing unit tests (`99.5%` mutant escape under shared-context naive specs in `Kit #8`) | Low (`~4.7%` on unprompted whole-repo `SWE-sweep` [30]) | Flat $O(T_{\text{ctx}})$ token prefill + decode on every run |
| **Generate-many-and-filter** | $K \gg 1$ parallel stochastic completions per task | Example-test equivalence clustering only | None (requires problem prompt + example I/O) | $K \times$ worse runtime joules unless folded into offline `RL` |
| **Pure symbolic / deductive** (`SyGuS`, `KLEE`, `egg`) | `0%` (deterministic solver / `e-graph` / symbolic state fork) | Sound on modeled semantics; bounded by loop unrolling or decidable theories | High on local assertion/crash paths; stalls on $2^b$ path explosion | Re-solves per edit unless canonicalized into rewrite tables |
| **Bounded neuro-symbolic hybrid** (`Gordian`, `SchemaGuard`, `Moderne` `LST`) | Narrowed (`4%–9%` residual tokens under solver pruning; recipe selection only in `LST`) | `100%` syntactic/schema validity; deterministic AST recipe semantics | Moderate (rule-catalog pattern sweeps across `LST` repositories) | `10×–25×` lower than raw token loops; deterministic once compiled to recipe |
| **LLM-as-formalizer** (`Lean 4` / `Verus` / `Dafny` autoformalization) | Spec + proof-script token generation | `100%` proof-kernel soundness *relative to stated spec*; vulnerable to spec vacuity [14] | Low unless paired with repository-wide invariant mining | Proof checking amortizes per module; spec translation remains model-bound |

Across all five lineages, one **empirical design invariant** governs both reliability and energy efficiency:

> **Stochastic Surface Minimization Invariant.** *Pipelines that scale reliably in software maintenance minimize the runtime surface area of unconstrained stochastic generation—confining learned models to cold-start proposal or latent search steering behind context-isolated deterministic gates, and crystallizing admitted transitions into canonical deterministic representations.*

---

## 4. Inverting the Premise — Constellation, RCE, Standards Bridge, and Morphic Memory

Instead of placing an autoregressive text generator at the center of software maintenance and bolting static checks around its output, the Open Interface Engineering architecture inverts the stack: **canonical deterministic structure sits at the center**, surface programming languages become bidirectional projections, independent gates enforce admission before side effects, and learned world models (`FormJEPA` and frontier proposers) operate strictly on the uncovered cold-start residual.

### 4.1 The Language Constellation (`/constellation/`) — Surface Diversity as Projection

Autoregressive code models treat `12,000+` human programming, query, hardware-description, and configuration languages as separate token distributions. [The Language Constellation](https://research.openie.dev/constellation/) (`openIE-dev/rce/competence-catalog` at commit `258cbb11`) tests the opposite hypothesis empirically:

- **`12,117` catalogued languages (`12,067` nodes rendered in the live interactive map)** merged across eight public curation registries (`PLDB`, `GitHub Linguist`, `Pygments`, `Wikipedia`, `Esolangs`, `Hyperpolyglot`, `Rosetta Code`, and `Wikidata`), maintaining an explicit honesty contract in which uningested languages carry zero invented entropy or coverage figures.
- **`270` grammar-measured front-ends at `100.0%` named-node coverage** mapped onto **`131` universal computational constructs** (`structure::CONSTRUCTS`, spanning expressions, structured control flow, modules, algebraic types, concurrency primitives, and bitwise/serialization operations). Measured syntactic surface-to-construct ratios ($N/C$) quantify how much syntactic sugar canonical normalization strips away before reasoning begins: Go `1.75`, Python `1.77`, TypeScript `2.44`, Rust `2.56`, C++ `3.38`, and Lean `4.15` (`Measured`, `Signed Provenance · Self-Checked`).
- **Zero-drift polyglot holdout (`24 / 24` verbatim Rosetta Code snippets).** At commit `258cbb11` (`src/rosetta.rs`), `24 / 24` third-party Python, Rust, and C implementations lift deterministically into canonical `Stmt` forms; admitting one canonical implementation for `10` algorithms resolves all `20 / 20` cross-language spellings at `G0` via name-free behavioral keys while honestly flagging `4 / 4` held-out algorithms (`collatz_steps`, `digit_sum`) as novel misses (`0` false hits).
- **Capability-derived instruction lowering (`RISC-V`).** Enumerating instruction sequences directly from formal `RISC-V` bitvector semantics and matching behavior by exhaustive `XLEN` `4/8` verification plus bounded sampling collapses `popcount` from `28` baseline `clang -O2` instructions to `1` and `ctz` (count trailing zeros) from `12` instructions to `1`, turning compiler target flags into deterministic hardware-capability lookups.

### 4.2 Reality Code Engine (`RCE`) and the 6-Gear Thermodynamic Cascade

Underneath surface projections, [The Reality Code Engine](https://research.openie.dev/papers/rce/) represents every admitted computation as a deterministic state-machine **Form**:

$$
P = (S, E, \delta, D, \lambda)
$$

where $S$ is the explicit typed state space, $E$ is the input event alphabet, $\delta: S \times E \to S$ is a pure, total, deterministic transition function, $D$ is an append-only `SHA-256` hash-chained durable event log, and $\lambda$ is the output projection. Because current state is the exact fold of $\delta$ over $D$, replay across `10,500` event streams and `6` execution targets exhibits `0` state or output divergences (`Measured` [19]).

Rather than routing every request to a billion-parameter model, `competence-catalog` (`@ 258cbb11`) resolves incoming specifications through a **6-Gear Thermodynamic Cascade** ordered strictly by energy cost:

| Cascade gear | Mechanism | Audited accuracy / coverage (`@ 258cbb11` / `@ f87d6af2`) | Physical shunt `measured_j` (Jetson AGX Thor `INA3221`) | On-chip counter `reported_j` | Analytical model `est_j` |
|---|---|---|---|---|---|
| **`G0` · Canonical Lookup** | Identifier-free De Bruijn `SHA-256` / `BLAKE3` signature & `DNULLMM1` mmap lookup + `CapSandbox` runtime | `1,280 / 1,280` (`100.0%`) stdlib ops in `CapSandbox` (`1,279 / 1,280` unprivileged); `0 / 500` alpha-rename collisions | **`9.17 nJ` net dynamic** / `0.164 µJ` gross (`150M` lookups, `0.21%` drift `PASS`) | `1.77 µJ` (`DNULLMM1`) to `39.19 µJ` (M5 Max `IOReport`) / `107.44 µJ` (Zen 5 `RAPL`) | `1 µJ` (`est_uj` receipt floor) |
| **`G1` · Deterministic Rewrite** | Algebraic normal-form rules, `RCE-VC` item splitting, and `split_workspace` cross-file dependency closure | `52 / 52` `RCE-VC v0.2.0` tests (`@ d05887df`); `111 / 151` (`73.5%`) repair ladder tasks closed at `0` model calls | Unset (`board_metered: false` on `RCE-VC` bench) | `317–365 µJ` per `100k`-unit admission (`69.7–73.6 µs`, M5 Max `L3`) | `10–100 µJ` (`est_j`) |
| **`G2` · Solver & E-Graph** | Equality saturation (`e-graph`), `CEGIS` witness interpolation, and 4-fragment decidable equivalence | Exact on polynomial, rational, exp/log, and $\tan(\theta/2)$ trig fragments; `50 / 50` `DRAT` 3-SAT witness checks | `59.84 µJ` net dynamic / `1,102.81 µJ` gross per 4-artifact sovereign compile (`3.04%` drift `PASS`) | `49.04 mJ` per full `rce check` (M5 Max); `2.81 J` `rustc -O3` with `librce_rt.rlib` (`20.07×` cut, Zen 5 `RAPL`) | `10^3–10^5 µJ` (`est_j`) |
| **`G3` · Canonical World Model** | 4-node federated `HierFormJepa` + `RepoFormJepa` (`VICReg` + `EMA` $\tau = 0.96$) steering `MPC` + `CEGIS` under replay gate | `23.99 / 24.0` effective rank; `96 / 96` (`100.0%`) unseen holdout syntheses; `35 / 35` polyglot call-graph modules; `0` false admissions | **`0.357 J` net dynamic** / `3.619 J` gross per cold `RepoFormJepa` synthesis (`0.00%` drift `PASS`; **`38.9M×`** above `G0` net dynamic) | `474.8 mJ` `FormJEPA-v1` ($k=16$, `RAPL` core); `47.09 mJ` `FormEBM-v2` | `500,000 µJ` (`0.5 J` `est_j`) |
| **`G4` · Local Quantized / Ternary** | Packed-integer / `LUT6`-assisted local `0.5B–35B` models (`AirMoL`, `Ternary-Bonsai-2-27B`, `Qwen 3.6 35B-A3B`) behind replay gate | `27 / 40` single-shot `H15`; `90.62%` `BigCodeBench v0.1.3` (`0.0%` broken commits) | `13.27 J` across `300`-query `Zipf(0.85)` stream (`29.86×` below `396.27 J` cold `Inkling-2-Mini`, Thor `@ 6a22dee`) | `84.25 J` local `35B` cold repair proposal (M5 Max `IOReport`) | `5,000,000 µJ` (`5 J` `est_uj` reference constant) |
| **`G5` · Frontier Escalation** | Multi-turn checker-guided frontier proposer (`H15-Iterative`, `max_turns = 5`) invoked strictly on uncovered misses, then crystallized into `G0` | `40 / 40` (`100.0%`) residual closure (`Claude Opus 5.5` & `Sonnet 5.5`, `0` contradictions); `16.67×` `Zipf(0.85)` frontier call cut | Unmetered at remote cloud wall (`measured_j = null`) | Local harness counter only; remote datacenter `unmetered` | `864 J` simple prompt [26] to `10^4–10^5 J` agentic session (`est_j` [4, 5]) |

The structural foundations of this cascade are machine-checked across **`5,393` Lean `4.36.0` theorem constants** (`1,264` source declarations across `T1` to `T63` in `openIE-dev/rce` at `f87d6af2`, unanimously accepted inside isolated Linux `bubblewrap` containers by all **`6 / 6` independent proof kernels**: `lean4lean`, `nanoda`, `con-leche --verified`, `con-ron --verified`, `leanchecker --paranoid`, and `Lean v4.36.0`, with `0` `sorry`, `0` `opaque`, and `0` failures), **`2,221 / 2,236` passing conformance tests** (`0` failures), and a zero-LLVM **4-ISA sovereign compiler backend** emitting native `x86-64`, `aarch64`, standalone static Linux `RV64IM` `ELF64` (`20 / 20` byte-exact under `qemu-riscv64`), and `wasm32` binaries [18, 19, 34].

### 4.3 Four Structural Leverage Points ("Where the Engineering Dent Lives")

Comparing Sections 2, 3, and 4 isolates four concrete engineering leverage points—each reproducible today either in the clean-room `RCE` stack or on mainstream `Rust`, `Python`, `TypeScript`, `Wasmtime`, and `OpenTelemetry` repositories via the Apache-2.0 [Standards Bridge](https://research.openie.dev/standards/) (`Kits #8`, `#9`, and `#10` [35]):

1. **Pre-Admission Failure Detection and Early Abort (`Kit #8` & `Kit #9`).**
   When an autoregressive agent authors or shares context with its own unit tests, Goodhart specification gaming [29] produces vacuous checks that admit `199 / 200` (`99.50%`) broken AST semantic mutants (`Kit #8` Arm A `@ d036b64`, `Signed Provenance · Self-Checked`). Enforcing **context isolation (`Spec ⊥ Impl`) plus a `100%` AST Mutant Kill Gate** (`Arm C`, refusing weak specs via `SPEC_VACUOUS_REFUSED`) drives escaped false accepts to **`0 / 200` (`0.00%`, exact 95% Clopper–Pearson `[0.0000, 0.0183]`)**. Pairing that gate with in-loop context-free grammar and type token masking (`Arm D`) eliminates **`100.0%` of syntax/type wasted tokens (`298,175 -> 0`)**, holds semantic false accepts at `0 / 800`, accelerates verification **`44.19×`** (`570.5 µs -> 12.9 µs`), and cuts AMD Zen 5 Linux `RAPL` `reported_j` by **`45.22×`** (`55,337 µJ -> 1,223.7 µJ`). At the execution boundary, `Kit #9` (`wasm_gate_m3`, a `1,882 B` `#![no_std]` zero-`WASI` `Wasmtime 50.0.1` slice-isolated gate) enforces pre-commit checks in **`1.04 µs` warm (`777.8 µJ` `RAPL` `reported_j`)**, while proving that two kernels burning identical `330,000,004` Wasm fuel diverge by **`10.36×` in physical DRAM `RAPL` `reported_j`** (`1.35 J` vs. `14.00 J`)—demonstrating why hardware shunts and counters are required alongside instruction fuel.

2. **Structural and Morphic Memory vs. Input-Token Bloat (`De Bruijn` + `Scholar × JouleDB`).**
   To eliminate the `~85%` session token tax spent re-reading static source files [5], repository memory must index *canonical behavior and typed claims* rather than raw identifier strings:
   - *Code level (`E5-Scale` [34])*: Name-free De Bruijn positional hashing across `245` base programs and `500` execution-verified semantic mutants achieves **`0 / 500` alpha-renaming false cache hits** (versus `150 / 500` = `30.0%` false hits under naive AST identifier-stripping), avoiding **`167.8×` (`clang -O3`) to `448.5×` (`rustc -O3`)** warm-cache recompilation `reported_j`.
   - *Specification and design-rationale level (`Kit #10`, `Scholar × JouleDB v0.28.0 @ 8a05945`, `Signed Provenance · Self-Checked`)*: `10,240`-bit 5-axis role-orthogonal vector-symbolic **Morphic Claim Basins** (`scholar-jouledb-ppd/1`) index architectural assertions, invariants, and opposing engineering stances at **`74.90 µJ / distinction` Linux `RAPL` `reported_j`** (`13.30×` faster and `12.89×` lower `reported_j` than `BM25 + 384-d FP32` vector scan at $N = 2,048$), packing `40,960 B` of basin holograms plus `61,374 B` of codebook into **`37.29×` less memory** than a `3.82 MB` multi-index.

3. **Unprompted Discrepancy and Invariant Surfacing (Closing the `SWE-sweep` Gap).**
   Unprompted defect discovery fails in token loops because hidden bugs live at cross-module handoffs where unwritten assumptions collide [36]. Three deterministic mechanisms surface discrepancies *without waiting for a human bug prompt*:
   - *Edit-time replay gating (`src/editor_loop.rs` in `/constellation/`)*: Every edit lifts to a canonical `Form` and replays against generative behavioral probes before admission. In the `52`-edit Rust prototype trace, `1` defective edit is rejected immediately at edit time, `1` novel edit is replay-admitted, `51` edits resolve via `G0` lookup (`20.2 µJ` analytical `est_j` average), and **`0` runtime errors escape to post-hoc debugging**.
   - *Static cross-module interface checking (`GE-H6` [37])*: Checking explicit `Form` state/event manifests catches **`98.46%` of `130` injected cross-module interface faults** ($F_1 = 0.9922$ versus $0.1159$ for syntax parsing alone).
   - *Non-arbiter contradiction preservation (`JouleDB` `non_arbiter = true`)*: Instead of averaging conflicting documentation or silently overwriting older constraints during RAG retrieval, morphic basins preserve `128 / 128` opposing-stance pairs (`+61.18σ` joint separability, `5` `truth.lock` contradiction flags, signed in `579 B` `IETF RFC 9052 COSE_Sign1` receipts) so conflicting repository invariants surface immediately for resolution.

4. **Deterministic Spine with Shrinking Neural Residual (`lut-adapt v3.7`, `pattern-lang`, `JouleOS H56`).**
   Over a repository stream of $N$ tasks where admitted solutions crystallize into `G0`–`G2` tiers, let $f(n) \in [0, 1)$ denote the probability that task $n$ is covered by previously admitted competence (under a Zipf($s$) workload distribution, $f(n)$ grows monotonically with library size). Expected energy on step $n$ is:

   $$
   \mathbb{E}[J_n] = f(n)\,\bigl(J_{G0} + J_{\text{gate}}\bigr) + \bigl(1 - f(n)\bigr)\,\bigl(J_{\text{propose}} + J_{\text{gate}}\bigr)
   $$

   Keeping telemetry classes strictly separate: on Jetson AGX Thor physical `TI INA3221` DC shunts (`measured_j` at `@ 258cbb11`), $J_{\text{propose}}$ for cold `RepoFormJepa` synthesis is `0.357 J` net dynamic (`3.619 J` gross), whereas $J_{G0}$ is `9.17 nJ` net dynamic (`0.164 µJ` gross)—a **`38.9M×` dynamic `measured_j` drop** once admitted. Pushing downward compilation even further, `lut-adapt v3.7` (`openIE-dev/lut-adapt-ai @ 8722635` [21]) demonstrates **`183 / 183` (`100.0%`) level mastery across all `25 / 25` official `ARC-AGI-3` interactive games** inside a `16`-bank `64.00 KB` `VAULT16` `Beneš-LUT6` SRAM vault (`706.5×` faster and `1,326.7×` lower Wave-2 energy, `0` source peeking), `#1` lossless compression on `1.00 GB` `enwik9` (`MoL-LTCB-CM8` at **`168.31 MB` = `1.3465 bpb`**, `125,019.51 J` Thor `VIN` `measured_j`), and bit-exact `24`-fabric `waiOS` execution, while `JouleOS Horizon H56` (`@ d744028` [38]) isolates `26` protection domains and `3` virtual machines on `seL4` with `0` Ring-0 driver/TLS/JSON/Ed25519 lines of code and `55` Lean `4.36.0` proofs.

---

## 5. The Software Factory, AI-to-AI Co-Work, Dark Long-Working Agents, and the Research–Search–Coding Triad

Scaling automation from a single interactive editor suggestion to industrial software engineering exposes four system-level regimes that single-turn benchmarks omit: (i) multi-station **software factories**, (ii) **AI-to-AI co-work** across specialist agents, (iii) unattended **dark long-working autonomous and coding agents**, and (iv) the closed loop between **research, search, and coding**.

![Architecture diagram of the Sovereign Gate-First Software Factory, showing the Research, Search, and AI-to-AI Binary Co-Work triad feeding an eight-stage lifecycle pipeline across 270 Constellation grammars, 6-Gear cascades, zero-LLVM 4-ISA lowering, and dark unattended G0 crystallization, contrasted against cloud autoregressive token factories.](https://research.openie.dev/figures/software-automation-pipelines/factory-lifecycle-sovereignty.svg)

*Figure 3. System architecture of a sovereign gate-first software factory across the full eight-stage software lifecycle, uniting the Research–Search–Coding triad, typed binary AI-to-AI co-work, legacy grammar lifting, and unattended long-horizon crystallization. A [PNG copy](https://research.openie.dev/figures/software-automation-pipelines/factory-lifecycle-sovereignty.png) is provided.*

### 5.1 From Industrial Software Factories to Lights-Out Gate-First Production

The engineering vision of a **software factory**—standardized tooling, reusable verified sub-assemblies, and disciplined inspection stations transforming specifications into working software—dates to Bemer and McIlroy at the 1968 NATO Software Engineering Conference [41], Hitachi Software Works (1969), and Cusumano's comparative study of industrial software factories [42]. In 2025–2026, "dark" or "lights-out" software factories re-emerged around autonomous LLM pipelines intended to accept natural-language tickets at one end and merge pull requests at the other without human code review.

Statistical process control (`SPC`) explains why an *un-gated autoregressive token factory* degrades rapidly with pipeline depth. Suppose a factory chains $K$ sequential stations (requirements decomposition, schema migration, backend synthesis, API wiring, test generation, deployment scripting), and each unconstrained stochastic station independently introduces a subtle semantic fault with probability $\epsilon_1 = 1 - p > 0$. Without an independent, high-power admission predicate at every station boundary, end-to-end defect-free yield decays exponentially:

$$
Y_{\text{ungated}}(K) = \prod_{i=1}^{K} (1 - \epsilon_i) \approx (1 - \epsilon_1)^K
$$

Even at an optimistic per-station reliability of $1 - \epsilon_1 = 0.98$, a $K = 100$-station autonomous build yields $0.98^{100} \approx 13.26\%$ clean output—and when the factory's unit tests are co-authored inside the same model context (`Kit #8` Arm A, `99.50%` mutant escape), broken assemblies pass downstream undetected. Conversely, a **Gate-First Deterministic Software Factory** interposes context-isolated admission (`Spec ⊥ Impl` + `100%` AST Mutant Kill Gate, `0 / 200` and `0 / 800` escaped mutants in `Kit #8` Arms C/D, paired with the `1,882 B` `1.04 µs` `wasm_gate_m3` slice gate in `Kit #9`) at *every* station boundary while crystallizing admitted sub-assemblies into content-addressed `G0` modules (`1,280 / 1,280` `CapSandbox` stdlib closure at `@ 258cbb11`). Defects abort locally at station $i$ in microseconds rather than compounding across $K$ downstream stages, and repeated factory sub-assemblies execute at the `9.17 nJ` (`INA3221` net dynamic `measured_j`) `G0` floor.

### 5.2 AI-to-AI Co-Work — Transcript Chatter vs. Thresholded Binary Quorum

Modern coding harnesses increasingly split work across multi-agent teams (planner, retriever, coder, test writer, security reviewer). In conventional frameworks, **AI-to-AI co-work** uses human-readable `UTF-8` Markdown or `JSON` chat transcripts as the inter-agent wire protocol. That choice imposes two severe taxes:

1. **Serialization and re-tokenization impedance.** As quantified across `34` workloads and `170` measurement windows in [*"AI" Reads Human*](https://research.openie.dev/papers/ai-reads-human/) (`Measured`, Apple Silicon `L2`/`L3` `reported_j` [43]), serializing typed machine state into verbose `UTF-8` text, parsing it, and re-tokenizing it at every agent hop expends orders of magnitude more processor time and `reported_j` than zero-copy binary frames, while amplifying `$O(M \cdot T_{\text{ctx}})$` context-prefill bloat across $M$ collaborating agents.
2. **Correlated hallucination and Goodhart collusion.** When cooperating agents share unconstrained natural-language rationales, persuasive chain-of-thought prose from a proposer biases downstream critic agents into accepting flawed assumptions.

Inverting AI-to-AI co-work replaces chat transcripts with **Thresholded Signal Externalization and Typed Binary Envelopes** ([*The Communication Tool Avalanche*](https://research.openie.dev/papers/communication-avalanche/) [22] and `Kit #9` [35]):

- **Zero-copy typed wire envelopes**: Agents exchange canonical De Bruijn hashes, counterexample witnesses, and typed state diffs inside `FlatBuffers` (`161.0 B`, `0.65 µs` unsigned zero-copy read), `WAI1` (`128.0 B`, `76.8 µs`), or `IETF RFC 9052 COSE_Sign1` receipts (`144.7 B`, `-61.1%` wire bytes vs. `371.6 B` `JSON`, `-5.1%` lower Zen 5 `RAPL` `reported_j`).
- **Event-driven quorum ratchets (`CTA-T1..T45` & `DES-10`)**: Machine-checked across `45` 6-kernel Lean `4.36.0` theorems (`0` `sorry`) and `5` hardware hosts (`CTA-E4`), thresholded event-driven handoffs execute at **`927.30 µJ / edge` on Jetson AGX Thor `VDD_CPU_SOC_MSS` (`TI INA3221` `measured_j`)** with **`0` empty polling wakeups**. On the `10`-specialist-camp `DES-10` synthesis benchmark (`CTA-E5`), structured multi-agent co-work achieves **`98 / 100` verified pass versus `<= 49 / 100` for any solo specialist camp**, delivering **`9.26×` to `26.87×` higher Thor `measured_j` Coherence-per-Joule** and **`75,374×` lower `measured_j` handoff overhead** than unthresholded broadcast loops (`Measured`, `Signed Provenance · Self-Checked` [22]).
- **Strict role orthogonality (`Proposer ⊥ Specifier ⊥ Gatekeeper ⊥ Memory`)**: Co-working agents never grade their own outputs in shared prose; proposers emit candidate `Form`s or patches, independent specifiers emit mutant-checked obligations, deterministic gates return binary verdicts plus minimal counterexamples, and morphic memory preserves disagreements (`non_arbiter = true`).

### 5.3 Dark Long-Working Autonomous Agents and Coding Agents

Unattended **dark autonomous coding agents**—background workers tasked with multi-hour or multi-day repository migrations, continuous fuzz-and-repair campaigns, or overnight feature implementation—fail in stateless token loops for three compounding reasons:

1. **Context-window rot and prefix poisoning.** As tool outputs, stack traces, and failed diffs accumulate over hundreds of turns, attention signal-to-noise degrades sharply. In controlled bimodal stream stress tests (`lut-adapt` `LA-36` [21]), small autoregressive models (`uLM-28M` through `Qwen3-0.6B`) suffer **`93.75%` prefix-poisoning accuracy collapse**, whereas a `5,984 B` deterministic `Wearable-MoL` lookup spine exhibits **`0.00%` prefix poisoning** because state transitions are indexed by canonical structural keys rather than sliding prompt history.
2. **Live workspace and database corruption.** Long-running agents executing stateful shell and `CRUD` tool calls routinely leave half-applied edits or corrupted test state when a mid-trajectory step fails. Across `24` three-turn stateful `MCPMark` `CRUD` workflows (`lut-adapt` `LA-73` [21]), unguarded agentic execution caused **`75.00%` live sandbox state corruption**, whereas pairing deterministic copy-on-write (`CoW`) transactional rollbacks with Wave-2 idempotent `LUT6` deduplication (`576` deduplicated ops, `18` clean `CoW` rollbacks) achieved **`0.00%` live state corruption** while lowering Jetson Thor `INA238` `VIN` `measured_j` (`1.3840 J -> 1.0858 J`).
3. **Retry-storm power runaway.** As derived in [*Thermodynamic Bounds and an Optimal Tempo for Goal-Holding Agents*](https://research.openie.dev/papers/agency/) [44], pushing an autonomous loop past its optimal verification tempo burns runaway energy on unverified retries without advancing goal completion.

A durable dark coding agent replaces prompt-history state with four deterministic mechanisms: (i) **append-only `SHA-256` event-log checkpointing $D$** (`RCE` `Form`), (ii) **merkleized cross-file workspace snapshots** (`RCE-VC v0.2.0 @ d05887df`, `split_workspace` `G1` dependency closure in `317–365 µJ` M5 Max `L3` `reported_j`), (iii) **explicit per-episode `Wasmtime` fuel and hardware joule budgets**, and (iv) **continuous online downward crystallization** into `G0` / `LUT6` vaults. On long-horizon benchmarks, this architecture sustains **`100.0%` survival across `1,000` steps (`16,000` state transitions, `0` invariant violations) on `Vending-BALROG`** with `99.82%` of steps served directly from `LUT6` (`128.61×` faster than `Z3`, `8.75 µJ/op` Thor `INA3221` `measured_j`, `LA-62`) and **`100.0%` `256`-step multi-physics horizon survival** (`99.22%` `LUT6` share, `1,332.6×` faster than uncompiled `Z3`, `LA-48`) [21].

### 5.4 The Epistemic Triad — Interplay of Research, Search, and Coding

Real software engineering is never isolated code emission; it is a closed epistemic loop across **Research**, **Search**, and **Coding**:

| Epistemic leg | Role in software lifecycle | Failure in token-only stacks | Deterministic & morphic realization (`Signed Provenance · Self-Checked`) |
|---|---|---|---|
| **1 · Research** (*What is known & sound?*) | Survey algorithms, theorems, standards (`RFC`s), prior failures, and complexity bounds before designing | Model relies on parametric memory frozen at training cutoff or noisy web snippets; silently re-invents broken patterns | **`Scholar Commons`** (`271,244+` indexed ideas across `227,408+` open-access works) executes automated §6 prior-art pre-checks (`20/20` Radio & `32/32` Study source sheets corroborated) + `5,393` 6-kernel Lean `4.36.0` proofs |
| **2 · Search** (*What exists in this repo & domain?*) | Locate exact behavioral equivalents, call-graph dependencies, architectural constraints, and conflicting specs | Lexical `grep` misses renamed clones; `BM25 + FP32` cosine RAG blurs negations, averages away contradictions, and dumps `~85%` static files into context | **Dual structural + morphic index**: (a) De Bruijn nameless code hashing (`0 / 500` rename collisions, `E5-Scale`); (b) **`JouleDB` `10,240`-bit 5-axis Morphic Claim Basins** (`Kit #10 @ 8a05945`): **`74.90 µJ / distinction`** Linux `RAPL` `reported_j` (`13.30×` faster, `12.89×` lower `reported_j`, `37.29×` smaller than `BM25 + 384-d FP32`), preserving `128 / 128` contradictions (`+61.18σ`, `non_arbiter = true`) |
| **3 · Coding** (*Synthesize, gate & lower*) | Transform specification + retrieved invariants into verified executable transitions across target hardware | Re-generates surface syntax token-by-token on every edit; `199 / 200` shared-context mutant escape | **`/constellation/` (`270` grammars $\to$ `131` constructs) + `RCE` `6`-Gear Cascade + `Spec ⊥ Impl` Gate**: synthesizes cold misses once (`FormJEPA` / `G4` / `G5`), verifies (`0 / 200` escape), lowers to `4` ISAs, and writes `COSE_Sign1` receipts back into Search & Research |

When Research, Search, and Coding share content-addressed `BLAKE3` / De Bruijn identifiers and `scholar-jouledb-ppd/1` `COSE_Sign1` receipts, every solved bug or negative falsifier immediately upgrades repository Search and institutional Research—turning software maintenance from a memoryless cost sink into an accumulating competence ratchet.

---

## 6. Global Enterprise Legacy Maintenance and Sovereign Code Governance

### 6.1 The Global Enterprise Legacy Maintenance Ledger

Evaluating automation pipelines exclusively on greenfield toy apps ignores where global engineering labor and enterprise IT budgets actually go. Across five decades of empirical software-engineering and government audits, post-release software maintenance and evolution dominate lifecycle cost:

- **`60%` to `80%+` of total lifecycle expenditure occurs in maintenance.** Foundational longitudinal studies of industrial software evolution (Lehman [45]; Erlikh [46]; `ISO/IEC 14764` corrective, adaptive, perfective, and preventive maintenance [47]) establish that initial development represents only `20%–40%` of lifetime system cost, while multi-decade enterprise systems routinely spend `80%–90%` of lifecycle effort adapting to changing hardware, regulations, dependencies, and security threats (`Literature / Reported`).
- **Government and mission-critical legacy operations (`>75%–80%` O&M share).** Auditing federal information technology investments, the U.S. Government Accountability Office (`GAO-19-471` [48], `Filed` government audit) documented agencies spending over **`75%–80%` of ~$90B+ annual federal IT budgets** on Operations and Maintenance (`O&M`) of aging systems—including mission-critical tax, benefits, aviation, banking, and defense estates written in `COBOL`, `Fortran`, `PL/I`, `Ada`, `Assembler`, and `RPG` spanning `30` to `60` years of accumulated domain rules.
- **Developer workweek and technical-debt drag (`~42%` maintenance share).** Multi-thousand-engineer industrial surveys (*The Developer Coefficient*, Stripe / Harris Poll [49], `Company-reported` survey) report developers spending roughly **`17.3` hours per `41.1`-hour workweek (`~42%`)** on maintenance, debugging bad code (`3.8` hrs), and servicing technical debt (`13.5` hrs), while the Consortium for Information & Software Quality (`CISQ`, Krasner [50], `Literature / Reported` economic model) estimated the annual U.S. cost of poor software quality at **`$2.41 trillion`** alongside **`$1.52 trillion`** in accumulated technical-debt principal.

Autoregressive token loops perform poorly on legacy enterprise modernization for structural reasons: legacy languages (`COBOL`, `PL/I`, `RPG`, `VHDL`, `Fortran`, dialectal embedded `C`) are underrepresented in web pretraining corpora, critical business invariants are implicit in fixed-point decimal semantics (`COMP-3` packed decimal) and cross-program batch state rather than docstrings, and silent `0.01%` translation hallucinations are unacceptable in settlement or safety-critical control.

The Constellation + `RCE` pipeline addresses legacy maintenance structurally rather than statistically:
1. **First-class legacy grammar ingestion**: `/constellation/` (`@ 258cbb11`) deliberately ingests and probes real grammars for legacy infrastructure languages (`COBOL`, `Fortran`, `Pascal`, `Ada`, `Erlang`, `Prolog`, `Verilog`, `VHDL`, plus compiler-oracle `HLDS` lifting for `Mercury` `6 / 6`), mapping them onto the *exact same `131` universal constructs* as `Rust`, `Python`, `TypeScript`, and `Go`.
2. **Behavioral and decidable equivalence gating**: Legacy translation (`COBOL` or `C` $\to$ canonical `Form` $\to$ `Rust` or native `ELF64`) is gated not by token plausibility, but by replay equivalence across captured production event logs $D$, `100%` AST mutant kill on lifted specs, and exact algebraic equivalence on decidable arithmetic fragments (`SAP-F3`).

### 6.2 Keeping Proprietary Code Sovereign (Zero-Exfiltration Governance)

For enterprises in silicon design, aerospace and defense, quantitative finance, telecommunications, healthcare, and industrial robotics, a source repository is the firm's crown-jewel intellectual property. Cloud-hosted autoregressive coding pipelines require streaming proprietary source files, internal APIs, stack traces, and security vulnerabilities across external network boundaries into multi-tenant vendor clusters—creating acute **code-sovereignty hazards**: (i) external prompt/KV-cache residency and potential cross-tenant leakage, (ii) inability to operate inside classified, air-gapped, or shipboard/factory-floor environments, and (iii) existential operational dependence on external API pricing, rate limits, and model deprecations.

Keeping proprietary code **100% sovereign** requires decoupling software automation from external cloud inference across four layers:

1. **Air-gapped local `G0–G4` intelligence and zero-source federated learning.** `G0` De Bruijn mmap stores, `G1` `RCE-VC` workspace splitters, `G2` `Z3`/`e-graph` solvers, `G3` `FormJEPA` / `RepoFormJepa` canonical world models (`8.42M` parameters, `0.357 J` net dynamic Thor `INA3221` `measured_j`), and `G4` local packed-integer/ternary `0.5B–35B` models execute entirely on local workstations or on-premises servers with **zero external network sockets**. When multiple internal business units collaborate to improve `FormJEPA`, `4`-node heterogeneous `FedAvg` (`@ 258cbb11`, `23.99 / 24.0` effective rank across macOS ARM64, Linux Zen 5, Jetson Thor, and Windows 11 x86-64) exchanges compact weight deltas *without ever sharing raw source files or identifiers*.
2. **Sovereign zero-LLVM compilation and license-free silicon lowering.** `openIE-dev/rce` compiles canonical `Form`s directly to native `x86-64`, `aarch64`, static Linux `RV64IM` `ELF64` (`20 / 20` byte-exact), and `wasm32` without external compiler cloud dependencies, while `lut-adapt` lowers hot decision vaults through `LLVM MLIR / CIRCT` and license-free `openXC7` (`nextpnr-xilinx` + Project X-Ray, `0` commercial `EDA` license servers phoning home).
3. **Microkernel and capability-sandbox containment.** Untrusted or newly synthesized patches execute inside `CapSandbox` (`1,280 / 1,280` stdlib coverage), `1,882 B` `#![no_std]` zero-`WASI` `wasm_gate_m3` slice sandboxes (`1.04 µs` warm), or `JouleOS Horizon H56` (`seL4` hypervisor isolating `26` protection domains and `3` VMs with `0` Ring-0 driver/network/JSON lines of code [38]), preventing an autonomous coding agent from exfiltrating secrets or mutating host credentials.
4. **Zero-knowledge-of-source cryptographic auditability.** Using `100%` Apache-2.0 `IETF RFC 9052 COSE_Sign1` and post-quantum hybrid `JCR-1 v1.2` (`FIPS 204 ML-DSA-44 + Ed25519`) receipts, an enterprise can prove to external regulators or customers that binary digest $H_{\text{bin}}$ passed `Spec ⊥ Impl` `100%` mutant gates, `6`-kernel Lean `4.36.0` checks, and hardware joule bounds—**without disclosing a single line of proprietary source code**.

---

## 7. Pathway Infrastructure Requirements and the Full Eight-Stage Lifecycle

### 7.1 Infrastructure Requirements Across Four Automation Pathways

Choosing a software automation pipeline simultaneously commits an organization to a physical compute, memory, networking, power, and governance footprint:

| Infrastructure dimension | Pathway A · Cloud Autoregressive Token Factory | Pathway B · On-Premises Dense / MoE GPU Cluster | Pathway C · Classical Symbolic & Deterministic Refactoring Farm | Pathway D · Sovereign Deterministic Factory + 6-Gear Cascade (OpenIE + Apache-2.0 Bridge) |
|---|---|---|---|---|
| **Compute Silicon** | Multi-tenant hyperscale `H100`/`B200`/accelerator pods (`MW`-scale datacenter allocation) | Dedicated on-prem `8×–64×` enterprise GPU racks (`FP8`/`BF16`/`INT4` tensor cores) | Multi-core `x86-64` / `ARM64` CPU build & `SMT`/`LST` worker nodes | Commodity developer laptop / `1–4` node on-prem CPU+NPU server (`G0–G4`) + optional MCU / `FPGA` (`KV260` / `XC7A200T`) edge |
| **Memory & Working-Set Footprint** | Hundreds of `GB` `HBM3e` per node for long-context (`128k–1M` tok) `KV` caches across concurrent agent loops | `58 GB–640 GB` `VRAM` / unified RAM (`120B–552B` MoE weights + per-agent `KV` state) | `16–128 GB` `DRAM` for `SMT` clause databases, `KLEE` symbolic states, or multi-repo `LST` graphs | **`64.00 KB` `SRAM`** (`VAULT16` `LUT6`), **`102.3 KB`** (`JouleDB` `2,048`-claim morphic basin + codebook), `mmap` `DNULLMM1`, + `4–24 GB` RAM for cold `G3`/`G4` |
| **Network & Code Sovereignty** | Continuous outbound `TLS` streaming of proprietary source, diffs, and tool logs; cloud vendor residency | Sovereign on-prem LAN, high inter-GPU `NVLink`/`RDMA` fabric cost | Sovereign on-prem LAN / air-gap capable | **`100%` air-gap capable** (`0 B` source egress); `128–579 B` typed binary frames (`WAI1` / `FlatBuffers` / `COSE_Sign1`) for AI-to-AI co-work |
| **Power & Cooling Envelope** | `40–120+ kW` per liquid-cooled rack; `~1,000–1,200×` chat token burn on every session | `3–15 kW` per on-prem server chassis + dedicated chilled-water / HVAC | `200 W–2 kW` standard air-cooled server / workstation | **`< 1 W` passive edge** (`0.86 est_W` M.2 `55.2 est_C`) to **`15–120 W` workstation**; repeats drop to `9.17 nJ` (`INA3221` `measured_j`) / `74.90 µJ` (`RAPL` `reported_j`) |
| **Toolchain & Vendor Independence** | Locked to proprietary model weights, hidden system prompts, and usage-billed API token tiers | Open-weight models (`Apache-2.0` / community), coupled to vendor GPU kernel stacks | Open `SMT` (`Z3`) / `LLVM` / `OpenRewrite` (`Apache-2.0` / `MIT`), manual spec overhead | **`100%` open standards & sovereign binaries**: `Apache-2.0` `Wasmtime`, `MLIR/CIRCT`, `OTel`, `COSE_Sign1` + zero-LLVM `4`-ISA & `openXC7` bitstreams |

### 7.2 End-to-End Eight-Stage Software Lifecycle Coverage

Software engineering spans eight continuous stages from initial discovery through multi-decade maintenance and eventual crystallization. Table 7 maps how an unconstrained autoregressive pipeline versus a sovereign deterministic cascade executes each stage:

| Lifecycle stage | Unconstrained Autoregressive Pipeline ("AI Coding") | Sovereign Gate-First Factory (`Constellation` + `RCE` + `JouleDB` + `Standards Bridge`) | Audited receipt / metric |
|---|---|---|---|
| **1 · Research & Prior Art** | Parametric recall or ad-hoc web search; frequent re-invention of suboptimal designs | `Scholar Commons` §6 prior-art sweep + 6-kernel Lean `4.36.0` mathematical library check | `271,244+` ideas; `5,393` 6-kernel Lean constants (`0` `sorry`) |
| **2 · Requirements & Spec** | Prose prompt mixed into same context as coder; ambiguous edge cases | `EARS` / formal preconditions isolated under `Spec ⊥ Impl` + `JouleDB` morphic invariant check | `SPEC_VACUOUS_REFUSED` blocks `31/40` & `40/40` weak specs (`Kit #8`) |
| **3 · Synthesis & AI-to-AI Co-Work** | Verbose `UTF-8` chat loops re-reading `~85%` static files; $O(N \cdot T_{\text{ctx}})$ token burn | `6`-Gear cascade (`G0 -> G5`) + `CFG` token mask + typed binary quorum (`DES-10`) | `98/100` vs. `<=49/100` solo; `75,374×` lower `measured_j` handoffs [22] |
| **4 · Pre-Commit Verification** | Shared-context unit tests (`199/200` AST mutants escape in `Kit #8` Arm A) | `100%` AST Mutant Kill Gate + `wasm_gate_m3` slice gate + `500 Hz` `MuJoCo 4.0.1` twin | `0/200` & `0/800` false accepts; `1.04 µs` warm (`777.8 µJ` `RAPL`) |
| **5 · Build & Silicon Lowering** | Per-language `rustc`/`clang` recompilation (`30%` naive AST rename cache misses) | De Bruijn nameless cache + zero-LLVM `4`-ISA (`x86-64`, `ARM64`, `RV64IM`, `wasm32`) + `CIRCT` | `0/500` rename collisions; `20.07×` `librce_rt` compile `reported_j` cut |
| **6 · Sovereign Runtime & Metering** | Unmetered container/host processes with broad syscall authority | `seL4` `26`-PD `JouleOS H56` + `CapSandbox` (`1,280/1,280`) + `OTel` orthogonality guard | `0` Ring-0 driver/TLS LoC; `3/3` cross-class energy sums blocked |
| **7 · Dark Maintenance & Legacy** | `~4.7%` unprompted `SWE-sweep` recall; `75.0%` unguarded `MCPMark` state corruption | `270`-grammar lift (`COBOL`/`Fortran`/`C`/`Rust`) + `CoW` rollbacks + manifest fault checks | `0.00%` `MCPMark` corruption; `98.46%` interface fault recall (`GE-H6`) |
| **8 · Institutional Crystallization** | Stateless reset: knowledge evaporates when chat session closes | Admitted `Form` hashes into `G0` / `64 KB` `VAULT16` + `579 B` `COSE_Sign1` `PPD` receipt | `9.17 nJ` vs. `0.357 J` (`38.9M×` Thor `INA3221` dynamic `measured_j` drop) |

---

## 8. Five-Layer Pipeline Taxonomy, Falsification Criteria, and Open Boundaries

### 8.1 Five-Layer Pipeline Comparison Matrix

| Architectural axis | 1 · Autoregressive Token Loop | 2 · Pure Symbolic / Deductive Synthesis | 3 · Bounded Neuro-Symbolic Hybrid | 4 · Deterministic Form + Constellation 6-Gear Cascade (and Apache-2.0 Standards Bridge) |
|---|---|---|---|---|
| **Engineering Goal** | Emit plausible surface-code diffs conditioned on chat/issue text | Derive correct-by-construction programs from formal logical specs | Constrain neural generation inside solver-pruned or AST-recipe rails | Automate full-lifecycle software creation & legacy maintenance with `0` escaped admissions, sovereign residency, and minimum joules |
| **Primary Intelligence Substrate** | Dense / sparse autoregressive LLM (`SFT` + `GRPO`/`DAPO` `RL`) invoked on every turn | `SMT` (`Z3`), `SyGuS`/`CEGIS`, `e-graph` equality saturation, symbolic execution | LLM proposer + `CFG`/schema token masks (`SchemaGuard`), solver pruning (`Gordian`), `LST` recipes (`Moderne`) | `6`-Gear hierarchy: `G0` De Bruijn lookup + `JouleDB` morphic basins $\to$ `G1` rewrites $\to$ `G2` `e-graph`/`SMT` $\to$ `G3` `FormJEPA` world model $\to$ `G4/G5` residual LLMs |
| **Verification Spine** | Post-hoc unit tests often co-authored in shared context (`199/200` mutant escape in `Kit #8` Arm A) | Deductive rules, `SMT` unsat cores, bounded loop unrolling | `100%` grammar/type validity + deterministic `LST` transformations | `Spec ⊥ Impl` + `100%` AST Mutant Kill Gate (`0/200` escape) + `1.04 µs` `Wasmtime` `M3` gate + `5,393` 6-kernel Lean `4.36.0` proofs + `500 Hz` `MuJoCo 4.0.1` actuator twin |
| **Thermodynamic Cost Structure** | Stateless $O(N \cdot T_{\text{ctx}})$: `~1,000–1,200×` chat tokens, `~85%` input re-read; flat marginal joules forever | Zero neural tokens; exponential solver CPU joules past small AST/branch bounds | `91%–96%` token cut (`Gordian`) & `45.22×` `RAPL` `reported_j` gate cut (`Kit #8` Arm D) | Cold synthesis paid once (`0.357 J` net `INA3221` `measured_j`); repeats amortize to `9.17 nJ` net `G0` (`38.9M×` `measured_j` cut; `29.86×` `Zipf(0.85)` `300`-query stream cut) |
| **Surface, Sovereignty & Factory Model** | Cloud token APIs, `UTF-8` chat transcripts, external source egress, fragmented per-language wrappers | Single-language formal DSLs (`SyGuS-IF`, `SMT-LIB`), local CPU only | Mainstream languages via per-ecosystem AST/grammar plugins | `270` verified grammars incl. `COBOL`/`Fortran`/`Rust`/`Python` (`/constellation/`) + `100%` air-gapped sovereign `G0–G4` + typed binary AI-to-AI co-work + `Apache-2.0` `Wasmtime`/`OTel`/`COSE_Sign1` |

### 8.2 Falsification Criteria and Open Engineering Boundaries

Every architectural claim in this paper is paired with a concrete experimental falsifier and an explicit statement of what remains unsolved:

| Falsifier ID | Claim under test | Concrete refutation condition | Current empirical status & open boundary |
|---|---|---|---|
| **`SAP-F1`** · *External Shunt Amortization* | Cumulative energy per resolved repository task crosses below stateless autoregressive loops after finite horizon $N^*$ | An independent external lab running both pipelines under calibrated physical DC rail shunts (`measured_j`, `Falsifier 6 <= 5.0%` idle drift) observes no crossing $N^*$ on a realistic `Zipf`-distributed maintenance stream | Crossing supported internally on `300`-query `Zipf(0.85)` stream (`29.86×` Thor `INA3221`/`INA238` & `21.61×` KV260 `INA260` `measured_j` `@ 6a22dee`); third-party external lab shunt receipts remain open ([`/replication/`](https://research.openie.dev/replication/)) |
| **`SAP-F2`** · *Unprompted Multi-File Discovery* | Canonical `Form` lifting + cross-module manifest checks + `JouleDB` non-arbiter basins raise unprompted whole-repo bug recovery significantly above `~4.7%` | On held-out multi-thousand-file open-source repositories without issue prompts, precision-recall of unprompted `Form`/contract discrepancy surfacing fails to beat stateless sliding-window LLM sweeps at matched joules | `98.46%` recall (`F1 = 0.9922`) demonstrated on `130` injected interface faults (`GE-H6`) and `0` escaped errors on `52`-edit Rust loop; large-scale unprompted `SWE-sweep` evaluation on external million-LoC repositories is open |
| **`SAP-F3`** · *Undecidable Equivalence Boundary* | Sovereign compilation and cross-language lifting never claim all-inputs equivalence outside decidable mathematical fragments | Any emitted receipt claiming universal equivalence (`forall inputs`) on general Turing-complete loops, pointers, or transcendental expressions outside the four decidable fragments | Enforced by Rice's theorem [39] and Richardson's theorem [40]: equivalence is proved for all inputs strictly on polynomial, rational, exp/log, and $\tan(\theta/2)$ fragments; general programs carry explicit finite bounded-sampling labels |
| **`SAP-F4`** · *Live Multi-Language Editor Immersion* | Generated `LSP`/`DAP`/tree-sitter adapters backed by replay-admitted `G0` competence sustain interactive editing (`<= 16 ms` keystroke budget) across languages | Extending `editor_loop.rs` from synchronous integer Rust procedures to heap-allocating, asynchronous multi-crate workspaces across the `270` Constellation grammars breaches frame-time budgets or leaks runtime errors | Prototype verified on `52`-edit Rust loop (`0` escaped runtime errors) and `14`-editor `rce-lsp` packaging; full polyglot live-IDE `LSP` diagnostics-on-type across all `270` grammars remains open |
| **`SAP-F5`** · *Specification Vacuity Under Autoformalization* | `Spec ⊥ Impl` isolation + `100%` AST Mutant Kill Gate blocks Goodhart specification gaming | An automated spec formalizer passes `SPEC_VACUOUS_REFUSED` and kills `100%` of syntactic AST mutants while admitting $> 2.0\%$ off-domain semantic bugs on held-out oracle tests | `0 / 200` (`Arm C`) and `0 / 800` (`Arm D`) false accepts in `Kit #8`; `rce repair` rung `f` observed `3 / 119` (`2.5% > 2.0%`) on weak specs and therefore remains held in observe mode rather than auto-promoted |
| **`SAP-F6`** · *AI-to-AI Typed Binary vs. Transcript Co-Work* | Thresholded binary handoffs (`WAI1` / `FlatBuffers` / `COSE_Sign1`) with `Proposer ⊥ Specifier ⊥ Gatekeeper` achieve higher verified pass per joule than `UTF-8` chat swarms | A multi-agent `UTF-8` transcript swarm matches or exceeds `DES-10` verified pass rate at lower physical `measured_j` or `RAPL` `reported_j` without context-isolated gates | `98 / 100` vs. `<= 49 / 100` solo at `9.26×–26.87×` higher Thor `measured_j` CpJ and `75,374×` lower `measured_j` handoffs (`CTA-E5`); scaling beyond `10` specialist camps on heterogeneous enterprise monorepos remains open |
| **`SAP-F7`** · *Dark Long-Horizon Stateful Integrity* | Copy-on-write workspace snapshots + append-only event logs $D$ + `LUT6`/`G0` crystallization prevent unattended state corruption across $> 1,000$-step dark runs | Any unattended multi-thousand-step maintenance campaign mutates live repository/database state on a rejected step or suffers prefix-poisoning regression on previously crystallized `G0` tasks | `0.00%` live corruption across `24` `MCPMark` stateful `CRUD` workflows (`LA-73`), `0.00%` prefix poisoning (`LA-36`), and `100.0%` `1,000`-step `Vending-BALROG` survival (`LA-62`); multi-week unattended campaigns on production `CI/CD` fleets remain open |
| **`SAP-F8`** · *Legacy Estate Lifting & Sovereign Air-Gap Parity* | Legacy `COBOL`/`Fortran`/`PL/I`/`C` workloads lifted through `/constellation/` preserve decimal/state semantics inside a `0`-egress air-gapped factory | Lifted legacy batch/transaction modules diverge on production replay logs (e.g., `COMP-3` decimal rounding or implicit `COMMON` block aliasing) or require external network calls during `G0–G4` synthesis | Tree-sitter grammar coverage (`100%` named nodes across `270` grammars), `Mercury` `HLDS` (`6/6`), and `24/24` Rosetta Code Python/Rust/C holdout verified at `@ 258cbb11`; full industrial `COBOL` `COMP-3`/JCL transaction-log lifters remain an active engineering frontier |

---

## References

<ol data-refs>
<li>C. V. Lopes, P. Maj, P. Martins, V. Saini, D. Yang, J. Zitny, H. Sajnani, and J. Vitek, "DéjàVu: A map of code duplicates on GitHub," <i>Proceedings of the ACM on Programming Languages</i> 1(OOPSLA), Article 84, 2017. doi:10.1145/3133908</li>
<li>Epoch AI, "Trends in AI training compute, hardware spend, and inference price series," technical reports and data insights, 2025–2026. https://epoch.ai/trends</li>
<li>International Energy Agency (IEA), <i>Energy and AI</i>, Executive Summary, April 2025. https://www.iea.org/reports/energy-and-ai/executive-summary</li>
<li>International Energy Agency (IEA), <i>Key Questions on Energy and AI</i>, Executive Summary, 2026. https://www.iea.org/reports/key-questions-on-energy-and-ai/executive-summary</li>
<li>L. Bai, Z. Huang, and X. Wang, "How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks," 2026. arXiv:2604.22750. https://arxiv.org/abs/2604.22750</li>
<li>Cursor, "Clarifying our pricing," June 2025. https://cursor.com/blog/june-2025-pricing</li>
<li>GitHub, "GitHub Copilot individual plan flex allotments and usage-based billing update," May 2026. https://github.blog/jp/2026-05-15-github-copilot-individual-plans-introducing-flex-allotments-in-pro-and-pro-and-a-new-max-plan/</li>
<li>Microsoft Corporation, Form 10-Q for the quarterly period ended 30 September 2025, Note 3 and Item 2. https://www.sec.gov/Archives/edgar/data/789019/000119312525256321/msft-20250930.htm</li>
<li>R. Alur, R. Bodik, G. Juniwal, M. M. K. Martin, M. Raghothaman, S. A. Seshia, R. Singh, A. Solar-Lezama, E. Torlak, and A. Udupa, "Syntax-guided synthesis," in <i>Formal Methods in Computer-Aided Design (FMCAD)</i>, pp. 1–8, 2013.</li>
<li>A. Solar-Lezama, L. Tancau, R. Bodik, S. Seshia, and V. Saraswat, "Combinatorial sketching for finite programs," in <i>Proceedings of the 12th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS)</i>, pp. 404–415, 2006.</li>
<li>M. Willsey, C. Nandi, Y. R. Wang, O. Flatt, Z. Tatlock, and P. Panchekha, "egg: Fast and extensible equality saturation," <i>Proceedings of the ACM on Programming Languages</i> 5(POPL), Article 23, 2021. doi:10.1145/3434304</li>
<li>Y. Li, D. Choi, J. Chung, N. Kushman, J. Schrittwieser, R. Leblond, T. Eccles, J. Keeling, F. Gimeno, A. Dal Lago et al., "Competition-level code generation with AlphaCode," <i>Science</i> 378(6624), pp. 1092–1097, 2022. doi:10.1126/science.abq1158</li>
<li>C. Cadar, D. Dunbar, and D. Engler, "KLEE: Unassisted and automatic generation of high-coverage tests for complex systems programs," in <i>8th USENIX Symposium on Operating Systems Design and Implementation (OSDI)</i>, pp. 209–224, 2008.</li>
<li>A. Cunha, "Verified LLM-Driven Synthesis for Concept Design," 2026. arXiv:2607.15718. https://arxiv.org/abs/2607.15718</li>
<li>Solver-pruned neuro-symbolic search literature (Gordian-class constraint-guided branch pruning vs. unconstrained chain-of-thought token rollouts, reporting 91%–96% token reductions on bounded combinatorial and program-synthesis benchmarks), 2025–2026; see also OpenIE <code>Kit #2</code> Unique 3-SAT <code>O(m)</code> DRAT feedback benchmark (<a href="/papers/deterministic-null/">/papers/deterministic-null/</a>).</li>
<li>Grammar- and schema-constrained decoding benchmarks (SchemaGuard, Outlines, and <code>llguidance</code> context-free token masking reporting 100% schema/grammar validity vs. ~23% unconstrained JSON-mode structural failures), R. Louf and B. Willard, "Efficient Guided Generation for Large Language Models," arXiv:2307.09702, and 2025–2026 schema-compliance evaluations; reproduced locally in OpenIE <code>Kit #8</code> Arm D (<a href="/standards/#layer-3-spec-fidelity">/standards/</a>).</li>
<li>Moderne and OpenRewrite Project, "Lossless Semantic Trees (LST) for large-scale deterministic automated refactoring," technical documentation, 2024–2026. https://docs.openrewrite.org/concepts-and-explanations/lossless-semantic-trees</li>
<li>Open Interface Engineering, "FormJEPA: Non-Collapse Canonical Program World Models, Federated Training, and Closed-Loop Actuator Verification," <code>openIE-dev/rce</code> commit <code>258cbb11</code>, 2026. <a href="/papers/rce-form-jepa/">/papers/rce-form-jepa/</a></li>
<li>Open Interface Engineering, "The Reality Code Engine: One Lossless Form for Native, Verified, Low-Energy Programming," <code>openIE-dev/rce</code> commit <code>f87d6af2</code>, 2026. <a href="/papers/rce/">/papers/rce/</a></li>
<li>Open Interface Engineering, "The Language Constellation: 12,117 Catalogued Languages and 270 Measured Tree-Sitter Grammars Across 131 Universal Constructs," interactive dataset and reference, 2026. <a href="/constellation/">/constellation/</a></li>
<li>Open Interface Engineering, "Downward LUT6 Compilation in a Mixture of Limits Cascade," <code>openIE-dev/lut-adapt-ai</code> commit <code>8722635</code>, 2026. <a href="/papers/lut-adapt/">/papers/lut-adapt/</a></li>
<li>Open Interface Engineering, "The Communication Tool Avalanche: Thresholded Signal Externalization, Event-Driven Orchestration, and Coherence per Joule," 2026. <a href="/papers/communication-avalanche/">/papers/communication-avalanche/</a></li>
<li>GitHub, "Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1," 2025. https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/</li>
<li>Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo, "DeepSeekMath: Pushing the limits of mathematical reasoning in open language models (GRPO)," 2024. arXiv:2402.03300. https://arxiv.org/abs/2402.03300</li>
<li>Q. Yu et al., "DAPO: An open-source LLM reinforcement learning system at scale," 2025. arXiv:2503.14476. https://arxiv.org/abs/2503.14476</li>
<li>C. Elsworth et al., "Measuring the environmental impact of delivering AI at Google Scale," 2025. arXiv:2508.15734. https://arxiv.org/abs/2508.15734</li>
<li>S. Pichai, "I/O 2026: Welcome to the agentic Gemini era," Google Blog, 19 May 2026. https://blog.google/innovation-and-ai/sundar-pichai-io-2026/</li>
<li>C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. R. Narasimhan, "SWE-bench: Can language models resolve real-world GitHub issues?" in <i>ICLR</i>, 2024. arXiv:2310.06770.</li>
<li>C. A. E. Goodhart, "Problems of Monetary Management: The U.K. Experience," in <i>Papers in Monetary Economics</i>, Reserve Bank of Australia, 1975; M. Strathern, "'Improving ratings': Audit in the British University system," <i>European Review</i> 5(3), pp. 305–321, 1997.</li>
<li>Meta Fundamental AI Research (FAIR) and repository-scale unprompted bug-discovery evaluations (SWE-sweep-class whole-repository hidden-defect benchmarks contrasting single-digit ~4.7% unprompted repository defect recovery against localized issue-repair leaderboards), 2025–2026.</li>
<li>J. Becker, N. Rush, E. Barnes, and D. Rein, "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity," METR, 2025. arXiv:2507.09089. https://arxiv.org/abs/2507.09089</li>
<li>METR, "Developer productivity randomized controlled trial cohort update," 24 February 2026. https://metr.org/blog/2026-02-24-uplift-update/</li>
<li>L. de Moura and N. Bjørner, "Z3: An efficient SMT solver," in <i>Tools and Algorithms for the Construction and Analysis of Systems (TACAS)</i>, pp. 337–340, 2008.</li>
<li>Open Interface Engineering, <i>RCE Compile</i> (compiler normal-form and nameless De Bruijn cache study), <code>openIE-dev/rce</code> commits <code>258cbb11</code> and <code>f87d6af2</code>, 2026. <a href="/papers/rce-compile/">/papers/rce-compile/</a></li>
<li>Open Interface Engineering, "Clean-Room Core vs. Drop-In Standards Bridge" and standalone Apache-2.0 Replication Kits <code>#8</code> (<code>kits/spec-fidelity-barrier</code> @ <code>d036b64</code>), <code>#9</code> (<code>kits/standards-bridge</code> @ <code>d036b64</code>), and <code>#10</code> (<code>kits/scholar-jouledb-price-per-distinction</code> @ <code>8a05945</code>), 2026. <a href="/standards/">/standards/</a> · <a href="/replication/">/replication/</a></li>
<li>Open Interface Engineering, "The Pursuit of AGI Resolves the Three-Body Problem in Computing," 2026. <a href="/papers/three-body/">/papers/three-body/</a></li>
<li>Open Interface Engineering, "Writing a Game Once and Running It Everywhere: Where Exact Replay Ends and Tolerance Begins," falsifier suite <code>GE-H6</code>, 2026. <a href="/papers/game-engines/">/papers/game-engines/</a></li>
<li>Open Interface Engineering, "The Search for JouleOS," Horizon <code>H56</code> (<code>joule-os-sota</code> commit <code>d744028</code>), 2026. <a href="/products/jouleos/">/products/jouleos/</a></li>
<li>H. G. Rice, "Classes of recursively enumerable sets and their decision problems," <i>Transactions of the American Mathematical Society</i> 74(2), pp. 358–366, 1953.</li>
<li>D. Richardson, "Some undecidable problems involving elementary functions of a real variable," <i>Journal of Symbolic Logic</i> 33(4), pp. 514–520, 1968.</li>
<li>M. D. McIlroy, "Mass produced software components," and R. W. Bemer, "Economics of program production," in <i>Software Engineering: Report on a Conference Sponsored by the NATO Science Committee</i>, Garmisch, Germany, October 1968, pp. 138–155.</li>
<li>M. A. Cusumano, "The software factory: A historical interpretation," <i>IEEE Software</i> 6(2), pp. 23–30, March 1989; <i>Japan's Software Factories: A Challenge to U.S. Management</i>, Oxford University Press, 1991.</li>
<li>Open Interface Engineering, "'AI' Reads Human: Human Language Encoding at Machine Speed and the Energy Cost," 34-workload wire and tokenization benchmark, 2026. <a href="/papers/ai-reads-human/">/papers/ai-reads-human/</a></li>
<li>Open Interface Engineering, "Thermodynamic Bounds and an Optimal Tempo for Goal-Holding Agents," 2026. <a href="/papers/agency/">/papers/agency/</a></li>
<li>M. M. Lehman, "Programs, life cycles, and principles of software evolution," <i>Proceedings of the IEEE</i> 68(9), pp. 1060–1076, September 1980. doi:10.1109/PROC.1980.11805</li>
<li>L. Erlikh, "Leveraging legacy system dollars for e-business," <i>IT Professional</i> 2(3), pp. 17–23, May/June 2000. doi:10.1109/6294.846201</li>
<li>ISO/IEC, <i>ISO/IEC 14764:2006 — Software Engineering — Software Life Cycle Processes — Maintenance</i>, International Organization for Standardization, Geneva, 2006.</li>
<li>U.S. Government Accountability Office (GAO), <i>Information Technology: Agencies Need to Develop Modernization Plans for Critical Legacy Systems</i>, Report GAO-19-471, June 2019. https://www.gao.gov/products/gao-19-471</li>
<li>Stripe and Harris Poll, <i>The Developer Coefficient: Software Engineering Efficiency and Technical Debt Global Report</i>, 2018. https://stripe.com/files/reports/the-developer-coefficient.pdf</li>
<li>H. Krasner, <i>The Cost of Poor Software Quality in the US: A 2022 Report</i>, Consortium for Information &amp; Software Quality (CISQ), 2022. https://www.it-cisq.org/the-cost-of-poor-quality-software-in-the-us-a-2022-report/</li>
</ol>
