@tangle-network/agent-eval 2.0.9 → 2.0.10

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 (232) hide show
  1. package/CHANGELOG.md +64 -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 +4 -4
  16. package/dist/benchmarks/index.js +2 -2
  17. package/dist/campaign/index.d.ts +7 -7
  18. package/dist/campaign/index.js +11 -11
  19. package/dist/{campaign-C_S3MOYa.js → campaign-eus7YRs2.js} +13 -13
  20. package/dist/{campaign-C_S3MOYa.js.map → campaign-eus7YRs2.js.map} +1 -1
  21. package/dist/{campaign-evidence-CM4FBOkX.d.ts → campaign-evidence-BOcX4w0r.d.ts} +5 -5
  22. package/dist/{campaign-evidence-CM4FBOkX.d.ts.map → campaign-evidence-BOcX4w0r.d.ts.map} +1 -1
  23. package/dist/{campaign-evidence-BTfzZo1u.js → campaign-evidence-KM5GTsHG.js} +3 -3
  24. package/dist/{campaign-evidence-BTfzZo1u.js.map → campaign-evidence-KM5GTsHG.js.map} +1 -1
  25. package/dist/{chat-client-uQNXGuO4.d.ts → chat-client-BlTooBDA.d.ts} +7 -2
  26. package/dist/{chat-client-uQNXGuO4.d.ts.map → chat-client-BlTooBDA.d.ts.map} +1 -1
  27. package/dist/{chat-client-CvyDOQBv.js → chat-client-Oyot5tyo.js} +2 -2
  28. package/dist/{chat-client-CvyDOQBv.js.map → chat-client-Oyot5tyo.js.map} +1 -1
  29. package/dist/{chat-json-call-DMrwmB-k.js → chat-json-call-DTmv2uNY.js} +2 -2
  30. package/dist/{chat-json-call-DMrwmB-k.js.map → chat-json-call-DTmv2uNY.js.map} +1 -1
  31. package/dist/cli.js +7 -7
  32. package/dist/{cluster-C-K0N2br.d.ts → cluster-BJ0nW3P7.d.ts} +2 -2
  33. package/dist/{cluster-C-K0N2br.d.ts.map → cluster-BJ0nW3P7.d.ts.map} +1 -1
  34. package/dist/{cluster-bootstrap-DXbnIdm8.js → cluster-bootstrap-CTC8Dd30.js} +2 -2
  35. package/dist/{cluster-bootstrap-DXbnIdm8.js.map → cluster-bootstrap-CTC8Dd30.js.map} +1 -1
  36. package/dist/{completion-verifier-DsotH2l3.js → completion-verifier-CCPG2Yc0.js} +3 -3
  37. package/dist/{completion-verifier-DsotH2l3.js.map → completion-verifier-CCPG2Yc0.js.map} +1 -1
  38. package/dist/{completion-verifier-C7wipJOK.d.ts → completion-verifier-CQOC3_bm.d.ts} +2 -2
  39. package/dist/{completion-verifier-C7wipJOK.d.ts.map → completion-verifier-CQOC3_bm.d.ts.map} +1 -1
  40. package/dist/contract/index.d.ts +11 -11
  41. package/dist/contract/index.js +12 -12
  42. package/dist/{default-registry-kps1SOaD.js → default-registry-Rs5uzlfJ.js} +3 -3
  43. package/dist/{default-registry-kps1SOaD.js.map → default-registry-Rs5uzlfJ.js.map} +1 -1
  44. package/dist/{default-registry-Bskl2HzV.d.ts → default-registry-X8McMoUV.d.ts} +6 -6
  45. package/dist/{default-registry-Bskl2HzV.d.ts.map → default-registry-X8McMoUV.d.ts.map} +1 -1
  46. package/dist/{define-agent-eval-Dnh4jXLX.js → define-agent-eval-D8ntOXqV.js} +3 -3
  47. package/dist/{define-agent-eval-Dnh4jXLX.js.map → define-agent-eval-D8ntOXqV.js.map} +1 -1
  48. package/dist/{define-agent-eval-tu3anVlk.d.ts → define-agent-eval-DH5-xi-F.d.ts} +4 -4
  49. package/dist/{define-agent-eval-tu3anVlk.d.ts.map → define-agent-eval-DH5-xi-F.d.ts.map} +1 -1
  50. package/dist/diagnosis/index.d.ts +2 -2
  51. package/dist/diagnosis/index.js +1 -1
  52. package/dist/{dspy-rlm-engine-DQbPdT_o.js → dspy-rlm-engine-ChE1PUM5.js} +3 -3
  53. package/dist/{dspy-rlm-engine-DQbPdT_o.js.map → dspy-rlm-engine-ChE1PUM5.js.map} +1 -1
  54. package/dist/{eval-campaign-DswSn7Gm.js → eval-campaign-BciGnrGy.js} +2 -2
  55. package/dist/{eval-campaign-DswSn7Gm.js.map → eval-campaign-BciGnrGy.js.map} +1 -1
  56. package/dist/{evaluation-C4-tf3Z_.d.ts → evaluation-CjZH6gW0.d.ts} +4 -4
  57. package/dist/{evaluation-C4-tf3Z_.d.ts.map → evaluation-CjZH6gW0.d.ts.map} +1 -1
  58. package/dist/evaluation.d.ts +1 -1
  59. package/dist/{exact-types-CUsSMW3n.d.ts → exact-types-BIHqYBYf.d.ts} +2 -2
  60. package/dist/{exact-types-CUsSMW3n.d.ts.map → exact-types-BIHqYBYf.d.ts.map} +1 -1
  61. package/dist/experiment/index.d.ts +5 -5
  62. package/dist/experiment/index.js +8 -8
  63. package/dist/{external-optimizer-contracts-ZDBfbZ_s.js → external-optimizer-contracts-BFV8lnhl.js} +7 -2
  64. package/dist/{external-optimizer-contracts-ZDBfbZ_s.js.map → external-optimizer-contracts-BFV8lnhl.js.map} +1 -1
  65. package/dist/{external-optimizer-process-CVi1x2nb.js → external-optimizer-process-B6emPodQ.js} +3 -3
  66. package/dist/{external-optimizer-process-CVi1x2nb.js.map → external-optimizer-process-B6emPodQ.js.map} +1 -1
  67. package/dist/{external-optimizer-subprocess-mV-2swJI.js → external-optimizer-subprocess-_O06eDVA.js} +33 -20
  68. package/dist/external-optimizer-subprocess-_O06eDVA.js.map +1 -0
  69. package/dist/{feedback-trajectory-D7hgL6y5.d.ts → feedback-trajectory-CoQPmSJV.d.ts} +3 -3
  70. package/dist/{feedback-trajectory-D7hgL6y5.d.ts.map → feedback-trajectory-CoQPmSJV.d.ts.map} +1 -1
  71. package/dist/{findings-store-CZy5kUDo.js → findings-store-CvYUzQBR.js} +4 -4
  72. package/dist/{findings-store-CZy5kUDo.js.map → findings-store-CvYUzQBR.js.map} +1 -1
  73. package/dist/{index-Cav3abKy.d.ts → index-BSb3fJyZ.d.ts} +81 -19
  74. package/dist/{index-Cav3abKy.d.ts.map → index-BSb3fJyZ.d.ts.map} +1 -1
  75. package/dist/{index-CIqYaySd.d.ts → index-Bk1XEkP7.d.ts} +26 -16
  76. package/dist/index-Bk1XEkP7.d.ts.map +1 -0
  77. package/dist/{index-DmMHTDjT.d.ts → index-BmWw8zN6.d.ts} +9 -9
  78. package/dist/{index-DmMHTDjT.d.ts.map → index-BmWw8zN6.d.ts.map} +1 -1
  79. package/dist/{index--vDCtdaj.d.ts → index-CCOaNmh2.d.ts} +7 -7
  80. package/dist/{index--vDCtdaj.d.ts.map → index-CCOaNmh2.d.ts.map} +1 -1
  81. package/dist/{index-moZnazVj.d.ts → index-ZffK_5sD.d.ts} +21 -21
  82. package/dist/{index-moZnazVj.d.ts.map → index-ZffK_5sD.d.ts.map} +1 -1
  83. package/dist/{index-Er8TKQ3q.d.ts → index-aRalB_Ma.d.ts} +3 -3
  84. package/dist/{index-Er8TKQ3q.d.ts.map → index-aRalB_Ma.d.ts.map} +1 -1
  85. package/dist/index.d.ts +29 -29
  86. package/dist/index.js +23 -23
  87. package/dist/{integrity-BF0tJK21.js → integrity-DacT3oJ1.js} +2 -2
  88. package/dist/{integrity-BF0tJK21.js.map → integrity-DacT3oJ1.js.map} +1 -1
  89. package/dist/{integrity-BJGstiCh.d.ts → integrity-DotDLWtj.d.ts} +2 -2
  90. package/dist/{integrity-BJGstiCh.d.ts.map → integrity-DotDLWtj.d.ts.map} +1 -1
  91. package/dist/{judge-gate-DANg5FLq.js → judge-gate-CpD3wmcf.js} +2 -2
  92. package/dist/{judge-gate-DANg5FLq.js.map → judge-gate-CpD3wmcf.js.map} +1 -1
  93. package/dist/{llm-client-Dw4x6EdE.js → llm-client-Dk8lBnMh.js} +15 -2
  94. package/dist/{llm-client-Dw4x6EdE.js.map → llm-client-Dk8lBnMh.js.map} +1 -1
  95. package/dist/{llm-judge-DFoSy4Qn.js → llm-judge-DYmEdo3M.js} +3 -3
  96. package/dist/{llm-judge-DFoSy4Qn.js.map → llm-judge-DYmEdo3M.js.map} +1 -1
  97. package/dist/{matrix-OgdWQBQa.d.ts → matrix-BDl7hoBr.d.ts} +2 -2
  98. package/dist/{matrix-OgdWQBQa.d.ts.map → matrix-BDl7hoBr.d.ts.map} +1 -1
  99. package/dist/{measure-validity-plan-B1_qYlsk.d.ts → measure-validity-plan-BReXzcVh.d.ts} +62 -4
  100. package/dist/measure-validity-plan-BReXzcVh.d.ts.map +1 -0
  101. package/dist/{measure-validity-plan-t0YQRzJQ.js → measure-validity-plan-CJkBNzX_.js} +43 -6
  102. package/dist/measure-validity-plan-CJkBNzX_.js.map +1 -0
  103. package/dist/meta-eval/index.d.ts +2 -2
  104. package/dist/meta-eval/index.js +178 -35
  105. package/dist/meta-eval/index.js.map +1 -1
  106. package/dist/multishot/golden/index.d.ts +1 -1
  107. package/dist/multishot/index.d.ts +56 -17
  108. package/dist/multishot/index.d.ts.map +1 -1
  109. package/dist/multishot/index.js +93 -20
  110. package/dist/multishot/index.js.map +1 -1
  111. package/dist/node-transport-DJno8V46.js +62 -0
  112. package/dist/node-transport-DJno8V46.js.map +1 -0
  113. package/dist/openapi.json +1 -1
  114. package/dist/{optimization-method-D4CpYsVA.js → optimization-method-4JlbMxd2.js} +27 -38
  115. package/dist/optimization-method-4JlbMxd2.js.map +1 -0
  116. package/dist/{paired-arms-B6EXnI47.js → paired-arms-CJH5Q0wx.js} +2 -2
  117. package/dist/{paired-arms-B6EXnI47.js.map → paired-arms-CJH5Q0wx.js.map} +1 -1
  118. package/dist/{paired-promotion-decision-xYe881cD.js → paired-promotion-decision-BtfVwEAk.js} +2 -2
  119. package/dist/{paired-promotion-decision-xYe881cD.js.map → paired-promotion-decision-BtfVwEAk.js.map} +1 -1
  120. package/dist/{paired-promotion-decision-DuvRdnsW.d.ts → paired-promotion-decision-DJlI4z_k.d.ts} +2 -2
  121. package/dist/{paired-promotion-decision-DuvRdnsW.d.ts.map → paired-promotion-decision-DJlI4z_k.d.ts.map} +1 -1
  122. package/dist/{paired-promotion-power-DirShsIs.js → paired-promotion-power-DG1avBKf.js} +3 -3
  123. package/dist/{paired-promotion-power-DirShsIs.js.map → paired-promotion-power-DG1avBKf.js.map} +1 -1
  124. package/dist/pipelines/index.js +1 -1
  125. package/dist/{power-DTg6u30w.js → power-COie_o6E.js} +3 -3
  126. package/dist/{power-DTg6u30w.js.map → power-COie_o6E.js.map} +1 -1
  127. package/dist/{prime-protocol-Jm2pWh--.d.ts → prime-protocol-BRMk6dGI.d.ts} +2 -2
  128. package/dist/{prime-protocol-Jm2pWh--.d.ts.map → prime-protocol-BRMk6dGI.d.ts.map} +1 -1
  129. package/dist/{promotion-gate-BXgcORnM.d.ts → promotion-gate-B0VTBoXg.d.ts} +2 -2
  130. package/dist/{promotion-gate-BXgcORnM.d.ts.map → promotion-gate-B0VTBoXg.d.ts.map} +1 -1
  131. package/dist/{promotion-policy-Z5E-C32U.js → promotion-policy-BgI7PsQn.js} +3 -3
  132. package/dist/{promotion-policy-Z5E-C32U.js.map → promotion-policy-BgI7PsQn.js.map} +1 -1
  133. package/dist/{registry-DEZDECdr.d.ts → registry-BeInzotS.d.ts} +4 -4
  134. package/dist/{registry-DEZDECdr.d.ts.map → registry-BeInzotS.d.ts.map} +1 -1
  135. package/dist/reporting.d.ts +4 -4
  136. package/dist/reporting.js +3 -3
  137. package/dist/{research-report-CIgUe1lv.d.ts → research-report-CL5_UqCX.d.ts} +2 -2
  138. package/dist/{research-report-CIgUe1lv.d.ts.map → research-report-CL5_UqCX.d.ts.map} +1 -1
  139. package/dist/{researcher-CY_byuZl.d.ts → researcher-BOpZP_Ja.d.ts} +4 -4
  140. package/dist/{researcher-CY_byuZl.d.ts.map → researcher-BOpZP_Ja.d.ts.map} +1 -1
  141. package/dist/rl.d.ts +7 -7
  142. package/dist/rl.js +4 -4
  143. package/dist/rollout/index.d.ts +2 -2
  144. package/dist/rollout/index.js +1 -1
  145. package/dist/{rollout-B_lrpd9a.js → rollout--rSr43Pd.js} +2 -2
  146. package/dist/{rollout-B_lrpd9a.js.map → rollout--rSr43Pd.js.map} +1 -1
  147. package/dist/{rollout-nodes-Vas6OSxX.js → rollout-nodes-DFxKpIr2.js} +39 -10
  148. package/dist/rollout-nodes-DFxKpIr2.js.map +1 -0
  149. package/dist/{run-improvement-loop-BaPDVbW8.d.ts → run-improvement-loop-BeHu5D9Z.d.ts} +22 -10
  150. package/dist/run-improvement-loop-BeHu5D9Z.d.ts.map +1 -0
  151. package/dist/{runtime-rollouts-Vv-BAqmq.js → runtime-rollouts-CE0MbQPq.js} +54 -7
  152. package/dist/runtime-rollouts-CE0MbQPq.js.map +1 -0
  153. package/dist/search/index.d.ts +2 -2
  154. package/dist/search/index.js +2 -2
  155. package/dist/{search-kernel-BzTeb89p.d.ts → search-kernel-CJZ-ZSV1.d.ts} +3 -3
  156. package/dist/{search-kernel-BzTeb89p.d.ts.map → search-kernel-CJZ-ZSV1.d.ts.map} +1 -1
  157. package/dist/{search-kernel-DOPW08Hx.js → search-kernel-mZc79S6N.js} +4 -4
  158. package/dist/{search-kernel-DOPW08Hx.js.map → search-kernel-mZc79S6N.js.map} +1 -1
  159. package/dist/{search-summary-CYOHZAAy.js → search-summary-CCgP2qXz.js} +3 -3
  160. package/dist/{search-summary-CYOHZAAy.js.map → search-summary-CCgP2qXz.js.map} +1 -1
  161. package/dist/{self-improve-DY8ZY4lY.d.ts → self-improve-B1fsNejr.d.ts} +6 -6
  162. package/dist/{self-improve-DY8ZY4lY.d.ts.map → self-improve-B1fsNejr.d.ts.map} +1 -1
  163. package/dist/{self-improve-CIFqccHV.js → self-improve-C_Bcdmv8.js} +5 -4
  164. package/dist/{self-improve-CIFqccHV.js.map → self-improve-C_Bcdmv8.js.map} +1 -1
  165. package/dist/{sequential-B9iROM1S.d.ts → sequential-CHplorpC.d.ts} +2 -2
  166. package/dist/{sequential-B9iROM1S.d.ts.map → sequential-CHplorpC.d.ts.map} +1 -1
  167. package/dist/{sequential-tZjGysXY.js → sequential-DR-pnYQ7.js} +3 -3
  168. package/dist/{sequential-tZjGysXY.js.map → sequential-DR-pnYQ7.js.map} +1 -1
  169. package/dist/{server-1fzBCxMh.js → server-aZFmRucn.js} +3 -3
  170. package/dist/{server-1fzBCxMh.js.map → server-aZFmRucn.js.map} +1 -1
  171. package/dist/{skillopt-optimization-method-CbHBkopM.js → skillopt-optimization-method-DHk1K757.js} +93 -39
  172. package/dist/skillopt-optimization-method-DHk1K757.js.map +1 -0
  173. package/dist/{statistical-heldout-C7Jjo5nP.js → statistical-heldout-CL_7mI5C.js} +2 -2
  174. package/dist/{statistical-heldout-C7Jjo5nP.js.map → statistical-heldout-CL_7mI5C.js.map} +1 -1
  175. package/dist/{statistics-BPl13X3G.js → statistics-AKnVFnK-.js} +67 -42
  176. package/dist/statistics-AKnVFnK-.js.map +1 -0
  177. package/dist/statistics.d.ts +3 -3
  178. package/dist/statistics.js +1 -1
  179. package/dist/{store-tool-spans-Dq8r0PbJ.d.ts → store-tool-spans-M3WxeRrG.d.ts} +4 -4
  180. package/dist/{store-tool-spans-Dq8r0PbJ.d.ts.map → store-tool-spans-M3WxeRrG.d.ts.map} +1 -1
  181. package/dist/{summary-report-DzbnK81K.js → summary-report-DyBkOC6V.js} +3 -3
  182. package/dist/{summary-report-DzbnK81K.js.map → summary-report-DyBkOC6V.js.map} +1 -1
  183. package/dist/supervisor-run/index.d.ts +12 -2
  184. package/dist/supervisor-run/index.d.ts.map +1 -1
  185. package/dist/supervisor-run/index.js +3 -3
  186. package/dist/{systemone-BuSZTI88.d.ts → systemone-4PadCE4C.d.ts} +7 -7
  187. package/dist/{systemone-BuSZTI88.d.ts.map → systemone-4PadCE4C.d.ts.map} +1 -1
  188. package/dist/{systemone-review-mlfxWdLz.d.ts → systemone-review-DpAXWDkL.d.ts} +2 -2
  189. package/dist/{systemone-review-mlfxWdLz.d.ts.map → systemone-review-DpAXWDkL.d.ts.map} +1 -1
  190. package/dist/systemone.d.ts +3 -3
  191. package/dist/{tool-groups-PNDX8fd-.d.ts → tool-groups-SlnoQNyT.d.ts} +2 -2
  192. package/dist/tool-groups-SlnoQNyT.d.ts.map +1 -0
  193. package/dist/{tool-waste-783VCo1y.js → tool-waste-BZnYSa6J.js} +2 -2
  194. package/dist/{tool-waste-783VCo1y.js.map → tool-waste-BZnYSa6J.js.map} +1 -1
  195. package/dist/{trace-questions-DBtr4jWi.d.ts → trace-questions-ybyF0B6N.d.ts} +2 -2
  196. package/dist/{trace-questions-DBtr4jWi.d.ts.map → trace-questions-ybyF0B6N.d.ts.map} +1 -1
  197. package/dist/trace-repair/index.d.ts +1 -1
  198. package/dist/traces.d.ts +4 -4
  199. package/dist/{tree-CtlQQL1w.js → tree-CiIe-f3f.js} +4 -4
  200. package/dist/{tree-CtlQQL1w.js.map → tree-CiIe-f3f.js.map} +1 -1
  201. package/dist/{types-CKNAzCSA.d.ts → types-B1W3v8dT.d.ts} +3 -3
  202. package/dist/{types-CKNAzCSA.d.ts.map → types-B1W3v8dT.d.ts.map} +1 -1
  203. package/dist/{types-BO948H-U.d.ts → types-D5XtEH9Q.d.ts} +8 -4
  204. package/dist/{types-BO948H-U.d.ts.map → types-D5XtEH9Q.d.ts.map} +1 -1
  205. package/dist/{types-DbeIGi73.d.ts → types-an-CUndX.d.ts} +2 -2
  206. package/dist/{types-DbeIGi73.d.ts.map → types-an-CUndX.d.ts.map} +1 -1
  207. package/dist/{types-D-WF1KM3.d.ts → types-xVtEOBhO.d.ts} +31 -8
  208. package/dist/types-xVtEOBhO.d.ts.map +1 -0
  209. package/dist/wire/index.d.ts +4 -4
  210. package/dist/wire/index.js +1 -1
  211. package/dist/world/index.d.ts +1 -1
  212. package/docs/design/statistics-decisions.md +18 -1
  213. package/docs/eval-surface-map.md +1 -1
  214. package/docs/feature-guide.md +1 -1
  215. package/docs/multi-turn-optimization.md +6 -2
  216. package/docs/outcome-validity.md +51 -12
  217. package/docs/public-api.md +7 -7
  218. package/docs/{multi-shot-optimization.md → trajectory-optimization.md} +1 -1
  219. package/package.json +1 -1
  220. package/dist/benchmark-command-DLg8E4y8.js.map +0 -1
  221. package/dist/external-optimizer-subprocess-mV-2swJI.js.map +0 -1
  222. package/dist/index-CIqYaySd.d.ts.map +0 -1
  223. package/dist/measure-validity-plan-B1_qYlsk.d.ts.map +0 -1
  224. package/dist/measure-validity-plan-t0YQRzJQ.js.map +0 -1
  225. package/dist/optimization-method-D4CpYsVA.js.map +0 -1
  226. package/dist/rollout-nodes-Vas6OSxX.js.map +0 -1
  227. package/dist/run-improvement-loop-BaPDVbW8.d.ts.map +0 -1
  228. package/dist/runtime-rollouts-Vv-BAqmq.js.map +0 -1
  229. package/dist/skillopt-optimization-method-CbHBkopM.js.map +0 -1
  230. package/dist/statistics-BPl13X3G.js.map +0 -1
  231. package/dist/tool-groups-PNDX8fd-.d.ts.map +0 -1
  232. package/dist/types-D-WF1KM3.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { o as CostLedgerHandle, u as CostProvenance } from "./cost-ledger-CSP-OfFe.js";
2
2
  import { a as RunRecord, d as RunTokenUsage } from "./run-record-kuOr3BCF.js";
3
- import { n as ChatClient } from "./chat-client-uQNXGuO4.js";
4
- import { g as JudgeInput, t as BootstrapInterval } from "./cluster-C-K0N2br.js";
3
+ import { n as ChatClient } from "./chat-client-BlTooBDA.js";
4
+ import { g as JudgeInput, t as BootstrapInterval } from "./cluster-BJ0nW3P7.js";
5
5
  import { z } from "zod";
6
6
  import { SpanKind } from "@tangle-network/agent-trace-contract";
7
7
  import { RE2JS } from "re2js";
@@ -1167,4 +1167,4 @@ type AnalystRunEvent = {
1167
1167
  result: AnalystRunResult;
1168
1168
  };
1169
1169
  export { parseRawFinding as $, FindingParseOutcome as A, FindingTreatment as B, CalibrationInterval as C, TraceAnalystSpanKind as Ct, FindingLayer as D, ViewTraceOversized as Dt, FindingEvidenceUnit as E, ViewSpansResult as Et, independentUnitCount as F, TraceAnalysisEngineRequest as G, TreatmentLayer as H, lineageRoots as I, RAW_FINDING_SCHEMA_PROMPT as J, TraceAnalysisEngineResult as K, parseAnalystFinding as L, FindingScope as M, FindingScopeReading as N, FindingMeasure as O, ViewTraceResult as Ot, ProposalFindingSchema as P, evidenceRefsFromRawFinding as Q, readFindingScope as R, makeProposalFinding as S, TraceAnalystSpan as St, FindingCalibration as T, TraceAnalystTraceSummary as Tt, TraceAnalysisActivity as U, TREATMENT_LAYERS as V, TraceAnalysisEngine as W, RawAnalystFinding as X, RawAnalystEvidence as Y, RawAnalystFindingSchema as Z, ExecutionProbeRequest as _, SearchSpanResult as _t, AnalystFindingSchemaVersion as a, createBoundedTraceAnalysisStore as at, computeFindingId as b, TraceAnalystByteBudgets as bt, AnalystRunEvent as c, ReadSpanSourceResult as ct, AnalystRunSummary as d, TraceAnalysisStore as dt, BuildTraceAnalysisToolsOptions as et, AnalystSeverity as f, TraceAnalysisStoreContext as ft, ExecutionProbeOutcome as g, QueryTracesPage as gt, ExecutionProbe as h, ErrorCluster as ht, AnalystFinding as i, buildTraceAnalysisToolDescriptors as it, FindingReaderLabel as j, FindingMethod as k, AnalystRunInputs as l, SpanSourceReader as lt, EvidenceRef as m, DatasetOverview as mt, AnalystContext as n, TraceAnalysisToolDescriptor as nt, AnalystInputKind as o, BoundedTraceAnalysisStoreOptions as ot, AnalystUsageReceipt as p, DEFAULT_TRACE_ANALYST_BUDGETS as pt, TraceAnalystLimits as q, AnalystCost as r, UNTRUSTED_TRACE_TEXT as rt, AnalystRequirements as s, ReadSpanSourceInput as st, Analyst as t, TRACE_ANALYST_TOOL_NAMESPACE as tt, AnalystRunResult as u, TRACE_ANALYSIS_LIMITS as ut, ProposalFinding as v, SearchTraceResult as vt, FINDING_LAYERS as w, TraceAnalystSpanStatus as wt, makeFinding as x, TraceAnalystFilters as xt, ProposalFindingOrigin as y, SpanMatchRecord as yt, FindingConditions as z };
1170
- //# sourceMappingURL=types-CKNAzCSA.d.ts.map
1170
+ //# sourceMappingURL=types-B1W3v8dT.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-CKNAzCSA.d.ts","names":[],"sources":["../src/trace-analyst/types.ts","../src/trace-analyst/store-contract.ts","../src/trace-analyst/store-boundary.ts","../src/eval-tools.ts","../src/trace-analyst/tools.ts","../src/analyst/finding-signature.ts","../src/analyst/engine.ts","../src/analyst/finding-composition.ts","../src/analyst/finding-scope.ts","../src/analyst/types.ts"],"mappings":";;;;;;;;;;;;KAsBY,uBAAuB;KAEvB;;;;UAKK;EACf;EACA;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA;EACA;EACA;;;EAGA,YAAY;;UAGG;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;EAGA;;;;;;;UAQe;;EAEf;;EAEA;;EAEA;;EAEA;EACA;EACA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;IAAU;IAAqB;;;;;;EAK/B,gBAAgB;EAChB;IAAc;IAAkB;;;UAGjB;EACf,QAAQ;EAC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EACA,SAAS;;;;;;;KAQC;EAEN;EACA;EACA;EACA;EACA;;EAEA;;EAEA;EAAkB;IAAS;IAAe;;;;;;;;UAO/B;;WAEN;EACT,QAAQ,SAAS,wBAAwB,QAAQ;;;;;;;;UASlC,QAAQ;;WAEd;;WAEA;WACA,WAAW;WACX,MAAM;WACN,WAAW;;WAEX;EACT,QAAQ,OAAO,QAAQ,KAAK,iBAAiB,QAAQ;;;UAItC;;EAEf,WAAW;;EAEX;;EAEA,QAAQ;;EAER,MAAM;;EAEN;;;;;;;;EAQA;IAAkB;IAAsB;;;;;;;;EAOxC;;;;;;;;;;;;iBAec,iBAAiB;EAC/B;EACA;EACA;EACA;;EAEA;EACA,YAAY;EACZ,aAAa;;;;;;iBAyCC,YACd,MAAM,KAAK;EACT;EACA;IAED;;iBAsBa,oBACd,MAAM,KAAK;EACT;EACA;IAED;UAOc;EACf;EACA;;EAEA;EACA;EACA;;EAEA,OAAO;;EAEP;IAAU;IAAe;;;UAGV;EACf;EACA;EACA;EACA;EACA,UAAU;EACV,aAAa;;EAEb;;;;;EAKA,wBAAwB;;;;;;;;;;;;;;;KAkBd;EAEN;EACA;EACA;EACA;;EAEA,aAAa;;EAGb;EACA,SAAS;;EAGT;EACA;EACA;;EAGA;;EAEA,SAAS;EACT,UAAU,cAAc;;EAGxB;EACA,QAAQ"}
1
+ {"version":3,"file":"types-B1W3v8dT.d.ts","names":[],"sources":["../src/trace-analyst/types.ts","../src/trace-analyst/store-contract.ts","../src/trace-analyst/store-boundary.ts","../src/eval-tools.ts","../src/trace-analyst/tools.ts","../src/analyst/finding-signature.ts","../src/analyst/engine.ts","../src/analyst/finding-composition.ts","../src/analyst/finding-scope.ts","../src/analyst/types.ts"],"mappings":";;;;;;;;;;;;KAsBY,uBAAuB;KAEvB;;;;UAKK;EACf;EACA;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA;EACA;EACA;;;EAGA,YAAY;;UAGG;EACf;EACA;EACA;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;EACA,YAAY;EACZ,aAAa;;EAEb,SAAS;;UAGM;EACf;;EAEA;;EAEA;;EAEA;;EAEA,aAAa;;EAEb;;;;;;;EAOA,OAAO;;;;;;;;;;EAUP,gBAAgB,cAAc;;;;;;;EAO9B,mBAAmB,cAAc;;;;;EAKjC,eAAe,SAAS;;EAExB,OAAO;;EAEP,OAAO,aAAa,SAAS;;EAE7B,SAAS;;;;;;;;EAQT,QAAQ;;;UAMO;EACf;;EAEA;;EAEA;;EAEA;EACA,SAAS;;;;;;;KAQC;EAEN;EACA;EACA;EACA;EACA;;EAEA;;EAEA;EAAkB;IAAS;IAAe;;;;;;;;UAO/B;;WAEN;EACT,QAAQ,SAAS,wBAAwB,QAAQ;;;;;;;;UASlC,QAAQ;;WAEd;;WAEA;WACA,WAAW;WACX,MAAM;WACN,WAAW;;WAEX;EACT,QAAQ,OAAO,QAAQ,KAAK,iBAAiB,QAAQ;;;UAItC;;EAEf,WAAW;;EAEX;;EAEA,QAAQ;;EAER,MAAM;;EAEN;;;;;;;;EAQA;IAAkB;IAAsB;;;;;;;;EAOxC;;;;;;;;;;;;iBAec,iBAAiB;EAC/B;EACA;EACA;EACA;;EAEA;EACA,YAAY;EACZ,aAAa;;;;;;iBAyCC,YACd,MAAM,KAAK;EACT;EACA;IAED;;iBAsBa,oBACd,MAAM,KAAK;EACT;EACA;IAED;UAOc;EACf;EACA;;EAEA;EACA;EACA;;EAEA,OAAO;;EAEP;IAAU;IAAe;;;UAGV;EACf;EACA;EACA;EACA;EACA,UAAU;EACV,aAAa;;EAEb;;;;;EAKA,wBAAwB;;;;;;;;;;;;;;;KAkBd;EAEN;EACA;EACA;EACA;;EAEA,aAAa;;EAGb;EACA,SAAS;;EAGT;EACA;EACA;;EAGA;;EAEA,SAAS;EACT,UAAU,cAAc;;EAGxB;EACA,QAAQ"}
@@ -1,8 +1,8 @@
1
1
  import { g as PaidCallResult, i as CostChannel, l as CostLedgerSummary, o as CostLedgerHandle, r as CostBreakdown, u as CostProvenance, y as RunPaidCallInput } from "./cost-ledger-CSP-OfFe.js";
2
2
  import { a as RunRecord, d as RunTokenUsage, s as RunSearchCoordinates } from "./run-record-kuOr3BCF.js";
3
- import { v as ProposalFinding } from "./types-CKNAzCSA.js";
4
- import { p as LlmCallMetadata } from "./chat-client-uQNXGuO4.js";
5
- import { gt as SeriesDistribution } from "./index-CIqYaySd.js";
3
+ import { v as ProposalFinding } from "./types-B1W3v8dT.js";
4
+ import { p as LlmCallMetadata } from "./chat-client-BlTooBDA.js";
5
+ import { gt as SeriesDistribution } from "./index-Bk1XEkP7.js";
6
6
  import { n as VerdictCertification } from "./verdict-D_qiBQ6_.js";
7
7
  import { A as SearchLedgerHash, F as SearchNodeRegisteredEvent, G as SearchSplit, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, U as SearchReservation, Z as SearchTask, b as SearchClosedEvent, d as SearchCellCancelledEvent, et as SearchTraceRef, i as SearchArtifactRef, l as SearchCandidateSurface, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, w as SearchEdgeRecordedEvent, z as SearchOperationRecordedEvent } from "./search-ledger-types-BhZE848w.js";
8
8
  import { y as LedgerProjector } from "./index-qy6buL6y.js";
@@ -803,6 +803,10 @@ interface GateResult {
803
803
  interface Gate<TArtifact = unknown, TScenario extends Scenario = Scenario> {
804
804
  name: string;
805
805
  decide(ctx: GateContext<TArtifact, TScenario>): Promise<GateResult>;
806
+ /** Throws when the gate would refuse this held-out split. `selfImprove`,
807
+ * `runImprovementLoop` and `compareOptimizationMethods` call it before any
808
+ * cell runs, so a refused split spends no budget. */
809
+ admitHeldOut?(scenarios: readonly TScenario[]): void;
806
810
  }
807
811
  /** Scoped trace writer handed to each dispatch — every span
808
812
  * auto-tagged with the cellId so traces filter cleanly. */
@@ -1102,4 +1106,4 @@ interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scena
1102
1106
  scenarios: Array<CampaignScenarioIdentity & Pick<TScenario, 'id' | 'kind'>>;
1103
1107
  }
1104
1108
  export { MintRolloutResult as $, LabeledScenarioWrite as A, ScoredSurfaceOutcome as B, JudgeDimension as C, LabeledScenarioSampleArgs as D, LabeledScenarioRecord as E, ProposeContext as F, SearchProposerView as G, SurfaceProposer as H, ProposedCandidate as I, searchProposerView as J, SearchSummaryOptions as K, RedactionStatus as L, OptimizerConfig as M, ParetoParent as N, LabeledScenarioSource as O, ProposalTrackContext as P, MintRolloutOptions as Q, Scenario as R, JudgeConfig as S, LabelTrust as T, TraceSpan as U, SessionScript as V, isProposedCandidate as W, SearchStateView as X, SearchState as Y, searchUnitScores as Z, GateDecision as _, CampaignResult as a, SearchCompletion as at, GenerationRecord as b, CampaignTraceWriter as c, SearchOperation as ct, DispatchContext as d, SearchUnitScore as dt, RolloutScrubber as et, DispatchFn as f, searchCellId as ft, GateContribution as g, GateContext as h, CampaignCostMeter as i, SearchCell as it, MutableSurface as j, LabeledScenarioStore as k, CodeSurface as l, SearchScoredCell as lt, GateCheckStatus as m, searchTaskSetDigest as mt, CampaignArtifactWriter as n, mintRolloutRows as nt, CampaignScenarioIdentity as o, SearchDecisionRecord as ot, Gate as p, searchNodeId as pt, renderSearchSummary as q, CampaignCellResult as r, unmintableReasons as rt, CampaignTokenUsage as s, SearchNode as st, CampaignAggregates as t, RolloutSearchLineage as tt, ComponentSurface as u, SearchSpend as ut, GateResult as v, JudgeScore as w, JudgeAggregate as x, GenerationCandidate as y, ScenarioAggregate as z };
1105
- //# sourceMappingURL=types-BO948H-U.d.ts.map
1109
+ //# sourceMappingURL=types-D5XtEH9Q.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-BO948H-U.d.ts","names":[],"sources":["../src/campaign/search-state-identity.ts","../src/campaign/search-state-types.ts","../src/campaign/search-state-indexes.ts","../src/rollout/mint.ts","../src/campaign/search-state-view.ts","../src/campaign/search-state-projection.ts","../src/campaign/search-summary.ts","../src/campaign/types.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A;;EAEA;;UAGe,eAAe,qBAAqB,kBAAkB,WAAW;;EAEhF;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA,OAAO,MAAM,mBAAmB;EAChC,YAAY;EACZ;IACE,aAAa;IACb;;EAEF,OAAO;EACP;EACA;EACA,iBAAiB;;;EAGjB,WAAW,MAAM,2BAA2B,KAAK"}
1
+ {"version":3,"file":"types-D5XtEH9Q.d.ts","names":[],"sources":["../src/campaign/search-state-identity.ts","../src/campaign/search-state-types.ts","../src/campaign/search-state-indexes.ts","../src/rollout/mint.ts","../src/campaign/search-state-view.ts","../src/campaign/search-state-projection.ts","../src/campaign/search-summary.ts","../src/campaign/types.ts"],"mappings":";;;;;;;;;;;iBAOgB,aAAa,kBAAkB;;iBAK/B,aACd,kBACA,gBACA,gBACA,OAAO,aACP;;iBAMc,oBAAoB,gBAAgB,eAAe;UCHlD;EACf;EACA,UAAU;EACV,OAAO;EACP;EACA;;UAGe;EACf;EACA;EACA;EACA;;;;UAKe;EACf;EACA;EACA;EACA;;;UAIe;EACf;EACA;;EAEA;EACA;;UAGe;EACf;;EAEA;EACA,gBAAgB;EAChB,UAAU;EACV,mBAAmB;;;EAGnB;;EAEA;;;;EAIA,kBAAkB;EAClB;EACA;EACA,QAAQ;EACR;;EAEA;EACA,oBAAoB;EACpB;EACA,OAAO;EACP;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA,OAAO;EACP;EACA,OAAO;EACP;EACA,aAAa;EACb;EACA;EACA,SAAS;;EAET;;EAEA;EACA,WAAW;;EAEX;;EAEA;EACA;EACA;EACA;;UAGe;EACf;EACA,eAAe;EACf,aAAa;EACb;;EAEA,SAAS;;;EAGT,WAAW;;;EAGX,oBAAoB;;EAEpB;;EAEA;;UAGe;EACf;EACA;;UAGe;EACf,OAAO;EACP;EACA;EACA;EACA;EACA,SAAS;EACT,YAAY;EACZ;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA,OAAO;;cCvII;WACF,OAAK;IAA4B,OAAA;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;EAKA,WAAW;;;;EAIX;;EAEA;;EAEA;EACA;;UAGe;EACf;EACA;EACA;EACA;;;;;;EAMA,cAAc;;UAGC;EACf;EACA;EACA;;;EAGA,cAAc;;UAGC;EACf;EACA,YAAY;EACZ;;;;;;UAOe;EACf;;;;EAIA;;;;EAIA;;;;EAIA;IACE;IACA;IACA,iBAAiB;MAAQ;MAAgB;;;;;EAI3C,YAAY;;;;;;;;;;EAUZ,WAAW;IAAQ;IAAoB;IAAmB;IAAgB;;;;EAG1E;;;;EAIA;;;;EAIA,cAAc,SAAS;;UAGR;EACf,SAAS,eAAe;EACxB,YAAY,eAAe;;EAE3B,MAAM;;EAEN;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe,eAAe,qBAAqB,kBAAkB,WAAW;;EAEhF;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA,OAAO,MAAM,mBAAmB;EAChC,YAAY;EACZ;IACE,aAAa;IACb;;EAEF,OAAO;EACP;EACA;EACA,iBAAiB;;;EAGjB,WAAW,MAAM,2BAA2B,KAAK"}
@@ -1,6 +1,6 @@
1
1
  import { c as RunSplitTag } from "./run-record-kuOr3BCF.js";
2
2
  import { a as CheckerIdentity, n as VerdictCertification, x as VerificationStrategySource } from "./verdict-D_qiBQ6_.js";
3
- import { R as Scenario, d as DispatchContext } from "./types-BO948H-U.js";
3
+ import { R as Scenario, d as DispatchContext } from "./types-D5XtEH9Q.js";
4
4
  /** A planned measurement contract. It is not evidence that its checker executed. */
5
5
  interface BenchmarkDefinition {
6
6
  schemaVersion: 1;
@@ -164,4 +164,4 @@ declare const BENCHMARK_SPLIT_SEED = "agent-eval-v1";
164
164
  */
165
165
  declare function deterministicSplit(itemId: string, seed?: string, cuts?: readonly [number, number]): RunSplitTag;
166
166
  export { defineBenchmark as _, BenchmarkFamily as a, BenchmarkSource as c, BenchmarkResult as d, benchmarkResult as f, benchmarkDefinitionDigest as g, BenchmarkDefinition as h, BenchmarkEvaluation as i, BenchmarkTaskKind as l, defineBenchmarkResult as m, BenchmarkAdapter as n, BenchmarkResponder as o, benchmarkResultEvidenceDigest as p, BenchmarkDatasetItem as r, BenchmarkScenario as s, BENCHMARK_SPLIT_SEED as t, deterministicSplit as u };
167
- //# sourceMappingURL=types-DbeIGi73.d.ts.map
167
+ //# sourceMappingURL=types-an-CUndX.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-DbeIGi73.d.ts","names":[],"sources":["../src/benchmarks/definition.ts","../src/benchmarks/result.ts","../src/benchmarks/types.ts"],"mappings":";;;;UAQiB;EACf;EACA;EACA,QAAQ;IAAoB;;;EAE5B;EACA;IACE;IACA;IACA;;IAEA;;IAEA;;IAEA;;EAEF;IACE,UAAU;IACV,SAAS;IACT;;;;iBA4DY,gBAAgB,iBAAiB;;iBAMjC,0BAA0B;;UCtFzB;EACf;EACA;EACA;;EAEA;EACA,YAAY;IAAwB;;;;;;;iBA2CtB,sBACd,gBACA,aAAa,sBACZ;;iBA+Ba,8BAA8B,QAAQ;;iBAWtC,gBAAgB;EAC9B,YAAY;EACZ;EACA;EACA,YAAY;IAAwB;;IAClC;KC/FQ;KAQA;UAgBK,qBAAqB;;;EAGpC;;EAEA,SAAS;;EAET,QAAQ;;EAER,SAAS;;EAET,WAAW;;EAEX;;EAEA,SAAS;EACT,WAAW;;UAGI;;;;EAIf;;EAEA;;EAEA,aAAa;;;EAGb,KAAK;;EAEL,gBAAgB;EAChB;;UAGe;EACf;EACA;EACA;;EAEA;EACA;EACA;;EAEA;;;;;EAKA;;;UAQe,iBAAiB,kBAAkB,oBAAoB;;EAEtE;EACA,SAAS;EACT,WAAW;EACX;EACA,SAAS;EACT;;EAEA,aAAa;;EAEb;;;;;EAKA,YAAY,OAAO,cAAc,QAAQ,qBAAqB;;EAE9D,SAAS,MAAM,qBAAqB,WAAW,UAAU,YAAY,QAAQ;;EAE7E,gBACE,MAAM,qBAAqB,WAC3B,UAAU,YACT,QAAQ;;;;EAIX,YAAY,iBAAiB;;UAGd,kBAAkB,4BAA4B;EAC7D;EACA;EACA,QAAQ;EACR,UAAU;EACV,UAAU;EACV,MAAM,qBAAqB;;KAGjB,mBAAmB,oBAAoB,uBAAuB;EACxE,UAAU,kBAAkB;EAC5B,MAAM,qBAAqB;EAC3B,SAAS;MACL,QAAQ,aAAa;;;cAoBd;;;;;;;;;;iBAWG,mBACd,gBACA,eACA,mCACC"}
1
+ {"version":3,"file":"types-an-CUndX.d.ts","names":[],"sources":["../src/benchmarks/definition.ts","../src/benchmarks/result.ts","../src/benchmarks/types.ts"],"mappings":";;;;UAQiB;EACf;EACA;EACA,QAAQ;IAAoB;;;EAE5B;EACA;IACE;IACA;IACA;;IAEA;;IAEA;;IAEA;;EAEF;IACE,UAAU;IACV,SAAS;IACT;;;;iBA4DY,gBAAgB,iBAAiB;;iBAMjC,0BAA0B;;UCtFzB;EACf;EACA;EACA;;EAEA;EACA,YAAY;IAAwB;;;;;;;iBA2CtB,sBACd,gBACA,aAAa,sBACZ;;iBA+Ba,8BAA8B,QAAQ;;iBAWtC,gBAAgB;EAC9B,YAAY;EACZ;EACA;EACA,YAAY;IAAwB;;IAClC;KC/FQ;KAQA;UAgBK,qBAAqB;;;EAGpC;;EAEA,SAAS;;EAET,QAAQ;;EAER,SAAS;;EAET,WAAW;;EAEX;;EAEA,SAAS;EACT,WAAW;;UAGI;;;;EAIf;;EAEA;;EAEA,aAAa;;;EAGb,KAAK;;EAEL,gBAAgB;EAChB;;UAGe;EACf;EACA;EACA;;EAEA;EACA;EACA;;EAEA;;;;;EAKA;;;UAQe,iBAAiB,kBAAkB,oBAAoB;;EAEtE;EACA,SAAS;EACT,WAAW;EACX;EACA,SAAS;EACT;;EAEA,aAAa;;EAEb;;;;;EAKA,YAAY,OAAO,cAAc,QAAQ,qBAAqB;;EAE9D,SAAS,MAAM,qBAAqB,WAAW,UAAU,YAAY,QAAQ;;EAE7E,gBACE,MAAM,qBAAqB,WAC3B,UAAU,YACT,QAAQ;;;;EAIX,YAAY,iBAAiB;;UAGd,kBAAkB,4BAA4B;EAC7D;EACA;EACA,QAAQ;EACR,UAAU;EACV,UAAU;EACV,MAAM,qBAAqB;;KAGjB,mBAAmB,oBAAoB,uBAAuB;EACxE,UAAU,kBAAkB;EAC5B,MAAM,qBAAqB;EAC3B,SAAS;MACL,QAAQ,aAAa;;;cAoBd;;;;;;;;;;iBAWG,mBACd,gBACA,eACA,mCACC"}
@@ -1,4 +1,4 @@
1
- import { gt as SeriesDistribution } from "./index-CIqYaySd.js";
1
+ import { gt as SeriesDistribution } from "./index-Bk1XEkP7.js";
2
2
  import { C as RolloutWorkspaceCapture, h as RolloutLine } from "./schema-BfSoJjD-.js";
3
3
  /** A metric that could not be computed, with the reason its artifact was missing. */
4
4
  interface Unavailable {
@@ -148,6 +148,12 @@ interface SupervisorRunSources {
148
148
  * holds no such record; `undefined` = the store has no failure document.
149
149
  */
150
150
  readonly failure?: string | null;
151
+ /**
152
+ * The output of the node that stopped the graph, read for a `stopped`
153
+ * no-winner `result.json`: the last node in `result.tree.nodes` and its
154
+ * output blob. Absent when the source has no such record.
155
+ */
156
+ readonly graphStop?: GraphStopSource;
151
157
  /**
152
158
  * Judge verdict document (JSON), or the matching ledger row re-encoded as
153
159
  * one. Runners that write the verdict straight to a ledger leave no judge
@@ -419,16 +425,33 @@ type SupervisorStatusSource =
419
425
  'runtime-result' |
420
426
  /** Runtime's `failure.json`: `supervise()` threw before a result landed. */
421
427
  'runtime-failure';
428
+ /** The last settled node of a `stopped` graph and the output that stopped it. */
429
+ interface GraphStopSource {
430
+ /** The node's `label`; null when the node or its label is absent. */
431
+ readonly label: string | null;
432
+ /** The parsed output blob; undefined when it could not be read. */
433
+ readonly output?: unknown;
434
+ /** Why `output` is absent; null when it was read. */
435
+ readonly absent: string | null;
436
+ }
422
437
  /** The error a run directory recorded. */
423
438
  interface TerminalFailure {
424
439
  /**
425
- * Which record carried the error: Runtime's `failure.json`, or the driver
426
- * rejection inside a `driver-failed` no-winner `result.json`.
440
+ * Which record carried the error: Runtime's `failure.json`, the driver
441
+ * rejection inside a `driver-failed` no-winner `result.json`, or the output
442
+ * of the node whose result stopped the graph (`graph-stop`, a `stopped`
443
+ * no-winner with no error).
444
+ */
445
+ readonly source: 'runtime-failure' | 'runtime-result' | 'graph-stop';
446
+ /**
447
+ * `error.name` exactly as recorded; for `graph-stop`, the stopping node's
448
+ * label. Null when the record has none.
427
449
  */
428
- readonly source: 'runtime-failure' | 'runtime-result';
429
- /** `error.name` exactly as recorded; null when the record has none. */
430
450
  readonly name: string | null;
431
- /** `error.message` exactly as recorded; null when the record has none. */
451
+ /**
452
+ * `error.message` exactly as recorded; for `graph-stop`, the `reason` of the
453
+ * stopping node's output. Null when the record has none.
454
+ */
432
455
  readonly message: string | null;
433
456
  /** ISO timestamp the record carries; null when it carries none. */
434
457
  readonly at: string | null;
@@ -562,5 +585,5 @@ interface SupervisorRunTreeGap {
562
585
  readonly nodeId?: string;
563
586
  readonly count?: number;
564
587
  }
565
- export { WorkerTurnCoverage as A, SupervisorRunTreeGapCode as C, WallDistribution as D, Unavailable as E, showMeasured as M, unavailable as N, WorkerLogSource as O, SupervisorRunTreeGap as S, TerminalFailure as T, SupervisorRunReader as _, OrchestrationMetrics as a, SupervisorRunSources as b, PerWorkerRow as c, RollupCellRow as d, SourceLimits as f, SupervisorRunNodeRole as g, SteerBreakdown as h, NamedResourceReceipt as i, isUnavailable as j, WorkerNativeSession as k, ResourceSpendRecord as l, SpendMeasurements as m, EconomicsMetrics as n, OutcomeMetrics as o, SpendMeasurement as p, Measured as r, PatchStats as s, DecisionMetrics as t, RoleSpend as u, SupervisorRunReport as v, SupervisorStatusSource as w, SupervisorRunTree as x, SupervisorRunRollup as y };
566
- //# sourceMappingURL=types-D-WF1KM3.d.ts.map
588
+ export { WorkerNativeSession as A, SupervisorRunTreeGap as C, Unavailable as D, TerminalFailure as E, isUnavailable as M, showMeasured as N, WallDistribution as O, unavailable as P, SupervisorRunTree as S, SupervisorStatusSource as T, SupervisorRunNodeRole as _, NamedResourceReceipt as a, SupervisorRunRollup as b, PatchStats as c, RoleSpend as d, RollupCellRow as f, SteerBreakdown as g, SpendMeasurements as h, Measured as i, WorkerTurnCoverage as j, WorkerLogSource as k, PerWorkerRow as l, SpendMeasurement as m, EconomicsMetrics as n, OrchestrationMetrics as o, SourceLimits as p, GraphStopSource as r, OutcomeMetrics as s, DecisionMetrics as t, ResourceSpendRecord as u, SupervisorRunReader as v, SupervisorRunTreeGapCode as w, SupervisorRunSources as x, SupervisorRunReport as y };
589
+ //# sourceMappingURL=types-xVtEOBhO.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-xVtEOBhO.d.ts","names":[],"sources":["../src/supervisor-run/types.ts"],"mappings":";;;UAkCiB;WACN;;;KAIC,SAAS,KAAK,IAAI;iBAEd,YAAY,iBAAiB;iBAI7B,cAAc,aAAa,KAAK;;iBAKhC,aAAa,GAAG;;KAWpB;;UAGK;WACN;WACA;;;KAIC;WAEG;WACA;;;WAGA;;;;WAIA;;WAEA;WAAgC;;;;;;UAM9B;;;;;WAKN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;;;;WAMA,QAAQ;;;;;;WAMR,gBAAgB;;WAEhB,6BAA6B;;WAE7B;;WAEA;WACA;WACA;WACA;;;;;;;;;;;;;UAcM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;;;;;;;UAqBM;;WAEN;WACA;;WAEA;;WAEA;;;;;;WAMA;;;;;;WAMA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB;;;;WAIA;;;;;;WAMA;;;;;;WAMA,YAAY;;;;;;;WAOZ;;WAEA;;WAEA;;WAEA;;;;;;WAMA;;;;;WAKA;IACP;IACA;IACA;IACA;;IAEA;IACA;;WAEO;;WAEA,QAAQ;;;;;WAKR;;WAEA,iCAAiC;;;;;WAKjC;;;;;;UAOM;;WAEN;EACT,QAAQ,QAAQ;;cAOL;cACA;UAEI;;WAEN;WACA;;W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,SAAS;;;;;;WAM1B,WAAW;;;;;;;WAOX,SAAS,SAAS;WAClB,YAAY;WACZ,WAAW;WACX,eAAe;WACf,YAAY;WACZ,aAAa;WACb,YAAY;WACZ,YAAY;WACZ,UAAU;WACV,OAAO,SAAS;;WAEhB;;UAGM;WACN,eAAe;;WAEf;WACA;WACA;WACA,cAAc;WACd,yBAAyB;WACzB;WACA,eAAe;WACf,UAAU;WACV,WAAW;WACX,SAAS;;WAET,gCAAgC;;WAEhC;;WAEA;;UAGM;;WAEN,kBAAkB,kBAAkB;WACpC;WACA;WACA,QAAQ;WACR,OAAO;WACP,aAAa;WACb,SAAS;WACT,UAAU;WACV,KAAK;;UAGC;WACN,eAAe;WACf;WACA,aAAa;WACb,iBAAiB;WACjB;WACA,WAAW;WACX,mBAAmB;WACnB,iBAAiB;WACjB,aAAa;WACb,qBAAqB;WACrB,eAAe;;;;;WAKf,UAAU;;;;;;;WAOV;aACE;eAA2B,OAAO;eAA2B;;aAC7D;eAAwB,OAAO;eAA2B;;;WAE5D,eAAe;WACf,kBAAkB;;;;;;;;UASZ;WACN;WACA,gBAAgB;;WAEhB,eAAe;;;KAId;UAYK;WACN,MAAM;WACN;WACA;WACA"}
@@ -1,7 +1,7 @@
1
1
  import { m as CustomTokenPricing, o as CostLedgerHandle } from "../cost-ledger-CSP-OfFe.js";
2
- import { n as ChatClient } from "../chat-client-uQNXGuO4.js";
2
+ import { n as ChatClient } from "../chat-client-BlTooBDA.js";
3
3
  import { s as TraceStore } from "../store-CMs5wGXP.js";
4
- import { m as FeedbackTrajectoryStore } from "../feedback-trajectory-D7hgL6y5.js";
4
+ import { m as FeedbackTrajectoryStore } from "../feedback-trajectory-CoQPmSJV.js";
5
5
  import { z } from "zod";
6
6
  import { ServerType } from "@hono/node-server";
7
7
  import { Hono } from "hono";
@@ -213,9 +213,9 @@ export declare const FeedbackTrajectorySchema: z.ZodObject<{
213
213
  value: z.ZodUnknown;
214
214
  reason: z.ZodOptional<z.ZodString>;
215
215
  severity: z.ZodOptional<z.ZodEnum<{
216
+ error: "error";
216
217
  critical: "critical";
217
218
  info: "info";
218
- error: "error";
219
219
  warning: "warning";
220
220
  }>>;
221
221
  createdAt: z.ZodString;
@@ -249,9 +249,9 @@ export declare const FeedbackTrajectorySchema: z.ZodObject<{
249
249
  value: z.ZodUnknown;
250
250
  reason: z.ZodOptional<z.ZodString>;
251
251
  severity: z.ZodOptional<z.ZodEnum<{
252
+ error: "error";
252
253
  critical: "critical";
253
254
  info: "info";
254
- error: "error";
255
255
  warning: "warning";
256
256
  }>>;
257
257
  createdAt: z.ZodString;
@@ -1 +1 @@
1
- export { u as ErrorResponseSchema, d as FeedbackTrajectorySchema, f as TraceEventSchema, p as WIRE_VERSION, c as WireError, t as createApp, a as dispatchRpc, n as startServer, r as startServerAsync } from "../server-1fzBCxMh.js";
1
+ export { u as ErrorResponseSchema, d as FeedbackTrajectorySchema, f as TraceEventSchema, p as WIRE_VERSION, c as WireError, t as createApp, a as dispatchRpc, n as startServer, r as startServerAsync } from "../server-aZFmRucn.js";
@@ -1,4 +1,4 @@
1
- import { n as ChatClient, v as LlmMessage } from "../chat-client-uQNXGuO4.js";
1
+ import { n as ChatClient, v as LlmMessage } from "../chat-client-BlTooBDA.js";
2
2
  /** One thing the agent can spend on. Every field is public. */
3
3
  interface WorldLever {
4
4
  id: string;
@@ -85,11 +85,28 @@ pairs, with a score constant inside a unit counted as no association there. Unit
85
85
  summaries are resampled, so a unit drawn twice stays two units. A pooled statistic can be carried entirely by
86
86
  differences between units, such as larger repositories failing more; the within-unit statistic cannot.
87
87
 
88
+ `scope: 'stratified'` is the same statistic with a caller's `stratum` in place of the unit, such as a bin of
89
+ an exposure. Strata cross units, so a resample draws whole units and regroups their rows by stratum; a unit
90
+ drawn twice puts its rows in its strata twice, as any whole-unit resample does. For AUC it is the sum of the
91
+ Mann-Whitney counts inside strata over the sum of their comparable pairs, and the within-unit scope is its
92
+ special case with each unit its own stratum. `measureValidityStudy` uses it for an outcome's declared exposure: bins at
93
+ the exposure's quantiles before the cut, so a measure that predicts only because bigger changes have more to go
94
+ wrong is compared only with changes of about the same size. Quantile bins leave residual exposure inside each
95
+ bin; ten bins remove most of a monotone exposure effect, and a measure that tracks the exposure closely can keep
96
+ a small within-bin effect from that residue, which the report shows as an estimate near the null.
97
+
88
98
  `measureValidityStudy` fixes each measure's direction before the cut, so its tests are one-sided in that
89
99
  direction and Benjamini-Hochberg runs on those p-values. A two-sided test would admit a measure whose direction
90
100
  reversed. The one-sided test has a known weakness: when the same units appear on both sides of the cut, a
91
101
  coincidence among those units can choose the direction and then confirm it, raising the pooled error rate up to
92
102
  twice the level. The within-unit test is immune to that, because unit-level coincidences cancel inside a unit,
93
- and `predicts` requires it wherever it can be estimated; a pooled-only pass is labelled `predicts-pooled-only`.
103
+ and `predicts` requires it wherever it is tested; a pooled-only pass is labelled `predicts-pooled-only`. The
104
+ within-unit estimate is reported from two comparable units, but tested only from `minUnits`: with fewer units its
105
+ Student-t test has too few degrees of freedom to mean much, and a `predicts` pair resting on the pooled test alone
106
+ says so with `within-unit-untested`. The test inside exposure bins is a third family, one-sided in its own
107
+ direction fixed before the cut, and it counts toward `predicts` only in the direction the pooled test admitted.
108
+ Each second family holds every pair with a pooled p-value that has its statistic, whatever the pooled result, not
109
+ only the pairs the pooled test admitted: shrinking a family to the admitted pairs would condition it on the
110
+ first test and make its q-values smaller than the family warrants.
94
111
  Movement agreement is the AUC of a movement's sign for the better outcome, which equals balanced accuracy and
95
112
  stays 0.5 under no relation whatever the outcome's base rate; it is tested one-sided as its own family.
@@ -14,7 +14,7 @@ This reference covers direct execution controls and specialist modules.
14
14
  | [`raceProfileMatrix()`](../examples/profile-matrix-report/) | `/campaign` | Run a profile-matrix plan in doubling batches and stop paying for profiles clearly worse than the leader. | Elimination log, survivors, the final paired comparison, and the selection-bias warning. |
15
15
  | [`renderProfileMatrixReport()`](../examples/profile-matrix-report/) | `/campaign` | Turn profile-matrix records into one decision page: frontiers, paired differences, factor effects, slices, error overlap, difficulty, calibration and power, with cells that ran fewer cases kept in a partial-coverage table. | A self-contained HTML string; `analyzeProfileMatrix()` returns the numbers, the panel and its common cases. |
16
16
  | [`runOptimization()`](./campaign-proposers.md#write-a-custom-candidate-generator) | `/campaign` | Generate, measure, and select candidates on development cases. | Generations and a winner surface. |
17
- | [`runImprovementLoop()`](./multi-shot-optimization.md) | `/contract` or `/campaign` | Search, compare on final cases, and apply a release gate. | Final comparison, winner, and gate decision. |
17
+ | [`runImprovementLoop()`](./trajectory-optimization.md) | `/contract` or `/campaign` | Search, compare on final cases, and apply a release gate. | Final comparison, winner, and gate decision. |
18
18
  | [`compareOptimizationMethods()`](../examples/compare-optimization-methods/) | `/campaign` | Compare selected surfaces from several methods under declared budgets. | Final paired contrasts, uncertainty, and costs. |
19
19
  | [`runEvalCampaign()`](../src/eval-campaign.ts) | Root | Run with a caller-supplied trace sink and emitter. | Campaign result and records. |
20
20
  | [`runAgentMatrix()`](../src/matrix/runner.ts) | `/matrix` | Schedule a general Cartesian grid without campaign scoring semantics. | Cell results. |
@@ -208,6 +208,6 @@ Downstream integrations provide domain state, policy, tools, and storage.
208
208
  evidence inspection.
209
209
  - `examples/eval-fixtures-quickstart`: Vercel-style fixture folders with a
210
210
  dry-run plan and campaign cache reuse.
211
- - `examples/multi-shot-optimization`: full-trajectory optimization with a
211
+ - `examples/trajectory-optimization`: full-trajectory optimization with a
212
212
  holdout gate.
213
213
  - `examples/benchmarks`: benchmark adapter contracts and reference wrappers.
@@ -51,7 +51,8 @@ Agent success moves with the user model as well as the agent, so a comparison ho
51
51
 
52
52
  - The simulated user is built from the scenario and the rollout's fixed options only. The candidate surface never reaches its prompt, opener or description of the agent.
53
53
  - `SimulatedUserIdentity` digests the user model, fallbacks, rigor, persona, prompt, opener and ending protocol. `dispatchRef` hashes the same options, so caches and premeasured baselines never cross users.
54
- - `conversationGate()` refuses with `SimulatedUserMismatchError` when any paired held-out conversation met a different user, ran on a different seed, or carries no identity. Outside the gate, call `assertSameSimulatedUser(baselineCells, candidateCells)`.
54
+ - `conversationGate()` refuses with `SimulatedUserMismatchError` when any paired held-out conversation met a different user, ran on a different seed, or carries no identity, and reports the pairs it compared as `pairedConversations`. Outside the gate, call `assertSameSimulatedUser(baselineCells, candidateCells)`, which returns that count.
55
+ - Pass `gate: conversationGate()` to `compareOptimizationMethods()` to run the same check on each method's winner against the baseline's final test cells; the decision is on each score's `gate`.
55
56
 
56
57
  ## Report reliability across repeats
57
58
 
@@ -68,6 +69,8 @@ A dispatch or judge failure is counted in `failedCells`, never as an agent failu
68
69
  3. `simulatorRealismJudge()` is a System One decision point at the turn layer. It sees the context and both messages, in both orders, and picks the one the real user wrote. Its calibration must reach `DECISION_POINT_MIN_KAPPA` and carry the `questionDigest` of this exact question and served model; otherwise every judgment is recorded as uncalibrated. Build that digest with `decisionQuestionDigest` from `/systemone` over `SIMULATOR_REALISM_QUESTIONS.real`, the text the judge asks, so a calibration set labelled under other wording cannot certify it.
69
70
 
70
71
  Accuracy is reported per independent conversation with a cluster bootstrap interval. 50% means the judge cannot tell the simulator from real users.
72
+ A turn counts only when both of its orders were judged; a turn with one failed order is dropped and counted in `unbalancedTurns`, so the judge's position bias cannot count.
73
+ `indistinguishable` says only that the interval contains 0.5, which a small sample satisfies with a wide interval. It is not an admission rule: admit on `accuracy.high` against a stated bound.
71
74
  A row without a context digest, or with a digest its context does not match, is refused with `SharedContextIdentityError` before any driver call.
72
75
 
73
76
  ## Optimize the user side
@@ -76,5 +79,6 @@ A row without a context digest, or with a digest its context does not match, is
76
79
 
77
80
  - Its objective is the agent's failure rate. It builds that judge itself and refuses a caller `judge` or `gate`; `conversationJudge()` refuses every conversation whose user side was the candidate, both with `UserSideObjectiveError`.
78
81
  - A plan is admitted only when a calibrated realism judge's accuracy, at the upper end of its interval, stays at or below `realism.maxJudgeAccuracy`.
79
- - An admitted plan's failing held-out conversations become `trainScenarios` with the plan as `userPlan` and `origin.kind: 'adversarial-user'`. `conversationGate()` refuses them in a held-out split with `AdversarialScenarioInHeldOutError`; for other comparisons call `assertHeldOutExcludesAdversarial()`.
82
+ - An admitted plan's failing held-out conversations are candidates with the plan as `userPlan` and `origin.kind: 'adversarial-user'`. Each runs again under its plan, with `solvability.referenceProfile` when given, else the same agent on `solvability.repeats` seeded repeats (default 3). A candidate passed at least once becomes a `trainScenarios` entry with the pass on `origin.solvedBy`; one never passed goes to `unsolvableScenarios` with the reason and the attempts, and is never emitted, since a plan that withholds what the outcome check needs teaches nothing.
83
+ - `conversationGate()` refuses emitted scenarios in a held-out split with `AdversarialScenarioInHeldOutError` before the held-out run starts, so a refused split spends nothing; for other comparisons call `assertHeldOutExcludesAdversarial()`.
80
84
  - Scenarios that share an id or persona with the agent's held-out split are refused with `AdversarialSplitError`.
@@ -101,12 +101,27 @@ Confirm any proposed change with fresh evidence and fixed scoring rules.
101
101
  import { sealMeasureValidityPlan } from '@tangle-network/agent-eval/experiment'
102
102
  import { measureValidityStudy, type MeasuredChange } from '@tangle-network/agent-eval/meta-eval'
103
103
 
104
+ const DAY = 24 * 60 * 60 * 1000
104
105
  const plan = sealMeasureValidityPlan({
105
106
  id: 'which-numbers-predict-kept-changes',
106
107
  cut: Date.parse('2026-10-01T00:00:00Z'),
107
108
  level: 0.05,
108
- outcomes: [{ id: 'kept', direction: 'higher-is-better', kind: 'binary' }],
109
- measures: [{ id: 'review_depth' }, { id: 'test_delta', noise: 0.1, cost: 1 }],
109
+ outcomes: [
110
+ { id: 'kept', direction: 'higher-is-better', kind: 'binary', windowMs: 14 * DAY },
111
+ // A bigger change has more to fix: test every other measure inside size bins too.
112
+ {
113
+ id: 'needed_fix',
114
+ direction: 'lower-is-better',
115
+ kind: 'binary',
116
+ windowMs: 14 * DAY,
117
+ exposure: { measure: 'lines_added' },
118
+ },
119
+ ],
120
+ measures: [
121
+ { id: 'review_depth' },
122
+ { id: 'test_delta', noise: 0.1, cost: 1 },
123
+ { id: 'lines_added' },
124
+ ],
110
125
  })
111
126
 
112
127
  const change: MeasuredChange = {
@@ -117,32 +132,52 @@ const change: MeasuredChange = {
117
132
  movements: { test_delta: { before: 0.1, after: 0.5 } }, // optional
118
133
  }
119
134
 
120
- const report = await measureValidityStudy({ plan, changes: [change /* , ... */], outcomes })
135
+ // asOf: when the outcomes were read; required when an outcome declares windowMs.
136
+ const report = await measureValidityStudy({
137
+ plan,
138
+ changes: [change /* , ... */],
139
+ outcomes,
140
+ asOf: Date.now(),
141
+ })
121
142
  ```
122
143
 
123
144
  Seal the plan before reading changes made after the cut, and keep its digest where an independent reader can see it.
124
145
  The study refuses a plan whose seal does not verify; the seal proves identity, not when it was made.
146
+ A plan sealed now carries `format: 2`.
147
+ A plan sealed before `format` existed still verifies under the digest it was sealed with and runs under the rules it was sealed with: no outcome window, exposure or minimum effect.
125
148
  [`examples/measure-validity`](../examples/measure-validity/) runs the whole path on generated history.
126
149
 
127
150
  The cut splits the changes.
128
151
  A change made before the cut fixes each measure's direction, its standardization and the selected subset, reading only outcomes captured by the cut.
129
152
  Every reported statistic comes from changes made at or after the cut, with those choices fixed.
130
- `excludedObservations` counts outcomes captured before their change, beyond `maxCaptureLagMs`, or after the cut for a change made before it.
153
+ `excludedObservations` counts outcomes captured before their change, after `asOf` (`capturedAfterAsOf`), beyond `maxCaptureLagMs`, or after the cut for a change made before it, each under the first of those that applies; then change-outcome pairs whose window had not closed, at the cut for a change before it (`windowOpenAtCut`) or at `asOf` for a change after it (`windowOpenAtEnd`).
154
+
155
+ Declare `windowMs` on any outcome decided within a window after the change.
156
+ A common record writes an event (a later fix, a revert) when it happens and its absence when the window closes.
157
+ Without the window, the changes just before the cut keep their events, already known by the cut, and lose their non-events, not yet written; when a measure drifts over time, the direction fitted before the cut follows the drift toward the event and can reverse.
158
+ The last changes read carry the same bias into the held-out half: a measure that only trends with time is admitted.
159
+ With `windowMs`, a change before the cut counts for that outcome only when its window closed by the cut, and a change after the cut only when its window closed by `asOf`, the time the outcomes were read, whatever its value and capture time.
160
+ An outcome with `windowMs` therefore needs `asOf`; the study refuses to run without it.
131
161
 
132
162
  | Field | Meaning |
133
163
  |---|---|
134
164
  | `coverage` | Per measure: changes, measured changes and share, before and after the cut. An absent value is unmeasured, never zero. |
135
- | `pairs[].label` | `predicts`: the pooled test passes and so does the within-unit test where it can be estimated. `predicts-pooled-only`: the pooled test passes and the within-unit test does not, so the ranking may come from differences between units rather than between changes. `not-shown`: tested and not admitted. `insufficient`: not tested. |
136
- | `pairs[].reason` | Why a pair is not `predicts`: `below-minimum-count` (fewer than `minJoined`, default 100, joined changes after the cut), `too-few-units` (fewer than `minUnits`, default 20), `too-little-variation` (fewer than `minMinority`, default 20, joined changes after the cut differ from the measure's most common value: the smaller class of a two-valued measure), `no-pre-cut-direction`, `constant-after-cut`, `not-significant`, `direction-reversed` (the interval lies wholly past the null), `within-unit-not-shown`. |
165
+ | `pairs[].label` | `predicts`: the pooled test passes, the test inside exposure bins passes when the outcome names an exposure, and the within-unit test passes when it is tested. `predicts-through-exposure`: the pooled test passes and the test inside exposure bins does not, so the measure may predict only by tracking the exposure. `predicts-pooled-only`: the pooled test passes and the tested within-unit test does not, so the ranking may come from differences between units rather than between changes. `not-shown`: tested and not admitted. `insufficient`: not tested. |
166
+ | `pairs[].reason` | Why a pair is not `predicts`, or what it rests on: `below-minimum-count` (fewer than `minJoined`, default 100, joined changes after the cut), `too-few-units` (fewer than `minUnits`, default 20), `too-little-variation` (fewer than `minMinority`, default 20, joined changes after the cut differ from the measure's most common value: the smaller class of a two-valued measure), `no-pre-cut-direction`, `constant-after-cut`, `not-significant`, `direction-reversed` (the interval lies wholly past the null), `within-exposure-not-shown` (not shown inside exposure bins in the admitted direction), `within-exposure-untested`, `within-unit-not-shown`, and `within-unit-untested` on a `predicts` pair whose within-unit statistic was not tested, so the label rests on the pooled test. |
137
167
  | `pairs[].postCut.association` | The pooled statistic: AUC for a binary outcome, Spearman for a continuous one, aligned so above the null favors the better outcome; whole-unit standard error, percentile interval and one-sided p-value from `clusteredAssociation()`. |
138
- | `pairs[].postCut.withinUnit` | The same statistic computed inside each unit and weighted by its comparable pairs; null when fewer than `minUnits` units hold a pair of changes with different outcomes. |
168
+ | `pairs[].postCut.withinUnit` | The same statistic computed inside each unit and weighted by its comparable pairs. Reported with its interval when at least two units hold a pair of changes with different outcomes; tested, with `withinUnitQValue`, only when `minUnits` do. |
169
+ | `pairs[].postCut.withinExposure` | With an exposure: the statistic inside each exposure bin, weighted by its comparable pairs, resampling whole units, aligned to `withinExposureDirection`, which is fixed before the cut on this same statistic. Null for the exposure's own pair. |
170
+ | `exposures` | Per outcome with an exposure: the measure, the bin count and the interior edges, at the exposure's quantiles over changes before the cut. |
139
171
  | `hypothesis` | Every p-value is one-sided in the direction fixed before the cut. |
140
- | `tested`, `withinUnitTested` | Pairs in the pooled and within-unit false-discovery families. |
172
+ | `tested`, `withinUnitTested`, `withinExposureTested` | Sizes of the three false-discovery families, each Benjamini-Hochberg at the plan's level. The pooled family is every pair given a pooled p-value. The within-unit family is every such pair whose within-unit statistic is tested (`minUnits` units hold a comparable pair), and the within-exposure family every such pair with a statistic inside exposure bins, whatever their pooled result: the families do not shrink to the pairs the pooled test admitted. |
141
173
  | `pairs[].leadTimeMs` | Outcome capture time minus change time over the joined changes after the cut. |
142
174
  | `pairs[].movement` | With before and after values: `sensitivity` (share of changes that moved beyond the measure's declared `noise`) and `agreement` (balanced agreement between the movement's direction and the better outcome, 0.5 under no relation), each with a whole-unit interval. `insensitive` marks a measure that predicts across items but does not move under change. |
143
- | `selections[]` | Per outcome: `climb`, a subset chosen before the cut by greedy forward selection on the equal-weight composite; `guards`, admitted measures not climbed (`redundant`, `no-gain`, `size-limit`); `excluded`, measures that are insensitive, move against the outcome, or predict only across units (`pooled-only`); `composite`, the subset's statistic before and after the cut. |
175
+ | `selections[]` | Per outcome: `climb`, a subset chosen before the cut by greedy forward selection on the equal-weight composite; `guards`, admitted measures not climbed (`redundant`, `no-gain`, `size-limit`); `excluded`, the exposure itself (`exposure`) and measures that predict only through it (`through-exposure`), only across units (`pooled-only`), do not move under change (`insensitive`), move against the outcome, or sit closer to the null after the cut than `selection.minEffect` (`below-minimum-effect`); `composite`, the subset's statistic before and after the cut. |
144
176
 
145
- The selection reads only changes before the cut.
177
+ The label is statistical: on a large sample a measure can be admitted at an AUC near 0.52, real and too small to be worth climbing.
178
+ A measure is climbed only when its after-cut estimate, aligned to its direction, is at least `selection.minEffect` above the null: by default `{ auc: 0.05, spearman: 0.1 }`, and a plan may set either.
179
+ When the outcome names an exposure, that estimate is the one inside exposure bins, since the pooled estimate also carries the exposure's own effect.
180
+ Past that floor, the selection reads only changes before the cut.
146
181
  A candidate whose absolute rank correlation with a climbed measure reaches `maxRedundancy` (default 0.9) is a redundant guard; another must add at least `minGain` (default 0.01) to the composite's statistic.
147
182
  The composite's post-cut score reads the changes admission read, so it describes the chosen subset; the next batch is its independent check.
148
183
 
@@ -153,8 +188,12 @@ Guards are measured at change time, so the check runs before the outcome arrives
153
188
  Each test is one-sided in the direction fixed before the cut, so a measure whose direction reversed is never admitted.
154
189
  When the same units appear on both sides of the cut, a coincidence among those units can choose the direction and then confirm it on the pooled statistic; the within-unit statistic cannot be moved by such a coincidence, which is why `predicts` requires it where it can be estimated.
155
190
 
156
- Known limit: an outcome defined by overlap with the change's own content, such as "a later fix touched the same lines", grows with the change's size, so a size measure predicts it by exposure rather than by quality.
157
- Record a stricter outcome that does not depend on size, such as a later fix that names the change, and report it beside the overlap outcome; a measure that predicts only the overlap outcome is predicting exposure.
191
+ An outcome can grow with a measure for a reason other than quality: a bigger change has more to fix, more lines for a later fix to touch, more chances to be reverted.
192
+ Every volume-like measure then predicts the outcome through size, and the within-unit statistic does not catch it when size varies inside a unit.
193
+ Name the size measure as the outcome's `exposure`.
194
+ Its bins are fixed before the cut, every other measure is also tested inside them, and only a measure that passes there is climbed; the exposure itself is reported and never climbed.
195
+ Bins cut at quantiles leave some exposure inside each bin, so a measure that tracks the exposure closely can still show a small effect inside bins; read its size, not only its label.
196
+ An outcome defined by overlap with the change's own content, such as "a later fix touched the same lines", is exposed by construction: record a stricter outcome that does not depend on size, such as a later fix that names the change, and report it beside the overlap outcome.
158
197
 
159
198
  Prediction is not causation.
160
199
  An admitted measure forecasts the outcome of changes like these; it does not show that raising the measure raises the outcome, and a climbed measure can be moved without the work it used to reflect.
@@ -260,7 +260,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
260
260
  | `hashContent` | production | agent-runtime:bench/src/corpus.ts |
261
261
  | `hashJson` | production | agent-dev-container:products/intelligence/api/src/lib/ingest-optimization-mapping.ts |
262
262
  | `HeldOutGate` | production | agent-builder:src/lib/.server/eval/gates/promotion.ts |
263
- | `holm` | production | this package: src/search/lenses/edit-credit-statistics.ts:6 |
263
+ | `holm` | production | this package: src/campaign/presets/profile-matrix-stability.ts:8 |
264
264
  | `inferDomainKeywords` | production | blueprint-agent:scripts/experiments/lib/analyze-vb-run/suite-projection.ts |
265
265
  | `InMemoryFeedbackTrajectoryStore` | production | creative-agent:eval/control/creative-onboarding.ts |
266
266
  | `InMemoryRawProviderSink` | production | agent-builder:src/lib/.server/eval/loops/canonical-campaign.ts |
@@ -964,7 +964,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
964
964
  | `FinalEvidenceError` | production | this package: src/campaign/final-evidence.ts:7 |
965
965
  | `hashJson` | production | agent-dev-container:products/intelligence/api/src/lib/ingest-optimization-mapping.ts |
966
966
  | `heldoutSignificance` | production | agent-dev-container:products/intelligence/api/src/lib/eval-engine.ts |
967
- | `holm` | production | this package: src/search/lenses/edit-credit-statistics.ts:6 |
967
+ | `holm` | production | this package: src/campaign/presets/profile-matrix-stability.ts:8 |
968
968
  | `isIndependentEvidence` | planned | consumer tests: agent-runtime:tests/integration/runtime-eval-pursuit-evidence.test.ts |
969
969
  | `joinProspectiveCanaryReceipts` | planned | doc: docs/experiment.md |
970
970
  | `manifestContentDigest` | production | this package: src/campaign/gates/sequential.ts:36 |
@@ -993,7 +993,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
993
993
  | `requiredPairedSampleSize` | production | discovery:research/e1-topology-20260920/gate/gate.mjs |
994
994
  | `requiredSampleSize` | production | agent-dev-container:products/sandbox/evals/src/stats.ts |
995
995
  | `sealExperiment` | production | blueprint-agent:scripts/experiments/lib/__tests__/publication-fixtures.ts |
996
- | `sealMeasureValidityPlan` | planned | example: examples/measure-validity/index.ts:17 |
996
+ | `sealMeasureValidityPlan` | planned | example: examples/measure-validity/index.ts:14 |
997
997
  | `sealRandomizedCanaryRule` | planned | doc: docs/experiment.md |
998
998
  | `sequentialDecide` | planned | doc: docs/experiment.md |
999
999
  | `sequentialPairedGate` | planned | consumer tests: legal-agent:tests/eval/self-improve.ts |
@@ -1002,7 +1002,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
1002
1002
  | `verifyEvidenceReceipt` | planned | consumer tests: agent-runtime:tests/integration/runtime-eval-pursuit-evidence.test.ts |
1003
1003
  | `verifyManifest` | production | ph0ny:products/builder/api/src/eval/champion-sign.ts |
1004
1004
  | `verifyMatchedBudgets` | production | this package: src/experiment/define.ts:59 |
1005
- | `verifyMeasureValidityPlan` | production | this package: src/meta-eval/measure-validity.ts:24 |
1005
+ | `verifyMeasureValidityPlan` | production | this package: src/meta-eval/measure-validity.ts:30 |
1006
1006
  | `verifySealedExperiment` | production | discovery-lab:experiments/profile-search-h2a/run.mjs |
1007
1007
  | `wilson` | production | agent-dev-container:packages/sdk-data/src/analysis/recommendations/statistics.ts |
1008
1008
 
@@ -1116,13 +1116,13 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
1116
1116
  | `fileSentinelStore` | production | creative-agent:eval/lib/judge-sentinel.ts |
1117
1117
  | `FileSystemOutcomeStore` | production | ph0ny:products/builder/api/src/eval/outcomes.ts |
1118
1118
  | `gateJudgeCalibration` | none | only this package's tests: tests/judge-panel-calibration.integration.test.ts:4 |
1119
- | `guardDrift` | planned | example: examples/measure-validity/index.ts:22 |
1119
+ | `guardDrift` | planned | example: examples/measure-validity/index.ts:19 |
1120
1120
  | `InMemoryOutcomeStore` | planned | consumer tests: ph0ny:products/builder/api/src/eval/outcomes-correlate.test.ts |
1121
1121
  | `judgeGateDecision` | production | gtm-agent:src/lib/.server/judges/quality.ts |
1122
1122
  | `JudgeGateRefusedError` | planned | doc: docs/concepts.md |
1123
1123
  | `judgeSentinelReport` | production | creative-agent:eval/lib/judge-sentinel.ts |
1124
1124
  | `measureJudgeAgreement` | production | gtm-agent:src/lib/.server/judges/quality.ts |
1125
- | `measureValidityStudy` | planned | example: examples/measure-validity/index.ts:22 |
1125
+ | `measureValidityStudy` | planned | example: examples/measure-validity/index.ts:19 |
1126
1126
  | `multiclassBrierScore` | production | discovery-lab:experiments/decision-bench-v1/score.mjs |
1127
1127
  | `OutcomeStoreError` | planned | doc: docs/outcome-validity.md |
1128
1128
  | `perturbEvidence` | planned | doc: docs/plants.md |
@@ -1461,7 +1461,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
1461
1461
  | `DEFAULT_BOOTSTRAP_SEED` | production | this package: src/judge-calibration.ts:23 |
1462
1462
  | `eProcess` | production | this package: src/campaign/gates/sequential.ts:37 |
1463
1463
  | `fisherExactTwoSided` | production | agent-dev-container:packages/sdk-data/src/analysis/recommendations/statistics.ts |
1464
- | `holm` | production | this package: src/search/lenses/edit-credit-statistics.ts:6 |
1464
+ | `holm` | production | this package: src/campaign/presets/profile-matrix-stability.ts:8 |
1465
1465
  | `independentRiskDifference` | planned | doc: docs/design/statistics-decisions.md |
1466
1466
  | `interpretCliffs` | production | agent-builder:src/lib/.server/eval/loops/differential-eval.ts |
1467
1467
  | `interRaterReliability` | production | agent-app:src/eval-campaign/trust-gate.ts |
@@ -72,4 +72,4 @@ if (result.gateResult.decision === 'ship') {
72
72
  - `result.promotedDiff` identifies the exact selected change.
73
73
 
74
74
  Calibrate the judge on known strong and weak artifacts before using its decision in production.
75
- The runnable offline example is [`examples/multi-shot-optimization`](../examples/multi-shot-optimization/).
75
+ The runnable offline example is [`examples/trajectory-optimization`](../examples/trajectory-optimization/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-eval",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Evaluate and improve AI agents from runs, traces, judges, and feedback. Compare candidates, cluster failures, measure lift, and gate releases.",
5
5
  "homepage": "https://github.com/tangle-network/agent-eval#readme",
6
6
  "repository": {