agent-inspect 6.30.0 → 6.31.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.
@@ -549,6 +549,55 @@ interface TraceContractLlmRules {
549
549
  maxTotalTokens?: number;
550
550
  allowedModels?: string[];
551
551
  }
552
+ /**
553
+ * Explicit TOOL or LLM step endpoint for typed cross-kind ordering.
554
+ *
555
+ * @experimental Additive in 6.31.
556
+ */
557
+ type TraceContractStepKind = "TOOL" | "LLM";
558
+ /**
559
+ * Named step endpoint with an explicit event kind.
560
+ *
561
+ * @experimental Additive in 6.31.
562
+ */
563
+ interface TraceContractStepRef {
564
+ kind: TraceContractStepKind;
565
+ name: string;
566
+ }
567
+ /**
568
+ * One typed before/after ordering relation across TOOL and/or LLM steps.
569
+ *
570
+ * Unlike `tools.requiredOrder` / `orderRules`, endpoints are kind-qualified so
571
+ * an LLM named `generate_answer` does not satisfy a TOOL endpoint (and vice versa).
572
+ *
573
+ * @experimental Additive in 6.31.
574
+ */
575
+ interface TraceContractStepOrderRelation {
576
+ before: TraceContractStepRef;
577
+ after: TraceContractStepRef;
578
+ /**
579
+ * Ordering semantics for this pair.
580
+ *
581
+ * @defaultValue `"first-occurrence"`
582
+ */
583
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
584
+ /**
585
+ * When true (default), missing endpoints of the declared kind fail.
586
+ * Wrong-kind same-name events do not satisfy the endpoint.
587
+ *
588
+ * @defaultValue `true`
589
+ */
590
+ requireEndpoints?: boolean;
591
+ }
592
+ /**
593
+ * Cross-kind step ordering (TOOL ↔ LLM). Does not change TOOL-only
594
+ * `tools.requiredOrder` / `orderRules` semantics.
595
+ *
596
+ * @experimental Additive in 6.31.
597
+ */
598
+ interface TraceContractStepRules {
599
+ orderRelations?: TraceContractStepOrderRelation[];
600
+ }
552
601
  /**
553
602
  * Structural provenance requirements for named observed outcomes (#321).
554
603
  *
@@ -609,6 +658,12 @@ type TraceContractBody = {
609
658
  run?: TraceContractRunRules;
610
659
  tools?: TraceContractToolRules;
611
660
  llm?: TraceContractLlmRules;
661
+ /**
662
+ * Typed cross-kind step ordering (TOOL / LLM endpoints).
663
+ *
664
+ * @experimental Additive in 6.31.
665
+ */
666
+ steps?: TraceContractStepRules;
612
667
  observations?: TraceContractObservationRules;
613
668
  /**
614
669
  * Declared-versus-enforced control invariants.
@@ -941,6 +996,48 @@ interface ToolUsageRuleOptions {
941
996
  minCount?: number;
942
997
  maxCount?: number;
943
998
  }
999
+ /** Kind-aware endpoint for typed step ordering (TOOL / LLM). */
1000
+ type StepOrderingKind = "TOOL" | "LLM";
1001
+ /**
1002
+ * Named step endpoint with an explicit event kind.
1003
+ *
1004
+ * @experimental Available through `agent-inspect/checks`.
1005
+ */
1006
+ interface StepOrderingEndpoint {
1007
+ kind: StepOrderingKind;
1008
+ name: string;
1009
+ }
1010
+ /**
1011
+ * Experimental options for kind-aware step ordering (cross-kind TOOL↔LLM).
1012
+ *
1013
+ * @experimental Available through `agent-inspect/checks`. Additive changes may ship in minor releases; breaking changes require a future major.
1014
+ */
1015
+ interface StepOrderingRuleOptions {
1016
+ before: StepOrderingEndpoint;
1017
+ after: StepOrderingEndpoint;
1018
+ /**
1019
+ * Explicit rule id. Defaults to `step.order`. TraceContract-generated
1020
+ * relations use unique ids such as `contract.step.orderRelation.0`.
1021
+ */
1022
+ id?: string;
1023
+ /**
1024
+ * Ordering semantics. `first-occurrence` preserves first-occurrence encounter
1025
+ * ordering, `happens-before` requires the first before event to finish before
1026
+ * the first after event starts, and `all-occurrences` applies that causal
1027
+ * boundary to every matching occurrence.
1028
+ *
1029
+ * @defaultValue `"first-occurrence"`
1030
+ */
1031
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
1032
+ /**
1033
+ * When true, missing endpoints of the declared kind fail (instead of
1034
+ * vacuously passing). Wrong-kind same-name events do not satisfy the
1035
+ * endpoint.
1036
+ *
1037
+ * @defaultValue `false` (compositional low-level default)
1038
+ */
1039
+ requireEndpoints?: boolean;
1040
+ }
944
1041
  /**
945
1042
  * Experimental options for the built-in tool ordering rule.
946
1043
  *
@@ -1231,6 +1328,19 @@ declare function createRunDepthRule(options: RunDepthRuleOptions): TraceCheckRul
1231
1328
  * @experimental Available through `agent-inspect/checks`. Additive changes may ship in minor releases; breaking changes require a future major.
1232
1329
  */
1233
1330
  declare function createToolUsageRule(options: ToolUsageRuleOptions): TraceCheckRule;
1331
+ /**
1332
+ * Kind-aware step ordering over finished TOOL / LLM events.
1333
+ *
1334
+ * Low-level default: missing endpoints yield no finding when `requireEndpoints`
1335
+ * is false (compositional). TraceContract `steps.orderRelations` defaults
1336
+ * `requireEndpoints` to true.
1337
+ *
1338
+ * TOOL-only pairs preserve historical `tool.order*` finding codes and messages
1339
+ * used by {@link createToolOrderingRule}.
1340
+ *
1341
+ * @experimental Available through `agent-inspect/checks`.
1342
+ */
1343
+ declare function createStepOrderingRule(options: StepOrderingRuleOptions): TraceCheckRule;
1234
1344
  /**
1235
1345
  * Create the experimental built-in tool ordering rule.
1236
1346
  *
@@ -1361,4 +1471,4 @@ declare function createObservedOutcomeRule(options?: ObservedOutcomeRuleOptions)
1361
1471
  */
1362
1472
  declare function runTraceChecks(input: TraceCheckInput, options?: RunTraceChecksOptions): TraceCheckResult;
1363
1473
 
1364
- export { type TraceContractAlternatives as $, type TraceCheckDiagnostic as A, type BaselineRegressionRuleOptions as B, type ControlStage as C, type DecisionRuleOptions as D, type TraceCheckDiagnosticCode as E, type TraceCheckEvidence as F, type GuardrailRuleOptions as G, type TraceCheckFacts as H, type TraceCheckFinding as I, type TraceCheckFindingStatus as J, type TraceCheckInput as K, type LogicalTraceEvent as L, type MaxStepDurationRuleOptions as M, type TraceCheckResult as N, type ObservedOutcomeRuleOptions as O, type TraceCheckRule as P, type TraceCheckRuleCategory as Q, type RecoverySameArgumentsMode as R, type SafetyFindingCategory as S, type ToolArgumentCheck as T, type TraceCheckRuleExecution as U, type TraceCheckRuleExecutionStatus as V, type TraceCheckSeverity as W, type TraceCheckStatus as X, type TraceCheckSummary as Y, type TraceContract as Z, type TraceContractAlternativeBranch as _, type LogicalProjectionDiagnostic as a, type ActivityEntry as a$, type TraceContractBody as a0, type TraceContractControlRules as a1, type TraceContractInput as a2, type TraceContractLintDiagnostic as a3, type TraceContractLlmRules as a4, type TraceContractObservationProvenance as a5, type TraceContractObservationRules as a6, type TraceContractRecoveryOperation as a7, type TraceContractRecoveryRetryableErrors as a8, type TraceContractRecoverySuccessfulResultDependency as a9, createStructureRelationshipRule as aA, createToolFailureRule as aB, createToolOrderingRule as aC, createToolUsageRule as aD, defineTraceContract as aE, evaluateToolArgumentValue as aF, evaluateTraceContract as aG, evaluateTraceContractRead as aH, explainTraceContract as aI, extractToolArgumentPayload as aJ, lintTraceContract as aK, projectLogicalEvents as aL, resolveCanonicalToolName as aM, resolveJsonPointer as aN, resolveTraceContractScope as aO, runTraceChecks as aP, workflowMetadataForRun as aQ, type SessionWorkflowMetadata as aR, type SessionRunRecord as aS, type EnrichSessionSummaryOptions as aT, type SessionStatus as aU, type SessionSummary as aV, type SessionIndex as aW, type BuildActivitySummaryOptions as aX, type ActivitySummary as aY, type SessionWarning as aZ, type BuildSessionIndexOptions as a_, type TraceContractRetryRules as aa, type TraceContractRunRules as ab, type TraceContractScope as ac, type TraceContractToolRules as ad, type TraceSignalRuleOptions as ae, createBaselineRegressionRule as af, createDecisionRule as ag, createGuardrailRule as ah, createLlmUsageRule as ai, createMaxStepDurationRule as aj, createObservedOutcomeRule as ak, createRequireCompletedRule as al, createRetrievalRule as am, createRunDepthRule as an, createRunDurationRule as ao, createRunEventCountRule as ap, createRunStatusRule as aq, createSafetyOversizedAttributeRule as ar, createSafetyRawContentRule as as, createSafetyRedactionRule as at, createSafetySecretPatternRule as au, createStallDetectionRule as av, createStructureCycleRule as aw, createStructureIncompleteRule as ax, createStructureOrphanRule as ay, createStructureParallelWidthRule as az, type LlmUsageRuleOptions as b, type CriticalPathStep as b0, type HandoffEdge as b1, type RetryLink as b2, SESSION_WORKFLOW_KEYS as b3, type SessionCheckSummary as b4, type SessionConfidence as b5, type SessionEdgeSource as b6, type SessionGroup as b7, type SessionLastError as b8, type SessionWorkflowKey as b9, type RecoverySideEffectClass as c, type RetrievalRuleOptions as d, type RunDepthRuleOptions as e, type RunDurationRuleOptions as f, type RunEventCountRuleOptions as g, type RunStatusRuleOptions as h, type RunTraceChecksOptions as i, type SafetyFindingConfidence as j, type SafetyOversizedAttributeRuleOptions as k, type SafetyRawContentRuleOptions as l, type SafetyRedactionRuleOptions as m, type SafetySecretPattern as n, type SafetySecretPatternRuleOptions as o, type StallDetectionRuleOptions as p, type StructureIncompleteRuleOptions as q, type StructureOrphanRuleOptions as r, type StructureParallelWidthRuleOptions as s, type StructureRelationshipRuleOptions as t, type ToolArgumentOccurrence as u, type ToolArgumentOperator as v, type ToolFailureRuleOptions as w, type ToolOrderingRuleOptions as x, type ToolUsageRuleOptions as y, type TraceCheckContext as z };
1474
+ export { type TraceCheckSummary as $, type ToolOrderingRuleOptions as A, type BaselineRegressionRuleOptions as B, type ControlStage as C, type DecisionRuleOptions as D, type ToolUsageRuleOptions as E, type TraceCheckContext as F, type GuardrailRuleOptions as G, type TraceCheckDiagnostic as H, type TraceCheckDiagnosticCode as I, type TraceCheckEvidence as J, type TraceCheckFacts as K, type LogicalTraceEvent as L, type MaxStepDurationRuleOptions as M, type TraceCheckFinding as N, type ObservedOutcomeRuleOptions as O, type TraceCheckFindingStatus as P, type TraceCheckInput as Q, type RecoverySameArgumentsMode as R, type SafetyFindingCategory as S, type ToolArgumentCheck as T, type TraceCheckResult as U, type TraceCheckRule as V, type TraceCheckRuleCategory as W, type TraceCheckRuleExecution as X, type TraceCheckRuleExecutionStatus as Y, type TraceCheckSeverity as Z, type TraceCheckStatus as _, type LogicalProjectionDiagnostic as a, type EnrichSessionSummaryOptions as a$, type TraceContract as a0, type TraceContractAlternativeBranch as a1, type TraceContractAlternatives as a2, type TraceContractBody as a3, type TraceContractControlRules as a4, type TraceContractInput as a5, type TraceContractLintDiagnostic as a6, type TraceContractLlmRules as a7, type TraceContractObservationProvenance as a8, type TraceContractObservationRules as a9, createSafetyRedactionRule as aA, createSafetySecretPatternRule as aB, createStallDetectionRule as aC, createStepOrderingRule as aD, createStructureCycleRule as aE, createStructureIncompleteRule as aF, createStructureOrphanRule as aG, createStructureParallelWidthRule as aH, createStructureRelationshipRule as aI, createToolFailureRule as aJ, createToolOrderingRule as aK, createToolUsageRule as aL, defineTraceContract as aM, evaluateToolArgumentValue as aN, evaluateTraceContract as aO, evaluateTraceContractRead as aP, explainTraceContract as aQ, extractToolArgumentPayload as aR, lintTraceContract as aS, projectLogicalEvents as aT, resolveCanonicalToolName as aU, resolveJsonPointer as aV, resolveTraceContractScope as aW, runTraceChecks as aX, workflowMetadataForRun as aY, type SessionWorkflowMetadata as aZ, type SessionRunRecord as a_, type TraceContractRecoveryOperation as aa, type TraceContractRecoveryRetryableErrors as ab, type TraceContractRecoverySuccessfulResultDependency as ac, type TraceContractRetryRules as ad, type TraceContractRunRules as ae, type TraceContractScope as af, type TraceContractStepKind as ag, type TraceContractStepOrderRelation as ah, type TraceContractStepRef as ai, type TraceContractStepRules as aj, type TraceContractToolRules as ak, type TraceSignalRuleOptions as al, createBaselineRegressionRule as am, createDecisionRule as an, createGuardrailRule as ao, createLlmUsageRule as ap, createMaxStepDurationRule as aq, createObservedOutcomeRule as ar, createRequireCompletedRule as as, createRetrievalRule as at, createRunDepthRule as au, createRunDurationRule as av, createRunEventCountRule as aw, createRunStatusRule as ax, createSafetyOversizedAttributeRule as ay, createSafetyRawContentRule as az, type LlmUsageRuleOptions as b, type SessionStatus as b0, type SessionSummary as b1, type SessionIndex as b2, type BuildActivitySummaryOptions as b3, type ActivitySummary as b4, type SessionWarning as b5, type BuildSessionIndexOptions as b6, type ActivityEntry as b7, type CriticalPathStep as b8, type HandoffEdge as b9, type RetryLink as ba, SESSION_WORKFLOW_KEYS as bb, type SessionCheckSummary as bc, type SessionConfidence as bd, type SessionEdgeSource as be, type SessionGroup as bf, type SessionLastError as bg, type SessionWorkflowKey as bh, type RecoverySideEffectClass as c, type RetrievalRuleOptions as d, type RunDepthRuleOptions as e, type RunDurationRuleOptions as f, type RunEventCountRuleOptions as g, type RunStatusRuleOptions as h, type RunTraceChecksOptions as i, type SafetyFindingConfidence as j, type SafetyOversizedAttributeRuleOptions as k, type SafetyRawContentRuleOptions as l, type SafetyRedactionRuleOptions as m, type SafetySecretPattern as n, type SafetySecretPatternRuleOptions as o, type StallDetectionRuleOptions as p, type StepOrderingEndpoint as q, type StepOrderingKind as r, type StepOrderingRuleOptions as s, type StructureIncompleteRuleOptions as t, type StructureOrphanRuleOptions as u, type StructureParallelWidthRuleOptions as v, type StructureRelationshipRuleOptions as w, type ToolArgumentOccurrence as x, type ToolArgumentOperator as y, type ToolFailureRuleOptions as z };
@@ -549,6 +549,55 @@ interface TraceContractLlmRules {
549
549
  maxTotalTokens?: number;
550
550
  allowedModels?: string[];
551
551
  }
552
+ /**
553
+ * Explicit TOOL or LLM step endpoint for typed cross-kind ordering.
554
+ *
555
+ * @experimental Additive in 6.31.
556
+ */
557
+ type TraceContractStepKind = "TOOL" | "LLM";
558
+ /**
559
+ * Named step endpoint with an explicit event kind.
560
+ *
561
+ * @experimental Additive in 6.31.
562
+ */
563
+ interface TraceContractStepRef {
564
+ kind: TraceContractStepKind;
565
+ name: string;
566
+ }
567
+ /**
568
+ * One typed before/after ordering relation across TOOL and/or LLM steps.
569
+ *
570
+ * Unlike `tools.requiredOrder` / `orderRules`, endpoints are kind-qualified so
571
+ * an LLM named `generate_answer` does not satisfy a TOOL endpoint (and vice versa).
572
+ *
573
+ * @experimental Additive in 6.31.
574
+ */
575
+ interface TraceContractStepOrderRelation {
576
+ before: TraceContractStepRef;
577
+ after: TraceContractStepRef;
578
+ /**
579
+ * Ordering semantics for this pair.
580
+ *
581
+ * @defaultValue `"first-occurrence"`
582
+ */
583
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
584
+ /**
585
+ * When true (default), missing endpoints of the declared kind fail.
586
+ * Wrong-kind same-name events do not satisfy the endpoint.
587
+ *
588
+ * @defaultValue `true`
589
+ */
590
+ requireEndpoints?: boolean;
591
+ }
592
+ /**
593
+ * Cross-kind step ordering (TOOL ↔ LLM). Does not change TOOL-only
594
+ * `tools.requiredOrder` / `orderRules` semantics.
595
+ *
596
+ * @experimental Additive in 6.31.
597
+ */
598
+ interface TraceContractStepRules {
599
+ orderRelations?: TraceContractStepOrderRelation[];
600
+ }
552
601
  /**
553
602
  * Structural provenance requirements for named observed outcomes (#321).
554
603
  *
@@ -609,6 +658,12 @@ type TraceContractBody = {
609
658
  run?: TraceContractRunRules;
610
659
  tools?: TraceContractToolRules;
611
660
  llm?: TraceContractLlmRules;
661
+ /**
662
+ * Typed cross-kind step ordering (TOOL / LLM endpoints).
663
+ *
664
+ * @experimental Additive in 6.31.
665
+ */
666
+ steps?: TraceContractStepRules;
612
667
  observations?: TraceContractObservationRules;
613
668
  /**
614
669
  * Declared-versus-enforced control invariants.
@@ -941,6 +996,48 @@ interface ToolUsageRuleOptions {
941
996
  minCount?: number;
942
997
  maxCount?: number;
943
998
  }
999
+ /** Kind-aware endpoint for typed step ordering (TOOL / LLM). */
1000
+ type StepOrderingKind = "TOOL" | "LLM";
1001
+ /**
1002
+ * Named step endpoint with an explicit event kind.
1003
+ *
1004
+ * @experimental Available through `agent-inspect/checks`.
1005
+ */
1006
+ interface StepOrderingEndpoint {
1007
+ kind: StepOrderingKind;
1008
+ name: string;
1009
+ }
1010
+ /**
1011
+ * Experimental options for kind-aware step ordering (cross-kind TOOL↔LLM).
1012
+ *
1013
+ * @experimental Available through `agent-inspect/checks`. Additive changes may ship in minor releases; breaking changes require a future major.
1014
+ */
1015
+ interface StepOrderingRuleOptions {
1016
+ before: StepOrderingEndpoint;
1017
+ after: StepOrderingEndpoint;
1018
+ /**
1019
+ * Explicit rule id. Defaults to `step.order`. TraceContract-generated
1020
+ * relations use unique ids such as `contract.step.orderRelation.0`.
1021
+ */
1022
+ id?: string;
1023
+ /**
1024
+ * Ordering semantics. `first-occurrence` preserves first-occurrence encounter
1025
+ * ordering, `happens-before` requires the first before event to finish before
1026
+ * the first after event starts, and `all-occurrences` applies that causal
1027
+ * boundary to every matching occurrence.
1028
+ *
1029
+ * @defaultValue `"first-occurrence"`
1030
+ */
1031
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
1032
+ /**
1033
+ * When true, missing endpoints of the declared kind fail (instead of
1034
+ * vacuously passing). Wrong-kind same-name events do not satisfy the
1035
+ * endpoint.
1036
+ *
1037
+ * @defaultValue `false` (compositional low-level default)
1038
+ */
1039
+ requireEndpoints?: boolean;
1040
+ }
944
1041
  /**
945
1042
  * Experimental options for the built-in tool ordering rule.
946
1043
  *
@@ -1231,6 +1328,19 @@ declare function createRunDepthRule(options: RunDepthRuleOptions): TraceCheckRul
1231
1328
  * @experimental Available through `agent-inspect/checks`. Additive changes may ship in minor releases; breaking changes require a future major.
1232
1329
  */
1233
1330
  declare function createToolUsageRule(options: ToolUsageRuleOptions): TraceCheckRule;
1331
+ /**
1332
+ * Kind-aware step ordering over finished TOOL / LLM events.
1333
+ *
1334
+ * Low-level default: missing endpoints yield no finding when `requireEndpoints`
1335
+ * is false (compositional). TraceContract `steps.orderRelations` defaults
1336
+ * `requireEndpoints` to true.
1337
+ *
1338
+ * TOOL-only pairs preserve historical `tool.order*` finding codes and messages
1339
+ * used by {@link createToolOrderingRule}.
1340
+ *
1341
+ * @experimental Available through `agent-inspect/checks`.
1342
+ */
1343
+ declare function createStepOrderingRule(options: StepOrderingRuleOptions): TraceCheckRule;
1234
1344
  /**
1235
1345
  * Create the experimental built-in tool ordering rule.
1236
1346
  *
@@ -1361,4 +1471,4 @@ declare function createObservedOutcomeRule(options?: ObservedOutcomeRuleOptions)
1361
1471
  */
1362
1472
  declare function runTraceChecks(input: TraceCheckInput, options?: RunTraceChecksOptions): TraceCheckResult;
1363
1473
 
1364
- export { type TraceContractAlternatives as $, type TraceCheckDiagnostic as A, type BaselineRegressionRuleOptions as B, type ControlStage as C, type DecisionRuleOptions as D, type TraceCheckDiagnosticCode as E, type TraceCheckEvidence as F, type GuardrailRuleOptions as G, type TraceCheckFacts as H, type TraceCheckFinding as I, type TraceCheckFindingStatus as J, type TraceCheckInput as K, type LogicalTraceEvent as L, type MaxStepDurationRuleOptions as M, type TraceCheckResult as N, type ObservedOutcomeRuleOptions as O, type TraceCheckRule as P, type TraceCheckRuleCategory as Q, type RecoverySameArgumentsMode as R, type SafetyFindingCategory as S, type ToolArgumentCheck as T, type TraceCheckRuleExecution as U, type TraceCheckRuleExecutionStatus as V, type TraceCheckSeverity as W, type TraceCheckStatus as X, type TraceCheckSummary as Y, type TraceContract as Z, type TraceContractAlternativeBranch as _, type LogicalProjectionDiagnostic as a, type ActivityEntry as a$, type TraceContractBody as a0, type TraceContractControlRules as a1, type TraceContractInput as a2, type TraceContractLintDiagnostic as a3, type TraceContractLlmRules as a4, type TraceContractObservationProvenance as a5, type TraceContractObservationRules as a6, type TraceContractRecoveryOperation as a7, type TraceContractRecoveryRetryableErrors as a8, type TraceContractRecoverySuccessfulResultDependency as a9, createStructureRelationshipRule as aA, createToolFailureRule as aB, createToolOrderingRule as aC, createToolUsageRule as aD, defineTraceContract as aE, evaluateToolArgumentValue as aF, evaluateTraceContract as aG, evaluateTraceContractRead as aH, explainTraceContract as aI, extractToolArgumentPayload as aJ, lintTraceContract as aK, projectLogicalEvents as aL, resolveCanonicalToolName as aM, resolveJsonPointer as aN, resolveTraceContractScope as aO, runTraceChecks as aP, workflowMetadataForRun as aQ, type SessionWorkflowMetadata as aR, type SessionRunRecord as aS, type EnrichSessionSummaryOptions as aT, type SessionStatus as aU, type SessionSummary as aV, type SessionIndex as aW, type BuildActivitySummaryOptions as aX, type ActivitySummary as aY, type SessionWarning as aZ, type BuildSessionIndexOptions as a_, type TraceContractRetryRules as aa, type TraceContractRunRules as ab, type TraceContractScope as ac, type TraceContractToolRules as ad, type TraceSignalRuleOptions as ae, createBaselineRegressionRule as af, createDecisionRule as ag, createGuardrailRule as ah, createLlmUsageRule as ai, createMaxStepDurationRule as aj, createObservedOutcomeRule as ak, createRequireCompletedRule as al, createRetrievalRule as am, createRunDepthRule as an, createRunDurationRule as ao, createRunEventCountRule as ap, createRunStatusRule as aq, createSafetyOversizedAttributeRule as ar, createSafetyRawContentRule as as, createSafetyRedactionRule as at, createSafetySecretPatternRule as au, createStallDetectionRule as av, createStructureCycleRule as aw, createStructureIncompleteRule as ax, createStructureOrphanRule as ay, createStructureParallelWidthRule as az, type LlmUsageRuleOptions as b, type CriticalPathStep as b0, type HandoffEdge as b1, type RetryLink as b2, SESSION_WORKFLOW_KEYS as b3, type SessionCheckSummary as b4, type SessionConfidence as b5, type SessionEdgeSource as b6, type SessionGroup as b7, type SessionLastError as b8, type SessionWorkflowKey as b9, type RecoverySideEffectClass as c, type RetrievalRuleOptions as d, type RunDepthRuleOptions as e, type RunDurationRuleOptions as f, type RunEventCountRuleOptions as g, type RunStatusRuleOptions as h, type RunTraceChecksOptions as i, type SafetyFindingConfidence as j, type SafetyOversizedAttributeRuleOptions as k, type SafetyRawContentRuleOptions as l, type SafetyRedactionRuleOptions as m, type SafetySecretPattern as n, type SafetySecretPatternRuleOptions as o, type StallDetectionRuleOptions as p, type StructureIncompleteRuleOptions as q, type StructureOrphanRuleOptions as r, type StructureParallelWidthRuleOptions as s, type StructureRelationshipRuleOptions as t, type ToolArgumentOccurrence as u, type ToolArgumentOperator as v, type ToolFailureRuleOptions as w, type ToolOrderingRuleOptions as x, type ToolUsageRuleOptions as y, type TraceCheckContext as z };
1474
+ export { type TraceCheckSummary as $, type ToolOrderingRuleOptions as A, type BaselineRegressionRuleOptions as B, type ControlStage as C, type DecisionRuleOptions as D, type ToolUsageRuleOptions as E, type TraceCheckContext as F, type GuardrailRuleOptions as G, type TraceCheckDiagnostic as H, type TraceCheckDiagnosticCode as I, type TraceCheckEvidence as J, type TraceCheckFacts as K, type LogicalTraceEvent as L, type MaxStepDurationRuleOptions as M, type TraceCheckFinding as N, type ObservedOutcomeRuleOptions as O, type TraceCheckFindingStatus as P, type TraceCheckInput as Q, type RecoverySameArgumentsMode as R, type SafetyFindingCategory as S, type ToolArgumentCheck as T, type TraceCheckResult as U, type TraceCheckRule as V, type TraceCheckRuleCategory as W, type TraceCheckRuleExecution as X, type TraceCheckRuleExecutionStatus as Y, type TraceCheckSeverity as Z, type TraceCheckStatus as _, type LogicalProjectionDiagnostic as a, type EnrichSessionSummaryOptions as a$, type TraceContract as a0, type TraceContractAlternativeBranch as a1, type TraceContractAlternatives as a2, type TraceContractBody as a3, type TraceContractControlRules as a4, type TraceContractInput as a5, type TraceContractLintDiagnostic as a6, type TraceContractLlmRules as a7, type TraceContractObservationProvenance as a8, type TraceContractObservationRules as a9, createSafetyRedactionRule as aA, createSafetySecretPatternRule as aB, createStallDetectionRule as aC, createStepOrderingRule as aD, createStructureCycleRule as aE, createStructureIncompleteRule as aF, createStructureOrphanRule as aG, createStructureParallelWidthRule as aH, createStructureRelationshipRule as aI, createToolFailureRule as aJ, createToolOrderingRule as aK, createToolUsageRule as aL, defineTraceContract as aM, evaluateToolArgumentValue as aN, evaluateTraceContract as aO, evaluateTraceContractRead as aP, explainTraceContract as aQ, extractToolArgumentPayload as aR, lintTraceContract as aS, projectLogicalEvents as aT, resolveCanonicalToolName as aU, resolveJsonPointer as aV, resolveTraceContractScope as aW, runTraceChecks as aX, workflowMetadataForRun as aY, type SessionWorkflowMetadata as aZ, type SessionRunRecord as a_, type TraceContractRecoveryOperation as aa, type TraceContractRecoveryRetryableErrors as ab, type TraceContractRecoverySuccessfulResultDependency as ac, type TraceContractRetryRules as ad, type TraceContractRunRules as ae, type TraceContractScope as af, type TraceContractStepKind as ag, type TraceContractStepOrderRelation as ah, type TraceContractStepRef as ai, type TraceContractStepRules as aj, type TraceContractToolRules as ak, type TraceSignalRuleOptions as al, createBaselineRegressionRule as am, createDecisionRule as an, createGuardrailRule as ao, createLlmUsageRule as ap, createMaxStepDurationRule as aq, createObservedOutcomeRule as ar, createRequireCompletedRule as as, createRetrievalRule as at, createRunDepthRule as au, createRunDurationRule as av, createRunEventCountRule as aw, createRunStatusRule as ax, createSafetyOversizedAttributeRule as ay, createSafetyRawContentRule as az, type LlmUsageRuleOptions as b, type SessionStatus as b0, type SessionSummary as b1, type SessionIndex as b2, type BuildActivitySummaryOptions as b3, type ActivitySummary as b4, type SessionWarning as b5, type BuildSessionIndexOptions as b6, type ActivityEntry as b7, type CriticalPathStep as b8, type HandoffEdge as b9, type RetryLink as ba, SESSION_WORKFLOW_KEYS as bb, type SessionCheckSummary as bc, type SessionConfidence as bd, type SessionEdgeSource as be, type SessionGroup as bf, type SessionLastError as bg, type SessionWorkflowKey as bh, type RecoverySideEffectClass as c, type RetrievalRuleOptions as d, type RunDepthRuleOptions as e, type RunDurationRuleOptions as f, type RunEventCountRuleOptions as g, type RunStatusRuleOptions as h, type RunTraceChecksOptions as i, type SafetyFindingConfidence as j, type SafetyOversizedAttributeRuleOptions as k, type SafetyRawContentRuleOptions as l, type SafetyRedactionRuleOptions as m, type SafetySecretPattern as n, type SafetySecretPatternRuleOptions as o, type StallDetectionRuleOptions as p, type StepOrderingEndpoint as q, type StepOrderingKind as r, type StepOrderingRuleOptions as s, type StructureIncompleteRuleOptions as t, type StructureOrphanRuleOptions as u, type StructureParallelWidthRuleOptions as v, type StructureRelationshipRuleOptions as w, type ToolArgumentOccurrence as x, type ToolArgumentOperator as y, type ToolFailureRuleOptions as z };