SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.00275 · September 2026

The Irreversibility Budget: Fleet-Level Risk Accounting and Admission Control for Agent Operating Systems

Laurent Bindschaedler, Bardia Mohammadi

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2609.00275.json · badge: /api/ran/2609.00275.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mpi-dsg/irreversibility-budget canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
burstiness_B Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/analyze.py
code served (permissive licence) · get_code("27d3b5dfcf6fe9a0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import statistics as st

torch_manual_seed = __import__('torch').manual_seed(0)

# The function takes intervals as a parameter
# It uses len(), st.mean(), st.pstdev() on intervals
# intervals should be a sequence of numbers (inter-event intervals)
# The function expects at least 2 elements to return a meaningful result

# Create a list of inter-event intervals (time differences between events)
intervals = [0.5, 1.2, 0.3, 2.1, 0.8, 1.5, 0.4, 2.3]

ARGS = {
    'intervals': intervals
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
classify Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/classify.py
code served (permissive licence) · get_code("81960c37a9c658eb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Analyze the function
# The classify function takes a single parameter: name (a string)
# It returns a tuple of (is_external, effect_class or None, sev or None)
# The function:
# 1. Checks if name is falsy
# 2. Checks if name is in EXTERNAL dict
# 3. Checks if name starts with any READONLY_PREFIXES
# 4. Checks if any keyword is in name
# 5. Returns False, None, None as default

# Setup code to construct valid arguments
ARGS = {
    'name': 'send_money'  # This is in EXTERNAL, should return (True, 'pay', 'HIGH')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_inputs Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/plot.py
code served (permissive licence) · get_code("d8f093b095a01339")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import os
import tempfile

# Create temporary directory and files for testing
temp_dir = tempfile.mkdtemp()

# Create results.json
results = {
    "test_result": "value1",
    "another_result": "value2"
}
with open(os.path.join(temp_dir, 'results.json'), 'w') as f:
    json.dump(results, f)

# Create parsed_taubench.jsonl
with open(os.path.join(temp_dir, 'parsed_taubench.jsonl'), 'w') as f:
    f.write('{"id": 1, "data": "tau_example1"}\n')
    f.write('{"id": 2, "data": "tau_example2"}\n')

# Create parsed_agentdojo.jsonl
with open(os.path.join(temp_dir, 'parsed_agentdojo.jsonl'), 'w') as f:
    f.write('{"id": 1, "agent": "dojo_example1"}\n')
    f.write('{"id": 2, "agent": "dojo_example2"}\n')

ARGS = {
    'here': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_path Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/bench.py
code served (permissive licence) · get_code("97054ec36e6a5bf3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MockLedger:
    def __init__(self, budget, name):
        self.budget = budget
        self.name = name

class MockTree:
    def new_ledger(self, budget, name):
        return MockLedger(budget, name)

tree = MockTree()
depth = 3
budget = 1e18

ARGS = {
    'tree': tree,
    'depth': depth,
    'budget': budget
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pctl Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mpi-dsg/irreversibility-budget/sim/bench.py
code served (permissive licence) · get_code("fc1770bfffb810fa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

# Create a simple numpy array of samples for the percentile calculation
samples_ns = np.array([1.5, 2.3, 3.7, 4.1, 5.2, 6.8, 7.9, 8.4, 9.1, 10.0])

# Define the percentile to compute (e.g., 50th percentile = median)
q = 50

ARGS = {
    "samples_ns": samples_ns,
    "q": q
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_jsonl Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/plot.py
code served (permissive licence) · get_code("953febbb771fc0e8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import json
import os

# Create a temporary JSONL file with valid JSON lines
temp_dir = tempfile.mkdtemp()
temp_jsonl_path = os.path.join(temp_dir, "test.jsonl")

# Write some valid JSONL data
with open(temp_jsonl_path, 'w') as f:
    f.write(json.dumps({"key1": "value1", "number": 42}) + "\n")
    f.write(json.dumps({"key2": "value2", "nested": {"inner": "data"}}) + "\n")
    f.write(json.dumps({"key3": [1, 2, 3], "bool": True}) + "\n")

ARGS = {
    "path": temp_jsonl_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
seq_from_messages Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/analyze.py
code served (permissive licence) · get_code("9a87d4640de5d5c1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct valid arguments for seq_from_messages
# The function expects:
# - messages: a list of dicts, where each dict may have:
#   - 'role': string (checked for 'assistant')
#   - 'tool_calls': list of dicts with 'function' key

messages = [
    {
        'role': 'assistant',
        'tool_calls': [
            {
                'function': {
                    'name': 'search'
                }
            },
            {
                'function': {
                    'name': 'calculate'
                }
            }
        ]
    },
    {
        'role': 'user',
        'content': 'Hello'
    },
    {
        'tool_calls': [
            {
                'function': {
                    'name': 'retrieve'
                }
            }
        ]
    },
    {
        'role': 'assistant',
        'tool_calls': [
            {
                'function': 'query'
            }
        ]
    },
    {
        'role': 'assistant'
    }
]

ARGS = {
    'messages': messages
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
simulate Ran
ran on a synthesized input
mpi-dsg/irreversibility-budget/sim/fleetsim.py
code served (permissive licence) · get_code("0fdbef246d1b248d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import math
from scipy.stats import beta as beta_dist

# Construct valid arguments for _validate_simulation_inputs
ARGS = {
    'regime': 'local',
    'attack': None,
    'workload': 'single',
    'charging': 'typed',
    'seed': 42,
    'windows': 10,
    'budget_frac': 0.5,
    'eps': 0.1,
    'static_mult': 1.0,
    'campaign_budget': 1000000.0,
    'reauth': 0.5,
    'fair_share': 100.0,
    'n_workflows': 5,
    'workflow_budget_frac': 0.3,
    'detect_lag': 10,
    'detect_k': 0.5,
    'ref_recovery': 0.8,
    'n_agents': 50,
    'p_burst_mult': 2.0,
    'gamma': 0.95,
    'corr_b': 6.0,
    'value_sigma': 0.5,
    'breaker_delay': 100,
    'frag_agents': 10,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
summarize Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/bench.py
code served (permissive licence) · get_code("0bea42f07041d51a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function takes samples_ns as input
# It converts to numpy array, checks if empty, then computes statistics
# So we need to provide a list/array-like of numeric samples

samples_ns = [1.2, 3.4, 5.6, 2.1, 8.9, 4.3, 7.1, 1.5, 6.2, 3.8]

ARGS = {
    'samples_ns': samples_ns
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tool_calls_of Ran
ran; our contract draft was wrong, not the code
mpi-dsg/irreversibility-budget/sim/traces/analyze.py
code served (permissive licence) · get_code("2971f0258b7532ca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Analyze the function:
# - tool_calls_of takes one parameter: msg
# - msg is expected to be a dict-like object
# - The function calls msg.get('tool_calls') which should return None or an iterable
# - Each element tc in tool_calls should have a 'function' key
# - fn can be either a dict (with 'name' key) or a string
# - The function extracts and returns a list of function names

# Construct a valid message dict with tool_calls
msg = {
    'tool_calls': [
        {
            'function': {
                'name': 'add',
                'args': {'a': 1, 'b': 2}
            }
        },
        {
            'function': {
                'name': 'multiply',
                'args': {'x': 3, 'y': 4}
            }
        },
        {
            'function': 'subtract'  # Test case where function is a string directly
        },
        {
            'function': {
                'name': 'divide'
            }
        }
    ]
}

ARGS = {
    'msg': msg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
wilson_err Ran
ran, honoured the contract we drafted
mpi-dsg/irreversibility-budget/figures/plot_figs.py
code served (permissive licence) · get_code("1d9ca889aa55d461")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# wilson_err takes three parameters: p_hat, n, and z (with default z=1.96)
# p_hat: a proportion (float between 0 and 1)
# n: number of samples (positive int)
# z: z-score for confidence interval (default 1.96, but can be overridden)

ARGS = {
    "p_hat": 0.65,
    "n": 100,
    "z": 1.96,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_plot Not yet run
unverified (harvested, no recorded run)
mpi-dsg/irreversibility-budget/sim/traces/plot.py
code served (permissive licence) · get_code("b451105b8a490fe4")
How it ran

no invocation recorded.

mc Not yet run
unverified (harvested, no recorded run)
mpi-dsg/irreversibility-budget/sim/fleetsim.py
code served (permissive licence) · get_code("eb305fee0253cbd5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fleets of LLM agents now externalize effects that cannot be fully undone: they move money, deploy code, delete data, and disclose information. Current controls check one effect at a time, so a fleet of individually authorized agents can overdraw its principal's risk under a shared trigger while every local gate stays correct. We propose the irreversibility budget, a cumulative account of residual value-at-risk that a trusted runtime maintains for each principal across agents, workflows, and tenants. Treating irreversibility as a first-class resource, the runtime charges each effect its residual loss below the agent and denies the marginal effect once the aggregate would overdraw the budget. Getting the price right is hard, because effects are heterogeneous, adversarially declared, and correlated. We perform a controlled study in which per-effect gates admit fleet-level overdraws of up to 48 times the tenant's risk limit while the budget holds every correctly charged run within that limit. Conservative, dependency-aware pricing remains the central open problem for a deployable design.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2609.00275")
get_code_for_paper("2609.00275")
have("2609.00275")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2609.00275.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2609.00275.svg)](https://syntology.ai/paper/2609.00275)

Connect an agent — have() is free.