Manuscript Offprint
arXiv:2610.03243A Kinetic Theory of the Gated Self-Evolving LLM Agent
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
We find traces of fluid dynamics in the self-evolution of an LLM agent, and give the kinetic theory that predicts them. Gated self-evolution is the loop in which an agent rewrites its own skills under a validation gate. Self-evolution research has treated the agent as the unit; we study instead the individual instances inside it. Here the agent is DSH-plugin-based: it runs in production on DeepSeek Harness (DSH), and its plugins satisfy four architectural properties (permutation symmetry, reversibility, acyclicity, typed contracts), which license treating these instances as identical hard spheres; the theory is accordingly scoped to DSH-class plugin populations. On this scope the paper builds three theory layers. The rigorous layer, independent of any analogy, comprises an any-time hitting-time certificate bounding the expected rounds to any prescribed improvement, a resolution law that prices held-out validation budgets, and a separation theorem: the daemon must stay outside the population, because merging evaluator with evaluated voids the certificate. The kinetic layer is a master equation over the plugin × version × task grid with four operators (collision, reaction, external field, gate), where collision is co-activation. Its moment hierarchy, the step that turns a gas into fluid equations, generates the falsifiable statistical signatures. Throughout, the fluid reading is a bounded analogy: momentum is not conserved, so no Navier–Stokes limit exists. The measured layer runs on a faithful minimal instance, a large library of four-parameter skill plugins retrieved one per episode with a co-activation probe, in a one-model, one-task-family WebShop environment; every element maps to the DSH loop by architectural role. Population fluctuation scaling is density-gated: invisible at sparse edit density, it emerges at the predicted rate under tripled density, as directional evidence.
1 INTRODUCTION
Self-evolving LLM agents write their own skills and tools from trajectory evidence, mount them into a registry, and keep a change only when it strictly improves a held-out validation score (Yang et al., 2026). Prior work on such agents has treated the agent itself as the unit of study (Shinn et al., 2023; Yin et al., 2025; Wu et al., 2025). We looked instead at what happens inside the registry during the agent's run, where a population of individual instances is repeatedly retrieved into episodes, edited, and accepted or rejected by the gate. When this population is large, the running of these instances carries traces of fluid dynamics in its statistics, much like a gas moving under an external selector. The natural language for such behavior is the kinetic theory of gases, today grounded in the derivation of Boltzmann's equation from hard-sphere dynamics (Lanford, 1975; Deng et al., 2024).
We develop this observation into a kinetic theory of the gated plugin population. In studying DSH (DeepSeek AI, 2026), an open-source “everything is a plugin” agent harness, we found that a production two-tier system runs on it. Its Cordis kernel (Shi et al., 2026) proves four structural properties of its plugins, and its architecture has exactly these four properties: permutation-symmetric composition, mount/unmount reversibility, acyclic dependencies, and typed contracts. It was under exactly these properties that we felt the plugin-version instances behave as identical hard spheres. A monolithic self-modifying agent satisfies none of them, and for it the kinetic description does not apply. What distinguishes this gas from the nearest-neighbor populations is the gate. It acts as a Maxwell daemon external to the gas, turning diffusion into optimization and yielding both a convergence certificate and decisive statistical signatures.
The claim is then closed from both sides. On the theory side, the statements are machine-checked theorems: a hitting-time certificate that bounds the expected rounds to a prescribed improvement, a resolution law that prices the held-out validation budget, and a separation theorem that keeps the evaluator outside the population. On the measurement side, production-scale training is too slow for the statistics needed, so all evidence comes from a faithful minimal instance of the same loop (dynamical equivalence not claimed), whose pre-registered probes return directional evidence for the predicted traces. The gas-like statistics are real but density-conditional, invisible at sparse edit density and emerging at the predicted rate only under tripled density. Throughout, the fluid picture is read as a bounded analogy. The arc thus closes where it opened: the self-evolution of a single LLM agent, hosting a large population of instances, carries traces of fluid dynamics in its statistics.
• We give a kinetic theory that predicts these signatures, a master equation over the plugin × version × task grid in which collision is co-activation and the validation gate acts external to the gas, with a moment hierarchy that generates the falsifiable statistical predictions.
• We prove, under the four architectural properties of DSH, a hitting-time certificate for gated self-evolution, a resolution law that prices held-out validation budgets, and a separation theorem that keeps the evaluator outside the population.
2 RELATED WORK
Kinetic and physics-flavored theories. The most closely related work is that of Jung et al. (Jung & Asnacios, 2026), whose kinetic theory of collective learning, a Boltzmann-type equation for an adaptive-agent population, shares the population-level viewpoint. We differ in three ways. Our gate supplies external selection, without which drift decouples from the objective; our memory is a shared retrieval pool acting as deliberate re-collision rather than a single-particle filter; and our readings anchor to a production runtime and a measured device rather than to simulation. Mean-field MARL (Yang et al., 2018) uses the mean field as a computational approximation; in our theory the same closure is the statistical level of description for gated, non-optimizing skill instances. Pareschi–Toscani (Pareschi & Toscani, 2013) supplies the mathematical framework for this closure. De Marzo et al. (De Marzo et al., 2026) show gate-free majority-following laws in LLM agent societies, complementary to our driven-dissipative kinetics. Model collapse (Shumailov et al., 2024) is the no-gate limit; physics-flavored accounts analogize single-model optimization, none deriving long-time machinery from a population-level gate structure. Throughout, classical phenomena serve as hypothesis generators and interpretations are labeled.
Self-evolving agents. SkillOpt (Yang et al., 2026) is the discipline we inherit: skill document as trainable state, bounded edits, strict gate, rejected-edit buffer; it defines the training loop whose population statistics we derive, and its strict gate is the selection operator our theory formalizes. RE-TRAC (Zhu et al., 2026) (memory conditioning) and Resource2Skill (Fan et al., 2026) (skill distillation) are orthogonal. Reflexion (Shinn et al., 2023) and the Gödel Agent (Yin et al., 2025) update task/meta policies by self-critique without external statistical control; our certificate is what that line lacks. The companion two-tier runtime (33 plugins, built on DeepSeek Harness (DeepSeek AI, 2026)) is the concrete embodiment.
Statistical gating. SGM (Wu et al., 2025) recasts recursive self-modification as gambling with e-wealth supermartingales; SEA (Sengupta, 2026) carries e-values to LLM self-evolution. Both stand on the anytime-valid statistics lineage of sequential tests (Wald, 1945), time-uniform confidence sequences (Howard et al., 2021), and game-theoretic e-processes (Ramdas et al., 2023). That line answers when to stop safely, given paired differences. Two open questions are central here: (i) power, namely the resolution limit of a finite held-out set, which is what actually binds

self-evolution loop
Figure 1: Graphical overview of the proposed kinetic theory: the self-evolution run of a gated LLM agent, interpreted through the framework of fluid mechanics.
late-training improvement (our Proposition D companion); and (ii) multi-candidate selection bias, since planners proposing 5–8 pipelines per round break the single-candidate assumption, and the Vovk–Wang merge (Vovk & Wang, 2021) must be invoked (made explicit in our gate). We claim no priority in the statistics of gating; our claim is the gate’s role as an external selection operator in a population-level kinetic theory, which transforms gate design from a testing procedure into a structural axiom.
3 OVERVIEW
We develop a statistical theory for the self-evolution of a single LLM agent. The agent's registry maintains a large population of plugin-version instances under a validation gate, and we show that this population behaves, measurably, like a gas worked on by an external selector; the kinetic theory of such a gas predicts what the loop's statistics show. Figure 1 depicts this population. The agent edits plugin cards; the validation gate, acting as a Maxwell daemon outside the gas, admits improving cards into the plugin gas of hard spheres; past the coarse-grain transition the gas reads as a continuum with density , flow u, and temperature T; the instruments at the right end measure the predicted traces, fluctuation scaling and NESS relaxation, as directional evidence. Every fluid element is axiom-licensed, and the fluid picture throughout is a bounded analogy.
4 THEORY
4.1 STATE SPACE AND THE KINETIC EQUATION
The particle picture of Figure 1 is grounded in architecture. It came out of our study of the DSH plugin system (DeepSeek AI, 2026): its Cordis kernel (Shi et al., 2026) proves four structural properties of the plugins. It struck us that under exactly these properties the plugin-version instances behave as identical hard spheres. The four properties are theorems of the kernel, not developer conventions, and we adopt them as the axioms A1–A4 of the kinetic description (the precise Cordis Def./Thm. correspondences are tabulated in Appendix E):
A1 Permutation symmetry: plugin composition is order-independent, so identical particles are interchangeable.
A2 Mount/unmount reversibility: plugins attach and detach without residue, the microscopic reversibility of the population.
A3 Acyclic dependencies: no instance instantaneously influences itself; interactions follow a single-time-slice causal order.
A4 Typed contracts: interactions are bounded and typed, the short-range contact of the gas.
A monolithic self-modifying agent satisfies none of A1–A4, and for it the kinetic description is undefined, not merely inaccurate. The everyday alternatives fail as well. A shared skill document violates A1–A3 and offers no interface types; an MCP stack keeps A4 but carries untracked side effects and cyclical calls. Neither provides a versioned instance multiset with carried credit state, so there are no particles to count; the ledger and the formal obstruction are given in Table 2 and

co-activation = collision
Figure 2: Plugin particles carried by the execution flow: transport is reversible execution ordering, not physical inertia; co-activation in one pipeline is the collision, marked in red; dashed edges are the acyclic dependency skeleton; the collision rule is sampled by the LLM reflector.
Proposition D.1. Given A1–A4, a plugin population is a multiset of version instances ( ), with plugin identity , parameter vector , and credit record , living on the discrete grid of plugin version task. We construct the KTP master equation: the density over capability space , parameter momentum , credit , and time obeys
It is a five-term balance. The flow term is execution transport, deterministic and bit-reproducible (Fig. 2). The external field F is the task distribution pulling the population, with the LLM inference chain acting as its thermostat. The collision term Q is co-activation with attribution, the reaction term R is mount/unmount/materialize, and the gate term G is selective dissipation. A full term-by-term description with production-code locations appears in Appendix F.
4.2 THE FOUR OPERATORS AND THE EFFECTIVE POPULATION

The operator economy of a gas is a driven-dissipative flow circuit.
Figure 3: The driven-dissipative circuit of the operators. Reward drives the pump into the collision chamber (fed by the shared experience database), the reaction loop mutates species, the gate valve admits improving candidates and drains rejected edits, and the population tank rejoins the loop; F is the external task field. Drive–dissipation balance at the valve is the NESS clause (Section 4.4).
The four rules are easiest to read as one particle’s life history: it meets others, passes a survival test, lives among changing species, and feels the pull of the task field. Collision Q: instances i, j meet when co-activated in a pipeline, with rate kernel and cross-section ; the cross-section is bounded structurally by retrieval locality, so an instance collides only within its tag neighborhood. A collision returns batch reward , and the reflector’s attribution gives the post-state
an inelastic, driven-gas event in which the reward is external work and the LLM is the sampler of the collision rule.
Gate G: every candidate post-state is retained iff
(3) with V the held-out score. G is the only term that projects downhill motion: all directionality of optimization comes from this projection, and its measurement information decides which particles lose energy; this is the Maxwell daemon outside the gas (Theorem 4.5; Fig. 5).
Reaction R (append/mount/unmount/materialize) changes species counts; sandbox trial-mounting is the gas phase and materialization is solidification (Appendix F).
External field F: the task distribution pulls the population across tasks, and the LLM inference chain acts as its thermostat. The field does no bookkeeping of its own, entering the master equation only through the flux . Together with Q, R, and G, it closes the driven-dissipative loop (Figure 3): reward drives collisions, reactions mutate species, the gate dissipates rejected candidates, and admitted post-states rejoin the population; drive–dissipation balance at the valve is the NESS clause (Section 4.4), and a worked round with recorded numbers appears in Appendix C.
The theorems that follow also need the effective particle count , frozen before fitting by a pre-registered gauge (the occupied grid cells, with gauge agreement checked rather than assumed; Appendix F). The rarefaction condition is that no instance dominates, ; this is the bounded-kernel premise of Theorem 4.2, provided structurally by retrieval locality and probed on the device (a finite-run diagnostic of the premise, not a proof).
4.3 DYNAMICS AND STATISTICS OF THE GATED GAS
Theorem 4.1. Assume the reflect kernel proposes a strictly improving edit with probability and gain whenever such an edit exists; the gate is a strict held-out inequality on an independent validation set; the deployed skill is always the latest accepted version and candidates are physically quarantined. Then for the first bounded-improvement threshold
where is the initial validation gap (score cap minus deployed score), and the best-observed score is monotone along the accepted lineage; the bound is robust to a change of state space (plugin granularity).
The proof strategy is direct: along the accepted lineage, the best score is a nonnegative quantity that increases by at least per accepted round on average, and a standard drift argument turns this per-round drift into the expected hitting bound (full derivation: Appendix A). Operationally, has a measurable counterpart in the run log—the acceptance rate times the mean accepted gain—so the certificate is read post hoc as a consistency check on the realized drift. By analogy, the bound plays the role of a relaxation timescale of the population flow: it explains the measured saturation—late in training the binding constraint is the resolution floor, not the skill (Section 5).
Theorem 4.2. A plugin Markov-jump population with i.i.d. initial conditions and a bounded collision kernel (no dominating instance) converges, under propagation of chaos in the McKean–Vlasov sense, to a deterministic nonlinear kinetic equation of the Boltzmann type with the same four operators.
The derivation route here is mean-field (Sznitman, 1991; Kac, 1956). The Boltzmann–Grad alternative (Lanford, 1975; Deng et al., 2024) requires control of recollisions, which the plugin gas introduces by design. The applicability of the resulting closure has a structural basis as well. It is cleaner here for a deeper reason. The plugin state is enriched with its collision history through the credit record e, and the experience database is precisely this stored collision history, so the correlations a gas loses are partially materialized as state, a heuristic reading; the residual global coupling through the shared database enters the kernel’s task-dependence rather than hidden pair correlations. The no-dominating-instance premise is measured on the device, not assumed (Appendix F).
Proposition 4.3. Under H2 and strict monotone waterline, a plateau implies exactly one of: (a) proposal exhaustion, meaning the acceptance rate tends to zero; or (b) information exhaustion, meaning the mean score gain on the gate's own validation set stays positive, , while the mean gain measured on a disjoint task set vanishes, . Distinguishable from logged data alone.

Figure 4: The regime map. Collision density (edit budget) against population N; the device points mark where our measurements sit. The CLT signature is a property of the fluid corner; the rarefied corner is edit-by-edit and bursty; the device operates in the transitional band, which is why signatures are density-gated ( ). The placement of the boundaries on the axes is heuristic.
Proposition 4.4. Under Theorem 4.2 and absolutely summable autocorrelation ( ), the run-to-run standard deviation of the population score satisfies
Prediction: on log-log; a contrary indicates rarefaction or over-correlation (Fig. 4); the shared database can violate summability.
Theorem 4.5. Within the certificate’s assumptions, separating the frozen validation set from the evolving set is necessary: merging them voids the drift hypothesis, hence the bound. The Maxwell daemon operates outside the gas. Scope: non-separated designs may still converge, but they simply exit the certificate’s coverage.
The argument runs on the drift premise: the gate certifies strictly improving post-states only on the set it measures; if the measured set is itself evolving, acceptance is self-referential and the per-round drift behind the certificate cannot be established. The formalized reservoir proves this necessity direction explicitly: non-separability voids the certificate premises (Appendix A).

Figure 5: The gate as a Maxwell-daemon valve outside the gas: candidates stream past the slit and are measured on the held-out set; strictly improving post-states are admitted, the rest are rejected with credit drained. The certificate requires the daemon to sit outside the flow (Theorem 4.5).
4.4 THERMODYNAMICS AND TRANSPORT
The collision rule sampled by the LLM is asymmetric and carries no thermostat of its own: without the gate, the population does not thermalize but drifts to the LLM’s prior modality, the kinetic form of model collapse. All training signal is therefore supplied by the gate, and the effective learning rate separates into
with the rate at which the reflector proposes edits, the gate’s accept–reject adjudication, and the score gain measured on a task set disjoint from the evolving population. is the mutual information between the adjudication and the gain: the expectation, taken over adjudications, of the KL divergence from the gain distribution conditioned on the adjudication, , to the unconditional distribution . Edits alone move the population; the gate decides whether the motion counts, and vanishes exactly in the information-exhaustion channel of Proposition 4.3.
With the gate active, reward injection (drive) and credit drainage (dissipation) stay balanced, and stationarity of Eq. (1) pairs transport against interactions,
a non-equilibrium steady state (NESS): convergence is relaxation to it, a plateau is vanishing entropy production, and escaping a plateau requires changing parameters (temperature, task field, gate strictness), not applying force. A fixed validation set makes the daemon efficiency shrink, while : molecular chaos failing at the daemon–gas level—the device-level manifestation of in Eq. (6). The full thermodynamics, from the H-functional and the information-daemon boundary to the Knudsen regime map and the gas–liquid–solid phase picture, appears in Appendices E–F.
Eq. (1) also admits a transport reading through its moments,
namely the plugin density or coverage, the improvement drift, and the exploration temperature; the gate enters as the external selection field, the daemon outside the gas, giving the system its direction.
The analogy is bounded. The conservation ledger shows total impulse is not conserved, so no Navier–Stokes closure exists, and we claim no literal turbulence, vortex streets, Magnus force, or Bernoulli law. The transport coefficients name measurable quantities—the retrieval radius as , the edit damping as , the sampling noise as —and every regime name is an analogy for a measured index, not a derived constant; the full defense, with the Euler-type closures and the complete license inventory, appears in Appendices E–F.
5 EXPERIMENTS
The experiments test the theory’s signatures on a minimal WebShop (Yao et al., 2022) training loop. Every measurement is a signature test at one of three license levels: L0 architectural correspondence, L1 own-equation prediction, and L2 borrowed name. Four pre-registered groups carry the load: fluctuation scaling across population sizes and edit densities (Proposition 4.4); the collision channel, probed by fan-3 retrieval against fan-1 controls; NESS relaxation in 500-round runs (Section 4.4); and the gate-versus-independent score split of Proposition 4.3. Radius and edit-budget sweeps complete Table 1. As the first kinetic theory of this loop, comparisons are against pre-registered criteria and within-design controls, not external methods.
The environment is WebShop text mode: 1,000 products, 6,910 synthetic-attribute goals, in-process BM25 simulation, search/click/end actions, reward 1 for an attribute-and-price-matched purchase; CPU, one public LLM API, seeded and reproducible (operator instantiation and full protocol: §5.1).
5.1 THE FAITHFUL MINIMAL INSTANCE
To make the equation measurable, we instantiate each operator on the smallest system that preserves the loop's structure. The correspondences are licensed L0 structural, justified by the code architecture rather than analogy: instance=particle, co-activation=collision, retrieval=interaction range, gate=daemon, reward=injection, and rejection=dissipation.
A plugin is the 4-field parameter vector ; a version instance adds a tag profile (spaCy nouns of its seeded tasks), version counter, and usage history— mirroring production registry parameters (discrete scalars). Retrieval scores instances by tag Jaccard, , sampling from the top-; edits are schema-validated single-field changes proposed by the reflector from a contrastive feedback table; the gate replaces the population only on strict held-out improvement—the candidate's validation score must exceed the incumbent's, both measured on the same held-out set (20 evaluation episodes per candidate, ties rejected; the incumbent baseline is the initial library's validation score ). Full specification: Appendix B.
The protocol is frozen before any run: population size (occupied-grid interpretation); arms seeds ; retrieval fixed at during evolution; radius sweep on a frozen library over and , 100 tasks per cell; the parallel seed pair fixed in advance; no parameter changed after results are seen (full protocol in the drivers' frozen headers and run metadata).
5.2 FLUCTUATION SCALING IN POPULATION SIZE
Prediction (L1 own-equation): run-to-run dispersion of the population score decays with ( on log-log).
The population-size arms (six runs, seeds, , 10 rounds; all finals validation measurements) give finals (seed 11/21) 0.203/0.292, 0.216/0.267, 0.244/0.172 (); accepts 2/6, 2/3, 2/2 (per-arm in Appendix C). Under this baseline the dilution-starvation disappears (2 accepts both seeds); the fitted slope is flat, with per-arm std and (, 3 points, ). Verdict: the fluctuation signature is not detectable at this power, neither as the predicted nor as any trend. Table 1 collects this and the remaining headline probes with their pre-registered criteria and verdicts.
Table 1: Pre-registered headline probes (provenance: Appendix C, which records every pre-registered probe ID including P3 and P5). Hatted quantities are sample estimators of the of Proposition 4.3.
| Probe | Criterion | Measured | Verdict |
|---|---|---|---|
| P1 scaling, | flat; undetectable at | ||
| P1 dial, | report as measured | matches , directional | |
| P2 radius peak | peak at finite | supported, directional | |
| P4 Goodhart | fires (channel b) | ||
| F1 laminar | additive post-transient window | NESS plateau at 500r | window open at |
| Collision | fan-3 vs fan-1 final | 0.495 vs 0.301 | net gain |
| phase | monotone-smooth response | , max drop 1.0 | smooth; no jump (bar 2.0) |
The density dial (formal8: , 2 seeds, 30 rounds) reads the regime clause on the device: the CLT signature appears once collision density suffices; the mapping is a heuristic, so the slope is reported as measured. Per-arm std across : (finals in Appendix C); , (Fig. 6). With the flat reading: sparse density buries the signature; tripled density brings it out at the predicted magnitude ( vs. ; directional).
The collision channel is probed by formal9: a no-op line had pinned the retrieval fan to one instance per episode, so “co-activation = collision” was only structural. Under the fixed harness, a fan-3 arm (credit to the best of three instances) reaches mean final 0.495 vs. 0.301 for the fan-1 control (Appendix C): co-activation brings a net gain of +0.19, so the collision channel is measurably load-bearing.
The scale probes (formal11/12, corrected gate) ground the saturation reading of the certificate: their 24 skill groups traverse only about of the expected hitting interval, so late in training the binding constraint is the resolution floor, not the skill. formal11 (, , 150 rounds): , 8 accepts, and a per-accept fit of with , so entrance and plateau persist at this dilution. formal12 (, , 500 rounds): , 8 accepts, tail 0.003/accept, the pre-registered NESS discriminator fires at ; convergence is observed as NESS relaxation, and the pre-correction “entrance >500 rounds” bound is retired (Appendix C).
Across the pre-registered probes, six of the eight L1 signatures end supported or observed, NESS relaxation included; the probed L2-name candidates fail as observables—Bernoulli, Kármán vortex

Figure 6: Density-gated scaling (corrected gate). Points: per-arm standard deviations of the two seed finals (records: Appendix C). Left: sparse density, flat . Right: tripled density, CLT emerges at vs. .
streets, gravity/acoustic waves—and the Magnus correlation fires only gate-dependently, licensing no circulation claim (formal13b). Criteria are frozen in the released drivers’ headers, and the supported/borderline/unsupported triage is a post-hoc layer over pre-registered observables and thresholds; Tables 3–6 (Appendix E) give the complete inventory, and a corrected-gate verdict summary appears in Table 7.
6 CONCLUSION AND DISCUSSION
The gated self-evolution loop admits a statistical theory scoped by four architectural axioms: a machine-verified hitting-time certificate, a measured signature set with its license inventory, and an analogy boundary located by the conservation ledger. Device records are small (two seeds per arm, one model, one task family); the certificate is instance-independent, the measurements are not. Under the corrected instrument the density-gated readings stand, with a near-additive waterline and CLT scaling emerging at tripled edit density, and the remaining windows stay open under pre-registered probes. As a navigation instrument, the theory prices validation budgets, flags silent collapse, and marks which designs exit its coverage.
AI use declaration Generative AI (MiniMax-M3 and AI coding assistants) was used in the following roles, all disclosed: (1) as the reflector inside the experimental device—proposing bounded skill edits under schema validation and the held-out gate (an object of study, not a writing aid); (2) for code development (device and analysis boilerplate); (3) for experiment execution under author direction and the pre-registered protocols; (4) for reference discovery and for drafting/polishing of the manuscript under author direction—all cited references were manually verified against the sources, and all scientific content, theorem statements, and conclusions were decided and reviewed by the authors; (5) for Lean proof development assistance—all proofs are machine-verified (sources in the supplementary).
Reproducibility statement All experiments run on CPU with one public API (MiniMax-M3) and a public environment (WebShop). The device (ktp/), the pre-registered drivers (run_formal*.py, decision criteria frozen in headers), and the raw artifacts (runs/*.json) are released in the supplementary; every number in Section 5 is reproducible from them; seeds are in the run metadata; Lean sources for Theorem A are included. One limitation: the reflector calls a hosted LLM whose behavior may drift between versions—the released artifacts are the ground truth for all reported numbers, and the drivers can be re-run against any compatible endpoint.
REFERENCES
Norman F. Carnahan and Kenneth E. Starling. Equation of state for nonattracting rigid spheres. Journal of Chemical Physics, 51:635–636, 1969.
Giordano De Marzo, Claudio Castellano, and David Garcia. Ai agents can coordinate via majority-following beyond human scale. Science Advances, 12(33):eaea6091, 2026.
DeepSeek AI. Deepseek harness: an open-source agent harness where everything is a plugin. https://github.com/deepseek-ai/deepseek-harness, 2026.
Yu Deng, Zaher Hani, and Xiao Ma. Long time derivation of the boltzmann equation from hard sphere dynamics. arXiv preprint arXiv:2408.07818, 2024.
Yijia Fan, Zonglin Di, Zimo Wen, Yifan Yang, et al. RESOURCE2SKILL: Distilling executable agent skills from human-created multimodal resources. arXiv preprint arXiv:2606.29538, 2026.
Bruce Hájek. Cooling schedules for optimal annealing. Mathematics of Operations Research, 13(2):311–329, 1988.
Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform, nonparametric, nonasymptotic confidence sequences. The Annals of Statistics, 49(2):1055–1080, 2021.
Jung and Asnacios. Theory of collective learning in populations of adaptive agents. arXiv preprint arXiv:2607.02171, 2026.
Marc Kac. Foundations of kinetic theory. In Proceedings of the Third Berkeley Symposium on Mathematical Statistics and Probability, volume 3, pp. 171–197. University of California Press, 1956.
Rolf Landauer. Irreversibility and heat generation in the computing process. IBM Journal of Research and Development, 5(3):183–191, 1961.
Oscar E. III Lanford. Time evolution of large classical systems. In Dynamical Systems, Theory and Applications (Lecture Notes in Physics 38), pp. 1–111. Springer, 1975.
Lorenzo Pareschi and Giuseppe Toscani. Interacting Multiagent Systems: Kinetic equations and Monte Carlo methods. Oxford University Press, 2013.
Aaditya Ramdas, Peter Gr'unwald, Vladimir Vovk, and Glenn Shafer. Game-theoretic statistics and safe anytime-valid inference. Statistical Science, 38(4):576–601, 2023.
Takahiro Sagawa and Masahito Ueda. Generalized Jarzynski equality under nonequilibrium feedback control. Physical Review Letters, 104:090602, 2010.
Biswa Sengupta. Self-evolving agents with anytime-valid certificates. arXiv preprint arXiv:2607.00871, 2026.
Yifan Shi, Wei Zhang, and Tianyi Cui. A programming paradigm for spatiotemporal composability. https://github.com/cordiverse/paper, 2026.
Noah Shinn, Federico Cassano, Ben Labash, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems 36 (NeurIPS), 2023.
Ilia Shumailov et al. Ai models collapse when trained on recursively generated data. Nature, 2024.
Alain-Sol Sznitman. Topics in propagation of chaos. École d'Été de Probabilités de Saint-Flour XIX—1989, 1464:165–251, 1991.
Vladimir Vovk and Ruodu Wang. E-values: Calibration, combination and applications. The Annals of Statistics, 49(3):1736–1754, 2021.
Abraham Wald. Sequential tests of statistical hypotheses. The Annals of Mathematical Statistics, 16(2):117–186, 1945.
Xuening Wu, Shenqin Yin, Yanlan Kang, Xinhang Zhang, Qianya Xu, Zeping Chen, and Wenqiang Zhang. Sgm: A statistical gödel machine for risk-controlled recursive self-modification. arXiv preprint arXiv:2510.10232, 2025.
Yaodong Yang, Rui Luo, Minne Li, Ming Zhou, Weinan Zhang, and Jun Wang. Mean field multi-agent reinforcement learning. In International Conference on Machine Learning (ICML), 2018.
Yifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei Gao, Qi Dai, Bei Liu, Kai Qiu, Yuqing Yang, Dongdong Chen, Xue Yang, and Chong Luo. Skil-lopt: Executive strategy for self-evolving agent skills. arXiv preprint arXiv:2605.23904, 2026.
Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. WebShop: Towards scalable real-world web interaction with grounded language agents. In Advances in Neural Information Processing Systems, 2022.
Xunjian Yin, Xinyi Wang, Liangming Pan, Li Lin, Xiaojun Wan, and William Yang Wang. Gödel agent: A self-referential agent framework for recursively self-improvement. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL), pp. 27890–27913, 2025.
Jialiang Zhu, Gongrui Zhang, Xiaolong Ma, Lin Xu, et al. RE-TRAC: REcursive TRAjectory compression for deep search agents. arXiv preprint arXiv:2602.02486, 2026.
APPENDICES
A LEAN VERIFICATION RECORD
Theorem hierarchy A–E, verified in the released Lean sources—zero sorry, full build green on 2026-08-20 (8,712 jobs; Lean 4.33 + Mathlib 4.33), grep audit clean:
• (A) Hitting-time certificate. 12 theorems + 2 auxiliary lemmas; the expectation bound is machine-checked, and hitting-time measurability is proven, not assumed.
• (D) Fluctuation scaling. the geometric autocorrelation limit is Lean-verified.
• Support facts. the Henderson/Carnahan–Starling contact-value leading term 5/2 (Carnahan & Starling, 1969) (slope form, Lean-verified); algebraic-cooling break below the Hájek logarithmic guarantee line (Hájek, 1988) (Lean-verified).
• Gate monotonicity. the gate score under the strict gate is monotone (Theorem 5 of the reservoir).
• (E) Separation necessity. cited from the formalized reservoir Theorem 7 (separability is necessary); the necessity direction is what makes the certificate conditional on the design axiom.
Build instructions ship with the released sources.
A.1 PROOF OF THEOREM 4.1
Write for the deployed (best accepted) validation score after round , and let denote the initial validation gap, , with the score cap; is the first round at which the gap falls to or below. Under H1', whenever the gap has not closed there exists a strictly improving edit with gain , the reflector proposes one with probability , and under H2–H3' every accepted proposal enters the deployed lineage while a rejected proposal changes nothing. Hence for the conditional expected gap reduction per round is at least ,
with the gap at round t. Validation scores are bounded, so the per-round reduction is uniformly bounded and optional stopping applies; summing the drift,
which is the stated bound (for the threshold version, ). Monotonicity of the best-observed score along the accepted lineage is immediate from H2–H3': the deployed version changes only on a strict improvement. Robustness to a change of state space holds because the argument uses only the per-round drift floor, not the coordinates in which scores are represented. The derivation is machine-checked in the released Lean sources. H1' itself is a design axiom rather than an estimable quantity—the existence of an unexplored improving edit is not decidable from logs; what the device measures is the realized drift of the accepted lineage—operationally, the acceptance rate times the mean accepted gain—and the certificate is applied post hoc as a consistency check on that realized drift: when the realized drift falls below the resolution floor, the binding constraint is measurement resolution, not training time (the saturation reading of Section 5.2).
A.2 THEOREM 4.5 IN THE FORMALIZED RESERVOIR
The formalized reservoir proves the necessity direction explicitly (Theorem 7): its model admits measurement sets that overlap the evolving population, and within that model non-separability breaks the drift premise—the improvements the gate registers then need not track the out-of-sample objective, so the certificate’s premises are void. Separability is therefore not a convenience but the condition of applicability: the full statement and machine-checked proof are in the released sources.
A1
A.3 DERIVATION ROUTE FOR PROPOSITION 4.4
Under Theorem 4.2 the population is an exchangeable ensemble of effectively independent contribution streams, and the summed score over rounds is a stationary sequence with absolutely summable autocorrelation . Its variance takes the Green–Kubo form , whence and on log-log; the geometric-autocorrelation special case is verified in the released Lean sources. A failure of decay under adequate power is the diagnostic for excessive inter-particle correlation.
A.4 REMARK ON PROPOSITION 4.3 (EXHAUSTIVENESS)
Under the strict gate (H2), an acceptance is exactly an event with positive held-out gain, so persistent acceptances coincide with : the middle case (acceptances persist while vanishes) is empty by the definition of acceptance—nor can gains reopen it: any positive mean gain still satisfies , which is channel b's own clause. The dichotomy is therefore exhaustive given H2; what H2 buys here is one more instance of the gate's design carrying the theory.
B DEVICE SPECIFICATION
The environment is WebShop text mode, in-process Flask simulation with a pure-Python BM25 search index (no browser, no Java). Corpus: 1000 products; task goals are generated synthetically from item attributes (6,910 goal instances; human-instruction goals cover only 13 of the 1000 products and are not used). Episode mechanics: the agent sees the current page text, can search[keywords], click[value] (buttons, links, options), end; reward = 1 when the bought item matches the target within the price bound, graded partial otherwise. Determinism: task index goal via the simulator's session index; with a seeded RNG every rollout is reproducible.
A plugin is the 4-field parameter vector ; a version instance is . The tag profile is built from task-query words (spaCy nouns) of the task the instance was seeded on; the retrieval distance between a task and an instance is .
Retrieval scores instances by ; candidate set = top- by score; the executed instance is sampled from that set with weight proportional to score (seeded RNG). are the two collision-radius knobs.
Each round, the reflector (MiniMax-M3) receives the per-instance contrastive table: use counts, per-task rewards, mean reward, trailing reward lists, and parameter vectors; it proposes at most field edits targeting the failing instances (one field per edit, values from the legal grid; schema-validated, an invalid proposal is discarded wholesale). LLM failures fall back to a deterministic heuristic so the harness never blocks.
The gate evaluates the candidate library on a held-out task set (20 episodes); replacement requires strict improvement of the held-out mean reward over the incumbent (ties rejected). Rejected candidates leave no trace in the population, and their evidence feeds the next reflection.
C EXPERIMENT RECORDS
C.1 POPULATION-SIZE ARMS (PREDICTION 1, CORRECTED GATE)
| N | seed | (val) | waterline (accepted) | accepts | |
|---|---|---|---|---|---|
| 5 | 11 | 0.0373 | 0.1160 | 0.1924, 0.2033 | 2 |
| 5 | 21 | 0.1000 | 0.2569 | 0.1182, 0.1880, 0.2237, 0.2346, 0.2402, 0.2921 | 6 |
| 50 | 11 | 0.2083 | 0.0830 | 0.2090, 0.2158 | 2 |
| 50 | 21 | 0.1425 | 0.1861 | 0.1894, 0.2439, 0.2665 | 3 |
| 500 | 11 | 0.1478 | 0.2708 | 0.1597, 0.2444 | 2 |
| 500 | 21 | 0.0507 | 0.1455 | 0.1257, 0.1715 | 2 |
A2
Regression fit (3 arms): , (Fig. 7); per-arm std of finals 0.044 (N=5), 0.025 (N=50), 0.036 (N=500)—flat. Note the train–val baseline gap that motivated the correction is visible per arm (e.g. N=5/s21: train 0.257 vs. val 0.100): under the old mixed-set gate this arm’s incumbent sat at 0.257 and only one edit ever cleared it; under the honest bar the same arm accepts six edits and reaches 0.292. Provenance: formal8_p1_run.json; the pre-correction table (train-baselined, ) is retained in formal_p1_run.json and is superseded. Seed-level uncertainty at J=2 is uninformative by construction: the slope standard error is 0.12 with one degree of freedom per fit, so interval estimates span the admissible range. The pre-registered judgment in the driver header ( , an exploratory direction test at 3 points ) records the outcome as a deviation—the power statement, not a confidence interval, is the correct summary at this J. A seed-level bootstrap is degenerate at J=2 (each arm’s standard error already uses both seeds, so resampling has no room to vary), which is why the analytic standard error rather than a bootstrap interval is reported. The power analysis itself was pre-registered in the experiment plan: with arms spanning 2 orders of magnitude in N, J=10 gives slope SE (4 discrimination of -1/2 vs. 0) and J=6 is marginal (2.2 ); the executed J=2 (quota decision recorded 2026-08-28, plan v2.1) falls below both, and the plan’s pre-registered fallback—downgrade to an order-of-magnitude consistency check—is exactly the verdict reported. The plan ships with the supplementary.
C.2 RADIUS SWEEP (PREDICTION 2)
(at ): Frozen library (seed 11 initial population), 100 tasks per cell, 15s per cell.
C.3 CLOSURE REPLAY (PREDICTION 3)
A worked collision-gate round (concrete instance of the loop of Section 4.2, N=5, seed 11, corrected gate): the round-0 incumbent is the initial library's validation score . At round 1 the reflector proposes one bounded edit to the weakest instance, the gate measures the candidate on the 20-episode held-out set, the score rises ( ), and the edit is kept. Rounds 2–5 propose further edits; each candidate measures below the incumbent and the gate rejects all four—the daemon's dissipation, visible in the log as zero . Round 6 accepts (+0.011); rounds 7–10 reject. Ten rounds move the waterline from 0.0373 to 0.2033 with exactly two gate admissions; the trajectory is monotone by construction.
Additivity replay on the corrected-gate runs with ≥ 3 watermark points: N=5 seed 21 (7 points): , , ; N=50 seed 21 (4 points): , , . Under the honest baseline the waterline is much closer to additive than the pre-correction data suggested (deviations ≤0.024 vs. up to 0.32 before): the large first-burst concentration previously attributed to non-additivity was mostly the train–val baseline gap.
C.4 GOODHART PROBE (PREDICTION 4)
Gate deltas pooled over 6 runs: ; independent-set deltas (final population on a fresh 60-task segment): . Diagnostic: channel (b) (Goodhart precursor). Alternative readings are bounded by construction: (i) evaluation noise cannot produce opposite signs at these magnitudes, since both deltas are means over the same 20-episode budget (gate arm over accepted events, independent arm over a fresh 60-task segment); (ii) task-distribution shift is bounded by the generator—both sets are synthetic-attribute goals drawn from the same corpus; (iii) regression to the mean is not a confounder here but the effect itself: the gate delta is measured on the selection set and the independent delta out of sample, which is precisely the selection-induced inflation the Goodhart reading names.
C.5 CORRECTED-GATE RE-MEASUREMENT (FORMAL8)
All three blocks on the corrected instrument (incumbent = validation ; pre-registered in the driver header): PI-fix (b=3, 6 runs) — see the table above; , . Dial-fix (b=9, 30 rounds, 6 runs): finals (s11/s21) 0.345/0.391 (N=50), 0.250/0.217 (N=150), 0.274/0.261
A3
(N=500); accepts 4/4, 1/1, 3/6; per-arm std 0.0232/0.0165/0.0062; , (slope standard error 0.15 at J=2; the pre-registered dial judgment reports the slope as measured, with no convergence-to--1/2 presumption—driver header). F-Drive-fix (N=500, b=6, 60 rounds): , 2 accepts, lift +0.0966 (below the pre-registered +0.10 bar: marginal). Wall 15056 s total.
Pred. 1: fluctuation scaling (corrected gate)

Figure 7: Prediction 1 under the corrected gate: six endpoints, flat fit —no detectable N-scaling at J=2.
C.6 COLLISION-CHANNEL PROBE (FORMAL9)
N=50, b=6, 30 rounds, seeds , fan-3 arm vs. fan-1 control: finals 0.529/0.461 (fan-3, mean 0.495) vs. 0.309/0.292 (fan-1, mean 0.301) (Fig. 8); accepts 5+2 vs. 5+4; per-episode credit spread over 13/11 vs. 17/14 documents; wall 6857 s. Pre-registered descriptive verdict: co-activation brings a net gain (+0.194).


Figure 8: Device traces. Left: six b=3 validation waterlines (near-additive, deviations 0.024). Right: collision probe—fan-3 final 0.495 vs. fan-1 0.301 (formal9).
C.7 GATE-STRICTNESS SWEEP (FORMAL10, CORRECTED GATE)
, , , 10 rounds: acceptances per seed (means 2.7, 2.7, 2.3, 2.0, 0.7); finals per in formal10_result.json. Pre-registered jump bar (max adjacent drop ) not met: smooth control-parameter response; the qualitative monotone-smooth reading of the pre-correction sweep survives the corrected instrument.
C.8 SCALE PROBES UNDER THE CORRECTED GATE (FORMAL11/12)
Giant scale, re-run (formal11 = formal6's protocol under the corrected gate; N=2000, b=6, fan as-run 1, 150 rounds, seed 11): (validation), final 0.2738, 8 accepts (waterline 0.184 → 0.2738); post-transient per-accept fit (skip 4, 5 points): , —the pre-registered
A4 laminar-window criterion ( ) is not met and the branch records the outcome as measured: entrance/plateau persists at this dilution within 150 rounds; wall 8328 s. Dense long run, re-run (formal12 = formal7's protocol under the corrected gate; , , fan as-run 1, 500 rounds, seed 11): final 0.4651, 8 accepts; fit , ; last-third slope 0.0029/accept—the pre-registered NESS discriminator ( ) fires: the plateau is reached within 500 rounds, convergence as relaxation evidence; wall 15496 s. Per-accept increments compare as 0.014 ( ) vs. 0.047 ( ): dilution thins the value channel, not the accept count.
C.9 SIGNATURE RE-RUNS UNDER THE CORRECTED GATE (FORMAL13A/13B)
Controlled copies of the formal4/5 drivers with criteria logic verbatim and fan as-run 1 (the gate correction is the single changed variable; the fan effect is formal9's). A-group (formal13a, wall 22617 s): F-Turbulence CVs 0.39/0.78/0.87 (mean 0.68 > 0.6: supported); F-Transition CV(α) 1.24, 0.95, 0.97, 0.20, 0.51—non-monotone, no transition (borderline, matching judge_rederived); F-Damping with a deterministic proposer still applies edits (1 accept; waterline 0.224 → 0.252, no decay)—the no-drive design remains confounded, withdrawal maintained; F-Drive 0.148 → 0.244, 2 accepts, lift +0.097 (marginal; reproduces formal8's F-Drive-fix exactly); F-Conduction cross-seed spread 0.031 (α=0.25) vs. 0.007 (α=4): supported; F-Brownian waterline 0.223 → 0.241 → 0.308, monotone: supported. B-group (formal13b, wall 9802 s): Bernoulli density_A = 0.103, density_B undefined (not supported); Coanda 41.2% vs. 30% baseline (supported); Kárman 0 alternators (not supported); Magnus r = 0.638 (n=14; the pre-registered r>0.3 criterion fires—flipped from r=0.04; see the license table: the classical mechanism remains absent); waves near/far drop 0 (not supported); tides ac_lag6 = -0.87 vs. ac_lag3 = 0.37 on 11 accept-deltas (not supported—flipped; the accept-indexed observable is under-powered at 12 watermark points); vortex top-3 edit share 0.500 over 6 edited docs (criterion ≥0.5: supported—upgraded from the pre-correction 41.7% borderline).
C.10 GIANT SCALE PROBE (FORMAL6, PRE-CORRECTION INSTRUMENT)
N=2000, fan as-run 1 (the driver header says 5; see the fan note in the supplementary README), b=6, 150 rounds, seed 11: (train-based), final 0.240, 4 accepts (increments +0.057, +0.011, +0.025, +0.023); laminar-window fit not administrable (insufficient post-transient points); wall 9281 s. Caveat: this probe ran under the pre-correction gate; its dilution reading is retained as pre-correction evidence, and the corrected-gate N-axis boundary remains to be remeasured. Superseded by formal11 (above): under the corrected gate the same protocol yields 8 accepts and final 0.274.
C.11 TIME-AXIS DENSE PROBE (FORMAL7, PRE-CORRECTION INSTRUMENT)
N=50, fan as-run 1, b=9, 500 rounds, seed 11: final 0.4404, 13 accepts; post-burst linear fit (skip 4, 10 points): (pre-registered bar not met); last-third slope 0.0087/accept (drift alive); wall 16171 s. Verdict: intermediate—the entrance length exceeds 500 rounds at this density. Same pre-correction caveat as formal6. Superseded by formal12 (above): under the corrected gate the run reaches 0.465 with tail 0.003/accept (NESS plateau).
Every headline number above is field-level traceable to the released run artifacts: each formal driver writes a result JSON under runs/ in the supplementary, and the field-level provenance table (paper number → source file/field → value) ships inside the supplementary package alongside them.
A5
D STRUCTURAL CORRESPONDENCE: DSH HARD-SPHERE ASSUMPTIONS
| Hard-sphere/kinetic assumption | DSH plugin property | Cordis formalization |
|---|---|---|
| permutation symmetry | order-independent composition | Independence, Defs. 17–19, Thm. 20 |
| microscopic reversibility / Liouville | mount–unmount reversibility | revertible effects, Thm. 61 |
| no instantaneous self-coupling | acyclic dependency graph | reactive coefficients, Thms. 63–64 |
| short-range contact interaction | typed contracts | commutative keys, Def. 39, Thms. 40–42 |
A fifth result underpins the replacement primitive itself: the hot-replacement calculus is confluent (Thm. 73)—order-insensitive, residue-free skill substitution is a theorem, which is the formal foundation on which the bounded-edit discipline (H3') and, historically, SkillOpt's empirical stability rest.
Proposition D.1 (Obstruction by construction). (i) If the trainable state is a single shared document (skill-library architecture), the empirical distribution is one Dirac mass: identically (no distinct pairs), , and every population-level statement of this paper is vacuous, not false. (ii) If the runtime is a star of singleton remote services (MCP architecture), A1 is untestable (no interchangeable version instances) and A2–A3 are obligations the runtime cannot discharge: side-effecting RPC carries no tracked inverse, and unrestricted call graphs admit instantaneous cycles. In both cases (1) is undefined, not inaccurate.
Proof sketch. (i) is bilinear and its rate kernel counts ordered instance pairs; a singleton population has none, so all moments are ensemble-trivial. (ii) A1–A4 are interface obligations in the Cordis sense (checkable only where the runtime enforces structure); black-box remote semantics enforces none of them.
Reading. A1–A4 are obligations, not exclusions: a skill library extended with versioned instances, tracked inverses, enforced dependency acyclicity, and typed interfaces would qualify—the proposition’s content is that current everyday implementations do not provide these by construction, and that no kinetic statistics exist until they do.
Table 2: Why DSH-class runtimes, and not everyday skill/MCP stacks, support the gas description. Each axiom is a Cordis theorem for DSH; the everyday stacks fail at least one axiom, and both fail the zeroth requirement (a countable instance population with carried state).
| Requirement | DSH plugin | Skill-document library | MCP tool stack |
|---|---|---|---|
| instance population (zeroth) | registry of (plugin, version) instances with credit ledger | one shared document, edited in place | singleton remote services (star topology) |
| A1 permutation symmetry | holds, Thm. 20 | fails: prompt order/shadowing | partial: registration order irrelevant, but no interchangeable instances |
| A2 mount/unmount reversibility | holds, Thm. 61 (tracked inverses) | fails: in-place mutation, no inverse | fails: side effects, state kept server-side |
| A3 acyclic dependencies | holds, Thms. 63–64 | fails: free cross-referencing | fails: cyclic call graphs allowed |
| A4 typed contracts | holds, Def. 39, Thms. 40–42 | fails: natural-language interface | holds: JSON Schema I/O |
The correspondence is what licenses the gas vocabulary at all: each assumption has a concrete counterpart in the plugin runtime, and the “kinetic lint” procedure (per-plugin feature checklist, one rule per assumption) detects violations that would break the correspondence. The hard-sphere criterion reads “hard” as short-range, binary, single-timeslice-reversible—not elastic, which is the 2026-08-17 revision note: the driven-gas (inelastic) reading is what makes granular-gas clustering (Appendix F, G.6) the operative physics instead of the classical elastic gas.
A6
E INTERPRETATION BOUNDARIES
Because the plugin gas does not conserve momentum ( changes under every operator; see the conservation ledger), no hydrodynamic limit in the Navier–Stokes sense exists, and we do not claim: (i) a turbulence cascade or any Kolmogorov-type spectrum; (ii) Kármán vortex streets (which require bluff-body wake instability from actual advection); (iii) Magnus effects (which require circulation and pressure differential in potential flow); (iv) Bernoulli's law (which requires pressure defined from momentum flux); (v) acoustic or gravity-wave dispersion. Where classical names appear in the experiment descriptions (“transition-like”, “wave-like propagation”), they name an observable signature proposed by the analogy — e.g., variance of acceptance intervals rising with retrieval radius; a reward depression propagating outward from a perturbed instance with damping — and the claim is only that the signature was or was not observed. The theory’s rigorous load-bearing elements are independent of the analogy: the hitting-time certificate (Theorem A, Lean-verified), monotonicity along the accepted lineage, the resolution law for gate power, and the fluctuation-scaling prediction (a CLT statement about population statistics).
The complete license inventory follows in Tables 3–6 give the full inventory of fluid-related notions used in this paper, classified by translation license, each with its device reading, its basis (architectural theorem, own-equation derivation, or required physics), its probe, and its measured verdict. The point of the inventory is the distribution of verdicts: the license level organizes the outcome. Six of the eight L1 signatures are supported or observed (NESS relaxation included); tides flips to unsupported under the corrected gate on an under-powered observable; and the laminar window is bounded by the scale probes (plateau reached at 500 rounds, entrance persisting at N=2000). Of the L2 name-only candidates, Bernoulli, Kármán, and waves fail as observables, and Magnus's bare correlation fires only after the gate correction ( , n=14)—a gate-dependent transport reading that licenses no circulation claim. The mixed cases sit on the boundary: vortex now meets its pre-registered supported criterion, damping stays withdrawn, and the drive reading stays marginal. Since the triage labels are post-hoc (observables and thresholds were pre-registered, the categories were not), we report this as a descriptive classification of the verdict distribution, not a predictive test.
F OPERATOR ECONOMY, THERMODYNAMICS, AND REGIME DETAILS
F.1 FLOW AND EXTERNAL FIELD
During a forward pass the plugin set is frozen; occupied mass travels along the pipeline DAG layer by layer, and the skill coordinate, credit, and momentum are unchanged—pure transport, deterministic and bit-reproducible (the reproducibility/H2 property, not time-reversal symmetry; a replayed trajectory is not a microscopic crossing back of a wall). In this phase and . The v-component of the flow along x is the layer-depth progression; the action of the flow on the skill coordinate is currently degenerate (only edits move s), which is exactly the observation that the description's center of gravity sits with the collision operator today—if plugins ever carry continuous runtime state, flow takes over and the statistical description shifts from collisions to the flow field (heuristic).
The evaluation/workload category weights act as an external force : a load tilted toward one task type pulls the population toward that region of capability space. The LLM inference chain (provider hierarchy with failover) is the thermostat: it injects noise and priors into both the collision rule (reflector) and the gate (verifier). The operationalization of temperature is the variance of edit proposals under identical history; a provider switch is a bath change, and a MCP failover is a transient temperature jump.
F.2 COLLISION STRUCTURE, REACTION CHANNELS, CONSERVATION LEDGER
Two instances meet when they are co-activated in the same pipeline under task , with rate kernel ; the collision cross-section is , and the contract width sets the amount of state exchanged per encounter. A collision event returns a batch reward from verification, and the reflector's attribution gives the post-state
A7
Table 3: L0 structural correspondences (licensed by the architecture, Appendix D; not analogies).
| Kinetic notion | Device counterpart | Architectural basis | Status |
|---|---|---|---|
| particle | plugin-version instance (x, v, e) on the plugin×version×task grid | A1 permutation symmetry (Defs. 17–19, Thm. 20) | by construction |
| hard-sphere collision | co-activation in one pipeline + credit/impulse exchange | short-range, binary, single-timeslice-reversible; typed contracts (Def. 39, Thms. 40–42) | instantiated: fan-3 vs fan-1 probe, final 0.50 vs 0.30 (formal9) |
| microscopic reversibility | mount/unmount reversibility | A2 revertible effects (Thm. 61) | by construction |
| no self-collision | acyclic dependency graph | A3 reactive coefficients (Thms. 63–64) | by construction |
| interaction range | retrieval radius (top-k, sharpness α) | bounded-kernel condition of Thm. B | measured (peak α=2) |
| Maxwell daemon | validation gate, external to the gas | Thm. E; gate score strictly monotone | verified, every run |
| energy injection | batch reward | driven (inelastic) gas clause | observed at every accept |
| dissipation | rejection drain (tie-rejection) | gate strictness | observed in gate logs |
| temperature | proposal variance under identical history (LLM bath) | thermostat identification | defined |
| Knudsen number Kn | per-round collision density (budget b, population N); b→Kn mapping (heuristic) | regime clause | corrected dial: β flat at b=3 → -0.58 () at b=9 |
| NESS | drive-dissipation balance under the gate | conservation ledger | observed (150–500-round plateaus; formal12) |
| H-functional | population concentration; diversity = -H | definition; no-gate drift form | (heuristic) |
Two structural points complete the picture. First, the collision is inelastic in a driven-gas sense: is external work injected by task rewards, attribution redistributes it but total credit increases ( not conserved), and the edit impulse is likewise injection—“hard-sphere” reads as short-range, binary, single-timeslice-reversible, not elastic. Second, the LLM is the sampler of the collision rule: the explicit form of the post-state map is exactly what turns the collision kernel from a black box into an estimable object.
Reactions are species-level events aligned with the plugin lifecycle: append (nucleation, proposal rate from the exploration weight), delete (annihilation), update (lineage: a version increment, merged into collision), materialize (gas → solid: sandbox trial mount becomes a registered plugin with a preset row), and unmaterialize (solid → gas). The key identification: sandbox trial-mounting is the gas phase (free, reversible, load/unload at will), and materialization is solidification (through the registry gate, entering the solid phase). The reaction-channel set is complete over capability space in the sense that any constitution-respecting upgrade is mountable—the separation of “can” (completeness of channels) from “imagines” (nucleation rate, the of Theorem A) is the separation of chemical feasibility from nonzero reaction rate.
The conservation ledger records, quantity by quantity, what each operator does to the balance:
A8
Table 4: L1 own-equation signatures (derived from the plugin master equation; predicted to hold). Verdicts from the pre-registered probes of §5.
| Signature (derivation) | Device observable | Probe | Reading & verdict |
|---|---|---|---|
| fluctuation scaling (Prop. D) | run-to-run dispersion vs. N | formal8 (corrected gate) | flat at (undetectable, ); , at — supported at density, directional |
| intermittency, CV≈1 (Thm. D + discrete gate events) | acceptance-interval CV | formal13a F-Turb | CV = 0.39/0.78/0.87; supported observed |
| boundary layer / cold start (driven-gas entrance region) | jump then plateau | every run | |
| Coanda-like attachment (collision locality) | edits cluster near recently edited instances | formal13b | 41.2% vs. 30% baseline; supported |
| conduction-like flattening (retrieval as transport) | reward depression spreads and flattens with | formal13a F-Conduction | flattest (spread 0.031→0.007); supported |
| tides / period locking (driven NESS) | score autocorrelation at the round period | formal13b | corrected re-run: vs. lag3 0.37 (11 accept-deltas, under-powered); not supported |
| Brownian drift under attribution (fluctuation + drift) | watermark rises directionally with LLM attribution | formal13a F-Brownian | 0.223→0.308 monotone; supported |
| laminar developed flow (constant-drift regime) | additive waterline after the transient | formal11/12 | formal11: 8 accepts/150r at , entrance-bound (); formal12: NESS plateau at 500 rounds (tail 0.003/accept, ); NESS observed, additive window open |
Table 5: L2 name-only candidates (require momentum conservation / a Navier–Stokes closure the gas does not have; predicted to fail as mechanisms—and none is claimed: three observables fail outright, Magnus’s bare correlation proves gate-dependent).
| Classical name (required physics) | Why absent here | Probe | Reading & verdict |
|---|---|---|---|
| Bernoulli law (pressure from momentum flux) | Σv not conserved (ledger) | formal13b | fast-arm density undefined; not supported |
| Kárman vortex street (bluff-body wake advection) | no advection term | formal13b | 0 alternating docs (pre-correction 1); not supported |
| Magnus effect (circulation + pressure differential) | no potential flow | formal13b | bare correlation fires gate-dependently (r=0.039 pre-correction → 0.638, n=14): a transport proxy, not circulation; name not claimed |
| gravity/acoustic waves (inertia + restoring force) | no inertial term | formal13b | near/far drop = 0; not supported |
| Kolmogorov cascade (NS inertial range) | no NS closure (§4.4) | not probed | not claimed |
| Quantity | under Q | under R | under G | note |
|---|---|---|---|---|
| particle numberN | conserved | not conserved (birth/death) | conserved | reactions change species count |
| total credit Σe | injected () | carried in/out | drained (rejected edits) | drive-dissipation balance ⇒ NESS |
| total impulse Σv | not conserved | changes A9 | projected (improving directions only) | directionality from G |
| gate score V | — | — | monotone (strict) | verified Thm 5 monotonicity |
Table 6: Boundary cases (mixed L1/L2 character; the analogy's edge is genuinely fuzzy, and the readings are mixed — itself a consistency check). Full per-probe narratives: Appendix C.
| Phenomenon | Device observable | Probe | Reading & verdict |
|---|---|---|---|
| laminar-turbulent transition | acceptance-interval CV vs. control parameter α | formal13a F-Transition | non-monotone; borderline |
| vortex-like concentration | top-3 edit share | formal13b | 50.0% over 6 edited docs; supported, small n |
| viscous damping (μ is a naming convention) | perturbation decay at b=0 | formal13a F-Damping | withdrawn: drive not actually off, confounded design |
| external drive without gate signal | forced N=500 arm | formal8/13a F-Drive | lift +0.097, below the +0.10 bar; marginal |
F.3 EFFECTIVE POPULATION GAUGES
The fluctuation laws (Proposition 4.4) are statements about the effective particle count , which must be frozen before fitting (pre-registration discipline): (i) occupied-grid count = the number of (plugin × version × task) cells with nonzero credit in the run; (ii) total accepted edits; (iii) total credit converted to an equivalent particle count. The gauges are measured, not assumed. In the active regime they track each other (formal1: arms give 3/1 accepts and ; arms give 3/2 accepts and ). At they diverge by orders of magnitude (500 occupied cells vs. 0/1 accepts vs. )—the pre-declared divergence warning fires where the rarefied reading places the device, i.e., the gauge check works as a designed diagnostic rather than holding by assumption. Correspondingly, the Proposition-D scaling is interpreted only inside the gauge-agreement regime; where the gauges diverge, the formula is diagnosed as failing, not confirmed. The rarefaction condition is the requirement that no instance dominates: (the bounded-kernel condition of Theorem B).
F.4 THEOREM B: ROUTE CHOICE AND THE ENRICHED-STATE ARGUMENT
Honesty and route choice. Not a new theorem: the standard result transposed, with an applicability verification (bounded kernel = no dominating particle; exchangeability). Two derivation routes exist for kinetic equations, and the choice matters. The Boltzmann–Grad route (Lanford’s short-time theorem (Lanford, 1975), extended to arbitrary long times for hard spheres by Deng–Hani–Ma (Deng et al., 2024)) starts from true deterministic binary collisions and must fight recollisions—particles remembering whom they hit, which re-create correlations and break molecular chaos. The mean-field route (Sznitman) assumes chaos and bounded interaction kernels. Our gas engineers recollisions by design: the shared experience base makes particles re-encounter deliberately (retrieval is the recollision channel), so a Boltzmann–Grad-type chaos-propagation claim is neither available nor desired, and the mean-field route is the honest level of description. The novelty is the operator set and what the gate does to the closure—with G external, the system is not self-consistent in the classical sense; the daemon must remain outside the gas (Theorem E). The deeper reason the mean-field route is cleaner here than in physics: the hard-sphere obstacle is informational—the one-particle density does not record pair correlations, so recollision-built correlations progressively invalidate molecular chaos, and proving their negligibility took the 150-year program. The plugin gas loses nothing by construction: the instance state is enriched with its collision history—the credit record e summarizes whom the instance met and with what outcome, and the experience database is the population’s stored collision history. Correlations that a gas loses are partially materialized as state, so we treat the one-instance description at as a Markov approximation; residual dependence through the shared database is not proved negligible. Exchangeability is anchored operationally in A1 (permutation symmetry of composition, Cordis Thm. 20); the closure needs exchangeability plus a bounded kernel, not chaos surviving recollisions; retrieval locality provides the bound (an instance collides only within its tag neighborhood, so is structurally finite). Measured premise check: across the formal13a conduction arms (4 runs), the largest single-instance collision share is —no dominating particle. This checks non-dominance over the measured runs—a diagnostic of the premise, not a proof of propagation of chaos.
A10
F.5 TRAINING THERMODYNAMICS
With the Boltzmann convention , measures concentration (diversity reads as ). The textbook statement—symmetric kernel and detailed balance imply monotone, relaxation to a Maxwellian—does not hold here: the collision rule is sampled by an LLM and is asymmetric (proposals biased toward prior and retrieval history; attribution violates detailed balance). The correct no-gate form is a replicator–mutator system: with credit injection and mutation but no selection, the population does not thermalize to the uniform Maxwellian but drifts to the prior modality of the LLM, and diversity collapses monotonically (heuristic). Translated to learning: edit activity does not vanish (edits are copious)—but edits merely restate what the prior already knows, the learning signal is zero. This is the kinetic form of model collapse: self-referential generation without selection pressure contracts to the generator’s prior; and it identifies the deepest theorem of the theory: training’s signal is supplied not by collisions but by the gate; the strictness of the gate (strict inequality, tie rejection, frozen validation set) is the selection strength of evolutionary theory. It yields the tested distinction: edit frequency learning rate; learning rate = edit frequency information content of the gate.
With G active, the system is driven and dissipative: collisions inject reward (drive), the gate drains rejected-edits' credit (dissipation). The drive–dissipation balance is not the no-gate prior modality but a NESS (non-equilibrium steady state): a peak around successful plugins with an exploration halo around it. Under this mapping: training convergence = relaxation to the NESS (the monotone accept sequence is the discrete projection of the NESS direction); the plateau = a NESS at vanishing entropy production (nothing left to adjudicate, drive fully cancelled by dissipation); and the gate acceptance rate is the observational proxy for the entropy production rate. Escaping the plateau requires changing parameters, not applying force: raise temperature (edit budget / gate truncation), change the field (new task types), or anneal deliberately (avoid quenching to glass).
The Sagawa–Ueda-type bound (Sagawa & Ueda, 2010) looks like a law the gate must satisfy—but a boundary statement is required: defining free energy over capability space is not done, so within this system the bound is not a quantitative thermodynamic conclusion; it is used as an information-theoretic analogy only. The quantitative channel is the Shannon one: the information content of the daemon’s measurement channel, whose operational proxy is exactly the split of Proposition C. Its corollaries are the theory’s sharpest readings: (i) a fixed validation set yields shrinking daemon efficiency—the population progressively adapts to the validation set, the daemon’s measurements grow “stale” ( , ), which is the thermodynamic statement of Goodhart, the violation of molecular chaos at the daemon–gas level (Prediction 4); (ii) fresh validation samples = information refill, restoring daemon efficiency; (iii) the constitution axiom (frozen/evolving separation) restated: if the daemon could itself evolve, monotonicity breaks [verified Theorem 7]—self-reference in thermodynamic language is the daemon becoming part of the gas.
F.6 REGIME STRUCTURE
Before the regime map, we state the boundary of the analogy precisely, because it is the theory's load-bearing wall. The conservation ledger above shows total impulse is not conserved (edits inject impulse; the gate projects it). Without momentum conservation there is no Navier–Stokes closure, hence no literal turbulence cascade, no Kármán wake instability, no Magnus force, no Bernoulli law from momentum flux. We therefore claim none of these. The fluid picture enters the paper in exactly one role: a systematic generator of falsifiable hypotheses. Each classical phenomenon proposes an observable signature in the agent system (variance of acceptance intervals, locality of edit propagation, concentration of edit lineages); we measure the signature and report both outcomes. Where a signature matches, the finding is “the analogy’s prediction holds,” a cross-domain observation; where it fails, the analogy’s boundary is located. The transport-coefficient discussion below is a naming convention for measurable quantities (retrieval radius, edit damping, sampling noise), not a derivation of constitutive relations; the Euler-type system is displayed as a formal analogy — the moment hierarchy has the same shape — and we do not perform, or claim, a Chapman–Enskog derivation for the plugin gas.
Control parameters: temperature (edit budget + LLM noise), density (plugins per unit capability volume), gate strictness. Three phases: gas (free birth–death, no stable workflow motifs,
A11
Table 7: Corrected-gate verdict summary (L1 own-equation and boundary signatures; full license inventory: Tables 3–6).
| Signature | Verdict | Signature | Verdict |
|---|---|---|---|
| Fluctuation scaling | undetectable (b=3) / -0.58 (b=9) | Intermittency (CV≈1) | supported(0.39/0.78/0.87) |
| Coanda attachment | supported (41.2%) | Conduction flattening | supported (α=4) |
| Tides period-locking | not supported (corrected re-run) | Brownian directional drift | supported(0.223→0.308) |
| Boundary layer (cold start) | observed | Laminar developed flow | NESS plateau (500 r); entrance at N=2000 |
| L2: Bernoulli / Karman / waves | not supported | Magnus correlation | gate-dependent (r 0.04→0.64); name not claimed |
| Vortex concentration | supported (50%, corrected) | Viscous damping / drive-vs-gate | withdrawn / marginal (+0.097) |
jumpy curves, medium acceptance, membership volatile—early exploration); liquid (co-activation clusters condense into recurring pipeline motifs, smooth increase, stable motifs with peripheral exploration—mid-stage convergence); solid (frozen workflows, , flat curves, reproducible—released state). The microscopic mechanism of the phase picture sits with the reaction operator: sandbox mounting is the gas, materialization is the solidification step, and promotion along the lifecycle is the particle's path gas liquid solid. Granular-gas physics predicts that inelastically colliding driven granular systems must cluster: the uniform state is unstable, particles self-organize into clusters—the counterpart statement here is that populations with strong credit injection and weak selection drift toward motif condensation, and the gate is what keeps the system out of the collapsed state (heuristic). Where the liquid phase is deep, a nonzero-diffusion “platform floor” exists even at zero retrieval radius—retrieval is not free acceleration (heuristic).
In the continuum regime, moment closure gives the Euler-type system by construction
with (kinetic + temperature + credit internal energy), collision rate, and the gate dissipation (with the Landauer (Landauer, 1961) term as an analogy only, per the boundary statement). First-order (Navier–Stokes-type) corrections are written in a Chapman–Enskog-shaped formal analogy—viscosity and heat flux —with no expansion performed or claimed (analogy only). The physical interpretation of the transport coefficients is the theory's most direct object-level bridge: thermal conductivity experience retrieval (successful mutations diffuse across task classes; retrieval radius retrieval frequency), viscosity , faster equilibration of underperforming classes, but flatter specialization peaks—"retrieval breadth vs. specialization depth" is not an engineering taste question but a heat-transport trade between diffusivity and peak gradient (semi-quantitative directional statement, labeled as such).
Finite couples conservation laws to white noise of strength (Landau–Lifshitz), giving the P1 prediction the pre-registered form: with the measurement statistics properly powered (arms spanning 2+ orders of magnitude in ; per-arm seed count fixed by a pre-registered power analysis, arms before seeds), run-to-run std should obey std ; a failure of decay signals excessive inter-particle correlation and the mean-field picture's breakdown—the diagnostic ordering between agent-level and machine-level explanations. This is quantified in the device measurements (Prediction 1). The regime clause is falsifiable from both sides: a powered probe at sparse density that nonetheless finds the decay would falsify the gating, and a powered probe at the dense corner that still finds no decay would falsify the CLT reading itself.
A12
G DEPLOYED PRACTICE TOOLS
A practitioner takes home: the resolution law, the hitting-time horizon, reproducibility priced at std , the plateau dual-channel decision tree, and Theorem E as a design red line (never let the evaluator evolve with the evaluated). Four further deployables follow: reproducibility SLAs; silent-collapse alarms ( split; fired on our device); gas–liquid–solid registry staging (edit concentration as monopoly metric); stopping-rule economics.
A13