@tangle-network/agent-eval 0.31.1 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +225 -3
- package/dist/index.js +292 -43
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -392,6 +392,15 @@ interface FeedbackPattern {
|
|
|
392
392
|
trigger: string;
|
|
393
393
|
response: string;
|
|
394
394
|
}
|
|
395
|
+
/**
|
|
396
|
+
* How hard the simulated user pushes back. The driver LLM scales its tone
|
|
397
|
+
* and follow-up aggression to this:
|
|
398
|
+
* cooperative — forgiving early adopter; accepts reasonable answers.
|
|
399
|
+
* demanding — experienced professional; rejects vague or hedged answers.
|
|
400
|
+
* relentless — senior partner reviewing for a client who will litigate;
|
|
401
|
+
* interrogates every claim, accepts nothing undefended.
|
|
402
|
+
*/
|
|
403
|
+
type PersonaRigor = 'cooperative' | 'demanding' | 'relentless';
|
|
395
404
|
interface PersonaConfig {
|
|
396
405
|
id: string;
|
|
397
406
|
role: string;
|
|
@@ -400,6 +409,28 @@ interface PersonaConfig {
|
|
|
400
409
|
feedbackPatterns?: FeedbackPattern[];
|
|
401
410
|
maxTurns: number;
|
|
402
411
|
driverModel?: string;
|
|
412
|
+
/** How adversarial the simulated user is. Defaults to 'demanding'. */
|
|
413
|
+
rigor?: PersonaRigor;
|
|
414
|
+
/**
|
|
415
|
+
* Domain expertise the simulated user holds — quoted into the driver
|
|
416
|
+
* prompt so it challenges the agent with authority instead of vague
|
|
417
|
+
* dissatisfaction. e.g. "a 15-year M&A partner who knows GAAP
|
|
418
|
+
* working-capital mechanics cold".
|
|
419
|
+
*/
|
|
420
|
+
expertise?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Substantive issues a senior professional in this role would
|
|
423
|
+
* interrogate — traps the scenario hides, claims that must be defended.
|
|
424
|
+
* The driver probes these without revealing them verbatim; the agent
|
|
425
|
+
* must surface them on its own.
|
|
426
|
+
*/
|
|
427
|
+
pressurePoints?: string[];
|
|
428
|
+
/**
|
|
429
|
+
* Curveballs the driver may inject once the agent is coasting — changed
|
|
430
|
+
* facts, a hostile counterparty position, a new constraint. Forces the
|
|
431
|
+
* agent to re-derive rather than recite.
|
|
432
|
+
*/
|
|
433
|
+
curveballs?: string[];
|
|
403
434
|
}
|
|
404
435
|
interface DriverState {
|
|
405
436
|
tasks: number;
|
|
@@ -437,8 +468,16 @@ interface TurnMetrics {
|
|
|
437
468
|
}
|
|
438
469
|
interface DriverResult {
|
|
439
470
|
personaId: string;
|
|
471
|
+
/** True when the simulated user professionally signed off (driver said DONE). */
|
|
440
472
|
completed: boolean;
|
|
473
|
+
/** Turn at which the simulated user signed off, or null if it never did. */
|
|
441
474
|
turnsToCompletion: number | null;
|
|
475
|
+
/**
|
|
476
|
+
* Turn at which nominal completionCriteria were first all met, or null.
|
|
477
|
+
* Distinct from turnsToCompletion: criteria can be met while the
|
|
478
|
+
* simulated professional is still unsatisfied with the work's rigor.
|
|
479
|
+
*/
|
|
480
|
+
criteriaMetAtTurn: number | null;
|
|
442
481
|
totalTurns: number;
|
|
443
482
|
metrics: TurnMetrics[];
|
|
444
483
|
finalState: DriverState;
|
|
@@ -1761,9 +1800,17 @@ declare class AgentDriver {
|
|
|
1761
1800
|
private decideNextMessage;
|
|
1762
1801
|
/** Handle pending approvals based on persona feedback patterns */
|
|
1763
1802
|
private handleApprovals;
|
|
1764
|
-
/** Describe which completion criteria are met */
|
|
1765
|
-
private describeCompletion;
|
|
1766
1803
|
}
|
|
1804
|
+
/**
|
|
1805
|
+
* Build the driver LLM's system prompt. The simulated user is an
|
|
1806
|
+
* adversarial senior professional: it judges the agent's last response by a
|
|
1807
|
+
* professional standard, refuses vague answers, challenges undefended
|
|
1808
|
+
* claims, probes the persona's pressure points without revealing them, and
|
|
1809
|
+
* signs off (DONE) only when a real practitioner would act on the work
|
|
1810
|
+
* unmodified. Pure function of persona, product state, and product context
|
|
1811
|
+
* — exported so harness authors can inspect and regression-test it.
|
|
1812
|
+
*/
|
|
1813
|
+
declare function buildDriverSystemPrompt(persona: PersonaConfig, state: DriverState, productContext?: string): string;
|
|
1767
1814
|
|
|
1768
1815
|
interface ExecutorConfig {
|
|
1769
1816
|
/** System prompt for the agent under test */
|
|
@@ -2508,6 +2555,119 @@ declare function containsAll(name: string, required: string[], options?: {
|
|
|
2508
2555
|
caseSensitive?: boolean;
|
|
2509
2556
|
}): ArtifactValidator;
|
|
2510
2557
|
|
|
2558
|
+
/**
|
|
2559
|
+
* Completion verifier — the task-completion oracle.
|
|
2560
|
+
*
|
|
2561
|
+
* Answers the only eval question that is not a proxy: did the agent actually
|
|
2562
|
+
* COMPLETE the task — produce every required deliverable, persisted and
|
|
2563
|
+
* correct — rather than describe what should be done. A fluent transcript
|
|
2564
|
+
* that never produces the artifact scores zero here.
|
|
2565
|
+
*
|
|
2566
|
+
* Per requirement, a two-stage check:
|
|
2567
|
+
* 1. Structural — a produced item (vault artifact / approved proposal /
|
|
2568
|
+
* tool call) of the right kind is matched against the requirement and
|
|
2569
|
+
* carries non-empty content. Deterministic; no LLM.
|
|
2570
|
+
* 2. Correctness — only if structurally present AND the matched item
|
|
2571
|
+
* carries content, one targeted check decides whether that item
|
|
2572
|
+
* actually fulfils the requirement. A hallucinated artifact fails here;
|
|
2573
|
+
* an absent one already failed stage 1.
|
|
2574
|
+
*
|
|
2575
|
+
* `completionRate` is satisfied / total. Quality dimensions are meaningless
|
|
2576
|
+
* on an incomplete task — callers gate on `fullyComplete` / `completionRate`
|
|
2577
|
+
* before scoring quality.
|
|
2578
|
+
*/
|
|
2579
|
+
|
|
2580
|
+
/** What kind of produced state can satisfy a requirement structurally. */
|
|
2581
|
+
type SatisfiedBy = 'artifact' | 'proposal' | 'tool-call' | 'any';
|
|
2582
|
+
interface CompletionRequirement {
|
|
2583
|
+
/** Stable id from the task gold (e.g. a persona's `expected_requirements[].req_id`). */
|
|
2584
|
+
reqId: string;
|
|
2585
|
+
/** Human-readable description of the required deliverable. */
|
|
2586
|
+
title: string;
|
|
2587
|
+
/** Optional kind/category hint, matched against a produced item's kind. */
|
|
2588
|
+
category?: string;
|
|
2589
|
+
/** What produced state satisfies this requirement. Defaults to 'any'. */
|
|
2590
|
+
satisfiedBy?: SatisfiedBy;
|
|
2591
|
+
}
|
|
2592
|
+
interface TaskGold {
|
|
2593
|
+
taskId: string;
|
|
2594
|
+
requirements: CompletionRequirement[];
|
|
2595
|
+
}
|
|
2596
|
+
interface ProducedProposal {
|
|
2597
|
+
id: string;
|
|
2598
|
+
title: string;
|
|
2599
|
+
status: 'pending' | 'approved' | 'rejected';
|
|
2600
|
+
/** Optional persisted body — when present, enables a correctness check. */
|
|
2601
|
+
content?: string;
|
|
2602
|
+
}
|
|
2603
|
+
/** Everything observable about what a run actually produced. */
|
|
2604
|
+
interface ProducedState {
|
|
2605
|
+
/** Persisted vault artifacts. Reuses the shared `Artifact` shape. */
|
|
2606
|
+
artifacts: Artifact[];
|
|
2607
|
+
/** Proposals / filings the agent created. */
|
|
2608
|
+
proposals: ProducedProposal[];
|
|
2609
|
+
/** Names of tools the agent invoked. */
|
|
2610
|
+
toolCalls: string[];
|
|
2611
|
+
}
|
|
2612
|
+
interface RequirementCheck {
|
|
2613
|
+
reqId: string;
|
|
2614
|
+
title: string;
|
|
2615
|
+
/** A produced item of the right kind matched the requirement, non-empty. */
|
|
2616
|
+
structurallyPresent: boolean;
|
|
2617
|
+
/**
|
|
2618
|
+
* Whether the matched item actually fulfils the requirement. `null` when
|
|
2619
|
+
* not structurally present, or when the matched item carries no content
|
|
2620
|
+
* to assess.
|
|
2621
|
+
*/
|
|
2622
|
+
correct: boolean | null;
|
|
2623
|
+
/** structurallyPresent && correct !== false. */
|
|
2624
|
+
satisfied: boolean;
|
|
2625
|
+
/** Human-readable evidence for the verdict. */
|
|
2626
|
+
evidence: string[];
|
|
2627
|
+
}
|
|
2628
|
+
interface CompletionVerdict {
|
|
2629
|
+
taskId: string;
|
|
2630
|
+
requirements: RequirementCheck[];
|
|
2631
|
+
/** satisfied / total requirements. */
|
|
2632
|
+
completionRate: number;
|
|
2633
|
+
/** Every requirement satisfied. */
|
|
2634
|
+
fullyComplete: boolean;
|
|
2635
|
+
}
|
|
2636
|
+
/**
|
|
2637
|
+
* Decides whether a produced item's content actually fulfils a requirement.
|
|
2638
|
+
* Injected so the structural verifier stays pure and unit-testable; the
|
|
2639
|
+
* production implementation is `createLlmCorrectnessChecker`.
|
|
2640
|
+
*/
|
|
2641
|
+
type CorrectnessChecker = (requirement: CompletionRequirement, content: string) => Promise<{
|
|
2642
|
+
correct: boolean;
|
|
2643
|
+
reason: string;
|
|
2644
|
+
}>;
|
|
2645
|
+
/**
|
|
2646
|
+
* Verify whether a run completed the task. `checkCorrectness` is injected —
|
|
2647
|
+
* `createLlmCorrectnessChecker` for production, a deterministic stub in tests.
|
|
2648
|
+
*
|
|
2649
|
+
* Throws on a gold spec with no requirements: an eval task that requires
|
|
2650
|
+
* nothing is a misconfiguration, not a vacuously-complete task.
|
|
2651
|
+
*/
|
|
2652
|
+
declare function verifyCompletion(gold: TaskGold, state: ProducedState, checkCorrectness: CorrectnessChecker): Promise<CompletionVerdict>;
|
|
2653
|
+
interface LlmCorrectnessCheckerOpts {
|
|
2654
|
+
model?: string;
|
|
2655
|
+
/** Max chars of artifact content sent to the checker. */
|
|
2656
|
+
maxContentChars?: number;
|
|
2657
|
+
}
|
|
2658
|
+
/** Parse the correctness checker's model response. Fails loud on a bad shape. */
|
|
2659
|
+
declare function parseCorrectnessResponse(raw: string): {
|
|
2660
|
+
correct: boolean;
|
|
2661
|
+
reason: string;
|
|
2662
|
+
};
|
|
2663
|
+
/**
|
|
2664
|
+
* Production `CorrectnessChecker` — one LLM call per matched artifact,
|
|
2665
|
+
* deterministic (temperature 0), structured JSON out. Judges fulfilment
|
|
2666
|
+
* only: a plan, a gesture, or a description of what should be done does not
|
|
2667
|
+
* fulfil a requirement — the artifact must BE the deliverable.
|
|
2668
|
+
*/
|
|
2669
|
+
declare function createLlmCorrectnessChecker(tc: TCloud, opts?: LlmCorrectnessCheckerOpts): CorrectnessChecker;
|
|
2670
|
+
|
|
2511
2671
|
/**
|
|
2512
2672
|
* ConvergenceTracker — tracks completion percentage over turns.
|
|
2513
2673
|
*
|
|
@@ -3030,6 +3190,68 @@ declare function distillPlaybook(entries: PlaybookEntry[], options?: {
|
|
|
3030
3190
|
}): Playbook;
|
|
3031
3191
|
declare function renderPlaybookMarkdown(playbook: Playbook): string;
|
|
3032
3192
|
|
|
3193
|
+
/**
|
|
3194
|
+
* Produced-state extraction — normalize a run's runtime event stream into the
|
|
3195
|
+
* typed `ProducedState` the completion oracle consumes.
|
|
3196
|
+
*
|
|
3197
|
+
* `ProducedState` answers "what did the agent actually produce" — vault
|
|
3198
|
+
* artifacts, proposals, tool calls. The runtime emits these as a stream of
|
|
3199
|
+
* events; this module is the single normalization point from that stream to
|
|
3200
|
+
* the shape `verifyCompletion` expects.
|
|
3201
|
+
*
|
|
3202
|
+
* Input is structurally typed (`RuntimeEventLike`) so this module does not
|
|
3203
|
+
* depend on agent-runtime — agent-runtime's `RuntimeStreamEvent` satisfies it
|
|
3204
|
+
* structurally. The `content` on `ArtifactEventLike` and the whole
|
|
3205
|
+
* `proposal_created` variant are the runtime-side enrichments this contract
|
|
3206
|
+
* requires; the runtime emits them, this module consumes them.
|
|
3207
|
+
*/
|
|
3208
|
+
|
|
3209
|
+
/** A tool the agent invoked. */
|
|
3210
|
+
interface ToolCallEventLike {
|
|
3211
|
+
type: 'tool_call';
|
|
3212
|
+
toolName: string;
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* An artifact the agent produced. `content` is the enriched field — the
|
|
3216
|
+
* runtime's base `artifact` event carries only metadata; the completion
|
|
3217
|
+
* oracle needs the body to verify the deliverable, so the runtime emits it.
|
|
3218
|
+
*/
|
|
3219
|
+
interface ArtifactEventLike {
|
|
3220
|
+
type: 'artifact';
|
|
3221
|
+
artifactId: string;
|
|
3222
|
+
name?: string;
|
|
3223
|
+
mimeType?: string;
|
|
3224
|
+
uri?: string;
|
|
3225
|
+
content?: string;
|
|
3226
|
+
}
|
|
3227
|
+
/** A proposal / filing the agent created. */
|
|
3228
|
+
interface ProposalEventLike {
|
|
3229
|
+
type: 'proposal_created';
|
|
3230
|
+
proposalId: string;
|
|
3231
|
+
title: string;
|
|
3232
|
+
status?: 'pending' | 'approved' | 'rejected';
|
|
3233
|
+
}
|
|
3234
|
+
/**
|
|
3235
|
+
* The subset of runtime stream events `extractProducedState` consumes.
|
|
3236
|
+
* agent-runtime's full `RuntimeStreamEvent` union satisfies this structurally;
|
|
3237
|
+
* the `{ type: string }` catch-all keeps the input permissive so callers can
|
|
3238
|
+
* pass the whole unfiltered telemetry stream — unrecognized events are skipped.
|
|
3239
|
+
*/
|
|
3240
|
+
type RuntimeEventLike = ToolCallEventLike | ArtifactEventLike | ProposalEventLike | {
|
|
3241
|
+
type: string;
|
|
3242
|
+
};
|
|
3243
|
+
/**
|
|
3244
|
+
* Normalize a run's runtime event stream into `ProducedState`.
|
|
3245
|
+
*
|
|
3246
|
+
* Pure and total — unrecognized event types are skipped. `toolCalls` is
|
|
3247
|
+
* deduplicated by name in first-seen order (completion cares about a tool's
|
|
3248
|
+
* presence, not its call count). An artifact with neither a name nor a uri
|
|
3249
|
+
* still yields an entry keyed by its `artifactId` so it is never silently
|
|
3250
|
+
* dropped; an artifact with no `content` yields empty content, which the
|
|
3251
|
+
* completion oracle's structural check then rejects on its own.
|
|
3252
|
+
*/
|
|
3253
|
+
declare function extractProducedState(events: readonly RuntimeEventLike[]): ProducedState;
|
|
3254
|
+
|
|
3033
3255
|
/**
|
|
3034
3256
|
* Versioned prompt registry.
|
|
3035
3257
|
*
|
|
@@ -6243,4 +6465,4 @@ declare function aggregateTrialsByMode(trials: TrialResult[], opts: {
|
|
|
6243
6465
|
mode: AggregatorMode;
|
|
6244
6466
|
}): TrialAggregate;
|
|
6245
6467
|
|
|
6246
|
-
export { ANALYST_SEVERITIES, ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AggregatorMode, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, AnalyzeTracesOptions, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactResult, type ArtifactValidator, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BackendIntegrityError, type BackendIntegrityReport, BaselineReport, BehaviorAssertion, type BenchmarkReport, BenchmarkRunner, type BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, type BudgetPolicy, BudgetSpec, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CausalAttributionReport, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CodeMutationOutcome, type CodeMutationRunner, type CollectedArtifacts, type CommandRunner, type CompletionCriterion, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, ContinuousAgreement, ContinuousAgreementOptions, type ContractMetric, type ContractReport, ControlEvalResult, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateChatClientOpts, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATORS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_KINDS, Dataset, DatasetScenario, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DiffPolicy, type DirEntry, type DirectProviderTransportOpts, type DiscoverPersonasOptions, type DiscoveredPersona, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EvalResult, type EvidenceRef, type EvolutionRound, EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_MODE_KIND_SPEC, FINDING_SUBJECT_GRAMMAR_PROMPT, FINDING_SUBJECT_KINDS, type FactorContribution, type FactorialCell, type FailureClusterConfig, FeedbackLabel, type FeedbackPattern, FeedbackTrajectory, FeedbackTrajectoryStore, type FileChange, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, type FindingSubject, type FindingSubjectKind, FindingSubjectStringSchema, type FindingsDiff, FindingsStore, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, GateDecision, type GhCliClientOptions, type GoldenSeverity, type GoldenSpec, type HarnessAdapter, HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGateConfig, HoldoutAuditor, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntegrationGateSurface, type IntegrationInvokeFailureInput, type IntegrationManifestGateInput, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAdapterOpts, type JudgeConfig, type JudgeFleetOptions, type JudgeFn, type JudgeInput, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallRequest, LlmCallResult, LlmClientOptions, LlmSpan, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, MetricsCollector, type MockTransportOpts, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, MultiShotMutateAdapter, MultiShotOptimizationResult, MultiShotRunner, MultiShotScorer, MultiShotTrialResult, type MultiToolchainLayerConfig, MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, ParetoResult, type PersistedFinding, type PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, ProductClient, type ProductClientConfig, type ProductionEvolveConfig, type ProductionLoopCronConfig, type ProductionLoopDecision, type ProductionLoopRenderContext, type ProductionLoopResult, type ProductionShipConfig, type PromptHandle, PromptRegistry, TrialResult as PromptTrialResult, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystFinding, RawAnalystFindingSchema, 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 RegistryRunOpts, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RepoRef, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RouteMap, type RouterTransportOpts, type RubricDimension, Run$1 as Run, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticAdapterOpts, type RunCriticOptions, type RunDiff, RunFilter, type RunProductionLoopOptions, RunRecord, type RunScore, type RunScoreWeights, RunSplitTag, type RunTrace, SEMANTIC_CONCEPT_JUDGE_VERSION, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxSdkTransportOpts, type ScanOptions, type Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SemanticConceptJudgeAdapterOpts, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, Severity, type SignedManifest, type SignedManifestAlgo, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, Span, type SteeringBundle, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type SynthesisReason, type SynthesisTarget, type TestResult, type ThresholdContract, TokenCounter, type TokenSpec, TraceAnalysisStore, type TraceAnalystAdapterOpts, type TraceAnalystGolden, type TraceAnalystKindSpec, TraceEmitter, TraceEvent, TraceStore, type TraceToolGroupName, Trajectory, TrajectoryStep, type TrialAggregate, type TrialAttempt, TrialCache, TrialTelemetry, type Turn, type TurnMetrics, type TurnResult, UNIVERSAL_FINDERS, type ValidationContext, type ValidationIssue, type ValidationResult, VariantAggregate, type VerifierAdapterOpts, VerifyContext, VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, aggregateRunScore, aggregateTrialsByMode, analyzeAntiSlop, analyzeSeries, assertRealBackend, attributeCounterfactuals, benjaminiHochberg, bisect, bonferroni, buildReviewerPrompt, buildTraceToolsForGroup, byteLengthRange, canaryLeakView, canonicalize, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, clamp01, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commitBisect, compareReferenceReplay, compilerJudge, composeValidators, computeFindingId, confidenceInterval, containsAll, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, createAntiSlopJudge, createChatClient, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createJudgeAdapter, createRunCriticAdapter, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, createSemanticConceptJudgeAdapter, createTraceAnalystAdapter, createTraceAnalystKind, createVerifierAdapter, crossTraceDiff, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultIsMaterial, defaultJudges, defaultReferenceReplayMatcher, deployGateLayer, diffFindings, discoverPersonas, distillPlaybook, estimateCost, estimateTokens, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, ghCliClient, precision as goldenPrecision, hashContent, hashJson, htmlContainsElement, httpGithubClient, inMemoryReferenceReplayStore, integrationAsi, integrationGateEvals, integrationInvokeFailedPayload, integrationManifestResolvedPayload, integrationManifestValidatedPayload, interRaterReliability, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, keyPreserved, liftSeverity, linterJudge, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeFinding, mannWhitneyU, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, normalizeScores, notBlocked, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, parseFindingSubject, parseRawFinding, partialCredit, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, printDriverSummary, promptBisect, proposeAutomatedPullRequest, proposeSynthesisTargets, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderFindingSubject, renderMarkdownReport, renderPlaybookMarkdown, renderPriorFindings, renderSteeringText, replayScorerOverCorpus, replayTraceThroughJudge, requiredSampleSize, resetLockedAppendersForTesting, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProductionLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, scanForMuffledGates, scoreContinuity, scoreReferenceReplay, securityJudge, selectHarnessVariant, sentenceReorderMutator, signManifest, statusAdvanced, summarizeBackendIntegrity, summarizeHarnessResults, testJudge, textInSnapshot, toLangfuseEnvelope, toPrometheusText, typoMutator, urlContains, verifyManifest, visualDiff, viteDeployRunner, weightedMean, weightedRecall, whitespaceCollapseMutator, wilcoxonSignedRank, withJudgeRetry, wranglerDeployRunner };
|
|
6468
|
+
export { ANALYST_SEVERITIES, ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AggregatorMode, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, AnalyzeTracesOptions, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BackendIntegrityError, type BackendIntegrityReport, BaselineReport, BehaviorAssertion, type BenchmarkReport, BenchmarkRunner, type BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, type BudgetPolicy, BudgetSpec, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CausalAttributionReport, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CodeMutationOutcome, type CodeMutationRunner, type CollectedArtifacts, type CommandRunner, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, ContinuousAgreement, ContinuousAgreementOptions, type ContractMetric, type ContractReport, ControlEvalResult, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateChatClientOpts, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATORS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_KINDS, Dataset, DatasetScenario, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DiffPolicy, type DirEntry, type DirectProviderTransportOpts, type DiscoverPersonasOptions, type DiscoveredPersona, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EvalResult, type EvidenceRef, type EvolutionRound, EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_MODE_KIND_SPEC, FINDING_SUBJECT_GRAMMAR_PROMPT, FINDING_SUBJECT_KINDS, type FactorContribution, type FactorialCell, type FailureClusterConfig, FeedbackLabel, type FeedbackPattern, FeedbackTrajectory, FeedbackTrajectoryStore, type FileChange, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, type FindingSubject, type FindingSubjectKind, FindingSubjectStringSchema, type FindingsDiff, FindingsStore, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, GateDecision, type GhCliClientOptions, type GoldenSeverity, type GoldenSpec, type HarnessAdapter, HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGateConfig, HoldoutAuditor, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntegrationGateSurface, type IntegrationInvokeFailureInput, type IntegrationManifestGateInput, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAdapterOpts, type JudgeConfig, type JudgeFleetOptions, type JudgeFn, type JudgeInput, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallRequest, LlmCallResult, LlmClientOptions, type LlmCorrectnessCheckerOpts, LlmSpan, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, MetricsCollector, type MockTransportOpts, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, MultiShotMutateAdapter, MultiShotOptimizationResult, MultiShotRunner, MultiShotScorer, MultiShotTrialResult, type MultiToolchainLayerConfig, MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, ParetoResult, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type ProducedProposal, type ProducedState, ProductClient, type ProductClientConfig, type ProductionEvolveConfig, type ProductionLoopCronConfig, type ProductionLoopDecision, type ProductionLoopRenderContext, type ProductionLoopResult, type ProductionShipConfig, type PromptHandle, PromptRegistry, TrialResult as PromptTrialResult, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystFinding, RawAnalystFindingSchema, 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 RegistryRunOpts, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RepoRef, type RequirementCheck, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RouteMap, type RouterTransportOpts, type RubricDimension, Run$1 as Run, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticAdapterOpts, type RunCriticOptions, type RunDiff, RunFilter, type RunProductionLoopOptions, RunRecord, type RunScore, type RunScoreWeights, RunSplitTag, type RunTrace, type RuntimeEventLike, SEMANTIC_CONCEPT_JUDGE_VERSION, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxSdkTransportOpts, type SatisfiedBy, type ScanOptions, type Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SemanticConceptJudgeAdapterOpts, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, Severity, type SignedManifest, type SignedManifestAlgo, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, Span, type SteeringBundle, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type SynthesisReason, type SynthesisTarget, type TaskGold, type TestResult, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, TraceAnalysisStore, type TraceAnalystAdapterOpts, type TraceAnalystGolden, type TraceAnalystKindSpec, TraceEmitter, TraceEvent, TraceStore, type TraceToolGroupName, Trajectory, TrajectoryStep, type TrialAggregate, type TrialAttempt, TrialCache, TrialTelemetry, type Turn, type TurnMetrics, type TurnResult, UNIVERSAL_FINDERS, type ValidationContext, type ValidationIssue, type ValidationResult, VariantAggregate, type VerifierAdapterOpts, VerifyContext, VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, aggregateRunScore, aggregateTrialsByMode, analyzeAntiSlop, analyzeSeries, assertRealBackend, attributeCounterfactuals, benjaminiHochberg, bisect, bonferroni, buildDriverSystemPrompt, buildReviewerPrompt, buildTraceToolsForGroup, byteLengthRange, canaryLeakView, canonicalize, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, clamp01, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commitBisect, compareReferenceReplay, compilerJudge, composeValidators, computeFindingId, confidenceInterval, containsAll, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, createAntiSlopJudge, createChatClient, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createJudgeAdapter, createLlmCorrectnessChecker, createRunCriticAdapter, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, createSemanticConceptJudgeAdapter, createTraceAnalystAdapter, createTraceAnalystKind, createVerifierAdapter, crossTraceDiff, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultIsMaterial, defaultJudges, defaultReferenceReplayMatcher, deployGateLayer, diffFindings, discoverPersonas, distillPlaybook, estimateCost, estimateTokens, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, extractProducedState, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, ghCliClient, precision as goldenPrecision, hashContent, hashJson, htmlContainsElement, httpGithubClient, inMemoryReferenceReplayStore, integrationAsi, integrationGateEvals, integrationInvokeFailedPayload, integrationManifestResolvedPayload, integrationManifestValidatedPayload, interRaterReliability, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, keyPreserved, liftSeverity, linterJudge, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeFinding, mannWhitneyU, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, normalizeScores, notBlocked, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, parseCorrectnessResponse, parseFindingSubject, parseRawFinding, partialCredit, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, printDriverSummary, promptBisect, proposeAutomatedPullRequest, proposeSynthesisTargets, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderFindingSubject, renderMarkdownReport, renderPlaybookMarkdown, renderPriorFindings, renderSteeringText, replayScorerOverCorpus, replayTraceThroughJudge, requiredSampleSize, resetLockedAppendersForTesting, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProductionLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, scanForMuffledGates, scoreContinuity, scoreReferenceReplay, securityJudge, selectHarnessVariant, sentenceReorderMutator, signManifest, statusAdvanced, summarizeBackendIntegrity, summarizeHarnessResults, testJudge, textInSnapshot, toLangfuseEnvelope, toPrometheusText, typoMutator, urlContains, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, weightedMean, weightedRecall, whitespaceCollapseMutator, wilcoxonSignedRank, withJudgeRetry, wranglerDeployRunner };
|