@tangle-network/agent-eval 2.0.9 → 2.0.11

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 (235) hide show
  1. package/CHANGELOG.md +68 -16
  2. package/dist/adapters/http.d.ts +2 -2
  3. package/dist/{agent-profile-ORN4aArD.d.ts → agent-profile-_JzxgLDM.d.ts} +11 -5
  4. package/dist/{agent-profile-ORN4aArD.d.ts.map → agent-profile-_JzxgLDM.d.ts.map} +1 -1
  5. package/dist/analyst/index.d.ts +14 -14
  6. package/dist/analyst/index.js +31 -10
  7. package/dist/analyst/index.js.map +1 -1
  8. package/dist/{analyze-runs-DT693FJ7.d.ts → analyze-runs-Izz_ZeWg.d.ts} +2 -2
  9. package/dist/{analyze-runs-DT693FJ7.d.ts.map → analyze-runs-Izz_ZeWg.d.ts.map} +1 -1
  10. package/dist/{analyze-runs-CE_5VKh2.js → analyze-runs-xhH2Qxoc.js} +5 -5
  11. package/dist/{analyze-runs-CE_5VKh2.js.map → analyze-runs-xhH2Qxoc.js.map} +1 -1
  12. package/dist/app-grade/index.d.ts +4 -4
  13. package/dist/{benchmark-command-DLg8E4y8.js → benchmark-command-CGQXNFj7.js} +8 -7
  14. package/dist/benchmark-command-CGQXNFj7.js.map +1 -0
  15. package/dist/benchmarks/index.d.ts +5 -5
  16. package/dist/benchmarks/index.d.ts.map +1 -1
  17. package/dist/benchmarks/index.js +18 -9
  18. package/dist/benchmarks/index.js.map +1 -1
  19. package/dist/campaign/index.d.ts +7 -7
  20. package/dist/campaign/index.js +11 -11
  21. package/dist/{campaign-C_S3MOYa.js → campaign-eus7YRs2.js} +13 -13
  22. package/dist/{campaign-C_S3MOYa.js.map → campaign-eus7YRs2.js.map} +1 -1
  23. package/dist/{campaign-evidence-CM4FBOkX.d.ts → campaign-evidence-BOcX4w0r.d.ts} +5 -5
  24. package/dist/{campaign-evidence-CM4FBOkX.d.ts.map → campaign-evidence-BOcX4w0r.d.ts.map} +1 -1
  25. package/dist/{campaign-evidence-BTfzZo1u.js → campaign-evidence-KM5GTsHG.js} +3 -3
  26. package/dist/{campaign-evidence-BTfzZo1u.js.map → campaign-evidence-KM5GTsHG.js.map} +1 -1
  27. package/dist/{chat-client-uQNXGuO4.d.ts → chat-client-BlTooBDA.d.ts} +7 -2
  28. package/dist/{chat-client-uQNXGuO4.d.ts.map → chat-client-BlTooBDA.d.ts.map} +1 -1
  29. package/dist/{chat-client-CvyDOQBv.js → chat-client-Oyot5tyo.js} +2 -2
  30. package/dist/{chat-client-CvyDOQBv.js.map → chat-client-Oyot5tyo.js.map} +1 -1
  31. package/dist/{chat-json-call-DMrwmB-k.js → chat-json-call-DTmv2uNY.js} +2 -2
  32. package/dist/{chat-json-call-DMrwmB-k.js.map → chat-json-call-DTmv2uNY.js.map} +1 -1
  33. package/dist/cli.js +7 -7
  34. package/dist/{cluster-C-K0N2br.d.ts → cluster-BJ0nW3P7.d.ts} +2 -2
  35. package/dist/{cluster-C-K0N2br.d.ts.map → cluster-BJ0nW3P7.d.ts.map} +1 -1
  36. package/dist/{cluster-bootstrap-DXbnIdm8.js → cluster-bootstrap-CTC8Dd30.js} +2 -2
  37. package/dist/{cluster-bootstrap-DXbnIdm8.js.map → cluster-bootstrap-CTC8Dd30.js.map} +1 -1
  38. package/dist/{completion-verifier-DsotH2l3.js → completion-verifier-CCPG2Yc0.js} +3 -3
  39. package/dist/{completion-verifier-DsotH2l3.js.map → completion-verifier-CCPG2Yc0.js.map} +1 -1
  40. package/dist/{completion-verifier-C7wipJOK.d.ts → completion-verifier-CQOC3_bm.d.ts} +2 -2
  41. package/dist/{completion-verifier-C7wipJOK.d.ts.map → completion-verifier-CQOC3_bm.d.ts.map} +1 -1
  42. package/dist/contract/index.d.ts +11 -11
  43. package/dist/contract/index.js +12 -12
  44. package/dist/{default-registry-kps1SOaD.js → default-registry-Rs5uzlfJ.js} +3 -3
  45. package/dist/{default-registry-kps1SOaD.js.map → default-registry-Rs5uzlfJ.js.map} +1 -1
  46. package/dist/{default-registry-Bskl2HzV.d.ts → default-registry-X8McMoUV.d.ts} +6 -6
  47. package/dist/{default-registry-Bskl2HzV.d.ts.map → default-registry-X8McMoUV.d.ts.map} +1 -1
  48. package/dist/{define-agent-eval-Dnh4jXLX.js → define-agent-eval-D8ntOXqV.js} +3 -3
  49. package/dist/{define-agent-eval-Dnh4jXLX.js.map → define-agent-eval-D8ntOXqV.js.map} +1 -1
  50. package/dist/{define-agent-eval-tu3anVlk.d.ts → define-agent-eval-DH5-xi-F.d.ts} +4 -4
  51. package/dist/{define-agent-eval-tu3anVlk.d.ts.map → define-agent-eval-DH5-xi-F.d.ts.map} +1 -1
  52. package/dist/diagnosis/index.d.ts +2 -2
  53. package/dist/diagnosis/index.js +1 -1
  54. package/dist/{dspy-rlm-engine-DQbPdT_o.js → dspy-rlm-engine-ChE1PUM5.js} +3 -3
  55. package/dist/{dspy-rlm-engine-DQbPdT_o.js.map → dspy-rlm-engine-ChE1PUM5.js.map} +1 -1
  56. package/dist/{eval-campaign-DswSn7Gm.js → eval-campaign-BciGnrGy.js} +2 -2
  57. package/dist/{eval-campaign-DswSn7Gm.js.map → eval-campaign-BciGnrGy.js.map} +1 -1
  58. package/dist/{evaluation-C4-tf3Z_.d.ts → evaluation-CjZH6gW0.d.ts} +4 -4
  59. package/dist/{evaluation-C4-tf3Z_.d.ts.map → evaluation-CjZH6gW0.d.ts.map} +1 -1
  60. package/dist/evaluation.d.ts +1 -1
  61. package/dist/{exact-types-CUsSMW3n.d.ts → exact-types-BIHqYBYf.d.ts} +2 -2
  62. package/dist/{exact-types-CUsSMW3n.d.ts.map → exact-types-BIHqYBYf.d.ts.map} +1 -1
  63. package/dist/experiment/index.d.ts +5 -5
  64. package/dist/experiment/index.js +8 -8
  65. package/dist/{external-optimizer-contracts-ZDBfbZ_s.js → external-optimizer-contracts-BFV8lnhl.js} +7 -2
  66. package/dist/{external-optimizer-contracts-ZDBfbZ_s.js.map → external-optimizer-contracts-BFV8lnhl.js.map} +1 -1
  67. package/dist/{external-optimizer-process-CVi1x2nb.js → external-optimizer-process-B6emPodQ.js} +3 -3
  68. package/dist/{external-optimizer-process-CVi1x2nb.js.map → external-optimizer-process-B6emPodQ.js.map} +1 -1
  69. package/dist/{external-optimizer-subprocess-mV-2swJI.js → external-optimizer-subprocess-_O06eDVA.js} +33 -20
  70. package/dist/external-optimizer-subprocess-_O06eDVA.js.map +1 -0
  71. package/dist/{feedback-trajectory-D7hgL6y5.d.ts → feedback-trajectory-CoQPmSJV.d.ts} +3 -3
  72. package/dist/{feedback-trajectory-D7hgL6y5.d.ts.map → feedback-trajectory-CoQPmSJV.d.ts.map} +1 -1
  73. package/dist/{findings-store-CZy5kUDo.js → findings-store-CvYUzQBR.js} +4 -4
  74. package/dist/{findings-store-CZy5kUDo.js.map → findings-store-CvYUzQBR.js.map} +1 -1
  75. package/dist/{index-Cav3abKy.d.ts → index-BSb3fJyZ.d.ts} +81 -19
  76. package/dist/{index-Cav3abKy.d.ts.map → index-BSb3fJyZ.d.ts.map} +1 -1
  77. package/dist/{index-CIqYaySd.d.ts → index-Bk1XEkP7.d.ts} +26 -16
  78. package/dist/index-Bk1XEkP7.d.ts.map +1 -0
  79. package/dist/{index-DmMHTDjT.d.ts → index-BmWw8zN6.d.ts} +9 -9
  80. package/dist/{index-DmMHTDjT.d.ts.map → index-BmWw8zN6.d.ts.map} +1 -1
  81. package/dist/{index--vDCtdaj.d.ts → index-CCOaNmh2.d.ts} +7 -7
  82. package/dist/{index--vDCtdaj.d.ts.map → index-CCOaNmh2.d.ts.map} +1 -1
  83. package/dist/{index-moZnazVj.d.ts → index-Cn9gB5Ca.d.ts} +21 -21
  84. package/dist/{index-moZnazVj.d.ts.map → index-Cn9gB5Ca.d.ts.map} +1 -1
  85. package/dist/{index-Er8TKQ3q.d.ts → index-aRalB_Ma.d.ts} +3 -3
  86. package/dist/{index-Er8TKQ3q.d.ts.map → index-aRalB_Ma.d.ts.map} +1 -1
  87. package/dist/index.d.ts +29 -29
  88. package/dist/index.js +23 -23
  89. package/dist/{integrity-BF0tJK21.js → integrity-DacT3oJ1.js} +2 -2
  90. package/dist/{integrity-BF0tJK21.js.map → integrity-DacT3oJ1.js.map} +1 -1
  91. package/dist/{integrity-BJGstiCh.d.ts → integrity-DotDLWtj.d.ts} +2 -2
  92. package/dist/{integrity-BJGstiCh.d.ts.map → integrity-DotDLWtj.d.ts.map} +1 -1
  93. package/dist/{judge-gate-DANg5FLq.js → judge-gate-CpD3wmcf.js} +2 -2
  94. package/dist/{judge-gate-DANg5FLq.js.map → judge-gate-CpD3wmcf.js.map} +1 -1
  95. package/dist/{llm-client-Dw4x6EdE.js → llm-client-Dk8lBnMh.js} +15 -2
  96. package/dist/{llm-client-Dw4x6EdE.js.map → llm-client-Dk8lBnMh.js.map} +1 -1
  97. package/dist/{llm-judge-DFoSy4Qn.js → llm-judge-DYmEdo3M.js} +3 -3
  98. package/dist/{llm-judge-DFoSy4Qn.js.map → llm-judge-DYmEdo3M.js.map} +1 -1
  99. package/dist/{matrix-OgdWQBQa.d.ts → matrix-BDl7hoBr.d.ts} +2 -2
  100. package/dist/{matrix-OgdWQBQa.d.ts.map → matrix-BDl7hoBr.d.ts.map} +1 -1
  101. package/dist/{measure-validity-plan-B1_qYlsk.d.ts → measure-validity-plan-BReXzcVh.d.ts} +62 -4
  102. package/dist/measure-validity-plan-BReXzcVh.d.ts.map +1 -0
  103. package/dist/{measure-validity-plan-t0YQRzJQ.js → measure-validity-plan-CJkBNzX_.js} +43 -6
  104. package/dist/measure-validity-plan-CJkBNzX_.js.map +1 -0
  105. package/dist/meta-eval/index.d.ts +2 -2
  106. package/dist/meta-eval/index.js +178 -35
  107. package/dist/meta-eval/index.js.map +1 -1
  108. package/dist/multishot/golden/index.d.ts +1 -1
  109. package/dist/multishot/index.d.ts +56 -17
  110. package/dist/multishot/index.d.ts.map +1 -1
  111. package/dist/multishot/index.js +93 -20
  112. package/dist/multishot/index.js.map +1 -1
  113. package/dist/node-transport-DJno8V46.js +62 -0
  114. package/dist/node-transport-DJno8V46.js.map +1 -0
  115. package/dist/openapi.json +1 -1
  116. package/dist/{optimization-method-D4CpYsVA.js → optimization-method-4JlbMxd2.js} +27 -38
  117. package/dist/optimization-method-4JlbMxd2.js.map +1 -0
  118. package/dist/{paired-arms-B6EXnI47.js → paired-arms-CJH5Q0wx.js} +2 -2
  119. package/dist/{paired-arms-B6EXnI47.js.map → paired-arms-CJH5Q0wx.js.map} +1 -1
  120. package/dist/{paired-promotion-decision-xYe881cD.js → paired-promotion-decision-BtfVwEAk.js} +2 -2
  121. package/dist/{paired-promotion-decision-xYe881cD.js.map → paired-promotion-decision-BtfVwEAk.js.map} +1 -1
  122. package/dist/{paired-promotion-decision-DuvRdnsW.d.ts → paired-promotion-decision-DJlI4z_k.d.ts} +2 -2
  123. package/dist/{paired-promotion-decision-DuvRdnsW.d.ts.map → paired-promotion-decision-DJlI4z_k.d.ts.map} +1 -1
  124. package/dist/{paired-promotion-power-DirShsIs.js → paired-promotion-power-DG1avBKf.js} +3 -3
  125. package/dist/{paired-promotion-power-DirShsIs.js.map → paired-promotion-power-DG1avBKf.js.map} +1 -1
  126. package/dist/pipelines/index.js +1 -1
  127. package/dist/{power-DTg6u30w.js → power-COie_o6E.js} +3 -3
  128. package/dist/{power-DTg6u30w.js.map → power-COie_o6E.js.map} +1 -1
  129. package/dist/{prime-protocol-Jm2pWh--.d.ts → prime-protocol-BRMk6dGI.d.ts} +2 -2
  130. package/dist/{prime-protocol-Jm2pWh--.d.ts.map → prime-protocol-BRMk6dGI.d.ts.map} +1 -1
  131. package/dist/{promotion-gate-BXgcORnM.d.ts → promotion-gate-B0VTBoXg.d.ts} +2 -2
  132. package/dist/{promotion-gate-BXgcORnM.d.ts.map → promotion-gate-B0VTBoXg.d.ts.map} +1 -1
  133. package/dist/{promotion-policy-Z5E-C32U.js → promotion-policy-BgI7PsQn.js} +3 -3
  134. package/dist/{promotion-policy-Z5E-C32U.js.map → promotion-policy-BgI7PsQn.js.map} +1 -1
  135. package/dist/{registry-DEZDECdr.d.ts → registry-BeInzotS.d.ts} +4 -4
  136. package/dist/{registry-DEZDECdr.d.ts.map → registry-BeInzotS.d.ts.map} +1 -1
  137. package/dist/reporting.d.ts +4 -4
  138. package/dist/reporting.js +3 -3
  139. package/dist/{research-report-CIgUe1lv.d.ts → research-report-CL5_UqCX.d.ts} +2 -2
  140. package/dist/{research-report-CIgUe1lv.d.ts.map → research-report-CL5_UqCX.d.ts.map} +1 -1
  141. package/dist/{researcher-CY_byuZl.d.ts → researcher-BOpZP_Ja.d.ts} +4 -4
  142. package/dist/{researcher-CY_byuZl.d.ts.map → researcher-BOpZP_Ja.d.ts.map} +1 -1
  143. package/dist/rl.d.ts +7 -7
  144. package/dist/rl.js +4 -4
  145. package/dist/rollout/index.d.ts +2 -2
  146. package/dist/rollout/index.js +1 -1
  147. package/dist/{rollout-B_lrpd9a.js → rollout--rSr43Pd.js} +2 -2
  148. package/dist/{rollout-B_lrpd9a.js.map → rollout--rSr43Pd.js.map} +1 -1
  149. package/dist/{rollout-nodes-Vas6OSxX.js → rollout-nodes-DFxKpIr2.js} +39 -10
  150. package/dist/rollout-nodes-DFxKpIr2.js.map +1 -0
  151. package/dist/{run-improvement-loop-BaPDVbW8.d.ts → run-improvement-loop-BeHu5D9Z.d.ts} +22 -10
  152. package/dist/run-improvement-loop-BeHu5D9Z.d.ts.map +1 -0
  153. package/dist/{runtime-rollouts-Vv-BAqmq.js → runtime-rollouts-CE0MbQPq.js} +54 -7
  154. package/dist/runtime-rollouts-CE0MbQPq.js.map +1 -0
  155. package/dist/search/index.d.ts +2 -2
  156. package/dist/search/index.js +2 -2
  157. package/dist/{search-kernel-BzTeb89p.d.ts → search-kernel-CJZ-ZSV1.d.ts} +3 -3
  158. package/dist/{search-kernel-BzTeb89p.d.ts.map → search-kernel-CJZ-ZSV1.d.ts.map} +1 -1
  159. package/dist/{search-kernel-DOPW08Hx.js → search-kernel-mZc79S6N.js} +4 -4
  160. package/dist/{search-kernel-DOPW08Hx.js.map → search-kernel-mZc79S6N.js.map} +1 -1
  161. package/dist/{search-summary-CYOHZAAy.js → search-summary-CCgP2qXz.js} +3 -3
  162. package/dist/{search-summary-CYOHZAAy.js.map → search-summary-CCgP2qXz.js.map} +1 -1
  163. package/dist/{self-improve-DY8ZY4lY.d.ts → self-improve-B1fsNejr.d.ts} +6 -6
  164. package/dist/{self-improve-DY8ZY4lY.d.ts.map → self-improve-B1fsNejr.d.ts.map} +1 -1
  165. package/dist/{self-improve-CIFqccHV.js → self-improve-C_Bcdmv8.js} +5 -4
  166. package/dist/{self-improve-CIFqccHV.js.map → self-improve-C_Bcdmv8.js.map} +1 -1
  167. package/dist/{sequential-B9iROM1S.d.ts → sequential-CHplorpC.d.ts} +2 -2
  168. package/dist/{sequential-B9iROM1S.d.ts.map → sequential-CHplorpC.d.ts.map} +1 -1
  169. package/dist/{sequential-tZjGysXY.js → sequential-DR-pnYQ7.js} +3 -3
  170. package/dist/{sequential-tZjGysXY.js.map → sequential-DR-pnYQ7.js.map} +1 -1
  171. package/dist/{server-1fzBCxMh.js → server-aZFmRucn.js} +3 -3
  172. package/dist/{server-1fzBCxMh.js.map → server-aZFmRucn.js.map} +1 -1
  173. package/dist/{skillopt-optimization-method-CbHBkopM.js → skillopt-optimization-method-DHk1K757.js} +93 -39
  174. package/dist/skillopt-optimization-method-DHk1K757.js.map +1 -0
  175. package/dist/{statistical-heldout-C7Jjo5nP.js → statistical-heldout-CL_7mI5C.js} +2 -2
  176. package/dist/{statistical-heldout-C7Jjo5nP.js.map → statistical-heldout-CL_7mI5C.js.map} +1 -1
  177. package/dist/{statistics-BPl13X3G.js → statistics-AKnVFnK-.js} +67 -42
  178. package/dist/statistics-AKnVFnK-.js.map +1 -0
  179. package/dist/statistics.d.ts +3 -3
  180. package/dist/statistics.js +1 -1
  181. package/dist/{store-tool-spans-Dq8r0PbJ.d.ts → store-tool-spans-M3WxeRrG.d.ts} +4 -4
  182. package/dist/{store-tool-spans-Dq8r0PbJ.d.ts.map → store-tool-spans-M3WxeRrG.d.ts.map} +1 -1
  183. package/dist/{summary-report-DzbnK81K.js → summary-report-DyBkOC6V.js} +3 -3
  184. package/dist/{summary-report-DzbnK81K.js.map → summary-report-DyBkOC6V.js.map} +1 -1
  185. package/dist/supervisor-run/index.d.ts +12 -2
  186. package/dist/supervisor-run/index.d.ts.map +1 -1
  187. package/dist/supervisor-run/index.js +3 -3
  188. package/dist/{systemone-BuSZTI88.d.ts → systemone-4PadCE4C.d.ts} +7 -7
  189. package/dist/{systemone-BuSZTI88.d.ts.map → systemone-4PadCE4C.d.ts.map} +1 -1
  190. package/dist/{systemone-review-mlfxWdLz.d.ts → systemone-review-DpAXWDkL.d.ts} +2 -2
  191. package/dist/{systemone-review-mlfxWdLz.d.ts.map → systemone-review-DpAXWDkL.d.ts.map} +1 -1
  192. package/dist/systemone.d.ts +3 -3
  193. package/dist/{tool-groups-PNDX8fd-.d.ts → tool-groups-SlnoQNyT.d.ts} +2 -2
  194. package/dist/tool-groups-SlnoQNyT.d.ts.map +1 -0
  195. package/dist/{tool-waste-783VCo1y.js → tool-waste-BZnYSa6J.js} +2 -2
  196. package/dist/{tool-waste-783VCo1y.js.map → tool-waste-BZnYSa6J.js.map} +1 -1
  197. package/dist/{trace-questions-DBtr4jWi.d.ts → trace-questions-ybyF0B6N.d.ts} +2 -2
  198. package/dist/{trace-questions-DBtr4jWi.d.ts.map → trace-questions-ybyF0B6N.d.ts.map} +1 -1
  199. package/dist/trace-repair/index.d.ts +1 -1
  200. package/dist/traces.d.ts +4 -4
  201. package/dist/{tree-CtlQQL1w.js → tree-CiIe-f3f.js} +4 -4
  202. package/dist/{tree-CtlQQL1w.js.map → tree-CiIe-f3f.js.map} +1 -1
  203. package/dist/{types-CKNAzCSA.d.ts → types-B1W3v8dT.d.ts} +3 -3
  204. package/dist/{types-CKNAzCSA.d.ts.map → types-B1W3v8dT.d.ts.map} +1 -1
  205. package/dist/{types-DbeIGi73.d.ts → types-Bte3EsFQ.d.ts} +52 -5
  206. package/dist/types-Bte3EsFQ.d.ts.map +1 -0
  207. package/dist/{types-BO948H-U.d.ts → types-D5XtEH9Q.d.ts} +8 -4
  208. package/dist/{types-BO948H-U.d.ts.map → types-D5XtEH9Q.d.ts.map} +1 -1
  209. package/dist/{types-D-WF1KM3.d.ts → types-xVtEOBhO.d.ts} +31 -8
  210. package/dist/types-xVtEOBhO.d.ts.map +1 -0
  211. package/dist/wire/index.d.ts +4 -4
  212. package/dist/wire/index.js +1 -1
  213. package/dist/world/index.d.ts +1 -1
  214. package/docs/design/statistics-decisions.md +18 -1
  215. package/docs/eval-surface-map.md +1 -1
  216. package/docs/feature-guide.md +1 -1
  217. package/docs/multi-turn-optimization.md +6 -2
  218. package/docs/outcome-validity.md +51 -12
  219. package/docs/public-api.md +17 -16
  220. package/docs/{multi-shot-optimization.md → trajectory-optimization.md} +1 -1
  221. package/package.json +1 -1
  222. package/dist/benchmark-command-DLg8E4y8.js.map +0 -1
  223. package/dist/external-optimizer-subprocess-mV-2swJI.js.map +0 -1
  224. package/dist/index-CIqYaySd.d.ts.map +0 -1
  225. package/dist/measure-validity-plan-B1_qYlsk.d.ts.map +0 -1
  226. package/dist/measure-validity-plan-t0YQRzJQ.js.map +0 -1
  227. package/dist/optimization-method-D4CpYsVA.js.map +0 -1
  228. package/dist/rollout-nodes-Vas6OSxX.js.map +0 -1
  229. package/dist/run-improvement-loop-BaPDVbW8.d.ts.map +0 -1
  230. package/dist/runtime-rollouts-Vv-BAqmq.js.map +0 -1
  231. package/dist/skillopt-optimization-method-CbHBkopM.js.map +0 -1
  232. package/dist/statistics-BPl13X3G.js.map +0 -1
  233. package/dist/tool-groups-PNDX8fd-.d.ts.map +0 -1
  234. package/dist/types-D-WF1KM3.d.ts.map +0 -1
  235. package/dist/types-DbeIGi73.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,61 @@ All notable changes to `@tangle-network/agent-eval` and its sibling `agent-eval-
4
4
 
5
5
  ---
6
6
 
7
+ ## [2.0.11] — 2026-11-24
8
+
9
+ - feat(benchmarks): BenchmarkRuntimeHooks and load options make BenchmarkAdapter the one benchmark contract (#1348)
10
+
11
+ ## [2.0.10] — 2026-11-24
12
+
13
+ - Graph-stop failure misses command-node stops: the reason sits under the envelope's json (#1346)
14
+ - Run report reads failure=none for a graph's own stop; read the stopping node's reason (#1343)
15
+ - Put the fixed refusal kind, not the reason, in the refusal header (#1339)
16
+ - Count a realism turn only when both orders judged, in one pass (#1325)
17
+ - Share the gate's paired-cell maps between the final comparison and method comparison (#1325)
18
+ - Repin the analyst benchmark implementation digest (#1325)
19
+ - Multi-turn optimization follow-ups (#1325)
20
+ - Tests: keep the refusal branch within the line limit
21
+ - Tests: the Anthropic-wire budget refusal carries the refusal header and counts as refused
22
+ - Tests: the Anthropic-endpoint wire counts include the refused count
23
+ - GEPA: the reflection request cap ends the run, refusals count on both sides, the selection survives a usage mismatch
24
+ - Tests: two final cases for the comparison, the refusal header by its wire name, the run length checked first; drop unit tests the integration tests cover
25
+ - Tests: the reflection request cap ends the GEPA run, refusals count on both sides, the selection survives a usage mismatch
26
+ - GEPA runs log to their own run_log.txt without swapping the process streams
27
+ - Test: concurrent GEPA runs leave the process streams alone
28
+ - Optimizer bridges accept a budget without rates, as the TypeScript contract does
29
+ - fix(llm-client): a call allowed more than 300 s gets that long under Node
30
+ - docs(examples): record the example output under the format 2 plan
31
+ - docs(api): regenerate the public API census
32
+ - chore(analyst): pin the benchmark implementation digest for the stratified scope
33
+ - style: format the plan format, read-time and example history changes
34
+ - docs(examples): say the measure validity example passes its read time
35
+ - fix(experiment): keep the sealed plan format a literal type
36
+ - docs(meta-eval): say the second families hold every tested pair with the statistic
37
+ - feat(meta-eval): close outcome windows at the read time as well as at the cut
38
+ - fix(meta-eval): read the minimum effect inside exposure bins
39
+ - fix(experiment): keep plans sealed by the released version verifying under their rules
40
+ - test(meta-eval): plant a released seal, a size-inflated pooled effect and late censoring
41
+ - refactor(examples): move the measure validity history into its own module
42
+ - feat(meta-eval): climb only measures whose after-cut effect clears a minimum
43
+ - test(meta-eval): plant one-class units and a tiny effect that must not be climbed
44
+ - feat(meta-eval): test measures inside exposure bins, close outcome windows at the cut, report thin within-unit estimates
45
+ - feat(experiment): an outcome window and exposure in the measure validity plan
46
+ - feat(statistics): a stratified scope for clusteredAssociation
47
+ - docs(changelog): file the stale unreleased notes under the releases that shipped them
48
+ - style(tests): format the planted-truth tests
49
+ - test(meta-eval): plant exposure, right-censoring and a thin within-unit estimate
50
+ - test(meta-eval): share the planted-truth helpers of the measure validity tests
51
+
52
+ - The run report reads a graph's own stop. A Runtime `no-winner` result with reason `stopped` and no error now reports `failure=graph-stop <label>: <reason>`, from the last node in `result.tree.nodes` and the `reason` of its output blob, as `TerminalFailure.source` `graph-stop` (`SupervisorRunSources.graphStop` carries the output). A missing blob or an output with no string `reason` still reads `none recorded`, and the report's gaps name what was absent. An error record still outranks the stop.
53
+ - A model call allowed more than 300 s now gets that long under Node. Node's fetch drops a request whose response headers have not arrived within 300 s, and a non-streaming completion sends none until the answer is whole, so `timeoutMs`, `defaultTimeoutMs` and `TANGLE_LLM_TIMEOUT_MS` above 300 s ended every attempt at 300 s with `fetch failed`, and the retry repeated it. Such a call now leaves on node:http, where the attempt's own timer is the only deadline. Calls of 300 s or less, calls with a caller-supplied `fetch`, and other runtimes are unchanged.
54
+ - An outcome in a measure validity plan can name one planned measure as its `exposure`, with a bin count (default 10). Bins are fixed at the exposure's quantiles before the cut, every other measure is also tested inside them as a third false-discovery family, and a measure that passes pooled but not inside the bins is `predicts-through-exposure` and never climbed. The exposure itself is reported and never climbed.
55
+ - An outcome can declare `windowMs`. A change before the cut then counts for it only once its window has closed, whatever its value and capture time, and `excludedObservations.windowOpenAtCut` counts what the rule removed. Without it, a record that writes events when they happen and non-events at window close biases the direction fitted before the cut toward the event.
56
+ - `measureValidityStudy()` takes `asOf`, the time the outcomes were read, and requires it when an outcome declares `windowMs`. An observation captured after it is excluded and counted in `capturedAfterAsOf`, and a change after the cut counts for a windowed outcome only once its window closed by it, counted in `windowOpenAtEnd`: the last changes read no longer keep their events and lose their non-events, which made a measure that only trends with time look predictive.
57
+ - The within-unit estimate and interval are reported whenever two units hold a comparable pair; they are tested only from `minUnits`, and a `predicts` pair without that test carries the reason `within-unit-untested`.
58
+ - A measure validity plan's `selection.minEffect` (default `{ auc: 0.05, spearman: 0.1 }`) is the smallest after-cut distance from the null at which an admitted measure is climbed, read inside exposure bins when the outcome names an exposure, since the pooled estimate then carries the exposure's own effect; a smaller effect stays labelled `predicts` and is excluded as `below-minimum-effect`.
59
+ - A measure validity plan sealed now carries `format: 2`, its resolved `selection.minEffect` and, where declared, its outcome windows and exposures, so its digest differs from the same input sealed by 2.0.9. A plan sealed by 2.0.9 has no `format`: it still verifies under the digest it was sealed with and runs under the rules it was sealed with, with no outcome window, exposure or minimum effect. An unmarked plan that declares any of them, or another format, does not verify.
60
+ - `clusteredAssociation()` takes `scope: 'stratified'` with a `stratum` per row: the statistic inside each stratum weighted by its comparable pairs, resampling whole units. The within-unit scope is its case with each unit its own stratum.
61
+
7
62
  ## [2.0.9] — 2026-11-22
8
63
 
9
64
  - `/world` runs an agent through many sessions of a simulated world whose clock the test controls. A scenario is data with a hidden key; spend returns outcomes days later with noise, ramp, saturation and wear; a gated lever refuses spend with no recorded approval; only the notes an agent saved cross between sessions. `runWorldEpisode` scores the end state and the decision log, `worldDecisionCosts` prices each action by replay, and `compareWorldPolicies` checks on shared seeds that a patient scripted policy beats an impulsive one beyond noise before a model is run. `launchQuarterScenario` is the first scenario and `chatWorldAgent` puts a chat model through it.
@@ -194,6 +249,7 @@ Commits in this release:
194
249
 
195
250
  ## [1.0.34] — 2026-11-14
196
251
 
252
+ - fix(deps): raise `@tangle-network/agent-interface` to `^5.10.26`, the first release whose `canonicalCandidateDigest` hashes in chunks; with the old floor a consumer's lock could keep 5.10.24 for Eval and its run reader would still build each blob's encoding whole.
197
253
  - fix(deps): resolve Interface 5.10.26 and repin the analyst benchmark's dependency lock
198
254
  - fix(deps): raise the Interface floor to 5.10.26 (lock pending)
199
255
  - chore(release): 1.0.33
@@ -228,6 +284,7 @@ Commits in this release:
228
284
 
229
285
  ## [1.0.33] — 2026-11-14
230
286
 
287
+ - perf(ledger-core): `hashCanonical` uses Interface's `canonicalCandidateDigest`, which from Interface 5.10.26 hashes the RFC 8785 encoding in chunks instead of building it whole. The run reader verifies every Runtime output blob with it; on a 101 MiB provider event stream the hash no longer raises peak memory above parsing the blob (697 MiB RSS, against 1,455 MiB). Same digest.
231
288
  - fix(analyst): repin the benchmark implementation after hashCanonical's digest change
232
289
  - perf(ledger-core): hash canonical values through Interface's digest
233
290
  - fix(deps): point the @hono/node-server snapshot at the locked hono 4.13.16
@@ -259,6 +316,7 @@ Commits in this release:
259
316
 
260
317
  ## [1.0.32] — 2026-11-13
261
318
 
319
+ - fix(rollout): read a native capture's attempt from its `execution-evidence` row, falling back to the transcript record's `node.attemptId` that earlier Runtime releases write; refuse a capture whose row and record name different attempts, or neither names one.
262
320
  - fix(rollout): read the capture attempt from Runtime's evidence row (#1260)
263
321
  - chore(release): 1.0.31 (#1259)
264
322
  - fix(eval): integrate retained training and sealed final exposure (#1254)
@@ -279,6 +337,16 @@ Commits in this release:
279
337
 
280
338
  ## [1.0.31] — 2026-11-13
281
339
 
340
+ - fix(deps): raise `@tangle-network/agent-interface` to `^5.10.24` and `@tangle-network/harness-sessions` to `^1.0.13`, the first releases with the recorded profile-measurement contracts and response-bound tool-definition snapshots this release reads.
341
+ - feat(campaign): reserve shared final evidence before native search and expose its durable sealed roster before test allocation; resume only the same recorded claim.
342
+ - fix(rollout): project response-bound native tool inventories into training; retain varying or missing exposure and direct native parse gaps instead of backfilling context.
343
+ - fix(rollout): enforce shared split/capture admission for supplied DPO pairs and GRPO groups; retain observable exclusion receipts and canonical source identity in dataset bundles.
344
+ - fix(rollout): preserve copied SFT conditioning with assistant loss masks, actual matching tool schemas and complete invocation/result linkage; refuse ambiguous run-only text lookups.
345
+ - feat(rollout): join verified native Runtime capture per execution attempt, retain structured inputs and explicit partial-capture gaps, and accept declared task partitions.
346
+ - fix(api): expose the existing Dataset class through the root evaluation barrel for production dataset consumers.
347
+ - feat(rollout): retain canonical settlement batches idempotently with immutable source/projection identities using the existing durable ledger primitives.
348
+ - fix(statistics): refuse non-finite paired differences and keep jackknife bounds unavailable when a required cluster deletion has no defined statistic.
349
+ - fix(statistics): keep planning effects attainable and refuse unbracketed simulated power; retain Monte Carlo uncertainty.
282
350
  - fix(eval): integrate retained training and sealed final exposure (#1254)
283
351
  - feat(statistics): clustered paired contrast — cluster jackknife interval, cluster sign-flip test, clustered binary MDE and its simulation (#1247)
284
352
  - chore(release): 1.0.30 (#1250)
@@ -295,22 +363,6 @@ Commits in this release:
295
363
  - chore(release): 1.0.29
296
364
  - feat(benchmarks): own a Harbor case environment (prepare once, pause under a free-space floor, release with its build cache) (#1244)
297
365
 
298
- ## [Unreleased]
299
-
300
- - fix(deps): raise `@tangle-network/agent-interface` to `^5.10.26`, the first release whose `canonicalCandidateDigest` hashes in chunks; with the old floor a consumer's lock could keep 5.10.24 for Eval and its run reader would still build each blob's encoding whole.
301
- - perf(ledger-core): `hashCanonical` uses Interface's `canonicalCandidateDigest`, which from Interface 5.10.26 hashes the RFC 8785 encoding in chunks instead of building it whole. The run reader verifies every Runtime output blob with it; on a 101 MiB provider event stream the hash no longer raises peak memory above parsing the blob (697 MiB RSS, against 1,455 MiB). Same digest.
302
- - fix(rollout): read a native capture's attempt from its `execution-evidence` row, falling back to the transcript record's `node.attemptId` that earlier Runtime releases write; refuse a capture whose row and record name different attempts, or neither names one.
303
- - fix(deps): raise `@tangle-network/agent-interface` to `^5.10.24` and `@tangle-network/harness-sessions` to `^1.0.13`, the first releases with the recorded profile-measurement contracts and response-bound tool-definition snapshots this release reads.
304
- - feat(campaign): reserve shared final evidence before native search and expose its durable sealed roster before test allocation; resume only the same recorded claim.
305
- - fix(rollout): project response-bound native tool inventories into training; retain varying or missing exposure and direct native parse gaps instead of backfilling context.
306
- - fix(rollout): enforce shared split/capture admission for supplied DPO pairs and GRPO groups; retain observable exclusion receipts and canonical source identity in dataset bundles.
307
- - fix(rollout): preserve copied SFT conditioning with assistant loss masks, actual matching tool schemas and complete invocation/result linkage; refuse ambiguous run-only text lookups.
308
- - feat(rollout): join verified native Runtime capture per execution attempt, retain structured inputs and explicit partial-capture gaps, and accept declared task partitions.
309
- - fix(api): expose the existing Dataset class through the root evaluation barrel for production dataset consumers.
310
- - feat(rollout): retain canonical settlement batches idempotently with immutable source/projection identities using the existing durable ledger primitives.
311
- - fix(statistics): refuse non-finite paired differences and keep jackknife bounds unavailable when a required cluster deletion has no defined statistic.
312
- - fix(statistics): keep planning effects attainable and refuse unbracketed simulated power; retain Monte Carlo uncertainty.
313
-
314
366
  ## [1.0.30] — 2026-11-12
315
367
 
316
368
  - chore(analyst): retain qualified DSPy implementation identity
@@ -1,6 +1,6 @@
1
1
  import { d as CostReceipt } from "../cost-ledger-CSP-OfFe.js";
2
- import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-BO948H-U.js";
3
- import "../index-DmMHTDjT.js";
2
+ import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-D5XtEH9Q.js";
3
+ import "../index-BmWw8zN6.js";
4
4
  export interface HttpDispatchOptions<TScenario extends Scenario, _TArtifact> {
5
5
  /** Static endpoint URL. Mutually exclusive with `resolveUrl`. */
6
6
  url?: string;
@@ -1,9 +1,9 @@
1
1
  import { d as CostReceipt, f as CostReceiptInput, m as CustomTokenPricing } from "./cost-ledger-CSP-OfFe.js";
2
- import { dt as TraceAnalysisStore, i as AnalystFinding, m as EvidenceRef, p as AnalystUsageReceipt } from "./types-CKNAzCSA.js";
3
- import { i as ChatResponse, r as ChatRequest } from "./chat-client-uQNXGuO4.js";
2
+ import { dt as TraceAnalysisStore, i as AnalystFinding, m as EvidenceRef, p as AnalystUsageReceipt } from "./types-B1W3v8dT.js";
3
+ import { i as ChatResponse, r as ChatRequest } from "./chat-client-BlTooBDA.js";
4
4
  import { E as SearchExecutionIdentity, Q as SearchTaskOutcome, a as SearchAttemptAccounting, et as SearchTraceRef, j as SearchModelIdentity, z as SearchOperationRecordedEvent } from "./search-ledger-types-BhZE848w.js";
5
- import { r as CampaignCellResult } from "./types-BO948H-U.js";
6
- import { o as SearchCellResult } from "./search-kernel-BzTeb89p.js";
5
+ import { r as CampaignCellResult } from "./types-D5XtEH9Q.js";
6
+ import { o as SearchCellResult } from "./search-kernel-CJZ-ZSV1.js";
7
7
  import { AgentProfile, AgentProfile as AgentProfile$1, HarnessType, HarnessType as HarnessType$1 } from "@tangle-network/agent-interface";
8
8
  interface AnalystEvidenceExpectation {
9
9
  uri: string;
@@ -464,6 +464,12 @@ interface ExternalOptimizerWireCounts {
464
464
  requestAttempts: number;
465
465
  /** Successful 2xx responses recorded on this wire. */
466
466
  successfulCompletions: number;
467
+ /**
468
+ * Requests refused because the request or cost limit was reached. They never
469
+ * reach the execution owner, and each refusal carries
470
+ * `EXTERNAL_OPTIMIZER_REFUSAL_HEADER` so the optimizer process counts it too.
471
+ */
472
+ refusedRequests: number;
467
473
  }
468
474
  /**
469
475
  * The agentic coding harnesses an eval sweeps by default — the ones we care about
@@ -545,4 +551,4 @@ declare function agentProfileId(profile: AgentProfile): string;
545
551
  */
546
552
  declare function agentProfileHash(profile: AgentProfile): string;
547
553
  export { RunAnalystBenchmarkOptions as $, campaignCellMeasurement as A, AnalystBenchmarkObservation as B, ExternalOptimizerProcessLimits as C, ExternalTextCandidate as D, ExternalOptimizerWireCounts as E, AnalystBenchmarkCase as F, AnalystBenchmarkSummary as G, AnalystBenchmarkProvenance as H, AnalystBenchmarkDatasetRef as I, AnalystEvidenceResolutionError as J, AnalystEvidenceExpectation as K, AnalystBenchmarkDescriptor as L, searchModelIdentity as M, searchProposalExecution as N, ExternalTextEvaluationRequest as O, searchReceiptAccounting as P, AnalystLatencyDistribution as Q, AnalystBenchmarkError as R, ExternalOptimizerModelExecutionObservation as S, ExternalOptimizerRunnerCommand as T, AnalystBenchmarkResult as U, AnalystBenchmarkOutput as V, AnalystBenchmarkRunner as W, AnalystFindingScore as X, AnalystEvidenceResolver as Y, AnalystIssueExpectation as Z, ExternalOptimizerEvaluationRefusalReason as _, ProfileAxisSpec as a, ExternalOptimizerModelCallRequest as b, expandProfileAxes as c, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS as d, runAnalystBenchmark as et, ExternalEvaluationMeasurement as f, ExternalOptimizerEvaluationObservation as g, ExternalOptimizerEndpointFormat as h, HarnessType$1 as i, campaignCellSearchResult as j, CampaignCellMeasurement as k, harnessAxisOf as l, ExternalOptimizerChatRequest as m, CODING_HARNESSES as n, agentProfileHash as o, ExternalOptimizerCallbackLimits as p, AnalystEvidenceResolution as q, HARNESS_NATIVE_MODEL as r, agentProfileId as s, AgentProfile$1 as t, traceStoreEvidenceResolver as tt, DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS as u, ExternalOptimizerModelBudget as v, ExternalOptimizerResumeMode as w, ExternalOptimizerModelCallResult as x, ExternalOptimizerModelCall as y, AnalystBenchmarkLabelState as z };
548
- //# sourceMappingURL=agent-profile-ORN4aArD.d.ts.map
554
+ //# sourceMappingURL=agent-profile-_JzxgLDM.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-profile-ORN4aArD.d.ts","names":["_$___cost_ledger0.CostReceiptInput"],"sources":["../src/analyst/benchmark.ts","../src/campaign/search-campaign-cell.ts","../src/campaign/external-optimizer-contracts.ts","../src/agent-profile.ts"],"mappings":";;;;;;;UAUiB;EACf;EACA,OAAO;;UAGQ;EACf;EACA;EACA;EACA;EACA,oBAAoB;EACpB;;EAEA,4BAA4B;;KAGlB;UAEK,qBAAqB;EACpC;;EAEA;;EAEA,YAAY;EACZ,OAAO;EACP,yBAAyB;;EAEzB,2BAA2B;EAC3B;EACA,WAAW;;UAGI;EACf;EACA;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;EACA;;UAGe;EACf,UAAU;EACV;EACA;;UAGe;EACf;EACA;EACA,oBAAoB;EACpB,QAAQ;;EAER;;KAGU,wBAAwB,qBAAqB;EACvD;EACA,WAAW;EACX,UAAU;EACV,SAAS;gBACK;;;;;iBAMA,2BAA2B,QACzC,WAAW,OAAO,WAAW,qBAC5B,wBAAwB;UAoBV;EACf,mBAAmB;EACnB,QAAQ;EACR,WAAW;;;;;EAKX;;EAEA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;;UAGe,uBAAuB;EACtC;EACA,QACE,OAAO,QACP;IAAW;IAAgB;IAAoB,SAAS;MACvD,yBAAyB,QAAQ;;UAGrB;EACf;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;EACA;EACA,mBAAmB;EACnB,OAAO;EACP,qBAAqB;EACrB;EACA,eAAe;EACf,QAAQ;EACR,iBAAiB;EACjB,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA,cAAc;EACd,WAAW;;UAGI,mCAAmC;EAClD;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,YAAY;EACZ,cAAc;EACd,WAAW;;UAGI,2BAA2B;EAC1C,gBAAgB,qBAAqB;EACrC,kBAAkB,uBAAuB;EACzC;EACA;EACA;EACA,kBAAkB,wBAAwB;EAC1C,YAAY;;EAEZ,+BAA+B;EAC/B,iBAAiB,aAAa,uCAAuC;EACrE,SAAS;;iBAGW,oBAAoB,QACxC,SAAS,2BAA2B,UACnC,QAAQ;;;;;;;UC9OM;;EAEf;EACA;EACA;;EAEA;IAAW;IAAsB;;;EAEjC;EACA,SAAS;EACT,YAAY;;EAEZ;EACA;;;EAGA,WAAW;;;;;;;;;;iBAWG,wBAAwB,WACtC,MAAM,mBAAmB,aACxB;;;;;;;;;iBAyBa,yBAAyB,WACvC,MAAM,mBAAmB,aAAa,yBACtC;EAAS,WAAW;EAAyB;IAC5C;;iBA8Ba,oBAAoB,eAAe,mBAAmB;;;iBAkEtD,wBACd,UAAU,cAAc,eACvB;;;iBA+Ba,wBACd,UAAU,cAAc,cACxB,kBACA,QAAQ,sDACP;UC/Mc;;EAEf;;EAEA;;EAEA;;cAGW,2CAA2C,SAAS;UAOhD;;EAEf;;EAEA;;cAGW,4CAA4C,SAAS;UAMjD;EACf;EACA;EACA,MAAM,OAAO;;EAEb,SAAS,QAAQ;;KAGP;KAEA,iCAAiC;UAE5B;EACf,WAAW;EACX;;KAqDG,aAAa,KAAK,eAAc,6BACjC,IACA,0BAA0B,gBACf,aAAa,OACtB,+BACc,WAAW,IAAI,aAAa,EAAE,SAC1C;;KAGI,+BAA+B,aACzC,KAAK;EAA0B;;KAGrB;;UAMK;;WAEN;;WAEA,SAAS;;WAET,iBAAiB;WACjB,QAAQ;;;KAIP;WAEG;;WAEA,UAAU;;;;;;;WAOV,SAPUA;;WASV;;WAGA;;WAEA;;WAEA,SATkCA;;WAWlC;;;;;;;;;;;;KAaH,8BACV,SAAS,sCACN,QAAQ;;KAGD;WAEG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAGA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;;;;UASE;WACN;WACA,gBAAgB;;KAGf;;;;;;KAUA;WAEG;WACA;WACA,WAAW;WACX;;WAGA;WACA;WACA,WAAW;WACX;WACA;;WAEA;WACA;;;WAGA,cAAc;;WAGd;WACA;WACA,QAAQ;WACR,YAAY;WACZ;WACA;;;;;;;WAOA,cAAc;;UAGZ;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;EAUA;;;;;;EAMA,UAAU;;EAEV;;;UAIe;;EAEf;;EAEA;;;;;;;;;cCzRW,2BAA2B;UAOvB;;;EAGf,MAAM;;EAEN,qBAAqB;;;EAGrB;;;;;;EAMA;;;;;;;cAQW;;;;;;;;;;;;;;;;;;;iBAoBG,kBAAkB,MAAM,kBAAkB;;;;;;;;iBAkD1C,cACd,SAAS,KAAK;EACX,SAAS;EAAa;;;;;;;;;iBAiBX,eAAe,SAAS;;;;;;;;;;;iBAmDxB,iBAAiB,SAAS"}
1
+ {"version":3,"file":"agent-profile-_JzxgLDM.d.ts","names":["_$___cost_ledger0.CostReceiptInput"],"sources":["../src/analyst/benchmark.ts","../src/campaign/search-campaign-cell.ts","../src/campaign/external-optimizer-contracts.ts","../src/agent-profile.ts"],"mappings":";;;;;;;UAUiB;EACf;EACA,OAAO;;UAGQ;EACf;EACA;EACA;EACA;EACA,oBAAoB;EACpB;;EAEA,4BAA4B;;KAGlB;UAEK,qBAAqB;EACpC;;EAEA;;EAEA,YAAY;EACZ,OAAO;EACP,yBAAyB;;EAEzB,2BAA2B;EAC3B;EACA,WAAW;;UAGI;EACf;EACA;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;EACA;;UAGe;EACf,UAAU;EACV;EACA;;UAGe;EACf;EACA;EACA,oBAAoB;EACpB,QAAQ;;EAER;;KAGU,wBAAwB,qBAAqB;EACvD;EACA,WAAW;EACX,UAAU;EACV,SAAS;gBACK;;;;;iBAMA,2BAA2B,QACzC,WAAW,OAAO,WAAW,qBAC5B,wBAAwB;UAoBV;EACf,mBAAmB;EACnB,QAAQ;EACR,WAAW;;;;;EAKX;;EAEA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;;UAGe,uBAAuB;EACtC;EACA,QACE,OAAO,QACP;IAAW;IAAgB;IAAoB,SAAS;MACvD,yBAAyB,QAAQ;;UAGrB;EACf;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;EACA;EACA,mBAAmB;EACnB,OAAO;EACP,qBAAqB;EACrB;EACA,eAAe;EACf,QAAQ;EACR,iBAAiB;EACjB,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA,cAAc;EACd,WAAW;;UAGI,mCAAmC;EAClD;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,YAAY;EACZ,cAAc;EACd,WAAW;;UAGI,2BAA2B;EAC1C,gBAAgB,qBAAqB;EACrC,kBAAkB,uBAAuB;EACzC;EACA;EACA;EACA,kBAAkB,wBAAwB;EAC1C,YAAY;;EAEZ,+BAA+B;EAC/B,iBAAiB,aAAa,uCAAuC;EACrE,SAAS;;iBAGW,oBAAoB,QACxC,SAAS,2BAA2B,UACnC,QAAQ;;;;;;;UC9OM;;EAEf;EACA;EACA;;EAEA;IAAW;IAAsB;;;EAEjC;EACA,SAAS;EACT,YAAY;;EAEZ;EACA;;;EAGA,WAAW;;;;;;;;;;iBAWG,wBAAwB,WACtC,MAAM,mBAAmB,aACxB;;;;;;;;;iBAyBa,yBAAyB,WACvC,MAAM,mBAAmB,aAAa,yBACtC;EAAS,WAAW;EAAyB;IAC5C;;iBA8Ba,oBAAoB,eAAe,mBAAmB;;;iBAkEtD,wBACd,UAAU,cAAc,eACvB;;;iBA+Ba,wBACd,UAAU,cAAc,cACxB,kBACA,QAAQ,sDACP;UC/Mc;;EAEf;;EAEA;;EAEA;;cAGW,2CAA2C,SAAS;UAOhD;;EAEf;;EAEA;;cAGW,4CAA4C,SAAS;UAMjD;EACf;EACA;EACA,MAAM,OAAO;;EAEb,SAAS,QAAQ;;KAGP;KAEA,iCAAiC;UAE5B;EACf,WAAW;EACX;;KAqDG,aAAa,KAAK,eAAc,6BACjC,IACA,0BAA0B,gBACf,aAAa,OACtB,+BACc,WAAW,IAAI,aAAa,EAAE,SAC1C;;KAGI,+BAA+B,aACzC,KAAK;EAA0B;;KAGrB;;UAMK;;WAEN;;WAEA,SAAS;;WAET,iBAAiB;WACjB,QAAQ;;;KAIP;WAEG;;WAEA,UAAU;;;;;;;WAOV,SAPUA;;WASV;;WAGA;;WAEA;;WAEA,SATkCA;;WAWlC;;;;;;;;;;;;KAaH,8BACV,SAAS,sCACN,QAAQ;;KAGD;WAEG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAGA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;;;;UASE;WACN;WACA,gBAAgB;;KAGf;;;;;;KAUA;WAEG;WACA;WACA,WAAW;WACX;;WAGA;WACA;WACA,WAAW;WACX;WACA;;WAEA;WACA;;;WAGA,cAAc;;WAGd;WACA;WACA,QAAQ;WACR,YAAY;WACZ;WACA;;;;;;;WAOA,cAAc;;UAGZ;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;EAUA;;;;;;EAMA,UAAU;;EAEV;;;UAIe;;EAEf;;EAEA;;;;;;EAMA;;;;;;;;;cC/RW,2BAA2B;UAOvB;;;EAGf,MAAM;;EAEN,qBAAqB;;;EAGrB;;;;;;EAMA;;;;;;;cAQW;;;;;;;;;;;;;;;;;;;iBAoBG,kBAAkB,MAAM,kBAAkB;;;;;;;;iBAkD1C,cACd,SAAS,KAAK;EACX,SAAS;EAAa;;;;;;;;;iBAiBX,eAAe,SAAS;;;;;;;;;;;iBAmDxB,iBAAiB,SAAS"}
@@ -1,20 +1,20 @@
1
1
  import { m as CustomTokenPricing, o as CostLedgerHandle } from "../cost-ledger-CSP-OfFe.js";
2
- import { $ as parseRawFinding, A as FindingParseOutcome, B as FindingTreatment, C as CalibrationInterval, D as FindingLayer, E as FindingEvidenceUnit, F as independentUnitCount, G as TraceAnalysisEngineRequest, H as TreatmentLayer, I as lineageRoots, J as RAW_FINDING_SCHEMA_PROMPT, K as TraceAnalysisEngineResult, L as parseAnalystFinding, M as FindingScope, N as FindingScopeReading, O as FindingMeasure, P as ProposalFindingSchema, Q as evidenceRefsFromRawFinding, R as readFindingScope, S as makeProposalFinding, St as TraceAnalystSpan, T as FindingCalibration, U as TraceAnalysisActivity, V as TREATMENT_LAYERS, W as TraceAnalysisEngine, X as RawAnalystFinding, Y as RawAnalystEvidence, Z as RawAnalystFindingSchema, _ as ExecutionProbeRequest, a as AnalystFindingSchemaVersion, b as computeFindingId, c as AnalystRunEvent, d as AnalystRunSummary, dt as TraceAnalysisStore, f as AnalystSeverity, g as ExecutionProbeOutcome, h as ExecutionProbe, i as AnalystFinding, j as FindingReaderLabel, k as FindingMethod, l as AnalystRunInputs, m as EvidenceRef, n as AnalystContext, o as AnalystInputKind, p as AnalystUsageReceipt, q as TraceAnalystLimits, r as AnalystCost, s as AnalystRequirements, t as Analyst, u as AnalystRunResult, v as ProposalFinding, w as FINDING_LAYERS, x as makeFinding, y as ProposalFindingOrigin, z as FindingConditions } from "../types-CKNAzCSA.js";
3
- import { a as ChatTransport, d as SandboxSdkTransportOpts, f as createChatClient, i as ChatResponse, l as MockTransportOpts, n as ChatClient, o as CreateChatClientOpts, r as ChatRequest, s as CustomTransportOpts, t as ChatCallOpts, u as OpenAiCompatibleTransportOpts } from "../chat-client-uQNXGuO4.js";
4
- import { t as BootstrapInterval } from "../cluster-C-K0N2br.js";
5
- import { Xt as NominalAgreementOptions } from "../index-CIqYaySd.js";
6
- import { $ as RunAnalystBenchmarkOptions, B as AnalystBenchmarkObservation, F as AnalystBenchmarkCase, G as AnalystBenchmarkSummary, H as AnalystBenchmarkProvenance, I as AnalystBenchmarkDatasetRef, J as AnalystEvidenceResolutionError, K as AnalystEvidenceExpectation, L as AnalystBenchmarkDescriptor, Q as AnalystLatencyDistribution, R as AnalystBenchmarkError, S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, U as AnalystBenchmarkResult, V as AnalystBenchmarkOutput, W as AnalystBenchmarkRunner, X as AnalystFindingScore, Y as AnalystEvidenceResolver, Z as AnalystIssueExpectation, et as runAnalystBenchmark, q as AnalystEvidenceResolution, t as AgentProfile, tt as traceStoreEvidenceResolver, y as ExternalOptimizerModelCall, z as AnalystBenchmarkLabelState } from "../agent-profile-ORN4aArD.js";
7
- import { C as BehavioralWindowPolicy, S as BehavioralTraceWindow, _ as BehavioralTraceEventMap, a as createTraceAnalyst, b as BehavioralTraceQuestionsOptions, c as BehavioralAnalystOptions, d as pinBehavioralFailureClass, f as BEHAVIORAL_TRACE_QUESTIONS, g as BehavioralTraceEvent, h as BehavioralTraceAnswer, i as TraceAnalystDefinition, l as assertFailureClasses, m as BehavioralQuestionCalibration, n as buildDefaultAnalystRegistry, o as runTraceAnalyst, p as BEHAVIORAL_TRACE_QUESTIONS_VERSION, r as CreateTraceAnalystOptions, s as BEHAVIORAL_FAILURE_CLASS, t as DefaultAnalystRegistryOptions, u as behavioralAnalyst, v as BehavioralTraceLayer, w as behavioralTraceQuestionDigest, x as BehavioralTraceSupport, y as BehavioralTraceQuestionId } from "../default-registry-Bskl2HzV.js";
8
- 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-CUsSMW3n.js";
2
+ import { $ as parseRawFinding, A as FindingParseOutcome, B as FindingTreatment, C as CalibrationInterval, D as FindingLayer, E as FindingEvidenceUnit, F as independentUnitCount, G as TraceAnalysisEngineRequest, H as TreatmentLayer, I as lineageRoots, J as RAW_FINDING_SCHEMA_PROMPT, K as TraceAnalysisEngineResult, L as parseAnalystFinding, M as FindingScope, N as FindingScopeReading, O as FindingMeasure, P as ProposalFindingSchema, Q as evidenceRefsFromRawFinding, R as readFindingScope, S as makeProposalFinding, St as TraceAnalystSpan, T as FindingCalibration, U as TraceAnalysisActivity, V as TREATMENT_LAYERS, W as TraceAnalysisEngine, X as RawAnalystFinding, Y as RawAnalystEvidence, Z as RawAnalystFindingSchema, _ as ExecutionProbeRequest, a as AnalystFindingSchemaVersion, b as computeFindingId, c as AnalystRunEvent, d as AnalystRunSummary, dt as TraceAnalysisStore, f as AnalystSeverity, g as ExecutionProbeOutcome, h as ExecutionProbe, i as AnalystFinding, j as FindingReaderLabel, k as FindingMethod, l as AnalystRunInputs, m as EvidenceRef, n as AnalystContext, o as AnalystInputKind, p as AnalystUsageReceipt, q as TraceAnalystLimits, r as AnalystCost, s as AnalystRequirements, t as Analyst, u as AnalystRunResult, v as ProposalFinding, w as FINDING_LAYERS, x as makeFinding, y as ProposalFindingOrigin, z as FindingConditions } from "../types-B1W3v8dT.js";
3
+ import { a as ChatTransport, d as SandboxSdkTransportOpts, f as createChatClient, i as ChatResponse, l as MockTransportOpts, n as ChatClient, o as CreateChatClientOpts, r as ChatRequest, s as CustomTransportOpts, t as ChatCallOpts, u as OpenAiCompatibleTransportOpts } from "../chat-client-BlTooBDA.js";
4
+ import { t as BootstrapInterval } from "../cluster-BJ0nW3P7.js";
5
+ import { Zt as NominalAgreementOptions } from "../index-Bk1XEkP7.js";
6
+ import { $ as RunAnalystBenchmarkOptions, B as AnalystBenchmarkObservation, F as AnalystBenchmarkCase, G as AnalystBenchmarkSummary, H as AnalystBenchmarkProvenance, I as AnalystBenchmarkDatasetRef, J as AnalystEvidenceResolutionError, K as AnalystEvidenceExpectation, L as AnalystBenchmarkDescriptor, Q as AnalystLatencyDistribution, R as AnalystBenchmarkError, S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, U as AnalystBenchmarkResult, V as AnalystBenchmarkOutput, W as AnalystBenchmarkRunner, X as AnalystFindingScore, Y as AnalystEvidenceResolver, Z as AnalystIssueExpectation, et as runAnalystBenchmark, q as AnalystEvidenceResolution, t as AgentProfile, tt as traceStoreEvidenceResolver, y as ExternalOptimizerModelCall, z as AnalystBenchmarkLabelState } from "../agent-profile-_JzxgLDM.js";
7
+ import { C as BehavioralWindowPolicy, S as BehavioralTraceWindow, _ as BehavioralTraceEventMap, a as createTraceAnalyst, b as BehavioralTraceQuestionsOptions, c as BehavioralAnalystOptions, d as pinBehavioralFailureClass, f as BEHAVIORAL_TRACE_QUESTIONS, g as BehavioralTraceEvent, h as BehavioralTraceAnswer, i as TraceAnalystDefinition, l as assertFailureClasses, m as BehavioralQuestionCalibration, n as buildDefaultAnalystRegistry, o as runTraceAnalyst, p as BEHAVIORAL_TRACE_QUESTIONS_VERSION, r as CreateTraceAnalystOptions, s as BEHAVIORAL_FAILURE_CLASS, t as DefaultAnalystRegistryOptions, u as behavioralAnalyst, v as BehavioralTraceLayer, w as behavioralTraceQuestionDigest, x as BehavioralTraceSupport, y as BehavioralTraceQuestionId } from "../default-registry-X8McMoUV.js";
8
+ 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-BIHqYBYf.js";
9
9
  import { g as SystemOneState } from "../systemone-protocol-C4t7JH4Y.js";
10
- import { B as DiffPolicy, F as FindingsTimeStep, H as FindingsStore, I as LedgerFinding, L as diffFindingsOverTime, M as FindingsLedgerOutcome, N as FindingsLedgerRead, P as FindingsQuery, R as openFindingsLedger, U as PersistedFinding, V as FindingsDiff, W as diffFindings, j as FindingsLedger, r as SystemOneEvaluatorOptions, z as queryFindings } from "../systemone-BuSZTI88.js";
11
- import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-PNDX8fd-.js";
12
- import { a as BudgetPolicy, c as RegistryRunOpts, i as AnalystRegistryOptions, n as ExactAnalystRunExecutionError, o as ExactAnalystBudgetPolicy, r as AnalystHooks, s as ExactRegistryRunOpts, t as AnalystRegistry } from "../registry-DEZDECdr.js";
13
- import { T as SemanticConceptJudgeOptions, _ as DspyRlmTraceEngineOptions, a as FAILURE_MODE_KIND_SPEC, b as createChatTraceEngine, c as emitControlIntegrityFindings, d as FindingSubject, f as FindingSubjectKind, g as renderFindingSubject, h as parseFindingSubject, i as IMPROVEMENT_KIND_SPEC, l as FINDING_SUBJECT_KINDS, m as findingSubjectGrammarPromptFor, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as KIND_EXPECTED_SUBJECTS, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FINDING_SUBJECT_SYNTAX, v as createDspyRlmTraceEngine, y as ChatTraceEngineOptions } from "../index--vDCtdaj.js";
14
- import { C as runPrimeExchange, D as ReplyRowDecoded, E as ReplyEnvelope, O as ReplyRowRejection, S as projectPrimeTrajectory, T as ReplyContract, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as normalizePrimeUsage, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, 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 DecodedReply, x as primeProtocolSha256, y as mergePrimeRawUsage } from "../prime-protocol-Jm2pWh--.js";
10
+ import { B as DiffPolicy, F as FindingsTimeStep, H as FindingsStore, I as LedgerFinding, L as diffFindingsOverTime, M as FindingsLedgerOutcome, N as FindingsLedgerRead, P as FindingsQuery, R as openFindingsLedger, U as PersistedFinding, V as FindingsDiff, W as diffFindings, j as FindingsLedger, r as SystemOneEvaluatorOptions, z as queryFindings } from "../systemone-4PadCE4C.js";
11
+ import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-SlnoQNyT.js";
12
+ import { a as BudgetPolicy, c as RegistryRunOpts, i as AnalystRegistryOptions, n as ExactAnalystRunExecutionError, o as ExactAnalystBudgetPolicy, r as AnalystHooks, s as ExactRegistryRunOpts, t as AnalystRegistry } from "../registry-BeInzotS.js";
13
+ import { T as SemanticConceptJudgeOptions, _ as DspyRlmTraceEngineOptions, a as FAILURE_MODE_KIND_SPEC, b as createChatTraceEngine, c as emitControlIntegrityFindings, d as FindingSubject, f as FindingSubjectKind, g as renderFindingSubject, h as parseFindingSubject, i as IMPROVEMENT_KIND_SPEC, l as FINDING_SUBJECT_KINDS, m as findingSubjectGrammarPromptFor, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as KIND_EXPECTED_SUBJECTS, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FINDING_SUBJECT_SYNTAX, v as createDspyRlmTraceEngine, y as ChatTraceEngineOptions } from "../index-CCOaNmh2.js";
14
+ import { C as runPrimeExchange, D as ReplyRowDecoded, E as ReplyEnvelope, O as ReplyRowRejection, S as projectPrimeTrajectory, T as ReplyContract, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as normalizePrimeUsage, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, 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 DecodedReply, x as primeProtocolSha256, y as mergePrimeRawUsage } from "../prime-protocol-BRMk6dGI.js";
15
15
  import { i as nodeHttpPrimeBridgeTransport, n as PrimeBridgeTransportRequest, r as PrimeBridgeTransportResult, t as PrimeBridgeTransport } from "../prime-bridge-transport-Cfqir_Im.js";
16
- import { b as SupervisorRunSources } from "../types-D-WF1KM3.js";
17
- import { a as askTraceQuestions, i as VerifiedTraceFinding, n as TraceQuestionOutcome, r as TraceQuestionSpec, t as AskTraceQuestionsOptions } from "../trace-questions-DBtr4jWi.js";
16
+ import { x as SupervisorRunSources } from "../types-xVtEOBhO.js";
17
+ import { a as askTraceQuestions, i as VerifiedTraceFinding, n as TraceQuestionOutcome, r as TraceQuestionSpec, t as AskTraceQuestionsOptions } from "../trace-questions-ybyF0B6N.js";
18
18
  import { z } from "zod";
19
19
  interface SemanticConceptJudgeAdapterOpts {
20
20
  id?: string;
@@ -1,20 +1,20 @@
1
1
  import { n as assertConsistentFindingConditions, o as mergeFindingComposition, r as findingCompositionKey, t as TREATMENT_LAYERS } from "../finding-composition-CyWSTcAY.js";
2
- import { J as nominalAgreement, W as rocAuc, nt as clusterBootstrap } from "../statistics-BPl13X3G.js";
2
+ import { J as nominalAgreement, W as rocAuc, nt as clusterBootstrap } from "../statistics-AKnVFnK-.js";
3
3
  import { t as FileLedgerJournal } from "../journal-3y-btqaP.js";
4
4
  import { r as merkleRoot } from "../ledger-core-auznoaD7.js";
5
5
  import { a as independentUnitCount, c as mostSevere, d as spanningWindow, i as UNKNOWN_LINEAGE, l as parseAnalystFinding, n as FINDING_LAYERS, o as lineageRoots, r as ProposalFindingSchema, s as mergeEvidenceUnits, t as AnalystFindingSchema, u as readFindingScope } from "../finding-scope-B_As3F_v.js";
6
6
  import { a as makeProposalFinding, i as makeFinding, r as computeFindingId } from "../types-_tlhWGUq.js";
7
7
  import { t as assertProposalFindings } from "../proposal-findings-CfRFCFXS.js";
8
8
  import { A as RawAnalystFindingSchema, B as parseFindingSubject, F as stripCodeFences, I as FINDING_SUBJECT_KINDS, L as FINDING_SUBJECT_SYNTAX, M as parseRawFinding, N as parseTraceSpanEvidenceUri, R as KIND_EXPECTED_SUBJECTS, V as renderFindingSubject, j as evidenceRefsFromRawFinding, k as RAW_FINDING_SCHEMA_PROMPT, n as runTraceAnalyst, r as buildTraceToolsForGroup, t as createTraceAnalyst, z as findingSubjectGrammarPromptFor } from "../kind-factory-B-xCxG7p.js";
9
- import { _ as behavioralTraceSupportSchema, a as KNOWLEDGE_POISONING_KIND_SPEC, b as behavioralTraceQuestionDigest, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as BEHAVIORAL_FAILURE_CLASS, g as validBehavioralCalibration, h as pinBehavioralFailureClass, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralAnalyst, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as assertFailureClasses, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst, v as BEHAVIORAL_TRACE_QUESTIONS, y as BEHAVIORAL_TRACE_QUESTIONS_VERSION } from "../default-registry-kps1SOaD.js";
10
- import { n as createChatClient } from "../chat-client-CvyDOQBv.js";
11
- import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-DQbPdT_o.js";
12
- import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-CZy5kUDo.js";
9
+ import { _ as behavioralTraceSupportSchema, a as KNOWLEDGE_POISONING_KIND_SPEC, b as behavioralTraceQuestionDigest, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as BEHAVIORAL_FAILURE_CLASS, g as validBehavioralCalibration, h as pinBehavioralFailureClass, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralAnalyst, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as assertFailureClasses, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst, v as BEHAVIORAL_TRACE_QUESTIONS, y as BEHAVIORAL_TRACE_QUESTIONS_VERSION } from "../default-registry-Rs5uzlfJ.js";
10
+ import { n as createChatClient } from "../chat-client-Oyot5tyo.js";
11
+ import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-ChE1PUM5.js";
12
+ import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-CvYUzQBR.js";
13
13
  import { m as validDecisionIdentity, o as systemOneAnalyst, t as DECISION_POINT_AUC_BAR } from "../decision-point-CfqtnGop.js";
14
- import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-DLg8E4y8.js";
14
+ import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-CGQXNFj7.js";
15
15
  import { a as normalizePrimeUsage, c as runPrimeExchange, i as mergePrimeRawUsage, n as buildPrimePrompt, o as primeProtocolSha256, r as buildPrimeRepairPrompt, s as projectPrimeTrajectory, t as analystUsageReceiptFromPrimeUsage } from "../prime-protocol-CrhpXRz9.js";
16
16
  import { t as nodeHttpPrimeBridgeTransport } from "../prime-bridge-transport-Csd5SQg7.js";
17
- import { t as clusterBootstrapMean } from "../cluster-bootstrap-DXbnIdm8.js";
17
+ import { t as clusterBootstrapMean } from "../cluster-bootstrap-CTC8Dd30.js";
18
18
  import { z } from "zod";
19
19
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
20
20
  import { join } from "node:path";
@@ -914,9 +914,12 @@ async function outcome(operation) {
914
914
  function openFindingsLedger(options) {
915
915
  if (!options.path.trim()) throw new TypeError("findings ledger: path is empty");
916
916
  const journal = new FileLedgerJournal(options.path, codec(), { requireTrustedHead: true });
917
+ let lastRead;
918
+ const files = () => [journal.path, journal.trustedHeadPath].map(fileStamp).join("|");
917
919
  return {
918
920
  path: journal.path,
919
921
  append: (runId, findings) => outcome(async () => {
922
+ lastRead = void 0;
920
923
  identity.parse(runId);
921
924
  let appended = 0;
922
925
  let replayed = 0;
@@ -940,14 +943,32 @@ function openFindingsLedger(options) {
940
943
  };
941
944
  }),
942
945
  read: () => outcome(async () => {
943
- const findings = await journal.replay();
946
+ const stamp = files();
947
+ if (lastRead?.files !== stamp) {
948
+ const findings = await journal.replay();
949
+ lastRead = {
950
+ files: stamp,
951
+ read: {
952
+ findings,
953
+ merkleRoot: merkleRoot(findings.map((row) => row.entryHash))
954
+ }
955
+ };
956
+ }
944
957
  return {
945
- findings,
946
- merkleRoot: merkleRoot(findings.map((row) => row.entryHash))
958
+ findings: [...lastRead.read.findings],
959
+ merkleRoot: lastRead.read.merkleRoot
947
960
  };
948
961
  })
949
962
  };
950
963
  }
964
+ function fileStamp(path) {
965
+ try {
966
+ const stats = statSync(path, { bigint: true });
967
+ return `${stats.dev}:${stats.ino}:${stats.size}:${stats.mtimeNs}:${stats.ctimeNs}`;
968
+ } catch {
969
+ return "absent";
970
+ }
971
+ }
951
972
  /** Filter ledger rows. Every set criterion must hold; 1.0.0 rows have no layer and never match one. */
952
973
  function queryFindings(rows, query) {
953
974
  const layers = query.layer === void 0 ? null : new Set(typeof query.layer === "string" ? [query.layer] : query.layer);