@tangle-network/agent-eval 0.95.0 → 0.95.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.
- package/CHANGELOG.md +17 -0
- package/dist/adapters/http.d.ts +17 -10
- package/dist/adapters/langchain.d.ts +14 -7
- package/dist/adapters/otel.d.ts +25 -13
- package/dist/{rl/adversarial.d.ts → adversarial-DIVcDoI_.d.ts} +7 -6
- package/dist/analyst/index.d.ts +236 -28
- package/dist/{trace-analyst/analyst.d.ts → analyst-C8HHvfJp.d.ts} +14 -12
- package/dist/{contract/analyze-runs.d.ts → analyze-runs-DtT6F_6T.d.ts} +10 -9
- package/dist/authenticity/index.d.ts +16 -15
- package/dist/{baseline.d.ts → baseline-Bbid3WoO.d.ts} +44 -8
- package/dist/belief-state/index.d.ts +605 -14
- package/dist/benchmarks/index.d.ts +5 -23
- package/dist/builder-eval/index.d.ts +250 -5
- package/dist/calibration-BPmzuVPk.d.ts +101 -0
- package/dist/campaign/index.d.ts +1452 -38
- package/dist/cli.d.ts +0 -2
- package/dist/{contract/intake/code-agent-session.d.ts → code-agent-session-CPHRCb4-.d.ts} +17 -15
- package/dist/contract/index.d.ts +688 -106
- package/dist/control-Doncu-B_.d.ts +259 -0
- package/dist/{control-runtime.d.ts → control-runtime-Acf9CGhw.d.ts} +26 -23
- package/dist/control.d.ts +10 -11
- package/dist/corpus-D4YW9UoJ.d.ts +560 -0
- package/dist/{cost-ledger.d.ts → cost-ledger-DuSqlw5B.d.ts} +11 -10
- package/dist/{counterfactual.d.ts → counterfactual-DlOz8PBx.d.ts} +13 -12
- package/dist/{dataset.d.ts → dataset-BbGkaN2I.d.ts} +14 -11
- package/dist/{analyst/registry.d.ts → default-registry-GyE8X5SP.d.ts} +37 -8
- package/dist/diagnose.d.ts +252 -1
- package/dist/{trace/emitter.d.ts → emitter-C2rqGH_l.d.ts} +12 -9
- package/dist/{errors.d.ts → errors-CzMUYo7b.d.ts} +11 -10
- package/dist/failure-cluster-DH9Flgcf.d.ts +76 -0
- package/dist/{feedback-trajectory.d.ts → feedback-trajectory-BxY0cKfs.d.ts} +38 -36
- package/dist/fuzz.d.ts +547 -1
- package/dist/gepa-C1NCIZ9o.d.ts +414 -0
- package/dist/governance/index.d.ts +135 -5
- package/dist/harness-optimizer-mOl9XX_O.d.ts +106 -0
- package/dist/hosted/index.d.ts +239 -10
- package/dist/index-_Y4oNOOb.d.ts +159 -0
- package/dist/index.d.ts +5660 -277
- package/dist/{contract/insight-report.d.ts → insight-report-BnRjTibG.d.ts} +19 -16
- package/dist/{trace/integrity.d.ts → integrity-D2t12mMw.d.ts} +14 -11
- package/dist/{judge-calibration.d.ts → judge-calibration-0p2QcWNE.d.ts} +17 -16
- package/dist/{analyst/kind-factory.d.ts → kind-factory-X3eDYbKn.d.ts} +61 -10
- package/dist/knowledge/index.d.ts +103 -3
- package/dist/{llm-client.d.ts → llm-client-Bj7g0rqu.d.ts} +23 -21
- package/dist/matrix/index.d.ts +30 -12
- package/dist/meta-eval/index.d.ts +182 -6
- package/dist/{multi-layer-verifier.d.ts → multi-layer-verifier-DUZXrPDA.d.ts} +15 -12
- package/dist/multishot/index.d.ts +290 -7
- package/dist/{rl/off-policy.d.ts → off-policy-DiwuKKg7.d.ts} +9 -8
- package/dist/openapi.json +1 -1
- package/dist/{meta-eval/outcome-store.d.ts → outcome-store-rnXLEqSn.d.ts} +8 -7
- package/dist/{pareto.d.ts → pareto-E-pembql.d.ts} +10 -9
- package/dist/perf/index.d.ts +119 -13
- package/dist/pipelines/index.d.ts +173 -8
- package/dist/pre-registration-nfUdc9EQ.d.ts +483 -0
- package/dist/prm/index.d.ts +104 -5
- package/dist/provenance-CncDq9qE.d.ts +426 -0
- package/dist/query-B7GGjRox.d.ts +32 -0
- package/dist/{trace/raw-provider-sink.d.ts → raw-provider-sink-C46HDghv.d.ts} +14 -13
- package/dist/{red-team.d.ts → red-team-BWdoyleI.d.ts} +16 -14
- package/dist/{trace/redact.d.ts → redact-B40YG2M_.d.ts} +8 -7
- package/dist/release-report-pidWUMZ2.d.ts +233 -0
- package/dist/reporting.d.ts +16 -15
- package/dist/{eval-campaign.d.ts → researcher-Jr8ME1dZ.d.ts} +156 -34
- package/dist/rl.d.ts +1193 -1
- package/dist/{prm/rubric.d.ts → rubric-Cc6UHvUb.d.ts} +13 -10
- package/dist/{meta-eval/rubric-predictive-validity.d.ts → rubric-predictive-validity-C2hDKM8Z.d.ts} +11 -8
- package/dist/run-critic-CmMf05uV.d.ts +56 -0
- package/dist/{run-record.d.ts → run-record-CP2ObebC.d.ts} +117 -15
- package/dist/runtime-trajectory-BOUUjI0y.d.ts +49 -0
- package/dist/{trace/schema.d.ts → schema-m0gsnbt3.d.ts} +30 -29
- package/dist/semantic-concept-judge-DSBB2Cfp.d.ts +624 -0
- package/dist/{sequential.d.ts → sequential-5iSVfzl2.d.ts} +10 -9
- package/dist/{series-convergence.d.ts → series-convergence-D5OWMBg6.d.ts} +5 -4
- package/dist/sink-fetch-B1Yg4Til.d.ts +101 -0
- package/dist/{statistics.d.ts → statistics-CCJpTGOS.d.ts} +48 -46
- package/dist/{trace/store.d.ts → store-BcFXE6LG.d.ts} +12 -21
- package/dist/{trace-analyst/types.d.ts → store-C1YxJDEK.d.ts} +74 -18
- package/dist/storyboard/index.d.ts +81 -16
- package/dist/{summary-report.d.ts → summary-report-CInXwsza.d.ts} +160 -23
- package/dist/telemetry/{sink-file.d.ts → file.d.ts} +7 -5
- package/dist/telemetry/index.d.ts +35 -17
- package/dist/{sandbox-harness.d.ts → test-graded-scenario-DeODGLra.d.ts} +60 -15
- package/dist/{locked-jsonl-appender.d.ts → testing-C21CHsq2.d.ts} +4 -3
- package/dist/testing.d.ts +1 -5
- package/dist/traces.d.ts +976 -4
- package/dist/{trajectory.d.ts → trajectory-2TkpSEVh.d.ts} +9 -8
- package/dist/{analyst/types.d.ts → types-B5x54y6n.d.ts} +112 -19
- package/dist/{matrix/types.d.ts → types-BUxNaJ8c.d.ts} +11 -9
- package/dist/{types.d.ts → types-C7DGg5ex.d.ts} +33 -31
- package/dist/{campaign/types.d.ts → types-DQRY8ZT-.d.ts} +47 -44
- package/dist/{verdict.d.ts → verdict-C9MlYujm.d.ts} +3 -2
- package/dist/wire/index.d.ts +570 -13
- package/dist/workflow/index.d.ts +496 -22
- package/package.json +2 -2
- package/dist/action-policy.d.ts +0 -24
- package/dist/action-policy.d.ts.map +0 -1
- package/dist/action-policy.test.d.ts +0 -2
- package/dist/action-policy.test.d.ts.map +0 -1
- package/dist/active-learning.d.ts +0 -41
- package/dist/active-learning.d.ts.map +0 -1
- package/dist/adapters/http.d.ts.map +0 -1
- package/dist/adapters/langchain.d.ts.map +0 -1
- package/dist/adapters/otel.d.ts.map +0 -1
- package/dist/agent-profile-cell.d.ts +0 -101
- package/dist/agent-profile-cell.d.ts.map +0 -1
- package/dist/agent-profile.d.ts +0 -27
- package/dist/agent-profile.d.ts.map +0 -1
- package/dist/agent-profile.test.d.ts +0 -2
- package/dist/agent-profile.test.d.ts.map +0 -1
- package/dist/analyst/adapters.d.ts +0 -62
- package/dist/analyst/adapters.d.ts.map +0 -1
- package/dist/analyst/analyst.test.d.ts +0 -2
- package/dist/analyst/analyst.test.d.ts.map +0 -1
- package/dist/analyst/ax-service.d.ts +0 -27
- package/dist/analyst/ax-service.d.ts.map +0 -1
- package/dist/analyst/behavioral-analyst.d.ts +0 -28
- package/dist/analyst/behavioral-analyst.d.ts.map +0 -1
- package/dist/analyst/chat-client.d.ts +0 -91
- package/dist/analyst/chat-client.d.ts.map +0 -1
- package/dist/analyst/default-registry.d.ts +0 -27
- package/dist/analyst/default-registry.d.ts.map +0 -1
- package/dist/analyst/default-registry.test.d.ts +0 -2
- package/dist/analyst/default-registry.test.d.ts.map +0 -1
- package/dist/analyst/finding-signature.d.ts +0 -48
- package/dist/analyst/finding-signature.d.ts.map +0 -1
- package/dist/analyst/finding-subject.d.ts +0 -146
- package/dist/analyst/finding-subject.d.ts.map +0 -1
- package/dist/analyst/finding-subject.test.d.ts +0 -2
- package/dist/analyst/finding-subject.test.d.ts.map +0 -1
- package/dist/analyst/findings-store.d.ts +0 -75
- package/dist/analyst/findings-store.d.ts.map +0 -1
- package/dist/analyst/index.d.ts.map +0 -1
- package/dist/analyst/kind-factory.d.ts.map +0 -1
- package/dist/analyst/kinds/failure-mode.d.ts +0 -19
- package/dist/analyst/kinds/failure-mode.d.ts.map +0 -1
- package/dist/analyst/kinds/improvement.d.ts +0 -23
- package/dist/analyst/kinds/improvement.d.ts.map +0 -1
- package/dist/analyst/kinds/index.d.ts +0 -22
- package/dist/analyst/kinds/index.d.ts.map +0 -1
- package/dist/analyst/kinds/kinds.test.d.ts +0 -2
- package/dist/analyst/kinds/kinds.test.d.ts.map +0 -1
- package/dist/analyst/kinds/knowledge-gap.d.ts +0 -28
- package/dist/analyst/kinds/knowledge-gap.d.ts.map +0 -1
- package/dist/analyst/kinds/knowledge-poisoning.d.ts +0 -22
- package/dist/analyst/kinds/knowledge-poisoning.d.ts.map +0 -1
- package/dist/analyst/kinds/skill-usage.d.ts +0 -84
- package/dist/analyst/kinds/skill-usage.d.ts.map +0 -1
- package/dist/analyst/kinds/skill-usage.test.d.ts +0 -2
- package/dist/analyst/kinds/skill-usage.test.d.ts.map +0 -1
- package/dist/analyst/parse-tolerant.d.ts +0 -26
- package/dist/analyst/parse-tolerant.d.ts.map +0 -1
- package/dist/analyst/parse-tolerant.test.d.ts +0 -2
- package/dist/analyst/parse-tolerant.test.d.ts.map +0 -1
- package/dist/analyst/registry.budget.test.d.ts +0 -2
- package/dist/analyst/registry.budget.test.d.ts.map +0 -1
- package/dist/analyst/registry.d.ts.map +0 -1
- package/dist/analyst/steer-firewall.d.ts +0 -35
- package/dist/analyst/steer-firewall.d.ts.map +0 -1
- package/dist/analyst/steer-firewall.test.d.ts +0 -2
- package/dist/analyst/steer-firewall.test.d.ts.map +0 -1
- package/dist/analyst/structure-findings.d.ts +0 -37
- package/dist/analyst/structure-findings.d.ts.map +0 -1
- package/dist/analyst/structure-findings.test.d.ts +0 -2
- package/dist/analyst/structure-findings.test.d.ts.map +0 -1
- package/dist/analyst/tool-groups.d.ts +0 -34
- package/dist/analyst/tool-groups.d.ts.map +0 -1
- package/dist/analyst/types.d.ts.map +0 -1
- package/dist/anti-slop.d.ts +0 -59
- package/dist/anti-slop.d.ts.map +0 -1
- package/dist/artifact-validator.d.ts +0 -74
- package/dist/artifact-validator.d.ts.map +0 -1
- package/dist/attestation.d.ts +0 -63
- package/dist/attestation.d.ts.map +0 -1
- package/dist/attestation.test.d.ts +0 -2
- package/dist/attestation.test.d.ts.map +0 -1
- package/dist/authenticity/index.d.ts.map +0 -1
- package/dist/authenticity/index.test.d.ts +0 -2
- package/dist/authenticity/index.test.d.ts.map +0 -1
- package/dist/auto-pr.d.ts +0 -120
- package/dist/auto-pr.d.ts.map +0 -1
- package/dist/baseline.d.ts.map +0 -1
- package/dist/behavior-dsl.d.ts +0 -73
- package/dist/behavior-dsl.d.ts.map +0 -1
- package/dist/belief-state/calibration.d.ts +0 -10
- package/dist/belief-state/calibration.d.ts.map +0 -1
- package/dist/belief-state/calibration.test.d.ts +0 -2
- package/dist/belief-state/calibration.test.d.ts.map +0 -1
- package/dist/belief-state/code-agent-corpus.d.ts +0 -66
- package/dist/belief-state/code-agent-corpus.d.ts.map +0 -1
- package/dist/belief-state/code-agent-corpus.test.d.ts +0 -2
- package/dist/belief-state/code-agent-corpus.test.d.ts.map +0 -1
- package/dist/belief-state/code-agent-evidence.d.ts +0 -22
- package/dist/belief-state/code-agent-evidence.d.ts.map +0 -1
- package/dist/belief-state/code-agent-evidence.test.d.ts +0 -2
- package/dist/belief-state/code-agent-evidence.test.d.ts.map +0 -1
- package/dist/belief-state/extract.d.ts +0 -7
- package/dist/belief-state/extract.d.ts.map +0 -1
- package/dist/belief-state/extract.test.d.ts +0 -2
- package/dist/belief-state/extract.test.d.ts.map +0 -1
- package/dist/belief-state/index.d.ts.map +0 -1
- package/dist/belief-state/ope.d.ts +0 -17
- package/dist/belief-state/ope.d.ts.map +0 -1
- package/dist/belief-state/ope.test.d.ts +0 -2
- package/dist/belief-state/ope.test.d.ts.map +0 -1
- package/dist/belief-state/phase0-measurement.d.ts +0 -55
- package/dist/belief-state/phase0-measurement.d.ts.map +0 -1
- package/dist/belief-state/report.d.ts +0 -17
- package/dist/belief-state/report.d.ts.map +0 -1
- package/dist/belief-state/report.test.d.ts +0 -2
- package/dist/belief-state/report.test.d.ts.map +0 -1
- package/dist/belief-state/research-evidence.d.ts +0 -23
- package/dist/belief-state/research-evidence.d.ts.map +0 -1
- package/dist/belief-state/research-evidence.test.d.ts +0 -2
- package/dist/belief-state/research-evidence.test.d.ts.map +0 -1
- package/dist/belief-state/runtime-benchmark-corpus.d.ts +0 -32
- package/dist/belief-state/runtime-benchmark-corpus.d.ts.map +0 -1
- package/dist/belief-state/runtime-hooks.d.ts +0 -87
- package/dist/belief-state/runtime-hooks.d.ts.map +0 -1
- package/dist/belief-state/runtime-hooks.test.d.ts +0 -2
- package/dist/belief-state/runtime-hooks.test.d.ts.map +0 -1
- package/dist/belief-state/selective.d.ts +0 -15
- package/dist/belief-state/selective.d.ts.map +0 -1
- package/dist/belief-state/selective.test.d.ts +0 -2
- package/dist/belief-state/selective.test.d.ts.map +0 -1
- package/dist/belief-state/shadow-probe.d.ts +0 -80
- package/dist/belief-state/shadow-probe.d.ts.map +0 -1
- package/dist/belief-state/shadow-probe.test.d.ts +0 -2
- package/dist/belief-state/shadow-probe.test.d.ts.map +0 -1
- package/dist/belief-state/types.d.ts +0 -195
- package/dist/belief-state/types.d.ts.map +0 -1
- package/dist/belief-state/types.test.d.ts +0 -2
- package/dist/belief-state/types.test.d.ts.map +0 -1
- package/dist/benchmark.d.ts +0 -14
- package/dist/benchmark.d.ts.map +0 -1
- package/dist/benchmarks/index.d.ts.map +0 -1
- package/dist/benchmarks/routing/dataset.d.ts +0 -34
- package/dist/benchmarks/routing/dataset.d.ts.map +0 -1
- package/dist/benchmarks/routing/index.d.ts +0 -34
- package/dist/benchmarks/routing/index.d.ts.map +0 -1
- package/dist/benchmarks/types.d.ts +0 -49
- package/dist/benchmarks/types.d.ts.map +0 -1
- package/dist/bisector.d.ts +0 -81
- package/dist/bisector.d.ts.map +0 -1
- package/dist/budget-guard.d.ts +0 -31
- package/dist/budget-guard.d.ts.map +0 -1
- package/dist/builder-eval/builder-session.d.ts +0 -111
- package/dist/builder-eval/builder-session.d.ts.map +0 -1
- package/dist/builder-eval/correlation.d.ts +0 -32
- package/dist/builder-eval/correlation.d.ts.map +0 -1
- package/dist/builder-eval/index.d.ts.map +0 -1
- package/dist/builder-eval/project-registry.d.ts +0 -51
- package/dist/builder-eval/project-registry.d.ts.map +0 -1
- package/dist/builder-eval/three-layer-eval.d.ts +0 -55
- package/dist/builder-eval/three-layer-eval.d.ts.map +0 -1
- package/dist/campaign/analyst-surface.d.ts +0 -108
- package/dist/campaign/analyst-surface.d.ts.map +0 -1
- package/dist/campaign/analyst-surface.test.d.ts +0 -2
- package/dist/campaign/analyst-surface.test.d.ts.map +0 -1
- package/dist/campaign/auto-pr.d.ts +0 -46
- package/dist/campaign/auto-pr.d.ts.map +0 -1
- package/dist/campaign/distillation/agreement-judge.d.ts +0 -69
- package/dist/campaign/distillation/agreement-judge.d.ts.map +0 -1
- package/dist/campaign/distillation/cli.d.ts +0 -35
- package/dist/campaign/distillation/cli.d.ts.map +0 -1
- package/dist/campaign/distillation/distillation.test.d.ts +0 -2
- package/dist/campaign/distillation/distillation.test.d.ts.map +0 -1
- package/dist/campaign/distillation/gold-scenarios.d.ts +0 -54
- package/dist/campaign/distillation/gold-scenarios.d.ts.map +0 -1
- package/dist/campaign/distillation/run-distillation.d.ts +0 -119
- package/dist/campaign/distillation/run-distillation.d.ts.map +0 -1
- package/dist/campaign/gates/compose.d.ts +0 -12
- package/dist/campaign/gates/compose.d.ts.map +0 -1
- package/dist/campaign/gates/default-production-gate.d.ts +0 -58
- package/dist/campaign/gates/default-production-gate.d.ts.map +0 -1
- package/dist/campaign/gates/heldout-gate.d.ts +0 -12
- package/dist/campaign/gates/heldout-gate.d.ts.map +0 -1
- package/dist/campaign/gates/promotion-policy.d.ts +0 -125
- package/dist/campaign/gates/promotion-policy.d.ts.map +0 -1
- package/dist/campaign/gates/promotion-policy.test.d.ts +0 -2
- package/dist/campaign/gates/promotion-policy.test.d.ts.map +0 -1
- package/dist/campaign/gates/sequential.d.ts +0 -146
- package/dist/campaign/gates/sequential.d.ts.map +0 -1
- package/dist/campaign/gates/sequential.test.d.ts +0 -2
- package/dist/campaign/gates/sequential.test.d.ts.map +0 -1
- package/dist/campaign/gates/statistical-heldout.d.ts +0 -99
- package/dist/campaign/gates/statistical-heldout.d.ts.map +0 -1
- package/dist/campaign/gates/statistical-heldout.test.d.ts +0 -2
- package/dist/campaign/gates/statistical-heldout.test.d.ts.map +0 -1
- package/dist/campaign/index.d.ts.map +0 -1
- package/dist/campaign/labeled-store/fs-adapter.d.ts +0 -59
- package/dist/campaign/labeled-store/fs-adapter.d.ts.map +0 -1
- package/dist/campaign/presets/compare-proposers.d.ts +0 -146
- package/dist/campaign/presets/compare-proposers.d.ts.map +0 -1
- package/dist/campaign/presets/playback.d.ts +0 -120
- package/dist/campaign/presets/playback.d.ts.map +0 -1
- package/dist/campaign/presets/playback.test.d.ts +0 -2
- package/dist/campaign/presets/playback.test.d.ts.map +0 -1
- package/dist/campaign/presets/run-eval.d.ts +0 -14
- package/dist/campaign/presets/run-eval.d.ts.map +0 -1
- package/dist/campaign/presets/run-improvement-loop.d.ts +0 -63
- package/dist/campaign/presets/run-improvement-loop.d.ts.map +0 -1
- package/dist/campaign/presets/run-improvement-loop.test.d.ts +0 -2
- package/dist/campaign/presets/run-improvement-loop.test.d.ts.map +0 -1
- package/dist/campaign/presets/run-optimization.d.ts +0 -92
- package/dist/campaign/presets/run-optimization.d.ts.map +0 -1
- package/dist/campaign/presets/run-profile-matrix.d.ts +0 -151
- package/dist/campaign/presets/run-profile-matrix.d.ts.map +0 -1
- package/dist/campaign/presets/run-skill-opt.d.ts +0 -96
- package/dist/campaign/presets/run-skill-opt.d.ts.map +0 -1
- package/dist/campaign/proposers/_findings-text.d.ts +0 -22
- package/dist/campaign/proposers/_findings-text.d.ts.map +0 -1
- package/dist/campaign/proposers/ace.d.ts +0 -33
- package/dist/campaign/proposers/ace.d.ts.map +0 -1
- package/dist/campaign/proposers/ace.test.d.ts +0 -2
- package/dist/campaign/proposers/ace.test.d.ts.map +0 -1
- package/dist/campaign/proposers/analysis-edit.d.ts +0 -32
- package/dist/campaign/proposers/analysis-edit.d.ts.map +0 -1
- package/dist/campaign/proposers/evolutionary.d.ts +0 -20
- package/dist/campaign/proposers/evolutionary.d.ts.map +0 -1
- package/dist/campaign/proposers/fapo.d.ts +0 -120
- package/dist/campaign/proposers/fapo.d.ts.map +0 -1
- package/dist/campaign/proposers/gepa.d.ts +0 -86
- package/dist/campaign/proposers/gepa.d.ts.map +0 -1
- package/dist/campaign/proposers/halo.d.ts +0 -44
- package/dist/campaign/proposers/halo.d.ts.map +0 -1
- package/dist/campaign/proposers/halo.test.d.ts +0 -2
- package/dist/campaign/proposers/halo.test.d.ts.map +0 -1
- package/dist/campaign/proposers/memory.d.ts +0 -47
- package/dist/campaign/proposers/memory.d.ts.map +0 -1
- package/dist/campaign/proposers/memory.test.d.ts +0 -2
- package/dist/campaign/proposers/memory.test.d.ts.map +0 -1
- package/dist/campaign/proposers/skill-opt.d.ts +0 -88
- package/dist/campaign/proposers/skill-opt.d.ts.map +0 -1
- package/dist/campaign/proposers/trace-analyst.d.ts +0 -48
- package/dist/campaign/proposers/trace-analyst.d.ts.map +0 -1
- package/dist/campaign/proposers/trace-analyst.test.d.ts +0 -2
- package/dist/campaign/proposers/trace-analyst.test.d.ts.map +0 -1
- package/dist/campaign/provenance.d.ts +0 -185
- package/dist/campaign/provenance.d.ts.map +0 -1
- package/dist/campaign/run-campaign.d.ts +0 -90
- package/dist/campaign/run-campaign.d.ts.map +0 -1
- package/dist/campaign/score-utils.d.ts +0 -26
- package/dist/campaign/score-utils.d.ts.map +0 -1
- package/dist/campaign/skill-patch.d.ts +0 -62
- package/dist/campaign/skill-patch.d.ts.map +0 -1
- package/dist/campaign/storage.d.ts +0 -38
- package/dist/campaign/storage.d.ts.map +0 -1
- package/dist/campaign/types.d.ts.map +0 -1
- package/dist/campaign/worktree/index.d.ts +0 -53
- package/dist/campaign/worktree/index.d.ts.map +0 -1
- package/dist/canary.d.ts +0 -101
- package/dist/canary.d.ts.map +0 -1
- package/dist/causal-attribution.d.ts +0 -45
- package/dist/causal-attribution.d.ts.map +0 -1
- package/dist/ci-gate.d.ts +0 -44
- package/dist/ci-gate.d.ts.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/client.d.ts +0 -77
- package/dist/client.d.ts.map +0 -1
- package/dist/client.test.d.ts +0 -2
- package/dist/client.test.d.ts.map +0 -1
- package/dist/command-runner.d.ts +0 -74
- package/dist/command-runner.d.ts.map +0 -1
- package/dist/command-runner.test.d.ts +0 -2
- package/dist/command-runner.test.d.ts.map +0 -1
- package/dist/completion-verifier.d.ts +0 -147
- package/dist/completion-verifier.d.ts.map +0 -1
- package/dist/completion-verifier.test.d.ts +0 -9
- package/dist/completion-verifier.test.d.ts.map +0 -1
- package/dist/concurrency.d.ts +0 -23
- package/dist/concurrency.d.ts.map +0 -1
- package/dist/contamination-guard.d.ts +0 -81
- package/dist/contamination-guard.d.ts.map +0 -1
- package/dist/contract/analyze-runs.d.ts.map +0 -1
- package/dist/contract/define-agent-eval.d.ts +0 -52
- package/dist/contract/define-agent-eval.d.ts.map +0 -1
- package/dist/contract/diff.d.ts +0 -114
- package/dist/contract/diff.d.ts.map +0 -1
- package/dist/contract/index.d.ts.map +0 -1
- package/dist/contract/insight-report.d.ts.map +0 -1
- package/dist/contract/insight-types-fwd.d.ts +0 -7
- package/dist/contract/insight-types-fwd.d.ts.map +0 -1
- package/dist/contract/intake/agent-trace.d.ts +0 -97
- package/dist/contract/intake/agent-trace.d.ts.map +0 -1
- package/dist/contract/intake/code-agent-session.d.ts.map +0 -1
- package/dist/contract/intake/feedback-table.d.ts +0 -87
- package/dist/contract/intake/feedback-table.d.ts.map +0 -1
- package/dist/contract/intake/index.d.ts +0 -22
- package/dist/contract/intake/index.d.ts.map +0 -1
- package/dist/contract/intake/otel-spans.d.ts +0 -33
- package/dist/contract/intake/otel-spans.d.ts.map +0 -1
- package/dist/contract/self-improve.d.ts +0 -284
- package/dist/contract/self-improve.d.ts.map +0 -1
- package/dist/control-runtime.d.ts.map +0 -1
- package/dist/control-runtime.test.d.ts +0 -2
- package/dist/control-runtime.test.d.ts.map +0 -1
- package/dist/control.d.ts.map +0 -1
- package/dist/convergence.d.ts +0 -29
- package/dist/convergence.d.ts.map +0 -1
- package/dist/cost-ledger.d.ts.map +0 -1
- package/dist/cost-ledger.test.d.ts +0 -2
- package/dist/cost-ledger.test.d.ts.map +0 -1
- package/dist/cost-report.d.ts +0 -43
- package/dist/cost-report.d.ts.map +0 -1
- package/dist/cost-report.test.d.ts +0 -2
- package/dist/cost-report.test.d.ts.map +0 -1
- package/dist/cost-tracker.d.ts +0 -76
- package/dist/cost-tracker.d.ts.map +0 -1
- package/dist/counterfactual.d.ts.map +0 -1
- package/dist/cross-trace-diff.d.ts +0 -56
- package/dist/cross-trace-diff.d.ts.map +0 -1
- package/dist/dataset.d.ts.map +0 -1
- package/dist/deploy-gate-layer.d.ts +0 -125
- package/dist/deploy-gate-layer.d.ts.map +0 -1
- package/dist/deploy-gate-layer.test.d.ts +0 -2
- package/dist/deploy-gate-layer.test.d.ts.map +0 -1
- package/dist/description-length-gate.d.ts +0 -119
- package/dist/description-length-gate.d.ts.map +0 -1
- package/dist/detectors/edge.test.d.ts +0 -2
- package/dist/detectors/edge.test.d.ts.map +0 -1
- package/dist/detectors/index.d.ts +0 -81
- package/dist/detectors/index.d.ts.map +0 -1
- package/dist/detectors/index.test.d.ts +0 -2
- package/dist/detectors/index.test.d.ts.map +0 -1
- package/dist/diagnose/causal-sweep.d.ts +0 -100
- package/dist/diagnose/causal-sweep.d.ts.map +0 -1
- package/dist/diagnose/index.d.ts +0 -36
- package/dist/diagnose/index.d.ts.map +0 -1
- package/dist/diagnose/remediation.d.ts +0 -68
- package/dist/diagnose/remediation.d.ts.map +0 -1
- package/dist/diagnose/repair.d.ts +0 -77
- package/dist/diagnose/repair.d.ts.map +0 -1
- package/dist/discover-personas.d.ts +0 -35
- package/dist/discover-personas.d.ts.map +0 -1
- package/dist/driver.d.ts +0 -95
- package/dist/driver.d.ts.map +0 -1
- package/dist/driver.test.d.ts +0 -8
- package/dist/driver.test.d.ts.map +0 -1
- package/dist/dual-agent-bench.d.ts +0 -81
- package/dist/dual-agent-bench.d.ts.map +0 -1
- package/dist/error-count-extractor.d.ts +0 -47
- package/dist/error-count-extractor.d.ts.map +0 -1
- package/dist/error-count-extractor.test.d.ts +0 -2
- package/dist/error-count-extractor.test.d.ts.map +0 -1
- package/dist/errors.d.ts.map +0 -1
- package/dist/eval-campaign.d.ts.map +0 -1
- package/dist/eval-campaign.test.d.ts +0 -2
- package/dist/eval-campaign.test.d.ts.map +0 -1
- package/dist/eval-tools.d.ts +0 -55
- package/dist/eval-tools.d.ts.map +0 -1
- package/dist/eval-trace-store.d.ts +0 -107
- package/dist/eval-trace-store.d.ts.map +0 -1
- package/dist/eval-trace-store.test.d.ts +0 -2
- package/dist/eval-trace-store.test.d.ts.map +0 -1
- package/dist/executor.d.ts +0 -38
- package/dist/executor.d.ts.map +0 -1
- package/dist/executor.test.d.ts +0 -10
- package/dist/executor.test.d.ts.map +0 -1
- package/dist/experiment-tracker.d.ts +0 -178
- package/dist/experiment-tracker.d.ts.map +0 -1
- package/dist/experiment-tracker.test.d.ts +0 -2
- package/dist/experiment-tracker.test.d.ts.map +0 -1
- package/dist/failure-taxonomy.d.ts +0 -38
- package/dist/failure-taxonomy.d.ts.map +0 -1
- package/dist/feedback-trajectory.d.ts.map +0 -1
- package/dist/feedback-trajectory.test.d.ts +0 -2
- package/dist/feedback-trajectory.test.d.ts.map +0 -1
- package/dist/flow-layer.d.ts +0 -90
- package/dist/flow-layer.d.ts.map +0 -1
- package/dist/flow-layer.test.d.ts +0 -2
- package/dist/flow-layer.test.d.ts.map +0 -1
- package/dist/fuzz/capsule.d.ts +0 -46
- package/dist/fuzz/capsule.d.ts.map +0 -1
- package/dist/fuzz/cube.d.ts +0 -36
- package/dist/fuzz/cube.d.ts.map +0 -1
- package/dist/fuzz/explorer-cost.test.d.ts +0 -2
- package/dist/fuzz/explorer-cost.test.d.ts.map +0 -1
- package/dist/fuzz/explorer.d.ts +0 -64
- package/dist/fuzz/explorer.d.ts.map +0 -1
- package/dist/fuzz/fuzz-agent.d.ts +0 -16
- package/dist/fuzz/fuzz-agent.d.ts.map +0 -1
- package/dist/fuzz/fuzz-agent.test.d.ts +0 -2
- package/dist/fuzz/fuzz-agent.test.d.ts.map +0 -1
- package/dist/fuzz/gates.d.ts +0 -33
- package/dist/fuzz/gates.d.ts.map +0 -1
- package/dist/fuzz/index.d.ts +0 -26
- package/dist/fuzz/index.d.ts.map +0 -1
- package/dist/fuzz/policies.d.ts +0 -28
- package/dist/fuzz/policies.d.ts.map +0 -1
- package/dist/fuzz/tools.d.ts +0 -20
- package/dist/fuzz/tools.d.ts.map +0 -1
- package/dist/fuzz/types.d.ts +0 -307
- package/dist/fuzz/types.d.ts.map +0 -1
- package/dist/golden-matcher.d.ts +0 -71
- package/dist/golden-matcher.d.ts.map +0 -1
- package/dist/governance/eu-ai-act.d.ts +0 -37
- package/dist/governance/eu-ai-act.d.ts.map +0 -1
- package/dist/governance/index.d.ts.map +0 -1
- package/dist/governance/nist-ai-rmf.d.ts +0 -15
- package/dist/governance/nist-ai-rmf.d.ts.map +0 -1
- package/dist/governance/soc2.d.ts +0 -12
- package/dist/governance/soc2.d.ts.map +0 -1
- package/dist/governance/types.d.ts +0 -66
- package/dist/governance/types.d.ts.map +0 -1
- package/dist/harness-optimizer.d.ts +0 -82
- package/dist/harness-optimizer.d.ts.map +0 -1
- package/dist/held-out-gate.d.ts +0 -135
- package/dist/held-out-gate.d.ts.map +0 -1
- package/dist/hosted/client.d.ts +0 -73
- package/dist/hosted/client.d.ts.map +0 -1
- package/dist/hosted/from-env.test.d.ts +0 -8
- package/dist/hosted/from-env.test.d.ts.map +0 -1
- package/dist/hosted/index.d.ts.map +0 -1
- package/dist/hosted/types.d.ts +0 -159
- package/dist/hosted/types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/integrity/backend-integrity.d.ts +0 -71
- package/dist/integrity/backend-integrity.d.ts.map +0 -1
- package/dist/integrity/preflight.d.ts +0 -72
- package/dist/integrity/preflight.d.ts.map +0 -1
- package/dist/integrity/preflight.test.d.ts +0 -2
- package/dist/integrity/preflight.test.d.ts.map +0 -1
- package/dist/integrity/single-backend.d.ts +0 -67
- package/dist/integrity/single-backend.d.ts.map +0 -1
- package/dist/intent-match-judge.d.ts +0 -69
- package/dist/intent-match-judge.d.ts.map +0 -1
- package/dist/intent-match-judge.test.d.ts +0 -2
- package/dist/intent-match-judge.test.d.ts.map +0 -1
- package/dist/judge-calibration.d.ts.map +0 -1
- package/dist/judge-ensemble.d.ts +0 -66
- package/dist/judge-ensemble.d.ts.map +0 -1
- package/dist/judge-ensemble.test.d.ts +0 -8
- package/dist/judge-ensemble.test.d.ts.map +0 -1
- package/dist/judge-families.d.ts +0 -38
- package/dist/judge-families.d.ts.map +0 -1
- package/dist/judge-panel.d.ts +0 -65
- package/dist/judge-panel.d.ts.map +0 -1
- package/dist/judge-retry.d.ts +0 -70
- package/dist/judge-retry.d.ts.map +0 -1
- package/dist/judge-runner.d.ts +0 -36
- package/dist/judge-runner.d.ts.map +0 -1
- package/dist/judge-runner.test.d.ts +0 -2
- package/dist/judge-runner.test.d.ts.map +0 -1
- package/dist/judges.d.ts +0 -74
- package/dist/judges.d.ts.map +0 -1
- package/dist/keyword-coverage-judge.d.ts +0 -89
- package/dist/keyword-coverage-judge.d.ts.map +0 -1
- package/dist/keyword-coverage-judge.test.d.ts +0 -2
- package/dist/keyword-coverage-judge.test.d.ts.map +0 -1
- package/dist/knowledge/index.d.ts.map +0 -1
- package/dist/knowledge/readiness.d.ts +0 -26
- package/dist/knowledge/readiness.d.ts.map +0 -1
- package/dist/knowledge/types.d.ts +0 -75
- package/dist/knowledge/types.d.ts.map +0 -1
- package/dist/live-proof.d.ts +0 -62
- package/dist/live-proof.d.ts.map +0 -1
- package/dist/llm-client.d.ts.map +0 -1
- package/dist/llm-client.test.d.ts +0 -2
- package/dist/llm-client.test.d.ts.map +0 -1
- package/dist/locked-jsonl-appender.d.ts.map +0 -1
- package/dist/matrix/aggregation.d.ts +0 -16
- package/dist/matrix/aggregation.d.ts.map +0 -1
- package/dist/matrix/index.d.ts.map +0 -1
- package/dist/matrix/runner.d.ts +0 -15
- package/dist/matrix/runner.d.ts.map +0 -1
- package/dist/matrix/types.d.ts.map +0 -1
- package/dist/meta-eval/calibration.d.ts +0 -47
- package/dist/meta-eval/calibration.d.ts.map +0 -1
- package/dist/meta-eval/correlation-study.d.ts +0 -53
- package/dist/meta-eval/correlation-study.d.ts.map +0 -1
- package/dist/meta-eval/index.d.ts.map +0 -1
- package/dist/meta-eval/outcome-store.d.ts.map +0 -1
- package/dist/meta-eval/rubric-predictive-validity.d.ts.map +0 -1
- package/dist/meta-eval/sentinel.d.ts +0 -169
- package/dist/meta-eval/sentinel.d.ts.map +0 -1
- package/dist/metrics.d.ts +0 -63
- package/dist/metrics.d.ts.map +0 -1
- package/dist/model-seats.d.ts +0 -71
- package/dist/model-seats.d.ts.map +0 -1
- package/dist/model-seats.test.d.ts +0 -2
- package/dist/model-seats.test.d.ts.map +0 -1
- package/dist/muffled-gate-scanner.d.ts +0 -102
- package/dist/muffled-gate-scanner.d.ts.map +0 -1
- package/dist/multi-layer-verifier.d.ts.map +0 -1
- package/dist/multi-layer-verifier.test.d.ts +0 -2
- package/dist/multi-layer-verifier.test.d.ts.map +0 -1
- package/dist/multi-toolchain-layer.d.ts +0 -80
- package/dist/multi-toolchain-layer.d.ts.map +0 -1
- package/dist/multi-toolchain-layer.test.d.ts +0 -2
- package/dist/multi-toolchain-layer.test.d.ts.map +0 -1
- package/dist/multishot/default-tools.d.ts +0 -34
- package/dist/multishot/default-tools.d.ts.map +0 -1
- package/dist/multishot/index.d.ts.map +0 -1
- package/dist/multishot/judges.d.ts +0 -32
- package/dist/multishot/judges.d.ts.map +0 -1
- package/dist/multishot/matrix.d.ts +0 -107
- package/dist/multishot/matrix.d.ts.map +0 -1
- package/dist/multishot/multishot.d.ts +0 -23
- package/dist/multishot/multishot.d.ts.map +0 -1
- package/dist/multishot/router.d.ts +0 -37
- package/dist/multishot/router.d.ts.map +0 -1
- package/dist/multishot/types.d.ts +0 -60
- package/dist/multishot/types.d.ts.map +0 -1
- package/dist/observability.d.ts +0 -71
- package/dist/observability.d.ts.map +0 -1
- package/dist/oracle.d.ts +0 -55
- package/dist/oracle.d.ts.map +0 -1
- package/dist/orthogonality.d.ts +0 -35
- package/dist/orthogonality.d.ts.map +0 -1
- package/dist/otel-pipeline.d.ts +0 -31
- package/dist/otel-pipeline.d.ts.map +0 -1
- package/dist/paraphrase.d.ts +0 -107
- package/dist/paraphrase.d.ts.map +0 -1
- package/dist/pareto.d.ts.map +0 -1
- package/dist/partition-held-out.d.ts +0 -70
- package/dist/partition-held-out.d.ts.map +0 -1
- package/dist/partition-held-out.test.d.ts +0 -2
- package/dist/partition-held-out.test.d.ts.map +0 -1
- package/dist/perf/index.d.ts.map +0 -1
- package/dist/perf/integrity.d.ts +0 -30
- package/dist/perf/integrity.d.ts.map +0 -1
- package/dist/perf/journey.d.ts +0 -45
- package/dist/perf/journey.d.ts.map +0 -1
- package/dist/perf/ratchet.d.ts +0 -47
- package/dist/perf/ratchet.d.ts.map +0 -1
- package/dist/pipelines/budget-breach.d.ts +0 -31
- package/dist/pipelines/budget-breach.d.ts.map +0 -1
- package/dist/pipelines/budget-breach.test.d.ts +0 -2
- package/dist/pipelines/budget-breach.test.d.ts.map +0 -1
- package/dist/pipelines/failure-cluster.d.ts +0 -38
- package/dist/pipelines/failure-cluster.d.ts.map +0 -1
- package/dist/pipelines/failure-cluster.test.d.ts +0 -2
- package/dist/pipelines/failure-cluster.test.d.ts.map +0 -1
- package/dist/pipelines/first-divergence.d.ts +0 -26
- package/dist/pipelines/first-divergence.d.ts.map +0 -1
- package/dist/pipelines/first-divergence.test.d.ts +0 -2
- package/dist/pipelines/first-divergence.test.d.ts.map +0 -1
- package/dist/pipelines/index.d.ts.map +0 -1
- package/dist/pipelines/judge-agreement.d.ts +0 -26
- package/dist/pipelines/judge-agreement.d.ts.map +0 -1
- package/dist/pipelines/judge-agreement.test.d.ts +0 -2
- package/dist/pipelines/judge-agreement.test.d.ts.map +0 -1
- package/dist/pipelines/regression.d.ts +0 -23
- package/dist/pipelines/regression.d.ts.map +0 -1
- package/dist/pipelines/regression.test.d.ts +0 -2
- package/dist/pipelines/regression.test.d.ts.map +0 -1
- package/dist/pipelines/stuck-loop.d.ts +0 -32
- package/dist/pipelines/stuck-loop.d.ts.map +0 -1
- package/dist/pipelines/stuck-loop.test.d.ts +0 -2
- package/dist/pipelines/stuck-loop.test.d.ts.map +0 -1
- package/dist/pipelines/tool-waste.d.ts +0 -34
- package/dist/pipelines/tool-waste.d.ts.map +0 -1
- package/dist/pipelines/tool-waste.test.d.ts +0 -2
- package/dist/pipelines/tool-waste.test.d.ts.map +0 -1
- package/dist/playbook.d.ts +0 -16
- package/dist/playbook.d.ts.map +0 -1
- package/dist/pr-review-benchmark.d.ts +0 -88
- package/dist/pr-review-benchmark.d.ts.map +0 -1
- package/dist/pr-review-benchmark.test.d.ts +0 -2
- package/dist/pr-review-benchmark.test.d.ts.map +0 -1
- package/dist/pre-registration.d.ts +0 -125
- package/dist/pre-registration.d.ts.map +0 -1
- package/dist/prm/builtin-rubrics.d.ts +0 -33
- package/dist/prm/builtin-rubrics.d.ts.map +0 -1
- package/dist/prm/index.d.ts.map +0 -1
- package/dist/prm/inference.d.ts +0 -29
- package/dist/prm/inference.d.ts.map +0 -1
- package/dist/prm/inference.test.d.ts +0 -2
- package/dist/prm/inference.test.d.ts.map +0 -1
- package/dist/prm/rubric.d.ts.map +0 -1
- package/dist/prm/training-export.d.ts +0 -38
- package/dist/prm/training-export.d.ts.map +0 -1
- package/dist/produced-state.d.ts +0 -63
- package/dist/produced-state.d.ts.map +0 -1
- package/dist/produced-state.test.d.ts +0 -8
- package/dist/produced-state.test.d.ts.map +0 -1
- package/dist/profile/baselines.d.ts +0 -37
- package/dist/profile/baselines.d.ts.map +0 -1
- package/dist/profile/index.d.ts +0 -105
- package/dist/profile/index.d.ts.map +0 -1
- package/dist/promotion-gate.d.ts +0 -93
- package/dist/promotion-gate.d.ts.map +0 -1
- package/dist/prompt-registry.d.ts +0 -41
- package/dist/prompt-registry.d.ts.map +0 -1
- package/dist/propose-review-control.d.ts +0 -49
- package/dist/propose-review-control.d.ts.map +0 -1
- package/dist/propose-review-control.test.d.ts +0 -2
- package/dist/propose-review-control.test.d.ts.map +0 -1
- package/dist/propose-review.d.ts +0 -155
- package/dist/propose-review.d.ts.map +0 -1
- package/dist/red-team.d.ts.map +0 -1
- package/dist/reference-replay-steering.d.ts +0 -11
- package/dist/reference-replay-steering.d.ts.map +0 -1
- package/dist/reference-replay.d.ts +0 -176
- package/dist/reference-replay.d.ts.map +0 -1
- package/dist/reflective-mutation.d.ts +0 -79
- package/dist/reflective-mutation.d.ts.map +0 -1
- package/dist/registry.d.ts +0 -31
- package/dist/registry.d.ts.map +0 -1
- package/dist/release-confidence.d.ts +0 -128
- package/dist/release-confidence.d.ts.map +0 -1
- package/dist/release-report.d.ts +0 -11
- package/dist/release-report.d.ts.map +0 -1
- package/dist/replay.d.ts +0 -120
- package/dist/replay.d.ts.map +0 -1
- package/dist/reporter.d.ts +0 -14
- package/dist/reporter.d.ts.map +0 -1
- package/dist/reporting.d.ts.map +0 -1
- package/dist/researcher.d.ts +0 -140
- package/dist/researcher.d.ts.map +0 -1
- package/dist/reviewer.d.ts +0 -118
- package/dist/reviewer.d.ts.map +0 -1
- package/dist/reviewer.test.d.ts +0 -2
- package/dist/reviewer.test.d.ts.map +0 -1
- package/dist/reward-model-export.d.ts +0 -60
- package/dist/reward-model-export.d.ts.map +0 -1
- package/dist/rl/active-curriculum.d.ts +0 -110
- package/dist/rl/active-curriculum.d.ts.map +0 -1
- package/dist/rl/adaptation-eval.d.ts +0 -109
- package/dist/rl/adaptation-eval.d.ts.map +0 -1
- package/dist/rl/adversarial.d.ts.map +0 -1
- package/dist/rl/compute-curves.d.ts +0 -127
- package/dist/rl/compute-curves.d.ts.map +0 -1
- package/dist/rl/contamination.d.ts +0 -117
- package/dist/rl/contamination.d.ts.map +0 -1
- package/dist/rl/corpus.d.ts +0 -55
- package/dist/rl/corpus.d.ts.map +0 -1
- package/dist/rl/corpus.test.d.ts +0 -2
- package/dist/rl/corpus.test.d.ts.map +0 -1
- package/dist/rl/dataset.d.ts +0 -102
- package/dist/rl/dataset.d.ts.map +0 -1
- package/dist/rl/dataset.test.d.ts +0 -2
- package/dist/rl/dataset.test.d.ts.map +0 -1
- package/dist/rl/exporters.d.ts +0 -141
- package/dist/rl/exporters.d.ts.map +0 -1
- package/dist/rl/index.d.ts +0 -49
- package/dist/rl/index.d.ts.map +0 -1
- package/dist/rl/off-policy.d.ts.map +0 -1
- package/dist/rl/predictive-validity-researcher.d.ts +0 -69
- package/dist/rl/predictive-validity-researcher.d.ts.map +0 -1
- package/dist/rl/preferences.d.ts +0 -141
- package/dist/rl/preferences.d.ts.map +0 -1
- package/dist/rl/process-reward.d.ts +0 -122
- package/dist/rl/process-reward.d.ts.map +0 -1
- package/dist/rl/reward-hacking.d.ts +0 -104
- package/dist/rl/reward-hacking.d.ts.map +0 -1
- package/dist/rl/rl-campaign.d.ts +0 -85
- package/dist/rl/rl-campaign.d.ts.map +0 -1
- package/dist/rl/run-record-adapters.d.ts +0 -56
- package/dist/rl/run-record-adapters.d.ts.map +0 -1
- package/dist/rl/sim-fidelity.d.ts +0 -166
- package/dist/rl/sim-fidelity.d.ts.map +0 -1
- package/dist/rl/sim-fidelity.test.d.ts +0 -2
- package/dist/rl/sim-fidelity.test.d.ts.map +0 -1
- package/dist/rl/tournament.d.ts +0 -115
- package/dist/rl/tournament.d.ts.map +0 -1
- package/dist/rl/verifiable-reward.d.ts +0 -124
- package/dist/rl/verifiable-reward.d.ts.map +0 -1
- package/dist/run-critic.d.ts +0 -23
- package/dist/run-critic.d.ts.map +0 -1
- package/dist/run-evidence.d.ts +0 -32
- package/dist/run-evidence.d.ts.map +0 -1
- package/dist/run-record.d.ts.map +0 -1
- package/dist/run-record.test.d.ts +0 -2
- package/dist/run-record.test.d.ts.map +0 -1
- package/dist/run-score.d.ts +0 -31
- package/dist/run-score.d.ts.map +0 -1
- package/dist/runtime-trajectory.d.ts +0 -47
- package/dist/runtime-trajectory.d.ts.map +0 -1
- package/dist/sandbox-harness.d.ts.map +0 -1
- package/dist/sandbox-harness.test.d.ts +0 -2
- package/dist/sandbox-harness.test.d.ts.map +0 -1
- package/dist/sandbox-pool.d.ts +0 -74
- package/dist/sandbox-pool.d.ts.map +0 -1
- package/dist/sandbox-pool.test.d.ts +0 -2
- package/dist/sandbox-pool.test.d.ts.map +0 -1
- package/dist/scorecard.d.ts +0 -133
- package/dist/scorecard.d.ts.map +0 -1
- package/dist/scorecard.test.d.ts +0 -2
- package/dist/scorecard.test.d.ts.map +0 -1
- package/dist/self-play.d.ts +0 -69
- package/dist/self-play.d.ts.map +0 -1
- package/dist/semantic-concept-judge.d.ts +0 -135
- package/dist/semantic-concept-judge.d.ts.map +0 -1
- package/dist/semantic-concept-judge.test.d.ts +0 -2
- package/dist/semantic-concept-judge.test.d.ts.map +0 -1
- package/dist/sequential.d.ts.map +0 -1
- package/dist/series-convergence.d.ts.map +0 -1
- package/dist/slo.d.ts +0 -48
- package/dist/slo.d.ts.map +0 -1
- package/dist/state-continuity.d.ts +0 -47
- package/dist/state-continuity.d.ts.map +0 -1
- package/dist/statistics.d.ts.map +0 -1
- package/dist/statistics.test.d.ts +0 -2
- package/dist/statistics.test.d.ts.map +0 -1
- package/dist/steering-optimizer.d.ts +0 -58
- package/dist/steering-optimizer.d.ts.map +0 -1
- package/dist/steering.d.ts +0 -24
- package/dist/steering.d.ts.map +0 -1
- package/dist/storyboard/code-edit.d.ts +0 -64
- package/dist/storyboard/code-edit.d.ts.map +0 -1
- package/dist/storyboard/code-edit.test.d.ts +0 -2
- package/dist/storyboard/code-edit.test.d.ts.map +0 -1
- package/dist/storyboard/index.d.ts.map +0 -1
- package/dist/storyboard/index.test.d.ts +0 -2
- package/dist/storyboard/index.test.d.ts.map +0 -1
- package/dist/summary-report.d.ts.map +0 -1
- package/dist/telemetry/client.d.ts +0 -35
- package/dist/telemetry/client.d.ts.map +0 -1
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/schema.d.ts +0 -61
- package/dist/telemetry/schema.d.ts.map +0 -1
- package/dist/telemetry/sink-fetch.d.ts +0 -39
- package/dist/telemetry/sink-fetch.d.ts.map +0 -1
- package/dist/telemetry/sink-file.d.ts.map +0 -1
- package/dist/test-graded-scenario.d.ts +0 -42
- package/dist/test-graded-scenario.d.ts.map +0 -1
- package/dist/testing.d.ts.map +0 -1
- package/dist/tool-use-metrics.d.ts +0 -35
- package/dist/tool-use-metrics.d.ts.map +0 -1
- package/dist/trace/capture-fetch.d.ts +0 -48
- package/dist/trace/capture-fetch.d.ts.map +0 -1
- package/dist/trace/capture-fetch.test.d.ts +0 -2
- package/dist/trace/capture-fetch.test.d.ts.map +0 -1
- package/dist/trace/emitter.d.ts.map +0 -1
- package/dist/trace/extract-usage.d.ts +0 -46
- package/dist/trace/extract-usage.d.ts.map +0 -1
- package/dist/trace/extract-usage.test.d.ts +0 -2
- package/dist/trace/extract-usage.test.d.ts.map +0 -1
- package/dist/trace/index.d.ts +0 -15
- package/dist/trace/index.d.ts.map +0 -1
- package/dist/trace/integrity.d.ts.map +0 -1
- package/dist/trace/otel-bridge.d.ts +0 -29
- package/dist/trace/otel-bridge.d.ts.map +0 -1
- package/dist/trace/otel-export.d.ts +0 -52
- package/dist/trace/otel-export.d.ts.map +0 -1
- package/dist/trace/otel.d.ts +0 -57
- package/dist/trace/otel.d.ts.map +0 -1
- package/dist/trace/otlp-attributes.d.ts +0 -17
- package/dist/trace/otlp-attributes.d.ts.map +0 -1
- package/dist/trace/query.d.ts +0 -29
- package/dist/trace/query.d.ts.map +0 -1
- package/dist/trace/query.test.d.ts +0 -2
- package/dist/trace/query.test.d.ts.map +0 -1
- package/dist/trace/raw-provider-sink.d.ts.map +0 -1
- package/dist/trace/redact.d.ts.map +0 -1
- package/dist/trace/schema.d.ts.map +0 -1
- package/dist/trace/store-to-otlp.d.ts +0 -72
- package/dist/trace/store-to-otlp.d.ts.map +0 -1
- package/dist/trace/store-to-otlp.test.d.ts +0 -2
- package/dist/trace/store-to-otlp.test.d.ts.map +0 -1
- package/dist/trace/store.d.ts.map +0 -1
- package/dist/trace/store.test.d.ts +0 -2
- package/dist/trace/store.test.d.ts.map +0 -1
- package/dist/trace-analyst/analyst.d.ts.map +0 -1
- package/dist/trace-analyst/analyst.test.d.ts +0 -2
- package/dist/trace-analyst/analyst.test.d.ts.map +0 -1
- package/dist/trace-analyst/behavioral-metrics.d.ts +0 -40
- package/dist/trace-analyst/behavioral-metrics.d.ts.map +0 -1
- package/dist/trace-analyst/behavioral-metrics.test.d.ts +0 -2
- package/dist/trace-analyst/behavioral-metrics.test.d.ts.map +0 -1
- package/dist/trace-analyst/hook.d.ts +0 -55
- package/dist/trace-analyst/hook.d.ts.map +0 -1
- package/dist/trace-analyst/index.d.ts +0 -18
- package/dist/trace-analyst/index.d.ts.map +0 -1
- package/dist/trace-analyst/insights.d.ts +0 -71
- package/dist/trace-analyst/insights.d.ts.map +0 -1
- package/dist/trace-analyst/insights.test.d.ts +0 -2
- package/dist/trace-analyst/insights.test.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-flatten.d.ts +0 -42
- package/dist/trace-analyst/otlp-flatten.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-span.d.ts +0 -85
- package/dist/trace-analyst/otlp-span.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-span.test.d.ts +0 -2
- package/dist/trace-analyst/otlp-span.test.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-to-run-records.d.ts +0 -115
- package/dist/trace-analyst/otlp-to-run-records.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-to-run-records.test.d.ts +0 -2
- package/dist/trace-analyst/otlp-to-run-records.test.d.ts.map +0 -1
- package/dist/trace-analyst/otlp-to-run-records.timestamps.test.d.ts +0 -2
- package/dist/trace-analyst/otlp-to-run-records.timestamps.test.d.ts.map +0 -1
- package/dist/trace-analyst/prompts.d.ts +0 -6
- package/dist/trace-analyst/prompts.d.ts.map +0 -1
- package/dist/trace-analyst/store-otlp.d.ts +0 -126
- package/dist/trace-analyst/store-otlp.d.ts.map +0 -1
- package/dist/trace-analyst/store-otlp.test.d.ts +0 -8
- package/dist/trace-analyst/store-otlp.test.d.ts.map +0 -1
- package/dist/trace-analyst/store-otlp.timestamps.test.d.ts +0 -2
- package/dist/trace-analyst/store-otlp.timestamps.test.d.ts.map +0 -1
- package/dist/trace-analyst/store.d.ts +0 -63
- package/dist/trace-analyst/store.d.ts.map +0 -1
- package/dist/trace-analyst/tools.d.ts +0 -44
- package/dist/trace-analyst/tools.d.ts.map +0 -1
- package/dist/trace-analyst/tools.test.d.ts +0 -10
- package/dist/trace-analyst/tools.test.d.ts.map +0 -1
- package/dist/trace-analyst/types.d.ts.map +0 -1
- package/dist/trace-contracts.d.ts +0 -180
- package/dist/trace-contracts.d.ts.map +0 -1
- package/dist/traced-analyst.d.ts +0 -26
- package/dist/traced-analyst.d.ts.map +0 -1
- package/dist/traced-judges.d.ts +0 -27
- package/dist/traced-judges.d.ts.map +0 -1
- package/dist/traces.d.ts.map +0 -1
- package/dist/trajectory.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/ui-finding.d.ts +0 -104
- package/dist/ui-finding.d.ts.map +0 -1
- package/dist/verdict-cache.d.ts +0 -78
- package/dist/verdict-cache.d.ts.map +0 -1
- package/dist/verdict-cache.test.d.ts +0 -2
- package/dist/verdict-cache.test.d.ts.map +0 -1
- package/dist/verdict.d.ts.map +0 -1
- package/dist/visual-diff.d.ts +0 -32
- package/dist/visual-diff.d.ts.map +0 -1
- package/dist/wire/handlers.d.ts +0 -54
- package/dist/wire/handlers.d.ts.map +0 -1
- package/dist/wire/index.d.ts.map +0 -1
- package/dist/wire/openapi.d.ts +0 -3
- package/dist/wire/openapi.d.ts.map +0 -1
- package/dist/wire/rpc.d.ts +0 -21
- package/dist/wire/rpc.d.ts.map +0 -1
- package/dist/wire/rubrics.d.ts +0 -34
- package/dist/wire/rubrics.d.ts.map +0 -1
- package/dist/wire/schemas.d.ts +0 -410
- package/dist/wire/schemas.d.ts.map +0 -1
- package/dist/wire/server.d.ts +0 -60
- package/dist/wire/server.d.ts.map +0 -1
- package/dist/workflow/event-schema.d.ts +0 -5
- package/dist/workflow/event-schema.d.ts.map +0 -1
- package/dist/workflow/feedback-pack.d.ts +0 -99
- package/dist/workflow/feedback-pack.d.ts.map +0 -1
- package/dist/workflow/index.d.ts.map +0 -1
- package/dist/workflow/intelligence-export.d.ts +0 -62
- package/dist/workflow/intelligence-export.d.ts.map +0 -1
- package/dist/workflow/partner-report.d.ts +0 -49
- package/dist/workflow/partner-report.d.ts.map +0 -1
- package/dist/workflow/phase-graph.d.ts +0 -43
- package/dist/workflow/phase-graph.d.ts.map +0 -1
- package/dist/workflow/promotion-gate.d.ts +0 -61
- package/dist/workflow/promotion-gate.d.ts.map +0 -1
- package/dist/workflow/run-record.d.ts +0 -12
- package/dist/workflow/run-record.d.ts.map +0 -1
- package/dist/workflow/runtime-adapter.d.ts +0 -20
- package/dist/workflow/runtime-adapter.d.ts.map +0 -1
- package/dist/workflow/sanitize.d.ts +0 -21
- package/dist/workflow/sanitize.d.ts.map +0 -1
- package/dist/workflow/schema.d.ts +0 -5
- package/dist/workflow/schema.d.ts.map +0 -1
- package/dist/workflow/summary.d.ts +0 -43
- package/dist/workflow/summary.d.ts.map +0 -1
- package/dist/workflow/trace-event-fields.d.ts +0 -6
- package/dist/workflow/trace-event-fields.d.ts.map +0 -1
- package/dist/workflow/trajectory.d.ts +0 -15
- package/dist/workflow/trajectory.d.ts.map +0 -1
- package/dist/workflow/types.d.ts +0 -68
- package/dist/workflow/types.d.ts.map +0 -1
- package/dist/workspace-inspector.d.ts +0 -67
- package/dist/workspace-inspector.d.ts.map +0 -1
- package/dist/wrangler-deploy-runner.test.d.ts +0 -2
- package/dist/wrangler-deploy-runner.test.d.ts.map +0 -1
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { T as TraceEmitter } from './emitter-C2rqGH_l.js';
|
|
2
|
+
import { T as TraceStore } from './store-BcFXE6LG.js';
|
|
3
|
+
import { T as Trajectory, a as TrajectoryStep } from './trajectory-2TkpSEVh.js';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
6
|
* Counterfactual replay — "what would have happened if we'd changed
|
|
3
7
|
* exactly one thing at turn N?"
|
|
@@ -11,11 +15,8 @@
|
|
|
11
15
|
* `parentRunId = originalRunId`, so downstream diff + correlation
|
|
12
16
|
* pipelines see them natively.
|
|
13
17
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import type { TraceStore } from './trace/store';
|
|
17
|
-
import { type Trajectory, type TrajectoryStep } from './trajectory';
|
|
18
|
-
export type CounterfactualMutation = {
|
|
18
|
+
|
|
19
|
+
type CounterfactualMutation = {
|
|
19
20
|
kind: 'swap-model';
|
|
20
21
|
at: number;
|
|
21
22
|
newModel: string;
|
|
@@ -36,7 +37,7 @@ export type CounterfactualMutation = {
|
|
|
36
37
|
describe: string;
|
|
37
38
|
apply: (step: TrajectoryStep) => TrajectoryStep;
|
|
38
39
|
};
|
|
39
|
-
|
|
40
|
+
interface CounterfactualContext {
|
|
40
41
|
originalRunId: string;
|
|
41
42
|
originalTrajectory: Trajectory;
|
|
42
43
|
/** Steps up to (but not including) the mutation point — the prefix the
|
|
@@ -48,7 +49,7 @@ export interface CounterfactualContext {
|
|
|
48
49
|
* re-emit it or continue from there). */
|
|
49
50
|
mutatedStep: TrajectoryStep;
|
|
50
51
|
}
|
|
51
|
-
|
|
52
|
+
interface CounterfactualResult {
|
|
52
53
|
counterfactualRunId: string;
|
|
53
54
|
originalRunId: string;
|
|
54
55
|
mutation: CounterfactualMutation;
|
|
@@ -59,7 +60,7 @@ export interface CounterfactualResult {
|
|
|
59
60
|
deltaScore: number | null;
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
|
-
|
|
63
|
+
interface CounterfactualRunner {
|
|
63
64
|
/**
|
|
64
65
|
* Execute the agent from `ctx.prefix` with the mutation applied.
|
|
65
66
|
* MUST emit spans into the provided emitter so they become part of
|
|
@@ -67,18 +68,18 @@ export interface CounterfactualRunner {
|
|
|
67
68
|
*/
|
|
68
69
|
executeFrom: (ctx: CounterfactualContext, emitter: TraceEmitter) => Promise<void>;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
+
declare function runCounterfactual(store: TraceStore, originalRunId: string, mutation: CounterfactualMutation, runner: CounterfactualRunner): Promise<CounterfactualResult>;
|
|
71
72
|
/**
|
|
72
73
|
* Aggregate a batch of counterfactuals into a simple attribution table:
|
|
73
74
|
* which mutation kinds move outcomes most? (Useful when you run a grid
|
|
74
75
|
* over the same trajectory — swap-model at every llm span, swap-tool
|
|
75
76
|
* at every tool span — and want a ranked summary.)
|
|
76
77
|
*/
|
|
77
|
-
|
|
78
|
+
declare function attributeCounterfactuals(results: CounterfactualResult[]): Array<{
|
|
78
79
|
mutationKind: CounterfactualMutation['kind'];
|
|
79
80
|
n: number;
|
|
80
81
|
meanAbsDelta: number;
|
|
81
82
|
meanSignedDelta: number;
|
|
82
83
|
}>;
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
|
|
85
|
+
export { type CounterfactualMutation as C, attributeCounterfactuals as a, type CounterfactualRunner as b, type CounterfactualContext as c, type CounterfactualResult as d, runCounterfactual as r };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { V as ValidationError } from './errors-CzMUYo7b.js';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Dataset — versioned, sliceable, content-hashed scenario collection.
|
|
3
5
|
*
|
|
@@ -14,9 +16,9 @@
|
|
|
14
16
|
* can read them but `mutate` throws, which prevents "oh I'll just
|
|
15
17
|
* tweak that one scenario" contamination drift.
|
|
16
18
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
type DatasetSplit = 'train' | 'dev' | 'test' | 'holdout';
|
|
20
|
+
type DatasetDifficulty = 'easy' | 'medium' | 'hard' | 'extreme';
|
|
21
|
+
interface DatasetScenario {
|
|
20
22
|
id: string;
|
|
21
23
|
/** Arbitrary payload; the framework doesn't interpret it. */
|
|
22
24
|
payload: unknown;
|
|
@@ -36,7 +38,7 @@ export interface DatasetScenario {
|
|
|
36
38
|
forbiddenPattern?: string;
|
|
37
39
|
tags?: Record<string, string>;
|
|
38
40
|
}
|
|
39
|
-
|
|
41
|
+
interface DatasetProvenance {
|
|
40
42
|
contributor?: string;
|
|
41
43
|
createdAt: string;
|
|
42
44
|
sourceUrl?: string;
|
|
@@ -45,7 +47,7 @@ export interface DatasetProvenance {
|
|
|
45
47
|
/** Monotonic human-readable version (e.g. "2026.04.20"). */
|
|
46
48
|
version: string;
|
|
47
49
|
}
|
|
48
|
-
|
|
50
|
+
interface DatasetManifest {
|
|
49
51
|
name: string;
|
|
50
52
|
provenance: DatasetProvenance;
|
|
51
53
|
/** sha256 hex over canonicalized scenarios. */
|
|
@@ -53,7 +55,7 @@ export interface DatasetManifest {
|
|
|
53
55
|
scenarioCount: number;
|
|
54
56
|
splitCounts: Record<DatasetSplit, number>;
|
|
55
57
|
}
|
|
56
|
-
|
|
58
|
+
interface SliceOptions {
|
|
57
59
|
split?: DatasetSplit;
|
|
58
60
|
difficulty?: DatasetDifficulty;
|
|
59
61
|
/** Number of scenarios (random sample, seeded). Omit to take all that match. */
|
|
@@ -64,12 +66,12 @@ export interface SliceOptions {
|
|
|
64
66
|
/** If true, include scenarios marked as holdout. Default false. */
|
|
65
67
|
includeHoldout?: boolean;
|
|
66
68
|
}
|
|
67
|
-
|
|
69
|
+
|
|
68
70
|
/** Locked holdouts — throws on mutate. Callers that need a mutable dataset fork it. */
|
|
69
|
-
|
|
71
|
+
declare class HoldoutLockedError extends ValidationError {
|
|
70
72
|
constructor(datasetName: string);
|
|
71
73
|
}
|
|
72
|
-
|
|
74
|
+
declare class Dataset {
|
|
73
75
|
readonly name: string;
|
|
74
76
|
readonly provenance: DatasetProvenance;
|
|
75
77
|
private scenarios;
|
|
@@ -108,5 +110,6 @@ export declare class Dataset {
|
|
|
108
110
|
toJsonl(): string;
|
|
109
111
|
static fromJsonl(jsonl: string, manifest: Omit<DatasetManifest, 'contentHash' | 'scenarioCount' | 'splitCounts'>): Dataset;
|
|
110
112
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
declare function hashScenarios(scenarios: DatasetScenario[]): Promise<string>;
|
|
114
|
+
|
|
115
|
+
export { type DatasetSplit as D, HoldoutLockedError as H, type SliceOptions as S, type DatasetScenario as a, Dataset as b, type DatasetManifest as c, type DatasetDifficulty as d, type DatasetProvenance as e, hashScenarios as h };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { AxAIService } from '@ax-llm/ax';
|
|
2
|
+
import { T as TraceAnalystKindSpec } from './kind-factory-X3eDYbKn.js';
|
|
3
|
+
import { A as Analyst, a as AnalystContext, b as AnalystRunSummary, c as AnalystFinding, d as AnalystRunResult, C as ChatClient, e as AnalystRunInputs, f as AnalystRunEvent } from './types-B5x54y6n.js';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
6
|
* AnalystRegistry — orchestrate N analysts against one run.
|
|
3
7
|
*
|
|
@@ -15,9 +19,8 @@
|
|
|
15
19
|
* (equal split vs weighted vs custom) lives in `BudgetPolicy`. Both
|
|
16
20
|
* have sensible defaults; consumers override only what they need.
|
|
17
21
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export interface AnalystHooks {
|
|
22
|
+
|
|
23
|
+
interface AnalystHooks {
|
|
21
24
|
/** Before analyze() — last chance to mutate ctx (e.g. inject tags, override budget). */
|
|
22
25
|
onBeforeAnalyze?(args: {
|
|
23
26
|
analyst: Analyst;
|
|
@@ -46,7 +49,7 @@ export interface AnalystHooks {
|
|
|
46
49
|
result: AnalystRunResult;
|
|
47
50
|
}): void | Promise<void>;
|
|
48
51
|
}
|
|
49
|
-
|
|
52
|
+
interface BudgetPolicy {
|
|
50
53
|
/** Overall USD cap across the registry.run(). */
|
|
51
54
|
totalUsd?: number;
|
|
52
55
|
/** Per-analyst weight for the default allocator. Missing ids get weight 1. */
|
|
@@ -63,7 +66,7 @@ export interface BudgetPolicy {
|
|
|
63
66
|
runningCount: number;
|
|
64
67
|
}) => number | undefined;
|
|
65
68
|
}
|
|
66
|
-
|
|
69
|
+
interface AnalystRegistryOptions {
|
|
67
70
|
/** Shared chat client passed to every LLM analyst via AnalystContext. */
|
|
68
71
|
chat?: ChatClient;
|
|
69
72
|
/** Logger callback. Defaults to a no-op. */
|
|
@@ -73,7 +76,7 @@ export interface AnalystRegistryOptions {
|
|
|
73
76
|
/** Default budget when run() doesn't override. */
|
|
74
77
|
defaultBudget?: BudgetPolicy;
|
|
75
78
|
}
|
|
76
|
-
|
|
79
|
+
interface RegistryRunOpts {
|
|
77
80
|
/** Restrict to a subset of registered analysts by id. */
|
|
78
81
|
only?: string[];
|
|
79
82
|
/** Skip these analysts even if registered. Useful for cheap iteration. */
|
|
@@ -96,7 +99,7 @@ export interface RegistryRunOpts {
|
|
|
96
99
|
*/
|
|
97
100
|
priorFindings?: ReadonlyArray<AnalystFinding> | Record<string, ReadonlyArray<AnalystFinding>>;
|
|
98
101
|
}
|
|
99
|
-
|
|
102
|
+
declare class AnalystRegistry {
|
|
100
103
|
private readonly analysts;
|
|
101
104
|
private readonly options;
|
|
102
105
|
constructor(options?: AnalystRegistryOptions);
|
|
@@ -123,4 +126,30 @@ export declare class AnalystRegistry {
|
|
|
123
126
|
private selectAnalysts;
|
|
124
127
|
private routeInput;
|
|
125
128
|
}
|
|
126
|
-
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* `buildDefaultAnalystRegistry` — the canonical analyst suite, so consumers
|
|
132
|
+
* stop hand-wiring `new AnalystRegistry()` + per-kind `createTraceAnalystKind`.
|
|
133
|
+
*
|
|
134
|
+
* The deterministic `behavioralAnalyst` is ALWAYS registered (it needs no
|
|
135
|
+
* model and is model-agnostic by construction). The agentic RLM kinds are
|
|
136
|
+
* registered only when an `ai` service is supplied — so a caller with no LLM
|
|
137
|
+
* still gets the full behavioral/efficiency diagnosis, and the substrate's
|
|
138
|
+
* "any model (including no model)" guarantee holds at the suite level.
|
|
139
|
+
*/
|
|
140
|
+
|
|
141
|
+
interface DefaultAnalystRegistryOptions {
|
|
142
|
+
/** Ax service for the agentic RLM kinds. Omit → only the deterministic analyst. */
|
|
143
|
+
ai?: AxAIService;
|
|
144
|
+
/** Model for the agentic kinds (falls back to the ai service default). */
|
|
145
|
+
model?: string;
|
|
146
|
+
/** Which agentic kinds to register when `ai` is present. Default = the shipped suite. */
|
|
147
|
+
kinds?: readonly TraceAnalystKindSpec[];
|
|
148
|
+
/** Set false to omit the deterministic behavioral analyst (default: include). */
|
|
149
|
+
includeBehavioral?: boolean;
|
|
150
|
+
/** Forwarded to the AnalystRegistry constructor (signal, tags, priorFindings). */
|
|
151
|
+
registry?: AnalystRegistryOptions;
|
|
152
|
+
}
|
|
153
|
+
declare function buildDefaultAnalystRegistry(opts?: DefaultAnalystRegistryOptions): AnalystRegistry;
|
|
154
|
+
|
|
155
|
+
export { AnalystRegistry as A, type BudgetPolicy as B, type DefaultAnalystRegistryOptions as D, type RegistryRunOpts as R, type AnalystHooks as a, type AnalystRegistryOptions as b, buildDefaultAnalystRegistry as c };
|
package/dist/diagnose.d.ts
CHANGED
|
@@ -1 +1,252 @@
|
|
|
1
|
-
|
|
1
|
+
import { C as CounterfactualMutation, a as attributeCounterfactuals, b as CounterfactualRunner } from './counterfactual-DlOz8PBx.js';
|
|
2
|
+
export { c as CounterfactualContext, d as CounterfactualResult } from './counterfactual-DlOz8PBx.js';
|
|
3
|
+
import { S as Span } from './schema-m0gsnbt3.js';
|
|
4
|
+
import { T as TraceStore } from './store-BcFXE6LG.js';
|
|
5
|
+
import { a as TrajectoryStep, T as Trajectory } from './trajectory-2TkpSEVh.js';
|
|
6
|
+
import { h as AnalystSeverity, c as AnalystFinding } from './types-B5x54y6n.js';
|
|
7
|
+
import { C as CorpusRecord } from './corpus-D4YW9UoJ.js';
|
|
8
|
+
import { R as RunRecord } from './run-record-CP2ObebC.js';
|
|
9
|
+
import './emitter-C2rqGH_l.js';
|
|
10
|
+
import './store-C1YxJDEK.js';
|
|
11
|
+
import './types-C7DGg5ex.js';
|
|
12
|
+
import '@tangle-network/tcloud';
|
|
13
|
+
import './llm-client-Bj7g0rqu.js';
|
|
14
|
+
import './errors-CzMUYo7b.js';
|
|
15
|
+
import './raw-provider-sink-C46HDghv.js';
|
|
16
|
+
import '@tangle-network/agent-interface';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Causal sweep — WHY did this run fail?
|
|
20
|
+
*
|
|
21
|
+
* Orchestrates the dormant counterfactual primitives into a responsibility
|
|
22
|
+
* report: for each candidate step, run `reps` counterfactual replays per
|
|
23
|
+
* mutation (via `runCounterfactual` — the consumer's `CounterfactualRunner`
|
|
24
|
+
* is the execution seam) and reduce the per-rep score deltas into a mean
|
|
25
|
+
* effect + bootstrap confidence interval (via `confidenceInterval`).
|
|
26
|
+
*
|
|
27
|
+
* Why `reps` is REQUIRED: a single intervention delta is one stochastic
|
|
28
|
+
* draw — LLM re-execution from a prefix is sampled, so one replay cannot
|
|
29
|
+
* distinguish "this step caused the failure" from sampling noise. The
|
|
30
|
+
* signal is the distribution of deltas across reps; the CI over that
|
|
31
|
+
* distribution is what lets a caller say "this step's effect excludes
|
|
32
|
+
* zero" instead of eyeballing a point estimate.
|
|
33
|
+
*
|
|
34
|
+
* Budget discipline: the sweep never silently drops cells. When the
|
|
35
|
+
* remaining budget cannot fund a full `reps`-sized cell, the sweep halts
|
|
36
|
+
* and every step not fully probed is named in `uncovered`.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/** Stable reference to a trajectory step — carried through reports,
|
|
40
|
+
* findings, and corpus records so evidence stays addressable. */
|
|
41
|
+
interface StepRef {
|
|
42
|
+
index: number;
|
|
43
|
+
spanId: string;
|
|
44
|
+
kind: Span['kind'];
|
|
45
|
+
name: string;
|
|
46
|
+
}
|
|
47
|
+
declare function stepRefOf(step: TrajectoryStep): StepRef;
|
|
48
|
+
interface CausalSweepOptions {
|
|
49
|
+
store: TraceStore;
|
|
50
|
+
/** The failed run to diagnose. Its `outcome.score` is the baseline every
|
|
51
|
+
* counterfactual delta is measured against. */
|
|
52
|
+
runId: string;
|
|
53
|
+
/** Execution seam — identical contract to `runCounterfactual`: re-runs the
|
|
54
|
+
* agent from the mutation point and MUST `endRun` with a numeric score. */
|
|
55
|
+
runner: CounterfactualRunner;
|
|
56
|
+
/** Trajectory indices to probe. Default: every llm + tool span — the kinds
|
|
57
|
+
* the existing `CounterfactualMutation` set targets. */
|
|
58
|
+
candidateSteps?: number[];
|
|
59
|
+
/**
|
|
60
|
+
* Mutations to probe a given step with. Returned mutations MUST target
|
|
61
|
+
* `step.index`. Default probes are the payload-free existing kinds:
|
|
62
|
+
* - tool span → `swap-tool-result` with `newResult: null` (knockout:
|
|
63
|
+
* how much did the run depend on this tool's information?)
|
|
64
|
+
* - llm span → `truncate-after` (re-roll: how much did the realized
|
|
65
|
+
* turn deviate from the policy's typical continuation?)
|
|
66
|
+
* `swap-model` / `inject-system-message` need consumer payloads, so they
|
|
67
|
+
* are opt-in via this callback.
|
|
68
|
+
*/
|
|
69
|
+
mutationsPerStep?: (step: TrajectoryStep) => CounterfactualMutation[];
|
|
70
|
+
/** Replays per (step, mutation) cell. Minimum 2 — see module doc. */
|
|
71
|
+
reps: number;
|
|
72
|
+
/** Hard cap on total counterfactual replays across the whole sweep. */
|
|
73
|
+
budget: number;
|
|
74
|
+
/** Seed for the bootstrap CI resampler. Deterministic default so two
|
|
75
|
+
* sweeps over the same deltas report identical intervals. */
|
|
76
|
+
ciSeed?: number;
|
|
77
|
+
/** Bootstrap CI confidence level. Default 0.95. */
|
|
78
|
+
ciConfidence?: number;
|
|
79
|
+
}
|
|
80
|
+
interface StepResponsibility {
|
|
81
|
+
stepRef: StepRef;
|
|
82
|
+
mutationKind: CounterfactualMutation['kind'];
|
|
83
|
+
/** Mean of per-rep score deltas (counterfactual − original). */
|
|
84
|
+
meanEffect: number;
|
|
85
|
+
/** Bootstrap CI over the per-rep deltas. */
|
|
86
|
+
ci: {
|
|
87
|
+
mean: number;
|
|
88
|
+
lower: number;
|
|
89
|
+
upper: number;
|
|
90
|
+
};
|
|
91
|
+
/** `ci.lower > 0 || ci.upper < 0` — the effect is distinguishable from noise. */
|
|
92
|
+
ciExcludesZero: boolean;
|
|
93
|
+
reps: number;
|
|
94
|
+
/** Raw per-rep deltas — downstream evidence, never re-derived. */
|
|
95
|
+
deltas: number[];
|
|
96
|
+
/** Replay run ids (layer='meta', parentRunId=original) for audit. */
|
|
97
|
+
counterfactualRunIds: string[];
|
|
98
|
+
}
|
|
99
|
+
interface CausalResponsibilityReport {
|
|
100
|
+
runId: string;
|
|
101
|
+
originalScore: number;
|
|
102
|
+
/** Ranked by |meanEffect| descending — the blame ordering. */
|
|
103
|
+
steps: StepResponsibility[];
|
|
104
|
+
/** Kind-level aggregate from the existing `attributeCounterfactuals`. */
|
|
105
|
+
byMutationKind: ReturnType<typeof attributeCounterfactuals>;
|
|
106
|
+
replaysUsed: number;
|
|
107
|
+
budget: number;
|
|
108
|
+
/** Steps planned but not fully probed before the budget ran out.
|
|
109
|
+
* Named, never silent: an absent step is "no effect found"; an
|
|
110
|
+
* uncovered step is "not measured". */
|
|
111
|
+
uncovered: StepRef[];
|
|
112
|
+
}
|
|
113
|
+
declare function causalSweep(opts: CausalSweepOptions): Promise<CausalResponsibilityReport>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Replay-validated repair — WHAT SHOULD HAVE HAPPENED?
|
|
117
|
+
*
|
|
118
|
+
* Takes the blamed steps from a `CausalResponsibilityReport`, asks a
|
|
119
|
+
* consumer-supplied `proposeFix` (LLM-backed in live use) for candidate
|
|
120
|
+
* mutations, and machine-verifies each candidate by replaying the run
|
|
121
|
+
* WITH the mutation applied (through the same `runCounterfactual` seam
|
|
122
|
+
* the sweep uses).
|
|
123
|
+
*
|
|
124
|
+
* A repair is "what should have happened" ONLY when every validation
|
|
125
|
+
* replay crosses `flipThreshold` — a prescription is never speculated,
|
|
126
|
+
* it is demonstrated. Candidates that don't flip, or whose replay
|
|
127
|
+
* errors, land in `rejected` with a typed reason; nothing is dropped
|
|
128
|
+
* silently.
|
|
129
|
+
*/
|
|
130
|
+
|
|
131
|
+
/** Context handed to `proposeFix` so an LLM-backed proposer can see the
|
|
132
|
+
* full trajectory plus the responsibility evidence for the blamed step. */
|
|
133
|
+
interface RepairContext {
|
|
134
|
+
runId: string;
|
|
135
|
+
trajectory: Trajectory;
|
|
136
|
+
originalScore: number;
|
|
137
|
+
responsibility: StepResponsibility;
|
|
138
|
+
}
|
|
139
|
+
interface PrescribeRepairOptions {
|
|
140
|
+
store: TraceStore;
|
|
141
|
+
/** The failed run the sweep diagnosed. */
|
|
142
|
+
runId: string;
|
|
143
|
+
/** Execution seam — same `CounterfactualRunner` contract as the sweep. */
|
|
144
|
+
runner: CounterfactualRunner;
|
|
145
|
+
/** Blamed steps from `causalSweep` — typically `report.steps.slice(0, k)`. */
|
|
146
|
+
blamed: StepResponsibility[];
|
|
147
|
+
/** Candidate-fix generator. Consumer-supplied; LLM-backed in live use.
|
|
148
|
+
* Returned mutations MUST target the blamed step's index. */
|
|
149
|
+
proposeFix: (step: TrajectoryStep, context: RepairContext) => Promise<CounterfactualMutation[]>;
|
|
150
|
+
/** Score every validation replay must reach for the repair to count. Default 0.5. */
|
|
151
|
+
flipThreshold?: number;
|
|
152
|
+
/** Validation replays per candidate mutation. Default 3. */
|
|
153
|
+
repsToValidate?: number;
|
|
154
|
+
/** Max candidate mutations tried per step. Default: all proposed. */
|
|
155
|
+
maxAttemptsPerStep?: number;
|
|
156
|
+
}
|
|
157
|
+
interface ValidatedRepair {
|
|
158
|
+
stepRef: StepRef;
|
|
159
|
+
mutation: CounterfactualMutation;
|
|
160
|
+
/** Always true — presence in `repairs` IS the machine-verified claim. */
|
|
161
|
+
validated: true;
|
|
162
|
+
/** Mean counterfactual score across the validation reps. */
|
|
163
|
+
meanScore: number;
|
|
164
|
+
/** meanScore − originalScore. */
|
|
165
|
+
deltaScore: number;
|
|
166
|
+
reps: number;
|
|
167
|
+
/** Replay run ids backing the validation — audit trail. */
|
|
168
|
+
counterfactualRunIds: string[];
|
|
169
|
+
}
|
|
170
|
+
interface RejectedRepair {
|
|
171
|
+
stepRef: StepRef;
|
|
172
|
+
mutation: CounterfactualMutation;
|
|
173
|
+
reason: 'did-not-flip' | 'error';
|
|
174
|
+
/** Present for 'did-not-flip': mean delta over the reps that ran. */
|
|
175
|
+
deltaScore?: number;
|
|
176
|
+
/** Present for 'error': the message, preserved for diagnosis. */
|
|
177
|
+
error?: string;
|
|
178
|
+
}
|
|
179
|
+
interface RepairReport {
|
|
180
|
+
runId: string;
|
|
181
|
+
originalScore: number;
|
|
182
|
+
flipThreshold: number;
|
|
183
|
+
repairs: ValidatedRepair[];
|
|
184
|
+
rejected: RejectedRepair[];
|
|
185
|
+
replaysUsed: number;
|
|
186
|
+
}
|
|
187
|
+
declare function prescribeRepair(opts: PrescribeRepairOptions): Promise<RepairReport>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Remediation adapters — HOW DO WE MAKE IT HAPPEN?
|
|
191
|
+
*
|
|
192
|
+
* The diagnose chain ends by feeding existing improvement machinery,
|
|
193
|
+
* not by building new machinery:
|
|
194
|
+
*
|
|
195
|
+
* - `toAnalystFindings` → the analyst contract (`makeFinding`), so
|
|
196
|
+
* responsibility evidence flows into the same registry / steering /
|
|
197
|
+
* diff pipeline every other analyst feeds.
|
|
198
|
+
* - `toCorpusRecord` → the RL corpus (`CorpusRecord`), pinning the
|
|
199
|
+
* diagnosed failure + validated repair as a permanent scenario.
|
|
200
|
+
* - `suggestInvariant` → a plain-data hint in the shape the
|
|
201
|
+
* trace-contracts machinery consumes (`never` / `without` clauses).
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
declare const DIAGNOSE_ANALYST_ID = "diagnose-causal-sweep";
|
|
205
|
+
/** Severity from causal effect size. Effects whose CI includes zero are
|
|
206
|
+
* 'info' regardless of magnitude — an indistinguishable-from-noise effect
|
|
207
|
+
* must not steer remediation priority. */
|
|
208
|
+
declare function severityFromEffect(responsibility: StepResponsibility): AnalystSeverity;
|
|
209
|
+
/** Deterministic human-readable rendering of a mutation — used in
|
|
210
|
+
* recommended actions, corpus completions, and invariant hints. */
|
|
211
|
+
declare function describeMutation(mutation: CounterfactualMutation): string;
|
|
212
|
+
/**
|
|
213
|
+
* Lift a responsibility report (and optionally its validated repairs) into
|
|
214
|
+
* `AnalystFinding`s via the real `makeFinding` factory. One finding per
|
|
215
|
+
* probed step; a validated repair for that step upgrades the finding with
|
|
216
|
+
* a `recommended_action` + the replay-validation evidence.
|
|
217
|
+
*
|
|
218
|
+
* Findings are OBSERVED causal probes (replay deltas), not judge verdicts,
|
|
219
|
+
* so `derived_from_judge` stays unset and they may steer.
|
|
220
|
+
*/
|
|
221
|
+
declare function toAnalystFindings(report: CausalResponsibilityReport, repairs?: RepairReport): AnalystFinding[];
|
|
222
|
+
/**
|
|
223
|
+
* Pin the diagnosed failure as a permanent corpus scenario. Takes the
|
|
224
|
+
* original run's `RunRecord` projection plus a validated repair and emits
|
|
225
|
+
* a fresh `CorpusRecord` (new runId, so corpus dedup keeps both the raw
|
|
226
|
+
* failure and the diagnosed entry).
|
|
227
|
+
*
|
|
228
|
+
* `completion` defaults to the validated mutation's rendering — "what
|
|
229
|
+
* should have happened" in machine-derived form. Supply `prompt` (and
|
|
230
|
+
* optionally a richer `completion`) when the trajectory text is available
|
|
231
|
+
* so the record is harvestable by `buildDatasetFromCorpus`.
|
|
232
|
+
*/
|
|
233
|
+
declare function toCorpusRecord(run: RunRecord, repair: ValidatedRepair, opts?: {
|
|
234
|
+
prompt?: string;
|
|
235
|
+
completion?: string;
|
|
236
|
+
}): CorpusRecord;
|
|
237
|
+
/** Plain-data invariant hint. The trace-contracts machinery consumes this
|
|
238
|
+
* shape: `never` is a pattern that must not appear in a passing trace;
|
|
239
|
+
* `without` is a guard whose absence makes the failure reachable. */
|
|
240
|
+
interface InvariantHint {
|
|
241
|
+
description: string;
|
|
242
|
+
never?: string;
|
|
243
|
+
without?: string;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Derive an invariant hint from a validated repair. Deterministic per
|
|
247
|
+
* mutation kind — the hint names the contract a trace must satisfy so
|
|
248
|
+
* the diagnosed failure cannot silently recur.
|
|
249
|
+
*/
|
|
250
|
+
declare function suggestInvariant(repair: ValidatedRepair): InvariantHint;
|
|
251
|
+
|
|
252
|
+
export { type CausalResponsibilityReport, type CausalSweepOptions, CounterfactualMutation, CounterfactualRunner, DIAGNOSE_ANALYST_ID, type InvariantHint, type PrescribeRepairOptions, type RejectedRepair, type RepairContext, type RepairReport, type StepRef, type StepResponsibility, type ValidatedRepair, causalSweep, describeMutation, prescribeRepair, severityFromEffect, stepRefOf, suggestInvariant, toAnalystFindings, toCorpusRecord };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { b as RunOutcome, R as Run, S as Span, c as SpanKind, L as LlmSpan, T as ToolSpan, d as RetrievalSpan, J as JudgeSpan, e as SandboxSpan, E as EventKind, a as TraceEvent, B as BudgetLedgerEntry, A as Artifact, M as Message } from './schema-m0gsnbt3.js';
|
|
2
|
+
import { T as TraceStore } from './store-BcFXE6LG.js';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
5
|
* TraceEmitter — hierarchical span builder that auto-parents using an
|
|
3
6
|
* internal stack. One emitter per Run; emitters do NOT share state.
|
|
@@ -8,14 +11,13 @@
|
|
|
8
11
|
* the stack (e.g. fan-out parallel calls), pass `parentSpanId`
|
|
9
12
|
* explicitly.
|
|
10
13
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export interface SpanHandle<S extends Span = Span> {
|
|
14
|
+
|
|
15
|
+
interface SpanHandle<S extends Span = Span> {
|
|
14
16
|
span: S;
|
|
15
17
|
end(patch?: Partial<S>): Promise<void>;
|
|
16
18
|
fail(error: string | Error, patch?: Partial<S>): Promise<void>;
|
|
17
19
|
}
|
|
18
|
-
|
|
20
|
+
interface RunCompleteHookContext {
|
|
19
21
|
runId: string;
|
|
20
22
|
emitter: TraceEmitter;
|
|
21
23
|
store: TraceStore;
|
|
@@ -24,8 +26,8 @@ export interface RunCompleteHookContext {
|
|
|
24
26
|
/** Final run status. */
|
|
25
27
|
status: 'completed' | 'failed' | 'aborted';
|
|
26
28
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
type RunCompleteHook = (ctx: RunCompleteHookContext) => Promise<void> | void;
|
|
30
|
+
interface TraceEmitterOptions {
|
|
29
31
|
runId?: string;
|
|
30
32
|
/** Inject a clock for deterministic tests. */
|
|
31
33
|
now?: () => number;
|
|
@@ -44,7 +46,7 @@ export interface TraceEmitterOptions {
|
|
|
44
46
|
/** `'swallow'` (default) | `'throw'`. */
|
|
45
47
|
hookErrors?: 'swallow' | 'throw';
|
|
46
48
|
}
|
|
47
|
-
|
|
49
|
+
declare class TraceEmitter {
|
|
48
50
|
private store;
|
|
49
51
|
private stack;
|
|
50
52
|
private _runId;
|
|
@@ -102,7 +104,7 @@ export declare class TraceEmitter {
|
|
|
102
104
|
within<T>(init: Parameters<TraceEmitter['span']>[0], fn: (handle: SpanHandle) => Promise<T>): Promise<T>;
|
|
103
105
|
}
|
|
104
106
|
/** Helper to build an LLM span handle args object from a provider-shaped response. */
|
|
105
|
-
|
|
107
|
+
declare function llmSpanFromProvider(args: {
|
|
106
108
|
name?: string;
|
|
107
109
|
model: string;
|
|
108
110
|
messages: Message[];
|
|
@@ -116,4 +118,5 @@ export declare function llmSpanFromProvider(args: {
|
|
|
116
118
|
costUsd?: number;
|
|
117
119
|
finishReason?: string;
|
|
118
120
|
}): Omit<LlmSpan, 'spanId' | 'runId' | 'kind' | 'startedAt'>;
|
|
119
|
-
|
|
121
|
+
|
|
122
|
+
export { type RunCompleteHook as R, type SpanHandle as S, TraceEmitter as T, type RunCompleteHookContext as a, type TraceEmitterOptions as b, llmSpanFromProvider as l };
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* remain plain `Error`s on purpose — they're programmer-mistake assertions,
|
|
13
13
|
* not consumer-catchable contract failures.
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
type AgentEvalErrorCode = 'validation' | 'not_found' | 'config' | 'capture_integrity' | 'judge' | 'verification' | 'replay' | 'backend_integrity' | 'profile_matrix';
|
|
16
|
+
declare class AgentEvalError extends Error {
|
|
17
17
|
/** Stable string code. Survives minification; safe to switch on. */
|
|
18
18
|
readonly code: AgentEvalErrorCode;
|
|
19
19
|
constructor(code: AgentEvalErrorCode, message: string, options?: {
|
|
@@ -21,19 +21,19 @@ export declare class AgentEvalError extends Error {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
/** Caller passed invalid arguments (out of range, mutually-exclusive options, bad shape). */
|
|
24
|
-
|
|
24
|
+
declare class ValidationError extends AgentEvalError {
|
|
25
25
|
constructor(message: string, options?: {
|
|
26
26
|
cause?: unknown;
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
/** A named resource (run, span, rubric, scenario, dataset row, route) does not exist. */
|
|
30
|
-
|
|
30
|
+
declare class NotFoundError extends AgentEvalError {
|
|
31
31
|
constructor(message: string, options?: {
|
|
32
32
|
cause?: unknown;
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
/** Configuration missing or malformed (`HOME` unset, required image not supplied, env var absent). */
|
|
36
|
-
|
|
36
|
+
declare class ConfigError extends AgentEvalError {
|
|
37
37
|
constructor(message: string, options?: {
|
|
38
38
|
cause?: unknown;
|
|
39
39
|
});
|
|
@@ -43,27 +43,28 @@ export declare class ConfigError extends AgentEvalError {
|
|
|
43
43
|
* raw HTTP capture absent, no LLM spans, route assertion failed, run-end
|
|
44
44
|
* assertion tripped. Block ship on this; do not catch and move on.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
declare class CaptureIntegrityError extends AgentEvalError {
|
|
47
47
|
constructor(message: string, options?: {
|
|
48
48
|
cause?: unknown;
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
/** A judge call failed in a way that's not retryable: schema parse failure, bad rubric, conflicting dimensions. */
|
|
52
|
-
|
|
52
|
+
declare class JudgeError extends AgentEvalError {
|
|
53
53
|
constructor(message: string, options?: {
|
|
54
54
|
cause?: unknown;
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
/** A verifier signalled a hard failure (compile, test, schema) — distinct from a low judge score. */
|
|
58
|
-
|
|
58
|
+
declare class VerificationError extends AgentEvalError {
|
|
59
59
|
constructor(message: string, options?: {
|
|
60
60
|
cause?: unknown;
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
/** Replay cache cannot satisfy a request: miss with no fallback, sink lacks list(), unsupported URL. */
|
|
64
|
-
|
|
64
|
+
declare class ReplayError extends AgentEvalError {
|
|
65
65
|
constructor(message: string, options?: {
|
|
66
66
|
cause?: unknown;
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
|
|
70
|
+
export { AgentEvalError as A, CaptureIntegrityError as C, JudgeError as J, NotFoundError as N, ReplayError as R, ValidationError as V, ConfigError as a, type AgentEvalErrorCode as b, VerificationError as c };
|