@tangle-network/agent-eval 0.192.0 → 0.193.2

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 (141) hide show
  1. package/CHANGELOG.md +45 -2
  2. package/dist/adapters/http.d.ts +2 -2
  3. package/dist/analyst/index.d.ts +6 -6
  4. package/dist/analyst/index.js +4 -4
  5. package/dist/{analyze-runs-SCSWYpy0.js → analyze-runs-B6gv7vAT.js} +2 -2
  6. package/dist/{analyze-runs-SCSWYpy0.js.map → analyze-runs-B6gv7vAT.js.map} +1 -1
  7. package/dist/{benchmark-command-C458yEFK.js → benchmark-command-N5r3GXMP.js} +8 -8
  8. package/dist/{benchmark-command-C458yEFK.js.map → benchmark-command-N5r3GXMP.js.map} +1 -1
  9. package/dist/benchmarks/index.d.ts +3 -3
  10. package/dist/benchmarks/index.js +3 -3
  11. package/dist/campaign/index.d.ts +5 -5
  12. package/dist/campaign/index.js +11 -10
  13. package/dist/{campaign-BVQVBEfH.js → campaign-DnL0S4XL.js} +11 -10
  14. package/dist/{campaign-BVQVBEfH.js.map → campaign-DnL0S4XL.js.map} +1 -1
  15. package/dist/{campaign-evidence-DcQiYhJI.js → campaign-evidence-DJc60F9C.js} +2 -2
  16. package/dist/{campaign-evidence-DcQiYhJI.js.map → campaign-evidence-DJc60F9C.js.map} +1 -1
  17. package/dist/{chat-client-B_ItsSBw.js → chat-client-CJORSG_J.js} +2 -2
  18. package/dist/{chat-client-B_ItsSBw.js.map → chat-client-CJORSG_J.js.map} +1 -1
  19. package/dist/{chat-json-call-CXHBvUz8.js → chat-json-call-DnlDjpco.js} +2 -2
  20. package/dist/{chat-json-call-CXHBvUz8.js.map → chat-json-call-DnlDjpco.js.map} +1 -1
  21. package/dist/cli.js +49 -12
  22. package/dist/cli.js.map +1 -1
  23. package/dist/{client-wFyDisxi.d.ts → client-dMMKoQNS.d.ts} +2 -2
  24. package/dist/{client-wFyDisxi.d.ts.map → client-dMMKoQNS.d.ts.map} +1 -1
  25. package/dist/contract/index.d.ts +7 -7
  26. package/dist/contract/index.js +11 -11
  27. package/dist/{default-registry-DdqA_-_o.d.ts → default-registry-C3HTE08O.d.ts} +3 -3
  28. package/dist/{default-registry-DdqA_-_o.d.ts.map → default-registry-C3HTE08O.d.ts.map} +1 -1
  29. package/dist/{define-agent-eval-DcludNJS.d.ts → define-agent-eval-DQJvVa1P.d.ts} +6 -6
  30. package/dist/{define-agent-eval-DcludNJS.d.ts.map → define-agent-eval-DQJvVa1P.d.ts.map} +1 -1
  31. package/dist/{define-agent-eval-DQuos3Aw.js → define-agent-eval-qxAPjMSL.js} +6 -6
  32. package/dist/{define-agent-eval-DQuos3Aw.js.map → define-agent-eval-qxAPjMSL.js.map} +1 -1
  33. package/dist/diagnosis/index.d.ts +1 -1
  34. package/dist/diagnosis/index.d.ts.map +1 -1
  35. package/dist/diagnosis/index.js +12 -6
  36. package/dist/diagnosis/index.js.map +1 -1
  37. package/dist/{dspy-rlm-engine-BX34vPVY.js → dspy-rlm-engine-k_QdEBZo.js} +2 -2
  38. package/dist/{dspy-rlm-engine-BX34vPVY.js.map → dspy-rlm-engine-k_QdEBZo.js.map} +1 -1
  39. package/dist/{engine-C1DIAEpn.d.ts → engine-DjRV55F9.d.ts} +2 -2
  40. package/dist/{engine-C1DIAEpn.d.ts.map → engine-DjRV55F9.d.ts.map} +1 -1
  41. package/dist/{eval-campaign-CwsBn0Gm.js → eval-campaign-CXT2WYUe.js} +2 -2
  42. package/dist/{eval-campaign-CwsBn0Gm.js.map → eval-campaign-CXT2WYUe.js.map} +1 -1
  43. package/dist/evaluation.d.ts +1 -1
  44. package/dist/experiment/index.d.ts +2 -2
  45. package/dist/experiment/index.js +4 -4
  46. package/dist/{external-optimizer-process-D-Sab4v3.js → external-optimizer-process-_YIECYJ7.js} +2 -2
  47. package/dist/{external-optimizer-process-D-Sab4v3.js.map → external-optimizer-process-_YIECYJ7.js.map} +1 -1
  48. package/dist/{external-optimizer-subprocess-kbqC-iWf.js → external-optimizer-subprocess-BrghTvEp.js} +2 -2
  49. package/dist/{external-optimizer-subprocess-kbqC-iWf.js.map → external-optimizer-subprocess-BrghTvEp.js.map} +1 -1
  50. package/dist/hosted/index.d.ts +2 -2
  51. package/dist/hosted/index.js +1 -1
  52. package/dist/{index-DBoXFaz0.d.ts → index-0jEtpSM7.d.ts} +3 -3
  53. package/dist/{index-DBoXFaz0.d.ts.map → index-0jEtpSM7.d.ts.map} +1 -1
  54. package/dist/{index-DwQxdWve.d.ts → index-DMPLG226.d.ts} +89 -272
  55. package/dist/index-DMPLG226.d.ts.map +1 -0
  56. package/dist/{index-DNVzu9Vv.d.ts → index-DWQNDqPd.d.ts} +7 -7
  57. package/dist/{index-DNVzu9Vv.d.ts.map → index-DWQNDqPd.d.ts.map} +1 -1
  58. package/dist/index.d.ts +10 -10
  59. package/dist/index.js +60 -308
  60. package/dist/index.js.map +1 -1
  61. package/dist/jev.d.ts +1 -1
  62. package/dist/ledger-core/index.d.ts +1 -1
  63. package/dist/{llm-client-KYQBh9C8.js → llm-client-c_bKHTXz.js} +2 -2
  64. package/dist/{llm-client-KYQBh9C8.js.map → llm-client-c_bKHTXz.js.map} +1 -1
  65. package/dist/{llm-judge-Z6MkTkd0.js → llm-judge-Cififl_V.js} +1024 -237
  66. package/dist/llm-judge-Cififl_V.js.map +1 -0
  67. package/dist/{matrix-CQMMrEQ5.d.ts → matrix-CNu13gg8.d.ts} +2 -2
  68. package/dist/{matrix-CQMMrEQ5.d.ts.map → matrix-CNu13gg8.d.ts.map} +1 -1
  69. package/dist/multishot/golden/index.d.ts +1 -1
  70. package/dist/multishot/index.d.ts +2 -2
  71. package/dist/openapi.json +1 -1
  72. package/dist/{otel-spans-DS7t1t1J.js → otel-spans-CQmSxtcS.js} +2 -2
  73. package/dist/{otel-spans-DS7t1t1J.js.map → otel-spans-CQmSxtcS.js.map} +1 -1
  74. package/dist/paired-delta-test-BF-FEP8V.js +78 -0
  75. package/dist/paired-delta-test-BF-FEP8V.js.map +1 -0
  76. package/dist/{paired-promotion-decision-6cn3bLc3.js → paired-promotion-decision-DTKl6-G8.js} +4 -77
  77. package/dist/paired-promotion-decision-DTKl6-G8.js.map +1 -0
  78. package/dist/pipelines/index.d.ts +1 -1
  79. package/dist/{produced-state-CVmCPQDJ.js → produced-state-B2AhDRnq.js} +4 -4
  80. package/dist/{produced-state-CVmCPQDJ.js.map → produced-state-B2AhDRnq.js.map} +1 -1
  81. package/dist/{promotion-policy-CfMNUro2.js → promotion-policy-Cy5OV8BV.js} +3 -3
  82. package/dist/{promotion-policy-CfMNUro2.js.map → promotion-policy-Cy5OV8BV.js.map} +1 -1
  83. package/dist/{raw-provider-sink-DYh4Bszw.js → raw-provider-sink-CXuOhLvT.js} +2 -2
  84. package/dist/{raw-provider-sink-DYh4Bszw.js.map → raw-provider-sink-CXuOhLvT.js.map} +1 -1
  85. package/dist/{redact-CopuMxll.d.ts → redact-Cveoq6fJ.d.ts} +2 -2
  86. package/dist/{redact-CopuMxll.d.ts.map → redact-Cveoq6fJ.d.ts.map} +1 -1
  87. package/dist/{redact-B7rt9Zot.js → redact-Dk1ZdJEm.js} +59 -26
  88. package/dist/redact-Dk1ZdJEm.js.map +1 -0
  89. package/dist/rl.d.ts +1 -1
  90. package/dist/rl.js +2 -2
  91. package/dist/{search-ledger-Ck7tok0h.js → search-ledger-CJiAEU3j.js} +89 -27
  92. package/dist/search-ledger-CJiAEU3j.js.map +1 -0
  93. package/dist/{search-ledger-types-C9anU2DX.d.ts → search-ledger-types-B3El5xgS.d.ts} +95 -11
  94. package/dist/search-ledger-types-B3El5xgS.d.ts.map +1 -0
  95. package/dist/{search-shipper-BG182p-U.js → search-shipper-DUlwlCsK.js} +2 -2
  96. package/dist/{search-shipper-BG182p-U.js.map → search-shipper-DUlwlCsK.js.map} +1 -1
  97. package/dist/search-summary-BhY8p0Av.js +378 -0
  98. package/dist/search-summary-BhY8p0Av.js.map +1 -0
  99. package/dist/{semantic-concept-judge-Bg-560H0.js → semantic-concept-judge-Bh5lvKGg.js} +4 -4
  100. package/dist/{semantic-concept-judge-Bg-560H0.js.map → semantic-concept-judge-Bh5lvKGg.js.map} +1 -1
  101. package/dist/{sequential-lwJOTRON.js → sequential-C21_PP7F.js} +2 -2
  102. package/dist/{sequential-lwJOTRON.js.map → sequential-C21_PP7F.js.map} +1 -1
  103. package/dist/{server-DtetGGoA.js → server-D56r1lhp.js} +2 -2
  104. package/dist/{server-DtetGGoA.js.map → server-D56r1lhp.js.map} +1 -1
  105. package/dist/{skillopt-optimization-method-DoayuM6D.js → skillopt-optimization-method-C6DbFKnw.js} +8 -8
  106. package/dist/{skillopt-optimization-method-DoayuM6D.js.map → skillopt-optimization-method-C6DbFKnw.js.map} +1 -1
  107. package/dist/{spans-BWtjk_9c.d.ts → spans-D9_ehFuk.d.ts} +2 -2
  108. package/dist/{spans-BWtjk_9c.d.ts.map → spans-D9_ehFuk.d.ts.map} +1 -1
  109. package/dist/{statistical-heldout-C1Ej5Ce8.d.ts → statistical-heldout-D-xBpbrd.d.ts} +2 -2
  110. package/dist/{statistical-heldout-C1Ej5Ce8.d.ts.map → statistical-heldout-D-xBpbrd.d.ts.map} +1 -1
  111. package/dist/{statistical-heldout-GcLIPxk4.js → statistical-heldout-DANVmyug.js} +2 -2
  112. package/dist/{statistical-heldout-GcLIPxk4.js.map → statistical-heldout-DANVmyug.js.map} +1 -1
  113. package/dist/{store-tool-spans-BcC_5ef-.js → store-tool-spans-BaGakFc2.js} +2 -2
  114. package/dist/{store-tool-spans-BcC_5ef-.js.map → store-tool-spans-BaGakFc2.js.map} +1 -1
  115. package/dist/{store-tool-spans-ByLdU26j.d.ts → store-tool-spans-BxrfuU2t.d.ts} +4 -4
  116. package/dist/{store-tool-spans-ByLdU26j.d.ts.map → store-tool-spans-BxrfuU2t.d.ts.map} +1 -1
  117. package/dist/{task-failure-attributes-CEqEfuIY.js → task-failure-attributes-DngaLdE4.js} +4 -3
  118. package/dist/task-failure-attributes-DngaLdE4.js.map +1 -0
  119. package/dist/{tool-groups-DiBi16ns.d.ts → tool-groups-BC9O7Epn.d.ts} +2 -2
  120. package/dist/tool-groups-BC9O7Epn.d.ts.map +1 -0
  121. package/dist/trace-repair/index.d.ts +1 -1
  122. package/dist/traces.d.ts +3 -3
  123. package/dist/traces.js +4 -4
  124. package/dist/{types-C1CAD70_.d.ts → types-BWwRXofp.d.ts} +328 -4
  125. package/dist/types-BWwRXofp.d.ts.map +1 -0
  126. package/dist/{types-ByZslIlr.d.ts → types-qoxUfKQg.d.ts} +2 -2
  127. package/dist/{types-ByZslIlr.d.ts.map → types-qoxUfKQg.d.ts.map} +1 -1
  128. package/dist/wire/index.js +1 -1
  129. package/docs/search-ledger.md +71 -6
  130. package/package.json +2 -2
  131. package/dist/claim-BGOUqoMq.d.ts +0 -38
  132. package/dist/claim-BGOUqoMq.d.ts.map +0 -1
  133. package/dist/index-DwQxdWve.d.ts.map +0 -1
  134. package/dist/llm-judge-Z6MkTkd0.js.map +0 -1
  135. package/dist/paired-promotion-decision-6cn3bLc3.js.map +0 -1
  136. package/dist/redact-B7rt9Zot.js.map +0 -1
  137. package/dist/search-ledger-Ck7tok0h.js.map +0 -1
  138. package/dist/search-ledger-types-C9anU2DX.d.ts.map +0 -1
  139. package/dist/task-failure-attributes-CEqEfuIY.js.map +0 -1
  140. package/dist/tool-groups-DiBi16ns.d.ts.map +0 -1
  141. package/dist/types-C1CAD70_.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,49 @@ All notable changes to `@tangle-network/agent-eval` and its sibling `agent-eval-
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## [0.193.2] — 2026-09-25
10
+
11
+ ### Fixed
12
+
13
+ - 0.193.1's release commit bumped `package.json`, `pyproject.toml` and `__init__.py` but missed `clients/python/uv.lock`'s own `agent-eval-rpc` package entry, so `verifyVersionLock` failed the publish workflow (`uvRoot=0.193.0` against `npm=0.193.1`) before the npm publish step ran. 0.193.1 was never published to any registry — this release carries the same content, correctly locked.
14
+
15
+ ## [0.193.1] — 2026-09-25
16
+
17
+ ### Fixed
18
+
19
+ - `CREDENTIAL_DETECTORS`' provider-branded prefixes (`sk-ant-`, `AIza`, `ghp_`, `xoxb-`, `AKIA`, `hubcap_`, `eyJ`…) required a leading `\b`, which does not fire between two word characters — a token glued to preceding text by an underscore or letter, in an attribute **key** as well as a value (`env.GITHUB_TOKEN_ghp_<token>`, `BACKUP_AKIA<key>`), passed both `redact()` and `assessShareSafety()` unflagged. Dropped the leading `\b` on the branded prefixes.
20
+ - `walk()`/`scan()` classified an object key only for a CREDENTIAL shape, never `detectPersonalData(key)`, so a key like an email address (`{'alice@corp-example.com': 3}`) passed as SAFE under every profile. Also dropped the same leading-`\b` gap on `huggingface-token`, `npm-token`, `gitlab-token`, `groq-key`, `xai-key` and bare-`sk`-key.
21
+ - `detectCredential` ran on the full string before the size cap applied, and `url-credentials`/`secret-assignment` had unbounded quantifiers, so adversarial text with no real credential could block the exporter/uploader's event loop for tens of seconds (measured ~59s on 256 KiB with no `://` at all). Bounded both regexes and what the value-shape detectors scan.
22
+ - `containsKnownSecret` only matched a known secret's raw/base64/base64url/URL-encoded forms as a substring; `Authorization: Basic <base64(user:key)>` survived as SAFE even with the key passed as a `knownSecret`, because userinfo's 3-byte base64 group alignment means the secret's own base64 form is generally not a substring of the surrounding base64. It now also decodes an embedded base64 span and checks the secret against the decode.
23
+ - `redact()`'s `data:` URI check matched by prefix instead of requiring the whole string to be the URI, so a `data:text/plain;base64,…`/`data:application/json;base64,…` value with a live credential in its decoded payload was always classified as opaque media. The check now requires the whole string to be the URI, and `text/*`/`application/json` payloads are decoded and scanned.
24
+ - `summarizeExecutionMeasurements` counted only `LLM` spans as model calls, so an `EMBEDDING` or `RERANKER` span's own tokens dropped out of the run total whenever a chat call anywhere in the same run also reported tokens — a real undercount (5100 measured as 100 on a trace with one 100-token chat call and one 5000-token embeddings call), not the aggregate-token-loss bug 0.191.0 already fixed. Classify model calls with the contract's `isModelCallKind` (`@tangle-network/agent-trace-contract@^1.3.0`; `LLM`, `EMBEDDING`, `RERANKER`) instead of `kind === 'LLM'`.
25
+ - `never`, `atMost`, `tokensAtMost` and `retrySafe` passed vacuously when a scoped trace had zero TOOL or LLM spans because the exporter never captured any, reading "never captured" as "none happened"; these rules now require capture evidence first and error via `CaptureIntegrityError` otherwise. A malformed `attr` matcher (an incomplete `SerializedRegex`, a bare `oneOf`) was accepted and then compared by reference, so it silently matched nothing; `assertPredicate` now validates every non-primitive `attr` value as a complete matcher shape.
26
+ - `diagnoseSpans`' `NOT_BUILT` reasons for `loop-convergence` and `steering-chain` said only that this engine has no such analysis; they now also name where the capability is built (`@tangle-network/traces`' `loop-analysis.ts`), matching the pattern `tree-comparison`'s reason already used — traces' own conformance table marks all three built, so the two reports no longer read as contradicting each other.
27
+ - `REDACTION_VERSION` → `2.4.0`.
28
+
29
+ ## [0.193.0] — 2026-09-25
30
+
31
+ ### Added
32
+
33
+ - A search with a test split ends in its claim ([search ledger](./docs/search-ledger.md#the-claim)).
34
+ When expansion stops, `runSearch` fixes the claim's design before any test cell exists (`planSearchClaim`, stored as the `claim-plan` blob of the `claim` operation): at most 3 finalists that scored every selection unit and beat the root there, ranked by selection mean; the estimator; and a power check that simulates the claim's own `decidePairedPromotion` call at the claim's `minimumEffect` with the search's pooled selection variance (`pairedPromotionPower`).
35
+ The finalists are decided `finalist`, the root's and their test cells run together ahead of everything else, and `decideSearchClaim` tests each finalist against the root at Bonferroni confidence `1 - 0.05 / k`.
36
+ A test split that cannot resolve the minimum effect closes as `test-cannot-resolve` with no test spend.
37
+ In 200 simulated 50-node searches in which no node differs from the root (12 selection and 24 test units, minimum effect 0.1), the claim shipped 5 times: 2.5 %, Wilson 95 % interval [1.1 %, 5.7 %]; per finalist, 5 of 584 tests promoted. With one child planted 0.15 better, it shipped a truly better node in 200 of 200.
38
+ - The divergence rule: a node whose train mean rose over its parent's while its selection interval against the parent lies wholly on the worse side is decided `invalid` with rule `divergence` (`searchDivergence`), and never becomes a parent or a finalist.
39
+ - `searchClaimReserveUsd({ testTasks, reps, cellUsd })` sizes `budget.reservedClaimUsd`; `SearchRunResult.claim` returns the claim.
40
+ - `renderSearchSummary(state, { split })` (`/campaign`) renders a search as compact text: the leading nodes against the root, recently discarded nodes with the measurement that discarded them, and recent proposals; `agent-eval search show <ledger>` verifies a ledger and prints it. `ProposeContext` gains `parents`, `train` (a `searchProposerView`, which reads only the train split) and `summary`, and `runOptimization`'s proposal step fills all three.
41
+ - `scripts/search-sim.ts claims` runs many simulated searches on in-memory ledgers and tallies their claims; `--null`, `--plant-gain`, `--plant-divergence`, `--test` and `--min-effect` shape them.
42
+
43
+ ### Changed
44
+
45
+ - **Breaking:** `runSearch` refuses to start a search with a test split that has no selection split, no claim `minimumEffect`, or an unpinned judge, and, under a cap, one whose `reservedClaimUsd` cannot hold the root and 3 finalists on every test task or whose cap cannot also cover the root and one screening round.
46
+ - **Breaking:** the `search-closed` claim records its `rule`, family-wise `confidence` and `reason`; its power check records the target power, finalist count, pooled variance and estimator; each finalist records its deciding `test` (pairs, confidence, method, delta, interval).
47
+ - **Breaking:** `SearchAllocator` declares `reps`, the repeats the claim's test cells run at.
48
+ - The projector refuses a finalist that is the root, a fourth finalist, a finalist decided after a claim cell, any operation, node, edge or non-claim cell after the first finalist, an edge from a node decided `invalid`, a claim that omits a finalist or tests one at the wrong Bonferroni confidence, and a `ship` claim without a pinned judge or with a test unit the root or the shipped finalist did not score.
49
+ - `operation-started` binds its artifacts, which `SearchOperation.artifacts` lists before the recorded ones.
50
+ - Migration: add `reps` to a custom allocator; give a search with a test split a selection split, `objective.claim.minimumEffect`, a pinned `objective.judge` and, when capped, `budget.reservedClaimUsd` of at least `searchClaimReserveUsd(...)`.
51
+
9
52
  ## [0.192.0] — 2026-09-25
10
53
 
11
54
  ### Added
@@ -47,8 +90,8 @@ All notable changes to `@tangle-network/agent-eval` and its sibling `agent-eval-
47
90
 
48
91
  ### Changed
49
92
 
50
- - Span classification and the attribute key lists come from `@tangle-network/agent-trace-contract` (`resolveSpanKind`, `declaredSpanKind`, `SPAN_KINDS`); agent-eval's own copies are gone (#823).
51
- The analyst shows the declared OpenInference kind, agent-eval's own spans export as `RETRIEVER` and `UNKNOWN` where they wrote `CHAIN` and `SPAN`, and a legacy `SPAN` kind is still accepted on read.
93
+ - **Breaking:** span classification and the attribute key lists come from `@tangle-network/agent-trace-contract` (`resolveSpanKind`, `declaredSpanKind`, `SPAN_KINDS`); agent-eval's own copies are gone (#823).
94
+ The analyst shows the declared OpenInference kind, agent-eval's own spans export as `RETRIEVER` and `UNKNOWN` where they wrote `CHAIN` and `SPAN`, and a legacy `SPAN` kind is still accepted (and normalized to `UNKNOWN`) on read — but `TraceAnalystSpanKind` (now an alias of the contract's `SpanKind`) no longer has a `'SPAN'` member, so a consumer whose own code returns or type-checks the string `'SPAN'` against `TraceAnalystSpanKind` fails to compile on this version. `Intelligence`'s `pg-trace-analyst-store.ts` `inferKind` and `agent-builder`'s `d1-trace-analysis-store-adapter.ts` mapping both do this today; replace those with the contract's `declaredSpanKind`/`resolveSpanKind` before bumping past 0.190.1.
52
95
  Both OTLP intakes decide model calls and aggregates from one span kind, so an undeclared agent or workflow span no longer sums its children's tokens a second time.
53
96
  - **Breaking:** the hosted wire ships search ledgers, not eval-run snapshots ([hosted ingest spec](./docs/hosted-ingest-spec.md)).
54
97
  A producer uploads each blob an entry names (`PUT /v1/search-blobs/<sha256>`), reads the store's head (`GET /v1/ingest/search-ledger/<searchId>/head`), and posts canonical ledger lines from there (`POST /v1/ingest/search-ledger`, at most 1,000 lines or 1 MiB).
@@ -1,6 +1,6 @@
1
1
  import { m as CostReceipt } from "../cost-ledger-DbQdN3nO.js";
2
- import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-C1CAD70_.js";
3
- import "../index-DNVzu9Vv.js";
2
+ import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-BWwRXofp.js";
3
+ import "../index-DWQNDqPd.js";
4
4
  //#region src/adapters/http.d.ts
5
5
  interface HttpDispatchOptions<TScenario extends Scenario, _TArtifact> {
6
6
  /** Static endpoint URL. Mutually exclusive with `resolveUrl`. */
@@ -4,10 +4,10 @@ import { A as createChatClient, C as ChatResponse, D as MockTransportOpts, E as
4
4
  import { A as runAnalystBenchmark, C as AnalystEvidenceResolutionError, D as AnalystLatencyDistribution, E as AnalystIssueExpectation, M as scoreAnalystFindings, O as RunAnalystBenchmarkOptions, S as AnalystEvidenceResolution, T as AnalystFindingScore, V as ExternalOptimizerModelCall, W as ExternalOptimizerModelExecutionObservation, _ as AnalystBenchmarkProvenance, b as AnalystBenchmarkSummary, d as AnalystBenchmarkDatasetRef, f as AnalystBenchmarkDescriptor, g as AnalystBenchmarkOutput, h as AnalystBenchmarkObservation, j as traceStoreEvidenceResolver, k as registryBenchmarkRunner, m as AnalystBenchmarkLabelState, p as AnalystBenchmarkError, q as ExternalOptimizerRunnerCommand, t as AgentProfile, u as AnalystBenchmarkCase, v as AnalystBenchmarkResult, w as AnalystEvidenceResolver, x as AnalystEvidenceExpectation, y as AnalystBenchmarkRunner } from "../agent-profile-DDfIjdyS.js";
5
5
  import { a as ExactAnalystRunPolicySnapshot, c as ExactAnalystSnapshot, d as ExactExecutionComponentSnapshot, i as ExactAnalystRunEvent, l as ExactCapableAnalyst, n as ExactAnalystExecutionPlanSnapshot, o as ExactAnalystRunResult, r as ExactAnalystRunCompletion, s as ExactAnalystRunSummary, t as ExactAnalystBudgetSnapshot, u as ExactExecutionComponentIdentity } from "../exact-types-KGxBWH4b.js";
6
6
  import { a as ExactAnalystBudgetPolicy, c as RegistryRunOpts, i as BudgetPolicy, n as AnalystRegistry, o as ExactAnalystRunExecutionError, r as AnalystRegistryOptions, s as ExactRegistryRunOpts, t as AnalystHooks } from "../registry-Bu3lNole.js";
7
- import { a as createTraceAnalyst, c as BehavioralAnalystOptions, i as TraceAnalystDefinition, l as behavioralAnalyst, n as buildDefaultAnalystRegistry, o as renderPriorFindings, r as CreateTraceAnalystOptions, s as runTraceAnalyst, t as DefaultAnalystRegistryOptions, u as deriveEfficiencyFindings } from "../default-registry-DdqA_-_o.js";
8
- import { a as TraceAnalystLimits, c as RawAnalystEvidence, d as evidenceRefsFromRawFinding, f as parseRawFinding, i as TraceAnalysisEngineResult, l as RawAnalystFinding, n as TraceAnalysisEngine, o as resolveTraceAnalystLimits, r as TraceAnalysisEngineRequest, s as RAW_FINDING_SCHEMA_PROMPT, t as DEFAULT_TRACE_ANALYST_OUTPUT_TOKENS, u as RawAnalystFindingSchema } from "../engine-C1DIAEpn.js";
9
- import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-DiBi16ns.js";
10
- import { A as SemanticConceptJudgeInput, C as DspyRlmTraceEngineOptions, E as createChatTraceEngine, S as renderFindingSubject, T as ChatTraceEngineOptions, _ as FindingSubject, a as FAILURE_MODE_KIND_SPEC, b as findingSubjectGrammarPromptFor, c as emitControlIntegrityFindings, d as FindingsStore, f as PersistedFinding, g as FINDING_SUBJECT_SYNTAX, h as FINDING_SUBJECT_KINDS, i as IMPROVEMENT_KIND_SPEC, j as SemanticConceptJudgeOptions, l as DiffPolicy, m as diffFindings, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as defaultIsMaterial, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FindingsDiff, v as FindingSubjectKind, w as createDspyRlmTraceEngine, x as parseFindingSubject, y as KIND_EXPECTED_SUBJECTS } from "../index-DBoXFaz0.js";
7
+ import { a as createTraceAnalyst, c as BehavioralAnalystOptions, i as TraceAnalystDefinition, l as behavioralAnalyst, n as buildDefaultAnalystRegistry, o as renderPriorFindings, r as CreateTraceAnalystOptions, s as runTraceAnalyst, t as DefaultAnalystRegistryOptions, u as deriveEfficiencyFindings } from "../default-registry-C3HTE08O.js";
8
+ import { a as TraceAnalystLimits, c as RawAnalystEvidence, d as evidenceRefsFromRawFinding, f as parseRawFinding, i as TraceAnalysisEngineResult, l as RawAnalystFinding, n as TraceAnalysisEngine, o as resolveTraceAnalystLimits, r as TraceAnalysisEngineRequest, s as RAW_FINDING_SCHEMA_PROMPT, t as DEFAULT_TRACE_ANALYST_OUTPUT_TOKENS, u as RawAnalystFindingSchema } from "../engine-DjRV55F9.js";
9
+ import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-BC9O7Epn.js";
10
+ import { A as SemanticConceptJudgeInput, C as DspyRlmTraceEngineOptions, E as createChatTraceEngine, S as renderFindingSubject, T as ChatTraceEngineOptions, _ as FindingSubject, a as FAILURE_MODE_KIND_SPEC, b as findingSubjectGrammarPromptFor, c as emitControlIntegrityFindings, d as FindingsStore, f as PersistedFinding, g as FINDING_SUBJECT_SYNTAX, h as FINDING_SUBJECT_KINDS, i as IMPROVEMENT_KIND_SPEC, j as SemanticConceptJudgeOptions, l as DiffPolicy, m as diffFindings, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as defaultIsMaterial, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FindingsDiff, v as FindingSubjectKind, w as createDspyRlmTraceEngine, x as parseFindingSubject, y as KIND_EXPECTED_SUBJECTS } from "../index-0jEtpSM7.js";
11
11
  import { A as ReplyRowDecoded, C as primeProtocolSha256, D as DecodedReply, E as runPrimeExchange, M as decodeReplyRows, O as ReplyContract, S as normalizePrimeUsage, T as projectPrimeTrajectory, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as extractPrimeJsonObject, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, j as ReplyRowRejection, k as ReplyEnvelope, l as PrimeRawUsage, m as PrimeRowDecoded, n as PrimeExchangeOutcome, o as PrimeProjectionSource, p as PrimeReplyContract, r as PrimeFailure, s as PrimePromptSpec, t as PrimeExchangeOptions, u as PrimeRejectedRow, v as buildPrimeRepairPrompt, w as primeReplyDefect, x as mergePrimeRawUsage, y as emptyPrimeRawUsage } from "../prime-protocol-T0i6xcAs.js";
12
12
  import { i as nodeHttpPrimeBridgeTransport, n as PrimeBridgeTransportRequest, r as PrimeBridgeTransportResult, t as PrimeBridgeTransport } from "../prime-bridge-transport-6feEglLf.js";
13
13
  import { z } from "zod";
@@ -1181,11 +1181,11 @@ declare function runAnalystBenchmarkCommand(argv: readonly string[], env?: NodeJ
1181
1181
  declare const ANALYST_BENCHMARK_IMPLEMENTATION_DIGEST_ALGORITHM = "sha256-canonical-source-manifest";
1182
1182
  declare const ANALYST_BENCHMARK_DEPENDENCY_LOCK_DIGEST_ALGORITHM = "sha256-canonical-file-manifest";
1183
1183
  declare const ANALYST_BENCHMARK_DEPENDENCY_LOCK_FILES: readonly string[];
1184
- declare const ANALYST_BENCHMARK_DEPENDENCY_LOCK_SHA256 = "091c759150ea8d7d8cf77f207b6b33992d605743f1d64f42b8e8b63207dade89";
1184
+ declare const ANALYST_BENCHMARK_DEPENDENCY_LOCK_SHA256 = "e9b253dfc787e8182469d970803b94f88e20b4f8dff4b68707462b5749c4c216";
1185
1185
  declare const ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256 = "1e03f2daed356d60316aabefb407ec1e437ac94d408d61eea4ae096e9c6fbb5b";
1186
1186
  declare const ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256 = "4dba263b6256a30d56c7fdb2d992d3a953c0035d731f359b704db806f68f75ac";
1187
1187
  declare const ANALYST_BENCHMARK_IMPLEMENTATION_FILES: readonly string[];
1188
- declare const ANALYST_BENCHMARK_IMPLEMENTATION_SHA256 = "00002cbbc8a749281287418f0abc03e4fc6a78ef3c1b4f21e33f2452629283da";
1188
+ declare const ANALYST_BENCHMARK_IMPLEMENTATION_SHA256 = "8bb4bdae57e4c5596ffe77d80c7a16e67eef7b2fc5087c2af369a417ed423a26";
1189
1189
  declare function analystBenchmarkImplementationDigest(): string;
1190
1190
  declare function analystBenchmarkDependencyLockDigest(): string;
1191
1191
  //#endregion
@@ -4,11 +4,11 @@ import { B as FINDING_SUBJECT_SYNTAX, F as parseRawFinding, G as DEFAULT_TRACE_A
4
4
  import { i as validateUsageSettlementTimeout, n as settleUsageReceiptFromCostLedger } from "../usage-receipt-Cx3xNeyB.js";
5
5
  import { a as KNOWLEDGE_POISONING_KIND_SPEC, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as behavioralAnalyst, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as deriveEfficiencyFindings, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst } from "../default-registry-xMLX160E.js";
6
6
  import { i as makeProposalFinding, n as computeFindingId, r as makeFinding } from "../types-CW5b90JH.js";
7
- import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-BX34vPVY.js";
8
- import { a as diffFindings, i as defaultIsMaterial, n as runSemanticConceptJudge, o as createChatTraceEngine, r as FindingsStore, t as SEMANTIC_CONCEPT_JUDGE_VERSION } from "../semantic-concept-judge-Bg-560H0.js";
9
- import { t as createChatClient } from "../chat-client-B_ItsSBw.js";
7
+ import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-k_QdEBZo.js";
8
+ import { a as diffFindings, i as defaultIsMaterial, n as runSemanticConceptJudge, o as createChatTraceEngine, r as FindingsStore, t as SEMANTIC_CONCEPT_JUDGE_VERSION } from "../semantic-concept-judge-Bh5lvKGg.js";
9
+ import { t as createChatClient } from "../chat-client-CJORSG_J.js";
10
10
  import { a as scoreAnalystFindings, i as summarizeAnalystBenchmarkRunner, n as runAnalystBenchmark, r as traceStoreEvidenceResolver, t as registryBenchmarkRunner } from "../benchmark-BeQJyrRC.js";
11
- import { $ as ANALYST_BENCHMARK_MANIFEST_FILE, A as readAnalystInstructionsOverride, B as parseVerificationOutcome, C as emptyPublicBenchmarkRunner, D as summarizeCodeTraceCalibration, E as renderCodeTraceCalibrationMarkdown, F as publicBenchmarkRlmInstructions, G as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, H as ANALYST_BENCHMARK_DEPENDENCY_LOCK_FILES, I as publicBenchmarkSystemPrompt, J as ANALYST_BENCHMARK_IMPLEMENTATION_SHA256, K as ANALYST_BENCHMARK_IMPLEMENTATION_DIGEST_ALGORITHM, L as DEFAULT_MAX_VERIFICATION_ARTIFACT_BYTES, M as MAX_INCORRECT_BLOCKS, N as MAX_INCORRECT_BLOCK_STEPS, O as analystInstructionsOverrideFromText, P as publicBenchmarkProtocolSha256, Q as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, R as appendVerificationArtifactsToOtlp, S as adaptPublicBenchmarkFindings, T as readAnalystBenchmarkArtifact, U as ANALYST_BENCHMARK_DEPENDENCY_LOCK_SHA256, V as ANALYST_BENCHMARK_DEPENDENCY_LOCK_DIGEST_ALGORITHM, W as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, X as analystBenchmarkImplementationDigest, Y as analystBenchmarkDependencyLockDigest, Z as ANALYST_BENCHMARK_COST_LEDGER_FILE, _ as publicDirectAnalystDefinition, a as primeCodeTraceAnalystDefinition, at as codeTraceBenchCase, b as analystDefinitionAsymmetries, c as preparePublicAnalystBenchmark, ct as agentRxPredictionsToFindings, d as selectPublicBenchmarkRows, dt as normalizeBenchmarkLabel, et as ANALYST_BENCHMARK_OBSERVATIONS_FILE, f as createPublicBenchmarkRlmRunner, g as createPublicBenchmarkDirectRunner, h as runReplVariableAnalystDefinition, i as primeAnalystProtocolSha256, it as summarizeAgentRxCalibration, j as CODE_TRACE_BENCH_ANALYST_PROMPT, k as effectiveAnalystProtocolSha256, l as publicBenchmarkDistributions, lt as normalizeAgentRxCategory, m as rlmEngineLimits, n as renderAnalystBenchmarkMarkdown, nt as AGENT_RX_UPSTREAM_REVISION, o as runInlineAnalystDefinition, ot as codeTracerPredictionsToFindings, p as publicRlmAnalystDefinition, q as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, r as createPrimeBenchmarkRunner, rt as renderAgentRxCalibrationMarkdown, s as loadPublicBenchmarkRows, st as agentRxBenchmarkCase, t as runAnalystBenchmarkCommand, tt as compareAnalystRunners, u as publicBenchmarkSelectionReport, ut as roundAgentRxStep, v as runChunkedAnalystDefinition, w as expandCodeTraceFailureBlocks, x as analystDefinitionProtocolSha256, y as AnalystExpressivenessError, z as loadCodeTraceVerificationArtifacts } from "../benchmark-command-C458yEFK.js";
11
+ import { $ as ANALYST_BENCHMARK_MANIFEST_FILE, A as readAnalystInstructionsOverride, B as parseVerificationOutcome, C as emptyPublicBenchmarkRunner, D as summarizeCodeTraceCalibration, E as renderCodeTraceCalibrationMarkdown, F as publicBenchmarkRlmInstructions, G as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, H as ANALYST_BENCHMARK_DEPENDENCY_LOCK_FILES, I as publicBenchmarkSystemPrompt, J as ANALYST_BENCHMARK_IMPLEMENTATION_SHA256, K as ANALYST_BENCHMARK_IMPLEMENTATION_DIGEST_ALGORITHM, L as DEFAULT_MAX_VERIFICATION_ARTIFACT_BYTES, M as MAX_INCORRECT_BLOCKS, N as MAX_INCORRECT_BLOCK_STEPS, O as analystInstructionsOverrideFromText, P as publicBenchmarkProtocolSha256, Q as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, R as appendVerificationArtifactsToOtlp, S as adaptPublicBenchmarkFindings, T as readAnalystBenchmarkArtifact, U as ANALYST_BENCHMARK_DEPENDENCY_LOCK_SHA256, V as ANALYST_BENCHMARK_DEPENDENCY_LOCK_DIGEST_ALGORITHM, W as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, X as analystBenchmarkImplementationDigest, Y as analystBenchmarkDependencyLockDigest, Z as ANALYST_BENCHMARK_COST_LEDGER_FILE, _ as publicDirectAnalystDefinition, a as primeCodeTraceAnalystDefinition, at as codeTraceBenchCase, b as analystDefinitionAsymmetries, c as preparePublicAnalystBenchmark, ct as agentRxPredictionsToFindings, d as selectPublicBenchmarkRows, dt as normalizeBenchmarkLabel, et as ANALYST_BENCHMARK_OBSERVATIONS_FILE, f as createPublicBenchmarkRlmRunner, g as createPublicBenchmarkDirectRunner, h as runReplVariableAnalystDefinition, i as primeAnalystProtocolSha256, it as summarizeAgentRxCalibration, j as CODE_TRACE_BENCH_ANALYST_PROMPT, k as effectiveAnalystProtocolSha256, l as publicBenchmarkDistributions, lt as normalizeAgentRxCategory, m as rlmEngineLimits, n as renderAnalystBenchmarkMarkdown, nt as AGENT_RX_UPSTREAM_REVISION, o as runInlineAnalystDefinition, ot as codeTracerPredictionsToFindings, p as publicRlmAnalystDefinition, q as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, r as createPrimeBenchmarkRunner, rt as renderAgentRxCalibrationMarkdown, s as loadPublicBenchmarkRows, st as agentRxBenchmarkCase, t as runAnalystBenchmarkCommand, tt as compareAnalystRunners, u as publicBenchmarkSelectionReport, ut as roundAgentRxStep, v as runChunkedAnalystDefinition, w as expandCodeTraceFailureBlocks, x as analystDefinitionProtocolSha256, y as AnalystExpressivenessError, z as loadCodeTraceVerificationArtifacts } from "../benchmark-command-N5r3GXMP.js";
12
12
  import { a as extractPrimeJsonObject, c as primeProtocolSha256, d as runPrimeExchange, f as decodeReplyRows, i as emptyPrimeRawUsage, l as primeReplyDefect, n as buildPrimePrompt, o as mergePrimeRawUsage, r as buildPrimeRepairPrompt, s as normalizePrimeUsage, t as analystUsageReceiptFromPrimeUsage, u as projectPrimeTrajectory } from "../prime-protocol-DcAK9pC8.js";
13
13
  import { t as nodeHttpPrimeBridgeTransport } from "../prime-bridge-transport-Z3cpKGoV.js";
14
14
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
@@ -5,7 +5,7 @@ import { i as requiredPairedSampleSize, r as pairedMde } from "./power-and-mde-B
5
5
  import { r as pairRunRecords } from "./paired-arms-JSDcs2zx.js";
6
6
  import { o as pairedTTest, r as pairedBootstrap } from "./paired-tests-C8iCsioC.js";
7
7
  import { r as welchsTTest } from "./baseline-BC-eBZ7U.js";
8
- import { n as aggregatePairedHoldout } from "./statistical-heldout-GcLIPxk4.js";
8
+ import { n as aggregatePairedHoldout } from "./statistical-heldout-DANVmyug.js";
9
9
  import "./query-DlV0pdx4.js";
10
10
  import { r as observedSplitScore } from "./reward-nw2xZGZG.js";
11
11
  import { u as validateRunRecord } from "./run-record-BRlM99rX.js";
@@ -982,4 +982,4 @@ function buildRecommendations(ctx) {
982
982
  //#endregion
983
983
  export { summarizeExecution as n, checkCanaries as r, analyzeRuns as t };
984
984
 
985
- //# sourceMappingURL=analyze-runs-SCSWYpy0.js.map
985
+ //# sourceMappingURL=analyze-runs-B6gv7vAT.js.map