@tangle-network/agent-eval 0.149.0 → 0.150.0

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 (128) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +5 -1
  3. package/dist/analyst/index.d.ts +13 -13
  4. package/dist/analyst/index.d.ts.map +1 -1
  5. package/dist/analyst/index.js +4 -4
  6. package/dist/{backend-integrity-Bz8nSrRE.d.ts → backend-integrity-DaeroaEs.d.ts} +2 -2
  7. package/dist/{backend-integrity-Bz8nSrRE.d.ts.map → backend-integrity-DaeroaEs.d.ts.map} +1 -1
  8. package/dist/{benchmark-Cn7ZMFNW.d.ts → benchmark-A0E-JZ1H.d.ts} +3 -3
  9. package/dist/{benchmark-Cn7ZMFNW.d.ts.map → benchmark-A0E-JZ1H.d.ts.map} +1 -1
  10. package/dist/{benchmark-command-gufocQ-N.js → benchmark-command-CqGA0SJQ.js} +8 -7
  11. package/dist/benchmark-command-CqGA0SJQ.js.map +1 -0
  12. package/dist/benchmarks/index.d.ts +4 -4
  13. package/dist/benchmarks/index.js +3 -3
  14. package/dist/campaign/index.d.ts +9 -9
  15. package/dist/campaign/index.js +6 -6
  16. package/dist/{campaign-BcfXzmPM.js → campaign-CR6Yt5ZS.js} +80 -7
  17. package/dist/campaign-CR6Yt5ZS.js.map +1 -0
  18. package/dist/{capture-fetch-BAx3Gntt.d.ts → capture-fetch-Im0UN1i6.d.ts} +2 -2
  19. package/dist/{capture-fetch-BAx3Gntt.d.ts.map → capture-fetch-Im0UN1i6.d.ts.map} +1 -1
  20. package/dist/{chat-client-BX8Wh3fn.js → chat-client-sFiClniQ.js} +2 -2
  21. package/dist/{chat-client-BX8Wh3fn.js.map → chat-client-sFiClniQ.js.map} +1 -1
  22. package/dist/cli.js +2 -2
  23. package/dist/{client-BV7icIfy.d.ts → client-w6vVJhSp.d.ts} +2 -2
  24. package/dist/{client-BV7icIfy.d.ts.map → client-w6vVJhSp.d.ts.map} +1 -1
  25. package/dist/contract/index.d.ts +10 -10
  26. package/dist/contract/index.js +5 -5
  27. package/dist/{default-registry-BUtRMRKk.d.ts → default-registry-BhRNsP-D.d.ts} +6 -6
  28. package/dist/{default-registry-BUtRMRKk.d.ts.map → default-registry-BhRNsP-D.d.ts.map} +1 -1
  29. package/dist/{define-agent-eval-CvZQW4u9.js → define-agent-eval-ChrtErmg.js} +3 -3
  30. package/dist/{define-agent-eval-CvZQW4u9.js.map → define-agent-eval-ChrtErmg.js.map} +1 -1
  31. package/dist/{define-agent-eval-BWuk2O_N.d.ts → define-agent-eval-Cw3mkB4-.d.ts} +5 -5
  32. package/dist/{define-agent-eval-BWuk2O_N.d.ts.map → define-agent-eval-Cw3mkB4-.d.ts.map} +1 -1
  33. package/dist/{dspy-rlm-engine-BmtOl_kP.js → dspy-rlm-engine-Csi3CUAT.js} +2 -2
  34. package/dist/{dspy-rlm-engine-BmtOl_kP.js.map → dspy-rlm-engine-Csi3CUAT.js.map} +1 -1
  35. package/dist/{engine-CIy18RTX.d.ts → engine-CgQdUh-r.d.ts} +4 -4
  36. package/dist/{engine-CIy18RTX.d.ts.map → engine-CgQdUh-r.d.ts.map} +1 -1
  37. package/dist/{eval-campaign-bmZ6NIIP.js → eval-campaign-Czc2TcW5.js} +2 -2
  38. package/dist/{eval-campaign-bmZ6NIIP.js.map → eval-campaign-Czc2TcW5.js.map} +1 -1
  39. package/dist/{exact-types-rdKFzEnK.d.ts → exact-types-D9_T83Ol.d.ts} +2 -2
  40. package/dist/{exact-types-rdKFzEnK.d.ts.map → exact-types-D9_T83Ol.d.ts.map} +1 -1
  41. package/dist/experiment/index.d.ts +73 -4
  42. package/dist/experiment/index.d.ts.map +1 -1
  43. package/dist/experiment/index.js +175 -1
  44. package/dist/experiment/index.js.map +1 -1
  45. package/dist/{experiment-tracker-D9VHwRm-.d.ts → experiment-tracker-Cp9ougHs.d.ts} +2 -2
  46. package/dist/{experiment-tracker-D9VHwRm-.d.ts.map → experiment-tracker-Cp9ougHs.d.ts.map} +1 -1
  47. package/dist/{external-optimizer-contracts-CSjDLLmr.d.ts → external-optimizer-contracts-mbhR9Ldu.d.ts} +13 -6
  48. package/dist/{external-optimizer-contracts-CSjDLLmr.d.ts.map → external-optimizer-contracts-mbhR9Ldu.d.ts.map} +1 -1
  49. package/dist/{external-optimizer-process-C4AyCcQd.js → external-optimizer-process-tDe72VRO.js} +4 -4
  50. package/dist/{external-optimizer-process-C4AyCcQd.js.map → external-optimizer-process-tDe72VRO.js.map} +1 -1
  51. package/dist/{external-optimizer-subprocess-DU1KM8yV.js → external-optimizer-subprocess-BepyNwtj.js} +341 -25
  52. package/dist/external-optimizer-subprocess-BepyNwtj.js.map +1 -0
  53. package/dist/{feedback-trajectory-niGeR6uJ.d.ts → feedback-trajectory-Cc9M2tNF.d.ts} +3 -3
  54. package/dist/{feedback-trajectory-niGeR6uJ.d.ts.map → feedback-trajectory-Cc9M2tNF.d.ts.map} +1 -1
  55. package/dist/hosted/index.d.ts +2 -2
  56. package/dist/{index-aHDnhBC7.d.ts → index-DL4MJuJL.d.ts} +7 -7
  57. package/dist/{index-aHDnhBC7.d.ts.map → index-DL4MJuJL.d.ts.map} +1 -1
  58. package/dist/index-DjpxROrT.d.ts +1 -0
  59. package/dist/{index-BCDyf_kT.d.ts → index-dh0kp2GM.d.ts} +42 -11
  60. package/dist/index-dh0kp2GM.d.ts.map +1 -0
  61. package/dist/index.d.ts +20 -20
  62. package/dist/index.js +8 -8
  63. package/dist/{integrity-CGfpTE5-.d.ts → integrity-D2MAlC_K.d.ts} +2 -2
  64. package/dist/{integrity-CGfpTE5-.d.ts.map → integrity-D2MAlC_K.d.ts.map} +1 -1
  65. package/dist/{llm-client-BMuxYoZy.js → llm-client-CxyJ8Oft.js} +15 -6
  66. package/dist/llm-client-CxyJ8Oft.js.map +1 -0
  67. package/dist/{llm-judge-DWq1Ptco.js → llm-judge-D7UuMI2t.js} +4 -3
  68. package/dist/llm-judge-D7UuMI2t.js.map +1 -0
  69. package/dist/{matrix-Bc111FKv.d.ts → matrix-D3hL68uV.d.ts} +2 -2
  70. package/dist/{matrix-Bc111FKv.d.ts.map → matrix-D3hL68uV.d.ts.map} +1 -1
  71. package/dist/meta-eval/index.d.ts +1 -1
  72. package/dist/multishot/golden/index.d.ts +1 -1
  73. package/dist/multishot/index.d.ts +2 -2
  74. package/dist/openapi.json +1 -1
  75. package/dist/{produced-state-C0oJ4vr-.js → produced-state-WJs_enbZ.js} +3 -3
  76. package/dist/{produced-state-C0oJ4vr-.js.map → produced-state-WJs_enbZ.js.map} +1 -1
  77. package/dist/{promotion-policy-CewdjfCJ.d.ts → promotion-policy-DYRzXdTV.d.ts} +2 -2
  78. package/dist/{promotion-policy-CewdjfCJ.d.ts.map → promotion-policy-DYRzXdTV.d.ts.map} +1 -1
  79. package/dist/{provenance-DA-Pmyfv.d.ts → provenance-Bh9k3sjl.d.ts} +17 -6
  80. package/dist/{provenance-DA-Pmyfv.d.ts.map → provenance-Bh9k3sjl.d.ts.map} +1 -1
  81. package/dist/{registry-CaqJIDdN.d.ts → registry-DhpX9Bsg.d.ts} +4 -4
  82. package/dist/{registry-CaqJIDdN.d.ts.map → registry-DhpX9Bsg.d.ts.map} +1 -1
  83. package/dist/{researcher-BySlpla_.d.ts → researcher-CbCK-ppF.d.ts} +3 -3
  84. package/dist/{researcher-BySlpla_.d.ts.map → researcher-CbCK-ppF.d.ts.map} +1 -1
  85. package/dist/rl.d.ts +2 -2
  86. package/dist/rl.js +1 -1
  87. package/dist/{semantic-concept-judge-BI7Rrl5-.js → semantic-concept-judge-B7KPD57W.js} +2 -2
  88. package/dist/{semantic-concept-judge-BI7Rrl5-.js.map → semantic-concept-judge-B7KPD57W.js.map} +1 -1
  89. package/dist/{series-convergence-D2fsoJ2w.d.ts → series-convergence-VhTad5TM.d.ts} +2 -2
  90. package/dist/{series-convergence-D2fsoJ2w.d.ts.map → series-convergence-VhTad5TM.d.ts.map} +1 -1
  91. package/dist/{server-D9wQclzG.js → server-DNiUVirV.js} +2 -2
  92. package/dist/{server-D9wQclzG.js.map → server-DNiUVirV.js.map} +1 -1
  93. package/dist/{skillopt-optimization-method-ChCTN4FD.d.ts → skillopt-optimization-method-BtgL6PMH.d.ts} +19 -13
  94. package/dist/{skillopt-optimization-method-ChCTN4FD.d.ts.map → skillopt-optimization-method-BtgL6PMH.d.ts.map} +1 -1
  95. package/dist/{skillopt-optimization-method-Donmq4sq.js → skillopt-optimization-method-L8vi4h4m.js} +92 -14
  96. package/dist/skillopt-optimization-method-L8vi4h4m.js.map +1 -0
  97. package/dist/{statistical-heldout-uxSpFEjm.d.ts → statistical-heldout-Caxd30ZF.d.ts} +2 -2
  98. package/dist/{statistical-heldout-uxSpFEjm.d.ts.map → statistical-heldout-Caxd30ZF.d.ts.map} +1 -1
  99. package/dist/{store-tool-spans-D5FhM0_A.d.ts → store-tool-spans-BGg2QFk1.d.ts} +4 -4
  100. package/dist/{store-tool-spans-D5FhM0_A.d.ts.map → store-tool-spans-BGg2QFk1.d.ts.map} +1 -1
  101. package/dist/{tool-groups-zpufabP8.d.ts → tool-groups-BuhFx38z.d.ts} +3 -3
  102. package/dist/tool-groups-BuhFx38z.d.ts.map +1 -0
  103. package/dist/trace-repair/index.d.ts +1 -1
  104. package/dist/traces.d.ts +7 -7
  105. package/dist/{types-ColZlZtc.d.ts → types-B61iI2ZG.d.ts} +2 -2
  106. package/dist/{types-ColZlZtc.d.ts.map → types-B61iI2ZG.d.ts.map} +1 -1
  107. package/dist/{types-BohHewKK.d.ts → types-BNbhD_Vj.d.ts} +2 -2
  108. package/dist/{types-BohHewKK.d.ts.map → types-BNbhD_Vj.d.ts.map} +1 -1
  109. package/dist/{types-DOhGq4S1.d.ts → types-COAJy8Ku.d.ts} +15 -3
  110. package/dist/types-COAJy8Ku.d.ts.map +1 -0
  111. package/dist/{types-C1Bmeb8X.d.ts → types-COEjZMLY.d.ts} +3 -3
  112. package/dist/{types-C1Bmeb8X.d.ts.map → types-COEjZMLY.d.ts.map} +1 -1
  113. package/dist/wire/index.d.ts +2 -2
  114. package/dist/wire/index.js +1 -1
  115. package/docs/campaign-proposers.md +60 -3
  116. package/docs/experiment.md +2 -0
  117. package/docs/multishot-golden-records.md +3 -0
  118. package/package.json +4 -2
  119. package/dist/benchmark-command-gufocQ-N.js.map +0 -1
  120. package/dist/campaign-BcfXzmPM.js.map +0 -1
  121. package/dist/external-optimizer-subprocess-DU1KM8yV.js.map +0 -1
  122. package/dist/index-BCDyf_kT.d.ts.map +0 -1
  123. package/dist/index-CKblBxtr.d.ts +0 -1
  124. package/dist/llm-client-BMuxYoZy.js.map +0 -1
  125. package/dist/llm-judge-DWq1Ptco.js.map +0 -1
  126. package/dist/skillopt-optimization-method-Donmq4sq.js.map +0 -1
  127. package/dist/tool-groups-zpufabP8.d.ts.map +0 -1
  128. package/dist/types-DOhGq4S1.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { s as RunSplitTag } from "../run-record-DVV82Gwh.js";
2
- import { a as CampaignResult } from "../types-C1Bmeb8X.js";
3
- import { a as BenchmarkFamily, c as BenchmarkSource, i as BenchmarkEvaluation, l as BenchmarkTaskKind, n as BenchmarkAdapter, o as BenchmarkResponder, r as BenchmarkDatasetItem, s as BenchmarkScenario, t as BENCHMARK_SPLIT_SEED, u as deterministicSplit } from "../types-ColZlZtc.js";
4
- import { Cn as CampaignStorage } from "../provenance-DA-Pmyfv.js";
5
- import "../index-BCDyf_kT.js";
2
+ import { a as CampaignResult } from "../types-COEjZMLY.js";
3
+ import { a as BenchmarkFamily, c as BenchmarkSource, i as BenchmarkEvaluation, l as BenchmarkTaskKind, n as BenchmarkAdapter, o as BenchmarkResponder, r as BenchmarkDatasetItem, s as BenchmarkScenario, t as BENCHMARK_SPLIT_SEED, u as deterministicSplit } from "../types-B61iI2ZG.js";
4
+ import { Cn as CampaignStorage } from "../provenance-Bh9k3sjl.js";
5
+ import "../index-dh0kp2GM.js";
6
6
  //#region src/benchmarks/calibration.d.ts
7
7
  interface BenchmarkMetricCalibrationOptions<TPayload = unknown, TArtifact = string> {
8
8
  adapter: BenchmarkAdapter<BenchmarkDatasetItem<TPayload>, TPayload, TArtifact>;
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-8H4AJuhK.js";
2
- import { et as runCampaign } from "../llm-judge-DWq1Ptco.js";
3
- import { x as fsCampaignStorage } from "../external-optimizer-subprocess-DU1KM8yV.js";
4
- import "../campaign-BcfXzmPM.js";
2
+ import { et as runCampaign } from "../llm-judge-D7UuMI2t.js";
3
+ import { x as fsCampaignStorage } from "../external-optimizer-subprocess-BepyNwtj.js";
4
+ import "../campaign-CR6Yt5ZS.js";
5
5
  import { join } from "node:path";
6
6
  //#region src/benchmarks/calibration.ts
7
7
  async function calibrateBenchmarkMetric(options) {
@@ -1,11 +1,11 @@
1
1
  import { c as CostLedgerHandle, w as PendingCostCallView } from "../cost-ledger-DbQdN3nO.js";
2
- import { _ as ProposalFinding, v as ProposalFindingOrigin, x as makeProposalFinding } from "../types-BohHewKK.js";
3
- import { a as ExternalOptimizerEndpointFormat, c as ExternalOptimizerModelBudget, d as ExternalOptimizerModelCallResult, f as ExternalOptimizerModelExecutionObservation, g as ExternalTextCandidate, h as ExternalOptimizerRunnerCommand, i as ExternalOptimizerChatRequest, l as ExternalOptimizerModelCall, n as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, o as ExternalOptimizerEvaluationObservation, p as ExternalOptimizerProcessLimits, r as ExternalOptimizerCallbackLimits, s as ExternalOptimizerEvaluationRefusalReason, t as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, u as ExternalOptimizerModelCallRequest, v as resolveExternalOptimizerCallbackLimits, y as resolveExternalOptimizerProcessLimits } from "../external-optimizer-contracts-CSjDLLmr.js";
4
- import { A as LabeledScenarioWrite, B as ScoredSurfaceOutcome, C as JudgeDimension, D as LabeledScenarioSampleArgs, E as LabeledScenarioRecord, F as ProposeContext, G as labelTrustRank, H as SurfaceProposer, I as ProposedCandidate, L as RedactionStatus, M as OptimizerConfig, N as ParetoParent, O as LabeledScenarioSource, P as ProposalTrackContext, R as Scenario, S as JudgeConfig, T as LabelTrust, U as TraceSpan, V as SessionScript, W as isProposedCandidate, _ as GateDecision, a as CampaignResult, b as GenerationRecord, c as CampaignTraceWriter, d as DispatchContext, f as DispatchFn, g as GateContribution, h as GateContext, i as CampaignCostMeter, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, m as GateCheckStatus, n as CampaignArtifactWriter, o as CampaignScenarioIdentity, p as Gate, r as CampaignCellResult, s as CampaignTokenUsage, t as CampaignAggregates, u as ComponentSurface, v as GateResult, w as JudgeScore, x as JudgeAggregate, y as GenerationCandidate, z as ScenarioAggregate } from "../types-C1Bmeb8X.js";
5
- import { $ as OptimizationTokenUsage, $t as SearchTokenAccounting, An as LlmJudgeDimension, At as SearchCompletedEvent, Bt as SearchModelIdentity, C as RunOptimizationOptions, Cn as CampaignStorage, Ct as SearchAttemptAccounting, D as runEval, Dn as OpenAutoPrOptions, Dt as SearchCandidateSlot, E as RunEvalOptions, En as inMemoryCampaignStorage, Et as SearchCandidateRegisteredEvent, Ft as SearchLedgerEntry, G as OptimizationMethodComparison, Gt as SearchPlannedOperation, H as CompareOptimizationMethodsOptions, Ht as SearchOperationRecordedEvent, It as SearchLedgerEvent, J as OptimizationMethodProvenance, Jt as SearchSurfaceEffect, K as OptimizationMethodInput, Kt as SearchPlannedTask, Lt as SearchLedgerHash, Mn as llmJudge, Mt as SearchFailureReason, Nt as SearchLedger, On as OpenAutoPrResult, Ot as SearchCandidateSlotClosedEvent, Pt as SearchLedgerAppendResult, Q as OptimizationPackageSource, Qt as SearchTaskOutcome, Rt as SearchLedgerReplay, S as PremeasuredOptimizationBaseline, Sn as planCampaignRun, St as SearchArtifactRef, T as runOptimization, Tn as fsCampaignStorage, Tt as SearchCandidateLineage, U as ComparisonCost, Ut as SearchPlan, Vt as SearchOperationKind, W as OptimizationMethod, Wt as SearchPlannedEvent, X as OptimizationMethodRunOptions, Xt as SearchSurfaceKind, Y as OptimizationMethodResult, Yt as SearchSurfaceEvidence, Z as OptimizationMethodScore, Zt as SearchTaskAttemptedEvent, _ as provenanceSpansPath, _n as RunCampaignOptions, _t as verifySearchHistoryReceipt, a as LoopProvenanceBackend, an as GepaCandidateSelectionScore, at as SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, b as RunImprovementLoopResult, bn as CampaignRunPlanCell, bt as SEARCH_LEDGER_SCHEMA, c as LoopProvenanceOptimizationMethod, cn as ExternalOptimizerObservationArtifact, ct as SearchHistoryCoverage, d as campaignMeasurementDigest, dn as readExternalOptimizerObservationArtifact, dt as SearchHistoryReceipt, en as openSearchLedger, et as combineComparisonCosts, f as canonicalDigest, fn as CacheIssueReason, ft as SearchHistoryRequiredError, g as provenanceRecordPath, gn as CampaignCellFailureReceipt, gt as searchHistoryCoverageRow, h as loopProvenanceSpans, hn as cellCachePath, ht as createSearchHistoryReceipt, i as LoopProvenanceArgsFromResult, in as GepaCandidatePopulationSummary, it as CreateSearchHistoryReceiptInput, jn as LlmJudgeOptions, jt as SearchCostAccounting, kn as openAutoPr, kt as SearchCandidateSurface, l as LoopProvenanceRecord, ln as ExternalOptimizerObservationSummary, lt as SearchHistoryCoverageRow, m as loopProvenanceArgsFromResult, mn as readCachedCell, mt as assertSearchHistoryMatchesReplay, n as EmitLoopProvenanceArgs, nn as GepaCandidatePopulationArtifact, nt as costFromLedgerSummary, o as LoopProvenanceCandidate, on as readGepaCandidatePopulationArtifact, ot as SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, p as emitLoopProvenance, pn as CacheRead, pt as assertCompleteSearchHistory, q as OptimizationMethodPairwise, qt as SearchSourceRef, r as EmitLoopProvenanceResult, rn as GepaCandidatePopulationCandidate, rt as optimizationTokenUsageFromSummary, s as LoopProvenanceEvidence, sn as ExternalOptimizerExecutionSummary, st as SearchHistoryAuditSummary, t as BuildLoopProvenanceArgs, tn as validateSearchLedgerEvent, tt as compareOptimizationMethods, u as buildLoopProvenanceRecord, un as ExternalOptimizerSubmittedCandidate, ut as SearchHistoryPolicy, v as verifyLoopProvenanceRecord, vn as runCampaign, vt as FileSearchLedger, w as RunOptimizationResult, wn as createRunCostLedger, wt as SearchCandidateDecidedEvent, x as runImprovementLoop, xn as PlanCampaignRunOptions, xt as SearchAccountingAudit, y as RunImprovementLoopOptions, yn as CampaignRunPlan, yt as OpenSearchLedgerOptions, zt as SearchLedgerTrustedHeadMode } from "../provenance-DA-Pmyfv.js";
6
- import { A as campaignScenarioIdentity, C as ExternalTextOptimizerContext, D as decodeExternalTextCandidate, E as ExternalTextEvaluationResponse, I as ReferenceEquivalenceJudgeOptions, M as campaignSplitDigestFromIdentities, O as assertCampaignDesign, R as ReferenceEquivalenceScenario, S as ExternalTextOptimizationMethodConfig, T as ExternalOptimizationExample, _ as DefaultProductionGateOptions, a as GepaAdaptiveEngineRun, b as composeGate, c as GepaOptimizationMethodConfig, d as gepaOptimizationMethod, f as OpenAICompatibleOptimizerModel, g as DefaultProductionGateCheck, h as heldOutGate, i as skillOptOptimizationMethod, j as campaignSplitDigest, k as assertCampaignSplitIdentity, l as GepaOptimizationRecipe, m as HeldOutGateOptions, n as SkillOptRunnerCommand, o as GepaEngineOptions, p as OptimizerModelBudget, r as SkillOptTrainerConfig, s as GepaEngineRun, t as SkillOptOptimizationMethodConfig, u as GepaRunnerCommand, v as DefaultProductionRewardHackingOptions, w as ExternalTextOptimizerResult, x as externalTextOptimizationMethod, y as defaultProductionGate, z as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-ChCTN4FD.js";
7
- import { $ as ScoreboardRow, $t as CrossSurfaceCandidateOutcome, A as compareRankKeys, At as EvalFixtureLoadOptions, B as ProfileMatrixCoverage, Bt as SearchLedgerConflictError, C as surfaceHash, Cn as BuildTraceAnalystSurfaceDispatchOptions, Ct as UngroundedLiteralReport, D as CampaignBreakdown, Dn as traceAnalystQualityJudge, Dt as neutralizationGate, E as acquireSingleRunLock, En as buildTraceAnalystSurfaceDispatch, Et as NeutralizationGateOptions, F as resolveRunDir, Ft as PlanEvalFixtureRunOptions, G as SegmentedProfileMatrixError, Gt as CrossSurfaceAdditionDecision, H as ProfileMatrixRow, Ht as SearchLedgerIntegrityError, I as tangleTracesRoot, It as discoverEvalFixtures, J as runProfileMatrixSegment, Jt as CrossSurfaceBestSingleSelection, K as createProfileMatrixPlan, Kt as CrossSurfaceAdditionRejectionReason, L as CreateProfileMatrixPlanOptions, Lt as loadEvalFixture, M as ScenarioSignal, Mt as EvalFixtureScenario, N as scoreDiscrimination, Nt as EvalFixtureValidationMode, O as campaignBreakdown, Ot as EvalFixture, P as selectDiscriminative, Pt as LoadEvalFixtureScenariosOptions, Q as ScoreboardRenderOptions, Qt as CrossSurfaceCandidateEvidence, R as FinalizeProfileMatrixOptions, Rt as loadEvalFixtureScenarios, S as surfaceContentHash, Sn as CrossSurfaceTaskRow, St as ScoredRollout, T as SingleRunLockOptions, Tn as TraceAnalystScenario, Tt as rolloutArgumentDiff, U as ProfileMatrixSegmentResult, Ut as analyzeCrossSurfaceInteractions, V as ProfileMatrixPlan, Vt as SearchLedgerError, W as RunProfileMatrixSegmentOptions, Wt as AnalyzeCrossSurfaceInteractionsInput, X as PlaybackDriver, Xt as CrossSurfaceCandidate, Y as PlaybackContext, Yt as CrossSurfaceBootstrapPolicy, Z as PlaybackStep, Zt as CrossSurfaceCandidateComparison, _ as assertCodeSurfaceIdentity, _n as CrossSurfacePairwiseEntry, _t as FsLabeledScenarioStoreOptions, a as WorktreeAdapterError, an as CrossSurfaceEligibility, at as scoreUserStory, b as componentSurfaceIdentityMaterial, bn as CrossSurfaceSelectionPolicy, bt as RolloutArgumentDiffOptions, c as verifyCodeSurface, cn as CrossSurfaceInteractionAwareSelection, ct as ProfileDispatchFn, d as PhoenixEvaluationResultLike, dn as CrossSurfaceInteractionReport, dt as RunProfileMatrixOptions, en as CrossSurfaceCandidateSummary, et as ScoreboardSummary, f as PhoenixEvaluatorLike, fn as CrossSurfaceInteractionTask, ft as RunProfileMatrixResult, g as isTransientTransportFailure, gn as CrossSurfacePairIncompatibilityReason, gt as FsLabeledScenarioStore, h as TransientFailureOptions, hn as CrossSurfacePairEvidence, ht as neutralizeText, i as WorktreeAdapter, in as CrossSurfaceDistribution, it as renderScoreboardMarkdown, j as DiscriminationScore, jt as EvalFixtureRunPlan, k as campaignMeanComposite, kt as EvalFixtureFile, l as AutoevalsScoreLike, ln as CrossSurfaceInteractionEffect, lt as ProfileMatrixError, m as phoenixEvaluatorJudge, mn as CrossSurfacePairCompatibility, mt as runProfileMatrix, n as GitWorktreeAdapterOptions, nn as CrossSurfaceComponentEvidence, nt as UserStoryVerdict, o as gitWorktreeAdapter, on as CrossSurfaceEvidenceBreakdown, ot as scoreboardSummary, p as autoevalsScorerJudge, pn as CrossSurfaceNaiveStackSelection, pt as ScenarioRollup, q as finalizeProfileMatrix, qt as CrossSurfaceAttemptCompleteness, r as Worktree, rn as CrossSurfaceCompositionStep, rt as makePlaybackDispatch, s as resolveWorktreePath, sn as CrossSurfaceIneligibilityReason, st as userStoryScoreboard, t as CodeSurfaceVerification, tn as CrossSurfaceComponent, tt as UserStory, u as AutoevalsScorerLike, un as CrossSurfaceInteractionPath, ut as ProfileSummary, v as assertComponentSurface, vn as CrossSurfaceRankedSingle, vt as LabeledScenarioStoreError, w as SingleRunLock, wn as TraceAnalystArtifact, wt as classifyUngroundedLiterals, x as renderSurfaceDiff, xn as CrossSurfaceSelections, xt as RolloutCall, y as codeSurfaceIdentityMaterial, yn as CrossSurfaceRelativeCost, yt as RolloutArgumentDiff, z as FinalizedProfileMatrixResult, zt as planEvalFixtureRun } from "../index-BCDyf_kT.js";
2
+ import { _ as ProposalFinding, v as ProposalFindingOrigin, x as makeProposalFinding } from "../types-BNbhD_Vj.js";
3
+ import { _ as ExternalTextCandidate, a as ExternalOptimizerEndpointFormat, b as resolveExternalOptimizerProcessLimits, c as ExternalOptimizerModelBudget, d as ExternalOptimizerModelCallResult, f as ExternalOptimizerModelExecutionObservation, h as ExternalOptimizerRunnerCommand, i as ExternalOptimizerChatRequest, l as ExternalOptimizerModelCall, n as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, o as ExternalOptimizerEvaluationObservation, p as ExternalOptimizerProcessLimits, r as ExternalOptimizerCallbackLimits, s as ExternalOptimizerEvaluationRefusalReason, t as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, u as ExternalOptimizerModelCallRequest, y as resolveExternalOptimizerCallbackLimits } from "../external-optimizer-contracts-mbhR9Ldu.js";
4
+ import { A as LabeledScenarioWrite, B as ScoredSurfaceOutcome, C as JudgeDimension, D as LabeledScenarioSampleArgs, E as LabeledScenarioRecord, F as ProposeContext, G as labelTrustRank, H as SurfaceProposer, I as ProposedCandidate, L as RedactionStatus, M as OptimizerConfig, N as ParetoParent, O as LabeledScenarioSource, P as ProposalTrackContext, R as Scenario, S as JudgeConfig, T as LabelTrust, U as TraceSpan, V as SessionScript, W as isProposedCandidate, _ as GateDecision, a as CampaignResult, b as GenerationRecord, c as CampaignTraceWriter, d as DispatchContext, f as DispatchFn, g as GateContribution, h as GateContext, i as CampaignCostMeter, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, m as GateCheckStatus, n as CampaignArtifactWriter, o as CampaignScenarioIdentity, p as Gate, r as CampaignCellResult, s as CampaignTokenUsage, t as CampaignAggregates, u as ComponentSurface, v as GateResult, w as JudgeScore, x as JudgeAggregate, y as GenerationCandidate, z as ScenarioAggregate } from "../types-COEjZMLY.js";
5
+ import { $ as OptimizationTokenUsage, $t as SearchTokenAccounting, An as LlmJudgeDimension, At as SearchCompletedEvent, Bt as SearchModelIdentity, C as RunOptimizationOptions, Cn as CampaignStorage, Ct as SearchAttemptAccounting, D as runEval, Dn as OpenAutoPrOptions, Dt as SearchCandidateSlot, E as RunEvalOptions, En as inMemoryCampaignStorage, Et as SearchCandidateRegisteredEvent, Ft as SearchLedgerEntry, G as OptimizationMethodComparison, Gt as SearchPlannedOperation, H as CompareOptimizationMethodsOptions, Ht as SearchOperationRecordedEvent, It as SearchLedgerEvent, J as OptimizationMethodProvenance, Jt as SearchSurfaceEffect, K as OptimizationMethodInput, Kt as SearchPlannedTask, Lt as SearchLedgerHash, Mn as llmJudge, Mt as SearchFailureReason, Nt as SearchLedger, On as OpenAutoPrResult, Ot as SearchCandidateSlotClosedEvent, Pt as SearchLedgerAppendResult, Q as OptimizationPackageSource, Qt as SearchTaskOutcome, Rt as SearchLedgerReplay, S as PremeasuredOptimizationBaseline, Sn as planCampaignRun, St as SearchArtifactRef, T as runOptimization, Tn as fsCampaignStorage, Tt as SearchCandidateLineage, U as ComparisonCost, Ut as SearchPlan, Vt as SearchOperationKind, W as OptimizationMethod, Wt as SearchPlannedEvent, X as OptimizationMethodRunOptions, Xt as SearchSurfaceKind, Y as OptimizationMethodResult, Yt as SearchSurfaceEvidence, Z as OptimizationMethodScore, Zt as SearchTaskAttemptedEvent, _ as provenanceSpansPath, _n as RunCampaignOptions, _t as verifySearchHistoryReceipt, a as LoopProvenanceBackend, an as GepaCandidateSelectionScore, at as SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, b as RunImprovementLoopResult, bn as CampaignRunPlanCell, bt as SEARCH_LEDGER_SCHEMA, c as LoopProvenanceOptimizationMethod, cn as ExternalOptimizerObservationArtifact, ct as SearchHistoryCoverage, d as campaignMeasurementDigest, dn as readExternalOptimizerObservationArtifact, dt as SearchHistoryReceipt, en as openSearchLedger, et as combineComparisonCosts, f as canonicalDigest, fn as CacheIssueReason, ft as SearchHistoryRequiredError, g as provenanceRecordPath, gn as CampaignCellFailureReceipt, gt as searchHistoryCoverageRow, h as loopProvenanceSpans, hn as cellCachePath, ht as createSearchHistoryReceipt, i as LoopProvenanceArgsFromResult, in as GepaCandidatePopulationSummary, it as CreateSearchHistoryReceiptInput, jn as LlmJudgeOptions, jt as SearchCostAccounting, kn as openAutoPr, kt as SearchCandidateSurface, l as LoopProvenanceRecord, ln as ExternalOptimizerObservationSummary, lt as SearchHistoryCoverageRow, m as loopProvenanceArgsFromResult, mn as readCachedCell, mt as assertSearchHistoryMatchesReplay, n as EmitLoopProvenanceArgs, nn as GepaCandidatePopulationArtifact, nt as costFromLedgerSummary, o as LoopProvenanceCandidate, on as readGepaCandidatePopulationArtifact, ot as SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, p as emitLoopProvenance, pn as CacheRead, pt as assertCompleteSearchHistory, q as OptimizationMethodPairwise, qt as SearchSourceRef, r as EmitLoopProvenanceResult, rn as GepaCandidatePopulationCandidate, rt as optimizationTokenUsageFromSummary, s as LoopProvenanceEvidence, sn as ExternalOptimizerExecutionSummary, st as SearchHistoryAuditSummary, t as BuildLoopProvenanceArgs, tn as validateSearchLedgerEvent, tt as compareOptimizationMethods, u as buildLoopProvenanceRecord, un as ExternalOptimizerSubmittedCandidate, ut as SearchHistoryPolicy, v as verifyLoopProvenanceRecord, vn as runCampaign, vt as FileSearchLedger, w as RunOptimizationResult, wn as createRunCostLedger, wt as SearchCandidateDecidedEvent, x as runImprovementLoop, xn as PlanCampaignRunOptions, xt as SearchAccountingAudit, y as RunImprovementLoopOptions, yn as CampaignRunPlan, yt as OpenSearchLedgerOptions, zt as SearchLedgerTrustedHeadMode } from "../provenance-Bh9k3sjl.js";
6
+ import { A as campaignScenarioIdentity, C as ExternalTextOptimizerContext, D as decodeExternalTextCandidate, E as ExternalTextEvaluationResponse, I as ReferenceEquivalenceJudgeOptions, M as campaignSplitDigestFromIdentities, O as assertCampaignDesign, R as ReferenceEquivalenceScenario, S as ExternalTextOptimizationMethodConfig, T as ExternalOptimizationExample, _ as DefaultProductionGateOptions, a as GepaAdaptiveEngineRun, b as composeGate, c as GepaOptimizationMethodConfig, d as gepaOptimizationMethod, f as OpenAICompatibleOptimizerModel, g as DefaultProductionGateCheck, h as heldOutGate, i as skillOptOptimizationMethod, j as campaignSplitDigest, k as assertCampaignSplitIdentity, l as GepaOptimizationRecipe, m as HeldOutGateOptions, n as SkillOptRunnerCommand, o as GepaEngineOptions, p as OptimizerModelBudget, r as SkillOptTrainerConfig, s as GepaEngineRun, t as SkillOptOptimizationMethodConfig, u as GepaRunnerCommand, v as DefaultProductionRewardHackingOptions, w as ExternalTextOptimizerResult, x as externalTextOptimizationMethod, y as defaultProductionGate, z as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-BtgL6PMH.js";
7
+ import { $ as ScoreboardRow, $t as CrossSurfaceCandidateComparison, A as compareRankKeys, At as EvalFixture, B as ProfileMatrixCoverage, Bt as loadEvalFixtureScenarios, C as surfaceHash, Cn as CrossSurfaceSelections, Ct as RolloutCall, D as CampaignBreakdown, Dn as TraceAnalystScenario, Dt as rolloutArgumentDiff, E as acquireSingleRunLock, En as TraceAnalystArtifact, Et as classifyUngroundedLiterals, F as resolveRunDir, Ft as EvalFixtureValidationMode, G as SegmentedProfileMatrixError, Gt as analyzeCrossSurfaceInteractions, H as ProfileMatrixRow, Ht as SearchLedgerConflictError, I as tangleTracesRoot, It as LoadEvalFixtureScenariosOptions, J as runProfileMatrixSegment, Jt as CrossSurfaceAdditionRejectionReason, K as createProfileMatrixPlan, Kt as AnalyzeCrossSurfaceInteractionsInput, L as CreateProfileMatrixPlanOptions, Lt as PlanEvalFixtureRunOptions, M as ScenarioSignal, Mt as EvalFixtureLoadOptions, N as scoreDiscrimination, Nt as EvalFixtureRunPlan, O as campaignBreakdown, On as buildTraceAnalystSurfaceDispatch, Ot as NeutralizationGateOptions, P as selectDiscriminative, Pt as EvalFixtureScenario, Q as ScoreboardRenderOptions, Qt as CrossSurfaceCandidate, R as FinalizeProfileMatrixOptions, Rt as discoverEvalFixtures, S as surfaceContentHash, Sn as CrossSurfaceSelectionPolicy, St as RolloutArgumentDiffOptions, T as SingleRunLockOptions, Tn as BuildTraceAnalystSurfaceDispatchOptions, Tt as UngroundedLiteralReport, U as ProfileMatrixSegmentResult, Ut as SearchLedgerError, V as ProfileMatrixPlan, Vt as planEvalFixtureRun, W as RunProfileMatrixSegmentOptions, Wt as SearchLedgerIntegrityError, X as PlaybackDriver, Xt as CrossSurfaceBestSingleSelection, Y as PlaybackContext, Yt as CrossSurfaceAttemptCompleteness, Z as PlaybackStep, Zt as CrossSurfaceBootstrapPolicy, _ as assertCodeSurfaceIdentity, _n as CrossSurfacePairEvidence, _t as neutralizeText, a as WorktreeAdapterError, an as CrossSurfaceCompositionStep, at as scoreUserStory, b as componentSurfaceIdentityMaterial, bn as CrossSurfaceRankedSingle, bt as LabeledScenarioStoreError, c as verifyCodeSurface, cn as CrossSurfaceEvidenceBreakdown, ct as ProfileDispatchFn, d as PhoenixEvaluationResultLike, dn as CrossSurfaceInteractionEffect, dt as RunProfileMatrixOptions, en as CrossSurfaceCandidateEvidence, et as ScoreboardSummary, f as PhoenixEvaluatorLike, fn as CrossSurfaceInteractionPath, ft as RunProfileMatrixResult, g as isTransientTransportFailure, gn as CrossSurfacePairCompatibility, gt as createOpenAiCompatibleExecutionOwner, h as TransientFailureOptions, hn as CrossSurfaceNaiveStackSelection, ht as OpenAiCompatibleExecutionOwnerOptions, i as WorktreeAdapter, in as CrossSurfaceComponentEvidence, it as renderScoreboardMarkdown, j as DiscriminationScore, jt as EvalFixtureFile, k as campaignMeanComposite, kn as traceAnalystQualityJudge, kt as neutralizationGate, l as AutoevalsScoreLike, ln as CrossSurfaceIneligibilityReason, lt as ProfileMatrixError, m as phoenixEvaluatorJudge, mn as CrossSurfaceInteractionTask, mt as runProfileMatrix, n as GitWorktreeAdapterOptions, nn as CrossSurfaceCandidateSummary, nt as UserStoryVerdict, o as gitWorktreeAdapter, on as CrossSurfaceDistribution, ot as scoreboardSummary, p as autoevalsScorerJudge, pn as CrossSurfaceInteractionReport, pt as ScenarioRollup, q as finalizeProfileMatrix, qt as CrossSurfaceAdditionDecision, r as Worktree, rn as CrossSurfaceComponent, rt as makePlaybackDispatch, s as resolveWorktreePath, sn as CrossSurfaceEligibility, st as userStoryScoreboard, t as CodeSurfaceVerification, tn as CrossSurfaceCandidateOutcome, tt as UserStory, u as AutoevalsScorerLike, un as CrossSurfaceInteractionAwareSelection, ut as ProfileSummary, v as assertComponentSurface, vn as CrossSurfacePairIncompatibilityReason, vt as FsLabeledScenarioStore, w as SingleRunLock, wn as CrossSurfaceTaskRow, wt as ScoredRollout, x as renderSurfaceDiff, xn as CrossSurfaceRelativeCost, xt as RolloutArgumentDiff, y as codeSurfaceIdentityMaterial, yn as CrossSurfacePairwiseEntry, yt as FsLabeledScenarioStoreOptions, z as FinalizedProfileMatrixResult, zt as loadEvalFixture } from "../index-dh0kp2GM.js";
8
8
  import { c as powerPreflight, o as PowerPreflight, s as PowerPreflightOptions } from "../pareto-BqNW3LJR.js";
9
- import { a as ObjectiveSource, c as PromotionPolicy, d as paretoSignificanceGate, i as EvidenceVector, l as buildEvidenceVector, n as AxisVerdict, o as ParetoSignificanceGateOptions, r as BuildEvidenceVectorOptions, s as PromotionObjective, t as AxisEvidence, u as paretoPolicy } from "../promotion-policy-CewdjfCJ.js";
10
- import { a as detectScale, c as pairHoldout, d as SequentialDecision, f as SequentialObservation, g as sequentialPairedGate, h as sequentialDecide, i as PairedHoldout, l as SequentialDecideFn, m as SequentialPairedGateOptions, n as HeldoutSignificance, o as dimensionRegressions, p as SequentialPairedGate, r as HeldoutSignificanceOptions, s as heldoutSignificance, t as DimensionRegression, u as SequentialDecideOptions } from "../statistical-heldout-uxSpFEjm.js";
11
- export { type AnalyzeCrossSurfaceInteractionsInput, type AutoevalsScoreLike, type AutoevalsScorerLike, type AxisEvidence, type AxisVerdict, type BuildEvidenceVectorOptions, type BuildLoopProvenanceArgs, type BuildTraceAnalystSurfaceDispatchOptions, type CacheIssueReason, type CacheRead, type CampaignAggregates, type CampaignArtifactWriter, type CampaignBreakdown, type CampaignCellFailureReceipt, type CampaignCellResult, type CampaignCostMeter, type CampaignResult, type CampaignRunPlan, type CampaignRunPlanCell, type CampaignScenarioIdentity, type CampaignStorage, type CampaignTokenUsage, type CampaignTraceWriter, type CodeSurface, type CodeSurfaceVerification, type CompareOptimizationMethodsOptions, type ComparisonCost, type ComponentSurface, type CostLedgerHandle, type CreateProfileMatrixPlanOptions, type CreateSearchHistoryReceiptInput, type CrossSurfaceAdditionDecision, type CrossSurfaceAdditionRejectionReason, type CrossSurfaceAttemptCompleteness, type CrossSurfaceBestSingleSelection, type CrossSurfaceBootstrapPolicy, type CrossSurfaceCandidate, type CrossSurfaceCandidateComparison, type CrossSurfaceCandidateEvidence, type CrossSurfaceCandidateOutcome, type CrossSurfaceCandidateSummary, type CrossSurfaceComponent, type CrossSurfaceComponentEvidence, type CrossSurfaceCompositionStep, type CrossSurfaceDistribution, type CrossSurfaceEligibility, type CrossSurfaceEvidenceBreakdown, type CrossSurfaceIneligibilityReason, type CrossSurfaceInteractionAwareSelection, type CrossSurfaceInteractionEffect, type CrossSurfaceInteractionPath, type CrossSurfaceInteractionReport, type CrossSurfaceInteractionTask, type CrossSurfaceNaiveStackSelection, type CrossSurfacePairCompatibility, type CrossSurfacePairEvidence, type CrossSurfacePairIncompatibilityReason, type CrossSurfacePairwiseEntry, type CrossSurfaceRankedSingle, type CrossSurfaceRelativeCost, type CrossSurfaceSelectionPolicy, type CrossSurfaceSelections, type CrossSurfaceTaskRow, DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, type DefaultProductionGateCheck, type DefaultProductionGateOptions, type DefaultProductionRewardHackingOptions, type DimensionRegression, type DiscriminationScore, type DispatchContext, type DispatchFn, type EmitLoopProvenanceArgs, type EmitLoopProvenanceResult, type EvalFixture, type EvalFixtureFile, type EvalFixtureLoadOptions, type EvalFixtureRunPlan, type EvalFixtureScenario, type EvalFixtureValidationMode, type EvidenceVector, type ExternalOptimizationExample, type ExternalOptimizerCallbackLimits, type ExternalOptimizerChatRequest, type ExternalOptimizerEndpointFormat, type ExternalOptimizerEvaluationObservation, type ExternalOptimizerEvaluationRefusalReason, type ExternalOptimizerExecutionSummary, type ExternalOptimizerModelBudget, type ExternalOptimizerModelCall, type ExternalOptimizerModelCallRequest, type ExternalOptimizerModelCallResult, type ExternalOptimizerModelExecutionObservation, type ExternalOptimizerObservationArtifact, type ExternalOptimizerObservationSummary, type ExternalOptimizerProcessLimits, type ExternalOptimizerRunnerCommand, type ExternalOptimizerSubmittedCandidate, type ExternalTextCandidate, type ExternalTextEvaluationResponse, type ExternalTextOptimizationMethodConfig, type ExternalTextOptimizerContext, type ExternalTextOptimizerResult, FileSearchLedger, type FinalizeProfileMatrixOptions, type FinalizedProfileMatrixResult, FsLabeledScenarioStore, type FsLabeledScenarioStoreOptions, type Gate, type GateCheckStatus, type GateContext, type GateContribution, type GateDecision, type GateResult, type GenerationCandidate, type GenerationRecord, type GepaAdaptiveEngineRun, type GepaCandidatePopulationArtifact, type GepaCandidatePopulationCandidate, type GepaCandidatePopulationSummary, type GepaCandidateSelectionScore, type GepaEngineOptions, type GepaEngineRun, type GepaOptimizationMethodConfig, type GepaOptimizationRecipe, type GepaRunnerCommand, type GitWorktreeAdapterOptions, type HeldOutGateOptions, type HeldoutSignificance, type HeldoutSignificanceOptions, type JudgeAggregate, type JudgeConfig, type JudgeDimension, type JudgeScore, type LabelTrust, type LabeledScenarioRecord, type LabeledScenarioSampleArgs, type LabeledScenarioSource, type LabeledScenarioStore, LabeledScenarioStoreError, type LabeledScenarioWrite, type LlmJudgeDimension, type LlmJudgeOptions, type LoadEvalFixtureScenariosOptions, type LoopProvenanceArgsFromResult, type LoopProvenanceBackend, type LoopProvenanceCandidate, type LoopProvenanceEvidence, type LoopProvenanceOptimizationMethod, type LoopProvenanceRecord, type MutableSurface, type NeutralizationGateOptions, type ObjectiveSource, type OpenAICompatibleOptimizerModel, type OpenAutoPrOptions, type OpenAutoPrResult, type OpenSearchLedgerOptions, type OptimizationMethod, type OptimizationMethodComparison, type OptimizationMethodInput, type OptimizationMethodPairwise, type OptimizationMethodProvenance, type OptimizationMethodResult, type OptimizationMethodRunOptions, type OptimizationMethodScore, type OptimizationPackageSource, type OptimizationTokenUsage, type OptimizerConfig, type OptimizerModelBudget, type PairedHoldout, type ParetoParent, type ParetoSignificanceGateOptions, type PendingCostCallView, type PhoenixEvaluationResultLike, type PhoenixEvaluatorLike, type PlanCampaignRunOptions, type PlanEvalFixtureRunOptions, type PlaybackContext, type PlaybackDriver, type PlaybackStep, type PowerPreflight, type PowerPreflightOptions, type PremeasuredOptimizationBaseline, type ProfileDispatchFn, type ProfileMatrixCoverage, ProfileMatrixError, type ProfileMatrixPlan, type ProfileMatrixRow, type ProfileMatrixSegmentResult, type ProfileSummary, type PromotionObjective, type PromotionPolicy, type ProposalFinding, type ProposalFindingOrigin, type ProposalTrackContext, type ProposeContext, type ProposedCandidate, type RedactionStatus, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceScenario, type RolloutArgumentDiff, type RolloutArgumentDiffOptions, type RolloutCall, type RunCampaignOptions, type RunEvalOptions, type RunImprovementLoopOptions, type RunImprovementLoopResult, type RunOptimizationOptions, type RunOptimizationResult, type RunProfileMatrixOptions, type RunProfileMatrixResult, type RunProfileMatrixSegmentOptions, SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, SEARCH_LEDGER_SCHEMA, type Scenario, type ScenarioAggregate, type ScenarioRollup, type ScenarioSignal, type ScoreboardRenderOptions, type ScoreboardRow, type ScoreboardSummary, type ScoredRollout, type ScoredSurfaceOutcome, type SearchAccountingAudit, type SearchArtifactRef, type SearchAttemptAccounting, type SearchCandidateDecidedEvent, type SearchCandidateLineage, type SearchCandidateRegisteredEvent, type SearchCandidateSlot, type SearchCandidateSlotClosedEvent, type SearchCandidateSurface, type SearchCompletedEvent, type SearchCostAccounting, type SearchFailureReason, type SearchHistoryAuditSummary, type SearchHistoryCoverage, type SearchHistoryCoverageRow, type SearchHistoryPolicy, type SearchHistoryReceipt, SearchHistoryRequiredError, type SearchLedger, type SearchLedgerAppendResult, SearchLedgerConflictError, type SearchLedgerEntry, SearchLedgerError, type SearchLedgerEvent, type SearchLedgerHash, SearchLedgerIntegrityError, type SearchLedgerReplay, type SearchLedgerTrustedHeadMode, type SearchModelIdentity, type SearchOperationKind, type SearchOperationRecordedEvent, type SearchPlan, type SearchPlannedEvent, type SearchPlannedOperation, type SearchPlannedTask, type SearchSourceRef, type SearchSurfaceEffect, type SearchSurfaceEvidence, type SearchSurfaceKind, type SearchTaskAttemptedEvent, type SearchTaskOutcome, type SearchTokenAccounting, SegmentedProfileMatrixError, type SequentialDecideFn, type SequentialDecideOptions, type SequentialDecision, type SequentialObservation, type SequentialPairedGate, type SequentialPairedGateOptions, type SessionScript, type SingleRunLock, type SingleRunLockOptions, type SkillOptOptimizationMethodConfig, type SkillOptRunnerCommand, type SkillOptTrainerConfig, type SurfaceProposer, type TraceAnalystArtifact, type TraceAnalystScenario, type TraceSpan, type TransientFailureOptions, type UngroundedLiteralReport, type UserStory, type UserStoryVerdict, type Worktree, type WorktreeAdapter, WorktreeAdapterError, acquireSingleRunLock, analyzeCrossSurfaceInteractions, assertCampaignDesign, assertCampaignSplitIdentity, assertCodeSurfaceIdentity, assertCompleteSearchHistory, assertComponentSurface, assertSearchHistoryMatchesReplay, autoevalsScorerJudge, buildEvidenceVector, buildLoopProvenanceRecord, buildTraceAnalystSurfaceDispatch, campaignBreakdown, campaignMeanComposite, campaignMeasurementDigest, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, cellCachePath, classifyUngroundedLiterals, codeSurfaceIdentityMaterial, combineComparisonCosts, compareOptimizationMethods, compareRankKeys, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createProfileMatrixPlan, createReferenceEquivalenceJudge, createRunCostLedger, createSearchHistoryReceipt, decodeExternalTextCandidate, defaultProductionGate, detectScale, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, inMemoryCampaignStorage, isProposedCandidate, isTransientTransportFailure, labelTrustRank, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, loopProvenanceArgsFromResult, loopProvenanceSpans, makePlaybackDispatch, makeProposalFinding, neutralizationGate, neutralizeText, openAutoPr, openSearchLedger, optimizationTokenUsageFromSummary, pairHoldout, paretoPolicy, paretoSignificanceGate, phoenixEvaluatorJudge, planCampaignRun, planEvalFixtureRun, powerPreflight, provenanceRecordPath, provenanceSpansPath, readCachedCell, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderScoreboardMarkdown, renderSurfaceDiff, resolveExternalOptimizerCallbackLimits, resolveExternalOptimizerProcessLimits, resolveRunDir, resolveWorktreePath, rolloutArgumentDiff, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, scoreDiscrimination, scoreUserStory, scoreboardSummary, searchHistoryCoverageRow, selectDiscriminative, sequentialDecide, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceHash, tangleTracesRoot, traceAnalystQualityJudge, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifyLoopProvenanceRecord, verifySearchHistoryReceipt };
9
+ import { a as ObjectiveSource, c as PromotionPolicy, d as paretoSignificanceGate, i as EvidenceVector, l as buildEvidenceVector, n as AxisVerdict, o as ParetoSignificanceGateOptions, r as BuildEvidenceVectorOptions, s as PromotionObjective, t as AxisEvidence, u as paretoPolicy } from "../promotion-policy-DYRzXdTV.js";
10
+ import { a as detectScale, c as pairHoldout, d as SequentialDecision, f as SequentialObservation, g as sequentialPairedGate, h as sequentialDecide, i as PairedHoldout, l as SequentialDecideFn, m as SequentialPairedGateOptions, n as HeldoutSignificance, o as dimensionRegressions, p as SequentialPairedGate, r as HeldoutSignificanceOptions, s as heldoutSignificance, t as DimensionRegression, u as SequentialDecideOptions } from "../statistical-heldout-Caxd30ZF.js";
11
+ export { type AnalyzeCrossSurfaceInteractionsInput, type AutoevalsScoreLike, type AutoevalsScorerLike, type AxisEvidence, type AxisVerdict, type BuildEvidenceVectorOptions, type BuildLoopProvenanceArgs, type BuildTraceAnalystSurfaceDispatchOptions, type CacheIssueReason, type CacheRead, type CampaignAggregates, type CampaignArtifactWriter, type CampaignBreakdown, type CampaignCellFailureReceipt, type CampaignCellResult, type CampaignCostMeter, type CampaignResult, type CampaignRunPlan, type CampaignRunPlanCell, type CampaignScenarioIdentity, type CampaignStorage, type CampaignTokenUsage, type CampaignTraceWriter, type CodeSurface, type CodeSurfaceVerification, type CompareOptimizationMethodsOptions, type ComparisonCost, type ComponentSurface, type CostLedgerHandle, type CreateProfileMatrixPlanOptions, type CreateSearchHistoryReceiptInput, type CrossSurfaceAdditionDecision, type CrossSurfaceAdditionRejectionReason, type CrossSurfaceAttemptCompleteness, type CrossSurfaceBestSingleSelection, type CrossSurfaceBootstrapPolicy, type CrossSurfaceCandidate, type CrossSurfaceCandidateComparison, type CrossSurfaceCandidateEvidence, type CrossSurfaceCandidateOutcome, type CrossSurfaceCandidateSummary, type CrossSurfaceComponent, type CrossSurfaceComponentEvidence, type CrossSurfaceCompositionStep, type CrossSurfaceDistribution, type CrossSurfaceEligibility, type CrossSurfaceEvidenceBreakdown, type CrossSurfaceIneligibilityReason, type CrossSurfaceInteractionAwareSelection, type CrossSurfaceInteractionEffect, type CrossSurfaceInteractionPath, type CrossSurfaceInteractionReport, type CrossSurfaceInteractionTask, type CrossSurfaceNaiveStackSelection, type CrossSurfacePairCompatibility, type CrossSurfacePairEvidence, type CrossSurfacePairIncompatibilityReason, type CrossSurfacePairwiseEntry, type CrossSurfaceRankedSingle, type CrossSurfaceRelativeCost, type CrossSurfaceSelectionPolicy, type CrossSurfaceSelections, type CrossSurfaceTaskRow, DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, type DefaultProductionGateCheck, type DefaultProductionGateOptions, type DefaultProductionRewardHackingOptions, type DimensionRegression, type DiscriminationScore, type DispatchContext, type DispatchFn, type EmitLoopProvenanceArgs, type EmitLoopProvenanceResult, type EvalFixture, type EvalFixtureFile, type EvalFixtureLoadOptions, type EvalFixtureRunPlan, type EvalFixtureScenario, type EvalFixtureValidationMode, type EvidenceVector, type ExternalOptimizationExample, type ExternalOptimizerCallbackLimits, type ExternalOptimizerChatRequest, type ExternalOptimizerEndpointFormat, type ExternalOptimizerEvaluationObservation, type ExternalOptimizerEvaluationRefusalReason, type ExternalOptimizerExecutionSummary, type ExternalOptimizerModelBudget, type ExternalOptimizerModelCall, type ExternalOptimizerModelCallRequest, type ExternalOptimizerModelCallResult, type ExternalOptimizerModelExecutionObservation, type ExternalOptimizerObservationArtifact, type ExternalOptimizerObservationSummary, type ExternalOptimizerProcessLimits, type ExternalOptimizerRunnerCommand, type ExternalOptimizerSubmittedCandidate, type ExternalTextCandidate, type ExternalTextEvaluationResponse, type ExternalTextOptimizationMethodConfig, type ExternalTextOptimizerContext, type ExternalTextOptimizerResult, FileSearchLedger, type FinalizeProfileMatrixOptions, type FinalizedProfileMatrixResult, FsLabeledScenarioStore, type FsLabeledScenarioStoreOptions, type Gate, type GateCheckStatus, type GateContext, type GateContribution, type GateDecision, type GateResult, type GenerationCandidate, type GenerationRecord, type GepaAdaptiveEngineRun, type GepaCandidatePopulationArtifact, type GepaCandidatePopulationCandidate, type GepaCandidatePopulationSummary, type GepaCandidateSelectionScore, type GepaEngineOptions, type GepaEngineRun, type GepaOptimizationMethodConfig, type GepaOptimizationRecipe, type GepaRunnerCommand, type GitWorktreeAdapterOptions, type HeldOutGateOptions, type HeldoutSignificance, type HeldoutSignificanceOptions, type JudgeAggregate, type JudgeConfig, type JudgeDimension, type JudgeScore, type LabelTrust, type LabeledScenarioRecord, type LabeledScenarioSampleArgs, type LabeledScenarioSource, type LabeledScenarioStore, LabeledScenarioStoreError, type LabeledScenarioWrite, type LlmJudgeDimension, type LlmJudgeOptions, type LoadEvalFixtureScenariosOptions, type LoopProvenanceArgsFromResult, type LoopProvenanceBackend, type LoopProvenanceCandidate, type LoopProvenanceEvidence, type LoopProvenanceOptimizationMethod, type LoopProvenanceRecord, type MutableSurface, type NeutralizationGateOptions, type ObjectiveSource, type OpenAICompatibleOptimizerModel, type OpenAiCompatibleExecutionOwnerOptions, type OpenAutoPrOptions, type OpenAutoPrResult, type OpenSearchLedgerOptions, type OptimizationMethod, type OptimizationMethodComparison, type OptimizationMethodInput, type OptimizationMethodPairwise, type OptimizationMethodProvenance, type OptimizationMethodResult, type OptimizationMethodRunOptions, type OptimizationMethodScore, type OptimizationPackageSource, type OptimizationTokenUsage, type OptimizerConfig, type OptimizerModelBudget, type PairedHoldout, type ParetoParent, type ParetoSignificanceGateOptions, type PendingCostCallView, type PhoenixEvaluationResultLike, type PhoenixEvaluatorLike, type PlanCampaignRunOptions, type PlanEvalFixtureRunOptions, type PlaybackContext, type PlaybackDriver, type PlaybackStep, type PowerPreflight, type PowerPreflightOptions, type PremeasuredOptimizationBaseline, type ProfileDispatchFn, type ProfileMatrixCoverage, ProfileMatrixError, type ProfileMatrixPlan, type ProfileMatrixRow, type ProfileMatrixSegmentResult, type ProfileSummary, type PromotionObjective, type PromotionPolicy, type ProposalFinding, type ProposalFindingOrigin, type ProposalTrackContext, type ProposeContext, type ProposedCandidate, type RedactionStatus, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceScenario, type RolloutArgumentDiff, type RolloutArgumentDiffOptions, type RolloutCall, type RunCampaignOptions, type RunEvalOptions, type RunImprovementLoopOptions, type RunImprovementLoopResult, type RunOptimizationOptions, type RunOptimizationResult, type RunProfileMatrixOptions, type RunProfileMatrixResult, type RunProfileMatrixSegmentOptions, SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, SEARCH_LEDGER_SCHEMA, type Scenario, type ScenarioAggregate, type ScenarioRollup, type ScenarioSignal, type ScoreboardRenderOptions, type ScoreboardRow, type ScoreboardSummary, type ScoredRollout, type ScoredSurfaceOutcome, type SearchAccountingAudit, type SearchArtifactRef, type SearchAttemptAccounting, type SearchCandidateDecidedEvent, type SearchCandidateLineage, type SearchCandidateRegisteredEvent, type SearchCandidateSlot, type SearchCandidateSlotClosedEvent, type SearchCandidateSurface, type SearchCompletedEvent, type SearchCostAccounting, type SearchFailureReason, type SearchHistoryAuditSummary, type SearchHistoryCoverage, type SearchHistoryCoverageRow, type SearchHistoryPolicy, type SearchHistoryReceipt, SearchHistoryRequiredError, type SearchLedger, type SearchLedgerAppendResult, SearchLedgerConflictError, type SearchLedgerEntry, SearchLedgerError, type SearchLedgerEvent, type SearchLedgerHash, SearchLedgerIntegrityError, type SearchLedgerReplay, type SearchLedgerTrustedHeadMode, type SearchModelIdentity, type SearchOperationKind, type SearchOperationRecordedEvent, type SearchPlan, type SearchPlannedEvent, type SearchPlannedOperation, type SearchPlannedTask, type SearchSourceRef, type SearchSurfaceEffect, type SearchSurfaceEvidence, type SearchSurfaceKind, type SearchTaskAttemptedEvent, type SearchTaskOutcome, type SearchTokenAccounting, SegmentedProfileMatrixError, type SequentialDecideFn, type SequentialDecideOptions, type SequentialDecision, type SequentialObservation, type SequentialPairedGate, type SequentialPairedGateOptions, type SessionScript, type SingleRunLock, type SingleRunLockOptions, type SkillOptOptimizationMethodConfig, type SkillOptRunnerCommand, type SkillOptTrainerConfig, type SurfaceProposer, type TraceAnalystArtifact, type TraceAnalystScenario, type TraceSpan, type TransientFailureOptions, type UngroundedLiteralReport, type UserStory, type UserStoryVerdict, type Worktree, type WorktreeAdapter, WorktreeAdapterError, acquireSingleRunLock, analyzeCrossSurfaceInteractions, assertCampaignDesign, assertCampaignSplitIdentity, assertCodeSurfaceIdentity, assertCompleteSearchHistory, assertComponentSurface, assertSearchHistoryMatchesReplay, autoevalsScorerJudge, buildEvidenceVector, buildLoopProvenanceRecord, buildTraceAnalystSurfaceDispatch, campaignBreakdown, campaignMeanComposite, campaignMeasurementDigest, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, cellCachePath, classifyUngroundedLiterals, codeSurfaceIdentityMaterial, combineComparisonCosts, compareOptimizationMethods, compareRankKeys, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createOpenAiCompatibleExecutionOwner, createProfileMatrixPlan, createReferenceEquivalenceJudge, createRunCostLedger, createSearchHistoryReceipt, decodeExternalTextCandidate, defaultProductionGate, detectScale, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, inMemoryCampaignStorage, isProposedCandidate, isTransientTransportFailure, labelTrustRank, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, loopProvenanceArgsFromResult, loopProvenanceSpans, makePlaybackDispatch, makeProposalFinding, neutralizationGate, neutralizeText, openAutoPr, openSearchLedger, optimizationTokenUsageFromSummary, pairHoldout, paretoPolicy, paretoSignificanceGate, phoenixEvaluatorJudge, planCampaignRun, planEvalFixtureRun, powerPreflight, provenanceRecordPath, provenanceSpansPath, readCachedCell, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderScoreboardMarkdown, renderSurfaceDiff, resolveExternalOptimizerCallbackLimits, resolveExternalOptimizerProcessLimits, resolveRunDir, resolveWorktreePath, rolloutArgumentDiff, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, scoreDiscrimination, scoreUserStory, scoreboardSummary, searchHistoryCoverageRow, selectDiscriminative, sequentialDecide, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceHash, tangleTracesRoot, traceAnalystQualityJudge, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifyLoopProvenanceRecord, verifySearchHistoryReceipt };
@@ -1,10 +1,10 @@
1
- import { $ as runEval, A as surfaceHash, B as campaignMeanComposite, C as optimizationTokenUsageFromSummary, D as componentSurfaceIdentityMaterial, E as codeSurfaceIdentityMaterial, F as assertSearchHistoryMatchesReplay, I as createSearchHistoryReceipt, K as readGepaCandidatePopulationArtifact, L as searchHistoryCoverageRow, M as SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, N as SearchHistoryRequiredError, O as renderSurfaceDiff, P as assertCompleteSearchHistory, R as verifySearchHistoryReceipt, S as costFromLedgerSummary, T as assertComponentSurface, V as compareRankKeys, a as canonicalDigest, b as combineComparisonCosts, c as loopProvenanceSpans, ct as assertCampaignSplitIdentity, d as verifyLoopProvenanceRecord, dt as campaignSplitDigestFromIdentities, et as runCampaign, f as runImprovementLoop, ft as readCachedCell, h as labelTrustRank, i as campaignMeasurementDigest, j as SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, k as surfaceContentHash, l as provenanceRecordPath, lt as campaignScenarioIdentity, m as isProposedCandidate, nt as resolveRunDir, o as emitLoopProvenance, p as runOptimization, pt as cellCachePath, q as defaultProductionGate, r as buildLoopProvenanceRecord, rt as tangleTracesRoot, s as loopProvenanceArgsFromResult, st as assertCampaignDesign, t as llmJudge, tt as planCampaignRun, u as provenanceSpansPath, ut as campaignSplitDigest, v as openAutoPr, w as assertCodeSurfaceIdentity, x as compareOptimizationMethods, z as campaignBreakdown } from "../llm-judge-DWq1Ptco.js";
2
- import { E as SearchLedgerIntegrityError, S as inMemoryCampaignStorage, T as SearchLedgerError, _ as resolveExternalOptimizerCallbackLimits, b as createRunCostLedger, c as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, l as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, v as resolveExternalOptimizerProcessLimits, w as SearchLedgerConflictError, x as fsCampaignStorage } from "../external-optimizer-subprocess-DU1KM8yV.js";
1
+ import { $ as runEval, A as surfaceHash, B as campaignMeanComposite, C as optimizationTokenUsageFromSummary, D as componentSurfaceIdentityMaterial, E as codeSurfaceIdentityMaterial, F as assertSearchHistoryMatchesReplay, I as createSearchHistoryReceipt, K as readGepaCandidatePopulationArtifact, L as searchHistoryCoverageRow, M as SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, N as SearchHistoryRequiredError, O as renderSurfaceDiff, P as assertCompleteSearchHistory, R as verifySearchHistoryReceipt, S as costFromLedgerSummary, T as assertComponentSurface, V as compareRankKeys, a as canonicalDigest, b as combineComparisonCosts, c as loopProvenanceSpans, ct as assertCampaignSplitIdentity, d as verifyLoopProvenanceRecord, dt as campaignSplitDigestFromIdentities, et as runCampaign, f as runImprovementLoop, ft as readCachedCell, h as labelTrustRank, i as campaignMeasurementDigest, j as SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, k as surfaceContentHash, l as provenanceRecordPath, lt as campaignScenarioIdentity, m as isProposedCandidate, nt as resolveRunDir, o as emitLoopProvenance, p as runOptimization, pt as cellCachePath, q as defaultProductionGate, r as buildLoopProvenanceRecord, rt as tangleTracesRoot, s as loopProvenanceArgsFromResult, st as assertCampaignDesign, t as llmJudge, tt as planCampaignRun, u as provenanceSpansPath, ut as campaignSplitDigest, v as openAutoPr, w as assertCodeSurfaceIdentity, x as compareOptimizationMethods, z as campaignBreakdown } from "../llm-judge-D7UuMI2t.js";
2
+ import { E as SearchLedgerIntegrityError, S as inMemoryCampaignStorage, T as SearchLedgerError, _ as resolveExternalOptimizerCallbackLimits, b as createRunCostLedger, c as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, l as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, v as resolveExternalOptimizerProcessLimits, w as SearchLedgerConflictError, x as fsCampaignStorage } from "../external-optimizer-subprocess-BepyNwtj.js";
3
3
  import { a as heldoutSignificance, i as dimensionRegressions, o as pairHoldout, r as detectScale, t as powerPreflight } from "../power-preflight-DEw-uC7q.js";
4
4
  import { r as makeProposalFinding } from "../types-BI4fT3HN.js";
5
- import { n as acquireSingleRunLock } from "../external-optimizer-process-C4AyCcQd.js";
6
- import { a as externalTextOptimizationMethod, i as composeGate, n as gepaOptimizationMethod, o as decodeExternalTextCandidate, r as heldOutGate, s as readExternalOptimizerObservationArtifact, t as skillOptOptimizationMethod, u as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-Donmq4sq.js";
7
- import { A as neutralizationGate, C as scoreboardSummary, D as LabeledScenarioStoreError, E as FsLabeledScenarioStore, F as analyzeCrossSurfaceInteractions, I as buildTraceAnalystSurfaceDispatch, L as traceAnalystQualityJudge, M as loadEvalFixture, N as loadEvalFixtureScenarios, O as classifyUngroundedLiterals, P as planEvalFixtureRun, S as scoreUserStory, T as neutralizeText, _ as runProfileMatrixSegment, a as autoevalsScorerJudge, b as makePlaybackDispatch, c as FileSearchLedger, d as validateSearchLedgerEvent, f as scoreDiscrimination, g as finalizeProfileMatrix, h as createProfileMatrixPlan, i as verifyCodeSurface, j as discoverEvalFixtures, k as rolloutArgumentDiff, l as SEARCH_LEDGER_SCHEMA, m as SegmentedProfileMatrixError, n as gitWorktreeAdapter, o as phoenixEvaluatorJudge, p as selectDiscriminative, r as resolveWorktreePath, s as isTransientTransportFailure, t as WorktreeAdapterError, u as openSearchLedger, v as ProfileMatrixError, w as userStoryScoreboard, x as renderScoreboardMarkdown, y as runProfileMatrix } from "../campaign-BcfXzmPM.js";
5
+ import { n as acquireSingleRunLock } from "../external-optimizer-process-tDe72VRO.js";
6
+ import { a as externalTextOptimizationMethod, i as composeGate, n as gepaOptimizationMethod, o as decodeExternalTextCandidate, r as heldOutGate, s as readExternalOptimizerObservationArtifact, t as skillOptOptimizationMethod, u as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-L8vi4h4m.js";
7
+ import { A as rolloutArgumentDiff, C as scoreboardSummary, D as FsLabeledScenarioStore, E as neutralizeText, F as planEvalFixtureRun, I as analyzeCrossSurfaceInteractions, L as buildTraceAnalystSurfaceDispatch, M as discoverEvalFixtures, N as loadEvalFixture, O as LabeledScenarioStoreError, P as loadEvalFixtureScenarios, R as traceAnalystQualityJudge, S as scoreUserStory, T as createOpenAiCompatibleExecutionOwner, _ as runProfileMatrixSegment, a as autoevalsScorerJudge, b as makePlaybackDispatch, c as FileSearchLedger, d as validateSearchLedgerEvent, f as scoreDiscrimination, g as finalizeProfileMatrix, h as createProfileMatrixPlan, i as verifyCodeSurface, j as neutralizationGate, k as classifyUngroundedLiterals, l as SEARCH_LEDGER_SCHEMA, m as SegmentedProfileMatrixError, n as gitWorktreeAdapter, o as phoenixEvaluatorJudge, p as selectDiscriminative, r as resolveWorktreePath, s as isTransientTransportFailure, t as WorktreeAdapterError, u as openSearchLedger, v as ProfileMatrixError, w as userStoryScoreboard, x as renderScoreboardMarkdown, y as runProfileMatrix } from "../campaign-CR6Yt5ZS.js";
8
8
  import { n as paretoPolicy, r as paretoSignificanceGate, t as buildEvidenceVector } from "../promotion-policy-xzA40Evo.js";
9
9
  import { n as sequentialPairedGate, t as sequentialDecide } from "../sequential-C458DXNf.js";
10
- export { DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, FileSearchLedger, FsLabeledScenarioStore, LabeledScenarioStoreError, ProfileMatrixError, SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, SEARCH_LEDGER_SCHEMA, SearchHistoryRequiredError, SearchLedgerConflictError, SearchLedgerError, SearchLedgerIntegrityError, SegmentedProfileMatrixError, WorktreeAdapterError, acquireSingleRunLock, analyzeCrossSurfaceInteractions, assertCampaignDesign, assertCampaignSplitIdentity, assertCodeSurfaceIdentity, assertCompleteSearchHistory, assertComponentSurface, assertSearchHistoryMatchesReplay, autoevalsScorerJudge, buildEvidenceVector, buildLoopProvenanceRecord, buildTraceAnalystSurfaceDispatch, campaignBreakdown, campaignMeanComposite, campaignMeasurementDigest, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, cellCachePath, classifyUngroundedLiterals, codeSurfaceIdentityMaterial, combineComparisonCosts, compareOptimizationMethods, compareRankKeys, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createProfileMatrixPlan, createReferenceEquivalenceJudge, createRunCostLedger, createSearchHistoryReceipt, decodeExternalTextCandidate, defaultProductionGate, detectScale, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, inMemoryCampaignStorage, isProposedCandidate, isTransientTransportFailure, labelTrustRank, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, loopProvenanceArgsFromResult, loopProvenanceSpans, makePlaybackDispatch, makeProposalFinding, neutralizationGate, neutralizeText, openAutoPr, openSearchLedger, optimizationTokenUsageFromSummary, pairHoldout, paretoPolicy, paretoSignificanceGate, phoenixEvaluatorJudge, planCampaignRun, planEvalFixtureRun, powerPreflight, provenanceRecordPath, provenanceSpansPath, readCachedCell, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderScoreboardMarkdown, renderSurfaceDiff, resolveExternalOptimizerCallbackLimits, resolveExternalOptimizerProcessLimits, resolveRunDir, resolveWorktreePath, rolloutArgumentDiff, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, scoreDiscrimination, scoreUserStory, scoreboardSummary, searchHistoryCoverageRow, selectDiscriminative, sequentialDecide, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceHash, tangleTracesRoot, traceAnalystQualityJudge, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifyLoopProvenanceRecord, verifySearchHistoryReceipt };
10
+ export { DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, FileSearchLedger, FsLabeledScenarioStore, LabeledScenarioStoreError, ProfileMatrixError, SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM, SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION, SEARCH_LEDGER_SCHEMA, SearchHistoryRequiredError, SearchLedgerConflictError, SearchLedgerError, SearchLedgerIntegrityError, SegmentedProfileMatrixError, WorktreeAdapterError, acquireSingleRunLock, analyzeCrossSurfaceInteractions, assertCampaignDesign, assertCampaignSplitIdentity, assertCodeSurfaceIdentity, assertCompleteSearchHistory, assertComponentSurface, assertSearchHistoryMatchesReplay, autoevalsScorerJudge, buildEvidenceVector, buildLoopProvenanceRecord, buildTraceAnalystSurfaceDispatch, campaignBreakdown, campaignMeanComposite, campaignMeasurementDigest, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, cellCachePath, classifyUngroundedLiterals, codeSurfaceIdentityMaterial, combineComparisonCosts, compareOptimizationMethods, compareRankKeys, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createOpenAiCompatibleExecutionOwner, createProfileMatrixPlan, createReferenceEquivalenceJudge, createRunCostLedger, createSearchHistoryReceipt, decodeExternalTextCandidate, defaultProductionGate, detectScale, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, inMemoryCampaignStorage, isProposedCandidate, isTransientTransportFailure, labelTrustRank, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, loopProvenanceArgsFromResult, loopProvenanceSpans, makePlaybackDispatch, makeProposalFinding, neutralizationGate, neutralizeText, openAutoPr, openSearchLedger, optimizationTokenUsageFromSummary, pairHoldout, paretoPolicy, paretoSignificanceGate, phoenixEvaluatorJudge, planCampaignRun, planEvalFixtureRun, powerPreflight, provenanceRecordPath, provenanceSpansPath, readCachedCell, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderScoreboardMarkdown, renderSurfaceDiff, resolveExternalOptimizerCallbackLimits, resolveExternalOptimizerProcessLimits, resolveRunDir, resolveWorktreePath, rolloutArgumentDiff, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, scoreDiscrimination, scoreUserStory, scoreboardSummary, searchHistoryCoverageRow, selectDiscriminative, sequentialDecide, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceHash, tangleTracesRoot, traceAnalystQualityJudge, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifyLoopProvenanceRecord, verifySearchHistoryReceipt };
@@ -1,20 +1,21 @@
1
1
  import { s as ValidationError, t as AgentEvalError } from "./errors-Dngq5h35.js";
2
- import { c as agentProfileId, d as harnessAxisOf, i as verifyCompletion, l as agentProfileModelId, s as agentProfileHash, t as extractProducedState } from "./produced-state-C0oJ4vr-.js";
2
+ import { c as agentProfileId, d as harnessAxisOf, i as verifyCompletion, l as agentProfileModelId, s as agentProfileHash, t as extractProducedState } from "./produced-state-WJs_enbZ.js";
3
3
  import { buildAgentProfileCell } from "./profile-cell.js";
4
4
  import { t as comparePairedArms } from "./paired-arms-D-XRF_fy.js";
5
5
  import { r as pairedBootstrap } from "./paired-tests-BHIhYVdu.js";
6
6
  import { c as validateRunRecord, i as modelHasSnapshot, n as UNKNOWN_MODEL, s as runTaskScore } from "./run-record-D2lDdSAz.js";
7
7
  import { n as contentHash, t as canonicalJson } from "./verdict-cache-mZf5FEiY.js";
8
- import { at as assertRealBackend, et as runCampaign, h as labelTrustRank, k as surfaceContentHash, lt as campaignScenarioIdentity, mt as computeManifestHash, nt as resolveRunDir, ot as summarizeBackendIntegrity, pt as cellCachePath, st as assertCampaignDesign, tt as planCampaignRun, w as assertCodeSurfaceIdentity } from "./llm-judge-DWq1Ptco.js";
8
+ import { at as assertRealBackend, et as runCampaign, h as labelTrustRank, k as surfaceContentHash, lt as campaignScenarioIdentity, mt as computeManifestHash, nt as resolveRunDir, ot as summarizeBackendIntegrity, pt as cellCachePath, st as assertCampaignDesign, tt as planCampaignRun, w as assertCodeSurfaceIdentity } from "./llm-judge-D7UuMI2t.js";
9
9
  import { a as campaignCellCostProvenance, l as campaignCellToRunRecord, u as projectCampaignCellQuality } from "./reward-hacking-DFo2FU5J.js";
10
10
  import { t as CostAccountingIncompleteError } from "./cost-ledger-B1qx30B4.js";
11
11
  import { t as FileLedgerJournal, u as mapConcurrent } from "./ledger-core-DTae9rv_.js";
12
12
  import { r as canonicalString } from "./canonical-D-XsTQ6_.js";
13
- import { C as SEARCH_LEDGER_FILE_CONTEXT, E as SearchLedgerIntegrityError, T as SearchLedgerError, w as SearchLedgerConflictError, x as fsCampaignStorage } from "./external-optimizer-subprocess-DU1KM8yV.js";
13
+ import { C as SEARCH_LEDGER_FILE_CONTEXT, E as SearchLedgerIntegrityError, T as SearchLedgerError, w as SearchLedgerConflictError, x as fsCampaignStorage } from "./external-optimizer-subprocess-BepyNwtj.js";
14
14
  import { o as pairHoldout } from "./power-preflight-DEw-uC7q.js";
15
+ import { l as costReceiptFromLlm, s as callLlm, u as costReceiptFromLlmError } from "./llm-client-CxyJ8Oft.js";
15
16
  import { a as scoreAnalystFindings } from "./benchmark-BhT16ep9.js";
16
- import "./external-optimizer-process-C4AyCcQd.js";
17
- import "./skillopt-optimization-method-Donmq4sq.js";
17
+ import "./external-optimizer-process-tDe72VRO.js";
18
+ import "./skillopt-optimization-method-L8vi4h4m.js";
18
19
  import { createHash } from "node:crypto";
19
20
  import { closeSync, constants, existsSync, fstatSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, readlinkSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
20
21
  import { z } from "zod";
@@ -1333,6 +1334,78 @@ function neutralizeText(content) {
1333
1334
  return content.replace(/\S/g, FILLER);
1334
1335
  }
1335
1336
  //#endregion
1337
+ //#region src/campaign/openai-compatible-execution-owner.ts
1338
+ /**
1339
+ * Execution owner for the metered optimizer-model path, backed by any
1340
+ * OpenAI-compatible `/chat/completions` endpoint.
1341
+ *
1342
+ * The loopback proxy owns admission, budgets, identity checks, and
1343
+ * cost-ledger recording. This owner only executes the exact admitted
1344
+ * request and resolves with a typed outcome: a canonical response plus a
1345
+ * JSON-clean receipt on success, or a public error plus an honest receipt
1346
+ * on failure. It never rejects, because a rejection loses the execution
1347
+ * record and fails the optimizer attempt.
1348
+ */
1349
+ function createOpenAiCompatibleExecutionOwner(options) {
1350
+ for (const field of [
1351
+ "baseUrl",
1352
+ "apiKey",
1353
+ "model"
1354
+ ]) {
1355
+ const value = options[field];
1356
+ if (typeof value !== "string" || !value.trim() || value.trim() !== value) throw new Error(`createOpenAiCompatibleExecutionOwner: ${field} must be a trimmed, non-empty string`);
1357
+ }
1358
+ const { baseUrl, apiKey, model, pricing, timeoutMs, maximumAttempts, fetch: fetchImpl } = options;
1359
+ return async ({ callId, request, signal }) => {
1360
+ const transportRequest = structuredClone(request);
1361
+ try {
1362
+ const response = await callLlm(transportRequest, {
1363
+ baseUrl,
1364
+ apiKey,
1365
+ signal,
1366
+ idempotencyKey: callId,
1367
+ maximumAttempts: maximumAttempts ?? 2,
1368
+ ...timeoutMs === void 0 ? {} : { defaultTimeoutMs: timeoutMs },
1369
+ ...pricing ? { customTokenPricing: pricing } : {},
1370
+ ...fetchImpl ? { fetch: fetchImpl } : {}
1371
+ });
1372
+ return {
1373
+ succeeded: true,
1374
+ response,
1375
+ receipt: costReceiptFromLlm(response, pricing),
1376
+ execution: {
1377
+ owner: "openai-compatible",
1378
+ endpoint: baseUrl,
1379
+ model: response.model,
1380
+ callId,
1381
+ durationMs: response.durationMs
1382
+ }
1383
+ };
1384
+ } catch (error) {
1385
+ const cause = error instanceof Error ? error : new Error(String(error));
1386
+ const receipt = costReceiptFromLlmError(cause, pricing) ?? {
1387
+ model,
1388
+ inputTokens: 0,
1389
+ outputTokens: 0,
1390
+ costUnknown: true,
1391
+ usageUnknown: true
1392
+ };
1393
+ return {
1394
+ succeeded: false,
1395
+ error: cause.message,
1396
+ receipt,
1397
+ execution: {
1398
+ owner: "openai-compatible",
1399
+ endpoint: baseUrl,
1400
+ model,
1401
+ callId,
1402
+ failed: true
1403
+ }
1404
+ };
1405
+ }
1406
+ };
1407
+ }
1408
+ //#endregion
1336
1409
  //#region src/campaign/presets/playback.ts
1337
1410
  /**
1338
1411
  * Adapt a `PlaybackDriver` into a `runProfileMatrix` dispatch. The artifact the
@@ -3683,6 +3756,6 @@ function resolveWorktreePath(surface, worktreeDir) {
3683
3756
  return verifyCodeSurface(surface, worktreeDir).path;
3684
3757
  }
3685
3758
  //#endregion
3686
- export { neutralizationGate as A, scoreboardSummary as C, LabeledScenarioStoreError as D, FsLabeledScenarioStore as E, analyzeCrossSurfaceInteractions as F, buildTraceAnalystSurfaceDispatch as I, traceAnalystQualityJudge as L, loadEvalFixture as M, loadEvalFixtureScenarios as N, classifyUngroundedLiterals as O, planEvalFixtureRun as P, scoreUserStory as S, neutralizeText as T, runProfileMatrixSegment as _, autoevalsScorerJudge as a, makePlaybackDispatch as b, FileSearchLedger as c, validateSearchLedgerEvent as d, scoreDiscrimination as f, finalizeProfileMatrix as g, createProfileMatrixPlan as h, verifyCodeSurface as i, discoverEvalFixtures as j, rolloutArgumentDiff as k, SEARCH_LEDGER_SCHEMA as l, SegmentedProfileMatrixError as m, gitWorktreeAdapter as n, phoenixEvaluatorJudge as o, selectDiscriminative as p, resolveWorktreePath as r, isTransientTransportFailure as s, WorktreeAdapterError as t, openSearchLedger as u, ProfileMatrixError as v, userStoryScoreboard as w, renderScoreboardMarkdown as x, runProfileMatrix as y };
3759
+ export { rolloutArgumentDiff as A, scoreboardSummary as C, FsLabeledScenarioStore as D, neutralizeText as E, planEvalFixtureRun as F, analyzeCrossSurfaceInteractions as I, buildTraceAnalystSurfaceDispatch as L, discoverEvalFixtures as M, loadEvalFixture as N, LabeledScenarioStoreError as O, loadEvalFixtureScenarios as P, traceAnalystQualityJudge as R, scoreUserStory as S, createOpenAiCompatibleExecutionOwner as T, runProfileMatrixSegment as _, autoevalsScorerJudge as a, makePlaybackDispatch as b, FileSearchLedger as c, validateSearchLedgerEvent as d, scoreDiscrimination as f, finalizeProfileMatrix as g, createProfileMatrixPlan as h, verifyCodeSurface as i, neutralizationGate as j, classifyUngroundedLiterals as k, SEARCH_LEDGER_SCHEMA as l, SegmentedProfileMatrixError as m, gitWorktreeAdapter as n, phoenixEvaluatorJudge as o, selectDiscriminative as p, resolveWorktreePath as r, isTransientTransportFailure as s, WorktreeAdapterError as t, openSearchLedger as u, ProfileMatrixError as v, userStoryScoreboard as w, renderScoreboardMarkdown as x, runProfileMatrix as y };
3687
3760
 
3688
- //# sourceMappingURL=campaign-BcfXzmPM.js.map
3761
+ //# sourceMappingURL=campaign-CR6Yt5ZS.js.map