agent-reliability-ci 2.2.0__tar.gz → 2.3.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.
Files changed (82) hide show
  1. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/CHANGELOG.md +34 -0
  2. agent_reliability_ci-2.2.0/README.md → agent_reliability_ci-2.3.0/PKG-INFO +157 -46
  3. agent_reliability_ci-2.2.0/PKG-INFO → agent_reliability_ci-2.3.0/README.md +126 -77
  4. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/pyproject.toml +3 -3
  5. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/__init__.py +1 -1
  6. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/cli.py +5 -0
  7. agent_reliability_ci-2.3.0/src/arci/html_base.py +74 -0
  8. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/html_report.py +13 -67
  9. agent_reliability_ci-2.3.0/src/arci/logs/__init__.py +1 -0
  10. agent_reliability_ci-2.3.0/src/arci/logs/claude_code.py +204 -0
  11. agent_reliability_ci-2.3.0/src/arci/logs/cli.py +289 -0
  12. agent_reliability_ci-2.3.0/src/arci/logs/codex.py +179 -0
  13. agent_reliability_ci-2.3.0/src/arci/logs/decide.py +144 -0
  14. agent_reliability_ci-2.3.0/src/arci/logs/discover.py +48 -0
  15. agent_reliability_ci-2.3.0/src/arci/logs/example/__init__.py +13 -0
  16. agent_reliability_ci-2.3.0/src/arci/logs/example/claude/history.jsonl +1184 -0
  17. agent_reliability_ci-2.3.0/src/arci/logs/example/codex/archived_sessions/rollout-subagent.jsonl +10 -0
  18. agent_reliability_ci-2.3.0/src/arci/logs/example/codex/sessions/rollout-example.jsonl +1122 -0
  19. agent_reliability_ci-2.3.0/src/arci/logs/example/now.txt +1 -0
  20. agent_reliability_ci-2.3.0/src/arci/logs/html.py +147 -0
  21. agent_reliability_ci-2.3.0/src/arci/logs/measures.py +236 -0
  22. agent_reliability_ci-2.3.0/src/arci/logs/rank_test.py +143 -0
  23. agent_reliability_ci-2.3.0/src/arci/logs/records.py +251 -0
  24. agent_reliability_ci-2.3.0/src/arci/logs/report.py +393 -0
  25. agent_reliability_ci-2.3.0/src/arci/logs/schema.py +386 -0
  26. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/.gitignore +0 -0
  27. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/LICENSE +0 -0
  28. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/NOTICE +0 -0
  29. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/__main__.py +0 -0
  30. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/adapters/__init__.py +0 -0
  31. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/adapters/langchain.py +0 -0
  32. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/contracts.py +0 -0
  33. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/__init__.py +0 -0
  34. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/agents.py +0 -0
  35. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/experiment.py +0 -0
  36. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/outcomes/__init__.py +0 -0
  37. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/outcomes/order-desk-run-1/baseline.csv +0 -0
  38. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/outcomes/order-desk-run-1/candidate.csv +0 -0
  39. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/outcomes/order-desk-run-1/rule.yaml +0 -0
  40. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/run.py +0 -0
  41. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/suite.py +0 -0
  42. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/demo/world.py +0 -0
  43. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/descriptor.py +0 -0
  44. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/diff.py +0 -0
  45. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/fingerprint.py +0 -0
  46. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/gate.py +0 -0
  47. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/grade.py +0 -0
  48. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/hashing.py +0 -0
  49. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/importers/__init__.py +0 -0
  50. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/importers/inspect_log.py +0 -0
  51. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/importers/junit.py +0 -0
  52. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/init.py +0 -0
  53. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/interfaces.py +0 -0
  54. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/mcp_boundary.py +0 -0
  55. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/mcp_shim.py +0 -0
  56. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/mcp_toolset_server.py +0 -0
  57. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/minimize.py +0 -0
  58. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/outcome_report.py +0 -0
  59. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/outcome_schema.py +0 -0
  60. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/outcomes.py +0 -0
  61. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/perturb.py +0 -0
  62. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/planning.py +0 -0
  63. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/py.typed +0 -0
  64. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/reliability.py +0 -0
  65. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/replay.py +0 -0
  66. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/report.py +0 -0
  67. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/runner.py +0 -0
  68. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/schedule.py +0 -0
  69. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/schema.py +0 -0
  70. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/stats.py +0 -0
  71. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/storage.py +0 -0
  72. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_gate.py +0 -0
  73. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_report.py +0 -0
  74. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_runner.py +0 -0
  75. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_schedule.py +0 -0
  76. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_schema.py +0 -0
  77. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_stats.py +0 -0
  78. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/suite_storage.py +0 -0
  79. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/toolbox.py +0 -0
  80. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/trace_check.py +0 -0
  81. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/triage.py +0 -0
  82. {agent_reliability_ci-2.2.0 → agent_reliability_ci-2.3.0}/src/arci/worker.py +0 -0
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.3.0 (2026-11-15)
4
+
5
+ - **Added:** `arci logs` reads local Claude Code and Codex session logs and compares daily
6
+ recorded measures for one model and effort setting per tool. Results are REAL DROP,
7
+ NO DROP, CANNOT TELL or ERROR, separate from controlled-trial verdicts. The second
8
+ distribution, `realornoise`, pins the main package's version and supports Python 3.11
9
+ onward; compressed Codex logs need Python 3.14. New sealed record kind `arci-logs/1`,
10
+ Markdown, JSON and self-contained HTML reports, a packaged generated example, a Claude
11
+ Code plugin and a Codex skill. The plugin and skill put printed numbers into the
12
+ assistant's conversation.
13
+ - **Added:** the [session-log self-check](docs/results/logs-selfcheck.md), with exact
14
+ enumeration and simulated rates, counts, seeds and intervals. At AR(1) correlation 0.5,
15
+ log SD 0.45 and 2000 histories per design, wrong REAL DROP with the rule as built was
16
+ 0.080500 [0.069365, 0.093243] at 5/10 after/before days,
17
+ 0.035500 [0.028240, 0.044541] at 7/21, and
18
+ 0.002500 [0.001068, 0.005839] at 14/42 (Wilson 95% intervals).
19
+ Short correlated histories can exceed the nominal bound; passing the streak check
20
+ does not establish the assumptions. The self-check publishes wrong NO DROP, all
21
+ three check variants and the cost on independent days too.
22
+ - **Changed:** the README starts with logs, then imported outcomes, then controlled
23
+ trials. The timing workflow uses a manual trigger with package and command inputs;
24
+ CI and release workflows build both distributions, and release publishes the main
25
+ package before `realornoise`.
26
+ - **Not in this release:** a scan over split dates; comparison of two models; a day table
27
+ stored beyond log retention; a range for the change; other coding agents; Windows
28
+ paths checked on a real machine; formats older than the listed clients; usage-limit
29
+ or cost measures; sending data anywhere.
30
+ - **Docs:** finished log statistics and design record 0016, reader-format reference and
31
+ log recipe; controlled-trial caveats and quickstart moved together; related local-log
32
+ tools named without comparison claims; compatibility, roadmap and citation metadata
33
+ updated. The order-desk working-record link uses commit `d46367d`. Documentation tests
34
+ check first-screen length, links, numerical sources and the published fixed-text record.
35
+
36
+
3
37
  ## v2.2.0 (2026-11-15)
4
38
 
5
39
  - **Added:** `arci verdict`, `arci verdict-rule` and `arci verdict --example`: a baseline-
@@ -1,43 +1,91 @@
1
- # Did this change make your agent less reliable?
1
+ Metadata-Version: 2.5
2
+ Name: agent-reliability-ci
3
+ Version: 2.3.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
+ # Did your agent get worse? Real, noise, or cannot tell.
2
33
 
3
34
  [![PyPI](https://img.shields.io/pypi/v/agent-reliability-ci)](https://pypi.org/project/agent-reliability-ci/)
4
35
 
5
- You swapped the model, edited the prompt or removed a retry. ARCI (agent-reliability-ci) runs the
6
- old agent and the new one on the same predeclared tasks, injects tool timeouts, errors and empty
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.
36
+ ARCI (agent-reliability-ci) answers that question in three ways, from the least effort and the
37
+ weakest evidence to the most. Each one prints the assumptions it cannot check.
10
38
 
11
- A LangChain `create_agent` example, offline, no API key:
39
+ **1. Logs you already have.** If you use Claude Code or Codex, the session logs on your disk
40
+ record how the model behaved each day. One command compares recent days with earlier ones:
12
41
 
13
42
  ```bash
14
- pip install 'agent-reliability-ci[langchain]'
15
- mkdir try-arci && cd try-arci && arci init --langchain && arci run arci.yaml
43
+ uvx realornoise
16
44
  ```
17
45
 
46
+ On the packaged example data (`uvx realornoise --example`):
47
+
18
48
  ```text
19
- VERDICT: BLOCK (exit 1)
20
- pairs: 96 (192 trials)
21
- baseline 96/96 passed, candidate 48/96 passed
49
+ RESULT: REAL DROP
50
+ reasoning tokens per response 986 (42) 529 (14) -46% real drop
22
51
  ```
23
52
 
24
- The candidate is the baseline with one retry removed. Next:
25
- [swap the model](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/model-swap.md) ·
26
- [your own agent](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/langchain.md) ·
27
- [plain Python functions](#gate-your-own-agent) ·
28
- no install: `uvx --from agent-reliability-ci arci demo`
53
+ Nothing leaves your machine, and the output holds counts, rates, dates and the names of the model
54
+ and effort compared. It shows what your logs recorded, not why: your tasks, prompts and client
55
+ changed too. With a short history the usual answer is `CANNOT TELL`.
56
+ [How to read it](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/logs.md) ·
57
+ [the method and its limits](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/STATISTICS_LOGS.md)
29
58
 
30
- `baseline + candidate → same predeclared tasks/faults → repeated trials → verdict → minimise/replay`
59
+ **2. Results you already have.** `arci verdict` decides a baseline against a candidate from
60
+ pass/fail results another tool produced (Inspect AI, pytest, CSV).
61
+ [Recipe](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/verdict.md)
31
62
 
32
- **PASS means only this:** for this predeclared experiment, the evidence supports that any reliability
33
- drop from baseline to candidate is smaller than the allowed drop. It is **not** a claim of absolute
34
- reliability.
63
+ **3. Controlled trials.** `arci run` runs the old agent and the new one on the same predeclared
64
+ tasks, injects tool timeouts, errors and empty results, and returns `PASS`, `BLOCK`,
65
+ `INCONCLUSIVE` or `ERROR`. A `PASS` or `BLOCK` is wrong at most 2.5% of the time each, at the
66
+ defaults and under assumptions ARCI states and does not check.
67
+ [Start here](#controlled-trials-arci-run) · no install: `uvx --from agent-reliability-ci arci demo`
35
68
 
36
- A small first run will often be **INCONCLUSIVE**. That is a valid result; use `arci plan` before
37
- choosing a larger confirmatory run.
69
+ ## New in 2.3: a result from logs you already have
38
70
 
39
- ARCI observes calls that cross its tool boundary. It is not a sandbox, it does not replay model
40
- inference, and trace divergence shows where runs differ, not why.
71
+ `arci logs` reads local Claude Code and Codex session logs, runs no model, and compares usable days for one model and effort setting per tool.
72
+ Packaged example data (`arci logs --example`), Claude Code:
73
+
74
+ ```text
75
+ RESULT: REAL DROP
76
+ reasoning tokens per response 986 (42) 529 (14) -46% real drop
77
+ ```
78
+
79
+ REAL DROP means a recorded measure moved toward worse beyond a chance ordering of days.
80
+ NO DROP rules out each measure's margin under the stated assumptions; it does not mean improvement.
81
+ CANNOT TELL means the history is too short, variable or streaky to decide.
82
+ This cannot show cause, answer quality or a change to a model; tasks, prompts and clients can change too.
83
+ In the final AR(1) self-check at correlation 0.5 and log SD 0.45, the rule as built gave wrong REAL DROP rates of 0.080500, 0.035500 and 0.002500 and wrong NO DROP rates of 0.005000, 0.005000 and 0.000500 at 5/10, 7/21 and 14/42 after/before days (2000 histories each); the first two wrong REAL DROP rates exceed the nominal bound of 0.025, and [the method](docs/STATISTICS_LOGS.md#what-the-method-cannot-see) gives all variants, wrong-NO-DROP rates and intervals.
84
+
85
+ Claude Code: `/plugin marketplace add ajaysurya1221/agent-reliability-ci`, `/plugin install realornoise@agent-reliability-ci`, then `/realornoise:realornoise`.
86
+ Codex: copy [`integrations/codex/skills/realornoise`](integrations/codex/skills/realornoise/SKILL.md) into `~/.agents/skills/`.
87
+ Both put the printed numbers into that assistant's conversation.
88
+ [Recipe](docs/recipes/logs.md) · [Statistics and limits](docs/STATISTICS_LOGS.md) · [Design record](docs/design/0016-logs.md).
41
89
 
42
90
  ## New in 2.2: a verdict from results another tool produced
43
91
 
@@ -64,6 +112,41 @@ never claims the error bound; claiming the bound needs a rule written and declar
64
112
  `fixed_before_runs: true` before either arm ran. See the
65
113
  [verdict recipe](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/verdict.md).
66
114
 
115
+ ## Controlled trials: arci run
116
+
117
+ **PASS means only this:** for this predeclared experiment, the evidence supports that any reliability
118
+ drop from baseline to candidate is smaller than the allowed drop. It is **not** a claim of absolute
119
+ reliability.
120
+
121
+ A small first run will often be **INCONCLUSIVE**. That is a valid result; use `arci plan` before
122
+ choosing a larger confirmatory run.
123
+
124
+ ARCI observes calls that cross its tool boundary. It is not a sandbox, it does not replay model
125
+ inference, and trace divergence shows where runs differ, not why.
126
+
127
+ A LangChain `create_agent` example, offline, no API key:
128
+
129
+ ```bash
130
+ pip install 'agent-reliability-ci[langchain]'
131
+ mkdir try-arci && cd try-arci && arci init --langchain && arci run arci.yaml
132
+ ```
133
+
134
+ ```text
135
+ VERDICT: BLOCK (exit 1)
136
+ pairs: 96 (192 trials)
137
+ baseline 96/96 passed, candidate 48/96 passed
138
+ ```
139
+
140
+ The candidate is the baseline with one retry removed. Next:
141
+ [swap the model](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/model-swap.md) ·
142
+ [your own agent](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/recipes/langchain.md) ·
143
+ [plain Python functions](#gate-your-own-agent) ·
144
+ no install: `uvx --from agent-reliability-ci arci demo`
145
+
146
+ `baseline + candidate → same predeclared tasks/faults → repeated trials → verdict`
147
+
148
+ For single-task experiments a failing trial can then be minimised and replayed; for suites those commands are not built yet.
149
+
67
150
  ## New in 2.0: many tasks, and LangChain agents
68
151
 
69
152
  **Suites.** v1 gates one task under a few fault conditions. A suite registers many tasks by
@@ -141,10 +224,26 @@ welcome as issues.
141
224
  - Evaluation platforms and frameworks (LangSmith, promptfoo, DeepEval, Inspect AI, Braintrust,
142
225
  Phoenix) score and compare runs; use them for that.
143
226
 
144
- What ARCI adds is the join: injected tool faults, a baseline-against-candidate verdict from a rule
145
- fixed before the run, a stated bound on each kind of wrong statistical verdict, and a count of whether each
146
- fault fired. We did not find another tool that does all four together. If you know one,
147
- please open an issue.
227
+ Tools that read the same local logs include [ccusage](https://github.com/ccusage/ccusage)
228
+ (`npx ccusage`, usage and cost from local logs). The following descriptions are quoted from
229
+ those projects: [kiyoakii/is-gpt-nerfed](https://github.com/kiyoakii/is-gpt-nerfed),
230
+ "Shrinkflation detector for Codex"; [NerfTrack/NerfTrack](https://github.com/NerfTrack/NerfTrack),
231
+ "Think Codex limits got nerfed by can't prove it? Prove it with NerfTrack!";
232
+ [One-Lyf/claude-nerf-watcher](https://github.com/One-Lyf/claude-nerf-watcher),
233
+ "Claude Code skill: is your plan quietly giving you less? Tracks work per 1% of the 5-hour limit vs your own baseline.";
234
+ [lucemia/claude-session-analyzer](https://github.com/lucemia/claude-session-analyzer),
235
+ "Quantitative analysis tool for Claude Code session logs — thinking depth, Read:Edit ratio, behavioral signals, sentiment, cost. Replicates methodology from anthropics/claude-code#42796";
236
+ [jspaterson000/nerfd](https://github.com/jspaterson000/nerfd),
237
+ "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.";
238
+ [tendaigomo/NerfWatch](https://github.com/tendaigomo/NerfWatch),
239
+ "The Taravangian Test for AI: catch silent model degradation before your users do. SPC-based reasoning-quality monitoring for Claude, GPT, Gemini, and Grok."
240
+ [haowang02/codex-candy-eval](https://github.com/haowang02/codex-candy-eval) is a script that
241
+ re-runs one question against Codex; its own description is in Chinese.
242
+ ARCI did not test any of these tools and does not claim to be the only tool of this kind.
243
+
244
+ ARCI joins injected tool faults, a baseline-against-candidate verdict from a rule fixed
245
+ before the run, a stated bound on each kind of wrong statistical verdict, and a count of
246
+ whether each fault fired. The local-log comparison is a separate observational method.
148
247
 
149
248
  ## Try the offline demo
150
249
 
@@ -511,15 +610,15 @@ schema); re-run the experiment rather than trust an unreadable store.
511
610
 
512
611
  ### GitHub Actions
513
612
 
514
- This example pins `v2.2.0`, the current release (the Action installs that tag's source; the
515
- same code is on PyPI as `agent-reliability-ci==2.2.0`). See
613
+ This example pins `v2.3.0`, the current release (the Action installs that tag's source; the
614
+ same code is on PyPI as `agent-reliability-ci==2.3.0`). See
516
615
  [CHANGELOG.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/CHANGELOG.md).
517
616
 
518
617
  ```yaml
519
618
  - uses: actions/setup-python@v7
520
619
  with: { python-version: "3.12" }
521
620
  - run: pip install -e . # your agent, importable
522
- - uses: ajaysurya1221/agent-reliability-ci@v2.2.0
621
+ - uses: ajaysurya1221/agent-reliability-ci@v2.3.0
523
622
  id: gate
524
623
  with:
525
624
  manifest: reliability/manifest.json
@@ -532,8 +631,8 @@ you have verified. The report lands in the job summary (a start-up failure shows
532
631
  stderr). `BLOCK` and `ERROR` always fail the job; `INCONCLUSIVE` fails it unless you set
533
632
  `allow-inconclusive: "true"`. The `verdict` output (`PASS`, `BLOCK`, `INCONCLUSIVE` or `ERROR`) is
534
633
  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 the built wheel on Linux and macOS, and runs the Action
536
- on a committed fixture that must BLOCK.
634
+ re-derives the archived decisions, builds both distributions, smoke-tests their wheels on
635
+ Linux and macOS, and runs the Action on a committed fixture that must BLOCK.
537
636
 
538
637
  Since v2.0.0 the Action has an opt-in `pr-comment: "true"`: it uploads the offline HTML
539
638
  report and creates or updates a PR summary. Grant `pull-requests: write` and serialize runs for
@@ -558,12 +657,19 @@ never change the gate result. Racing duplicate comments are refreshed on the nex
558
657
 
559
658
  ## What it does not do
560
659
 
660
+ - **Logs cannot establish cause or answer quality.** `arci logs` reads recorded measures,
661
+ not a controlled model comparison. Short histories and streaks often give CANNOT TELL;
662
+ passing the streak check does not establish interchangeable days. The measured error
663
+ rates under correlation can exceed the claimed bound's nominal level, as
664
+ [the statistics](docs/STATISTICS_LOGS.md) show. There is no scan over dates, comparison
665
+ of two models, stored history beyond log retention, range for the change, cost or
666
+ usage-limit measure, or reader for other agents. Windows is untested for this command.
561
667
  - **It is not a sandbox and not a security boundary.** Python agents share a process with their tool
562
668
  boundary. Command agents use a separate harness-owned MCP boundary, which is isolation from
563
669
  accident, not containment. Both assume buggy, non-hostile agent code; a hostile agent could still
564
670
  forge or bypass its record. See [docs/TRUST_MODEL.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/TRUST_MODEL.md).
565
- - **It only sees the tool boundary.** Files, network and subprocesses the agent touches directly are
566
- invisible, as is any decision call that does not go through the injected base URL.
671
+ - **Controlled trials only see the tool boundary.** Files, network and subprocesses the agent
672
+ touches directly are invisible, as is any decision call that does not go through the injected base URL.
567
673
  - **It replays the boundary, not the model.** Deterministic replay is guaranteed for seeded,
568
674
  fixture-backed agents. A live model will not repeat itself token for token, so replaying its
569
675
  bundle is usually INVALID; what survives is the recorded trace and the reduced fault condition.
@@ -592,7 +698,7 @@ never change the gate result. Racing duplicate comments are refreshed on the nex
592
698
  transport, no concurrent decisions.
593
699
  - **Since 2.2.0**, `arci verdict` reads pass/fail outcomes another tool already produced
594
700
  (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,
701
+ replay-capable trace importers (OTLP, Claude Code, Codex), and imported outcomes cannot be replayed,
596
702
  minimised or fault-accounted. POSIX only: on Windows the package installs and `arci --help`
597
703
  runs, but experiments are unsupported.
598
704
 
@@ -620,8 +726,8 @@ here claims adoption, performance or superiority.
620
726
  ## Roadmap
621
727
 
622
728
  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.2.0 (reading an Inspect
624
- `.eval` log directly, promptfoo, the Action's verdict mode, interrupts, async agents, a suite
729
+ asks for it, or when a recorded run shows the need. What is not in 2.3.0 (stored log history,
730
+ a scan over split dates, reading an Inspect `.eval` log directly, promptfoo, the Action's verdict mode, interrupts, async agents, a suite
625
731
  example with several faults in one condition, a second framework adapter, the v1 commands that
626
732
  do not yet accept suites) and the earlier candidate list (last revised for v0.8.0) are in
627
733
  [docs/ROADMAP.md](https://github.com/ajaysurya1221/agent-reliability-ci/blob/main/docs/ROADMAP.md).
@@ -633,8 +739,11 @@ pair-programmers (recorded in the commit messages). Through v1.0.0 the experimen
633
739
  decision rule and its calibration, the trust model and the acceptance tests are the maintainer's
634
740
  own. For 2.0.0 and 2.1.0 the design records were drafted by Claude as orchestrator and approved
635
741
  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. The implementation of all three was by Codex from written
637
- briefs (design records 0011 to 0015). The retry demo, the calibration table and the test suite reproduce from
742
+ by Claude and reviewed twice by Codex. For 2.3.0, record 0016 and the log statistics had
743
+ three read-only reviews before product code (13, 10 and 6 findings, all handled, with the
744
+ recorded differences in the maintainer's choices). An agent wrote acceptance tests from
745
+ the records alone without seeing the code. Implementation was by Codex from written
746
+ briefs (design records 0011 to 0016). The retry demo, the calibration table and the test suite reproduce from
638
747
  a clean clone.
639
748
  Issues and PRs welcome.
640
749
  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 +767,15 @@ records live in [docs/design](https://github.com/ajaysurya1221/agent-reliability
658
767
 
659
768
  ### Availability and project status
660
769
 
661
- **Availability:** v2.2.0 is the current release. Install `agent-reliability-ci==2.2.0` from PyPI
662
- (`agent-reliability-ci[langchain]==2.2.0` for the LangChain adapter) or use Action tag `v2.2.0`.
770
+ **Availability:** v2.3.0 is the current release. Install `agent-reliability-ci==2.3.0` from PyPI
771
+ (`agent-reliability-ci[langchain]==2.3.0` for the LangChain adapter), use `uvx realornoise`,
772
+ or use Action tag `v2.3.0`. The `realornoise` distribution pins the same main-package version.
663
773
  The [release page](https://github.com/ajaysurya1221/agent-reliability-ci/releases/latest)
664
774
  links the wheel, sdist, checksums and verification receipt. The release workflow
665
- builds once, tests the wheel on Ubuntu/macOS, and publishes through trusted
666
- publishing with attestations. The single-task gate, `triage`, `trace-check`, the packaged demo,
667
- descriptors, initialization, planner and opt-in pass^k reporting from earlier releases remain
775
+ builds both distributions, tests their wheels on Ubuntu/macOS, and publishes the main
776
+ package before `realornoise` through trusted publishing with attestations. The timing
777
+ workflow is manually triggered and can time either packaged log example or `arci demo`.
778
+ The single-task gate, `triage`, `trace-check`, the packaged demo, descriptors, initialization, planner and opt-in pass^k reporting from earlier releases remain
668
779
  available.
669
780
  **Boundary:** PASS means relative non-inferiority, not absolute reliability. This is not a sandbox.
670
781