@tangle-network/agent-eval 2.0.13 → 2.0.14
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.
- package/CHANGELOG.md +4 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-8S2LfCvs.d.ts → agent-profile-Iiiqim4k.d.ts} +4 -4
- package/dist/{agent-profile-8S2LfCvs.d.ts.map → agent-profile-Iiiqim4k.d.ts.map} +1 -1
- package/dist/analyst/index.d.ts +77 -11
- package/dist/analyst/index.d.ts.map +1 -1
- package/dist/analyst/index.js +2 -2
- package/dist/{analyze-runs-Izz_ZeWg.d.ts → analyze-runs-ByEuSMUT.d.ts} +2 -2
- package/dist/{analyze-runs-Izz_ZeWg.d.ts.map → analyze-runs-ByEuSMUT.d.ts.map} +1 -1
- package/dist/app-grade/index.d.ts +3 -3
- package/dist/{benchmark-command-C7ObyGm9.js → benchmark-command-BizGxhuU.js} +252 -2
- package/dist/benchmark-command-BizGxhuU.js.map +1 -0
- package/dist/benchmarks/index.d.ts +4 -4
- package/dist/campaign/index.d.ts +6 -6
- package/dist/{campaign-evidence-DcTgo4ze.d.ts → campaign-evidence-p9QJoA1P.d.ts} +3 -3
- package/dist/{campaign-evidence-DcTgo4ze.d.ts.map → campaign-evidence-p9QJoA1P.d.ts.map} +1 -1
- package/dist/cli.js +1 -251
- package/dist/cli.js.map +1 -1
- package/dist/contract/index.d.ts +10 -10
- package/dist/{default-registry-CVklg2e-.d.ts → default-registry-DpTVhIO5.d.ts} +6 -6
- package/dist/{default-registry-CVklg2e-.d.ts.map → default-registry-DpTVhIO5.d.ts.map} +1 -1
- package/dist/{define-agent-eval-DZ7wWMHC.d.ts → define-agent-eval-D__7N3BM.d.ts} +4 -4
- package/dist/{define-agent-eval-DZ7wWMHC.d.ts.map → define-agent-eval-D__7N3BM.d.ts.map} +1 -1
- package/dist/diagnosis/index.d.ts +2 -2
- package/dist/{evaluation-D50Dzyce.d.ts → evaluation-DVNNvOz5.d.ts} +4 -4
- package/dist/{evaluation-D50Dzyce.d.ts.map → evaluation-DVNNvOz5.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/{exact-types-BIHqYBYf.d.ts → exact-types-QwxMWchv.d.ts} +2 -2
- package/dist/{exact-types-BIHqYBYf.d.ts.map → exact-types-QwxMWchv.d.ts.map} +1 -1
- package/dist/experiment/index.d.ts +1 -1
- package/dist/{feedback-trajectory-CoQPmSJV.d.ts → feedback-trajectory-BkWAgoY0.d.ts} +3 -3
- package/dist/{feedback-trajectory-CoQPmSJV.d.ts.map → feedback-trajectory-BkWAgoY0.d.ts.map} +1 -1
- package/dist/{index-CYrvUGQl.d.ts → index-B5FH3fgu.d.ts} +18 -18
- package/dist/{index-CYrvUGQl.d.ts.map → index-B5FH3fgu.d.ts.map} +1 -1
- package/dist/{index-Bam453Y5.d.ts → index-DXEhnNrn.d.ts} +9 -9
- package/dist/{index-Bam453Y5.d.ts.map → index-DXEhnNrn.d.ts.map} +1 -1
- package/dist/{index-D1ghgNRI.d.ts → index-DkL184ja.d.ts} +5 -5
- package/dist/{index-D1ghgNRI.d.ts.map → index-DkL184ja.d.ts.map} +1 -1
- package/dist/{index-CxciVDt0.d.ts → index-h7nEEV3T.d.ts} +2 -2
- package/dist/{index-CxciVDt0.d.ts.map → index-h7nEEV3T.d.ts.map} +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/{matrix-CAeyP9m-.d.ts → matrix-kxgHmj2-.d.ts} +2 -2
- package/dist/{matrix-CAeyP9m-.d.ts.map → matrix-kxgHmj2-.d.ts.map} +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +7 -7
- package/dist/openapi.json +1 -1
- package/dist/{prime-protocol-BRMk6dGI.d.ts → prime-protocol-46WvqIIt.d.ts} +2 -2
- package/dist/{prime-protocol-BRMk6dGI.d.ts.map → prime-protocol-46WvqIIt.d.ts.map} +1 -1
- package/dist/{registry-BeInzotS.d.ts → registry-Bh1M9hrf.d.ts} +3 -3
- package/dist/{registry-BeInzotS.d.ts.map → registry-Bh1M9hrf.d.ts.map} +1 -1
- package/dist/rl.d.ts +3 -3
- package/dist/rollout/index.d.ts +2 -2
- package/dist/{run-improvement-loop-C9z817z_.d.ts → run-improvement-loop-FsLfRyJm.d.ts} +6 -6
- package/dist/{run-improvement-loop-C9z817z_.d.ts.map → run-improvement-loop-FsLfRyJm.d.ts.map} +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/{search-kernel-CZmj8gJW.d.ts → search-kernel-BSYkfEg5.d.ts} +2 -2
- package/dist/{search-kernel-CZmj8gJW.d.ts.map → search-kernel-BSYkfEg5.d.ts.map} +1 -1
- package/dist/{self-improve-Eo-EAWL8.d.ts → self-improve-Bf3b6rS9.d.ts} +6 -6
- package/dist/{self-improve-Eo-EAWL8.d.ts.map → self-improve-Bf3b6rS9.d.ts.map} +1 -1
- package/dist/{store-tool-spans-BD5Z304_.d.ts → store-tool-spans-_hFLpBfi.d.ts} +3 -3
- package/dist/{store-tool-spans-BD5Z304_.d.ts.map → store-tool-spans-_hFLpBfi.d.ts.map} +1 -1
- package/dist/{systemone-D7FQ7n00.d.ts → systemone-CE0Rj-BQ.d.ts} +6 -6
- package/dist/{systemone-D7FQ7n00.d.ts.map → systemone-CE0Rj-BQ.d.ts.map} +1 -1
- package/dist/{systemone-review-DpAXWDkL.d.ts → systemone-review-CRJ-Zdfo.d.ts} +3 -3
- package/dist/{systemone-review-DpAXWDkL.d.ts.map → systemone-review-CRJ-Zdfo.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/{tool-groups-SlnoQNyT.d.ts → tool-groups-BHX9G_oE.d.ts} +2 -2
- package/dist/tool-groups-BHX9G_oE.d.ts.map +1 -0
- package/dist/{trace-questions-ybyF0B6N.d.ts → trace-questions-DfaIVysB.d.ts} +2 -2
- package/dist/{trace-questions-ybyF0B6N.d.ts.map → trace-questions-DfaIVysB.d.ts.map} +1 -1
- package/dist/trace-repair/index.d.ts +1 -1
- package/dist/traces.d.ts +2 -2
- package/dist/{types-BtWzceBY.d.ts → types-BBht9lpj.d.ts} +2 -2
- package/dist/{types-BtWzceBY.d.ts.map → types-BBht9lpj.d.ts.map} +1 -1
- package/dist/{types-XxFZ2IAT.d.ts → types-CEiYR2xs.d.ts} +2 -2
- package/dist/{types-XxFZ2IAT.d.ts.map → types-CEiYR2xs.d.ts.map} +1 -1
- package/dist/{types-B1W3v8dT.d.ts → types-CjrzKsOK.d.ts} +8 -8
- package/dist/{types-B1W3v8dT.d.ts.map → types-CjrzKsOK.d.ts.map} +1 -1
- package/dist/wire/index.d.ts +1 -1
- package/docs/skill-eval.md +2 -0
- package/package.json +1 -1
- package/dist/benchmark-command-C7ObyGm9.js.map +0 -1
- package/dist/tool-groups-SlnoQNyT.d.ts.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as RunSplitTag } from "../run-record-kuOr3BCF.js";
|
|
2
2
|
import { _ as StrategyChecker } from "../verdict-D_qiBQ6_.js";
|
|
3
|
-
import "../run-improvement-loop-
|
|
4
|
-
import { S as JudgeConfig, a as CampaignResult } from "../types-
|
|
5
|
-
import { _t as CampaignStorage } from "../search-kernel-
|
|
6
|
-
import { _ as defineBenchmarkResult, a as BenchmarkFamily, b as defineBenchmark, c as BenchmarkRuntimeHooks, d as BenchmarkTaskKind, f as deterministicSplit, g as benchmarkResultEvidenceDigest, h as benchmarkResult, i as BenchmarkEvaluation, l as BenchmarkScenario, m as BenchmarkResult, n as BenchmarkAdapter, o as BenchmarkLoadOptions, p as selectBenchmarkItems, r as BenchmarkDatasetItem, s as BenchmarkResponder, t as BENCHMARK_SPLIT_SEED, u as BenchmarkSource, v as BenchmarkDefinition, y as benchmarkDefinitionDigest } from "../types-
|
|
3
|
+
import "../run-improvement-loop-FsLfRyJm.js";
|
|
4
|
+
import { S as JudgeConfig, a as CampaignResult } from "../types-BBht9lpj.js";
|
|
5
|
+
import { _t as CampaignStorage } from "../search-kernel-BSYkfEg5.js";
|
|
6
|
+
import { _ as defineBenchmarkResult, a as BenchmarkFamily, b as defineBenchmark, c as BenchmarkRuntimeHooks, d as BenchmarkTaskKind, f as deterministicSplit, g as benchmarkResultEvidenceDigest, h as benchmarkResult, i as BenchmarkEvaluation, l as BenchmarkScenario, m as BenchmarkResult, n as BenchmarkAdapter, o as BenchmarkLoadOptions, p as selectBenchmarkItems, r as BenchmarkDatasetItem, s as BenchmarkResponder, t as BENCHMARK_SPLIT_SEED, u as BenchmarkSource, v as BenchmarkDefinition, y as benchmarkDefinitionDigest } from "../types-CEiYR2xs.js";
|
|
7
7
|
interface BenchmarkMetricCalibrationOptions<TPayload = unknown, TArtifact = string> {
|
|
8
8
|
adapter: BenchmarkAdapter<BenchmarkDatasetItem<TPayload>, TPayload, TArtifact>;
|
|
9
9
|
item: BenchmarkDatasetItem<TPayload>;
|
package/dist/campaign/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as CostLedgerHandle, r as CostBreakdown, v as PendingCostCallView } from "../cost-ledger-CSP-OfFe.js";
|
|
2
|
-
import { S as makeProposalFinding, v as ProposalFinding, y as ProposalFindingOrigin } from "../types-
|
|
2
|
+
import { S as makeProposalFinding, v as ProposalFinding, y as ProposalFindingOrigin } from "../types-CjrzKsOK.js";
|
|
3
3
|
import { gt as SeriesDistribution } from "../index-Bk1XEkP7.js";
|
|
4
4
|
import { $ as SearchTokenAccounting, A as SearchLedgerHash, B as SearchOperationStartedEvent, C as SearchEdgeOperator, D as SearchFailureReason, E as SearchExecutionIdentity, F as SearchNodeRegisteredEvent, G as SearchSplit, H as SearchProposerKind, I as SearchNodeStatus, J as SearchSurfaceEffect, K as SearchSplitTasks, L as SearchOpenedEvent, M as SearchNodeDecidedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, S as SearchEdgeAttribution, T as SearchEstimateMethod, U as SearchReservation, V as SearchProposer, W as SearchSourceRef, X as SearchSurfaceKind, Y as SearchSurfaceEvidence, Z as SearchTask, _ as SearchClaimPower, a as SearchAttemptAccounting, b as SearchClosedEvent, c as SearchCancelReason, d as SearchCellCancelledEvent, et as SearchTraceRef, f as SearchCellSettledEvent, g as SearchClaimFinalist, h as SearchClaimEstimator, i as SearchArtifactRef, j as SearchModelIdentity, k as SearchLedgerEvent, l as SearchCandidateSurface, m as SearchClaim, n as SEARCH_LEDGER_SCHEMA, o as SearchAudit, p as SearchCellStage, q as SearchSplits, r as SearchArtifactKind, s as SearchBudget, t as NodeEstimate, tt as SearchUnknown, u as SearchCellAllocatedEvent, v as SearchClaimTest, w as SearchEdgeRecordedEvent, x as SearchCostAccounting, y as SearchCloseReason, z as SearchOperationRecordedEvent } from "../search-ledger-types-D4FsvPP9.js";
|
|
5
|
-
import { $ as LoopProvenanceEvidence, $i as CampaignCellRetryPolicy, $r as ExternalOptimizerObservationSummary, $t as ScoreboardRenderOptions, A as SkillOptRunnerCommand, Ai as CrossSurfacePairwiseEntry, An as externalSurface, Ar as OptimizationMethod, At as ProfileMatrixRow, B as RetainedDispatchOptions, Bn as OpenAICompatibleOptimizerModel, Br as DescribeArtifact, Bt as ScenarioRollup, C as codeSurfaceIdentityMaterial, Ca as SearchLedgerIntegrityError, Ci as CrossSurfaceInteractionPath, Cn as RolloutArgumentDiffOptions, Cr as externalTextOptimizationMethod, Ct as RaceProfileMatrixOptions, D as surfaceDispatchRef, Di as CrossSurfacePairCompatibility, Dn as ExternalSearchOptimizer, Dr as ExternalOptimizationExample, Dt as FinalizedProfileMatrixResult, E as surfaceContentHash, Ei as CrossSurfaceNaiveStackSelection, En as UngroundedLiteralReport, Er as ExternalTextOptimizerResult, Et as FinalizeProfileMatrixOptions, F as acquireSingleRunLock, Fi as CrossSurfaceTaskRow, Fn as GepaEngineRun, Fr as OptimizationMethodRunOptions, Ft as runProfileMatrixSegment, G as ScenarioRepeatReliability, Gi as LlmJudgeOptions, Gn as heldOutGate, Gr as costFromLedgerSummary, H as createRetainedDispatch, Hn as NeutralizationGateOptions, Hr as campaignMeanComposite, I as DiscriminationScore, Ii as measureCampaignCost, In as GepaOptimizationMethodConfig, Ir as OptimizationPackageSource, It as ProfileDispatchFn, J as EmitLoopProvenanceArgs, Ji as OpenAutoPrResult, Jn as DefaultProductionRewardHackingOptions, Jr as GepaCandidatePopulationSummary, Jt as ProfileMatrixRunStability, K as repeatReliability, Ki as llmJudge, Kn as DefaultProductionGateCheck, Kr as GepaCandidatePopulationArtifact, Kt as ProfileMatrixFamily, L as ScenarioSignal, Li as BuildTraceAnalystSurfaceDispatchOptions, Ln as GepaOptimizationRecipe, Lr as ArtifactEvidenceOptions, Lt as ProfileSummary, M as skillOptOptimizationMethod, Mi as CrossSurfaceRelativeCost, Mn as importGepaPopulation, Mr as OptimizationMethodInput, Mt as RunProfileMatrixSegmentOptions, N as SingleRunLock, Ni as CrossSurfaceSelectionPolicy, Nn as GepaAdaptiveEngineRun, Nr as OptimizationMethodProvenance, Nt as createProfileMatrixPlan, O as surfaceHash, Oi as CrossSurfacePairEvidence, On as GepaEvaluationImport, Or as ExternalTextEvaluationResponse, Ot as ProfileMatrixCoverage, P as SingleRunLockOptions, Pi as CrossSurfaceSelections, Pn as GepaEngineOptions, Pr as OptimizationMethodResult, Pt as finalizeProfileMatrix, Q as LoopProvenanceCandidate, Qi as CampaignCellFailureReceipt, Qr as ExternalOptimizerObservationArtifact, Qt as PlaybackStep, R as scoreDiscrimination, Ri as TraceAnalystArtifact, Rn as GepaRunnerCommand, Rr as CampaignBreakdown, Rt as RunProfileMatrixOptions, S as assertCodeSurfaceIdentity, Sa as SearchLedgerError, Si as CrossSurfaceInteractionEffect, Sn as RolloutArgumentDiff, Sr as planEvalFixtureRun, St as ProfileMatrixRaceStanding, T as renderSurfaceDiff, Ti as CrossSurfaceInteractionTask, Tn as ScoredRollout, Tr as ExternalTextOptimizerContext, Tt as CreateProfileMatrixPlanOptions, U as RepeatReliability, Ui as ReferenceEquivalenceScenario, Un as neutralizationGate, Ur as ComparisonCost, V as RetainedDispatchOutcome, Vi as ReferenceEquivalenceJudgeOptions, Vn as OptimizerModelBudget, Vr as campaignBreakdown, Vt as runProfileMatrix, W as RepeatReliabilityOptions, Wi as LlmJudgeDimension, Wn as HeldOutGateOptions, Wr as OptimizationTokenUsage, X as LoopProvenanceArgsFromResult, Xi as RunEvalOptions, Xr as readGepaCandidatePopulationArtifact, Xt as PlaybackContext, Y as EmitLoopProvenanceResult, Yn as defaultProductionGate, Yr as GepaCandidateSelectionScore, Yt as ProfileMatrixVerdict, Z as LoopProvenanceBackend, Zi as runEval, Zr as ExternalOptimizerExecutionSummary, Zt as PlaybackDriver, _ as PhoenixEvaluationResultLike, _a as assertCampaignDesign, _i as CrossSurfaceDistribution, _n as compareOptimizationMethods, _r as LoadEvalFixtureScenariosOptions, _t as ProfileMatrixSliceCell, a as RunOptimizationOptions, aa as planCampaignRun, ai as CrossSurfaceAdditionRejectionReason, an as scoreUserStory, at as ProfileMatrixAnalysis, b as isTransientTransportFailure, ba as campaignSplitDigest, bi as CrossSurfaceIneligibilityReason, bn as neutralizeText, br as loadEvalFixture, bt as ProfileMatrixRaceFinalRow, c as CodeSurfaceVerification, ca as CellScheduleSlot, ci as CrossSurfaceBootstrapPolicy, ct as ProfileMatrixCaseDifficulty, d as WorktreeAdapter, da as FinalEvidencePolicy, di as CrossSurfaceCandidateEvidence, dr as EvalFixture, dt as ProfileMatrixFactorEffect, ea as RunCampaignOptions, ei as ExternalOptimizerSubmittedCandidate, en as ScoreboardRow, et as LoopProvenanceOptimizationMethod, f as gitWorktreeAdapter, fa as FinalEvidenceUse, fi as CrossSurfaceCandidateOutcome, fr as EvalFixtureFile, ft as ProfileMatrixInterval, g as AutoevalsScorerLike, ga as CampaignCoverage, gi as CrossSurfaceCompositionStep, gn as OptimizationMethodScore, gr as EvalFixtureValidationMode, gt as ProfileMatrixReportOptions, h as AutoevalsScoreLike, ha as withFinalEvidenceSources, hi as CrossSurfaceComponentEvidence, hn as OptimizationMethodPairwise, hr as EvalFixtureScenario, ht as ProfileMatrixProfileStats, i as PremeasuredOptimizationBaseline, ia as PlanCampaignRunOptions, ii as CrossSurfaceAdditionDecision, in as renderScoreboardMarkdown, it as renderProfileMatrixReport, j as SkillOptTrainerConfig, ji as CrossSurfaceRankedSingle, jn as importExternalEvaluations, jr as OptimizationMethodComposition, jt as ProfileMatrixSegmentResult, k as SkillOptOptimizationMethodConfig, ki as CrossSurfacePairIncompatibilityReason, kn as GepaPopulationImport, kr as decodeExternalTextCandidate, kt as ProfileMatrixPlan, l as GitWorktreeAdapterOptions, la as buildCellSchedule, li as CrossSurfaceCandidate, lt as ProfileMatrixCostAxis, m as verifyCodeSurface, ma as prepareSearchFinalEvidence, mi as CrossSurfaceComponent, mn as OptimizationMethodComparison, mr as EvalFixtureRunPlan, mt as ProfileMatrixPower, n as RunImprovementLoopResult, na as CampaignRunPlan, ni as analyzeCrossSurfaceInteractions, nn as UserStory, nt as canonicalDigest, o as RunOptimizationResult, oa as CacheIssueReason, oi as CrossSurfaceAttemptCompleteness, on as scoreboardSummary, ot as ProfileMatrixAxisSummary, p as resolveWorktreePath, pa as captureFinalEvidencePolicy, pi as CrossSurfaceCandidateSummary, pn as CompareOptimizationMethodsOptions, pr as EvalFixtureLoadOptions, pt as ProfileMatrixPairedDifference, q as BuildLoopProvenanceArgs, qi as OpenAutoPrOptions, qn as DefaultProductionGateOptions, qr as GepaCandidatePopulationCandidate, qt as ProfileMatrixPairwiseShare, r as runImprovementLoop, ra as CampaignRunPlanCell, ri as AnalyzeCrossSurfaceInteractionsInput, rn as UserStoryVerdict, rt as emitLoopProvenance, s as runOptimization, sa as CacheRead, si as CrossSurfaceBestSingleSelection, sn as userStoryScoreboard, st as ProfileMatrixCalibration, t as RunImprovementLoopOptions, ta as runCampaign, ti as readExternalOptimizerObservationArtifact, tn as ScoreboardSummary, tt as LoopProvenanceRecord, u as Worktree, ua as cellCachePath, ui as CrossSurfaceCandidateComparison, ur as composeGate, ut as ProfileMatrixErrorOverlap, v as PhoenixEvaluatorLike, va as campaignCoverage, vi as CrossSurfaceEligibility, vn as scopedOptimizationMethod, vr as PlanEvalFixtureRunOptions, vt as analyzeProfileMatrix, w as componentSurfaceIdentityMaterial, wi as CrossSurfaceInteractionReport, wn as RolloutCall, wr as ExternalTextOptimizationMethodConfig, wt as raceProfileMatrix, x as transientDispatchFailure, xa as campaignSplitDigestFromIdentities, xi as CrossSurfaceInteractionAwareSelection, xn as FsLabeledScenarioStoreOptions, xr as loadEvalFixtureScenarios, xt as ProfileMatrixRaceResult, y as TransientFailureOptions, ya as campaignScenarioIdentity, yi as CrossSurfaceEvidenceBreakdown, yn as sequentialOptimizationMethod, yr as discoverEvalFixtures, yt as ProfileMatrixRaceBatch, z as resolveRunDir, zi as TraceAnalystScenario, zn as gepaOptimizationMethod, zt as RunProfileMatrixResult } from "../run-improvement-loop-
|
|
6
|
-
import { A as LabeledScenarioWrite, B as ScoredSurfaceOutcome, C as JudgeDimension, D as LabeledScenarioSampleArgs, E as LabeledScenarioRecord, F as ProposeContext, G as SearchProposerView, H as SurfaceProposer, I as ProposedCandidate, J as searchProposerView, K as SearchSummaryOptions, 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, X as SearchStateView, Y as SearchState, Z as searchUnitScores, _ as GateDecision, a as CampaignResult, at as SearchCompletion, b as GenerationRecord, c as CampaignTraceWriter, ct as SearchOperation, d as DispatchContext, dt as SearchUnitScore, f as DispatchFn, ft as searchCellId, g as GateContribution, h as GateContext, i as CampaignCostMeter, it as SearchCell, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, lt as SearchScoredCell, m as GateCheckStatus, mt as searchTaskSetDigest, n as CampaignArtifactWriter, o as CampaignScenarioIdentity, ot as SearchDecisionRecord, p as Gate, pt as searchNodeId, q as renderSearchSummary, r as CampaignCellResult, s as CampaignTokenUsage, st as SearchNode, t as CampaignAggregates, u as ComponentSurface, ut as SearchSpend, v as GateResult, w as JudgeScore, x as JudgeAggregate, y as GenerationCandidate, z as ScenarioAggregate } from "../types-
|
|
7
|
-
import { A as SequentialPairedGateOptions, C as heldoutSignificance, D as SequentialGateDecision, E as SequentialDecideOptions, G as EvidenceVector, H as AxisEvidence, J as PromotionObjective, K as ObjectiveSource, M as sequentialDecide, N as sequentialPairedGate, O as SequentialObservation, Q as paretoSignificanceGate, S as dimensionRegressions, T as SequentialDecideFn, U as AxisVerdict, W as BuildEvidenceVectorOptions, X as buildEvidenceVector, Y as PromotionPolicy, Z as paretoPolicy, at as powerPreflight, b as HeldoutSignificanceOptions, it as PowerPreflightOptions, j as SequentialStreamState, k as SequentialPairedGate, q as ParetoSignificanceGateOptions, rt as PowerPreflight, v as DimensionRegression, w as pairHoldout, x as PairedHoldout, y as HeldoutSignificance } from "../campaign-evidence-
|
|
8
|
-
import { $ as SearchRecorderOptions, A as estimateNode, At as PlanSearchClaimInput, Bt as AshaOptions, C as crowdedFrontierParent, Ct as SearchLedger, D as NodePosterior, Dt as parseSearchLedgerLine, E as EstimateNodeCellsInput, Et as openSearchLedger, Ft as decideSearchClaim, Gt as SearchUnitExtension, Ht as SearchAllocator, It as planSearchClaim, J as RecordSearchEdgeInput, Kt as asha, Lt as searchClaimDecision, M as searchCellSetDigest, Mt as SearchClaimDecision, N as searchEstimateMethod, Nt as SearchClaimPlan, O as SEARCH_ESTIMATOR, Ot as replaySearchLedgerText, P as searchPosterior, Pt as SearchClaimVerification, Q as SearchRecorder, Rt as searchClaimReserveUsd, S as beam, St as OpenSearchLedgerOptions, T as incumbentWithOperatorBandit, Tt as SearchLedgerTrustedHeadMode, Ut as SearchCellPlan, Vt as SearchAllocationView, Wt as SearchRungDecision, X as SearchLedgerBinding, Y as RegisterSearchNodeInput, Z as SearchOpening, _ as SearchExpansion, _t as CampaignStorage, a as SearchArtifactCodec, at as surfaceNode, b as SearchPolicyView, bt as inMemoryCampaignStorage, c as SearchExecutor, ct as SearchHistoryAuditSummary, d as SearchProposalRequest, dt as SearchHistoryPolicy, et as SearchRunIdentity, f as SearchProposalResult, ft as SearchHistoryReceipt, g as AideOptions, gt as verifySearchHistoryReceipt, h as SearchRunResult, ht as verifySearchHistoryArtifact, i as RunSearchOptions, it as surfaceDiff, j as estimateNodeFromCells, jt as SEARCH_CLAIM_RULE, k as SearchPosterior, kt as validateSearchLedgerEvent, l as SearchLane, lt as SearchHistoryCoverage, m as SearchProposerPort, mt as createSearchHistoryReceipt, n as searchDivergence, nt as developmentClaim, o as SearchCellResult, ot as CreateSearchHistoryReceiptInput, p as SearchProposedChild, pt as assertSearchHistoryMatchesState, q as AllocateSearchCellInput, qt as uniform, r as searchPolicyView, rt as searchEdgeId, s as SearchCellWork, st as SearchHistoryAdmissionOptions, t as runSearch, tt as SettleSearchCellInput, u as SearchProposalBlob, ut as SearchHistoryCoverageRow, v as SearchPolicy, vt as createRunCostLedger, w as incumbent, wt as SearchLedgerAppendResult, x as aide, xt as FileSearchLedger, y as SearchPolicyNode, yt as fsCampaignStorage, zt as verifySearchClaim } from "../search-kernel-
|
|
5
|
+
import { $ as LoopProvenanceEvidence, $i as CampaignCellRetryPolicy, $r as ExternalOptimizerObservationSummary, $t as ScoreboardRenderOptions, A as SkillOptRunnerCommand, Ai as CrossSurfacePairwiseEntry, An as externalSurface, Ar as OptimizationMethod, At as ProfileMatrixRow, B as RetainedDispatchOptions, Bn as OpenAICompatibleOptimizerModel, Br as DescribeArtifact, Bt as ScenarioRollup, C as codeSurfaceIdentityMaterial, Ca as SearchLedgerIntegrityError, Ci as CrossSurfaceInteractionPath, Cn as RolloutArgumentDiffOptions, Cr as externalTextOptimizationMethod, Ct as RaceProfileMatrixOptions, D as surfaceDispatchRef, Di as CrossSurfacePairCompatibility, Dn as ExternalSearchOptimizer, Dr as ExternalOptimizationExample, Dt as FinalizedProfileMatrixResult, E as surfaceContentHash, Ei as CrossSurfaceNaiveStackSelection, En as UngroundedLiteralReport, Er as ExternalTextOptimizerResult, Et as FinalizeProfileMatrixOptions, F as acquireSingleRunLock, Fi as CrossSurfaceTaskRow, Fn as GepaEngineRun, Fr as OptimizationMethodRunOptions, Ft as runProfileMatrixSegment, G as ScenarioRepeatReliability, Gi as LlmJudgeOptions, Gn as heldOutGate, Gr as costFromLedgerSummary, H as createRetainedDispatch, Hn as NeutralizationGateOptions, Hr as campaignMeanComposite, I as DiscriminationScore, Ii as measureCampaignCost, In as GepaOptimizationMethodConfig, Ir as OptimizationPackageSource, It as ProfileDispatchFn, J as EmitLoopProvenanceArgs, Ji as OpenAutoPrResult, Jn as DefaultProductionRewardHackingOptions, Jr as GepaCandidatePopulationSummary, Jt as ProfileMatrixRunStability, K as repeatReliability, Ki as llmJudge, Kn as DefaultProductionGateCheck, Kr as GepaCandidatePopulationArtifact, Kt as ProfileMatrixFamily, L as ScenarioSignal, Li as BuildTraceAnalystSurfaceDispatchOptions, Ln as GepaOptimizationRecipe, Lr as ArtifactEvidenceOptions, Lt as ProfileSummary, M as skillOptOptimizationMethod, Mi as CrossSurfaceRelativeCost, Mn as importGepaPopulation, Mr as OptimizationMethodInput, Mt as RunProfileMatrixSegmentOptions, N as SingleRunLock, Ni as CrossSurfaceSelectionPolicy, Nn as GepaAdaptiveEngineRun, Nr as OptimizationMethodProvenance, Nt as createProfileMatrixPlan, O as surfaceHash, Oi as CrossSurfacePairEvidence, On as GepaEvaluationImport, Or as ExternalTextEvaluationResponse, Ot as ProfileMatrixCoverage, P as SingleRunLockOptions, Pi as CrossSurfaceSelections, Pn as GepaEngineOptions, Pr as OptimizationMethodResult, Pt as finalizeProfileMatrix, Q as LoopProvenanceCandidate, Qi as CampaignCellFailureReceipt, Qr as ExternalOptimizerObservationArtifact, Qt as PlaybackStep, R as scoreDiscrimination, Ri as TraceAnalystArtifact, Rn as GepaRunnerCommand, Rr as CampaignBreakdown, Rt as RunProfileMatrixOptions, S as assertCodeSurfaceIdentity, Sa as SearchLedgerError, Si as CrossSurfaceInteractionEffect, Sn as RolloutArgumentDiff, Sr as planEvalFixtureRun, St as ProfileMatrixRaceStanding, T as renderSurfaceDiff, Ti as CrossSurfaceInteractionTask, Tn as ScoredRollout, Tr as ExternalTextOptimizerContext, Tt as CreateProfileMatrixPlanOptions, U as RepeatReliability, Ui as ReferenceEquivalenceScenario, Un as neutralizationGate, Ur as ComparisonCost, V as RetainedDispatchOutcome, Vi as ReferenceEquivalenceJudgeOptions, Vn as OptimizerModelBudget, Vr as campaignBreakdown, Vt as runProfileMatrix, W as RepeatReliabilityOptions, Wi as LlmJudgeDimension, Wn as HeldOutGateOptions, Wr as OptimizationTokenUsage, X as LoopProvenanceArgsFromResult, Xi as RunEvalOptions, Xr as readGepaCandidatePopulationArtifact, Xt as PlaybackContext, Y as EmitLoopProvenanceResult, Yn as defaultProductionGate, Yr as GepaCandidateSelectionScore, Yt as ProfileMatrixVerdict, Z as LoopProvenanceBackend, Zi as runEval, Zr as ExternalOptimizerExecutionSummary, Zt as PlaybackDriver, _ as PhoenixEvaluationResultLike, _a as assertCampaignDesign, _i as CrossSurfaceDistribution, _n as compareOptimizationMethods, _r as LoadEvalFixtureScenariosOptions, _t as ProfileMatrixSliceCell, a as RunOptimizationOptions, aa as planCampaignRun, ai as CrossSurfaceAdditionRejectionReason, an as scoreUserStory, at as ProfileMatrixAnalysis, b as isTransientTransportFailure, ba as campaignSplitDigest, bi as CrossSurfaceIneligibilityReason, bn as neutralizeText, br as loadEvalFixture, bt as ProfileMatrixRaceFinalRow, c as CodeSurfaceVerification, ca as CellScheduleSlot, ci as CrossSurfaceBootstrapPolicy, ct as ProfileMatrixCaseDifficulty, d as WorktreeAdapter, da as FinalEvidencePolicy, di as CrossSurfaceCandidateEvidence, dr as EvalFixture, dt as ProfileMatrixFactorEffect, ea as RunCampaignOptions, ei as ExternalOptimizerSubmittedCandidate, en as ScoreboardRow, et as LoopProvenanceOptimizationMethod, f as gitWorktreeAdapter, fa as FinalEvidenceUse, fi as CrossSurfaceCandidateOutcome, fr as EvalFixtureFile, ft as ProfileMatrixInterval, g as AutoevalsScorerLike, ga as CampaignCoverage, gi as CrossSurfaceCompositionStep, gn as OptimizationMethodScore, gr as EvalFixtureValidationMode, gt as ProfileMatrixReportOptions, h as AutoevalsScoreLike, ha as withFinalEvidenceSources, hi as CrossSurfaceComponentEvidence, hn as OptimizationMethodPairwise, hr as EvalFixtureScenario, ht as ProfileMatrixProfileStats, i as PremeasuredOptimizationBaseline, ia as PlanCampaignRunOptions, ii as CrossSurfaceAdditionDecision, in as renderScoreboardMarkdown, it as renderProfileMatrixReport, j as SkillOptTrainerConfig, ji as CrossSurfaceRankedSingle, jn as importExternalEvaluations, jr as OptimizationMethodComposition, jt as ProfileMatrixSegmentResult, k as SkillOptOptimizationMethodConfig, ki as CrossSurfacePairIncompatibilityReason, kn as GepaPopulationImport, kr as decodeExternalTextCandidate, kt as ProfileMatrixPlan, l as GitWorktreeAdapterOptions, la as buildCellSchedule, li as CrossSurfaceCandidate, lt as ProfileMatrixCostAxis, m as verifyCodeSurface, ma as prepareSearchFinalEvidence, mi as CrossSurfaceComponent, mn as OptimizationMethodComparison, mr as EvalFixtureRunPlan, mt as ProfileMatrixPower, n as RunImprovementLoopResult, na as CampaignRunPlan, ni as analyzeCrossSurfaceInteractions, nn as UserStory, nt as canonicalDigest, o as RunOptimizationResult, oa as CacheIssueReason, oi as CrossSurfaceAttemptCompleteness, on as scoreboardSummary, ot as ProfileMatrixAxisSummary, p as resolveWorktreePath, pa as captureFinalEvidencePolicy, pi as CrossSurfaceCandidateSummary, pn as CompareOptimizationMethodsOptions, pr as EvalFixtureLoadOptions, pt as ProfileMatrixPairedDifference, q as BuildLoopProvenanceArgs, qi as OpenAutoPrOptions, qn as DefaultProductionGateOptions, qr as GepaCandidatePopulationCandidate, qt as ProfileMatrixPairwiseShare, r as runImprovementLoop, ra as CampaignRunPlanCell, ri as AnalyzeCrossSurfaceInteractionsInput, rn as UserStoryVerdict, rt as emitLoopProvenance, s as runOptimization, sa as CacheRead, si as CrossSurfaceBestSingleSelection, sn as userStoryScoreboard, st as ProfileMatrixCalibration, t as RunImprovementLoopOptions, ta as runCampaign, ti as readExternalOptimizerObservationArtifact, tn as ScoreboardSummary, tt as LoopProvenanceRecord, u as Worktree, ua as cellCachePath, ui as CrossSurfaceCandidateComparison, ur as composeGate, ut as ProfileMatrixErrorOverlap, v as PhoenixEvaluatorLike, va as campaignCoverage, vi as CrossSurfaceEligibility, vn as scopedOptimizationMethod, vr as PlanEvalFixtureRunOptions, vt as analyzeProfileMatrix, w as componentSurfaceIdentityMaterial, wi as CrossSurfaceInteractionReport, wn as RolloutCall, wr as ExternalTextOptimizationMethodConfig, wt as raceProfileMatrix, x as transientDispatchFailure, xa as campaignSplitDigestFromIdentities, xi as CrossSurfaceInteractionAwareSelection, xn as FsLabeledScenarioStoreOptions, xr as loadEvalFixtureScenarios, xt as ProfileMatrixRaceResult, y as TransientFailureOptions, ya as campaignScenarioIdentity, yi as CrossSurfaceEvidenceBreakdown, yn as sequentialOptimizationMethod, yr as discoverEvalFixtures, yt as ProfileMatrixRaceBatch, z as resolveRunDir, zi as TraceAnalystScenario, zn as gepaOptimizationMethod, zt as RunProfileMatrixResult } from "../run-improvement-loop-FsLfRyJm.js";
|
|
6
|
+
import { A as LabeledScenarioWrite, B as ScoredSurfaceOutcome, C as JudgeDimension, D as LabeledScenarioSampleArgs, E as LabeledScenarioRecord, F as ProposeContext, G as SearchProposerView, H as SurfaceProposer, I as ProposedCandidate, J as searchProposerView, K as SearchSummaryOptions, 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, X as SearchStateView, Y as SearchState, Z as searchUnitScores, _ as GateDecision, a as CampaignResult, at as SearchCompletion, b as GenerationRecord, c as CampaignTraceWriter, ct as SearchOperation, d as DispatchContext, dt as SearchUnitScore, f as DispatchFn, ft as searchCellId, g as GateContribution, h as GateContext, i as CampaignCostMeter, it as SearchCell, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, lt as SearchScoredCell, m as GateCheckStatus, mt as searchTaskSetDigest, n as CampaignArtifactWriter, o as CampaignScenarioIdentity, ot as SearchDecisionRecord, p as Gate, pt as searchNodeId, q as renderSearchSummary, r as CampaignCellResult, s as CampaignTokenUsage, st as SearchNode, t as CampaignAggregates, u as ComponentSurface, ut as SearchSpend, v as GateResult, w as JudgeScore, x as JudgeAggregate, y as GenerationCandidate, z as ScenarioAggregate } from "../types-BBht9lpj.js";
|
|
7
|
+
import { A as SequentialPairedGateOptions, C as heldoutSignificance, D as SequentialGateDecision, E as SequentialDecideOptions, G as EvidenceVector, H as AxisEvidence, J as PromotionObjective, K as ObjectiveSource, M as sequentialDecide, N as sequentialPairedGate, O as SequentialObservation, Q as paretoSignificanceGate, S as dimensionRegressions, T as SequentialDecideFn, U as AxisVerdict, W as BuildEvidenceVectorOptions, X as buildEvidenceVector, Y as PromotionPolicy, Z as paretoPolicy, at as powerPreflight, b as HeldoutSignificanceOptions, it as PowerPreflightOptions, j as SequentialStreamState, k as SequentialPairedGate, q as ParetoSignificanceGateOptions, rt as PowerPreflight, v as DimensionRegression, w as pairHoldout, x as PairedHoldout, y as HeldoutSignificance } from "../campaign-evidence-p9QJoA1P.js";
|
|
8
|
+
import { $ as SearchRecorderOptions, A as estimateNode, At as PlanSearchClaimInput, Bt as AshaOptions, C as crowdedFrontierParent, Ct as SearchLedger, D as NodePosterior, Dt as parseSearchLedgerLine, E as EstimateNodeCellsInput, Et as openSearchLedger, Ft as decideSearchClaim, Gt as SearchUnitExtension, Ht as SearchAllocator, It as planSearchClaim, J as RecordSearchEdgeInput, Kt as asha, Lt as searchClaimDecision, M as searchCellSetDigest, Mt as SearchClaimDecision, N as searchEstimateMethod, Nt as SearchClaimPlan, O as SEARCH_ESTIMATOR, Ot as replaySearchLedgerText, P as searchPosterior, Pt as SearchClaimVerification, Q as SearchRecorder, Rt as searchClaimReserveUsd, S as beam, St as OpenSearchLedgerOptions, T as incumbentWithOperatorBandit, Tt as SearchLedgerTrustedHeadMode, Ut as SearchCellPlan, Vt as SearchAllocationView, Wt as SearchRungDecision, X as SearchLedgerBinding, Y as RegisterSearchNodeInput, Z as SearchOpening, _ as SearchExpansion, _t as CampaignStorage, a as SearchArtifactCodec, at as surfaceNode, b as SearchPolicyView, bt as inMemoryCampaignStorage, c as SearchExecutor, ct as SearchHistoryAuditSummary, d as SearchProposalRequest, dt as SearchHistoryPolicy, et as SearchRunIdentity, f as SearchProposalResult, ft as SearchHistoryReceipt, g as AideOptions, gt as verifySearchHistoryReceipt, h as SearchRunResult, ht as verifySearchHistoryArtifact, i as RunSearchOptions, it as surfaceDiff, j as estimateNodeFromCells, jt as SEARCH_CLAIM_RULE, k as SearchPosterior, kt as validateSearchLedgerEvent, l as SearchLane, lt as SearchHistoryCoverage, m as SearchProposerPort, mt as createSearchHistoryReceipt, n as searchDivergence, nt as developmentClaim, o as SearchCellResult, ot as CreateSearchHistoryReceiptInput, p as SearchProposedChild, pt as assertSearchHistoryMatchesState, q as AllocateSearchCellInput, qt as uniform, r as searchPolicyView, rt as searchEdgeId, s as SearchCellWork, st as SearchHistoryAdmissionOptions, t as runSearch, tt as SettleSearchCellInput, u as SearchProposalBlob, ut as SearchHistoryCoverageRow, v as SearchPolicy, vt as createRunCostLedger, w as incumbent, wt as SearchLedgerAppendResult, x as aide, xt as FileSearchLedger, y as SearchPolicyNode, yt as fsCampaignStorage, zt as verifySearchClaim } from "../search-kernel-BSYkfEg5.js";
|
|
9
9
|
import { n as ModelTreatment, t as ModelComparison } from "../model-comparison-BHNL8Qrn.js";
|
|
10
10
|
import { a as HarnessScenario, i as HarnessReport, o as HarnessScope, r as HarnessExpectation, s as HarnessTiming, t as HarnessAssertion, u as runSandboxScenario } from "../sandbox-harness-K3LuyORm.js";
|
|
11
|
-
import { A as campaignCellMeasurement, C as ExternalOptimizerProcessLimits, D as ExternalTextCandidate, M as searchModelIdentity, N as searchProposalExecution, P as searchReceiptAccounting, S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, _ as ExternalOptimizerEvaluationRefusalReason, b as ExternalOptimizerModelCallRequest, d as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, f as ExternalEvaluationMeasurement, g as ExternalOptimizerEvaluationObservation, h as ExternalOptimizerEndpointFormat, j as campaignCellSearchResult, k as CampaignCellMeasurement, m as ExternalOptimizerChatRequest, p as ExternalOptimizerCallbackLimits, u as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, v as ExternalOptimizerModelBudget, x as ExternalOptimizerModelCallResult, y as ExternalOptimizerModelCall } from "../agent-profile-
|
|
11
|
+
import { A as campaignCellMeasurement, C as ExternalOptimizerProcessLimits, D as ExternalTextCandidate, M as searchModelIdentity, N as searchProposalExecution, P as searchReceiptAccounting, S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, _ as ExternalOptimizerEvaluationRefusalReason, b as ExternalOptimizerModelCallRequest, d as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, f as ExternalEvaluationMeasurement, g as ExternalOptimizerEvaluationObservation, h as ExternalOptimizerEndpointFormat, j as campaignCellSearchResult, k as CampaignCellMeasurement, m as ExternalOptimizerChatRequest, p as ExternalOptimizerCallbackLimits, u as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, v as ExternalOptimizerModelBudget, x as ExternalOptimizerModelCallResult, y as ExternalOptimizerModelCall } from "../agent-profile-Iiiqim4k.js";
|
|
12
12
|
export { type AideOptions, type AllocateSearchCellInput, type AnalyzeCrossSurfaceInteractionsInput, type ArtifactEvidenceOptions, type AshaOptions, 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 CampaignCellMeasurement, type CampaignCellResult, type CampaignCellRetryPolicy, type CampaignCostMeter, type CampaignCoverage, type CampaignResult, type CampaignRunPlan, type CampaignRunPlanCell, type CampaignScenarioIdentity, type CampaignStorage, type CampaignTokenUsage, type CampaignTraceWriter, type CellScheduleSlot, type CodeSurface, type CodeSurfaceVerification, type CompareOptimizationMethodsOptions, type ComparisonCost, type ComponentSurface, type CostBreakdown, 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 DescribeArtifact, type DimensionRegression, type DiscriminationScore, type DispatchContext, type DispatchFn, type EmitLoopProvenanceArgs, type EmitLoopProvenanceResult, type EstimateNodeCellsInput, type EvalFixture, type EvalFixtureFile, type EvalFixtureLoadOptions, type EvalFixtureRunPlan, type EvalFixtureScenario, type EvalFixtureValidationMode, type EvidenceVector, type ExternalEvaluationMeasurement, 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 ExternalSearchOptimizer, type ExternalTextCandidate, type ExternalTextEvaluationResponse, type ExternalTextOptimizationMethodConfig, type ExternalTextOptimizerContext, type ExternalTextOptimizerResult, FileSearchLedger, type FinalEvidencePolicy, type FinalEvidenceUse, type FinalizeProfileMatrixOptions, type FinalizedProfileMatrixResult, 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 GepaEvaluationImport, type GepaOptimizationMethodConfig, type GepaOptimizationRecipe, type GepaPopulationImport, type GepaRunnerCommand, type GitWorktreeAdapterOptions, type HarnessAssertion, type HarnessExpectation, type HarnessReport, type HarnessScenario, type HarnessScope, type HarnessTiming, type HeldOutGateOptions, type HeldoutSignificance, type HeldoutSignificanceOptions, type JudgeAggregate, type JudgeConfig, type JudgeDimension, type JudgeScore, type LabelTrust, type LabeledScenarioRecord, type LabeledScenarioSampleArgs, type LabeledScenarioSource, type LabeledScenarioStore, type LabeledScenarioWrite, type LlmJudgeDimension, type LlmJudgeOptions, type LoadEvalFixtureScenariosOptions, type LoopProvenanceArgsFromResult, type LoopProvenanceBackend, type LoopProvenanceCandidate, type LoopProvenanceEvidence, type LoopProvenanceOptimizationMethod, type LoopProvenanceRecord, type ModelComparison, type ModelTreatment, type MutableSurface, type NeutralizationGateOptions, type NodeEstimate, type NodePosterior, type ObjectiveSource, type OpenAICompatibleOptimizerModel, type OpenAutoPrOptions, type OpenAutoPrResult, type OpenSearchLedgerOptions, type OptimizationMethod, type OptimizationMethodComparison, type OptimizationMethodComposition, 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 PlanSearchClaimInput, type PlaybackContext, type PlaybackDriver, type PlaybackStep, type PowerPreflight, type PowerPreflightOptions, type PremeasuredOptimizationBaseline, type ProfileDispatchFn, type ProfileMatrixAnalysis, type ProfileMatrixAxisSummary, type ProfileMatrixCalibration, type ProfileMatrixCaseDifficulty, type ProfileMatrixCostAxis, type ProfileMatrixCoverage, type ProfileMatrixErrorOverlap, type ProfileMatrixFactorEffect, type ProfileMatrixFamily, type ProfileMatrixInterval, type ProfileMatrixPairedDifference, type ProfileMatrixPairwiseShare, type ProfileMatrixPlan, type ProfileMatrixPower, type ProfileMatrixProfileStats, type ProfileMatrixRaceBatch, type ProfileMatrixRaceFinalRow, type ProfileMatrixRaceResult, type ProfileMatrixRaceStanding, type ProfileMatrixReportOptions, type ProfileMatrixRow, type ProfileMatrixRunStability, type ProfileMatrixSegmentResult, type ProfileMatrixSliceCell, type ProfileMatrixVerdict, type ProfileSummary, type PromotionObjective, type PromotionPolicy, type ProposalFinding, type ProposalFindingOrigin, type ProposalTrackContext, type ProposeContext, type ProposedCandidate, type RaceProfileMatrixOptions, type RecordSearchEdgeInput, type RedactionStatus, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceScenario, type RegisterSearchNodeInput, type RepeatReliability, type RepeatReliabilityOptions, type RetainedDispatchOptions, type RetainedDispatchOutcome, type RolloutArgumentDiff, type RolloutArgumentDiffOptions, type RolloutCall, type RunCampaignOptions, type RunEvalOptions, type RunImprovementLoopOptions, type RunImprovementLoopResult, type RunOptimizationOptions, type RunOptimizationResult, type RunProfileMatrixOptions, type RunProfileMatrixResult, type RunProfileMatrixSegmentOptions, type RunSearchOptions, SEARCH_CLAIM_RULE, SEARCH_ESTIMATOR, SEARCH_LEDGER_SCHEMA, type Scenario, type ScenarioAggregate, type ScenarioRepeatReliability, type ScenarioRollup, type ScenarioSignal, type ScoreboardRenderOptions, type ScoreboardRow, type ScoreboardSummary, type ScoredRollout, type ScoredSurfaceOutcome, type SearchAllocationView, type SearchAllocator, type SearchArtifactCodec, type SearchArtifactKind, type SearchArtifactRef, type SearchAttemptAccounting, type SearchAudit, type SearchBudget, type SearchCancelReason, type SearchCandidateSurface, type SearchCell, type SearchCellAllocatedEvent, type SearchCellCancelledEvent, type SearchCellPlan, type SearchCellResult, type SearchCellSettledEvent, type SearchCellStage, type SearchCellWork, type SearchClaim, type SearchClaimDecision, type SearchClaimEstimator, type SearchClaimFinalist, type SearchClaimPlan, type SearchClaimPower, type SearchClaimTest, type SearchClaimVerification, type SearchCloseReason, type SearchClosedEvent, type SearchCompletion, type SearchCostAccounting, type SearchDecisionRecord, type SearchEdgeAttribution, type SearchEdgeOperator, type SearchEdgeRecordedEvent, type SearchEstimateMethod, type SearchExecutionIdentity, type SearchExecutor, type SearchExpansion, type SearchFailureReason, type SearchHistoryAdmissionOptions, type SearchHistoryAuditSummary, type SearchHistoryCoverage, type SearchHistoryCoverageRow, type SearchHistoryPolicy, type SearchHistoryReceipt, type SearchLane, type SearchLedger, type SearchLedgerAppendResult, type SearchLedgerBinding, type SearchLedgerEntry, SearchLedgerError, type SearchLedgerEvent, type SearchLedgerHash, SearchLedgerIntegrityError, type SearchLedgerTrustedHeadMode, type SearchModelIdentity, type SearchNode, type SearchNodeDecidedEvent, type SearchNodeDecision, type SearchNodeRef, type SearchNodeRegisteredEvent, type SearchNodeStatus, type SearchOpenedEvent, type SearchOpening, type SearchOperation, type SearchOperationKind, type SearchOperationRecordedEvent, type SearchOperationStartedEvent, type SearchPolicy, type SearchPolicyNode, type SearchPolicyView, type SearchPosterior, type SearchProposalBlob, type SearchProposalRequest, type SearchProposalResult, type SearchProposedChild, type SearchProposer, type SearchProposerKind, type SearchProposerPort, type SearchProposerView, SearchRecorder, type SearchRecorderOptions, type SearchReservation, type SearchRunIdentity, type SearchRunResult, type SearchRungDecision, type SearchScoredCell, type SearchSourceRef, type SearchSpend, type SearchSplit, type SearchSplitTasks, type SearchSplits, SearchState, SearchStateView, type SearchSummaryOptions, type SearchSurfaceEffect, type SearchSurfaceEvidence, type SearchSurfaceKind, type SearchTask, type SearchTaskOutcome, type SearchTokenAccounting, type SearchTraceRef, type SearchUnitExtension, type SearchUnitScore, type SearchUnknown, type SequentialDecideFn, type SequentialDecideOptions, type SequentialGateDecision, type SequentialObservation, type SequentialPairedGate, type SequentialPairedGateOptions, type SequentialStreamState, type SeriesDistribution, type SessionScript, type SettleSearchCellInput, 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, acquireSingleRunLock, aide, analyzeCrossSurfaceInteractions, analyzeProfileMatrix, asha, assertCampaignDesign, assertCodeSurfaceIdentity, assertSearchHistoryMatchesState, beam, buildCellSchedule, buildEvidenceVector, campaignBreakdown, campaignCellMeasurement, campaignCellSearchResult, campaignCoverage, campaignMeanComposite, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, captureFinalEvidencePolicy, cellCachePath, codeSurfaceIdentityMaterial, compareOptimizationMethods, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createProfileMatrixPlan, createRetainedDispatch, createRunCostLedger, createSearchHistoryReceipt, crowdedFrontierParent, decideSearchClaim, decodeExternalTextCandidate, defaultProductionGate, developmentClaim, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, estimateNode, estimateNodeFromCells, externalSurface, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, importExternalEvaluations, importGepaPopulation, inMemoryCampaignStorage, incumbent, incumbentWithOperatorBandit, isProposedCandidate, isTransientTransportFailure, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, makeProposalFinding, measureCampaignCost, neutralizationGate, neutralizeText, openSearchLedger, pairHoldout, paretoPolicy, paretoSignificanceGate, parseSearchLedgerLine, planCampaignRun, planEvalFixtureRun, planSearchClaim, powerPreflight, prepareSearchFinalEvidence, raceProfileMatrix, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderProfileMatrixReport, renderScoreboardMarkdown, renderSearchSummary, renderSurfaceDiff, repeatReliability, replaySearchLedgerText, resolveRunDir, resolveWorktreePath, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, runSandboxScenario, runSearch, scopedOptimizationMethod, scoreDiscrimination, scoreUserStory, scoreboardSummary, searchCellId, searchCellSetDigest, searchClaimDecision, searchClaimReserveUsd, searchDivergence, searchEdgeId, searchEstimateMethod, searchModelIdentity, searchNodeId, searchPolicyView, searchPosterior, searchProposalExecution, searchProposerView, searchReceiptAccounting, searchTaskSetDigest, searchUnitScores, sequentialDecide, sequentialOptimizationMethod, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceDiff, surfaceDispatchRef, surfaceHash, surfaceNode, transientDispatchFailure, uniform, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifySearchClaim, verifySearchHistoryArtifact, verifySearchHistoryReceipt, withFinalEvidenceSources };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as RunRecord } from "./run-record-kuOr3BCF.js";
|
|
2
|
-
import { B as FindingTreatment } from "./types-
|
|
2
|
+
import { B as FindingTreatment } from "./types-CjrzKsOK.js";
|
|
3
3
|
import { E as PairedBootstrapResult, I as McNemarResult, R as RiskDifferenceResult, T as PairedBootstrapOptions, r as EProcessState } from "./index-Bk1XEkP7.js";
|
|
4
4
|
import { r as LedgerHash } from "./canonical-CGXS21f_.js";
|
|
5
|
-
import { R as Scenario, a as CampaignResult, b as GenerationRecord, h as GateContext, j as MutableSurface, p as Gate, v as GateResult, w as JudgeScore } from "./types-
|
|
5
|
+
import { R as Scenario, a as CampaignResult, b as GenerationRecord, h as GateContext, j as MutableSurface, p as Gate, v as GateResult, w as JudgeScore } from "./types-BBht9lpj.js";
|
|
6
6
|
import { a as PairedPromotionDecision, i as PairedMcNemarEvidence, r as PairedDecisionStatistic, t as PairedDecisionMethod } from "./paired-promotion-decision-DJlI4z_k.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
declare const reservationSchema: z.ZodObject<{
|
|
@@ -999,4 +999,4 @@ declare function createCampaignEvidenceReceipt<S extends Scenario, A>(input: {
|
|
|
999
999
|
context: CampaignEvidenceContext;
|
|
1000
1000
|
}): EvidenceReceipt;
|
|
1001
1001
|
export { Objective as $, SequentialPairedGateOptions as A, signManifest as B, heldoutSignificance as C, FinalEvidenceError as Ct, SequentialGateDecision as D, FinalEvidenceRecord as Dt, SequentialDecideOptions as E, FinalEvidenceOutcome as Et, HypothesisResult as F, EvidenceVector as G, AxisEvidence as H, SignedManifest as I, PromotionObjective as J, ObjectiveSource as K, SignedManifestAlgo as L, sequentialDecide as M, sequentialPairedGate as N, SequentialObservation as O, FinalEvidenceReservation as Ot, HypothesisManifest as P, paretoSignificanceGate as Q, hashJson as R, dimensionRegressions as S, FinalEvidenceConflictError as St, SequentialDecideFn as T, FinalEvidenceMeasurement as Tt, AxisVerdict as U, verifyManifest as V, BuildEvidenceVectorOptions as W, buildEvidenceVector as X, PromotionPolicy as Y, paretoPolicy as Z, verifyAttestation as _, pairArms as _t, EvidenceAuthorityKind as a, powerPreflight as at, HeldoutSignificanceOptions as b, ArmPopulationReading as bt, EvidenceReceiptVerification as c, MatchedRunRecordPair as ct, verifyEvidenceReceipt as d, PairRunRecordsResult as dt, ParetoResult as et, ATTESTATION_ALGORITHM as f, PairedArmRow as ft, attest as g, comparePairedArms as gt, AttestedReport as h, PairedMetricDelta as ht, EvidenceAuthority as i, PowerPreflightOptions as it, SequentialStreamState as j, SequentialPairedGate as k, openFinalEvidenceLedger as kt, createEvidenceReceipt as l, PairArmsOptions as lt, AttestationVerification as m, PairedCorrectness as mt, createCampaignEvidenceReceipt as n, paretoFrontier as nt, EvidenceBinding as o, ComparePairedArmsOptions as ot, AttestationProvenance as p, PairedArmsComparison as pt, ParetoSignificanceGateOptions as q, CreateEvidenceReceiptInput as r, PowerPreflight as rt, EvidenceReceipt as s, MatchedPair as st, CampaignEvidenceContext as t, dominates as tt, isIndependentEvidence as u, PairArmsResult as ut, DimensionRegression as v, pairRunRecords as vt, pairHoldout as w, FinalEvidenceLedger as wt, PairedHoldout as x, ArmPopulationSummary as xt, HeldoutSignificance as y, ArmAssignment as yt, manifestContentDigest as z };
|
|
1002
|
-
//# sourceMappingURL=campaign-evidence-
|
|
1002
|
+
//# sourceMappingURL=campaign-evidence-p9QJoA1P.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign-evidence-
|
|
1
|
+
{"version":3,"file":"campaign-evidence-p9QJoA1P.d.ts","names":["_$__evidence_receipt0.EvidenceReceipt"],"sources":["../src/experiment/final-evidence.ts","../src/arm-populations.ts","../src/paired-arms.ts","../src/campaign/gates/power-preflight.ts","../src/pareto.ts","../src/campaign/gates/promotion-policy.ts","../src/pre-registration.ts","../src/campaign/gates/sequential.ts","../src/campaign/gates/statistical-heldout.ts","../src/attestation.ts","../src/experiment/evidence-receipt.ts","../src/experiment/campaign-evidence.ts"],"mappings":"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"}
|
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import { l as SEARCH_LEDGER_BATCH_MAX_BYTES, m as SearchRunKindSchema, r as ship
|
|
|
8
8
|
import { n as createChatClient } from "./chat-client-TkNgQDLj.js";
|
|
9
9
|
import { a as privacyHit, f as appendRolloutLines, n as runRolloutReleaseCli, r as PRIVACY_RULE_NAMES, u as gateReceiptRolloutLines } from "./hf-dataset-B0s2ZAhQ.js";
|
|
10
10
|
import { i as harnessSessionRolloutLines, n as harnessSessionRefs } from "./harness-session-lines-CTh1-uOb.js";
|
|
11
|
-
import { B as renderSkillUsageTable, H as claudeCodeSkillSessions, L as afterInvocation, R as buildSkillUsageReport, V as codexSkillSessions, W as readSkillFile, t as runAnalystBenchmarkCommand, z as instant } from "./benchmark-command-
|
|
11
|
+
import { B as renderSkillUsageTable, H as claudeCodeSkillSessions, J as withChangeLedger, L as afterInvocation, R as buildSkillUsageReport, V as codexSkillSessions, W as readSkillFile, q as readChangeLedger, t as runAnalystBenchmarkCommand, z as instant } from "./benchmark-command-BizGxhuU.js";
|
|
12
12
|
import { i as buildOpenApi, l as handleVersion, o as runRpcBatch, r as startServerAsync, s as runRpcOnce } from "./server-B-7vXS9T.js";
|
|
13
13
|
import { b as editCreditText, f as landscape, g as surfaceTextEdits, l as metaSearch, m as formatLandscape, n as taskMatrix, o as skillManifold, r as formatSkillManifold, s as renderMetaSearchText, t as tree, v as front, y as editCredit } from "./tree-CljLPWVm.js";
|
|
14
14
|
import { a as analyzeSupervisorRun, i as renderSupervisorRunMarkdown, r as renderSupervisorRunHeadline, t as runtimeRunRolloutLines } from "./runtime-rollouts-CE0MbQPq.js";
|
|
@@ -17,256 +17,6 @@ import { existsSync, readFileSync, writeFileSync } from "node:fs";
|
|
|
17
17
|
import { dirname, join, resolve } from "node:path";
|
|
18
18
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
19
19
|
import { appendFile, open, readFile, rm, stat } from "node:fs/promises";
|
|
20
|
-
// src/skill-usage/change-ledger.ts
|
|
21
|
-
/**
|
|
22
|
-
* The change ledger: one row per commit or pull request a session made, written
|
|
23
|
-
* by the session's own harness at the moment the call returned, and the reader
|
|
24
|
-
* that joins those rows to recorded sessions.
|
|
25
|
-
*
|
|
26
|
-
* A transcript names a pull request only when its output prints the URL, and
|
|
27
|
-
* names no commit. The ledger is the harness's own record: each row carries the
|
|
28
|
-
* tool call's id, so a change belongs to the typed turn whose span holds the
|
|
29
|
-
* call, and the session's own commits and merges are counted, not guessed from
|
|
30
|
-
* output text.
|
|
31
|
-
*
|
|
32
|
-
* Row format (JSON lines, `v` 1; a writer adds no other field the reader needs):
|
|
33
|
-
*
|
|
34
|
-
* | Field | Meaning |
|
|
35
|
-
* |---|---|
|
|
36
|
-
* | `at` | ISO time the call returned |
|
|
37
|
-
* | `harness` | the harness that wrote it, as the session reader names it (`claude-code`) |
|
|
38
|
-
* | `sessionId`, `agentId` | the session; inside a subagent, the subagent's id too (the id its own transcript carries) |
|
|
39
|
-
* | `toolUseId` | the id of the tool call that made the change; null when the harness gave none |
|
|
40
|
-
* | `action` | `commit`, `pr-create`, `pr-merge`, `observed`, or, from a writer that sees whole turns, `turn` and `push` |
|
|
41
|
-
* | `remote` | the repository as `owner/repo` (or `host/path`); null when the writer could not find it |
|
|
42
|
-
* | `sha`, `pr` | the commit or the pull request number; null when the call did not name it |
|
|
43
|
-
*
|
|
44
|
-
* `observed` is written once per session or subagent, at its first call. It says
|
|
45
|
-
* the writer was running, which is the only thing that lets "no change rows"
|
|
46
|
-
* mean "no change". A session with no row of any action is unknown, never none.
|
|
47
|
-
*
|
|
48
|
-
* A writer outside the harness, such as a gateway that runs the harness for a
|
|
49
|
-
* caller (CLI Bridge), sees turns, not tool calls, and adds fields to its rows:
|
|
50
|
-
*
|
|
51
|
-
* | Field | Meaning |
|
|
52
|
-
* |---|---|
|
|
53
|
-
* | `sessionId` | the gateway's session id |
|
|
54
|
-
* | `nativeSessionId` | the harness's own session id, the id its transcript carries; rows are keyed by it when present |
|
|
55
|
-
* | `turnId`, `runId` | the gateway's turn and run |
|
|
56
|
-
* | `turnStartedAt` | ISO time the turn began; with `at`, the window the change was made in |
|
|
57
|
-
* | `incomplete` | on a `turn` row: why that turn's change rows may not be all of its changes (a checkout shared with another running turn, an unread pull request list); null when they are |
|
|
58
|
-
* | `headBefore`, `head` | on a `turn` row: the working repository's HEAD when the turn began and when it ended |
|
|
59
|
-
* | `branch` | on a `push` row: the remote branch the turn pushed |
|
|
60
|
-
*
|
|
61
|
-
* Such a row has no `toolUseId`. The change belongs to the last tool call of the
|
|
62
|
-
* session record whose time lies in [`turnStartedAt`, `at`], so a record with no
|
|
63
|
-
* times, or none in the window, leaves the change unplaced. A `turn` row with a
|
|
64
|
-
* non-null `incomplete` makes the session's changes unknown, with a gap that says why.
|
|
65
|
-
*
|
|
66
|
-
* A row's `toolUseId` is the id the harness's hook saw. Where the session record
|
|
67
|
-
* holds the call under that id, or names it in `callAliases`, the change belongs
|
|
68
|
-
* to the turn that made the call. A row that matches neither makes the whole
|
|
69
|
-
* session unknown, with a gap that says so: the change happened, and which turn
|
|
70
|
-
* made it cannot be said, so no turn may be called change-free.
|
|
71
|
-
*/
|
|
72
|
-
const CHANGE_LEDGER_ACTIONS = [
|
|
73
|
-
"observed",
|
|
74
|
-
"commit",
|
|
75
|
-
"pr-create",
|
|
76
|
-
"pr-merge",
|
|
77
|
-
"turn",
|
|
78
|
-
"push"
|
|
79
|
-
];
|
|
80
|
-
const key = (harness, id) => `${harness}\u0000${id}`;
|
|
81
|
-
function parseRow(line) {
|
|
82
|
-
let value;
|
|
83
|
-
try {
|
|
84
|
-
value = JSON.parse(line);
|
|
85
|
-
} catch {
|
|
86
|
-
return null;
|
|
87
|
-
}
|
|
88
|
-
if (typeof value !== "object" || value === null) return null;
|
|
89
|
-
const row = value;
|
|
90
|
-
const text = (field) => {
|
|
91
|
-
const raw = row[field];
|
|
92
|
-
return typeof raw === "string" && raw !== "" ? raw : null;
|
|
93
|
-
};
|
|
94
|
-
const optional = (field) => {
|
|
95
|
-
const raw = row[field];
|
|
96
|
-
if (raw === null || raw === void 0) return null;
|
|
97
|
-
return typeof raw === "string" && raw !== "" ? raw : void 0;
|
|
98
|
-
};
|
|
99
|
-
const action = row.action;
|
|
100
|
-
const toolUseId = optional("toolUseId");
|
|
101
|
-
const agentId = optional("agentId");
|
|
102
|
-
const remote = optional("remote");
|
|
103
|
-
const sha = optional("sha");
|
|
104
|
-
const nativeSessionId = optional("nativeSessionId");
|
|
105
|
-
const turnStartedAt = optional("turnStartedAt");
|
|
106
|
-
const incomplete = optional("incomplete");
|
|
107
|
-
const pr = row.pr ?? null;
|
|
108
|
-
const at = text("at");
|
|
109
|
-
const harness = text("harness");
|
|
110
|
-
const sessionId = text("sessionId");
|
|
111
|
-
if (row.v !== 1 || at === null || harness === null || sessionId === null || !CHANGE_LEDGER_ACTIONS.includes(action) || toolUseId === void 0 || agentId === void 0 || remote === void 0 || sha === void 0 || nativeSessionId === void 0 || turnStartedAt === void 0 || incomplete === void 0 || pr !== null && !(typeof pr === "number" && Number.isInteger(pr) && pr > 0)) return null;
|
|
112
|
-
return {
|
|
113
|
-
v: 1,
|
|
114
|
-
at,
|
|
115
|
-
harness,
|
|
116
|
-
sessionId,
|
|
117
|
-
agentId,
|
|
118
|
-
toolUseId,
|
|
119
|
-
action,
|
|
120
|
-
remote,
|
|
121
|
-
sha,
|
|
122
|
-
pr,
|
|
123
|
-
nativeSessionId,
|
|
124
|
-
turnStartedAt,
|
|
125
|
-
incomplete
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
/** The reference the registry's outcome source names a change by: `owner/repo#123` or `owner/repo@<sha>`. */
|
|
129
|
-
function refOf(row) {
|
|
130
|
-
if (row.remote === null) return null;
|
|
131
|
-
if (row.action === "commit") return row.sha === null ? null : `${row.remote}@${row.sha}`;
|
|
132
|
-
if (row.action === "pr-create" || row.action === "pr-merge") return row.pr === null ? null : `${row.remote}#${row.pr}`;
|
|
133
|
-
return null;
|
|
134
|
-
}
|
|
135
|
-
/** Read ledger text. A line that is not a row is counted, not skipped silently, and no row is guessed from it. */
|
|
136
|
-
function parseChangeLedger(text) {
|
|
137
|
-
const sessions = /* @__PURE__ */ new Map();
|
|
138
|
-
let rows = 0;
|
|
139
|
-
let malformed = 0;
|
|
140
|
-
for (const line of text.split("\n")) {
|
|
141
|
-
if (line.trim() === "") continue;
|
|
142
|
-
const row = parseRow(line);
|
|
143
|
-
if (row === null) {
|
|
144
|
-
malformed += 1;
|
|
145
|
-
continue;
|
|
146
|
-
}
|
|
147
|
-
rows += 1;
|
|
148
|
-
const id = key(row.harness, row.agentId ?? row.nativeSessionId ?? row.sessionId);
|
|
149
|
-
let session = sessions.get(id);
|
|
150
|
-
if (session === void 0) {
|
|
151
|
-
session = {
|
|
152
|
-
observed: false,
|
|
153
|
-
changes: [],
|
|
154
|
-
unnamed: 0,
|
|
155
|
-
timed: [],
|
|
156
|
-
incomplete: /* @__PURE__ */ new Map()
|
|
157
|
-
};
|
|
158
|
-
sessions.set(id, session);
|
|
159
|
-
}
|
|
160
|
-
if (row.action === "observed" || row.action === "push") {
|
|
161
|
-
session.observed = true;
|
|
162
|
-
continue;
|
|
163
|
-
}
|
|
164
|
-
if (row.action === "turn") {
|
|
165
|
-
session.observed = true;
|
|
166
|
-
if (row.incomplete) session.incomplete.set(row.incomplete, (session.incomplete.get(row.incomplete) ?? 0) + 1);
|
|
167
|
-
continue;
|
|
168
|
-
}
|
|
169
|
-
session.observed = true;
|
|
170
|
-
const ref = refOf(row);
|
|
171
|
-
if (ref === null) session.unnamed += 1;
|
|
172
|
-
else if (row.toolUseId === null && row.turnStartedAt) session.timed.push({
|
|
173
|
-
ref,
|
|
174
|
-
from: row.turnStartedAt,
|
|
175
|
-
to: row.at
|
|
176
|
-
});
|
|
177
|
-
else session.changes.push({
|
|
178
|
-
ref,
|
|
179
|
-
callId: row.toolUseId ?? "",
|
|
180
|
-
at: row.at
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
return {
|
|
184
|
-
sessions,
|
|
185
|
-
rows,
|
|
186
|
-
malformed
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
/** Read one or more ledger files as one ledger. A file that cannot be read throws: a missing ledger is not an empty one. */
|
|
190
|
-
async function readChangeLedger(paths) {
|
|
191
|
-
const texts = [];
|
|
192
|
-
for (const path of paths) try {
|
|
193
|
-
texts.push(await readFile(path, "utf8"));
|
|
194
|
-
} catch (error) {
|
|
195
|
-
throw new ValidationError(`readChangeLedger: cannot read ${path}: ${errorMessage(error)}`);
|
|
196
|
-
}
|
|
197
|
-
return parseChangeLedger(texts.join("\n"));
|
|
198
|
-
}
|
|
199
|
-
/** The last tool call or skill call of the record whose time lies in [from, to]; null when there is none. */
|
|
200
|
-
function callInWindow(record, from, to) {
|
|
201
|
-
const start = Date.parse(from);
|
|
202
|
-
const end = Date.parse(to);
|
|
203
|
-
if (!Number.isFinite(start) || !Number.isFinite(end)) return null;
|
|
204
|
-
let found = null;
|
|
205
|
-
for (const event of record.events) {
|
|
206
|
-
if (event.kind === "model" || event.at === null) continue;
|
|
207
|
-
const at = Date.parse(event.at);
|
|
208
|
-
if (at >= start && at <= end) found = event.kind === "tool" ? event.id : event.callId;
|
|
209
|
-
}
|
|
210
|
-
return found;
|
|
211
|
-
}
|
|
212
|
-
function joinRead(read, ledger) {
|
|
213
|
-
if (!read.succeeded) return read;
|
|
214
|
-
const { value } = read;
|
|
215
|
-
const held = ledger.sessions.get(key(value.harness, value.sessionId));
|
|
216
|
-
const seen = /* @__PURE__ */ new Set();
|
|
217
|
-
const changes = [];
|
|
218
|
-
const aliases = value.callAliases ?? {};
|
|
219
|
-
const placeable = new Set(value.events.flatMap((event) => event.kind === "tool" ? [event.id] : event.kind === "skill" ? [event.callId] : []));
|
|
220
|
-
let unplaced = 0;
|
|
221
|
-
const timed = [];
|
|
222
|
-
for (const change of held?.timed ?? []) {
|
|
223
|
-
const callId = callInWindow(value, change.from, change.to);
|
|
224
|
-
if (callId === null) unplaced += 1;
|
|
225
|
-
else timed.push({
|
|
226
|
-
ref: change.ref,
|
|
227
|
-
callId,
|
|
228
|
-
at: change.to
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
for (const row of [
|
|
232
|
-
...value.changes ?? [],
|
|
233
|
-
...held?.changes ?? [],
|
|
234
|
-
...timed
|
|
235
|
-
]) {
|
|
236
|
-
const change = Object.hasOwn(aliases, row.callId) ? {
|
|
237
|
-
...row,
|
|
238
|
-
callId: aliases[row.callId]
|
|
239
|
-
} : row;
|
|
240
|
-
if (!placeable.has(change.callId)) unplaced += 1;
|
|
241
|
-
const id = `${change.ref}\u0000${change.callId}`;
|
|
242
|
-
if (seen.has(id)) continue;
|
|
243
|
-
seen.add(id);
|
|
244
|
-
changes.push(change);
|
|
245
|
-
}
|
|
246
|
-
const gaps = [...value.gaps];
|
|
247
|
-
if (held !== void 0 && held.unnamed > 0) gaps.push(`${held.unnamed} changes the change ledger recorded could not be named (no repository, or no commit or pull request number)`);
|
|
248
|
-
if (unplaced > 0) gaps.push(`${unplaced} changes name a tool call this session record does not hold, so the turn that made them is unknown and no turn is reported as having made none`);
|
|
249
|
-
const { changes: _transcriptChanges, ...rest } = value;
|
|
250
|
-
const incomplete = [...held?.incomplete ?? []];
|
|
251
|
-
if (incomplete.length > 0) gaps.push(`the change ledger's writer said some turns' changes may be incomplete (${incomplete.map(([why, n]) => `${why}: ${n}`).join(", ")}), so the session's changes are unknown`);
|
|
252
|
-
const known = unplaced === 0 && incomplete.length === 0 && (held?.observed === true || changes.length > 0);
|
|
253
|
-
return {
|
|
254
|
-
...read,
|
|
255
|
-
value: {
|
|
256
|
-
...rest,
|
|
257
|
-
gaps,
|
|
258
|
-
...known ? { changes } : {}
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* The sessions of `source` with their changes taken from the ledger as well as
|
|
264
|
-
* from the transcript. A session the ledger never observed keeps only the
|
|
265
|
-
* changes its transcript shows, and has none recorded when it shows none.
|
|
266
|
-
*/
|
|
267
|
-
async function* withChangeLedger(source, ledger) {
|
|
268
|
-
for await (const read of source) yield joinRead(read, ledger);
|
|
269
|
-
}
|
|
270
20
|
// src/cli-config.ts
|
|
271
21
|
/**
|
|
272
22
|
* Provider configuration for the `agent-eval` binary.
|