@tangle-network/agent-eval 0.99.0 → 0.100.1

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 (91) hide show
  1. package/dist/adapters/http.d.ts +2 -2
  2. package/dist/adapters/langchain.d.ts +2 -2
  3. package/dist/adapters/otel.d.ts +4 -4
  4. package/dist/analyst/index.d.ts +8 -7
  5. package/dist/analyst/index.js +36 -28
  6. package/dist/analyst/index.js.map +1 -1
  7. package/dist/{analyze-runs-DtT6F_6T.d.ts → analyze-runs-BlJRBniC.d.ts} +3 -3
  8. package/dist/belief-state/index.d.ts +3 -3
  9. package/dist/benchmarks/index.d.ts +2 -2
  10. package/dist/campaign/index.d.ts +37 -13
  11. package/dist/campaign/index.js +76 -7
  12. package/dist/campaign/index.js.map +1 -1
  13. package/dist/{chunk-WMBLMTUE.js → chunk-2KTBHICD.js} +139 -16
  14. package/dist/chunk-2KTBHICD.js.map +1 -0
  15. package/dist/{chunk-IZCEK2HR.js → chunk-2MLIEQSN.js} +3 -2
  16. package/dist/{chunk-IZCEK2HR.js.map → chunk-2MLIEQSN.js.map} +1 -1
  17. package/dist/{chunk-OKQ2LAT7.js → chunk-4LWD6GC7.js} +7 -5
  18. package/dist/{chunk-OKQ2LAT7.js.map → chunk-4LWD6GC7.js.map} +1 -1
  19. package/dist/{chunk-LO6IOIJ2.js → chunk-ABOIVNXL.js} +2 -240
  20. package/dist/chunk-ABOIVNXL.js.map +1 -0
  21. package/dist/{chunk-NZEQVRH5.js → chunk-BOETF6BU.js} +2 -2
  22. package/dist/{chunk-S4SYLDFX.js → chunk-FRI6RG3P.js} +3 -2
  23. package/dist/chunk-FRI6RG3P.js.map +1 -0
  24. package/dist/chunk-G6S73VA7.js +248 -0
  25. package/dist/chunk-G6S73VA7.js.map +1 -0
  26. package/dist/{chunk-GMGRBNVT.js → chunk-G7IB3GJ5.js} +2 -2
  27. package/dist/chunk-IN3SHQML.js +664 -0
  28. package/dist/chunk-IN3SHQML.js.map +1 -0
  29. package/dist/{chunk-SJISCGWD.js → chunk-JU6ZX3CX.js} +2 -2
  30. package/dist/{chunk-3NHEO6ZC.js → chunk-L5TVEZFT.js} +2 -2
  31. package/dist/{chunk-77T4STFI.js → chunk-PMF5WIBX.js} +3 -3
  32. package/dist/{chunk-OYU4D7FY.js → chunk-VWQ6PO5O.js} +2 -2
  33. package/dist/{code-agent-session-CPHRCb4-.d.ts → code-agent-session-B6ZcDwyA.d.ts} +1 -1
  34. package/dist/contract/index.d.ts +16 -16
  35. package/dist/contract/index.js +6 -5
  36. package/dist/contract/index.js.map +1 -1
  37. package/dist/{control-Doncu-B_.d.ts → control-DC8TELh0.d.ts} +1 -1
  38. package/dist/control.d.ts +2 -2
  39. package/dist/control.js +3 -2
  40. package/dist/{corpus-D4YW9UoJ.d.ts → corpus-ONOzGFmG.d.ts} +1 -1
  41. package/dist/{default-registry-GyE8X5SP.d.ts → default-registry-Dhrc__SE.d.ts} +2 -2
  42. package/dist/diagnose.d.ts +3 -3
  43. package/dist/diagnose.js +2 -1
  44. package/dist/diagnose.js.map +1 -1
  45. package/dist/{gepa-H6mlM0KN.d.ts → gepa-BRgNnmGZ.d.ts} +1 -1
  46. package/dist/groundedness/index.d.ts +112 -0
  47. package/dist/groundedness/index.js +77 -0
  48. package/dist/groundedness/index.js.map +1 -0
  49. package/dist/hosted/index.d.ts +4 -4
  50. package/dist/{index-_Y4oNOOb.d.ts → index-W96macmS.d.ts} +1 -1
  51. package/dist/index.d.ts +338 -24
  52. package/dist/index.js +208 -24
  53. package/dist/index.js.map +1 -1
  54. package/dist/{insight-report-BnRjTibG.d.ts → insight-report-C02J3q4T.d.ts} +1 -1
  55. package/dist/{kind-factory-X3eDYbKn.d.ts → kind-factory-OgqQSvLi.d.ts} +1 -1
  56. package/dist/meta-eval/index.d.ts +2 -2
  57. package/dist/multishot/index.d.ts +2 -2
  58. package/dist/openapi.json +1 -1
  59. package/dist/policy-edit-Dccm9tyA.d.ts +103 -0
  60. package/dist/{pre-registration-CMm8cvrh.d.ts → pre-registration-DB8oDqZJ.d.ts} +3 -3
  61. package/dist/{provenance-Bg_RttR8.d.ts → provenance-B0SZw1z2.d.ts} +3 -3
  62. package/dist/{release-report-pidWUMZ2.d.ts → release-report-B1tA6pKu.d.ts} +2 -2
  63. package/dist/reporting.d.ts +4 -4
  64. package/dist/{researcher-Jr8ME1dZ.d.ts → researcher-Ba2y1Foi.d.ts} +2 -2
  65. package/dist/rl.d.ts +8 -8
  66. package/dist/rl.js +3 -2
  67. package/dist/rl.js.map +1 -1
  68. package/dist/{rubric-predictive-validity-C2hDKM8Z.d.ts → rubric-predictive-validity-w7tun-q3.d.ts} +1 -1
  69. package/dist/{run-record-CP2ObebC.d.ts → run-record-DEwidcqn.d.ts} +1 -1
  70. package/dist/{runtime-trajectory-BOUUjI0y.d.ts → runtime-trajectory-OJDaTYHN.d.ts} +1 -1
  71. package/dist/{semantic-concept-judge-DSBB2Cfp.d.ts → semantic-concept-judge-J8xvjdc3.d.ts} +2 -2
  72. package/dist/{summary-report-CInXwsza.d.ts → summary-report-C4uzRWh8.d.ts} +1 -1
  73. package/dist/traces.d.ts +1 -1
  74. package/dist/traces.js +4 -3
  75. package/dist/{types-B5x54y6n.d.ts → types-BEzCBMQD.d.ts} +2 -2
  76. package/dist/{types-BTI16iFl.d.ts → types-Cv1bo4_a.d.ts} +1 -1
  77. package/dist/workflow/index.d.ts +4 -4
  78. package/dist/workflow/index.js +2 -1
  79. package/dist/workflow/index.js.map +1 -1
  80. package/package.json +6 -1
  81. package/dist/chunk-BUTW4RGG.js +0 -32
  82. package/dist/chunk-BUTW4RGG.js.map +0 -1
  83. package/dist/chunk-LO6IOIJ2.js.map +0 -1
  84. package/dist/chunk-S4SYLDFX.js.map +0 -1
  85. package/dist/chunk-WMBLMTUE.js.map +0 -1
  86. /package/dist/{chunk-NZEQVRH5.js.map → chunk-BOETF6BU.js.map} +0 -0
  87. /package/dist/{chunk-GMGRBNVT.js.map → chunk-G7IB3GJ5.js.map} +0 -0
  88. /package/dist/{chunk-SJISCGWD.js.map → chunk-JU6ZX3CX.js.map} +0 -0
  89. /package/dist/{chunk-3NHEO6ZC.js.map → chunk-L5TVEZFT.js.map} +0 -0
  90. /package/dist/{chunk-77T4STFI.js.map → chunk-PMF5WIBX.js.map} +0 -0
  91. /package/dist/{chunk-OYU4D7FY.js.map → chunk-VWQ6PO5O.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,34 +1,37 @@
1
- export { A as ActionExecutionPolicy, a as ActionPolicyDecision, C as ControlRunToRunRecordOptions, L as LlmJsonCall, b as LlmReviewerConfig, P as ProposeFn, c as ProposeInput, d as ProposeOutput, e as ProposeReviewConfig, f as ProposeReviewControlAction, g as ProposeReviewControlConfig, h as ProposeReviewControlResult, i as ProposeReviewControlState, j as ProposeReviewReport, k as ProposeReviewShot, R as Review, l as ReviewFn, m as ReviewInput, n as ReviewMemoryEntry, o as ReviewMemoryStore, p as RunEvidenceMetadata, V as Verification, q as VerifyFn, r as controlFailureClassFromVerification, s as controlRunToRunRecord, t as createLlmReviewer, u as evaluateActionPolicy, v as inMemoryReviewStore, w as jsonlReviewStore, x as runProposeReview, y as runProposeReviewAsControlLoop, z as scoreFromEvals } from './control-Doncu-B_.js';
2
- import { R as RunRecord, a as RunSplitTag } from './run-record-CP2ObebC.js';
3
- export { e as AGENT_PROFILE_KINDS, f as AgentInterfaceProfileLike, A as AgentProfileCell, d as AgentProfileCellInput, g as AgentProfileCellSchemaVersion, h as AgentProfileCellValidationError, i as AgentProfileDimensionValue, j as AgentProfileHarness, k as AgentProfileJson, l as AgentProfileKind, m as AgentProfileSource, n as AgentProfileSourceInput, J as JudgeScoresRecord, c as RunJudgeMetadata, o as RunOutcome, p as RunRecordValidationError, b as RunTokenUsage, q as agentProfileCellHashMaterial, r as agentProfileCellKey, s as assertRunAgentProfileCell, t as buildAgentInterfaceProfileCell, u as buildAgentProfileCell, v as groupRunsByAgentProfileCell, w as isRunRecord, x as parseRunRecordSafe, y as requireAgentProfileCell, z as roundTripRunRecord, B as toAgentProfileJson, C as validateAgentProfileCell, D as validateRunRecord, E as verifyAgentProfileCell } from './run-record-CP2ObebC.js';
4
- export { B as BehavioralMetrics, x as ConceptComplexity, y as ConceptFinding, z as ConceptSpec, A as ConceptWeightStrategy, C as CreateAnalystAiConfig, E as DEFAULT_COMPLEXITY_WEIGHTS, D as DEFAULT_TRACE_ANALYST_KINDS, b as DiffPolicy, F as FAILURE_MODE_KIND_SPEC, e as FindingSubject, f as FindingSubjectKind, h as FindingsDiff, i as FindingsStore, I as IMPROVEMENT_KIND_SPEC, j as KNOWLEDGE_GAP_KIND_SPEC, k as KNOWLEDGE_POISONING_KIND_SPEC, P as PersistedFinding, G as SEMANTIC_CONCEPT_JUDGE_VERSION, l as SKILL_USAGE_ANALYST, a as SemanticConceptJudgeInput, S as SemanticConceptJudgeOptions, H as SemanticConceptJudgeResult, m as SkillUsageAnalyst, J as SuboptimalCode, L as SuboptimalSignal, M as computeTraceMetrics, r as createAnalystAi, N as createSemanticConceptJudge, s as defaultIsMaterial, t as diffFindings, O as runSemanticConceptJudge } from './semantic-concept-judge-DSBB2Cfp.js';
5
- import { l as ChatRequest, p as CreateChatClientOpts } from './types-B5x54y6n.js';
6
- export { A as Analyst, a as AnalystContext, g as AnalystCost, c as AnalystFinding, i as AnalystInputKind, j as AnalystRequirements, f as AnalystRunEvent, e as AnalystRunInputs, d as AnalystRunResult, b as AnalystRunSummary, h as AnalystSeverity, k as ChatCallOpts, C as ChatClient, m as ChatResponse, n as ChatTransport, o as CliBridgeTransportOpts, D as DirectProviderTransportOpts, E as EvidenceRef, M as MockTransportOpts, R as RouterTransportOpts, S as SandboxSdkTransportOpts, q as computeFindingId, r as createChatClient, s as makeFinding } from './types-B5x54y6n.js';
7
- export { a as AnalystHooks, A as AnalystRegistry, b as AnalystRegistryOptions, B as BudgetPolicy, D as DefaultAnalystRegistryOptions, R as RegistryRunOpts, c as buildDefaultAnalystRegistry } from './default-registry-GyE8X5SP.js';
8
- export { C as CreateTraceAnalystKindOpts, a as RawAnalystFinding, c as TraceAnalystGolden, T as TraceAnalystKindSpec, d as createTraceAnalystKind, r as renderPriorFindings } from './kind-factory-X3eDYbKn.js';
1
+ export { A as ActionExecutionPolicy, a as ActionPolicyDecision, C as ControlRunToRunRecordOptions, L as LlmJsonCall, b as LlmReviewerConfig, P as ProposeFn, c as ProposeInput, d as ProposeOutput, e as ProposeReviewConfig, f as ProposeReviewControlAction, g as ProposeReviewControlConfig, h as ProposeReviewControlResult, i as ProposeReviewControlState, j as ProposeReviewReport, k as ProposeReviewShot, R as Review, l as ReviewFn, m as ReviewInput, n as ReviewMemoryEntry, o as ReviewMemoryStore, p as RunEvidenceMetadata, V as Verification, q as VerifyFn, r as controlFailureClassFromVerification, s as controlRunToRunRecord, t as createLlmReviewer, u as evaluateActionPolicy, v as inMemoryReviewStore, w as jsonlReviewStore, x as runProposeReview, y as runProposeReviewAsControlLoop, z as scoreFromEvals } from './control-DC8TELh0.js';
2
+ import { R as RunRecord, b as RunSplitTag } from './run-record-DEwidcqn.js';
3
+ export { f as AGENT_PROFILE_KINDS, g as AgentInterfaceProfileLike, A as AgentProfileCell, e as AgentProfileCellInput, h as AgentProfileCellSchemaVersion, i as AgentProfileCellValidationError, j as AgentProfileDimensionValue, k as AgentProfileHarness, a as AgentProfileJson, l as AgentProfileKind, m as AgentProfileSource, n as AgentProfileSourceInput, J as JudgeScoresRecord, d as RunJudgeMetadata, o as RunOutcome, p as RunRecordValidationError, c as RunTokenUsage, q as agentProfileCellHashMaterial, r as agentProfileCellKey, s as assertRunAgentProfileCell, t as buildAgentInterfaceProfileCell, u as buildAgentProfileCell, v as groupRunsByAgentProfileCell, w as isRunRecord, x as parseRunRecordSafe, y as requireAgentProfileCell, z as roundTripRunRecord, B as toAgentProfileJson, C as validateAgentProfileCell, D as validateRunRecord, E as verifyAgentProfileCell } from './run-record-DEwidcqn.js';
4
+ import { B as BehavioralMetrics } from './semantic-concept-judge-J8xvjdc3.js';
5
+ export { x as ConceptComplexity, y as ConceptFinding, z as ConceptSpec, A as ConceptWeightStrategy, C as CreateAnalystAiConfig, E as DEFAULT_COMPLEXITY_WEIGHTS, D as DEFAULT_TRACE_ANALYST_KINDS, b as DiffPolicy, F as FAILURE_MODE_KIND_SPEC, e as FindingSubject, f as FindingSubjectKind, h as FindingsDiff, i as FindingsStore, I as IMPROVEMENT_KIND_SPEC, j as KNOWLEDGE_GAP_KIND_SPEC, k as KNOWLEDGE_POISONING_KIND_SPEC, P as PersistedFinding, G as SEMANTIC_CONCEPT_JUDGE_VERSION, l as SKILL_USAGE_ANALYST, a as SemanticConceptJudgeInput, S as SemanticConceptJudgeOptions, H as SemanticConceptJudgeResult, m as SkillUsageAnalyst, J as SuboptimalCode, L as SuboptimalSignal, M as computeTraceMetrics, r as createAnalystAi, N as createSemanticConceptJudge, s as defaultIsMaterial, t as diffFindings, O as runSemanticConceptJudge } from './semantic-concept-judge-J8xvjdc3.js';
6
+ import { l as ChatRequest, p as CreateChatClientOpts } from './types-BEzCBMQD.js';
7
+ export { a as Analyst, b as AnalystContext, g as AnalystCost, A as AnalystFinding, i as AnalystInputKind, j as AnalystRequirements, f as AnalystRunEvent, e as AnalystRunInputs, d as AnalystRunResult, c as AnalystRunSummary, h as AnalystSeverity, k as ChatCallOpts, C as ChatClient, m as ChatResponse, n as ChatTransport, o as CliBridgeTransportOpts, D as DirectProviderTransportOpts, E as EvidenceRef, M as MockTransportOpts, R as RouterTransportOpts, S as SandboxSdkTransportOpts, q as computeFindingId, r as createChatClient, s as makeFinding } from './types-BEzCBMQD.js';
8
+ export { a as AnalystHooks, A as AnalystRegistry, b as AnalystRegistryOptions, B as BudgetPolicy, D as DefaultAnalystRegistryOptions, R as RegistryRunOpts, c as buildDefaultAnalystRegistry } from './default-registry-Dhrc__SE.js';
9
+ export { C as CreateTraceAnalystKindOpts, a as RawAnalystFinding, c as TraceAnalystGolden, T as TraceAnalystKindSpec, d as createTraceAnalystKind, r as renderPriorFindings } from './kind-factory-OgqQSvLi.js';
10
+ export { F as FindingToPolicyEditOptions, P as POLICY_EDIT_AXES, a as POLICY_EDIT_TARGET_SURFACES, b as PolicyEdit, c as PolicyEditAdmission, d as PolicyEditAdmissionOptions, e as PolicyEditAxis, f as PolicyEditChange, g as PolicyEditExpectedGain, h as PolicyEditGainDirection, i as PolicyEditGainUnit, j as PolicyEditInit, k as PolicyEditRisk, l as PolicyEditSchemaVersion, m as PolicyEditSource, n as PolicyEditTarget, o as PolicyEditTargetSurface, p as PolicyEditValidationError, q as admitPolicyEdit, r as applyPolicyEditToSurface, s as computePolicyEditId, t as isPolicyEdit, u as makePolicyEdit, v as policyEditFromFinding, w as policyEditsFromFindings, x as scorePolicyEditReadiness, y as validatePolicyEdit } from './policy-edit-Dccm9tyA.js';
9
11
  import { TCloud } from '@tangle-network/tcloud';
10
12
  import { B as BenchmarkRunnerConfig, S as Scenario, c as BenchmarkReport, P as ProductClientConfig, C as CheckResult, T as TestResult, d as PersonaConfig, D as DriverResult, e as DriverState, b as JudgeFn, f as CollectedArtifacts, g as ScenarioResult, h as TurnMetrics, i as ScenarioFile, j as CompletionCriterion } from './types-C7DGg5ex.js';
11
13
  export { A as ArtifactCheck, k as ArtifactResult, E as EvalResult, F as FeedbackPattern, l as JudgeConfig, a as JudgeInput, m as JudgeRubric, J as JudgeScore, n as PersonaRigor, R as RouteMap, o as RubricDimension, p as Turn, q as TurnResult } from './types-C7DGg5ex.js';
12
14
  export { c as ControlActionFailureMode, d as ControlActionOutcome, e as ControlBudget, f as ControlContext, g as ControlDecision, C as ControlEvalResult, a as ControlRunResult, h as ControlRuntimeConfig, i as ControlRuntimeError, j as ControlSeverity, b as ControlStep, k as ControlStopPolicies, S as StopDecision, l as allCriticalPassed, o as objectiveEval, r as runAgentControlLoop, s as stopOnNoProgress, m as stopOnRepeatedAction, n as subjectiveEval } from './control-runtime-Acf9CGhw.js';
13
- import { F as FailureClass, h as BudgetSpec, B as BudgetLedgerEntry, R as Run, L as LlmSpan } from './schema-m0gsnbt3.js';
14
- export { A as Artifact, E as EventKind, i as FAILURE_CLASSES, G as GenericSpan, J as JudgeSpan, M as Message, d as RetrievalSpan, g as RunLayer, f as RunStatus, e as SandboxSpan, S as Span, j as SpanBase, c as SpanKind, k as SpanStatus, l as TRACE_SCHEMA_VERSION, T as ToolSpan, a as TraceEvent, m as isJudgeSpan, n as isLlmSpan, o as isRetrievalSpan, p as isSandboxSpan, q as isToolSpan } from './schema-m0gsnbt3.js';
15
+ import { F as FailureClass, T as ToolSpan, h as BudgetSpec, B as BudgetLedgerEntry, R as Run, L as LlmSpan } from './schema-m0gsnbt3.js';
16
+ export { A as Artifact, E as EventKind, i as FAILURE_CLASSES, G as GenericSpan, J as JudgeSpan, M as Message, d as RetrievalSpan, g as RunLayer, f as RunStatus, e as SandboxSpan, S as Span, j as SpanBase, c as SpanKind, k as SpanStatus, l as TRACE_SCHEMA_VERSION, a as TraceEvent, m as isJudgeSpan, n as isLlmSpan, o as isRetrievalSpan, p as isSandboxSpan, q as isToolSpan } from './schema-m0gsnbt3.js';
15
17
  import { A as AgentEvalError, J as JudgeError, a as ConfigError } from './errors-CzMUYo7b.js';
16
18
  export { b as AgentEvalErrorCode, C as CaptureIntegrityError, N as NotFoundError, R as ReplayError, V as ValidationError, c as VerificationError } from './errors-CzMUYo7b.js';
17
19
  import { b as FeedbackLabel, F as FeedbackTrajectoryStore, a as FeedbackTrajectory } from './feedback-trajectory-BxY0cKfs.js';
18
20
  export { c as FeedbackArtifactType, d as FeedbackAttempt, e as FeedbackLabelKind, f as FeedbackLabelSource, g as FeedbackOptimizerRow, h as FeedbackOutcome, i as FeedbackReplayAdapter, j as FeedbackReplayResult, k as FeedbackSeverity, l as FeedbackSplitPolicy, m as FeedbackTask, n as FeedbackTrajectoryFilter, o as FileSystemFeedbackTrajectoryStore, I as InMemoryFeedbackTrajectoryStore, P as PreferenceMemoryEntry, p as ProposedSideEffect, q as assignFeedbackSplit, r as controlRunToFeedbackTrajectory, s as createFeedbackTrajectory, t as feedbackTrajectoriesToDatasetScenarios, u as feedbackTrajectoriesToOptimizerRows, v as feedbackTrajectoryToDatasetScenario, w as feedbackTrajectoryToOptimizerRow, x as parseFeedbackTrajectoriesJsonl, y as renderPreferenceMemoryMarkdown, z as replayFeedbackTrajectories, A as replayFeedbackTrajectory, B as serializeFeedbackTrajectoriesJsonl, C as summarizePreferenceMemory, D as withAssignedFeedbackSplit } from './feedback-trajectory-BxY0cKfs.js';
19
- import { b as CorrectnessChecker } from './pre-registration-CMm8cvrh.js';
20
- export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-CMm8cvrh.js';
21
+ import { b as CorrectnessChecker } from './pre-registration-DB8oDqZJ.js';
22
+ export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-DB8oDqZJ.js';
21
23
  export { DataAcquisitionPlan, KnowledgeAcquisitionMode, KnowledgeBundle, KnowledgeFallbackPolicy, KnowledgeFreshness, KnowledgeImportance, KnowledgeReadinessReport, KnowledgeRecommendedAction, KnowledgeRequirement, KnowledgeRequirementCategory, KnowledgeResponsibleSurface, KnowledgeSensitivity, ScoreKnowledgeReadinessOptions, UserQuestion, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, knowledgeReadinessTracePayload, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from './knowledge/index.js';
22
- import { h as ReleaseConfidenceThresholds, f as ReleaseConfidenceScorecard } from './release-report-pidWUMZ2.js';
23
- export { A as ActionableSideInfo, o as AsiSeverity, B as BootstrapOptions, a as BootstrapResult, J as JudgeReplayGateArgs, R as ReleaseConfidenceAxis, b as ReleaseConfidenceAxisName, c as ReleaseConfidenceInput, d as ReleaseConfidenceIssue, e as ReleaseConfidenceMetrics, g as ReleaseConfidenceStatus, i as ReleaseTraceEvidence, j as RenderReleaseReportOptions, V as Verdict, k as assertReleaseConfidence, l as bootstrapCi, m as evaluateReleaseConfidence, n as judgeReplayGate, r as renderReleaseReport } from './release-report-pidWUMZ2.js';
24
+ import { h as ReleaseConfidenceThresholds, f as ReleaseConfidenceScorecard } from './release-report-B1tA6pKu.js';
25
+ export { A as ActionableSideInfo, o as AsiSeverity, B as BootstrapOptions, a as BootstrapResult, J as JudgeReplayGateArgs, R as ReleaseConfidenceAxis, b as ReleaseConfidenceAxisName, c as ReleaseConfidenceInput, d as ReleaseConfidenceIssue, e as ReleaseConfidenceMetrics, g as ReleaseConfidenceStatus, i as ReleaseTraceEvidence, j as RenderReleaseReportOptions, V as Verdict, k as assertReleaseConfidence, l as bootstrapCi, m as evaluateReleaseConfidence, n as judgeReplayGate, r as renderReleaseReport } from './release-report-B1tA6pKu.js';
24
26
  export { c as CliffsMagnitude, d as CorpusAgreementOptions, e as CorpusAgreementPerDimension, C as CorpusAgreementReport, f as CorpusScoreRecord, g as EProcess, h as EProcessOptions, E as EProcessState, i as EProcessStep, M as McNemarResult, P as PairedBootstrapOptions, a as PairedBootstrapResult, j as ProportionInterval, R as RiskDifferenceResult, W as WeightedCompositeInput, k as WeightedCompositeResult, b as benjaminiHochberg, l as bonferroni, m as cliffsDelta, n as cohensD, o as confidenceInterval, q as corpusInterRaterAgreement, r as corpusInterRaterAgreementFromJudgeScores, s as eProcess, t as interRaterReliability, u as interpretCliffs, v as mannWhitneyU, x as mcnemar, y as mcnemarPower, z as mcnemarRequiredN, A as mulberry32, B as normalizeScores, p as pairedBootstrap, D as pairedMde, F as pairedRiskDifference, G as pairedTTest, H as partialCredit, I as passAtK, J as pearsonR, K as ranks, L as requiredSampleSize, N as spearmanR, O as weightedComposite, Q as weightedMean, w as wilcoxonSignedRank, S as wilson } from './statistics-xP-cWc5k.js';
25
27
  import { OtelExporter, OtelExportConfig } from './traces.js';
26
28
  export { CaptureFetchContext, CaptureFetchOptions, ExportableSpan, ExtractedUsage, FlattenOtlpOptions, LLM_CACHED_TOKENS, LLM_CACHED_TOKEN_ATTR_KEYS, LLM_COST_ATTR_KEYS, LLM_COST_USD, LLM_INPUT_TOKENS, LLM_INPUT_TOKEN_ATTR_KEYS, LLM_MODEL_ATTR_KEYS, LLM_MODEL_NAME, LLM_OUTPUT_TOKENS, LLM_OUTPUT_TOKEN_ATTR_KEYS, OPENINFERENCE_SPAN_KIND, OTEL_AGENT_EVAL_SCOPE, OtlpExport, OtlpFileTraceStore, OtlpFileTraceStoreOptions, OtlpFlatLine, OtlpResourceSpans, OtlpSpan, OtlpToRunRecordsOptions, OtlpTraceRunRecord, ProjectedOtlpSpan, ReplayCache, ReplayCacheEntry, ReplayCacheMissError, ReplayCacheStats, ReplayFetchOptions, SPAN_KIND_ATTR_KEYS, SpanNotFoundError, TOOL_NAME, TOOL_NAME_ATTR_KEYS, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_SUBAGENT_DESCRIPTION, TraceAggregate, TraceAnalystHookOptions, TraceFileMissingError, TraceInsightContext, TraceInsightFinding, TraceInsightPanelRole, TraceInsightPromptInput, TraceInsightQualityGate, TraceInsightQuestion, TraceInsightReadiness, TraceInsightSuite, TraceInsightTask, TraceNotFoundError, TraceStoreSource, TraceStoreToOtlpOptions, TracesToOtlpResult, asNumber, asString, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, captureFetchToRawSink, convertTraceStoresToOtlp, createOtelExporter, createOtelTracingStore, createReplayFetch, defaultTraceInsightPanel, describeTraceInsightScope, domainEvidencePattern, exportRunAsOtlp, extractOtlpAttributes, extractUsage, extractUsageFromResponse, extractUsageFromSse, firstNumberAttr, firstStringAttr, flattenOtlpExportToNdjson, inferDomainKeywords, inferOtlpKind, iterateRawCalls, otelRunCompleteHook, otlpToRunRecords, otlpToTraceRunRecords, planTraceInsightQuestions, projectOtlpFlatLine, readOtlpStatus, scoreTraceInsightReadiness, stringField, tokenizeDomainWords, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceSpanKindToOpenInferenceKind } from './traces.js';
27
29
  import { a as AnalyzeTracesInput, A as AnalyzeTracesOptions, b as AnalyzeTracesResult } from './analyst-C8HHvfJp.js';
28
30
  export { c as AnalyzeTracesTurnSnapshot, d as analyzeTraces } from './analyst-C8HHvfJp.js';
29
- export { D as DEFAULT_TRACE_ANALYST_BUDGETS, b as DatasetOverview, E as ErrorCluster, Q as QueryTracesPage, S as SearchSpanResult, c as SearchTraceResult, d as SpanMatchRecord, e as TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, T as TraceAnalysisStore, f as TraceAnalystByteBudgets, g as TraceAnalystFilters, a as TraceAnalystSpan, h as TraceAnalystSpanKind, i as TraceAnalystSpanStatus, j as TraceAnalystTraceSummary, V as ViewSpansResult, k as ViewTraceOversized, l as ViewTraceResult } from './store-C1YxJDEK.js';
30
- import { a as JudgeConfig, S as Scenario$1, g as Gate, J as JudgeScore } from './types-BTI16iFl.js';
31
- import { A as AnalyzeRunsOptions } from './analyze-runs-DtT6F_6T.js';
31
+ import { a as TraceAnalystSpan } from './store-C1YxJDEK.js';
32
+ export { D as DEFAULT_TRACE_ANALYST_BUDGETS, b as DatasetOverview, E as ErrorCluster, Q as QueryTracesPage, S as SearchSpanResult, c as SearchTraceResult, d as SpanMatchRecord, e as TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, T as TraceAnalysisStore, f as TraceAnalystByteBudgets, g as TraceAnalystFilters, h as TraceAnalystSpanKind, i as TraceAnalystSpanStatus, j as TraceAnalystTraceSummary, V as ViewSpansResult, k as ViewTraceOversized, l as ViewTraceResult } from './store-C1YxJDEK.js';
33
+ import { a as JudgeConfig, J as JudgeScore, S as Scenario$1, g as Gate } from './types-Cv1bo4_a.js';
34
+ import { A as AnalyzeRunsOptions } from './analyze-runs-BlJRBniC.js';
32
35
  import { S as SteeringBundle } from './harness-optimizer-mOl9XX_O.js';
33
36
  export { D as DEFAULT_HARNESS_OBJECTIVES, H as HarnessAdapter, a as HarnessExperimentConfig, b as HarnessExperimentResult, c as HarnessIntervention, d as HarnessRunRequest, e as HarnessRunResult, f as HarnessScenario, g as HarnessSelection, h as HarnessVariant, i as HarnessVariantReport, M as MeasurementPolicy, j as SteeringDelta, k as SteeringRolePrompt, W as WorkflowTopology, m as mergeSteeringBundle, r as renderSteeringText, l as runHarnessExperiment, s as selectHarnessVariant, n as summarizeHarnessResults } from './harness-optimizer-mOl9XX_O.js';
34
37
  import { S as SandboxDriver, H as HarnessConfig, a as SandboxHarnessResult } from './test-graded-scenario-DeODGLra.js';
@@ -44,7 +47,7 @@ export { D as DEFAULT_REDACTION_RULES, b as REDACTION_VERSION, a as RedactionRep
44
47
  import { T as TraceStore, R as RunFilter } from './store-BcFXE6LG.js';
45
48
  export { E as EventFilter, F as FileSystemTraceStore, a as FileSystemTraceStoreOptions, I as InMemoryTraceStore, S as SpanFilter } from './store-BcFXE6LG.js';
46
49
  export { D as DEFAULT_FAILURE_RULES, b as FailureClassification, c as FailureContext, d as FailureRule, e as classifyFailure } from './failure-cluster-DH9Flgcf.js';
47
- export { P as ProjectRuntimeTrajectoryEvidenceOptions, a as RuntimeTrajectoryEvidenceProjection, b as RuntimeTrajectoryEvidenceSummary, c as RuntimeTrajectoryHookEvent, R as RuntimeTrajectoryRecord, d as RuntimeTrajectoryRunRecord, p as parseRuntimeTrajectoryHookEvent, e as projectRuntimeTrajectoryEvidence } from './runtime-trajectory-BOUUjI0y.js';
50
+ export { P as ProjectRuntimeTrajectoryEvidenceOptions, a as RuntimeTrajectoryEvidenceProjection, b as RuntimeTrajectoryEvidenceSummary, c as RuntimeTrajectoryHookEvent, R as RuntimeTrajectoryRecord, d as RuntimeTrajectoryRunRecord, p as parseRuntimeTrajectoryHookEvent, e as projectRuntimeTrajectoryEvidence } from './runtime-trajectory-OJDaTYHN.js';
48
51
  import { a as BaselineReport } from './baseline-Bbid3WoO.js';
49
52
  export { B as BaselineOptions, M as MetricSamples, b as MetricVerdict, T as ToolStats, d as ToolUseMetrics, e as ToolUseOptions, f as compareToBaseline, c as computeToolUseMetrics, i as iqr, w as welchsTTest } from './baseline-Bbid3WoO.js';
50
53
  import { a as TrajectoryStep, T as Trajectory } from './trajectory-2TkpSEVh.js';
@@ -67,16 +70,16 @@ import { b as Layer, S as Severity, L as LayerResult, c as VerifyContext } from
67
70
  export { F as Finding, d as LayerStatus, M as MultiLayerVerifier, a as VerificationReport, V as VerifyOptions, g as gradeSemanticStatus } from './multi-layer-verifier-DUZXrPDA.js';
68
71
  import { L as LlmClientOptions } from './llm-client-Bj7g0rqu.js';
69
72
  export { d as LlmCallError, b as LlmCallRequest, c as LlmCallResult, e as LlmClient, f as LlmMessage, g as LlmRouteAssertionError, a as LlmRouteRequirements, h as LlmUsage, i as assertLlmRoute, j as backoffMs, k as callLlm, l as callLlmJson, m as isTransientLlmError, p as probeLlm, s as stripFencedJson } from './llm-client-Bj7g0rqu.js';
70
- export { B as BENCHMARK_SPLIT_SEED, a as BenchmarkAdapter, b as BenchmarkDatasetItem, c as BenchmarkEvaluation, d as benchmarkDeterministicSplit, i as benchmarks } from './index-_Y4oNOOb.js';
71
- export { C as CallbackResearcher, d as CallbackResearcherOptions, e as CampaignFactoryParams, f as CampaignIntegrityPolicy, g as CampaignRunContext, h as CampaignRunOutcome, i as CampaignRunner, j as CampaignScenario, k as CampaignVariant, c as EvalCampaignOptions, b as EvalCampaignResult, E as ExperimentPlan, a as ExperimentResult, l as FailedRun, F as FailureMode, N as NoopResearcher, R as Researcher, S as SteeringChange, r as runEvalCampaign } from './researcher-Jr8ME1dZ.js';
72
- export { G as GainDistributionBin, a as GainDistributionFigureSpec, b as GainDistributionOptions, m as GateDecision, n as GateEvidence, H as HeldOutGate, o as HeldOutGateConfig, q as HeldOutGateRejectionCode, P as ParetoFigureSpec, c as ParetoPoint, R as RESEARCH_REPORT_HARD_PAIR_FLOOR, d as ResearchReport, e as ResearchReportCandidate, f as ResearchReportDecision, g as ResearchReportMethodology, h as ResearchReportOptions, i as ResearchReportRecommendation, S as SummaryTable, j as SummaryTableOptions, k as SummaryTableRow, l as gainHistogram, p as paretoChart, r as researchReport, s as summaryTable } from './summary-report-CInXwsza.js';
73
+ export { B as BENCHMARK_SPLIT_SEED, a as BenchmarkAdapter, b as BenchmarkDatasetItem, c as BenchmarkEvaluation, d as benchmarkDeterministicSplit, i as benchmarks } from './index-W96macmS.js';
74
+ export { C as CallbackResearcher, d as CallbackResearcherOptions, e as CampaignFactoryParams, f as CampaignIntegrityPolicy, g as CampaignRunContext, h as CampaignRunOutcome, i as CampaignRunner, j as CampaignScenario, k as CampaignVariant, c as EvalCampaignOptions, b as EvalCampaignResult, E as ExperimentPlan, a as ExperimentResult, l as FailedRun, F as FailureMode, N as NoopResearcher, R as Researcher, S as SteeringChange, r as runEvalCampaign } from './researcher-Ba2y1Foi.js';
75
+ export { G as GainDistributionBin, a as GainDistributionFigureSpec, b as GainDistributionOptions, m as GateDecision, n as GateEvidence, H as HeldOutGate, o as HeldOutGateConfig, q as HeldOutGateRejectionCode, P as ParetoFigureSpec, c as ParetoPoint, R as RESEARCH_REPORT_HARD_PAIR_FLOOR, d as ResearchReport, e as ResearchReportCandidate, f as ResearchReportDecision, g as ResearchReportMethodology, h as ResearchReportOptions, i as ResearchReportRecommendation, S as SummaryTable, j as SummaryTableOptions, k as SummaryTableRow, l as gainHistogram, p as paretoChart, r as researchReport, s as summaryTable } from './summary-report-C4uzRWh8.js';
73
76
  export { L as LockedJsonlAppender } from './testing-C21CHsq2.js';
74
77
  export { I as InterimReleaseConfidence, a as InterimReleaseConfidenceInput, P as PairedEvalueOptions, b as PairedEvalueSequence, c as PairedEvalueStep, S as SequentialDecision, e as evaluateInterimReleaseConfidence, p as pairedEvalueSequence } from './sequential-5iSVfzl2.js';
75
- import { e as GepaProposerConstraints, b as RunImprovementLoopResult } from './gepa-H6mlM0KN.js';
78
+ import { e as GepaProposerConstraints, b as RunImprovementLoopResult } from './gepa-BRgNnmGZ.js';
76
79
  export { IntegrityResult, IntegrityViolation, JourneySpec, PerfBaseline, PerfGateResult, PerfRegression, PerfScenario, PerfStat, ScenarioAxes, assertRecordIntegrity, checkRecordIntegrity, expandMatrix, gatePerf, scenarioKey, summarizeRecords } from './perf/index.js';
77
80
  import '@ax-llm/ax';
78
81
  import 'zod';
79
- import './insight-report-BnRjTibG.js';
82
+ import './insight-report-C02J3q4T.js';
80
83
  import './outcome-store-rnXLEqSn.js';
81
84
 
82
85
  /**
@@ -991,6 +994,115 @@ declare function formatDriverReport(results: DriverResult[]): string;
991
994
  /** Print a compact summary to console */
992
995
  declare function printDriverSummary(results: DriverResult[]): void;
993
996
 
997
+ /**
998
+ * Treatment-applied gate — "did the treatment's tool actually fire this run?"
999
+ *
1000
+ * A tool-treatment A/B (mount a search provider, a browser, a code-exec
1001
+ * sandbox, a retrieval MCP — anything one arm gets and the other doesn't) only
1002
+ * means something on the treatment arm if that arm actually EXERCISED the tool.
1003
+ * A treatment run that never called the mounted tool is not a weak data point
1004
+ * — it is a NON-data-point: the manipulation never happened, so the run cannot
1005
+ * speak to the treatment and must be excluded from the objective, the same way
1006
+ * an infra-tainted run is excluded.
1007
+ *
1008
+ * This is the manipulation/validity precondition that protects the paired A/B
1009
+ * tests downstream (`mcnemar`, `pairedRiskDifference`): they must only ever see
1010
+ * runs where the treatment was applied, or they measure noise and report it as
1011
+ * an effect.
1012
+ *
1013
+ * Shape mirrors `authenticity`'s `gateRealness`: a pure predicate over already-
1014
+ * computed signals, with explicit fail-open/fail-closed discipline. It is not a
1015
+ * trace parser — the tool-call telemetry it reads is the deterministic
1016
+ * `toolHistogram` that `computeTraceMetrics(spans)` already produces (OTLP
1017
+ * tool-name extraction via `TOOL_NAME_ATTR_KEYS`), or the `ToolSpan[]` a
1018
+ * `toolSpans(store, runId)` query returns. The gate never re-derives either.
1019
+ *
1020
+ * General by construction:
1021
+ * - The "which tool counts as the treatment" decision is a `matches` PARAMETER
1022
+ * — a `(toolName: string) => boolean`. There is no `search`/`web`/`fetch`
1023
+ * literal anywhere in this module; a search A/B passes its own matcher.
1024
+ * - The "is THIS run a treatment arm (vs a control)" decision is the caller's
1025
+ * policy and stays at the call site. The gate only answers the narrower,
1026
+ * domain-free question: "given this run's telemetry, did a matching tool
1027
+ * fire?" — so it generalizes to any tool-treatment, not search.
1028
+ *
1029
+ * Fail-open on telemetry absence: when NO tool calls were captured at all
1030
+ * (`sum(toolHistogram) === 0`), the gate cannot distinguish "the agent used no
1031
+ * tools" from "this harness's tool calls weren't recorded". Quarantining on a
1032
+ * telemetry gap would silently delete real runs, so the default is
1033
+ * applied=true / gated=false. Pass `failOpenWhenNoTelemetry: false` to flip to
1034
+ * fail-closed for harnesses where tool capture is guaranteed.
1035
+ */
1036
+
1037
+ /** A tool-name matcher: does this tool name belong to the treatment under test?
1038
+ * The caller supplies it — the substrate ships no `search` (or any) literal. */
1039
+ type ToolMatcher = (toolName: string) => boolean;
1040
+ interface TreatmentGateInput {
1041
+ /** Tool-call counts by tool name — exactly `computeTraceMetrics(spans).toolHistogram`.
1042
+ * The gate consumes this; it does not parse spans itself. */
1043
+ toolHistogram: Readonly<Record<string, number>>;
1044
+ /** Which tool names count as the treatment firing. A parameter, never baked in. */
1045
+ matches: ToolMatcher;
1046
+ }
1047
+ interface TreatmentGateOptions {
1048
+ /** When the histogram is empty (no tool telemetry captured), treat the run as
1049
+ * applied rather than quarantining it. Default true — a telemetry gap must
1050
+ * never be mistaken for "treatment not applied". Set false only when tool
1051
+ * capture is guaranteed for this harness. */
1052
+ failOpenWhenNoTelemetry?: boolean;
1053
+ }
1054
+ interface TreatmentGate {
1055
+ /** True iff the treatment's tool is considered to have fired this run. False
1056
+ * ONLY when telemetry was present and no matching call appears. */
1057
+ applied: boolean;
1058
+ /** Objective-exclusion flag, parallel to `outcome.realness.gated`: a gated run
1059
+ * is dropped from the objective denominator and reported as
1060
+ * treatment-not-applied (like infra-loss). `gated === !applied`. */
1061
+ gated: boolean;
1062
+ reason?: string;
1063
+ /** How many recorded tool calls matched the treatment matcher. */
1064
+ matchedCalls: number;
1065
+ /** Total recorded tool calls (`sum(toolHistogram)`) — 0 means no telemetry. */
1066
+ observedTools: number;
1067
+ }
1068
+ /**
1069
+ * Core predicate. Gated (treatment-not-applied) ONLY when telemetry was
1070
+ * captured AND zero matching calls appear; an empty histogram fails open.
1071
+ */
1072
+ declare function gateTreatmentApplied(input: TreatmentGateInput, opts?: TreatmentGateOptions): TreatmentGate;
1073
+ /**
1074
+ * Convenience: gate from an already-computed `BehavioralMetrics` (the common
1075
+ * case — analysts already hold `computeTraceMetrics(spans)` for the run). Reads
1076
+ * the metrics' `toolHistogram`; does no re-derivation.
1077
+ */
1078
+ declare function gateTreatmentFromMetrics(metrics: Pick<BehavioralMetrics, 'toolHistogram'>, matches: ToolMatcher, opts?: TreatmentGateOptions): TreatmentGate;
1079
+ /**
1080
+ * Convenience: gate directly from analyst spans, reusing the substrate's
1081
+ * deterministic histogram builder. For callers holding the trace store's typed
1082
+ * `ToolSpan[]` instead, see {@link gateTreatmentFromToolSpans}.
1083
+ */
1084
+ declare function gateTreatmentFromSpans(spans: readonly TraceAnalystSpan[], matches: ToolMatcher, opts?: TreatmentGateOptions): TreatmentGate;
1085
+ /**
1086
+ * Convenience: gate from the trace store's canonical `ToolSpan[]` (e.g. the
1087
+ * result of `toolSpans(store, runId)`). Counts by `toolName` — the typed
1088
+ * tool-call field — so it needs no OTLP attribute extraction.
1089
+ */
1090
+ declare function gateTreatmentFromToolSpans(toolSpans: readonly ToolSpan[], matches: ToolMatcher, opts?: TreatmentGateOptions): TreatmentGate;
1091
+ /** Measurable runs count toward the objective; treatment-not-applied runs are
1092
+ * excluded (like infra-loss), NOT counted as treatment failures. This is a
1093
+ * partition over the existing exclusion-flag pattern — it adds no new
1094
+ * classification enum. */
1095
+ type TreatmentClass = 'measurable' | 'treatment-not-applied';
1096
+ /**
1097
+ * Map a gate verdict onto a single measurable-vs-excluded label keyed on a
1098
+ * `RunRecord`, so consumers (paired A/B filters, reporters) read the partition
1099
+ * in one place instead of re-implementing the fail-open guard inline. The
1100
+ * `RunRecord` is accepted so callers key on the canonical run row, mirroring
1101
+ * how `outcome.realness.gated` rides along on the record; the verdict itself is
1102
+ * the gate's, not re-derived here.
1103
+ */
1104
+ declare function classifyTreatment(_record: RunRecord, gate: TreatmentGate): TreatmentClass;
1105
+
994
1106
  /**
995
1107
  * Anti-slop quality judge.
996
1108
  *
@@ -1655,6 +1767,208 @@ declare class BudgetGuard {
1655
1767
  get state(): Record<keyof BudgetSpec, number>;
1656
1768
  }
1657
1769
 
1770
+ /**
1771
+ * Hidden-criteria grading firewall — grade an agent on criteria it never saw.
1772
+ *
1773
+ * A trustworthy benchmark splits every scenario's data by WHERE each field is
1774
+ * allowed to flow, then proves the held-out / judge-only fields never reach the
1775
+ * agent during the run. The coding bench expresses this with four destinations
1776
+ * (prompt / develop-against / held-out suite / rubric); this module lifts the
1777
+ * domain-FREE core out of it so research, legal, tax, content — any domain —
1778
+ * can declare the same routing and get the same firewall enforcement and the
1779
+ * same held-out-weighted composite, plugging in its OWN grader.
1780
+ *
1781
+ * Two reusable pieces, both domain-agnostic:
1782
+ *
1783
+ * 1. FIELD ROUTING BY DESTINATION. A scenario declares each field's
1784
+ * `FieldDestination`; `assertNoHiddenLeak` is a pure checker that throws if
1785
+ * a grading-only or judge-only field's value appears in what reaches the
1786
+ * agent. The domain decides which fields exist and where they go — the
1787
+ * substrate only enforces "hidden stays hidden".
1788
+ *
1789
+ * 2. HIDDEN-CRITERIA GRADING. The domain supplies its own grader
1790
+ * `(artifact, hiddenCriteria) => { passRate, total }` — the coding
1791
+ * node-test executor is ONE such grader a consumer plugs in; the substrate
1792
+ * bakes in NO node/test/TS/exec/regex. `gradeOnHidden` runs that grader
1793
+ * behind the firewall and `blendHeldout` composes its pass rate with a
1794
+ * judge score into the final number the leaderboard ranks on.
1795
+ *
1796
+ * Shape mirrors `treatment-gate`/`authenticity`: pure predicates and pure
1797
+ * composition over already-computed values, fail-loud, with the
1798
+ * "which field / which weight / which grader" decisions left as parameters and
1799
+ * no domain literal anywhere in the module.
1800
+ *
1801
+ * Lives next to `test-graded-scenario` and `partition-held-out` — it is a
1802
+ * scorecard/grading concept that makes sense without a running agent loop.
1803
+ */
1804
+
1805
+ /**
1806
+ * Where one scenario field is allowed to flow. The firewall guarantee is keyed
1807
+ * on this tag, not on a field name — a domain can have any number of fields per
1808
+ * destination.
1809
+ *
1810
+ * - `agent-visible` reaches the agent's context during the run (the prompt,
1811
+ * the task statement — what the agent reads to act).
1812
+ * - `develop-against` seeded into the agent's environment during the run so it
1813
+ * can iterate (a visible example/test/reference). The
1814
+ * agent MAY read it — that is intentional (real TDD). Not
1815
+ * a leak: it is example-grade, not the grading criteria.
1816
+ * - `grading-only` the hidden criteria. Used ONLY at grading, after the run
1817
+ * — the held-out suite / answer key / hidden requirements.
1818
+ * Must NEVER reach the agent context. This is what makes a
1819
+ * good score un-memorizable.
1820
+ * - `judge-only` grading context for the judge only (rubric anchors,
1821
+ * design intent). Lives with the judge, never in the agent
1822
+ * context.
1823
+ */
1824
+ type FieldDestination = 'agent-visible' | 'develop-against' | 'grading-only' | 'judge-only';
1825
+ /** True for the destinations whose values must never reach the agent context. */
1826
+ declare function isHiddenDestination(destination: FieldDestination): boolean;
1827
+ /**
1828
+ * A scenario's fields routed by destination. The domain owns the field set
1829
+ * (`TFields` — a record of its named fields to their string-renderable values)
1830
+ * and declares one `FieldDestination` per field. `routeFields` builds this from
1831
+ * a domain's `(value, destination)` map; the firewall reads it.
1832
+ */
1833
+ interface RoutedField {
1834
+ /** The field's name — for diagnostics only. */
1835
+ name: string;
1836
+ /** The field's value as it would be rendered into text. The firewall compares
1837
+ * this against the agent context, so a domain that ships structured data
1838
+ * passes a stable string projection (e.g. JSON) of the hidden value. */
1839
+ value: string;
1840
+ destination: FieldDestination;
1841
+ }
1842
+ /**
1843
+ * Route a domain's named fields by destination into the firewall's input shape.
1844
+ * The `routing` declares each field's destination; the `values` carry each
1845
+ * field's renderable string. A field present in `routing` but missing from
1846
+ * `values` is an authoring error (fail loud) — every routed field must have a
1847
+ * value the firewall can check.
1848
+ */
1849
+ declare function routeFields<TName extends string>(routing: Readonly<Record<TName, FieldDestination>>, values: Readonly<Record<TName, string>>): RoutedField[];
1850
+ /** A single detected leak: a hidden field whose value appears in the agent context. */
1851
+ interface HiddenLeak {
1852
+ field: string;
1853
+ destination: FieldDestination;
1854
+ }
1855
+ interface NoLeakOptions {
1856
+ /** Minimum hidden-value length to check. A hidden value shorter than this is
1857
+ * skipped — a one-word or empty hidden field would substring-match innocuous
1858
+ * prose and is not meaningful evidence of a leak. Default 12. */
1859
+ minMatchLength?: number;
1860
+ }
1861
+ /**
1862
+ * The FIREWALL. Throws `ValidationError` if any `grading-only`/`judge-only`
1863
+ * field's value is found inside `agentContext` — the exact text that reaches the
1864
+ * agent during the run (its prompt, its seeded files concatenated, whatever the
1865
+ * caller assembled). `agent-visible` and `develop-against` fields are never
1866
+ * checked: they are meant to be there.
1867
+ *
1868
+ * Substring containment is the check: it is domain-free and catches the failure
1869
+ * that matters — a hidden answer key, held-out case, or rubric anchor pasted
1870
+ * into the prompt. Returns the routed fields on success so a caller can chain.
1871
+ */
1872
+ declare function assertNoHiddenLeak(fields: readonly RoutedField[], agentContext: string, opts?: NoLeakOptions): readonly RoutedField[];
1873
+ /** Collect the values a domain may safely render into the agent context — the
1874
+ * `agent-visible` (and, by intent, `develop-against`) fields — so a caller can
1875
+ * ASSEMBLE the context from the routing rather than hand-picking fields and
1876
+ * risking a slip. `develop-against` is included because it is seeded into the
1877
+ * agent's environment during the run on purpose. */
1878
+ declare function agentVisibleFields(fields: readonly RoutedField[]): RoutedField[];
1879
+ /** What a hidden-criteria grader reports. `passRate = passed / total` over the
1880
+ * hidden checks; `total === 0` means the criteria never ran (e.g. the artifact
1881
+ * did not even load) — an honest zero, never a spurious pass. */
1882
+ interface HiddenGradeResult {
1883
+ /** Hidden checks that passed. */
1884
+ passed: number;
1885
+ /** Total hidden checks attempted. 0 when the criteria could not run at all. */
1886
+ total: number;
1887
+ /** `passed / total`, or 0 when `total === 0`. The PRIMARY correctness score. */
1888
+ passRate: number;
1889
+ /** Free-form provenance the caller may record (runner output, reason for 0). */
1890
+ notes?: string;
1891
+ }
1892
+ /**
1893
+ * The domain's grader: given the agent's artifact and the HIDDEN criteria,
1894
+ * return a pass rate. This is the ONE seam a non-coding domain implements — the
1895
+ * coding node-test executor is a single implementation of it; a legal grader
1896
+ * checks the brief against hidden required holdings, a research grader checks an
1897
+ * answer against held-out facts, a tax grader runs hidden return assertions.
1898
+ * The substrate calls it ONLY at grading time, behind the firewall.
1899
+ *
1900
+ * `THidden` is the domain's hidden-criteria payload (the held-out suite, the
1901
+ * answer key, the hidden requirements) — opaque to the substrate.
1902
+ */
1903
+ type HiddenCriteriaGrader<TArtifact, THidden> = (artifact: TArtifact, hiddenCriteria: THidden, signal?: AbortSignal) => Promise<HiddenGradeResult> | HiddenGradeResult;
1904
+ /** Normalize a grader's raw `{passed, total}` into a `HiddenGradeResult` with a
1905
+ * consistent, fail-loud `passRate` — the canonical "honest zero on no-run"
1906
+ * rule, single-sourced so every domain grader gets it. */
1907
+ declare function hiddenGrade(passed: number, total: number, notes?: string): HiddenGradeResult;
1908
+ /**
1909
+ * Run a domain's hidden-criteria grader behind the firewall. Before grading, it
1910
+ * re-asserts the firewall against the agent context the run actually used —
1911
+ * proving (at grading time, on real data) that the hidden criteria never
1912
+ * reached the agent — then invokes the grader and returns its pass rate. A
1913
+ * domain that wants the firewall and the grader wired together in one call uses
1914
+ * this; a domain that already asserted the firewall at dispatch time can call
1915
+ * its grader directly and feed the result to `blendHeldout`.
1916
+ */
1917
+ declare function gradeOnHidden<TArtifact, THidden>(args: {
1918
+ artifact: TArtifact;
1919
+ hiddenCriteria: THidden;
1920
+ grader: HiddenCriteriaGrader<TArtifact, THidden>;
1921
+ /** The routed fields + the exact agent context, re-checked before grading. */
1922
+ firewall: {
1923
+ fields: readonly RoutedField[];
1924
+ agentContext: string;
1925
+ options?: NoLeakOptions;
1926
+ };
1927
+ signal?: AbortSignal;
1928
+ }): Promise<HiddenGradeResult>;
1929
+ /** Weights for the held-out / judge blend. Must be finite and non-negative;
1930
+ * they are renormalized to sum to 1 so a caller can pass any positive ratio. */
1931
+ interface BlendWeights {
1932
+ /** Weight on the hidden-criteria pass rate (the primary, ungameable score). */
1933
+ heldout: number;
1934
+ /** Weight on the judge's quality composite (the secondary style/quality score). */
1935
+ judge: number;
1936
+ }
1937
+ /** Default blend: 0.7 hidden correctness, 0.3 judge quality. The coding bench's
1938
+ * long-standing split — execution truth dominates, style refines. */
1939
+ declare const defaultBlendWeights: BlendWeights;
1940
+ /** The input shape a judge's `score` receives — exactly `JudgeConfig.score`'s
1941
+ * argument: the artifact, plus any scenario/signal fields the judge carries.
1942
+ * `withHeldoutBlend` only reads `artifact`; the rest rides through. */
1943
+ interface JudgeScoreInput<TArtifact> {
1944
+ artifact: TArtifact;
1945
+ /** Pass-through for the judge's extra input fields (scenario, signal). */
1946
+ [key: string]: unknown;
1947
+ }
1948
+ /**
1949
+ * Compose the PRIMARY hidden-criteria pass rate with the SECONDARY judge
1950
+ * composite into the single score the leaderboard ranks on. Weights are
1951
+ * renormalized, so a solution that fails the hidden criteria is capped low no
1952
+ * matter how the judge felt about its style, while a stylistically-mediocre but
1953
+ * CORRECT solution still earns the bulk of the points. Both inputs are clamped
1954
+ * to [0,1] — a judge on a non-unit scale must be normalized by the caller first.
1955
+ */
1956
+ declare function blendHeldout(heldoutPassRate: number, judgeScore: number, weights?: BlendWeights): number;
1957
+ /**
1958
+ * Wrap a judge's `score` so the `composite` it REPORTS is the held-out-weighted
1959
+ * blend. The judge still scores its quality dimensions (recorded, secondary),
1960
+ * but the composite that downstream selection/scorecard reads becomes
1961
+ * `blendHeldout(heldoutPassRate(artifact), judgeComposite, weights)`. The held-
1962
+ * out pass rate is read off the artifact via `heldoutPassRate` — already
1963
+ * computed before the judge runs — so no second grading pass is needed.
1964
+ *
1965
+ * Generic over the artifact type, inferred from `heldoutPassRate`, so it
1966
+ * composes with both a `campaign` `JudgeConfig.score` and a bare scoring
1967
+ * function. The input is the judge's `{ artifact, ... }` — any extra fields
1968
+ * (`scenario`, `signal`) ride through untouched via the index signature.
1969
+ */
1970
+ declare function withHeldoutBlend<TArtifact>(score: (input: JudgeScoreInput<TArtifact>) => JudgeScore | Promise<JudgeScore>, heldoutPassRate: (artifact: TArtifact) => number, weights?: BlendWeights): (input: JudgeScoreInput<TArtifact>) => Promise<JudgeScore>;
1971
+
1658
1972
  /**
1659
1973
  * Collision-resistant, path-safe, human-readable profile id for eval artifacts.
1660
1974
  * Scorecard joins still use `agentProfileHash`; this id is for run ids, matrix
@@ -5660,4 +5974,4 @@ type CachedJudge<TArtifact, TScenario extends Scenario$1 = Scenario$1> = JudgeCo
5660
5974
  */
5661
5975
  declare function cachedJudge<TArtifact, TScenario extends Scenario$1 = Scenario$1>(judge: JudgeConfig<TArtifact, TScenario>, store: VerdictCacheStore, options: CachedJudgeOptions): CachedJudge<TArtifact, TScenario>;
5662
5976
 
5663
- export { ATTESTATION_ALGORITHM, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgreementResult, type AlignmentOp, AnalyzeTracesInput, AnalyzeTracesOptions, AnalyzeTracesResult, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, type BackendDescriptor, BaselineReport, BehaviorAssertion, BenchmarkReport, BenchmarkRunner, BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, BudgetSpec, type BuildAgreementJudgeOptions, type CachedJudge, type CachedJudgeOptions, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CausalAttributionReport, type CellVerdict, ChannelRollup, ChatRequest, CheckResult, CollectedArtifacts, type CommandRunner, type CompareLabels, CompletionCriterion, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, ConvergenceTracker, CorrectnessChecker, type CostEntry, CostLedger, type CostReport, type CostSummary, CostTracker, CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, DEFAULT_AGENT_SLOS, DEFAULT_FINDERS, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffScorecardOptions, type DirEntry, type DiscoverPersonasOptions, type DiscoveredPersona, DriverResult, DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCountPattern, type ErrorStreakOptions, type EvalToolDef, EvalTraceStore, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentProvenance, type ExperimentRep, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type FactorContribution, type FactorialCell, FailureClass, FeedbackLabel, FeedbackTrajectory, FeedbackTrajectoryStore, type FieldAgreementSpec, type FileChange, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GhCliClientOptions, type GoldScenario, type GoldSplit, type GoldenSeverity, type GoldenSpec, HarnessConfig, type HeldOutPartition, HoldoutAuditor, type HttpGithubClientOptions, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JudgeError, type JudgeFamily, type JudgeFleetOptions, JudgeFn, JudgeParseError, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, JudgeRunner, type JudgeVerdict, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmClientOptions, LlmSpan, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatcherResult, type MergeOptions, MetricsCollector, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoProgressOptions, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, OtelExportConfig, OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParseStudentLabel, type PartitionHeldOutOptions, PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreflightModelsOptions, type PreflightOutcome, ProductClient, ProductClientConfig, type PromptHandle, PromptRegistry, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProvenanceReader, type RecordRunsOptions, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RenderStudentPrompt, type RepeatedActionOptions, type RepoRef, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, Run, type RunCommandInput, type RunCommandResult, type RunDistillationOptions, type RunDistillationResult, RunFilter, RunRecord, type RunRecordBackend, type RunRecordFilter, RunScore, RunScoreWeights, RunSplitTag, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type ScanOptions, Scenario, type ScenarioCost, ScenarioFile, ScenarioRegistry, ScenarioResult, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SerializedRegex, Severity, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SpanPredicate, type SplitGoldOptions, SteeringBundle, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type StepAttribution, type StreamingDetector, type SynthesisReason, type SynthesisTarget, TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type TraceContract, TraceContractBuilder, TraceEmitter, TraceStore, type TracedAnalystOptions, type TracedJudgeOptions, Trajectory, TrajectoryStep, type TrialTrace, TurnMetrics, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type VerdictCacheStats, type VerdictCacheStore, VerifyContext, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkerDriverContext, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, agentProfileHash, agentProfileId, agentProfileModelId, aggregateJudgeVerdicts, aggregatePrReviewScore, analyzeAntiSlop, appendScorecard, assertCrossFamily, assertModelsServed, assertSingleBackend, assignHeldOutTag, attachCostToReport, attest, bisect, buildAgreementJudge, buildDriverSystemPrompt, buildReflectionPrompt, buildReviewerPrompt, buildWorkerDriverSystemPrompt, cachedJudge, canaryLeakView, canonicalJson, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, codeExecutionJudge, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, compareReferenceReplay, compilerJudge, computeExperimentStats, contentHash, contractJudge, costReport, createAntiSlopJudge, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createSandboxPool, crossTraceDiff, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultJudges, defaultParseStudentLabel, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, deployGateLayer, diffScorecard, discoverPersonas, distillPlaybook, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateContract, evaluateOracles, evaluateTraceContract, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, fieldAgreement, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, ghCliClient, gitProvenanceReader, precision as goldenPrecision, hashContent, hashToUnit, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryRunRecordBackend, inMemoryVerdictCache, isModelPriced, isOtelConfigured, jsonShape, jsonlReferenceReplayStore, jsonlRunRecordBackend, judgeFamily, keyPreserved, linterJudge, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, matchGoldens, matchSpan, mergeLayerResults, modelDescriptionBits, multiToolchainLayer, noProgressDetector, notBlocked, observeAll, paraphraseRobustness, paraphraseRobustnessScenarios, parseGoldJsonl, parseReflectionResponse, partitionHeldOut, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, preflightModels, printDriverSummary, index as profile, promptBisect, proposeSynthesisTargets, recordRuns, recordRunsToScorecard, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, repeatedActionDetector, replayScorerOverCorpus, replayTraceThroughJudge, resolveModelPricing, resolveSeat, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runDistillation, runE2EWorkflow, runExpectations, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runReferenceReplay, runScore, runSelfPlay, scanForMuffledGates, scoreContinuity, scorePrReviewComments, scorePrReviewSource, scoreReferenceReplay, seatPresets, securityJudge, sentenceReorderMutator, splitGold, statusAdvanced, summarizePrReviewBenchmark, testJudge, textInSnapshot, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, traceContract, traceJudge, traceJudgeEnsemble, tracedAnalyzeTraces, typoMutator, urlContains, verifyAttestation, visualDiff, viteDeployRunner, weightedRecall, whitespaceCollapseMutator, withJudgeRetry, withOtelPipeline, wranglerDeployRunner };
5977
+ export { ATTESTATION_ALGORITHM, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgreementResult, type AlignmentOp, AnalyzeTracesInput, AnalyzeTracesOptions, AnalyzeTracesResult, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, type BackendDescriptor, BaselineReport, BehaviorAssertion, BehavioralMetrics, BenchmarkReport, BenchmarkRunner, BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, BudgetSpec, type BuildAgreementJudgeOptions, type CachedJudge, type CachedJudgeOptions, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CausalAttributionReport, type CellVerdict, ChannelRollup, ChatRequest, CheckResult, CollectedArtifacts, type CommandRunner, type CompareLabels, CompletionCriterion, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, ConvergenceTracker, CorrectnessChecker, type CostEntry, CostLedger, type CostReport, type CostSummary, CostTracker, CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, DEFAULT_AGENT_SLOS, DEFAULT_FINDERS, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffScorecardOptions, type DirEntry, type DiscoverPersonasOptions, type DiscoveredPersona, DriverResult, DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCountPattern, type ErrorStreakOptions, type EvalToolDef, EvalTraceStore, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentProvenance, type ExperimentRep, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type FactorContribution, type FactorialCell, FailureClass, FeedbackLabel, FeedbackTrajectory, FeedbackTrajectoryStore, type FieldAgreementSpec, type FieldDestination, type FileChange, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GhCliClientOptions, type GoldScenario, type GoldSplit, type GoldenSeverity, type GoldenSpec, HarnessConfig, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, type HttpGithubClientOptions, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JudgeError, type JudgeFamily, type JudgeFleetOptions, JudgeFn, JudgeParseError, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, JudgeRunner, type JudgeScoreInput, type JudgeVerdict, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmClientOptions, LlmSpan, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatcherResult, type MergeOptions, MetricsCollector, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, OtelExportConfig, OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParseStudentLabel, type PartitionHeldOutOptions, PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreflightModelsOptions, type PreflightOutcome, ProductClient, ProductClientConfig, type PromptHandle, PromptRegistry, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProvenanceReader, type RecordRunsOptions, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RenderStudentPrompt, type RepeatedActionOptions, type RepoRef, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RoutedField, Run, type RunCommandInput, type RunCommandResult, type RunDistillationOptions, type RunDistillationResult, RunFilter, RunRecord, type RunRecordBackend, type RunRecordFilter, RunScore, RunScoreWeights, RunSplitTag, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type ScanOptions, Scenario, type ScenarioCost, ScenarioFile, ScenarioRegistry, ScenarioResult, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SerializedRegex, Severity, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SpanPredicate, type SplitGoldOptions, SteeringBundle, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type StepAttribution, type StreamingDetector, type SynthesisReason, type SynthesisTarget, TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolMatcher, ToolSpan, TraceAnalystSpan, type TraceContract, TraceContractBuilder, TraceEmitter, TraceStore, type TracedAnalystOptions, type TracedJudgeOptions, Trajectory, TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, TurnMetrics, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type VerdictCacheStats, type VerdictCacheStore, VerifyContext, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkerDriverContext, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregatePrReviewScore, analyzeAntiSlop, appendScorecard, assertCrossFamily, assertModelsServed, assertNoHiddenLeak, assertSingleBackend, assignHeldOutTag, attachCostToReport, attest, bisect, blendHeldout, buildAgreementJudge, buildDriverSystemPrompt, buildReflectionPrompt, buildReviewerPrompt, buildWorkerDriverSystemPrompt, cachedJudge, canaryLeakView, canonicalJson, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, classifyTreatment, codeExecutionJudge, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, compareReferenceReplay, compilerJudge, computeExperimentStats, contentHash, contractJudge, costReport, createAntiSlopJudge, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createSandboxPool, crossTraceDiff, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultJudges, defaultParseStudentLabel, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, deployGateLayer, diffScorecard, discoverPersonas, distillPlaybook, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateContract, evaluateOracles, evaluateTraceContract, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, fieldAgreement, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, hashContent, hashToUnit, hiddenGrade, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryRunRecordBackend, inMemoryVerdictCache, isHiddenDestination, isModelPriced, isOtelConfigured, jsonShape, jsonlReferenceReplayStore, jsonlRunRecordBackend, judgeFamily, keyPreserved, linterJudge, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, matchGoldens, matchSpan, mergeLayerResults, modelDescriptionBits, multiToolchainLayer, noProgressDetector, notBlocked, observeAll, paraphraseRobustness, paraphraseRobustnessScenarios, parseGoldJsonl, parseReflectionResponse, partitionHeldOut, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, preflightModels, printDriverSummary, index as profile, promptBisect, proposeSynthesisTargets, recordRuns, recordRunsToScorecard, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, repeatedActionDetector, replayScorerOverCorpus, replayTraceThroughJudge, resolveModelPricing, resolveSeat, routeFields, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runDistillation, runE2EWorkflow, runExpectations, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runReferenceReplay, runScore, runSelfPlay, scanForMuffledGates, scoreContinuity, scorePrReviewComments, scorePrReviewSource, scoreReferenceReplay, seatPresets, securityJudge, sentenceReorderMutator, splitGold, statusAdvanced, summarizePrReviewBenchmark, testJudge, textInSnapshot, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, traceContract, traceJudge, traceJudgeEnsemble, tracedAnalyzeTraces, typoMutator, urlContains, verifyAttestation, visualDiff, viteDeployRunner, weightedRecall, whitespaceCollapseMutator, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner };