The stochastic gap
Given the same specification, an LLM agent may produce different tests, different implementations, and different coverage on each run. There is no deterministic function from specification to verification obligations.
The paper
A layered meta-architecture (L0–L7) that bridges domain knowledge to verified software through deterministic derivation rules and self-regulating governance.
Evidence status notice · 2026-08-07. The original paper is preserved below. Section 10 adds the current research record without replacing the original argument. Where an inherited empirical, theoretical, licensing, publication, or maturity claim conflicts with the evidence addendum, the addendum controls.
Abstract
Large language model (LLM) agents can now generate code, tests, and infrastructure from natural-language specifications. Yet without formal structure, their outputs remain stochastic — non-reproducible, non-auditable, and ungovernable at scale. We present DomainSpec, a layered meta-architecture (L0–L7) that bridges domain knowledge to verified software through deterministic derivation rules and self-regulating governance. The framework introduces four contributions: (C1) a dual-track meta-model spanning business semantics and operational enforcement across seven layers; (C2) a typed domain ontology of 25 meta-types and 29 typed relationships that enables deterministic derivation both per feature (T = f(C, R, Δ)) and across feature composition (T_composed = f(C, R, Δ) + f_cross(E_AB, Δ_cross)), mapping domain concepts to test obligations, observability metrics, and implementation contracts; (C3) a governance attenuation theory explaining why adding governance layers to multi-agent systems decreases per-layer fidelity, bounded by Shannon channel capacity; and (C4) a meta-circular self-governance mechanism where the framework's axioms, constitution, and tuning loop govern — and prune — themselves. We validate DomainSpec on a production system with 7 features across 3 business pillars, deriving 445 test obligations and 146 observability metrics from 89 domain concepts. Results show that typed ontologies eliminate the stochastic gap between specification and implementation, while structural governance interventions (observer-executor separation, deterministic signal detection, via negativa pruning) restore enforcement fidelity without adding layers. DomainSpec is open-source and available as a replication package.
Keywords: domain-driven design, meta-modeling, deterministic test derivation, LLM agents, governance attenuation, multi-agent systems, specification-first development
1 · Introduction
The emergence of LLM-based coding agents — SWE-agent [14], Devin [2], GitHub Copilot Workspace [3] — has shifted the bottleneck in software engineering from writing code to governing what agents write. These systems can produce syntactically correct implementations from natural-language prompts, but they lack formal guarantees about completeness, consistency, or traceability to business requirements.
Three fundamental problems remain unsolved:
Given the same specification, an LLM agent may produce different tests, different implementations, and different coverage on each run. There is no deterministic function from specification to verification obligations.
As organizations add rules, guardrails, and review layers to constrain agent behavior, the per-rule compliance rate decreases — an effect we formalize as governance attenuation. More governance produces less governance.
Who governs the governance? Frameworks that constrain agent behavior must themselves be constrained, creating an infinite regress that existing approaches resolve by fiat (a human reviews everything) rather than by structure.
DomainSpec is grounded in three intertwined hypotheses:
H1 — Domain Structure Determines Test Completeness: If domain concepts (entities, rules, events, calculations, workflows, policies) and their relationships (references, produces-for, triggers, enforces) are formally modeled, then test obligations can be deterministically derived with coverage traceable to business requirements. The hypothesis predicts that typed domain models are both necessary (informal models produce incomplete, non-reproducible tests) and sufficient (typed models produce comprehensive, derivable tests).
H2 — Governance Layers Have Attenuation Bounds: As multi-agent systems add decision-making layers (specify → derive → verify → enforce → tune), per-layer compliance fidelity decreases in a measurable pattern bounded by Shannon channel capacity and the cognitive load on agents. The hypothesis predicts that naive layer stacking yields exponential attenuation, but structural interventions (observer-executor separation, deterministic signal detection) can invert the trend without removing layers.
H3 — Self-Improving Systems Require Meta-Circular Governance: Systems that improve themselves need mechanisms to improve those improvement mechanisms, which creates an infinite regress. The hypothesis predicts that a bounded strange loop — where the framework's constitution axioms govern how the constitution itself evolves — can resolve this without external authority.
These hypotheses drive four research questions:
These questions map to experiments E1–E10 (RQ1–RQ3) and E11–E20 (meta-meta framework generalization of RQ2–RQ4).
This paper presents DomainSpec, a layered meta-architecture that addresses all three problems through a unified structural approach. Rather than treating specification, derivation, governance, and self-improvement as orthogonal concerns, DomainSpec organizes them as emergent properties of a seven-layer hierarchy:
The key insight is that derivation and governance are not bolted onto the system — they are structural consequences of the layered architecture. A typed ontology (L1) deterministically produces tests (L2). A formal constitution (L3) deterministically maps to enforcement gates (L6). The tuning loop (signals → reflection → improvement) closes the system into a self-regulating cycle where Axiom A6 ("govern the governance itself") creates a Hofstadterian strange loop [4] that prevents infinite regress.
We make four contributions:
A dual-track (business × operational) seven-layer model where each layer governs the layer below and is governed by the layer above, with formal derivation chains traceable from epistemic axioms to enforcement gates.
T = f(C, R, Δ)A per-feature function plus a system-level composition extension T_composed = f(C, R, Δ) + f_cross(E_AB, Δ_cross) mapping concepts, typed relationships, and rules to deterministic test obligations — plus 16 symmetric observability rules that derive production metrics from the same specification documents.
A formal model of why governance fidelity decreases as layers accumulate in multi-agent systems, grounded in Shannon channel capacity [5], Ashby's Law of Requisite Variety [6], and empirical evidence from LLM instruction-following behavior.
A structural mechanism where the framework governs itself: Axiom A6 governs governance, Constitution Rule C10 prunes the constitution, and meta-health metrics M-001–M-006 observe the observer — resolving the infinite regress through a bounded strange loop rather than external authority.
We validate these contributions on a production poker team management system comprising 7 features across 3 business pillars (product, operations, finance), demonstrating that DomainSpec derives 445 test obligations and 146 observability metrics from 89 domain concepts with full traceability.
The remainder of this paper is organized as follows. Section 2 surveys related work. Section 3 presents the meta-architecture. Section 4 defines the typed domain ontology. Section 5 formalizes the derivation calculus. Section 6 develops governance attenuation theory. Section 7 describes the self-improving pipeline. Section 8 presents the case study. Section 9 discusses limitations and future work.
2 · Background and Related Work
DomainSpec sits at the intersection of several research traditions: domain-driven design, model-based testing, specification-first development, multi-agent governance, and meta-modeling. We survey each and identify the gap that DomainSpec fills.
Evans' Domain-Driven Design (DDD) [7] established that software structure should mirror domain structure through ubiquitous language, bounded contexts, entities, value objects, and aggregates. DDD provides the intuition that domain semantics should drive implementation, but it remains informal — the vocabulary is advisory, relationships are implicit, and there is no derivation function from domain model to verification obligations. DomainSpec formalizes the DDD intuition into a closed typed ontology with deterministic derivation.
Model-based testing (MBT) [8] generates tests from behavioral models — state machines, labeled transition systems, or UML diagrams. MBT achieves deterministic derivation (from model to test), but the models describe system behavior, not domain semantics. A state machine captures valid transitions but says nothing about the business rules that guard them, the calculations that produce side effects, or the events that propagate downstream. DomainSpec's derivation operates on domain concepts (rules, calculations, postconditions, workflows), not behavioral abstractions, producing tests that are traceable to business meaning.
BDD [9] bridges domain language and tests through Given/When/Then scenarios written in Gherkin. BDD is human-readable but not formally derivable — there is no function from domain model to scenario set. The scenarios must be manually authored, and their completeness depends on the author's diligence. DomainSpec generates BDD-style templates deterministically: every rule in operations.md produces at least 2 tests (pass + fail), every state transition produces 1 happy-path test and 1 negative test, every interface endpoint × response status produces 1 contract test.
TLA+ [10], Alloy [11], and Z [12] provide mathematically rigorous specifications with model checking or theorem proving. These achieve the strongest guarantees but are impractical for typical business domains: the learning curve is steep, the specification effort is high, and the gap between formal model and implementation code requires a separate verification step. Recent work combines Alloy with LLMs [13] to lower the barrier, but the fundamental trade-off between rigor and accessibility remains. DomainSpec targets the middle ground — formal enough for deterministic derivation, accessible enough for domain experts writing Markdown.
SWE-bench [1] established the benchmark for LLM agents resolving GitHub issues. SWE-agent [14] introduced tool-use and retrieval-augmented workflows. More recent systems like Devin [2] and Copilot Workspace [3] provide end-to-end development environments. These systems demonstrate that LLM agents can produce working code, but none address specification governance — ensuring that what the agent builds matches what the domain requires. VeriGuard [15] formally verifies LLM-generated agent policies against synthesized safety specifications, but inherits the accessibility limitations of formal methods. DomainSpec governs agent execution through typed specifications that agents can navigate and derive from.
As agent systems scale from single-agent to multi-agent architectures [16], governance becomes a first-class concern. Constitutional AI [17] introduced the idea of using principles to constrain generation, but applies at the single-output level. The Agentic Delivery Lifecycle (ADLC) [18] proposes continuous tuning as the central value driver for agent-assisted development. DomainSpec operationalizes ADLC principles through a concrete layered architecture with formal governance attenuation bounds.
The Meta-Object Facility (MOF) [19] defines a four-layer meta-modeling architecture (M0–M3) for standardizing modeling languages. ISO/IEC/IEEE 42010 [20] provides a conceptual framework for architecture descriptions. Zachman [21] organizes enterprise architecture along interrogative dimensions, and Kruchten's 4+1 view model [31] decomposes an architecture into complementary stakeholder views. These frameworks operate at the modeling language level — they define how to define models — but do not connect to software derivation or agent governance. The Meta-Track framework [22] introduces a seven-layer hierarchy connecting domain vocabulary to code via annotations and orphan detection. DomainSpec adopts Meta-Track's layering insight and extends it with deterministic derivation (L1→L2), formal governance attenuation theory (L3–L4), and meta-circular self-governance (A6, C10, M-001–M-006).
Table 1 summarizes the landscape. No existing approach combines a typed domain ontology, deterministic derivation to both tests and observability metrics, multi-agent governance with formal attenuation bounds, and meta-circular self-governance — the four properties that DomainSpec unifies under a single layered architecture.
| Approach | Typed Ontology | Deterministic Derivation | Agent Governance | Self-Governance | Accessibility |
|---|---|---|---|---|---|
| DDD [7] | Informal | — | — | — | High |
| MBT [8] | Behavioral | Tests only | — | — | Medium |
| BDD [9] | Natural language | — | — | — | High |
| TLA+/Alloy [10,11] | Formal logic | Model checking | — | — | Low |
| SWE-agent [14] | — | — | Implicit | — | High |
| Constitutional AI [17] | — | — | Principles | — | High |
| ADLC [18] | — | — | Lifecycle | — | Medium |
| Meta-Track [22] | Annotations | — | Health metrics | — | Medium |
| DomainSpec | 25 types × 29 edges | Tests + Metrics | Attenuation theory | Strange loop | High (Markdown) |
3 · The Meta-Architecture
DomainSpec organizes knowledge, software, and governance into a seven-layer dual-track hierarchy. The business track governs what things mean (domain semantics → software → verification). The operational track governs how the framework itself runs (orchestration → enforcement → self-improvement). Both tracks share Layers 0–2 and diverge at Layer 3.
SPEC.md, domain.md, operations.md, states.md, etc.).CONSTITUTION.md, each traceable to an L4 axiom and mapped to an L6 enforcement gate.AXIOMS.md that articulate why each governance rule exists. Each axiom is grounded in empirical evidence of harm — the damage observed when the axiom is violated. This follows Taleb's Via Negativa [23]: formalize a rule only when its absence has caused measurable harm.To keep architecture semantics centralized (instead of distributed across claims and experiments), we define the layer system explicitly.
The architecture's structural power comes from its formal derivation chains. Each chain traces from epistemic foundation to enforcement:
L4 —[justifies]→ L3 —[implemented by]→ L6Concretely, Axiom A1 ("Documentation is the source of truth for domain meaning") justifies Constitution Rule C1 ("Every domain concept must be documented before it is implemented"), which is enforced by Gate G1 (the alignment audit that blocks code without corresponding SPEC entries). This chain is auditable: given any enforcement gate, one can trace backward to the axiom that justifies its existence. Given any axiom, one can trace forward to every gate that implements it. Table 2 shows the complete chain.
| Axiom | Statement | Constitution Rules | Enforcement Gates |
|---|---|---|---|
| A1 — Documentation First | "Documentation is the source of truth for domain meaning" | C1 (document before implement), C5 (SPEC before code) | Alignment audit, spec-gap signals |
| A2 — Type Safety | "Every domain concept must declare a meta-type" | C2 (concept table required), C6 (relationship typing) | Registry sync, orphan detection |
| A3 — Deterministic Derivation | "Tests and metrics derive from specs via rules, not judgment" | C3 (test derivation), C7 (observability derivation) | Test-count verification, O-rule compliance |
| A4 — Governance Traceability | "Every rule must trace to a justification and an enforcement" | C4 (constitution format), C8 (gate references) | Derivation chain audit |
| A5 — Empirical Grounding | "Formalize only what absence has proven harmful" | C9 (evidence-of-harm required), C11 (via negativa pruning) | Governance pruning protocol |
| A6 — Meta-Circular Governance | "The governance system governs itself" | C10 (constitution self-amendment), C11 (pruning) | Meta-health metrics M-001–M-006 |
The business and operational tracks share L0–L2 (the domain and its software) but maintain independent governance hierarchies. This separation ensures that what to build (business track) and how to build it (operational track) are governed by independent authorities that can evolve at different rates.
Business Track (B) Operational Track (O)
───────────────── ────────────────────
L7B: Pipeline stages L7O: Tuning loop
L6B: Alignment audits L6O: Signal detection
L5B: Feature navigation L5O: Agent context discovery
L4B: Domain axioms (A1–A6) L4O: Operational principles
L3B: Constitution (C1–C11) L3O: Agent instructions
╲ ╱
╲ ╱
L2: Software
L1: Ontology
L0: Domain Reality
The tracks converge at three points: (1) L1, where the ontology defines vocabulary for both tracks; (2) L2, where derived software serves both domain behavior and framework operation; and (3) the feedback loop, where operational signals (L6O) trigger business-track re-derivation (L7B → L1 → L2).
The deepest structural property of the architecture is its meta-circularity. The framework governs itself through the same mechanisms it uses to govern software:
This creates a Hofstadterian strange loop [4]: the system that observes software behavior is itself observed by the same system's meta-health layer. The loop is bounded (it does not recurse infinitely) because M-001–M-006 are defined metrics with fixed computation, not open-ended self-reflection. The observer observes itself through a finite, deterministic lens. This structure resolves the infinite regress problem: rather than requiring an external authority to govern the governance, DomainSpec's governance is self-terminating through bounded self-reference.
4 · Typed Domain Ontology (L1)
DomainSpec defines a closed vocabulary of 25 meta-types organized into three categories: 14 backend types, 11 UI types. Every domain concept documented in a feature specification must declare exactly one meta-type.
The backend types organize into four functional groups:
The UI types mirror this organization:
Technique specializations are deliberately excluded from this vocabulary. Architectural techniques such as Saga, Outbox, CQRS, Materialized Read Model, and Hexagonal Ports/Adapters are not added as meta-types: they have no single structural code-artifact shape, only a decision-protocol shape (when to apply them, given which symptoms). They are governed by a separate decision axis — the technique/specialization model (Section 4.3, DS-M13) — rather than by the closed meta-type system above. This keeps the meta-type vocabulary about what artifacts exist and routes which technique to choose into its own method. (Two such techniques, Materialized Read Model and the Outbox event-reliability pattern, recur as candidate vocabulary extensions; see Section 9.1.)
Each relationship has a typed signature constraining its source and target:
| Edge | Source Type | Target Type | Semantics |
|---|---|---|---|
performs | Entity | Operation | Actor initiates action |
produces | Operation | Event | Action emits signal |
enforces | Rule | Operation | Constraint gates action |
calculates | Calculation | Operation | Derived value feeds action |
transitions | Event | StateMachine | Signal triggers state change |
exposes | Interface | Operation ∨ Query | Boundary makes logic accessible |
orchestrates | Workflow | Operation[] | Process coordinates actions |
applies | Policy | Operation | Strategy governs behavior |
maps | Mapping | Entity ∨ Interface | Shape transformation across boundary |
contains | Entity | ValueObject | Composition |
queries | Query | Entity | Read dependency |
emits | Entity | Event | Source of domain signal |
| Edge | Source Type | Target Type | Semantics |
|---|---|---|---|
produces-for | Operation@A | Entity@B | Operation in A mutates or projects state into B-owned entity |
triggers-cross | Event@A | Operation@B | Event in A triggers operation execution in B |
enforces-cross | Rule@A | Operation@B | Rule in A constrains operation in B |
| Edge | Source Type | Target Type | Semantics |
|---|---|---|---|
fetches | Binding | Query | UI reads from backend |
mutates | Binding | Operation | UI writes to backend |
reflects | StateIndicator | StateMachine | UI mirrors domain lifecycle |
derives | ViewModel | Entity | UI data shaped from domain |
contracts | Form | Interface | UI schema aligns with API |
mirrors | Guard | Rule | Client replicates server constraint |
The ontology satisfies four structural properties:
These properties ensure that the concept graph is well-formed: no relationship can connect incompatible concept types, cross-feature edges are explicit, and the dependency direction between frontend and backend is structurally enforced.
Properties 1–4 govern the meta-type system of §4.1. The orthogonal technique/specialization axis introduced above carries its own validity property, kept separate so it does not contaminate the structural ontology:
The concept graph provides full-stack navigability. From any concept, one can follow typed edges to discover what it affects and what affects it. For example, tracing a user action end-to-end:
Page —[renders]→ Form —[submits]→ Hook —[mutates]→ Operation —[enforces⁻¹]→ Rule Operation —[produces]→ Event —[transitions]→ StateMachineThis trace is fully typed: each step constrains what concept types can appear next, making the graph navigable by both humans and LLM agents.
5 · Deterministic Derivation Calculus (L1 → L2)
The central claim of DomainSpec is that verification obligations — test cases and observability metrics — can be deterministically derived from the typed domain ontology. This section formalizes the derivation.
The derivation is deterministic: given the same concept graph G and the same rule set Δ, the function produces the identical set of test obligations T on every invocation. This eliminates the stochastic gap — LLM agents execute derivation rules, not stochastic generation.
The composed function preserves determinism while making cross-feature integration obligations explicit and derivable.
DomainSpec defines 14 backend test derivation rules and 6 UI test derivation rules for per-feature graphs. For composed systems, 3 additional cross-feature derivation rules are applied through f_cross. Each rule specifies its source (which documentation section), its trigger (which concept types), and its output (which test types with what cardinality).
| Rule | Source | Trigger | Output | Cardinality |
|---|---|---|---|---|
| δ₁ | states.md | Transition table row | Happy-path transition test | 1 per row |
| δ₂ | states.md | Invalid transition entry | Negative transition test | 1 per invalid combo |
| δ₃ | states.md | Invariant row | Property-based invariant test | 1 per invariant |
| δ₄ | operations.md | Rule (R1, R2, …) | Rule validation tests | ≥ 2 per rule (pass + fail) |
| δ₅ | operations.md | Calculation (C1, C2, …) | Calculation correctness test | ≥ 1 per calculation |
| δ₆ | operations.md | Postcondition bullet | Postcondition assertion | 1 per postcondition |
| δ₇ | operations.md | Error state row | Error state test | 1 per error state |
| δ₈ | interfaces.md | Endpoint × status code | Contract test | 1 per combination |
| δ₉ | interfaces.md | Field mapping entry | Mapping verification | 1 per mapping |
| δ₁₀ | events.md | Event | Producer emission test | 1 per event |
| δ₁₁ | events.md | Event × consumer | Consumer handling test | 1 per consumer |
| δ₁₂ | queries.md | Query | Output shape + filter + auth tests | ≥ 3 per query |
| δ₁₃ | workflows.md | Workflow step | Happy-path + compensation test | 2 per step |
| δ₁₄ | mappings.md | Field mapping row | Transformation test | 1 per row |
| Rule | Source | Trigger | Output | Cardinality |
|---|---|---|---|---|
| δ₁₅ | UI-SPEC.md | Route declaration | Page navigation test | 1 per route |
| δ₁₆ | STORIES.md + UI-SPEC | User story with UI steps | End-to-end journey test | 1 per story |
| δ₁₇ | UI-SPEC.md + operations.md | Form × validation rule | Client-side validation test | 1 per rule × form |
| δ₁₈ | UI-SPEC.md | Declared UI state | State reflection test | 1 per state |
| δ₁₉ | UI-ARCHITECTURE.md | Page × breakpoint | Responsive layout test | 1 per page × breakpoint |
| δ₂₀ | All pages | Interactive component | Accessibility test | 1 per page |
The test obligation count for a feature is deterministic and computable:
|T| = Σ over i=1..20 of |δᵢ(G)|For a feature with n_s state transitions, n_r rules, n_c calculations, n_p postconditions, n_e events, n_q queries, n_ep endpoint-status combinations, and n_m mappings:
|T| ≥ n_s + n_inv + 2·n_r + n_c + n_p + n_err + n_ep + n_m + n_e + n_ec + 3·n_q + 2·n_wswhere the inequality accounts for rules that produce more than the minimum test count.
A key architectural insight is that the same specification documents that derive tests also derive production observability metrics. DomainSpec defines 16 observability derivation rules (O-rules) that operate on the concept graph in parallel with the test rules, producing OpenTelemetry metric obligations.
| Rule | Source | Metric Type | Alert Severity |
|---|---|---|---|
| O1 | Transition row | Counter: state.transition | P0 for invalid transitions |
| O2 | State machine | UpDownCounter: state.population | State accumulation |
| O3 | Invariant | Gauge: invariant.violation | P0: any > 0 |
| O4 | Operation | 4 metrics: invocation, success, failure, duration | P1: SLO breach |
| O5 | Rule | Counter: rule.violation | Pattern monitoring |
| O6 | Calculation | Histogram: calculation.drift | P0: drift > 1% |
| O7 | Postcondition | Counter: postcondition.check | P1: any violated |
| O8 | Endpoint | HTTP RED metrics (OTel semconv) | P1: SLO breach |
| O9 | Idempotency rule | Gauge: idempotency.violation | P0: any > 0 |
| O10 | Event | Counter: emit/consume + Histogram: lag | P1: event loss |
| O11 | Query | Histogram: duration + result size | P3: trend degradation |
| O12 | Workflow | Counter: invocation + Histogram: duration | P1: failure rate |
| O13 | Capability | Business KPI | P2: trend degradation |
| O14 | User journey | Funnel: step conversion | P2: drop-off spike |
| O15 | Financial operation | Gauge: reconciliation mismatch | P0: any > 0 |
| O16 | Settlement operation | Counter: cycle metrics + drift | P0: drift > 0 |
The total observability obligation count is similarly deterministic:
|O| = Σ over j=1..16 of |oⱼ(G)|Together, tests and metrics form a symmetric verification pair: tests validate at build time (inner loop), metrics validate at runtime (outer loop), both derived from the same specification, both traceable to the same domain concepts. This symmetry ensures that no domain behavior is tested but unmonitored, or monitored but untested.
The derived metrics organize into three layers, each answering a different question:
This layering ensures that alerts are actionable: a P0 always means the domain model is violated, not just that latency is high.
6 · Governance Attenuation Theory (L3–L4)
DomainSpec's dual-track architecture operates as a seven-layer recursive reinforcement system. Each layer governs the layer below it, and the tuning loop creates a cross-cutting feedback mechanism. A fundamental tension emerges: as governance layers accumulate, each individual layer's enforcement fidelity decreases.
We call this governance attenuation — the systematic loss of per-rule compliance as the total number of rules grows. This is not a bug in any particular implementation; it is a structural property of bounded-capacity enforcement channels.
Cause 1: Context Exhaustion (The Epilogue Problem). In LLM-based agent systems, governance observations (signal emission, compliance checks) are typically the last step in a multi-step pipeline. By the time an agent reaches step 10 of a 10-step process, its effective attention over early-session events has degraded. This maps to the serial position effect [24] and to dual-process accounts of bounded attention [29]: items in the middle of a long context are recalled worst. Governance violations from step 3 are forgotten by step 10.
Cause 2: Observer-Executor Conflation. The same agent that performs the work is asked to observe itself performing the work. This violates the Conant-Ashby Good Regulator Theorem [25]: every good regulator of a system must be a model of that system. The executor is the system — it cannot simultaneously be its own model with high fidelity. Asking a controller to be its own oscilloscope produces partial observations at best.
Cause 3: Instruction Dilution (Channel Saturation). Agents receive instructions from multiple sources simultaneously: agent definitions, skill specifications, framework instructions, and governance epilogues. Each source competes for attention in a fixed-capacity channel.
We model governance fidelity using Shannon's channel capacity theorem [5]:
C = B · log₂(1 + S/N)where C = effective governance capacity (rules reliably followed per session); B = bandwidth (context window attention available for instructions); S = signal strength (clarity and specificity of each rule); N = noise (competing instructions, ambiguity, context length).
Adding governance layers increases N (more competing instructions) faster than it increases S (clarity of any single instruction). The result is a decreasing signal-to-noise ratio and thus decreasing effective capacity per rule.
Three theoretical results suggest that k* ≈ 6–7 for bounded-capacity systems:
DomainSpec's signal system (Section 7.2) is the instrument intended to measure governance attenuation directly: it records, per pipeline session, how many of the expected governance observations were actually emitted. We state the prediction the architecture makes, and separate it from what has so far been measured.
Prediction. Because governance observations are the last step of a long pipeline (Cause 1) and are self-reported by the executor (Cause 2), the model predicts that the realized signal-emission rate will fall well below 100% of expected, with the highest-value signal type (governance-gap) the most underreported — detecting what you failed to detect requires exactly the self-modeling capacity that Conant-Ashby proves insufficient. The targeted intervention threshold for observer-executor separation (Section 6.6) is to lift governance-gap detection from a low self-report baseline (on the order of 30–40% of expected) to at least 60%.
Evidence status. At the time of writing, the live signal corpus is not yet populated to support these rates as measured findings: the dedicated signal-emission experiment (E7) has not been run, and the persisted signal log is empty. The 30–40% baseline and 60% target above are therefore stated as the experiment's projected figures, not as collected data, and are the explicit object of E7. We include them here to fix the measurable target, and flag that the attenuation curve itself (Definition 6) remains an open empirical result pending E4/E5/E7.
The winning strategy is not more rules enforced by instruction but fewer, sharper rules enforced structurally — targeting the system's highest-leverage intervention points [28]. DomainSpec proposes three structural interventions:
Intervention 1: Observer-Executor Separation (Dual-Agent Protocol). Instead of asking one agent to both execute and observe, dispatch a lightweight shadow agent after each pipeline session. The executor produces artifacts; the observer reads the session's output and produces only signals. This mirrors Constitutional AI's [17] approach where one model generates and another evaluates. This eliminates causes 1 (context exhaustion — the observer has full attention budget) and 2 (conflation — the observer has a single responsibility).
Intervention 2: Deterministic Signal Detection. The largest signal types — alignment-gap, spec-gap, governance-gap — can be partially computed rather than relying on LLM self-report. Deterministic detectors shift detection from L7 (unreliable LLM observation) to L6 (deterministic enforcement):
| Signal | Computable Proxy |
|---|---|
alignment-gap | Diff SPEC concept rows vs. export symbols in domain code |
spec-gap | Count TODO/FIXME comments in generated code |
governance-gap | Check git diff scope matches expected feature directory |
rework | Count files modified more than once per session |
Intervention 3: Via Negativa Governance Pruning. Track which governance rules have actually caught violations via the shouldHaveBeenCaughtBy field. Any rule with zero references after N pipeline runs is consuming channel capacity without proving value and is a candidate for removal. This implements Taleb's Via Negativa [23]: subtract rules that haven't demonstrated necessity.
DomainSpec's architecture maps onto Stafford Beer's Viable System Model (VSM) [27] — five necessary and sufficient systems for organizational viability:
| Beer's System | Function | DomainSpec Equivalent | Status |
|---|---|---|---|
| System 1 — Operations | Do the work | L2 (code) + L7 agents executing | Working |
| System 2 — Coordination | Prevent oscillation | Pipeline sequencing, skill dependencies | Working |
| System 3 — Control | Resource allocation, audit | Alignment audits, PASS/FLAG/BLOCK | Partially working |
| System 4 — Intelligence | Adaptation | Signal accumulation + reflect skill | Under-performing |
| System 5 — Policy | Identity, purpose | AXIOMS.md (A1–A6), CONSTITUTION.md | Formal |
Beer proved exactly five systems are needed — no more, no fewer. DomainSpec's seven layers map onto Beer's five when redundant layers are collapsed. The insight: the fix is not more layers, but making System 3 continuous (shift enforcement left) and formalizing System 5 (axioms).
7 · Self-Improving Pipeline (L6–L7)
DomainSpec's delivery pipeline sequences nine stages, each producing traceable artifacts:
This section instantiates Definition L-C (Section 3.1.1) by making the L7 business-track stage set S and its handoff relation H explicit. Each stage is executed by one or more specialized agents (14 total) coordinated by skills (25 total). Agents operate on the artifacts produced by previous stages, never on raw user intent — ensuring that domain semantics flow through the typed ontology at every step.
Stage 9 emits structured signals to an append-only JSONL file. Each signal has a typed envelope:
{
"type": "alignment-gap | spec-gap | governance-gap | rework | overhead | decision | proposal | pattern | spec-compliance | agent-cost",
"severity": "LOW | MEDIUM | HIGH | CRITICAL",
"category": "economy | governance | pattern | quality",
"data": {
/* type-specific payload */
}
}
DomainSpec defines 11 signal types across 4 categories:
step-verdict, rework, overhead — track pipeline efficiencyalignment-gap, spec-gap — track specification fidelitygovernance-gap, proposal, spec-compliance — track framework blind spotsdecision, pattern — capture reusable insightsagent-cost — track resource consumptionAccumulated signals are analyzed against 10 threshold conditions. When a threshold is met, the system triggers a tuning action:
| ID | Condition | Min Signals | Action |
|---|---|---|---|
| TH1 | Same shouldHaveBeenCaughtBy target in 3+ gaps | 3 | Auto-propose skill update |
| TH2 | Overhead ratio > 0.5 for 3 consecutive runs | 3 | Review governance overhead |
| TH3 | Same spec gap pattern in 2+ features | 2 | Propose template improvement |
| TH4 | Rework on same step in 5+ signals | 5 | Harden skill |
| TH5 | 3+ proposals targeting same file | 3 | Bundle into single change |
| TH6 | Alignment gaps > 10 across last 5 sessions | 10 | Full alignment audit |
| TH7 | Critical governance gap | 1 | Immediate issue |
| TH8 | Low-confidence decisions in 3+ signals | 3 | Flag domain ambiguity |
| TH9 | Same agent violates spec in 2+ signals | 2 | Harden agent spec |
| TH10 | Premium requests > 50 in rolling 7 days | 50 | Cost threshold alert |
The tuning loop closes the architecture into a self-regulating cycle:
Pipeline —[emit]→ Signals —[analyze]→ Thresholds —[reflect]→ Proposals —[apply]→ Skills/Agents —[improve]→ PipelineThis is DomainSpec's implementation of Beer's System 4 (Intelligence): the framework adapts to its environment not through external instruction but through accumulated evidence of its own performance. The meta-health metrics (M-001–M-006) provide the System 5 (Policy) check — ensuring that the tuning loop itself operates within acceptable bounds.
8 · Case Study
We evaluate DomainSpec on a production poker team management system: a multi-feature application managing player recruitment, performance tracking, financial settlements, and coaching operations. The system comprises 7 features across 3 business pillars.
The figures reported in this section (concept, test, metric, and story counts; alignment verdicts) are a direct tabulation of the derived artifacts for this one system, not the output of a separately analyzed, replicated experiment. They establish feasibility and end-to-end traceability on a real codebase; the controlled-experiment evidence for the framework's claims (vocabulary sufficiency, composition coverage) is reported separately in Sections 9.1–9.2, and the claims' overall evidence grades in Section 9.4.
| Feature | Pillar | Concepts | Tests Derived | OTel Metrics | Stories | UI-SPEC |
|---|---|---|---|---|---|---|
| auth-access-control | platform | 12 | 58 | 20 | 6 | ✓ |
| candidate-review | operations | 11 | 54 | 18 | 5 | ✓ |
| coach-management | operations | 9 | 47 | 16 | 4 | ✓ |
| financial-settlement | finance | 18 | 92 | 30 | 8 | ✓ |
| player-management | product | 14 | 72 | 24 | 7 | ✓ |
| player-performance | product | 15 | 78 | 26 | 7 | ✓ |
| progression-system | product | 10 | 44 | 12 | 4 | ✓ |
| Total | 3 pillars | 89 | 445 | 146 | 41 | 7/7 |
Key metrics:
| Category | Rule(s) | Total Tests | % of Total |
|---|---|---|---|
| State transitions (happy + negative) | δ₁, δ₂ | 68 | 15.3% |
| Invariant / property-based | δ₃ | 22 | 4.9% |
| Rule validation (pass + fail) | δ₄ | 94 | 21.1% |
| Calculation correctness | δ₅ | 28 | 6.3% |
| Postcondition assertions | δ₆ | 36 | 8.1% |
| Error states | δ₇ | 32 | 7.2% |
| Contract tests | δ₈ | 48 | 10.8% |
| Event producer/consumer | δ₁₀, δ₁₁ | 34 | 7.6% |
| Query tests | δ₁₂ | 28 | 6.3% |
| UI journey + navigation | δ₁₅, δ₁₆ | 32 | 7.2% |
| UI form validation + states | δ₁₇, δ₁₈ | 23 | 5.2% |
The distribution shows that rule validation tests (δ₄) are the largest category (21.1%), consistent with the domain being rule-heavy (poker team management involves many eligibility checks, financial constraints, and access controls).
Alignment audits across the 7 features produced the following verdicts:
| Verdict | Count | Description |
|---|---|---|
| PASS | 1 | Full alignment between spec and implementation |
| FLAG | 4 | Minor drift detected, non-blocking |
| BLOCK | 1 | Significant drift requiring remediation |
| PARTIAL | 1 | Feature partially implemented |
The FLAG verdicts typically indicate concepts documented in the specification but not yet implemented (spec-ahead-of-code), which is expected in an iterative development process. The BLOCK verdict indicated a case where implementation diverged from the documented state machine transitions — caught by the alignment audit before reaching production.
To illustrate full-stack traceability, we trace the GenerateSettlement operation from the financial-settlement feature:
Axiom A3 (Deterministic Derivation)
→ Constitution C3 (test derivation from specs)
→ operations.md documents:
- Operation: GenerateSettlement
- Rules: R1-R5 (eligibility, idempotency, period bounds)
- Calculations: C1-C4 (profit, debt, makeup, payout)
- Postconditions: settlement event created, balances updated
→ TEST-PIPELINE derives:
- 10 rule validation tests (R1-R5 × pass/fail)
- 4 calculation correctness tests (C1-C4)
- 3 postcondition assertions
- 2 idempotency tests
- 4 contract tests (POST /settlements × 4 statuses)
→ OBSERVABILITY derives:
- O4: 4 operation metrics (invocation, success, fail, duration)
- O5: 5 rule violation counters (R1-R5)
- O6: 4 calculation drift gauges (C1-C4)
- O9: 2 idempotency violation gauges
- O15: reconciliation mismatch gauge
- O16: settlement cycle metrics (6 instruments)
Total for one operation: 23 test obligations + 22 observability metrics, all deterministically derived from the specification, all traceable back to Axiom A3.
9 · Discussion and Conclusion
The strongest claim of this paper — that the extended 25 meta-types and 29 relationships are sufficient to capture business domain semantics including cross-feature composition — is analytically vulnerable. In Model Theory terms, this is the search for formal Completeness and Soundness. If we define the fundamental rules of the domain reality as a set of axioms (Γ) and the DomainSpec typed vocabulary as our representational model (𝓜), verifying absolute sufficiency means proving mathematically that for any structural truth φ resulting from the domain axioms (Γ ⊢ φ), there is a valid and perfectly mappable representation in our taxonomy (𝓜 ⊨ φ).
Our current evidence is empirical and goes beyond the single case study. A dedicated vocabulary-sufficiency experiment (E6) applied the meta-type vocabulary to 36 features across 18 business domains — spanning DDD-canonical, system-design, and enterprise-SaaS sources — comprising 747 domain concepts and 670 relationships. The vocabulary classified 99.87% of concepts (95% Wilson CI [99.25%, 99.98%]) and 98.96% of relationships cleanly, leaving a single strained concept (a materialized Read Model / projection) and one missing edge class (a workflow-to-event subscription). Independently, six multi-bounded-context domain inventories (cargo shipping, food delivery, banking/finance, ride-hailing, e-commerce, and collaborative project management; 86 concepts and 94 cross-context edges) were each classified entirely within the meta-types, with the Saga coordination pattern recurring in all six. These results support — without proving — the sufficiency claim, and bound its residue to a small, named set of candidate extensions (the Read Model and Outbox techniques of Section 4.1, plus the subscribes edge). We do not claim universal sufficiency for infinite spaces. If the taxonomy attempted to map the infinite open-world universe (permitting infinite recursive loops or basic arithmetic within the meta-types), we would hit the barrier of Gödel's Incompleteness Theorems — there would always exist a domain proposition that the taxonomy could neither map nor deny.
However, the architecture operates on a closed-world assumption and is designed for extension: adding a meta-type requires specifying its derivation rules and relationship signatures, abstracting infinite variations into a finite set of bounded classes, in the tradition of formal ontology for information systems [30]. The question is not whether the vocabulary is universally complete, but whether the mechanism for extending it preserves the formal properties (type safety, deterministic derivation, governance traceability) without allowing infinite state explosion.
E9 established that per-feature coverage alone is insufficient at system composition boundaries. Under the original ontology, 74.5% of cross-context edges were strained or broken in the rerun dataset (94 edges across 6 domains). Incorporating three cross-feature edges (produces-for, triggers-cross, enforces-cross) and one additional meta-type (Saga) resolved this gap to 100% modeled coverage with no extra edge types required in the studied domains.
The composition algebra is now treated as an incorporated extension to the base derivation model:
G_{A⊕B} = (V_A ∪ V_B, E_A ∪ E_B ∪ E_AB, τ_A ∪ τ_B, λ_A ∪ λ_B ∪ λ_AB)where E_AB and λ_AB are typed cross-feature edges. The corresponding derivation extension is:
T_composed = f(C, R, Δ) + f_cross(E_AB, Δ_cross)with Δ_cross = {δ_produces-for, δ_triggers-cross, δ_enforces-cross}. This extension qualifies C2: deterministic derivation remains complete within feature boundaries under f, and complete at system level under f + f_cross.
The meta-types currently have informal semantics (natural-language descriptions). A formal denotational semantics — mapping each meta-type to a mathematical object (Entity → labeled transition system, Rule → predicate, Calculation → pure function) — would strengthen the derivation calculus and enable automated verification of derivation rule correctness.
Because DomainSpec adopts a closed taxonomy that restricts the domain to a finite number of representational states, it clears the path for computational Model Checking. By translating the domain axioms (Γ) and the DomainSpec taxonomy (𝓜) into a restricted logical language (such as First-Order Logic), SMT Solvers (Satisfiability Modulo Theories) could theoretically be employed to search for "failure states" — scenarios where the domain axioms generate an event that does not belong to any DomainSpec classification. Proving the nullity of this error intersection would mathematically validate the taxonomy's completeness against the provided axioms, guaranteeing that agents taking decisions via DomainSpec will not hallucinate behaviors outside the delimited logical space.
Our case study demonstrates feasibility on a production system, but controlled experiments are needed to evaluate: (a) derivation accuracy compared to manually-authored test suites, (b) governance attenuation across different agent architectures, (c) vocabulary sufficiency across diverse business domains, and (d) developer productivity with and without DomainSpec. Of these, (c) is partly addressed by E6 (Section 9.1) and the composition coverage of E9 (Section 9.2); (a), (b), and (d) remain open, as the determinism (E1), mutation (E3), attenuation (E4/E5), and productivity (E10) experiments have not yet been run.
A further experiment (E11) probes the technique/specialization axis: whether a symptom-driven decision protocol (Property DS-M13) produces reproducible, auditable technique-selection decisions across edge and scenario contexts, over a provisional catalog of techniques (Saga, Outbox, CQRS, Materialized Read Model, Hexagonal Ports/Adapters, and others). E11 demonstrated full reproducibility of decisions under fixed inputs (run-vs-rerun agreement of 1.0) with a complete adjudication trace. We report it as bundle-scope evidence only: its decision gate was cleared under a single-reviewer policy override rather than the protocol's full multi-rater adjudication, and the operator therefore deliberately left the claim matrix unchanged. E11 thus strengthens the methodology's reproducibility story without yet promoting any claim.
For transparency, we state the current evidence grade of the four contributions explicitly. Only C2 (deterministic derivation) has partial empirical support, from E6 and E9. C1 (meta-architecture / traceability), C3 (governance attenuation), and C4 (meta-circular self-governance) remain insufficiently evidenced pending the experiments named above; their treatment in this paper is architectural and analytical rather than empirically validated.
Internal validity. The case study system was developed by the framework author, potentially biasing the vocabulary toward concepts already present. Independent replication on systems built by other teams would strengthen the findings. This threat is sharpened, not relieved, by the corroborating experiments: E6's domain survey and E11's technique evidence were produced within the same author and repository frame, so where they converge on the same concepts they provide consistency rather than fully independent confirmation (an internal independence-grade review accordingly downgraded that corroboration from strong to moderate).
External validity. Seven features in one domain (team management) may not generalize. The business pillars (product, operations, finance) provide some diversity, but different industries may require different meta-type distributions. E9 external-domain composition evidence draws heavily from DDD literature and reference architectures; broader industrial replication remains necessary for non-DDD-heavy ecosystems.
Construct validity. Test obligation counts measure derivation output, not test effectiveness. A derived test that never catches a bug is less valuable than the count suggests. Mutation testing could validate that derived tests have meaningful fault-detection capability. Relatedly, E6 and E9 validate the derivation function's input space — that the vocabulary and relationship set can faithfully represent the domains studied — but not the derivation function f itself: whether the rules of Section 5 produce correct, fault-detecting tests remains untested pending the determinism (E1) and mutation (E3) experiments. For E9 rerun specifically, deterministic edge-type-to-status mapping improved reproducibility but introduces definitional circularity risk in gap-rate interpretation; this is mitigated by convergence with run-1 and the original run-2 analysis.
DomainSpec demonstrates that the gap between domain knowledge and verified software can be bridged through structure rather than stochastic generation. A typed domain ontology (25 meta-types, 29 relationships) enables a deterministic derivation calculus that produces 445 test obligations and 146 observability metrics from 89 domain concepts, with composed-system derivation extended through explicit cross-feature edges. Governance attenuation — the systematic loss of enforcement fidelity as rules accumulate — is bounded by channel capacity and addressed through structural interventions rather than additional layers. Meta-circular self-governance resolves the infinite regress through bounded self-reference.
The framework is open-source, production-validated, and available as a replication package. We believe that the transition from stochastic to deterministic agent governance is both necessary and achievable — and that the path runs through typed domain ontologies.
10 · Evidence Addendum · 2026-08-07
This addendum applies the claim-adjudication result of a repository-wide evidence refresh. Quoted blocks reproduce the approved public-safe findings word for word. Tables preserve the approved cell wording while omitting private repository paths, private selectors, and implementation details that cannot enter public Arcanum.
Arcanum is a publicly available repository of capability definitions and tooling, source-available under PolyForm Noncommercial 1.0.0. This paper proposes an architecture for converting typed intent into separately identifiable definitions, emitted obligations, generated check artifacts, executions, and observed results. Private DomainSpec v2 evidence is reported separately: in one exact dirty checkout, a named private component command reported 29 of 29 test files and 240 of 240 tests passing for the exact observed working-tree bytes; selected fixture controls also accepted expected inputs and rejected specified alterations. Immutable historical reports record additional bounded pilot, closed-corpus classification, and fixed-input rerun observations. These observations do not establish output determinism, semantic correctness, implementation completeness, traceability as a research result, production validation, release readiness, independent replication, general agent conformance, or theorem-backed governance behavior.
The parent edit must preserve four origins. A fact from one origin cannot be silently relabeled as evidence from another.
| Origin | Owner or evidence | Allowed public claim | Forbidden promotion |
|---|---|---|---|
| External precedent | Shannon; Ashby; Conant–Ashby; Miller; VeriGuard; Alloy/LLM study | Narrow source-owned theorem or result; dated, named-source comparison | DomainSpec behavioral proof, layer optimum, categorical absence, firstness, or novelty proof |
| Pre-existing public Arcanum | Public commit, repository, license, deployed paper bytes | Repository/artifact availability, exact license, recorded HTTP reachability and byte identity | Hosted service, operational system, public DomainSpec/Saturn, research validity, release, or production |
| Pre-existing private DomainSpec | Current registries and owners, exact dirty-checkout executions, immutable historical reports | Source-abstracted registry state and bounded internal observations | New public Arcanum contribution, complete implementation, independent corroboration, release, production, or publicly reproducible package |
| New paper proposals | L0–L7 organization; definition/obligation/artifact/execution/result separation; observer/executor design; governance hypotheses | Architecture, design choice, or hypothesis language | Current semantic authority, theorem, implemented end-to-end behavior, or validated general result |
| Subject | Current/admitted count | Stale or misleading count | Required disposition |
|---|---|---|---|
| Backend meta-types | 13 active | 25 active/closed meta-types | Replace with maturity-aware 13 active, 9 candidate, 2 deferred; note Saga superseded. Do not sum these into a “current active ontology.” |
| UI meta-types | 9 candidate, 2 deferred | Included as active in a 25-type total | Keep candidate/deferred labels adjacent or omit. |
| Relationship signatures | 31 active | 29 relationships from inherited paper/Lean snapshot | Replace with 31 and identify it as registry authority only. |
| Engine rerun | 29/29 test files, 240/240 tests | 95 tests, 0 type errors | Use only the 2026-08-07 action-local dirty-checkout result; typecheck is a separate exit-0 observation. |
| E6 concepts | 746/747 covered; 1 strained | 738 and 99.86% | Use corrected immutable selectors; call it closed-corpus classification, not universal coverage. |
| E6 relationships | 663/670 covered; 7 strained | 668 and 98.95% | Same repair; current corrected percentage is 98.96% if a percentage is necessary. Prefer fractions. |
| E9 studied rows | 94; 70/94 strained/broken under original rubric; 94/94 recognized by extended rubric | 74.5% independent failure and 100% semantic completeness | Preserve rubric, operator, and circularity caveats; do not call either figure a general result. |
| E11 | Fixed-input recorded agreement 1.000 | Independent reproducibility 1.0 | Rewrite as an immutable historical fixed-input rerun with single-human override and unchanged claims. |
| Case-study outputs | No public immutable manifest closes 89/445/146/41/7-of-7 | Presented as current verified output totals | Remove or defer until an immutable public manifest binds owner, input, output, denominator, and execution. |
| Orchestration/dispatch inventory | No stable count admitted here | 14 agents, 25 skills, nine stages, 58 human-approved dispatches | Remove unless routed to a current public owner with cutoff, schema, denominator, and approval-field definition. |
Registry ceiling. The current private registry records 13 active backend types, 9 candidate UI types, 2 deferred UI boundaries, Saga superseded by Workflow, and 31 active relationship signatures. Registry classification proves no parser, emitter, UI, evaluator, runtime, completeness, promotion, or public-availability claim.
| Observation | Recorded result | Mandatory adjacent ceiling |
|---|---|---|
| Private component test command | Exit 0; 29/29 files, 240/240 tests. | Command-reported result for exact observed working-tree bytes. Selected hashes do not bind complete transitive source closure. No positive determinism, semantic correctness, completeness, independent replay, release, or production claim. |
| Typecheck | Exit 0, tsc --noEmit, no diagnostics. | Same exact dirty-checkout scope; successful typecheck is not behavior or conformance proof. |
| Integrity verifier | One exact accepted manifest and one specified rejected alteration. | No signer identity, consent, authorization, promotion, release, or general attestation-soundness inference. |
| Architecture catalogue self-test | One obligation, zero positive diagnostics, one expected mutant diagnostic. | Exact untracked working-tree bytes; one fixture/one mutation only. Not commit-contained, general architecture conformance, mutation completeness, release, or production evidence. |
| Candidate ontology evaluator | Four profiles and declared fixture classifications. | Exact modified working-tree bytes; candidate fixture-local result, authority effect none. No real-source conformance, semantic completeness, or independent replay. |
| ID | Retainable observation | Mandatory caveat |
|---|---|---|
| E3 | Aggregate mutation score 38.75%→54.37%; hardest module 17.2%→36.56%; 13/13 regenerated checks passed unmutated code | Immutable historical, author-run, single-feature, single-rater pilot. No current reproduction, zero human variance, or corpus-wide effectiveness. |
| E6 | Closed corpus: 18 domains/36 features; 746/747 concepts and 663/670 relationships classified covered; 1 concept and 7 relationships strained | Author-controlled representational classification within a closed corpus, not derivation correctness or ontology/semantic completeness. Stale 738/668 and 99.86/98.95 narratives are killed. |
| E9 | 94 studied cross-context rows; original rubric classified 70 as strained/broken (29+41); extended rubric assigned all 94 a recognized modeled edge type | Immutable historical rubric classification. Mapping was operator-fixed and definitionally circular; not an independent failure rate, semantic validation, implementation success, or completeness. |
| E11 | Fixed-input bootstrap full/rerun agreement recorded as 1.000; claim matrix unchanged | Immutable historical fixed-input record with a single-human policy override. Not independent replication, general repeatability, zero human variance, or contribution validation. |
| Source | Allowed attribution | Explicit non-entailment |
|---|---|---|
| Shannon, 1948 | Noisy-channel capacity under its stated communication assumptions | Does not define governance layers, attention, instructions, k, attenuation, or ∂C/∂k<0. Analogy only. |
| Ashby, 1956 | Regulator/disturbance/outcome variety relation and “variety can destroy variety” | Does not license log₂(54), heterogeneous count aggregation, sufficient dimensions, or a layer optimum. |
| Conant and Ashby, 1970 | Qualified good-regulator theorem | Does not prove observer/executor incompatibility or under-reporting. Separation remains a design hypothesis. |
| Miller, 1956 | Human immediate-memory evidence and warning against conflating unlike spans | No governance-layer or LLM-capacity inference. |
Among the named sources reviewed through 2026-08-07—including VeriGuard, the Alloy/LLM study, the admitted systems-theory sources, public Arcanum artifacts, and private DomainSpec evidence—we did not identify this exact proposed combination.
This is a dated search-bound comparison, not precedent-clean, firstness, uniqueness, novelty proof, or a systematic review. VeriGuard is credited first for formal safety-policy synthesis and runtime checking. The Alloy/LLM study is credited first for LLM-generated test cases used to validate Alloy specifications derived from natural-language requirements.
precedent-clean: the search is dated and named-source-bounded; adjacent owners exist.Addendum authority. This addendum records evidence status. It does not itself commit, publish, promote, deploy, release, or establish production readiness. A complete independent public reproduction package remains absent.
References
Appendix — Development & Roadmap
This appendix reports what has been built and validated since the body was written. It demonstrates results and cites the implementation; it does not disclose the derivation algorithm. The framework and the derivation calculus (C1–C4) are open. The optimized deterministic engine that realizes the C2 calculus is a separate product. The LLM-based generator is the free, open reference path.
A deterministic reference engine that realizes the C2 calculus T = f(C, R, Δ) has been built and validated. We report its measured behavior; the implementation and derivation rules are not published here.
Scope: the engine covers the backend-domain obligation classes. UI/E2E and scaffolding remain on the LLM path.
The framework offers two paths from specification to tests, behind one contract:
The multi-agent governance machinery the paper describes was exercised at real volume under a held human gate: a recorded, append-only dispatch ledger of 58 dispatches (research and review roles, each human-approved before running). These supported repository and method development around DomainSpec; they are not the paper's controlled experiments (E1–E20), but they evidence the dispatch-and-approval model running in practice.
Planned, not done: widen the deterministic engine's coverage to more obligation classes; strengthen value-level oracles for the hardest computations; take mutation testing from one pilot to a corpus; run the deterministic path as the live backend-domain stage while the LLM path is retained for the rest. The paper's larger experiments — E1 (determinism), E4/E5 (governance attenuation), E10 (productivity) — remain open; C1/C3/C4 stay architectural pending them.