agent-reliability-ci 2.2.0__tar.gz → 2.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/CHANGELOG.md +118 -0
- agent_reliability_ci-2.2.0/README.md → agent_reliability_ci-2.4.0/PKG-INFO +170 -46
- agent_reliability_ci-2.2.0/PKG-INFO → agent_reliability_ci-2.4.0/README.md +139 -77
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/pyproject.toml +3 -3
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/__init__.py +1 -1
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/cli.py +5 -0
- agent_reliability_ci-2.4.0/src/arci/html_base.py +74 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/html_report.py +13 -67
- agent_reliability_ci-2.4.0/src/arci/logs/__init__.py +1 -0
- agent_reliability_ci-2.4.0/src/arci/logs/claude_code.py +232 -0
- agent_reliability_ci-2.4.0/src/arci/logs/cli.py +504 -0
- agent_reliability_ci-2.4.0/src/arci/logs/codex.py +197 -0
- agent_reliability_ci-2.4.0/src/arci/logs/decide.py +163 -0
- agent_reliability_ci-2.4.0/src/arci/logs/discover.py +48 -0
- agent_reliability_ci-2.4.0/src/arci/logs/example/__init__.py +13 -0
- agent_reliability_ci-2.4.0/src/arci/logs/example/claude/history.jsonl +1184 -0
- agent_reliability_ci-2.4.0/src/arci/logs/example/codex/archived_sessions/rollout-subagent.jsonl +10 -0
- agent_reliability_ci-2.4.0/src/arci/logs/example/codex/sessions/rollout-example.jsonl +1122 -0
- agent_reliability_ci-2.4.0/src/arci/logs/example/now.txt +1 -0
- agent_reliability_ci-2.4.0/src/arci/logs/html.py +158 -0
- agent_reliability_ci-2.4.0/src/arci/logs/kept.py +258 -0
- agent_reliability_ci-2.4.0/src/arci/logs/measures.py +306 -0
- agent_reliability_ci-2.4.0/src/arci/logs/rank_test.py +143 -0
- agent_reliability_ci-2.4.0/src/arci/logs/records.py +272 -0
- agent_reliability_ci-2.4.0/src/arci/logs/report.py +493 -0
- agent_reliability_ci-2.4.0/src/arci/logs/schema.py +773 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/.gitignore +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/LICENSE +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/NOTICE +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/__main__.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/adapters/__init__.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/adapters/langchain.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/contracts.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/__init__.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/agents.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/experiment.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/outcomes/__init__.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/outcomes/order-desk-run-1/baseline.csv +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/outcomes/order-desk-run-1/candidate.csv +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/outcomes/order-desk-run-1/rule.yaml +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/run.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/suite.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/demo/world.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/descriptor.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/diff.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/fingerprint.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/gate.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/grade.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/hashing.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/importers/__init__.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/importers/inspect_log.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/importers/junit.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/init.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/interfaces.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/mcp_boundary.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/mcp_shim.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/mcp_toolset_server.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/minimize.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/outcome_report.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/outcome_schema.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/outcomes.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/perturb.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/planning.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/py.typed +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/reliability.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/replay.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/report.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/runner.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/schedule.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/schema.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/stats.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/storage.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_gate.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_report.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_runner.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_schedule.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_schema.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_stats.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/suite_storage.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/toolbox.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/trace_check.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/triage.py +0 -0
- {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.4.0}/src/arci/worker.py +0 -0
|
@@ -1,5 +1,123 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2.4.0 (2026-11-16)
|
|
4
|
+
|
|
5
|
+
- **Added:** `arci-logs/2` records, a best-case earliest test date when usable days are
|
|
6
|
+
too few, and bounded client-version names after the split. `--keep` saves daily counts,
|
|
7
|
+
dates and accepted settings to `realornoise-days/1`; `--keep-dir` chooses its directory
|
|
8
|
+
and `--ignore-kept` skips reading it. Kept days are counted and marked in HTML.
|
|
9
|
+
- **Changed:** the default model and effort now come from the most responses after the
|
|
10
|
+
split, falling back to the whole window only when no candidate has an after-response.
|
|
11
|
+
In 2.4.0 the readers return client-version names and also return main-thread and
|
|
12
|
+
sub-agent responses that lack a model or an effort. Those responses count only toward
|
|
13
|
+
context counts and the version list, never toward responses or day values. The readers
|
|
14
|
+
take model and effort names from the kept table so labels stay stable across runs.
|
|
15
|
+
Context counts can therefore differ from those 2.3.0 printed for the same logs.
|
|
16
|
+
2.4.0 follows the definition in the records.
|
|
17
|
+
Both skills run `uvx --python 3.14 realornoise==2.4.0` without keeping days. Version 1
|
|
18
|
+
log records remain readable. The printed limits state the largest wrong REAL DROP rate
|
|
19
|
+
of the rule as built over all histories in the correlation, weekly-cycle and regime
|
|
20
|
+
cells of the [self-check](docs/results/logs-selfcheck.md):
|
|
21
|
+
wrong REAL DROP 362/2000 = 0.181000 [0.164743, 0.198480] (18.1%, Wilson 95% interval),
|
|
22
|
+
seed 18112185, regime-switching days with log SD 0.45, 14 days after and 16 before.
|
|
23
|
+
Work in phases can break the bound; other patterns can give more.
|
|
24
|
+
- **Fixed:** the tool never removes a directory. A failed write restores files;
|
|
25
|
+
the table directory and any parents it created stay, empty, with mode 0700.
|
|
26
|
+
Existing directories keep their mode. Overlapping table writes merge under an
|
|
27
|
+
exclusive directory lock, held through moves and cleanup. Failure to open the
|
|
28
|
+
directory is a write error; an unavailable lock module or failed lock call
|
|
29
|
+
allows the write to proceed without a lock. The tool assumes no other program
|
|
30
|
+
removes or replaces the directory during a run. Output names beginning with
|
|
31
|
+
`.realornoise-`, after NFKC normalization and case folding, including symbolic
|
|
32
|
+
links that resolve to such names, are refused before any read or write.
|
|
33
|
+
Successful table writes remove regular files with that prefix while holding the
|
|
34
|
+
lock. Report temporary files use `.realornoise.out-`, so table cleanup leaves
|
|
35
|
+
another run's pending reports alone. A keyboard interrupt during writing ends
|
|
36
|
+
with the write error and exit 3. An interrupt during the same-file check removes
|
|
37
|
+
this run's new empty targets and preserves another writer's file. An interrupted
|
|
38
|
+
move restores old bytes and modes and removes new targets; after the last move
|
|
39
|
+
the files are already written. A second interrupt during restore can leave some
|
|
40
|
+
files replaced, and an interrupt can leave a report temporary file. A process
|
|
41
|
+
killed outright restores nothing and can leave replaced files, empty new targets
|
|
42
|
+
and temporary files. Report leftovers may be deleted by hand.
|
|
43
|
+
- **Fixed:** equal numeric client-version tuples now use ascending text order in both
|
|
44
|
+
the displayed list and record validation. With four equivalent spellings, the wrong
|
|
45
|
+
three had been shown. A kept-table path below a regular file is now absent rather
|
|
46
|
+
than unreadable: `--keep` reports a write error instead of success without a write,
|
|
47
|
+
and a read-only run no longer reports an unreadable table that never existed.
|
|
48
|
+
Both defects were found by the blind acceptance tests. Same-file placeholders are removed
|
|
49
|
+
before staging, so interruption during staging or replacement leaves no new empty target.
|
|
50
|
+
A zero-byte table is absent and can be replaced.
|
|
51
|
+
Overlapping writes merge under a directory lock where available; a successful write removes
|
|
52
|
+
leftover regular `.realornoise-` files. An empty `--keep-dir` is a usage error.
|
|
53
|
+
Margin self-checks also gate the moved measure's own finding. Gates remain active under
|
|
54
|
+
Python optimisation. Quick gates use exact binomial smoke limits and support no claim.
|
|
55
|
+
Privacy tests restrict bounded names and versions to their specified JSON fields.
|
|
56
|
+
Documentation corrects release metadata, reader changes and installation network use.
|
|
57
|
+
- **Not in this release:** an unknown split date, repeated daily looks with a stated
|
|
58
|
+
error rate, a replacement streak check, two-model comparisons, a range for the change,
|
|
59
|
+
other coding agents, OpenTelemetry input, a public tracker, real-machine Windows
|
|
60
|
+
checks, older log formats, usage-limit or cost measures, or sending data anywhere.
|
|
61
|
+
- **Docs:** record 0017, the logs/2 statistics and self-check, the live example transcript,
|
|
62
|
+
kept-table format and retention limits, the realornoise threat model, skill pins,
|
|
63
|
+
release checks, compatibility and roadmap. The documented command requests Python
|
|
64
|
+
3.14 for compressed Codex logs. Related tools are described without comparison claims.
|
|
65
|
+
- **CI:** CodeQL (Python and Actions) and zizmor now scan every push to `main` and
|
|
66
|
+
`sprint/**` and every pull request to `main`, Dependabot opens one monthly grouped pull request for
|
|
67
|
+
GitHub Actions versions, uv is installed from a hash-pinned requirements file in every
|
|
68
|
+
workflow that can check out the repository first, and a new "oracle / SciPy" CI job checks
|
|
69
|
+
the exact rank test against SciPy's own permutation and Mann-Whitney tests.
|
|
70
|
+
- **Docs:** added `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, issue and pull request templates,
|
|
71
|
+
and a test that these files exist and stay consistent with each other.
|
|
72
|
+
- **Docs:** the README now starts with a generated banner (`docs/assets/banner-{light,dark}.svg`,
|
|
73
|
+
from `make_figures.py`) whose dots are the packaged example's day values, checked by a test.
|
|
74
|
+
- **Tests:** `test_slow_healthy_predecessor_has_no_gate_deadline` now uses a wait limit of
|
|
75
|
+
0.3 s and tool calls of 0.8 s (before: 0.03 s and 0.08 s). On a loaded CI machine the
|
|
76
|
+
gap between one tool call ending and the next starting could pass 0.03 s and fail the
|
|
77
|
+
test with "tool order wait timeout". The released code uses 30 s and was not affected.
|
|
78
|
+
- **Tests:** added `tests/unit/logs/test_format_incidents.py`, guarding the three 2026
|
|
79
|
+
`ccusage` breakages (a `null` model inside `usage.iterations[]`, a session kept twice
|
|
80
|
+
once compressed, and a record cut off in the middle of its JSON) against both readers
|
|
81
|
+
and against an end-to-end `arci logs` run, plus `tests/unit/packaging/test_client_versions.py`.
|
|
82
|
+
- **CI:** a new daily `client-versions` workflow asks npm for the latest Claude Code and
|
|
83
|
+
Codex CLI versions and compares them with the versions `docs/LOG_FORMATS.md` says the
|
|
84
|
+
readers were checked against; when either is newer it keeps one open issue up to date
|
|
85
|
+
asking for the format tests to be run against a session of the new client.
|
|
86
|
+
|
|
87
|
+
## v2.3.0 (2026-11-15)
|
|
88
|
+
|
|
89
|
+
- **Added:** `arci logs` reads local Claude Code and Codex session logs and compares daily
|
|
90
|
+
recorded measures for one model and effort setting per tool. Results are REAL DROP,
|
|
91
|
+
NO DROP, CANNOT TELL or ERROR, separate from controlled-trial verdicts. The second
|
|
92
|
+
distribution, `realornoise`, pins the main package's version and supports Python 3.11
|
|
93
|
+
onward; compressed Codex logs need Python 3.14. New sealed record kind `arci-logs/1`,
|
|
94
|
+
Markdown, JSON and self-contained HTML reports, a packaged generated example, a Claude
|
|
95
|
+
Code plugin and a Codex skill. The plugin and skill put printed numbers into the
|
|
96
|
+
assistant's conversation.
|
|
97
|
+
- **Added:** the [session-log self-check](docs/results/logs-selfcheck.md), with exact
|
|
98
|
+
enumeration and simulated rates, counts, seeds and intervals. At AR(1) correlation 0.5,
|
|
99
|
+
log SD 0.45 and 2000 histories per design, wrong REAL DROP with the rule as built was
|
|
100
|
+
0.080500 [0.069365, 0.093243] at 5/10 after/before days,
|
|
101
|
+
0.035500 [0.028240, 0.044541] at 7/21, and
|
|
102
|
+
0.002500 [0.001068, 0.005839] at 14/42 (Wilson 95% intervals).
|
|
103
|
+
Short correlated histories can exceed the nominal bound; passing the streak check
|
|
104
|
+
does not establish the assumptions. The self-check publishes wrong NO DROP, all
|
|
105
|
+
three check variants and the cost on independent days too.
|
|
106
|
+
- **Changed:** the README starts with logs, then imported outcomes, then controlled
|
|
107
|
+
trials. The timing workflow uses a manual trigger with package and command inputs;
|
|
108
|
+
CI and release workflows build both distributions, and release publishes the main
|
|
109
|
+
package before `realornoise`.
|
|
110
|
+
- **Not in this release:** a scan over split dates; comparison of two models; a day table
|
|
111
|
+
stored beyond log retention; a range for the change; other coding agents; Windows
|
|
112
|
+
paths checked on a real machine; formats older than the listed clients; usage-limit
|
|
113
|
+
or cost measures; sending data anywhere.
|
|
114
|
+
- **Docs:** finished log statistics and design record 0016, reader-format reference and
|
|
115
|
+
log recipe; controlled-trial caveats and quickstart moved together; related local-log
|
|
116
|
+
tools named without comparison claims; compatibility, roadmap and citation metadata
|
|
117
|
+
updated. The order-desk working-record link uses commit `d46367d`. Documentation tests
|
|
118
|
+
check first-screen length, links, numerical sources and the published fixed-text record.
|
|
119
|
+
|
|
120
|
+
|
|
3
121
|
## v2.2.0 (2026-11-15)
|
|
4
122
|
|
|
5
123
|
- **Added:** `arci verdict`, `arci verdict-rule` and `arci verdict --example`: a baseline-
|
|
@@ -1,43 +1,96 @@
|
|
|
1
|
-
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: agent-reliability-ci
|
|
3
|
+
Version: 2.4.0
|
|
4
|
+
Summary: Did your AI agent get worse? Real, noise, or cannot tell: from coding-agent session logs, imported results, or controlled trials with fault injection.
|
|
5
|
+
Project-URL: Homepage, https://github.com/ajaysurya1221/agent-reliability-ci
|
|
6
|
+
Project-URL: Source, https://github.com/ajaysurya1221/agent-reliability-ci
|
|
7
|
+
Project-URL: Changelog, https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/CHANGELOG.md
|
|
8
|
+
Project-URL: Issues, https://github.com/ajaysurya1221/agent-reliability-ci/issues
|
|
9
|
+
Project-URL: Design records, https://github.com/ajaysurya1221/agent-reliability-ci/tree/main/docs/design
|
|
10
|
+
Author: Ajay Surya Senthilrajan
|
|
11
|
+
License-Expression: Apache-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Keywords: ai-agents,ci,claude-code,codex,coding-agents,evaluation,fault-injection,llm,pytest,regression,reliability,reproducibility,statistics,testing
|
|
15
|
+
Classifier: Development Status :: 4 - Beta
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Classifier: Topic :: Software Development :: Testing
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.11
|
|
26
|
+
Requires-Dist: pydantic<3,>=2.7
|
|
27
|
+
Requires-Dist: pyyaml<7,>=6
|
|
28
|
+
Provides-Extra: langchain
|
|
29
|
+
Requires-Dist: langchain<2,>=1.4.9; extra == 'langchain'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
<picture>
|
|
33
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ajaysurya1221/agent-reliability-ci/main/docs/assets/banner-dark.svg">
|
|
34
|
+
<img src="https://raw.githubusercontent.com/ajaysurya1221/agent-reliability-ci/main/docs/assets/banner-light.svg" alt="Real or noise? Dots for 42 earlier days scatter inside one band; dots for 14 recent days sit well below it. Generated example data. Command: uvx --python 3.14 realornoise." width="100%">
|
|
35
|
+
</picture>
|
|
36
|
+
|
|
37
|
+
# Did your agent get worse? Real, noise, or cannot tell.
|
|
2
38
|
|
|
3
39
|
[](https://pypi.org/project/agent-reliability-ci/)
|
|
4
40
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
results, and returns `PASS`, `BLOCK`, `INCONCLUSIVE` or `ERROR` with an exit code. A statistical
|
|
8
|
-
`PASS` or `BLOCK` is wrong at most 2.5% of the time each, at the defaults and under assumptions
|
|
9
|
-
ARCI states and does not check.
|
|
41
|
+
ARCI (agent-reliability-ci) offers three comparisons with increasing effort and evidence.
|
|
42
|
+
Each prints the assumptions it cannot check.
|
|
10
43
|
|
|
11
|
-
|
|
44
|
+
**1. Logs you already have.** If you use Claude Code or Codex, the session logs on your disk
|
|
45
|
+
record how the model behaved each day. One command compares recent days with earlier ones:
|
|
12
46
|
|
|
13
47
|
```bash
|
|
14
|
-
|
|
15
|
-
mkdir try-arci && cd try-arci && arci init --langchain && arci run arci.yaml
|
|
48
|
+
uvx --python 3.14 realornoise
|
|
16
49
|
```
|
|
17
50
|
|
|
51
|
+
Python 3.14 reads compressed Codex logs; uvx downloads it if missing.
|
|
52
|
+
|
|
53
|
+
On the packaged example data (`uvx --python 3.14 realornoise --example`):
|
|
54
|
+
|
|
18
55
|
```text
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
baseline 96/96 passed, candidate 48/96 passed
|
|
56
|
+
RESULT: REAL DROP
|
|
57
|
+
reasoning tokens per response 986 (42) 529 (14) -46% real drop
|
|
22
58
|
```
|
|
23
59
|
|
|
24
|
-
The
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
[
|
|
28
|
-
|
|
60
|
+
The tool sends nothing; installing it downloads the package. The output holds counts, rates, dates and bounded model, effort
|
|
61
|
+
and client-version names. It shows what your logs recorded, not why: your tasks, prompts and client
|
|
62
|
+
may have changed too. With a short history the usual answer is `CANNOT TELL`.
|
|
63
|
+
[How to read it](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/logs.md) ·
|
|
64
|
+
[the method and its limits](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/STATISTICS_LOGS.md)
|
|
29
65
|
|
|
30
|
-
|
|
66
|
+
**2. Results you already have.** `arci verdict` decides a baseline against a candidate from
|
|
67
|
+
pass/fail results another tool produced (Inspect AI, pytest, CSV).
|
|
68
|
+
[Recipe](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/verdict.md)
|
|
31
69
|
|
|
32
|
-
**
|
|
33
|
-
|
|
34
|
-
|
|
70
|
+
**3. Controlled trials.** `arci run` runs the old agent and the new one on the same predeclared
|
|
71
|
+
tasks, injects tool timeouts, errors and empty results, and returns `PASS`, `BLOCK`,
|
|
72
|
+
`INCONCLUSIVE` or `ERROR`. A `PASS` or `BLOCK` is wrong at most 2.5% of the time each, at the
|
|
73
|
+
defaults and under assumptions ARCI states and does not check.
|
|
74
|
+
[Start here](#controlled-trials-arci-run) · no install: `uvx --from agent-reliability-ci arci demo`
|
|
35
75
|
|
|
36
|
-
|
|
37
|
-
choosing a larger confirmatory run.
|
|
76
|
+
## New in 2.4: compare the setting you use now
|
|
38
77
|
|
|
39
|
-
|
|
40
|
-
|
|
78
|
+
`arci logs` compares the model and effort used most after the split, instead of the most used over the whole window.
|
|
79
|
+
`--keep` saves daily counts beyond vendor retention. Claude Code deletes session files after 30 days by default (`cleanupPeriodDays`; [settings reference](https://code.claude.com/docs/en/settings-reference), read 15 Nov 2026).
|
|
80
|
+
With a short history the usual answer is CANNOT TELL. When days are too few, the output names the earliest possible test date, conditional on daily usable counts and retained earlier days.
|
|
81
|
+
Packaged example data (`arci logs --example`), Claude Code:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
RESULT: REAL DROP
|
|
85
|
+
reasoning tokens per response 986 (42) 529 (14) -46% real drop
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The output states the largest wrong-REAL-DROP rate of the rule as built, over all histories, in the [self-check](docs/results/logs-selfcheck.md)'s correlation, weekly-cycle and regime cells: 18.1%, at 14/16 after/before days in regimes (362/2000 = 0.181000 [0.164743, 0.198480], Wilson 95% interval, seed 18112185).
|
|
89
|
+
For AR(1) correlation 0.5 and log SD 0.45, the rule as built measured wrong REAL DROP at 0.092500, 0.036000 and 0.005000 for 5/10, 7/21 and 14/42 days (2000 histories each).
|
|
90
|
+
Work in phases can break the bound; other patterns can give more. These logs cannot establish cause, answer quality or a model change.
|
|
91
|
+
Claude Code: `/plugin marketplace add ajaysurya1221/agent-reliability-ci`, `/plugin install realornoise@agent-reliability-ci`, then `/realornoise:realornoise`.
|
|
92
|
+
Codex: copy [`integrations/codex/skills/realornoise`](integrations/codex/skills/realornoise/SKILL.md) into `~/.agents/skills/`. Both skills put the printed numbers into the conversation.
|
|
93
|
+
[Recipe](docs/recipes/logs.md) · [Statistics and limits](docs/STATISTICS_LOGS.md) · [Design record](docs/design/0017-logs-2.md).
|
|
41
94
|
|
|
42
95
|
## New in 2.2: a verdict from results another tool produced
|
|
43
96
|
|
|
@@ -64,6 +117,41 @@ never claims the error bound; claiming the bound needs a rule written and declar
|
|
|
64
117
|
`fixed_before_runs: true` before either arm ran. See the
|
|
65
118
|
[verdict recipe](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/verdict.md).
|
|
66
119
|
|
|
120
|
+
## Controlled trials: arci run
|
|
121
|
+
|
|
122
|
+
**PASS means only this:** for this predeclared experiment, the evidence supports that any reliability
|
|
123
|
+
drop from baseline to candidate is smaller than the allowed drop. It is **not** a claim of absolute
|
|
124
|
+
reliability.
|
|
125
|
+
|
|
126
|
+
A small first run will often be **INCONCLUSIVE**. That is a valid result; use `arci plan` before
|
|
127
|
+
choosing a larger confirmatory run.
|
|
128
|
+
|
|
129
|
+
ARCI observes calls that cross its tool boundary. It is not a sandbox, it does not replay model
|
|
130
|
+
inference, and trace divergence shows where runs differ, not why.
|
|
131
|
+
|
|
132
|
+
A LangChain `create_agent` example, offline, no API key:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
pip install 'agent-reliability-ci[langchain]'
|
|
136
|
+
mkdir try-arci && cd try-arci && arci init --langchain && arci run arci.yaml
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
VERDICT: BLOCK (exit 1)
|
|
141
|
+
pairs: 96 (192 trials)
|
|
142
|
+
baseline 96/96 passed, candidate 48/96 passed
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
The candidate is the baseline with one retry removed. Next:
|
|
146
|
+
[swap the model](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/model-swap.md) ·
|
|
147
|
+
[your own agent](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/langchain.md) ·
|
|
148
|
+
[plain Python functions](#gate-your-own-agent) ·
|
|
149
|
+
no install: `uvx --from agent-reliability-ci arci demo`
|
|
150
|
+
|
|
151
|
+
`baseline + candidate → same predeclared tasks/faults → repeated trials → verdict`
|
|
152
|
+
|
|
153
|
+
For single-task experiments a failing trial can then be minimised and replayed; for suites those commands are not built yet.
|
|
154
|
+
|
|
67
155
|
## New in 2.0: many tasks, and LangChain agents
|
|
68
156
|
|
|
69
157
|
**Suites.** v1 gates one task under a few fault conditions. A suite registers many tasks by
|
|
@@ -116,6 +204,13 @@ compares two different models with everything else equal
|
|
|
116
204
|
As each project describes itself; read in November 2026, not tested here. Corrections are
|
|
117
205
|
welcome as issues.
|
|
118
206
|
|
|
207
|
+
- Tools about "did the model get worse", as they describe themselves, read 16 Nov 2026,
|
|
208
|
+
not tested here: [is-it-nerfed](https://github.com/resitaydin/is-it-nerfed),
|
|
209
|
+
"A Claude Code plugin that checks your own logs for proof". It asks Sonnet subagents
|
|
210
|
+
whether you had to correct the model, for a sample of your prompts, and compares the
|
|
211
|
+
last two weeks with an earlier window. [livenerf](https://github.com/ninjahawk/livenerf),
|
|
212
|
+
"A long-running, deterministic-as-possible benchmark for detecting whether a frontier
|
|
213
|
+
model gets quietly worse after launch".
|
|
119
214
|
- Fault injection for agent tool calls:
|
|
120
215
|
[agentchaos-sdk](https://pypi.org/project/agentchaos-sdk/),
|
|
121
216
|
[probe-ai](https://pypi.org/project/probe-ai/),
|
|
@@ -141,10 +236,26 @@ welcome as issues.
|
|
|
141
236
|
- Evaluation platforms and frameworks (LangSmith, promptfoo, DeepEval, Inspect AI, Braintrust,
|
|
142
237
|
Phoenix) score and compare runs; use them for that.
|
|
143
238
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
239
|
+
Tools that read the same local logs include [ccusage](https://github.com/ccusage/ccusage)
|
|
240
|
+
(`npx ccusage`, usage and cost from local logs). The following descriptions are quoted from
|
|
241
|
+
those projects: [kiyoakii/is-gpt-nerfed](https://github.com/kiyoakii/is-gpt-nerfed),
|
|
242
|
+
"Shrinkflation detector for Codex"; [NerfTrack/NerfTrack](https://github.com/NerfTrack/NerfTrack),
|
|
243
|
+
"Think Codex limits got nerfed by can't prove it? Prove it with NerfTrack!";
|
|
244
|
+
[One-Lyf/claude-nerf-watcher](https://github.com/One-Lyf/claude-nerf-watcher),
|
|
245
|
+
"Claude Code skill: is your plan quietly giving you less? Tracks work per 1% of the 5-hour limit vs your own baseline.";
|
|
246
|
+
[lucemia/claude-session-analyzer](https://github.com/lucemia/claude-session-analyzer),
|
|
247
|
+
"Quantitative analysis tool for Claude Code session logs — thinking depth, Read:Edit ratio, behavioral signals, sentiment, cost. Replicates methodology from anthropics/claude-code#42796";
|
|
248
|
+
[jspaterson000/nerfd](https://github.com/jspaterson000/nerfd),
|
|
249
|
+
"The public record of how AI coding models actually perform on real work. Local-first, privacy-first scorecard captured from Claude Code, Codex, OpenCode and other terminals.";
|
|
250
|
+
[tendaigomo/NerfWatch](https://github.com/tendaigomo/NerfWatch),
|
|
251
|
+
"The Taravangian Test for AI: catch silent model degradation before your users do. SPC-based reasoning-quality monitoring for Claude, GPT, Gemini, and Grok."
|
|
252
|
+
[haowang02/codex-candy-eval](https://github.com/haowang02/codex-candy-eval) is a script that
|
|
253
|
+
re-runs one question against Codex; its own description is in Chinese.
|
|
254
|
+
ARCI did not test any of these tools and does not claim to be the only tool of this kind.
|
|
255
|
+
|
|
256
|
+
ARCI joins injected tool faults, a baseline-against-candidate verdict from a rule fixed
|
|
257
|
+
before the run, a stated bound on each kind of wrong statistical verdict, and a count of
|
|
258
|
+
whether each fault fired. The local-log comparison is a separate observational method.
|
|
148
259
|
|
|
149
260
|
## Try the offline demo
|
|
150
261
|
|
|
@@ -511,15 +622,15 @@ schema); re-run the experiment rather than trust an unreadable store.
|
|
|
511
622
|
|
|
512
623
|
### GitHub Actions
|
|
513
624
|
|
|
514
|
-
This example pins `v2.
|
|
515
|
-
same code is on PyPI as `agent-reliability-ci==2.
|
|
625
|
+
This example pins `v2.4.0`, the current release (the Action installs that tag's source; the
|
|
626
|
+
same code is on PyPI as `agent-reliability-ci==2.4.0`). See
|
|
516
627
|
[CHANGELOG.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/CHANGELOG.md).
|
|
517
628
|
|
|
518
629
|
```yaml
|
|
519
630
|
- uses: actions/setup-python@v7
|
|
520
631
|
with: { python-version: "3.12" }
|
|
521
632
|
- run: pip install -e . # your agent, importable
|
|
522
|
-
- uses: ajaysurya1221/agent-reliability-ci@v2.
|
|
633
|
+
- uses: ajaysurya1221/agent-reliability-ci@v2.4.0
|
|
523
634
|
id: gate
|
|
524
635
|
with:
|
|
525
636
|
manifest: reliability/manifest.json
|
|
@@ -532,8 +643,8 @@ you have verified. The report lands in the job summary (a start-up failure shows
|
|
|
532
643
|
stderr). `BLOCK` and `ERROR` always fail the job; `INCONCLUSIVE` fails it unless you set
|
|
533
644
|
`allow-inconclusive: "true"`. The `verdict` output (`PASS`, `BLOCK`, `INCONCLUSIVE` or `ERROR`) is
|
|
534
645
|
there for steps that run after the gate. This repository's own CI runs the test suite,
|
|
535
|
-
re-derives the archived decisions, smoke-tests
|
|
536
|
-
on a committed fixture that must BLOCK.
|
|
646
|
+
re-derives the archived decisions, builds both distributions, smoke-tests their wheels on
|
|
647
|
+
Linux and macOS, and runs the Action on a committed fixture that must BLOCK.
|
|
537
648
|
|
|
538
649
|
Since v2.0.0 the Action has an opt-in `pr-comment: "true"`: it uploads the offline HTML
|
|
539
650
|
report and creates or updates a PR summary. Grant `pull-requests: write` and serialize runs for
|
|
@@ -558,12 +669,20 @@ never change the gate result. Racing duplicate comments are refreshed on the nex
|
|
|
558
669
|
|
|
559
670
|
## What it does not do
|
|
560
671
|
|
|
672
|
+
- **Logs cannot establish cause or answer quality.** `arci logs` reads recorded measures,
|
|
673
|
+
not a controlled model comparison. Short histories and streaks often give CANNOT TELL;
|
|
674
|
+
passing the streak check does not establish interchangeable days. The measured error
|
|
675
|
+
rates under correlation can exceed the claimed bound's nominal level, as
|
|
676
|
+
[the statistics](docs/STATISTICS_LOGS.md) show. There is no scan over dates, comparison
|
|
677
|
+
of two models, range for the change, cost or usage-limit measure, or reader for other
|
|
678
|
+
agents. Days are kept only with `--keep`, and only when captured while their files
|
|
679
|
+
still existed. Windows is untested for this command.
|
|
561
680
|
- **It is not a sandbox and not a security boundary.** Python agents share a process with their tool
|
|
562
681
|
boundary. Command agents use a separate harness-owned MCP boundary, which is isolation from
|
|
563
682
|
accident, not containment. Both assume buggy, non-hostile agent code; a hostile agent could still
|
|
564
683
|
forge or bypass its record. See [docs/TRUST_MODEL.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/TRUST_MODEL.md).
|
|
565
|
-
- **
|
|
566
|
-
invisible, as is any decision call that does not go through the injected base URL.
|
|
684
|
+
- **Controlled trials only see the tool boundary.** Files, network and subprocesses the agent
|
|
685
|
+
touches directly are invisible, as is any decision call that does not go through the injected base URL.
|
|
567
686
|
- **It replays the boundary, not the model.** Deterministic replay is guaranteed for seeded,
|
|
568
687
|
fixture-backed agents. A live model will not repeat itself token for token, so replaying its
|
|
569
688
|
bundle is usually INVALID; what survives is the recorded trace and the reduced fault condition.
|
|
@@ -592,7 +711,7 @@ never change the gate result. Racing duplicate comments are refreshed on the nex
|
|
|
592
711
|
transport, no concurrent decisions.
|
|
593
712
|
- **Since 2.2.0**, `arci verdict` reads pass/fail outcomes another tool already produced
|
|
594
713
|
(Inspect AI JSON logs, JUnit XML, CSV, JSONL) and gives a verdict only; there are still no
|
|
595
|
-
trace importers (OTLP, Claude Code, Codex), and imported outcomes cannot be replayed,
|
|
714
|
+
replay-capable trace importers (OTLP, Claude Code, Codex), and imported outcomes cannot be replayed,
|
|
596
715
|
minimised or fault-accounted. POSIX only: on Windows the package installs and `arci --help`
|
|
597
716
|
runs, but experiments are unsupported.
|
|
598
717
|
|
|
@@ -620,8 +739,8 @@ here claims adoption, performance or superiority.
|
|
|
620
739
|
## Roadmap
|
|
621
740
|
|
|
622
741
|
Nothing is scheduled. From v2.1.0 on, an item is taken up only when someone who would use it
|
|
623
|
-
asks for it, or when a recorded run shows the need. What is not in 2.
|
|
624
|
-
`.eval` log directly, promptfoo, the Action's verdict mode, interrupts, async agents, a suite
|
|
742
|
+
asks for it, or when a recorded run shows the need. What is not in 2.4.0
|
|
743
|
+
(a scan over split dates, reading an Inspect `.eval` log directly, promptfoo, the Action's verdict mode, interrupts, async agents, a suite
|
|
625
744
|
example with several faults in one condition, a second framework adapter, the v1 commands that
|
|
626
745
|
do not yet accept suites) and the earlier candidate list (last revised for v0.8.0) are in
|
|
627
746
|
[docs/ROADMAP.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/ROADMAP.md).
|
|
@@ -633,8 +752,11 @@ pair-programmers (recorded in the commit messages). Through v1.0.0 the experimen
|
|
|
633
752
|
decision rule and its calibration, the trust model and the acceptance tests are the maintainer's
|
|
634
753
|
own. For 2.0.0 and 2.1.0 the design records were drafted by Claude as orchestrator and approved
|
|
635
754
|
by the maintainer; for 2.2.0 the maintainer approved the plan, and design record 0015 was drafted
|
|
636
|
-
by Claude and reviewed twice by Codex.
|
|
637
|
-
|
|
755
|
+
by Claude and reviewed twice by Codex. For 2.3.0, record 0016 and the log statistics had
|
|
756
|
+
three read-only reviews before product code (13, 10 and 6 findings, all handled, with the
|
|
757
|
+
recorded differences in the maintainer's choices). An agent wrote acceptance tests from
|
|
758
|
+
the records alone without seeing the code. Implementation was by Codex from written
|
|
759
|
+
briefs (design records 0011 to 0016). The retry demo, the calibration table and the test suite reproduce from
|
|
638
760
|
a clean clone.
|
|
639
761
|
Issues and PRs welcome.
|
|
640
762
|
Where the code came from and who holds it: [docs/PROVENANCE.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/PROVENANCE.md).
|
|
@@ -658,13 +780,15 @@ records live in [docs/design](https://github.com/ajaysurya1221/agent-reliability
|
|
|
658
780
|
|
|
659
781
|
### Availability and project status
|
|
660
782
|
|
|
661
|
-
**Availability:** v2.
|
|
662
|
-
(`agent-reliability-ci[langchain]==2.
|
|
783
|
+
**Availability:** v2.4.0 is the current release. Install `agent-reliability-ci==2.4.0` from PyPI
|
|
784
|
+
(`agent-reliability-ci[langchain]==2.4.0` for the LangChain adapter), use `uvx realornoise`,
|
|
785
|
+
or use Action tag `v2.4.0`. The `realornoise` distribution pins the same main-package version.
|
|
663
786
|
The [release page](https://github.com/ajaysurya1221/agent-reliability-ci/releases/latest)
|
|
664
787
|
links the wheel, sdist, checksums and verification receipt. The release workflow
|
|
665
|
-
builds
|
|
666
|
-
publishing with attestations. The
|
|
667
|
-
|
|
788
|
+
builds both distributions, tests their wheels on Ubuntu/macOS, and publishes the main
|
|
789
|
+
package before `realornoise` through trusted publishing with attestations. The timing
|
|
790
|
+
workflow is manually triggered and can time either packaged log example or `arci demo`.
|
|
791
|
+
The single-task gate, `triage`, `trace-check`, the packaged demo, descriptors, initialization, planner and opt-in pass^k reporting from earlier releases remain
|
|
668
792
|
available.
|
|
669
793
|
**Boundary:** PASS means relative non-inferiority, not absolute reliability. This is not a sandbox.
|
|
670
794
|
|