Specification, Proposer, and Gate: The "Three-Body" Software Design Metaphor for Verifiable Automation
An unmetered architectural framing paper using "Three-Body" strictly as a structural metaphor for separating Specifications, Proposers, and Deterministic Gates—not celestial mechanics.
Temporal & Archival Scope: Era II OpenIE Study (November 18, 2026) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/three-body/ · Primary Paper & Methods: https://research.openie.dev/papers/three-body/ · Canonical Digest:
blake3:tv:16e4e4b439081a0ed33c49753fe852f5ef4a4ac5f32d4bdf70826f08da0e7738Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class:
unmetered(measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered— Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).
Key Claims & Evidence Tags
- [M · Explicit Metaphor Disclosure] “Three-Body” in this essay is a naming metaphor for three interacting software roles (
Specification,Candidate Proposer,Deterministic Gate); it invokes no equations or chaos proofs from Poincaré/Newtonian gravitational three-body mechanics. - [M/S · Architectural Separation] Coupling specification intent and acceptance authority inside a single stochastic generator makes silent drift undetectable; isolating an executable gate (
tests,typechecker,SAT/SMT, orproof kernel) turns stochastic generation into bounded trial-and-check. - [S · Cross-Study Scope] This paper performs zero new empirical runs (
joules = null,unmetered); concrete falsifiers and failure modes of imperfect specifications (such as Goodharting weak test suites) are evaluated in companion studies (gates,deterministic-null, andrce-jepa).
Methods, Baselines & Artifact Scope
- Methodological Dimension: Hardware & Telemetry · Primary-Paper Grounding & Scope: Unmetered (
joules = null,board_metered = false). Conceptual software-architecture and interface-contract synthesis. - Methodological Dimension: Workload & Benchmark Suite · Primary-Paper Grounding & Scope: No empirical benchmark suite executed in this manuscript; analyzes role separation across specification-proposer-verifier pipelines.
- Methodological Dimension: Baseline(s) Compared · Primary-Paper Grounding & Scope: Qualitative comparison against two-party human-prompt-to-LLM commit loops and unverified multi-agent natural-language debate.
- Methodological Dimension: Runs (N) & Spread / Uncertainty · Primary-Paper Grounding & Scope: Not applicable (
N = 0empirical trials in this framing paper; quantitative claims reside in companion empirical papers). - Methodological Dimension: Caching / Cold vs. Warm Scope · Primary-Paper Grounding & Scope: Conceptual discussion only: notes that gated outputs can be indexed for exact recall only while the specification hash remains unchanged.
- Methodological Dimension: Artifact & License Availability · Primary-Paper Grounding & Scope: Public-domain essay text (
CC0-1.0) onresearch.openie.devandblog.openie.dev; no proprietary code required.
Problem, Scope & Metaphor Disclosure
Upfront scope note: the title phrase “Three-Body” is used strictly as a structural software metaphor for a triad of distinct engineering artifacts—(1) Specification, (2) Proposer, and (3) Deterministic Gate—not as an application of gravitational orbital mechanics or Lyapunov chaos theory [M]. Earlier short summaries leaned on physical analogies without stating immediately that this manuscript is an unmetered architectural synthesis (joules = null).
In two-party LLM coding workflows, a human prompt asks a generative model both to interpret an underspecified goal and to judge whether its own patch succeeded [S]. Whenever model weights approximate acceptance checks heuristically, syntax errors, subtle regressions, and hallucinated APIs pass silently into production [S].
Mechanism: Decoupling Proposal Entropy from Gate Soundness
The paper formalizes a classic computer-science separation of concerns in modern agentic pipelines [M, S]:
-
Specification (
sigma): Declares typed invariants, postconditions, resource caps, or reference test traces independent of how a candidate solution is found. -
Proposer (
P): Any search mechanism—cached lookup, symbolic solver, small local model, or frontier LLM—free to explore high-entropy candidates without commit authority. -
Deterministic Gate (
G): A reproducible checker (C(z) in {0, 1}) that either admits the candidate with a signed receipt or returns diagnostic counterexamples without mutating protected state[M].
Limitations, Specification Bottlenecks & Failure Modes
-
A gate is only as strong as its specification: As documented in program-repair literature (Qi et al., ISSTA 2015; Wang, Pradel & Liu, ICSE 2026), proposers routinely pass weak or incomplete unit-test gates with overfitting patches that break unstated invariants
[S]. Separating the gate prevents gate-bypass bugs, not specification-omission bugs[M]. -
Formal specification authoring cost: Writing complete formal postconditions or mutation-adequate test suites requires upfront human engineering effort (explicitly registered as falsifier
RJ-F2inrce-jepa)[M]. -
Zero standalone empirical data: Readers seeking measured pass rates, counterexample loops, or hardware joules should consult
deterministic-null,gates, andrce-jeparather than treating this framing essay as an experimental proof.
Energy & Telemetry Scope
This study is strictly unmetered (joules = null, board_metered = false). Energy trade-offs between cheap local verification gates and expensive neural proposers are stated analytically as cost-ratio conditions (C_gate << E_proposer) and measured empirically in companion papers.
Related Work & References
- Hoare (CACM 1969) & Dijkstra (CACM 1975): Pre/postcondition axiomatic semantics and guarded-command program derivation
[S]. - Blum & Kannan (JACM 1995) & Necula (POPL 1997): Designing programs that check their work and Proof-Carrying Code decoupling untrusted producers from small trusted verifiers
[S]. - Qi et al. (Kali, ISSTA 2015) & Wang, Pradel & Liu (ICSE 2026): Empirical demonstrations of test-suite overfitting in automated patch generation and
SWE-bench[S]. - Kambhampati et al. (LLM-Modulo Frameworks, ICML 2024) & Sun et al. (Clover, 2024): Pairing stochastic LLM proposers with external sound verifiers
[S].
Canonical Provenance, Primary Artifacts & Independent Replication
- Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/three-body/
- Primary Study & Methods: https://research.openie.dev/papers/three-body/
- Illustrated Video Summary (OpenIE Research TV): https://research.openie.dev/tv/?study=three-body (9:16 Vertical MP4)
- Signed Provenance · Self-Checked Disclosure & Licensing: Architectural framing essay dedicated to the public domain (CC0-1.0); contains no standalone benchmark dataset or private binary dependencies; self-checked, not peer-reviewed. Full details at https://blog.openie.dev/verification/ and https://blog.openie.dev/glossary/.