@tangle-network/agent-runtime 4.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +5279 -0
  2. package/dist/{activation-BiQYCayd.js → activation-BRfZOfwb.js} +4 -4
  3. package/dist/{activation-BiQYCayd.js.map → activation-BRfZOfwb.js.map} +1 -1
  4. package/dist/{activation-B49A14V5.d.ts → activation-DEKw9CDD.d.ts} +2 -2
  5. package/dist/agent.d.ts +1 -1
  6. package/dist/agent.js +4 -4
  7. package/dist/{bundle-CV4Ts0cS.js → bundle-vFFiCigS.js} +2 -2
  8. package/dist/{bundle-CV4Ts0cS.js.map → bundle-vFFiCigS.js.map} +1 -1
  9. package/dist/candidate-execution/index.d.ts +71 -4
  10. package/dist/candidate-execution/index.js +4 -4
  11. package/dist/{coordination-manager-C-ZoeZ73.js → coordination-manager-RSJg5GmY.js} +12 -11
  12. package/dist/coordination-manager-RSJg5GmY.js.map +1 -0
  13. package/dist/{coordination-map-routing-SnsZp287.js → coordination-map-routing-DVjW5Gx0.js} +2 -2
  14. package/dist/coordination-map-routing-DVjW5Gx0.js.map +1 -0
  15. package/dist/{delegate-d9HcOFC5.js → delegate-C0cprMUN.js} +2 -2
  16. package/dist/{delegate-d9HcOFC5.js.map → delegate-C0cprMUN.js.map} +1 -1
  17. package/dist/durable.d.ts +5 -3
  18. package/dist/durable.js +14 -186
  19. package/dist/durable.js.map +1 -1
  20. package/dist/{graph-C_Z0Ua10.js → graph-cEg-gquv.js} +6 -8
  21. package/dist/{graph-C_Z0Ua10.js.map → graph-cEg-gquv.js.map} +1 -1
  22. package/dist/{graph-registry-CI1o16DH.js → graph-registry-B25FxBZN.js} +5 -5
  23. package/dist/graph-registry-B25FxBZN.js.map +1 -0
  24. package/dist/{graph-registry-BU7pcrUW.js → graph-registry-C-hjRx2t.js} +1 -1
  25. package/dist/{improve-B4v4S8jY.js → improve-DNl4_6lP.js} +8 -8
  26. package/dist/{improve-B4v4S8jY.js.map → improve-DNl4_6lP.js.map} +1 -1
  27. package/dist/index.d.ts +6 -6
  28. package/dist/index.js +11 -11
  29. package/dist/intelligence.d.ts +5 -5
  30. package/dist/intelligence.js +8 -8
  31. package/dist/{jsonl-file-CvPuwM0a.js → jsonl-file-CeVYTIQJ.js} +41 -32
  32. package/dist/jsonl-file-CeVYTIQJ.js.map +1 -0
  33. package/dist/kernel.d.ts +3 -3
  34. package/dist/kernel.js +14 -13
  35. package/dist/{loop-runner-DKvA0JJr.d.ts → loop-runner-CDad0CCY.d.ts} +2 -2
  36. package/dist/{loop-runner-DMZkwlND.js → loop-runner-DQJjowz0.js} +2 -2
  37. package/dist/{loop-runner-DMZkwlND.js.map → loop-runner-DQJjowz0.js.map} +1 -1
  38. package/dist/loop-runner-bin.d.ts +1 -1
  39. package/dist/loop-runner-bin.js +1 -1
  40. package/dist/mcp/bin.js +3 -3
  41. package/dist/mcp/index.d.ts +1 -1
  42. package/dist/mcp/index.js +6 -6
  43. package/dist/{prepare-DutbxpWr.js → prepare-B6SQA12v.js} +3 -3
  44. package/dist/{prepare-DutbxpWr.js.map → prepare-B6SQA12v.js.map} +1 -1
  45. package/dist/{profile-ClvuI8aY.js → profile-DN8Dw2Kp.js} +2 -2
  46. package/dist/{profile-ClvuI8aY.js.map → profile-DN8Dw2Kp.js.map} +1 -1
  47. package/dist/profiles.d.ts +1 -1
  48. package/dist/{protected-model-port-DEsNIYi1.d.ts → protected-model-port-uN4M48vT.d.ts} +2 -2
  49. package/dist/{provision-supervisor-Cjs4SQ9Q.js → provision-supervisor-CtAaJCUa.js} +6 -6
  50. package/dist/{provision-supervisor-Cjs4SQ9Q.js.map → provision-supervisor-CtAaJCUa.js.map} +1 -1
  51. package/dist/{run-cancellation-CGgk54Md.js → run-cancellation-BCuu6khW.js} +3 -3
  52. package/dist/{run-cancellation-CGgk54Md.js.map → run-cancellation-BCuu6khW.js.map} +1 -1
  53. package/dist/run-state-ByHiAjUs.js +351 -0
  54. package/dist/run-state-ByHiAjUs.js.map +1 -0
  55. package/dist/{runtime-BmxmsaNz.js → runtime-9EYvBcHG.js} +19 -18
  56. package/dist/runtime-9EYvBcHG.js.map +1 -0
  57. package/dist/runtime-hooks-CsW2pfFk.js.map +1 -1
  58. package/dist/{runtime-hooks-ZQqPw-0g.d.ts → runtime-hooks-DPghSHV7.d.ts} +11 -16
  59. package/dist/{scope-CJ7xtrs8.js → scope-DzhBJrRN.js} +3632 -3528
  60. package/dist/scope-DzhBJrRN.js.map +1 -0
  61. package/dist/{search-executor-DSB6XAl1.js → search-executor-BJRNavck.js} +4 -4
  62. package/dist/{search-executor-DSB6XAl1.js.map → search-executor-BJRNavck.js.map} +1 -1
  63. package/dist/{server-FWT2Nt_w.js → server-DH0P6OY_.js} +4 -4
  64. package/dist/{server-FWT2Nt_w.js.map → server-DH0P6OY_.js.map} +1 -1
  65. package/dist/settle-record-BSDDf9Z4.js +130 -0
  66. package/dist/settle-record-BSDDf9Z4.js.map +1 -0
  67. package/dist/{structural-rollout-Bl23HSOd.js → structural-rollout-DgvJLTO0.js} +4 -4
  68. package/dist/{structural-rollout-Bl23HSOd.js.map → structural-rollout-DgvJLTO0.js.map} +1 -1
  69. package/dist/{supervise-MAzd0hOk.js → supervise-Cqhkb2Oj.js} +402 -450
  70. package/dist/supervise-Cqhkb2Oj.js.map +1 -0
  71. package/dist/{supervision-discovery-6EtvKCsU.js → supervision-discovery-DI5GIFBJ.js} +5 -130
  72. package/dist/supervision-discovery-DI5GIFBJ.js.map +1 -0
  73. package/dist/{supervisor-CwANBb9-.js → supervisor-B6sl14OR.js} +408 -1069
  74. package/dist/supervisor-B6sl14OR.js.map +1 -0
  75. package/dist/testing.d.ts +1 -1
  76. package/dist/testing.js +13 -13
  77. package/dist/tool-loop.d.ts +1 -1
  78. package/dist/{top-web-CZP3RRhD.js → top-web-DGoXGxH8.js} +13 -9
  79. package/dist/{top-web-CZP3RRhD.js.map → top-web-DGoXGxH8.js.map} +1 -1
  80. package/dist/tui/bin.js +3 -3
  81. package/dist/tui/index.d.ts +2 -2
  82. package/dist/tui/index.js +2 -2
  83. package/dist/{types-ooyUaxq_.d.ts → types-niKnm6ux.d.ts} +270 -461
  84. package/dist/{workspace-streams-DbKiDOWA.d.ts → workspace-archive-DS9E9tUr.d.ts} +2 -69
  85. package/dist/{workspace-streams-8ALHaZzx.js → workspace-streams-BqNM06y4.js} +34 -9
  86. package/dist/workspace-streams-BqNM06y4.js.map +1 -0
  87. package/package.json +9 -10
  88. package/dist/coordination-manager-C-ZoeZ73.js.map +0 -1
  89. package/dist/coordination-map-routing-SnsZp287.js.map +0 -1
  90. package/dist/graph-registry-CI1o16DH.js.map +0 -1
  91. package/dist/jsonl-file-CvPuwM0a.js.map +0 -1
  92. package/dist/runtime-BmxmsaNz.js.map +0 -1
  93. package/dist/scope-CJ7xtrs8.js.map +0 -1
  94. package/dist/supervise-MAzd0hOk.js.map +0 -1
  95. package/dist/supervision-discovery-6EtvKCsU.js.map +0 -1
  96. package/dist/supervisor-CwANBb9-.js.map +0 -1
  97. package/dist/workspace-streams-8ALHaZzx.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { a as ProfileMaterializationContract } from "./profile-materialization-BRY22Oh8.js";
2
- import { P as AgentCandidateOutputArtifactPort, _ as AgentCandidateArtifactPort, n as AgentCandidateWorkspaceTree, u as AgentCandidateWorkspaceArchiveLimits } from "./workspace-streams-DbKiDOWA.js";
3
- import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-ZQqPw-0g.js";
2
+ import { T as AgentCandidateOutputArtifactPort, c as AgentCandidateArtifactPort, t as AgentCandidateWorkspaceArchiveLimits } from "./workspace-archive-DS9E9tUr.js";
3
+ import { r as RuntimeDecisionPoint, s as RuntimeHookEvent, u as RuntimeHooks } from "./runtime-hooks-DPghSHV7.js";
4
4
  import { n as AnalystRegistryLike } from "./types-qsqfyQoY.js";
5
5
  import { AgentIdentity } from "@tangle-network/agent-trace-contract";
6
6
  import { AgentCandidateArtifactRef, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionControlClaim, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfileMcpServer, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferReceipt, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, ReasoningEffort, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent, TokenUsage, WorkspaceCheckpointRef, WorkspaceCheckpointRequest } from "@tangle-network/agent-interface";
@@ -8,6 +8,7 @@ import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode,
8
8
  import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
9
9
  import { BackendType, CreateRequestOptions, CreateSandboxOptions, CreateSandboxOptions as CreateSandboxOptions$1, PromptOptions, SandboxEvent, SandboxEvent as SandboxEvent$1, SandboxInstance, SandboxInstance as SandboxInstance$1, SandboxResources } from "@tangle-network/sandbox";
10
10
  import { z } from "zod";
11
+ import { AgentEnvironment, AgentEnvironment as AgentEnvironment$1, AgentEnvironmentCapabilities, AgentEnvironmentCapabilities as AgentEnvironmentCapabilities$1, AgentEnvironmentEvent, AgentEnvironmentEvent as AgentEnvironmentEvent$1, AgentEnvironmentProvider, AgentEnvironmentProvider as AgentEnvironmentProvider$1, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentSession, AgentSessionRef, AgentSessionStatus as AgentSessionStatus$1, AgentTurnFailure, AgentTurnInput, AgentTurnInput as AgentTurnInput$1, AgentTurnResult as AgentTurnResult$1, AgentTurnResult as AgentTurnResult$2, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, CreateAgentEnvironmentInput as CreateAgentEnvironmentInput$1, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from "@tangle-network/agent-interface/environment-provider";
11
12
  import { watch } from "node:fs";
12
13
  import { ChildProcess } from "node:child_process";
13
14
  import { HarnessId, WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize";
@@ -16,7 +17,6 @@ import { AnalystRegistry, AnalystRunInputs as AnalystRunInputs$1, AnalystRunResu
16
17
  import { DispatchFn, ExternalOptimizerModelCall, JudgeConfig, NodeEstimate, ProfileDispatchFn, RunProfileMatrixOptions, RunProfileMatrixResult, Scenario, SearchAllocator, SearchAudit, SearchCellResult, SearchClaim, SearchClaimVerification, SearchCloseReason, SearchHistoryReceipt, SearchNodeStatus, SearchPolicy, SearchRecorder, SearchSplit, SearchStateView } from "@tangle-network/agent-eval/campaign";
17
18
  import { EvaluationClaim, SealedExperiment } from "@tangle-network/agent-eval/experiment";
18
19
  import { stuckLoopView, toolWasteView } from "@tangle-network/agent-eval/pipelines";
19
- import { AgentEnvironment, AgentEnvironment as AgentEnvironment$1, AgentEnvironmentCapabilities, AgentEnvironmentCapabilities as AgentEnvironmentCapabilities$1, AgentEnvironmentEvent, AgentEnvironmentEvent as AgentEnvironmentEvent$1, AgentEnvironmentProvider, AgentEnvironmentProvider as AgentEnvironmentProvider$1, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentSession, AgentSessionRef, AgentSessionStatus as AgentSessionStatus$1, AgentTurnInput, AgentTurnInput as AgentTurnInput$1, AgentTurnResult as AgentTurnResult$1, AgentTurnResult as AgentTurnResult$2, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, CreateAgentEnvironmentInput as CreateAgentEnvironmentInput$1, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from "@tangle-network/agent-interface/environment-provider";
20
20
  import { CodemodeExecuteOptions, CodemodeJsonSchema, CodemodeResult, CodemodeSandboxOptions } from "@earendil-works/pi-codemode";
21
21
  /** Cursor plus runtime sequence needed to continue one ordered replay. @stable */
22
22
  interface RetainedRunReplayPoint {
@@ -1178,6 +1178,11 @@ type ExecutorProgressEvent = {
1178
1178
  readonly toolName: string;
1179
1179
  readonly toolCallId?: string;
1180
1180
  readonly result?: unknown;
1181
+ readonly status?: 'ok' | 'error';
1182
+ readonly error?: {
1183
+ readonly type: string;
1184
+ readonly message: string;
1185
+ };
1181
1186
  } | {
1182
1187
  readonly kind: 'interaction';
1183
1188
  readonly request: InteractionRequest;
@@ -1285,72 +1290,6 @@ type UsageEvent = {
1285
1290
  } | {
1286
1291
  kind: 'iteration';
1287
1292
  };
1288
- /** The caller-owned boundary used to retain an executable provider workspace. */
1289
- interface ProviderWorkspaceRetentionPort {
1290
- /** Maximum wall-clock time Runtime gives queueing, capture, and verification. */
1291
- readonly timeoutMs: number;
1292
- /**
1293
- * Maximum simultaneous captures and verifications using this exact port object, including
1294
- * recursive children. Omit for no admission bound. Share the port to share the bound.
1295
- * Timed-out callbacks keep their slot until they settle, even if they ignore cancellation.
1296
- */
1297
- readonly maxConcurrentCaptures?: number;
1298
- /** Same explicit archive bounds used by the capture callback. */
1299
- readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
1300
- /** Refuse cleanup while any native session or workspace coverage remains missing. */
1301
- readonly requireCompleteProvenance?: boolean;
1302
- /** Reads the durable manifest and archive after capture returns. */
1303
- readonly artifacts: AgentCandidateArtifactPort;
1304
- /** Capture the live environment into the standard candidate workspace evidence shape. */
1305
- capture(context: ProviderWorkspaceRetentionContext): Promise<AgentCandidateWorkspaceSnapshotEvidence | ProviderWorkspaceCaptureResult>;
1306
- /**
1307
- * Capture only the harness's native session evidence, without the workspace, into the same
1308
- * durable artifacts, reporting `workspaceScope: 'none'`.
1309
- *
1310
- * Runtime calls it every {@link nativeIntervalMs} while a turn runs and once more on every way
1311
- * the turn ends: settled, failed, and an abort or deadline that closes the stream without
1312
- * reaching either. A crash, deadline, credential renewal, reap or coordinator loss then loses
1313
- * at most one interval of the session, and a workspace too large to capture no longer costs
1314
- * the session. Measured before this existed: 85 of the 116 Discovery nodes that ran on Runtime
1315
- * 0.297.x kept no session because their turn ended on an abort path, which never captured.
1316
- *
1317
- * When a deadline or an explicit cancellation ends a retained turn, Runtime stops its harness
1318
- * and waits for the provider to report it stopped, within a 30 s bound, before the failure
1319
- * capture and the final native copy, so both read a session that has stopped changing.
1320
- *
1321
- * Its captures use their own queue and bound, so they never wait behind workspace captures.
1322
- */
1323
- captureNative?(context: ProviderWorkspaceRetentionContext): Promise<ProviderWorkspaceCaptureResult>;
1324
- /**
1325
- * Store one workspace checkpoint's files in the run's content-addressed store, before Runtime
1326
- * deletes the checkpoint. Return what `captureAgentCandidateWorkspaceTreeToArtifacts` returns
1327
- * for the files the environment holds, written to {@link artifacts}.
1328
- *
1329
- * A checkpoint is a provider snapshot that Runtime takes while a director works and deletes
1330
- * once two newer ones exist. Its files are read from a fork Runtime creates from the snapshot
1331
- * for this call alone: the fork holds exactly the checkpoint's workspace and runs no harness,
1332
- * so the capture has no session to copy. Runtime verifies the tree against the store and the
1333
- * checkpoint's marker file, journals its digest, and destroys the fork. Without this method, or
1334
- * when a capture fails, Runtime keeps the checkpoint: on Discovery Lab run
1335
- * terraform-dc-tokens-20261006d, 76 of the first 101 checkpoint deletions removed the only copy
1336
- * of a director's workspace at that moment.
1337
- *
1338
- * Captures run on their own queue of {@link maxConcurrentCaptures} slots, under {@link timeoutMs}.
1339
- */
1340
- captureCheckpoint?(context: ProviderCheckpointCaptureContext): Promise<AgentCandidateWorkspaceTree>;
1341
- /** Capture a running environment's workspace without waiting for its turn to settle. */
1342
- captureLive?(context: ProviderWorkspaceRetentionContext): Promise<AgentCandidateWorkspaceTree>;
1343
- /** Time between live workspace captures. Omit to leave live capture disabled. */
1344
- readonly liveIntervalMs?: number;
1345
- /** Bound on one live capture and verification, including queue wait. Defaults to timeoutMs. */
1346
- readonly liveTimeoutMs?: number;
1347
- /** Milliseconds between native captures of a running turn. Default 120,000. */
1348
- readonly nativeIntervalMs?: number;
1349
- /** Bound on one native capture, including its queue wait. Default 120,000. */
1350
- readonly nativeTimeoutMs?: number;
1351
- }
1352
- /** When {@link ProviderWorkspaceRetentionPort.captureNative} runs relative to its turn. */
1353
- type ProviderNativeCapturePhase = 'running' | 'settled' | 'failed' | 'interrupted';
1354
1293
  /** Source inventory metadata for a workspace entry. */
1355
1294
  interface ProviderWorkspaceEntryMetadata {
1356
1295
  readonly path: string;
@@ -1473,43 +1412,6 @@ interface ProviderWorkspaceCaptureResult {
1473
1412
  * total; on canary test-acceptance-canary-20261019q the split was in the port alone. */
1474
1413
  readonly stages?: Readonly<Record<string, number>>;
1475
1414
  }
1476
- /** The exact live execution facts supplied to a retention callback. */
1477
- interface ProviderWorkspaceRetentionContext {
1478
- readonly environment: AgentEnvironment;
1479
- /** Runtime invocation identity used by the artifact store; never a provider session coordinate. */
1480
- readonly executionId: string;
1481
- /** Exact admitted provider execution, available even before the harness emits its session id. */
1482
- readonly controlRef?: AgentExactRunControlRef;
1483
- /** Exact supervised tree identity, when a supervisor created this execution. */
1484
- readonly node?: ExecutorNodeContext;
1485
- /** Sandbox/provider session used for this turn; null means no session id was observed. */
1486
- readonly providerSessionId?: string | null;
1487
- /** The harness's own session identity is unknown until a provider reports it. */
1488
- readonly nativeSessionId?: string | null;
1489
- /** The exact profile used to create the provider environment. */
1490
- readonly profile: AgentProfile;
1491
- /** The provider-derived outcome, when one was available before cleanup. */
1492
- readonly outcome?: AgentRunOutcome;
1493
- /** Set on native captures only: whether the turn was still running or how it ended. */
1494
- readonly phase?: ProviderNativeCapturePhase;
1495
- /** A fresh signal bounded by {@link ProviderWorkspaceRetentionPort.timeoutMs}. */
1496
- readonly signal: AbortSignal;
1497
- }
1498
- /** What {@link ProviderWorkspaceRetentionPort.captureCheckpoint} receives. */
1499
- interface ProviderCheckpointCaptureContext {
1500
- /** A fork of the checkpoint, created for this capture alone. It holds the checkpoint's
1501
- * workspace and runs no harness. */
1502
- readonly environment: AgentEnvironment;
1503
- /** The checkpoint the fork was created from. */
1504
- readonly checkpoint: WorkspaceCheckpointRef;
1505
- /** Runtime artifact identity of this capture: `<node>:checkpoint:<checkpoint id>`. */
1506
- readonly executionId: string;
1507
- /** The owner's profile; its harness names what the fork's source ran. */
1508
- readonly profile: AgentProfile;
1509
- /** A fresh signal bounded by {@link ProviderWorkspaceRetentionPort.timeoutMs}. */
1510
- readonly signal: AbortSignal;
1511
- }
1512
- /** Durable join from one provider box to the verified bytes retained before cleanup. */
1513
1415
  interface ProviderWorkspaceCaptureReceipt {
1514
1416
  readonly executionId: string;
1515
1417
  /** Durable provider-native identity, separate from the Runtime invocation identity. */
@@ -2321,7 +2223,7 @@ interface ExecutorResult<Out> {
2321
2223
  /** Explicit execution outcome; application output and scoring verdicts do not determine failure.
2322
2224
  * `errorCode` is the provider's machine code for a failure when it reported one. A retry policy
2323
2225
  * reads the code, never the human `error` text. */
2324
- outcome?: Pick<AgentTurnResult, 'success' | 'error'> & {
2226
+ outcome?: Pick<AgentTurnResult, 'success' | 'error' | 'failure'> & {
2325
2227
  errorCode?: string;
2326
2228
  /** Native HTTP failure status, when reported, in the range 400–599. */
2327
2229
  statusCode?: number;
@@ -2616,16 +2518,16 @@ interface ExecutorRegistry {
2616
2518
  * `reconcile`. Carries the reserved ceilings so reconciliation needs no lookup. */
2617
2519
  interface ReservationTicket {
2618
2520
  readonly id: number;
2521
+ /** Child ceilings, including caps enforced without a corresponding root reservation.
2522
+ * Absent on historical tickets, whose reserved amounts remain their ceilings. */
2523
+ readonly limits?: Pick<Budget, 'maxTokens' | 'maxIterations'>;
2619
2524
  readonly reserved: {
2620
2525
  readonly resources?: Budget['resources'];
2621
2526
  readonly tokens: number;
2622
2527
  readonly usd: number;
2623
2528
  readonly iterations: number;
2624
- /**
2625
- * Whether the child's `Budget` declared `maxUsd`. `reserved.usd` is `0` for both an undeclared
2626
- * ceiling (real dollars are committed as OBSERVED spend) and a declared `$0` (a breach is
2627
- * fail-loud). An absent flag is read as `true`, the fail-closed reading.
2628
- */
2529
+ /** Distinguishes an undeclared USD ceiling (observed cost) from a declared zero cap.
2530
+ * Historical absent flags default to capped. */
2629
2531
  readonly usdBudgeted?: boolean;
2630
2532
  };
2631
2533
  }
@@ -2648,9 +2550,8 @@ interface ReservationHolder {
2648
2550
  interface LeakedReservation extends ReservationHolder {
2649
2551
  readonly ticketId: number;
2650
2552
  }
2651
- /** Post-reservation pool readout — the shape `Scope.budget` exposes. `deadlineMs` is the ABSOLUTE
2652
- * wall-clock deadline (0 when none). `usdCapped` distinguishes a real `usdLeft <= 0` exhaustion
2653
- * from an uncapped pool (which always reads `usdLeft: 0`). */
2553
+ /** `Scope.budget`: absolute deadline (0 when absent), current backing and committed cost.
2554
+ * An uncapped USD channel reads 0; `usdCapped` distinguishes it from exhaustion. */
2654
2555
  type BudgetReadout = Readonly<{
2655
2556
  resources?: Readonly<Record<string, {
2656
2557
  unit: string;
@@ -2661,20 +2562,21 @@ type BudgetReadout = Readonly<{
2661
2562
  known: boolean;
2662
2563
  }>>;
2663
2564
  tokensLeft: number;
2664
- /** False once the pool recorded work with UNREPORTED tokens (`tokensKnown: false`): `tokensLeft`
2665
- * is then a ceiling, and real consumption is at least the debited amount. */
2565
+ /** Explicit false means uncapped; older readouts without this flag were capped. */
2566
+ tokensCapped?: boolean;
2567
+ /** Committed token charge, including conservative unknown-work debits on restore. */
2568
+ committedTokens?: number;
2569
+ /** False means observed token counts are a lower bound and remaining capacity is a ceiling. */
2666
2570
  tokensKnown: boolean;
2667
- /** False once the pool charged a REPORTED spend whose prompt-cache split it could not read: the
2668
- * unclassified prompt tokens were charged in full, so the debit is an upper bound. Separate from
2669
- * `tokensKnown` (counts arrived, composition did not); a restored uncertain reservation leaves
2670
- * it alone, since a declared ceiling has no composition to misread. */
2571
+ /** False means reported tokens lacked a cache split and were charged in full.
2572
+ * This differs from unreported counts; uncertain restored ceilings do not taint the split. */
2671
2573
  cacheBreakdownKnown: boolean;
2672
2574
  usdLeft: number;
2673
2575
  usdCapped: boolean;
2674
- /** False once any recorded work reported an unknown dollar cost; the dollar totals are then a
2675
- * lower bound on real spend, not a measurement. */
2576
+ /** False means recorded dollars are a lower bound rather than a complete measurement. */
2676
2577
  usdKnown: boolean;
2677
2578
  iterationsLeft: number;
2579
+ iterationsCapped?: boolean;
2678
2580
  deadlineMs: number;
2679
2581
  reservedTokens: number;
2680
2582
  }>;
@@ -2687,8 +2589,7 @@ interface ReservationFloor {
2687
2589
  }
2688
2590
  /** How a caller asks for a reservation. */
2689
2591
  interface ReserveOptions {
2690
- /** Wait for budget instead of failing, when the reservations still open would return enough.
2691
- * The reservation then holds nothing until it is granted. */
2592
+ /** Queue an existing invocation until actual settlements fund it; hold nothing meanwhile. */
2692
2593
  readonly wait?: boolean;
2693
2594
  /** Leave this owner share free after the reservation, less what `observe` already charged. */
2694
2595
  readonly keep?: ReservationFloor;
@@ -2696,41 +2597,29 @@ interface ReserveOptions {
2696
2597
  /** Why a reservation was refused. `usd-unbudgeted`: the root declared no dollar ceiling, so the
2697
2598
  * fix is to budget the root, not to ask for less. */
2698
2599
  type ReservationRejection = 'budget-exhausted' | 'usd-unbudgeted';
2699
- /** One channel a `budget-exhausted` reservation could not fit. A refusal lists every such channel
2700
- * so shrinking one request is not met by a second refusal (a director whose 100-iteration child
2701
- * was refused spent a probe worker to learn the pool admitted 3). `free` is a snapshot, and a
2702
- * driver's metered turns draw from the same pool, so only `iterations` can be requested at exactly
2703
- * `free`. `closedByUnknownSpend`: unmeasured usage ran under that enforced limit, so the channel
2704
- * refuses every reservation for the rest of the run. */
2600
+ /** Every unfunded channel in one refusal. `free` is a live snapshot, not a future refund.
2601
+ * Unknown enforced usage closes that channel to new reservations for the rest of the run. */
2705
2602
  interface ReservationShortfall {
2706
2603
  readonly channel: 'tokens' | 'iterations' | 'usd' | `resource:${string}`;
2707
2604
  readonly requested: number;
2708
2605
  readonly free: number;
2709
- /** What open reservations hold on this channel, when they hold any. A request of at most
2710
- * `free + held` can wait for them to settle; a larger one never fits. */
2606
+ /** What open reservations hold now; this is not a prediction of future refunds. */
2711
2607
  readonly held?: number;
2712
2608
  readonly closedByUnknownSpend?: true;
2713
2609
  }
2714
- /** State recovered from a prior process before new work is admitted. `committed` is measured spend
2715
- * already present in the durable journal. Each `uncertainReservation` is a child that was recorded
2716
- * as started but never recorded as settled: its full declared ceiling is charged conservatively,
2717
- * while the public readout remains explicitly unknown. */
2610
+ /** Durable spend, unknown-work ceilings and remaining backing restored before new admission. */
2718
2611
  interface BudgetPoolRestore {
2719
2612
  readonly committed?: Spend;
2720
2613
  /** The part of `committed` the owner's own work spent, charged against its kept share. */
2721
2614
  readonly owner?: Spend;
2722
2615
  readonly uncertainReservations?: ReadonlyArray<Budget>;
2616
+ /** Precisely journaled remaining liabilities, separate from historical unmeasured ceilings. */
2617
+ readonly heldReservations?: ReadonlyArray<Budget>;
2723
2618
  }
2724
2619
  interface BudgetPool {
2725
- /**
2726
- * Atomically reserve a child's full ceiling from the free balance; fails closed
2727
- * ({ ok: false }) when the pool can't cover standard or named channels.
2728
- *
2729
- * With `wait`, a request that could fit once open reservations return is admitted as a WAITING
2730
- * ticket: `granted` resolves when reserved and rejects with `ReservationWaitRefused` once
2731
- * nothing open could return enough. A waiting ticket reserves nothing; reconciling it withdraws
2732
- * it. New waiting requests queue behind existing waiters, so asking order is grant order.
2733
- */
2620
+ /** Reserve a complete ceiling from current funds. `wait` holds nothing while funded
2621
+ * tickets remain open; `granted` resolves after actual refunds, or rejects when none
2622
+ * can fund it. Unfunded reservations retain asking order and reconcile withdraws them. */
2734
2623
  reserve(b: Budget, holder?: ReservationHolder, options?: ReserveOptions): {
2735
2624
  ok: true;
2736
2625
  ticket: ReservationTicket;
@@ -2743,30 +2632,23 @@ interface BudgetPool {
2743
2632
  /** Name (or rename) who holds an open reservation, merging into what `reserve` recorded. A
2744
2633
  * settled or unknown ticket is ignored: attribution is leak EVIDENCE, never a lifecycle guard. */
2745
2634
  attribute(ticket: ReservationTicket, holder: ReservationHolder): void;
2746
- /**
2747
- * Release a reservation: commit the actual `spent`, refund the remainder. Throws on an unknown
2748
- * or already-reconciled ticket (a double refund would break conservation). Returns the
2749
- * overspend, after committing it; throws, also after committing, when the spend cannot be
2750
- * verified (unknown dollars under a cap, unknown or overflowing enforced-resource usage).
2751
- */
2635
+ /** Close the ticket, commit actual cost and refund unused capacity. Unknown/double
2636
+ * tickets throw. Overspend is returned after commit; unverifiable capped usage throws.
2637
+ * Scope-owned custody backing survives execution until its acknowledged release. */
2752
2638
  reconcile(ticket: ReservationTicket, spent: Spend): BudgetViolation | undefined;
2753
2639
  /** Fold a normalized `UsageEvent` stream (or array) into a `Spend`; `ms` is left zero. */
2754
2640
  spendFrom(events: AsyncIterable<UsageEvent> | UsageEvent[]): Promise<Spend>;
2755
2641
  /** The current readout, reflecting all outstanding reservations. */
2756
2642
  readout(): BudgetReadout;
2757
- /**
2758
- * Record OBSERVED spend outside reserve/reconcile — the driver's OWN inference. A direct
2759
- * `free → committed` debit preserving the invariant; `free` may go negative on overspend.
2760
- * Unknown enforced resource usage is recorded before throwing; partial increments defer
2761
- * completeness checks until the terminal spend. Unknown dollars under a cap are refused, unless
2762
- * `alreadySpent` says the work finished with no caller left to refuse (that closes dollar
2763
- * admission instead). The DURABLE record is the journal's `metered` event (`Scope.meter`).
2764
- */
2643
+ /** Debit observed owner work; overspend may leave free capacity negative. Unknown
2644
+ * resources are recorded before throwing; partial observations defer completeness.
2645
+ * Unknown capped dollars are refused unless `alreadySpent` requires recording them
2646
+ * and closing admission. `Scope.meter` supplies the corresponding durable record. */
2765
2647
  observe(spend: Spend, options?: {
2766
2648
  partial?: boolean;
2767
2649
  alreadySpent?: boolean;
2768
2650
  }): void;
2769
- /** Fail loud if any reservation is still open — the leak detector, called at the join barrier. */
2651
+ /** Reject open execution tickets at join; confirmed custody liabilities may remain backed. */
2770
2652
  assertNoOpenTickets(): void;
2771
2653
  /** Every reservation still open, with its holder; lets a failed run REPORT a leak. */
2772
2654
  openReservations(): ReadonlyArray<LeakedReservation>;
@@ -3579,18 +3461,8 @@ interface NodeSnapshot {
3579
3461
  readonly spawnedAt?: number;
3580
3462
  /** Conserved spend so far for this node. */
3581
3463
  readonly spent: Spend;
3582
- /**
3583
- * The node's executor has FINISHED and its settlement is queued for the manager to drain with
3584
- * its next wake/`next()`, but `status` still reads as it did while running because the settle
3585
- * transition happens at drain time. Present only in that window; absent once drained or while
3586
- * the executor is still live. Carries the terminal kind so a manager polling `observe_agent`
3587
- * can tell "still working" from "finished, waiting for you to read it".
3588
- *
3589
- * Measured 2026-09-17 (discovery-lab sandbox-a-20260917h): two children finished 30 s after
3590
- * dispatch; the manager polled `observe_agent` eleven times over 56 minutes, read `running`
3591
- * each time, stopped draining because the status said work was in flight, and recorded the
3592
- * opposite of the truth about its own experiment. agent-runtime#1279.
3593
- */
3464
+ /** Finished execution whose result the manager has not read. Terminal status/failure are
3465
+ * published after durable settlement, independently of this delivery marker. */
3594
3466
  readonly settlementPending?: {
3595
3467
  readonly kind: 'done' | 'down';
3596
3468
  };
@@ -3660,10 +3532,10 @@ interface ResourceSpend {
3660
3532
  readonly amount: number;
3661
3533
  readonly known: boolean;
3662
3534
  }
3663
- /** A budget envelope on a spawn or the root. All ceilings; the pool reserves against them. */
3535
+ /** Explicit ceilings on a spawn or root. An omitted channel is uncapped and reserves nothing. */
3664
3536
  interface Budget {
3665
- readonly maxIterations: number;
3666
- readonly maxTokens: number;
3537
+ readonly maxIterations?: number;
3538
+ readonly maxTokens?: number;
3667
3539
  readonly maxUsd?: number;
3668
3540
  readonly deadlineMs?: number;
3669
3541
  readonly resources?: Readonly<Record<string, ResourceLimit>>;
@@ -4240,8 +4112,6 @@ interface SupervisorOpts {
4240
4112
  * releases nothing under either value.
4241
4113
  */
4242
4114
  readonly retainedAtSettlement?: 'release' | 'keep';
4243
- /** @internal Whether provider-backed retained owner cleanup must preserve unreceipted sources. */
4244
- readonly ownerWorkspaceRetention?: boolean;
4245
4115
  readonly now?: () => number;
4246
4116
  readonly signal?: AbortSignal;
4247
4117
  /** Lifecycle stream sink, threaded into the root `Scope` so every `spawn`/settle emits on the
@@ -4319,6 +4189,8 @@ interface TraceRootReceipt {
4319
4189
  type SpawnEvent = {
4320
4190
  kind: 'spawned';
4321
4191
  id: NodeId;
4192
+ /** Kernel attempt identity also identifies grant-clock admission in crash prefixes. */
4193
+ attemptId?: string;
4322
4194
  parent?: NodeId;
4323
4195
  label: string;
4324
4196
  /** The semantic spawn key (`SpawnOpts.key`), when the spawn carried one — what a resumed
@@ -4355,6 +4227,24 @@ type SpawnEvent = {
4355
4227
  modelSubstitution?: SpawnModelSubstitution;
4356
4228
  seq: number;
4357
4229
  at: string;
4230
+ } | {
4231
+ /** An admitted node waits on this gate; this is not provider dispatch evidence. */
4232
+ kind: 'admission-queued';
4233
+ id: NodeId;
4234
+ attemptId: string;
4235
+ gate: 'budget' | 'slot' | 'seat';
4236
+ resumeAt?: string;
4237
+ seq: number;
4238
+ at: string;
4239
+ } | {
4240
+ /** The original execution grant and its one absolute deadline, preserved on recovery. */
4241
+ kind: 'admission-granted';
4242
+ id: NodeId;
4243
+ attemptId: string;
4244
+ deadlineArmedAt: string;
4245
+ deadlineAt?: string;
4246
+ seq: number;
4247
+ at: string;
4358
4248
  } | {
4359
4249
  /** Exact task bytes durable before admitting a retained invocation. */
4360
4250
  kind: 'execution-input';
@@ -4601,6 +4491,10 @@ type SpawnEvent = {
4601
4491
  kind: 'reconciled';
4602
4492
  id: NodeId;
4603
4493
  spent: Spend;
4494
+ /** Remaining backing of an active seat-paused allocation, including unacknowledged or
4495
+ * unmeasured liabilities. Execution may already be terminal; only later custody/accounting
4496
+ * evidence reduces this backing. It never grants execution. */
4497
+ reservation?: Budget;
4604
4498
  /** The transcript receipt of a retained-pending child. This record is the ONLY durable home
4605
4499
  * it has: the node writes no `settled` record while its slot stays open, and these are the
4606
4500
  * #1244 children exactly — dropped mid-run with a live box the capture read. A later
@@ -4682,8 +4576,8 @@ type SpawnEvent = {
4682
4576
  seq: number;
4683
4577
  at: string;
4684
4578
  } | {
4685
- /** A `teardown-pending` node whose teardown a retry inside the settlement window confirmed:
4686
- * the executor destroyed what it held. Informational, outside the cursor namespace. */
4579
+ /** The executor confirmed its node cleanup, on the first pass or after a pending retry.
4580
+ * Informational, outside the cursor namespace; no provider resource identity is inferred. */
4687
4581
  kind: 'teardown-confirmed';
4688
4582
  id: NodeId;
4689
4583
  seq: number;
@@ -5174,6 +5068,110 @@ declare class InMemorySpawnJournal implements SpawnJournal {
5174
5068
  beginTree(root: NodeId, at: string): Promise<void>;
5175
5069
  appendEvent(root: NodeId, ev: SpawnEvent): Promise<void>;
5176
5070
  }
5071
+ /** One durable run-scoped cancel request: cancel the WHOLE run, not one worker. */
5072
+ interface RunCancelRequest {
5073
+ /** Caller-minted stable operation identifier — the idempotency key of the whole operation. */
5074
+ readonly operationId: string;
5075
+ /** ISO timestamp of the write. */
5076
+ readonly at: string;
5077
+ /** Who asked — 'human', a brain label, a tool name. Provenance, not authorization. */
5078
+ readonly source: string;
5079
+ /** Requested observation target, measured by the acknowledgement's deadlineExceeded field.
5080
+ * The observer always cascades eagerly. This does not guarantee scheduler latency or cleanup. */
5081
+ readonly deadlineMs?: number;
5082
+ /** Who stops the run. `cancelRun` requires it on every new request; it is optional here only
5083
+ * so a request written before that rule still reads. The settle record carries it. */
5084
+ readonly operator?: string;
5085
+ readonly reason?: string;
5086
+ }
5087
+ /**
5088
+ * The durable acknowledgement state for the run-scoped cancel operation, keyed by `operationId`.
5089
+ * The runtime is the ONLY writer; {@link cancelRun} only reads it.
5090
+ *
5091
+ * `effect` is the same {@link RetainedRunEffect} vocabulary the worker-scoped and retained-run
5092
+ * paths use, so the runtime has one spelling of the four cancellation states:
5093
+ * - `'unknown'` — no runtime has answered yet. Never a success.
5094
+ * - `'cancel_requested'` — the root manager issued the run's cascading abort; the run's terminal
5095
+ * state is not yet observed.
5096
+ * - `'cancelled'` — the run reached its terminal cancelled state with confirmed teardown.
5097
+ * - `'not_live'` — the run was not live to cancel: it settled on its own despite the
5098
+ * request, or it ended before the request was applied.
5099
+ */
5100
+ interface RunCancellation {
5101
+ /** Runtime path that issued the cascade. */
5102
+ readonly path?: 'observer' | 'turn-boundary' | 'fallback';
5103
+ /** Runtime clock elapsed between request timestamp and cascade application. */
5104
+ readonly appliedAfterMs?: number;
5105
+ /** Whether application exceeded the requested deadlineMs; absent when no target was requested. */
5106
+ readonly deadlineExceeded?: boolean;
5107
+ readonly operationId: string;
5108
+ readonly effect: RetainedRunEffect;
5109
+ /** ISO timestamp of the original request. */
5110
+ readonly requestedAt: string;
5111
+ /** ISO timestamp of the runtime's most recent observation of this operation. */
5112
+ readonly observedAt: string;
5113
+ /** The caller's reason, carried verbatim from the request. */
5114
+ readonly reason?: string;
5115
+ /** The caller's operator identity, carried verbatim from the request. */
5116
+ readonly operator?: string;
5117
+ /** The runtime's explanation of how it arrived at `effect`. */
5118
+ readonly detail?: string;
5119
+ }
5120
+ /** Read the run-scoped cancel request, or `undefined` when none was written. */
5121
+ declare function readRunCancelRequest(eventDir: string): RunCancelRequest | undefined;
5122
+ /**
5123
+ * Read the acknowledgement for the run-scoped cancel operation. `undefined` when the runtime has
5124
+ * not answered. A record holding a DIFFERENT `operationId` belongs to another operation on the
5125
+ * same run — fail loud rather than answer for it.
5126
+ */
5127
+ declare function readRunCancellation(eventDir: string, operationId: string): RunCancellation | undefined;
5128
+ /**
5129
+ * Request the cancellation of the WHOLE run, idempotently, and return the operation's current
5130
+ * durable state.
5131
+ *
5132
+ * The run-scoped twin of {@link cancelWorker}: write the request into the run's cancellation
5133
+ * directory, where the run's own root manager applies it — aborting the root through the one
5134
+ * cascade controller the run already has, so every live worker comes down with it. This function
5135
+ * never applies the cancellation itself; writing a request file is not an acknowledgement.
5136
+ *
5137
+ * Idempotency is a lookup: when an acknowledgement for `operationId` already exists it is returned
5138
+ * AS-IS and nothing is written. A retry that changes the source, reason, deadline, or operator
5139
+ * fails closed. A request the runtime has not answered yet returns `effect: 'unknown'` (never a
5140
+ * success); call again with the same `operationId` — or {@link readRunCancellation} — to read the
5141
+ * acknowledged result after a reconnect.
5142
+ *
5143
+ * A run carries ONE run-scoped operation: a second request under a different `operationId` throws
5144
+ * rather than silently replacing the pending one, because both would claim the same single abort.
5145
+ * Reopening a settled run (`supervisePursuit`'s `reopen`) moves that operation aside.
5146
+ *
5147
+ * A NEW request must name its `operator`, so every stop says who made it. A replay of a request
5148
+ * or acknowledgement written before that rule is answered as it was.
5149
+ */
5150
+ declare function cancelRun(eventDir: string, operationId: string, options?: {
5151
+ readonly reason?: string;
5152
+ readonly source?: string;
5153
+ readonly deadlineMs?: number;
5154
+ readonly operator?: string;
5155
+ }): RunCancellation;
5156
+ /** Runtime evidence only. Product-specific launch, checks and trace completeness belong to callers. */
5157
+ interface RunState {
5158
+ /** Absent when a recorded holder cannot be verified on this host. */
5159
+ readonly phase?: 'running' | 'parked' | 'cancelling' | 'settled' | 'down';
5160
+ /** A persisted typed root failure; legacy failure messages do not establish a code. */
5161
+ readonly failureCode?: RuntimeFailureCause['code'];
5162
+ readonly settle?: SupervisedResult<unknown>;
5163
+ readonly cancelRequest?: RunCancelRequest;
5164
+ /** Absent when holder liveness is unknown. This is advisory, never ownership authorization. */
5165
+ readonly holderLive?: boolean;
5166
+ /** Latest explicit Runtime timestamp observed, as ISO UTC; never a filesystem mtime. */
5167
+ readonly lastActivityAt?: string;
5168
+ }
5169
+ /** Compose maintained record readers. Terminal settlement outranks cancellation and parking;
5170
+ * a request remains cancelling until settlement. An unheld run with evidence is down.
5171
+ * No Runtime evidence (including a missing or empty directory) returns undefined. Reads are
5172
+ * advisory snapshots across independently published files, not a transaction or a resume gate.
5173
+ */
5174
+ declare function readRunState(runDir: string): Promise<RunState | undefined>;
5177
5175
  /**
5178
5176
  * JSONL on disk. One line per record: the first record is `begin`, subsequent records
5179
5177
  * are `event` or atomic `events` envelopes. `loadTree` replays the whole file,
@@ -5198,6 +5196,45 @@ declare class FileSpawnJournal implements SpawnJournal {
5198
5196
  private serializeAppend;
5199
5197
  private writeRecord;
5200
5198
  }
5199
+ /** Serializable checkpoint of a committed byte boundary, bound to one file and its bytes. */
5200
+ interface SpawnJournalCursor {
5201
+ readonly file: string;
5202
+ readonly offset: number;
5203
+ readonly boundary: string;
5204
+ }
5205
+ /** Physical groups expand to event records; the owning tree is preserved for every event. */
5206
+ type SpawnJournalReadRecord = {
5207
+ readonly kind: 'begin';
5208
+ readonly root: NodeId;
5209
+ readonly at: string;
5210
+ } | {
5211
+ readonly kind: 'event';
5212
+ readonly root: NodeId;
5213
+ readonly event: SpawnEvent;
5214
+ };
5215
+ interface SpawnJournalReadOptions {
5216
+ readonly after?: SpawnJournalCursor;
5217
+ /** Initial opening-and-tail window, or an incremental page's byte budget. A crossing record
5218
+ * is read whole, so one large record can exceed this budget. Omit for complete history. */
5219
+ readonly tailBytes?: number;
5220
+ }
5221
+ interface SpawnJournalReadResult {
5222
+ readonly records: ReadonlyArray<SpawnJournalReadRecord>;
5223
+ /** Absent only when the journal does not exist. Treat as opaque and persist unchanged. */
5224
+ readonly cursor?: SpawnJournalCursor;
5225
+ /** The supplied cursor no longer matches; this page starts over. */
5226
+ readonly reset: boolean;
5227
+ /** An initial opening-and-tail window omitted records between its two windows. */
5228
+ readonly truncated: boolean;
5229
+ /** Bytes after the committed cursor in this snapshot, including an incomplete final write. */
5230
+ readonly remainingBytes: number;
5231
+ }
5232
+ /** Read a fixed journal prefix, with historical envelopes and framing owned by Runtime.
5233
+ * Missing journals return an empty page. Malformed committed records fail; incomplete final
5234
+ * writes remain unread for the next call. Cursors detect replacement, truncation and edits at
5235
+ * their sampled opening/boundary; they are not integrity proofs against arbitrary file edits.
5236
+ */
5237
+ declare function readSpawnJournal(runDir: string, options?: SpawnJournalReadOptions): Promise<SpawnJournalReadResult>;
5201
5238
  /**
5202
5239
  * Re-feed a journaled spawn tree in strict `seq` order, rehydrating each settled
5203
5240
  * child's `out` from the blob store by `outRef`, and return the `Settled[]` exactly
@@ -6734,42 +6771,6 @@ interface InPlaceHarnessResult {
6734
6771
  /** The harness subprocess outcome. */
6735
6772
  harness: WorktreeHarnessResult['harness'];
6736
6773
  }
6737
- /** One durable capture before a Sandbox box is removed. */
6738
- interface SandboxEvidenceRetentionPort {
6739
- readonly timeoutMs: number;
6740
- readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
6741
- readonly artifacts: AgentCandidateArtifactPort;
6742
- capture(context: SandboxEvidenceContext & {
6743
- readonly signal: AbortSignal;
6744
- }): Promise<{
6745
- readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
6746
- readonly provenance: ProviderWorkspaceCaptureProvenance;
6747
- }>;
6748
- /** Must durably record this exact verified receipt before returning. */
6749
- record(receipt: SandboxEvidenceReceipt): Promise<void>;
6750
- }
6751
- interface SandboxEvidenceContext {
6752
- readonly box: SandboxInstance;
6753
- readonly executionId: string;
6754
- readonly profile: AgentProfile;
6755
- readonly sandboxSessionIds: ReadonlyArray<string>;
6756
- readonly nativeSessionIds?: ReadonlyArray<string>;
6757
- readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
6758
- }
6759
- interface SandboxEvidenceReceipt {
6760
- readonly boxId: string;
6761
- readonly executionId: string;
6762
- /** Exact authored profile identity without copying credentials into the receipt. */
6763
- readonly profileDigest: string;
6764
- readonly scope: 'box';
6765
- readonly sandboxSessionIds: ReadonlyArray<string>;
6766
- readonly nativeSessionIds?: ReadonlyArray<string>;
6767
- readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
6768
- readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
6769
- readonly provenance: ProviderWorkspaceCaptureProvenance;
6770
- readonly coverageComplete: boolean;
6771
- readonly incompleteReason?: string;
6772
- }
6773
6774
  /** @stable */
6774
6775
  interface RunAgentRoundsOptions<Task, Output, Decision> {
6775
6776
  driver: Driver<Task, Output, Decision>;
@@ -6788,8 +6789,6 @@ interface RunAgentRoundsOptions<Task, Output, Decision> {
6788
6789
  validator?: Validator<Output>;
6789
6790
  task: Task;
6790
6791
  ctx: ExecCtx;
6791
- /** Durable Sandbox evidence capture required before any worker box cleanup. */
6792
- evidenceRetention?: SandboxEvidenceRetentionPort;
6793
6792
  /** Default 10. Hard cap on total iterations across all `plan()` rounds. */
6794
6793
  maxIterations?: number;
6795
6794
  /** Default 4. In-flight worker cap within a single `plan()` batch. */
@@ -9345,8 +9344,6 @@ interface ProviderExecutorOptions {
9345
9344
  * back to its own settle verdict.
9346
9345
  */
9347
9346
  validator?: Validator<ProviderLeafOut>;
9348
- /** Capture and verify a portable executable workspace before Runtime destroys the environment. */
9349
- workspaceRetention?: ProviderWorkspaceRetentionPort;
9350
9347
  /** Transform only the profile sent to `provider.create`. The original profile
9351
9348
  * remains the input to `taskToTurn`, so execution-only normalization cannot
9352
9349
  * rewrite the caller's task mapping. */
@@ -9365,8 +9362,7 @@ interface ProviderExecutorOptions {
9365
9362
  * spawn event, and each continuation as the node's next `execution-input`.
9366
9363
  *
9367
9364
  * Applies to a retained execution under a Scope, the path a supervised leaf takes on a provider
9368
- * that declares `retainedControl`. Workspace retention verifies each invocation separately;
9369
- * failed capture or required incomplete coverage preserves the source and stops continuation.
9365
+ * that declares `retainedControl`.
9370
9366
  * `false` ends the execution on the refused turn.
9371
9367
  */
9372
9368
  unavailablePause?: UnavailablePausePolicy | false;
@@ -9600,7 +9596,6 @@ interface SteerableSandboxArgs {
9600
9596
  readonly sandboxClient: SandboxClient;
9601
9597
  /** Require capture failures at box cleanup to fail the supervised worker. */
9602
9598
  readonly failOnDestroyError?: boolean;
9603
- readonly workspaceCaptures?: () => ReadonlyArray<ProviderWorkspaceCaptureReceipt>;
9604
9599
  readonly inbox: Inbox;
9605
9600
  readonly taskToPrompt: (task: unknown) => string;
9606
9601
  readonly options?: SandboxSteeringOptions;
@@ -9637,8 +9632,6 @@ interface SandboxSeam {
9637
9632
  sandboxClient: SandboxClient;
9638
9633
  /** Surface evidence capture failures from session cleanup. */
9639
9634
  failOnDestroyError?: boolean;
9640
- /** Verified provider captures collected before session teardown. */
9641
- workspaceCaptures?: () => ReadonlyArray<ProviderWorkspaceCaptureReceipt>;
9642
9635
  /** Forwarded into the composed `runAgentRounds`'s `ctx` (trace emitter, run handle, etc.). */
9643
9636
  loopCtx?: Partial<Omit<ExecCtx, 'sandboxClient' | 'signal'>>;
9644
9637
  /** PR #150 `RunAgentRoundsOptions.lineage` passthrough — opaque; forwarded, not parsed. */
@@ -10651,91 +10644,6 @@ interface ReentryTaskInput {
10651
10644
  }
10652
10645
  /** Compose the task for one re-entered drive. */
10653
10646
  declare function composeReentryTask(input: ReentryTaskInput): string;
10654
- /** One durable run-scoped cancel request: cancel the WHOLE run, not one worker. */
10655
- interface RunCancelRequest {
10656
- /** Caller-minted stable operation identifier — the idempotency key of the whole operation. */
10657
- readonly operationId: string;
10658
- /** ISO timestamp of the write. */
10659
- readonly at: string;
10660
- /** Who asked — 'human', a brain label, a tool name. Provenance, not authorization. */
10661
- readonly source: string;
10662
- /** Requested observation target, measured by the acknowledgement's deadlineExceeded field.
10663
- * The observer always cascades eagerly. This does not guarantee scheduler latency or cleanup. */
10664
- readonly deadlineMs?: number;
10665
- /** Who stops the run. `cancelRun` requires it on every new request; it is optional here only
10666
- * so a request written before that rule still reads. The settle record carries it. */
10667
- readonly operator?: string;
10668
- readonly reason?: string;
10669
- }
10670
- /**
10671
- * The durable acknowledgement state for the run-scoped cancel operation, keyed by `operationId`.
10672
- * The runtime is the ONLY writer; {@link cancelRun} only reads it.
10673
- *
10674
- * `effect` is the same {@link RetainedRunEffect} vocabulary the worker-scoped and retained-run
10675
- * paths use, so the runtime has one spelling of the four cancellation states:
10676
- * - `'unknown'` — no runtime has answered yet. Never a success.
10677
- * - `'cancel_requested'` — the root manager issued the run's cascading abort; the run's terminal
10678
- * state is not yet observed.
10679
- * - `'cancelled'` — the run reached its terminal cancelled state with confirmed teardown.
10680
- * - `'not_live'` — the run was not live to cancel: it settled on its own despite the
10681
- * request, or it ended before the request was applied.
10682
- */
10683
- interface RunCancellation {
10684
- /** Runtime path that issued the cascade. */
10685
- readonly path?: 'observer' | 'turn-boundary' | 'fallback';
10686
- /** Runtime clock elapsed between request timestamp and cascade application. */
10687
- readonly appliedAfterMs?: number;
10688
- /** Whether application exceeded the requested deadlineMs; absent when no target was requested. */
10689
- readonly deadlineExceeded?: boolean;
10690
- readonly operationId: string;
10691
- readonly effect: RetainedRunEffect;
10692
- /** ISO timestamp of the original request. */
10693
- readonly requestedAt: string;
10694
- /** ISO timestamp of the runtime's most recent observation of this operation. */
10695
- readonly observedAt: string;
10696
- /** The caller's reason, carried verbatim from the request. */
10697
- readonly reason?: string;
10698
- /** The caller's operator identity, carried verbatim from the request. */
10699
- readonly operator?: string;
10700
- /** The runtime's explanation of how it arrived at `effect`. */
10701
- readonly detail?: string;
10702
- }
10703
- /** Read the run-scoped cancel request, or `undefined` when none was written. */
10704
- declare function readRunCancelRequest(eventDir: string): RunCancelRequest | undefined;
10705
- /**
10706
- * Read the acknowledgement for the run-scoped cancel operation. `undefined` when the runtime has
10707
- * not answered. A record holding a DIFFERENT `operationId` belongs to another operation on the
10708
- * same run — fail loud rather than answer for it.
10709
- */
10710
- declare function readRunCancellation(eventDir: string, operationId: string): RunCancellation | undefined;
10711
- /**
10712
- * Request the cancellation of the WHOLE run, idempotently, and return the operation's current
10713
- * durable state.
10714
- *
10715
- * The run-scoped twin of {@link cancelWorker}: write the request into the run's cancellation
10716
- * directory, where the run's own root manager applies it — aborting the root through the one
10717
- * cascade controller the run already has, so every live worker comes down with it. This function
10718
- * never applies the cancellation itself; writing a request file is not an acknowledgement.
10719
- *
10720
- * Idempotency is a lookup: when an acknowledgement for `operationId` already exists it is returned
10721
- * AS-IS and nothing is written. A retry that changes the source, reason, deadline, or operator
10722
- * fails closed. A request the runtime has not answered yet returns `effect: 'unknown'` (never a
10723
- * success); call again with the same `operationId` — or {@link readRunCancellation} — to read the
10724
- * acknowledged result after a reconnect.
10725
- *
10726
- * A run carries ONE run-scoped operation: a second request under a different `operationId` throws
10727
- * rather than silently replacing the pending one, because both would claim the same single abort.
10728
- * Reopening a settled run (`supervisePursuit`'s `reopen`) moves that operation aside.
10729
- *
10730
- * A NEW request must name its `operator`, so every stop says who made it. A replay of a request
10731
- * or acknowledgement written before that rule is answered as it was.
10732
- */
10733
- declare function cancelRun(eventDir: string, operationId: string, options?: {
10734
- readonly reason?: string;
10735
- readonly source?: string;
10736
- readonly deadlineMs?: number;
10737
- readonly operator?: string;
10738
- }): RunCancellation;
10739
10647
  /** The read-model a `StopRule` decides from — the run's progress, not its budget. */
10740
10648
  interface ProgressView {
10741
10649
  readonly now: number;
@@ -10992,6 +10900,8 @@ interface DriveHarness {
10992
10900
  harnessTranscript?(): HarnessTranscriptCapture | undefined;
10993
10901
  /** Resolves once {@link harnessTranscript} is final (`Executor.harnessTranscriptSettled`). */
10994
10902
  harnessTranscriptSettled?(): Promise<void>;
10903
+ /** This harness owns the maintained seat chain's rotation and reset wait. */
10904
+ readonly seatChain?: true;
10995
10905
  /** Close the last subscription segment at this logical manager's settlement. */
10996
10906
  closeSeatSegment?(reason: 'completed' | 'failed' | 'cancelled' | 'paused'): Promise<void>;
10997
10907
  }
@@ -11226,11 +11136,13 @@ type RootStreamRecord = {
11226
11136
  declare function readRootStreamReceipt(runDir: string, file?: string): Promise<RootStreamReceipt | undefined>;
11227
11137
  /** Every committed line of the root stream, in order, or `undefined` when there is no file. A
11228
11138
  * torn final line from a process that died mid-write is not a record and is left out. */
11229
- declare function readRootStream(runDir: string): Promise<RootStreamRecord[] | undefined>;
11139
+ declare function readRootStream(runDir: string, options?: {
11140
+ readonly nodeId?: string;
11141
+ }): Promise<RootStreamRecord[] | undefined>;
11230
11142
  /** OTLP span attribute values; exported because `SupervisorSpanOptions.attributes` is public. */
11231
11143
  type SupervisorSpanAttributes = Record<string, string | number | boolean>;
11232
11144
  type Attrs = SupervisorSpanAttributes;
11233
- interface SupervisorSpanOptions {
11145
+ interface SupervisorSpanOptions extends Pick<RuntimeTelemetryOptions, 'includeMetadata' | 'includeEvalDetails'> {
11234
11146
  /** The supervised run id (`SupervisorOpts.runId`): roots the trace and is the parent key of every depth-0 spawn. */
11235
11147
  readonly runId: string;
11236
11148
  /** Bring your own exporter: FLUSHED but never shut down by `finish()`. Takes precedence over `exportConfig`. */
@@ -11503,86 +11415,6 @@ interface SuperviseRegistry {
11503
11415
  names(): readonly string[];
11504
11416
  };
11505
11417
  }
11506
- /** One re-entry, reported before it waits. */
11507
- interface WorkerSpawnRetryAttempt {
11508
- /** 1-based: the attempt that just failed. */
11509
- readonly attempt: number;
11510
- /** How long this seam waits before re-entering `execute`. */
11511
- readonly waitMs: number;
11512
- /** The refused profile's name, when it declares one. */
11513
- readonly worker?: string;
11514
- readonly error: string;
11515
- }
11516
- /**
11517
- * How hard a pre-spawn worker refusal is re-entered. Absent from `supervise` means NO retry — the
11518
- * historical behaviour, and the conservative default: a worker failure already has a typed
11519
- * settlement the driver can respond to, so adding silent latency to every run is not the runtime's
11520
- * call to make.
11521
- */
11522
- interface WorkerSpawnRetryPolicy {
11523
- /** `false` disables the seam while leaving the option in a recorded run configuration. */
11524
- readonly enabled?: boolean;
11525
- /** Total wall-clock ms this seam may spend waiting for a slot, backoff included. Default 900000
11526
- * — the span measured between saturation and the next free slot on a four-way host executor. */
11527
- readonly maxTotalMs?: number;
11528
- /** Wait before the first re-entry, doubling per attempt. Default 5000. */
11529
- readonly initialBackoffMs?: number;
11530
- /** Ceiling on the doubling. Default 60000. */
11531
- readonly maxBackoffMs?: number;
11532
- /**
11533
- * Extra PRE-SPAWN signatures a consumer's own admission layer emits, added to the built-in set.
11534
- *
11535
- * This widens which messages qualify, and it can only be used safely for a refusal the consumer
11536
- * knows is emitted before any provider call. The second proof — that the attempt yielded no
11537
- * execution event — still applies to every added signature, so a mistake here cannot cause a
11538
- * double-spend on a stream that had already started.
11539
- */
11540
- readonly additionalPreSpawnSignatures?: ReadonlyArray<RegExp>;
11541
- }
11542
- interface WorkerSpawnRetryHooks {
11543
- readonly onRetry?: (attempt: WorkerSpawnRetryAttempt) => void;
11544
- readonly now?: () => number;
11545
- readonly sleep?: (ms: number, signal?: AbortSignal) => Promise<void>;
11546
- }
11547
- /** A policy with every bound decided — what {@link retryPreSpawnRefusals} acts on. Produced by
11548
- * {@link resolveWorkerSpawnRetry}, never written by hand, so one reading of the defaults serves
11549
- * the `supervise` option and a caller-owned seam alike. */
11550
- interface ResolvedWorkerSpawnRetry {
11551
- readonly maxTotalMs: number;
11552
- readonly initialBackoffMs: number;
11553
- readonly maxBackoffMs: number;
11554
- readonly signatures: ReadonlyArray<RegExp>;
11555
- }
11556
- /**
11557
- * True when `error` is a backend refusal issued before anything ran.
11558
- *
11559
- * This answers "did this fail BEFORE any provider call", which is a strictly narrower question
11560
- * than "is this an infrastructure hiccup". The broader question admits `ECONNRESET` and a bare
11561
- * `fetch failed`, both of which can arrive after a metered call, and answering the broad question
11562
- * where the narrow one is required is what makes a retry double-spend.
11563
- */
11564
- declare function isPreSpawnExecutorFailure(error: unknown, additionalSignatures?: ReadonlyArray<RegExp>): boolean;
11565
- /** Read the policy, refusing a number a run cannot act on rather than silently clamping it. */
11566
- declare function resolveWorkerSpawnRetry(policy: WorkerSpawnRetryPolicy | undefined): ResolvedWorkerSpawnRetry | undefined;
11567
- /**
11568
- * Wrap a worker seam so a leaf whose spawn is refused before it runs is re-entered instead of
11569
- * settling dead.
11570
- *
11571
- * The wrapper composes the agent's `executorFactory`, which is where a leaf executor is built with
11572
- * the real child signal and node context, and it never replaces the executor object the factory
11573
- * returned: the retry lives in one `execute` wrapper that carries the inner executor's attestation
11574
- * forward and delegates every other surface to it.
11575
- */
11576
- declare function withWorkerSpawnRetry(make: MakeWorkerAgent, policy: WorkerSpawnRetryPolicy | undefined, hooks?: WorkerSpawnRetryHooks): MakeWorkerAgent;
11577
- /**
11578
- * Re-enter `execute` on one executor while a pre-spawn refusal keeps proving nothing ran.
11579
- *
11580
- * Exported so an owner of `makeLeafAgent` — which builds its own executors — gets the same seam
11581
- * without reimplementing the two proofs.
11582
- */
11583
- declare function retryPreSpawnRefusals<Out>(inner: Executor<Out>, policy: ResolvedWorkerSpawnRetry, hooks?: WorkerSpawnRetryHooks & {
11584
- worker?: string;
11585
- }): Executor<Out>;
11586
11418
  interface SuperviseOptions {
11587
11419
  /** Whole-run persistence and ownership. SQL contexts are acquired before replay and compute. */
11588
11420
  readonly runContext?: RunContext;
@@ -11780,29 +11612,6 @@ interface SuperviseOptions {
11780
11612
  /** Per-attempt record for every external driver in the tree — what makes "failed after N
11781
11613
  * attempts, last cause X" visible instead of one backend's last words. */
11782
11614
  readonly onDriverAttempt?: (record: DriverAttemptRecord) => void | Promise<void>;
11783
- /**
11784
- * How a BACKEND-DERIVED WORKER whose spawn was refused before it ran is re-entered, instead of
11785
- * settling dead with a slot free seconds later.
11786
- *
11787
- * `driverRetry` guards the root only. A worker that dies is typed into a `down` settlement,
11788
- * which is the right shape when the worker RAN — and the wrong shape for
11789
- * `host-executor: acquire timeout after 60000ms (in_flight=4/4, queued=1)`, a queue refusal the
11790
- * bridge emits before any harness child exists. Measured 2026-08-22 on discovery-lab cells
11791
- * oscnp s2/s3: ten live agents on one bridge that admits four, and every worker refused at the
11792
- * 60 s acquire deadline was lost for the whole run.
11793
- *
11794
- * Fail-closed on two proofs that the attempt did no work: the error carries a pre-spawn
11795
- * signature, AND the attempt yielded no execution event. An attempt that streamed anything may
11796
- * have metered usage, so a blind re-run would double-spend and stays fatal.
11797
- *
11798
- * Omit = no retry, the historical behaviour. Applies to backend-derived leaves, including those
11799
- * a `makeLeafAgent` builds; a caller-owned `makeWorkerAgent` composes
11800
- * {@link runtime.withWorkerSpawnRetry} itself.
11801
- */
11802
- readonly workerRetry?: WorkerSpawnRetryPolicy;
11803
- /** Per-re-entry record for every retried worker spawn — what makes a saturated executor visible
11804
- * as waiting rather than as a worker that silently took longer. */
11805
- readonly onWorkerRetry?: (attempt: WorkerSpawnRetryAttempt) => void;
11806
11615
  /**
11807
11616
  * How an EXTERNAL-harness manager with a completion check is sent back when its turn ends with
11808
11617
  * the check unmet: `maxBarren`, an optional deadline, and the continuation note's profile and
@@ -12163,14 +11972,14 @@ declare const superviseFleetCapabilities: Readonly<{
12163
11972
  /** One-call supervisor: build + run a supervisor from its exact profile. @stable */
12164
11973
  declare function supervise(profile: SupervisorProfile, task: unknown, opts: SuperviseOptions): Promise<{
12165
11974
  execution?: AgentExecutionRef;
12166
- continuation?: DriverContinuationRecord;
12167
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12168
- rootStream?: RootStreamReceipt;
12169
11975
  rootProviderModel: ProviderModelExecutionEvidence;
12170
11976
  kind: "no-winner";
12171
11977
  tree: TreeView;
12172
11978
  downCount: number;
12173
11979
  spentTotal: Spend;
11980
+ rootStream?: RootStreamReceipt;
11981
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
11982
+ continuation?: DriverContinuationRecord;
12174
11983
  providerModel?: ProviderModelExecutionEvidence;
12175
11984
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12176
11985
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12180,14 +11989,14 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
12180
11989
  reason: "all-children-down" | "no-children-spawned" | "no-result-selected" | "stopped" | "budget-exhausted" | "deadline" | "aborted";
12181
11990
  } | {
12182
11991
  execution?: AgentExecutionRef;
12183
- continuation?: DriverContinuationRecord;
12184
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12185
- rootStream?: RootStreamReceipt;
12186
11992
  rootProviderModel: ProviderModelExecutionEvidence;
12187
11993
  kind: "no-winner";
12188
11994
  tree: TreeView;
12189
11995
  downCount: number;
12190
11996
  spentTotal: Spend;
11997
+ rootStream?: RootStreamReceipt;
11998
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
11999
+ continuation?: DriverContinuationRecord;
12191
12000
  providerModel?: ProviderModelExecutionEvidence;
12192
12001
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12193
12002
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12201,15 +12010,15 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
12201
12010
  operator?: string;
12202
12011
  } | {
12203
12012
  execution?: AgentExecutionRef;
12204
- continuation?: DriverContinuationRecord;
12205
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12206
- rootStream?: RootStreamReceipt;
12207
12013
  rootProviderModel: ProviderModelExecutionEvidence;
12208
12014
  kind: "no-winner";
12209
12015
  reason: "driver-failed";
12210
12016
  tree: TreeView;
12211
12017
  downCount: number;
12212
12018
  spentTotal: Spend;
12019
+ rootStream?: RootStreamReceipt;
12020
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12021
+ continuation?: DriverContinuationRecord;
12213
12022
  providerModel?: ProviderModelExecutionEvidence;
12214
12023
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12215
12024
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12218,9 +12027,6 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
12218
12027
  error: NoWinnerError;
12219
12028
  } | {
12220
12029
  execution?: AgentExecutionRef;
12221
- continuation?: DriverContinuationRecord;
12222
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12223
- rootStream?: RootStreamReceipt;
12224
12030
  rootProviderModel: ProviderModelExecutionEvidence;
12225
12031
  kind: "winner";
12226
12032
  out: unknown;
@@ -12228,6 +12034,9 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
12228
12034
  verdict?: import("@tangle-network/agent-eval").DefaultVerdict;
12229
12035
  tree: TreeView;
12230
12036
  spentTotal: Spend;
12037
+ rootStream?: RootStreamReceipt;
12038
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12039
+ continuation?: DriverContinuationRecord;
12231
12040
  providerModel?: ProviderModelExecutionEvidence;
12232
12041
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12233
12042
  spendGaps?: ReadonlyArray<SpendGap>;
@@ -12240,14 +12049,14 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
12240
12049
  /** Deterministic scripted-brain path for tests. Not exported from Runtime's main entry. */
12241
12050
  declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknown, opts: SuperviseTestOptions): Promise<{
12242
12051
  execution?: AgentExecutionRef;
12243
- continuation?: DriverContinuationRecord;
12244
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12245
- rootStream?: RootStreamReceipt;
12246
12052
  rootProviderModel: ProviderModelExecutionEvidence;
12247
12053
  kind: "no-winner";
12248
12054
  tree: TreeView;
12249
12055
  downCount: number;
12250
12056
  spentTotal: Spend;
12057
+ rootStream?: RootStreamReceipt;
12058
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12059
+ continuation?: DriverContinuationRecord;
12251
12060
  providerModel?: ProviderModelExecutionEvidence;
12252
12061
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12253
12062
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12257,14 +12066,14 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
12257
12066
  reason: "all-children-down" | "no-children-spawned" | "no-result-selected" | "stopped" | "budget-exhausted" | "deadline" | "aborted";
12258
12067
  } | {
12259
12068
  execution?: AgentExecutionRef;
12260
- continuation?: DriverContinuationRecord;
12261
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12262
- rootStream?: RootStreamReceipt;
12263
12069
  rootProviderModel: ProviderModelExecutionEvidence;
12264
12070
  kind: "no-winner";
12265
12071
  tree: TreeView;
12266
12072
  downCount: number;
12267
12073
  spentTotal: Spend;
12074
+ rootStream?: RootStreamReceipt;
12075
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12076
+ continuation?: DriverContinuationRecord;
12268
12077
  providerModel?: ProviderModelExecutionEvidence;
12269
12078
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12270
12079
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12278,15 +12087,15 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
12278
12087
  operator?: string;
12279
12088
  } | {
12280
12089
  execution?: AgentExecutionRef;
12281
- continuation?: DriverContinuationRecord;
12282
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12283
- rootStream?: RootStreamReceipt;
12284
12090
  rootProviderModel: ProviderModelExecutionEvidence;
12285
12091
  kind: "no-winner";
12286
12092
  reason: "driver-failed";
12287
12093
  tree: TreeView;
12288
12094
  downCount: number;
12289
12095
  spentTotal: Spend;
12096
+ rootStream?: RootStreamReceipt;
12097
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12098
+ continuation?: DriverContinuationRecord;
12290
12099
  providerModel?: ProviderModelExecutionEvidence;
12291
12100
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12292
12101
  leakedReservations?: ReadonlyArray<LeakedReservation>;
@@ -12295,9 +12104,6 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
12295
12104
  error: NoWinnerError;
12296
12105
  } | {
12297
12106
  execution?: AgentExecutionRef;
12298
- continuation?: DriverContinuationRecord;
12299
- rootHarnessTranscript?: HarnessTranscriptEvidence;
12300
- rootStream?: RootStreamReceipt;
12301
12107
  rootProviderModel: ProviderModelExecutionEvidence;
12302
12108
  kind: "winner";
12303
12109
  out: unknown;
@@ -12305,6 +12111,9 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
12305
12111
  verdict?: import("@tangle-network/agent-eval").DefaultVerdict;
12306
12112
  tree: TreeView;
12307
12113
  spentTotal: Spend;
12114
+ rootStream?: RootStreamReceipt;
12115
+ rootHarnessTranscript?: HarnessTranscriptEvidence;
12116
+ continuation?: DriverContinuationRecord;
12308
12117
  providerModel?: ProviderModelExecutionEvidence;
12309
12118
  teardownUnconfirmed?: ReadonlyArray<UnconfirmedTeardown>;
12310
12119
  spendGaps?: ReadonlyArray<SpendGap>;
@@ -12595,7 +12404,7 @@ declare class GraphEdgeCapError extends Error {
12595
12404
  * Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
12596
12405
  * above belongs here — the default is "a graph honors it", not "someone remembered to add it".
12597
12406
  */
12598
- declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["parking", "backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "peerAudit", "traceTools", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "selectSeat", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "deadlineCheckIn", "budgetStopHoldMs", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "segment", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel", "graphRegistry"];
12407
+ declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["parking", "backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "peerAudit", "traceTools", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "selectSeat", "driverRetry", "onDriverAttempt", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "deadlineCheckIn", "budgetStopHoldMs", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "segment", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel", "graphRegistry"];
12599
12408
  /** `backend` and `driverBackend` keep graph-specific documentation below.
12600
12409
  *
12601
12410
  * Do not inherit and redeclare them through an indexed access type.
@@ -13658,16 +13467,6 @@ interface ProviderAsSandboxClientOptions {
13658
13467
  requireTerminalEvent?: boolean;
13659
13468
  /** Require declared live continuation plus concrete session controls. */
13660
13469
  requireSession?: boolean;
13661
- /** Verified workspace capture before every environment delete, including steerable sessions. */
13662
- workspaceRetention?: ProviderWorkspaceRetentionPort;
13663
- /** Supervised identity assigned before the environment is created. */
13664
- retentionIdentity?: {
13665
- executionId: string;
13666
- profile: AgentProfile;
13667
- node?: ExecutorNodeContext;
13668
- };
13669
- /** Called after verification and before deletion so the run result can retain the exact join. */
13670
- onWorkspaceCaptured?: (receipt: ProviderWorkspaceCaptureReceipt) => void | Promise<void>;
13671
13470
  /** Translate unsupported Sandbox controls while preserving requested custody. */
13672
13471
  mapCreateOptions?: (options: CreateSandboxOptions | undefined) => Partial<CreateAgentEnvironmentInput>;
13673
13472
  }
@@ -15763,10 +15562,6 @@ interface AcquireOptions {
15763
15562
  now?: () => number;
15764
15563
  /** Sleep override for deterministic tests. */
15765
15564
  sleep?: (ms: number) => Promise<void>;
15766
- /** Register the live source before readiness polling can destroy it. */
15767
- onAcquire?: (box: SandboxInstance) => void;
15768
- /** Capture and persist evidence before failed-readiness cleanup. */
15769
- beforeDelete?: (box: SandboxInstance) => Promise<void>;
15770
15565
  }
15771
15566
  /**
15772
15567
  * Cold-start-resilient sandbox acquisition: create by name, observe readiness from the sandbox's own status (not the create call), and re-attach after gateway timeouts.
@@ -15774,6 +15569,21 @@ interface AcquireOptions {
15774
15569
  * @experimental
15775
15570
  */
15776
15571
  declare function acquireSandbox(client: SandboxClient, options: CreateSandboxOptions, acquire?: AcquireOptions): Promise<SandboxInstance>;
15572
+ /** Historical receipt written by the retired client capture port. */
15573
+ interface SandboxEvidenceReceipt {
15574
+ readonly boxId: string;
15575
+ readonly executionId: string;
15576
+ /** Exact authored profile identity without copying credentials into the receipt. */
15577
+ readonly profileDigest: string;
15578
+ readonly scope: 'box';
15579
+ readonly sandboxSessionIds: ReadonlyArray<string>;
15580
+ readonly nativeSessionIds?: ReadonlyArray<string>;
15581
+ readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
15582
+ readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
15583
+ readonly provenance: ProviderWorkspaceCaptureProvenance;
15584
+ readonly coverageComplete: boolean;
15585
+ readonly incompleteReason?: string;
15586
+ }
15777
15587
  /**
15778
15588
  * A live box plus the session that threads its iterations together. Handed back
15779
15589
  * by `start`/`fork`, passed into `continue`/`fork` to descend from. Opaque to
@@ -15860,9 +15670,6 @@ declare function createSandboxLineage(client: SandboxClient, options?: {
15860
15670
  recordMount?: MountRecorder;
15861
15671
  /** A failed delete must surface and leave the box available for evidence recovery. */
15862
15672
  failOnDestroyError?: boolean;
15863
- /** Capture and durably record evidence before the box is deleted. */
15864
- beforeDelete?: (box: SandboxInstance) => Promise<void>;
15865
- onAcquire?: (box: SandboxInstance, profile: AgentProfile) => void;
15866
15673
  }): SandboxLineage;
15867
15674
  /**
15868
15675
  * How a typed deliverable `Out` is materialized from a finished turn.
@@ -16960,8 +16767,8 @@ declare const graphFileSchema: z.ZodObject<{
16960
16767
  edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16961
16768
  gates: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
16962
16769
  budget: z.ZodObject<{
16963
- maxIterations: z.ZodNumber;
16964
- maxTokens: z.ZodNumber;
16770
+ maxIterations: z.ZodOptional<z.ZodNumber>;
16771
+ maxTokens: z.ZodOptional<z.ZodNumber>;
16965
16772
  maxUsd: z.ZodOptional<z.ZodNumber>;
16966
16773
  deadlineMs: z.ZodOptional<z.ZodNumber>;
16967
16774
  resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -18943,6 +18750,8 @@ interface DriverAttemptRecord {
18943
18750
  readonly durationMs: number;
18944
18751
  /** Absent when the attempt completed. */
18945
18752
  readonly error?: string;
18753
+ /** Validated producer attribution, including its reset hint when supplied. */
18754
+ readonly failure?: AgentTurnFailure;
18946
18755
  readonly classification?: DriverFailureClass;
18947
18756
  /** For a `transient` failure: `infra` (bounded as an outage) or `deterministic` (stops at the
18948
18757
  * second invocation that fails alike with no progress). */
@@ -19763,5 +19572,5 @@ interface KnowledgeReadinessDecision {
19763
19572
  blockingGapIds: string[];
19764
19573
  nonBlockingGapIds: string[];
19765
19574
  }
19766
- export { AgentEnvironmentStatus as $, RuntimeRunRow as $S, PeerMailSendInput as $_, ClaimRetainedInteractiveControlOptions as $a, RootMaterialization as $b, ShapeRegistry as $c, readRunCancelRequest as $d, DelegateResult as $f, WorktreeProfileMaterializationReceipt as $g, CodexRolloutStoreRef as $h, StructuralRolloutResult as $i, PursuitRunTotals as $l, DelegateUiAuditConfig as $m, safeWorkerFile as $n, loopCampaignDispatch as $o, SandboxLeafOut as $p, graphDigest as $r, HarvestReport as $s, settledWorkerOut as $t, RunContextLease as $u, InMemoryResultBlobStore as $v, HarnessTranscriptReadLimits as $x, NodeId as $y, DriverContinuationRecord as A, RetainedRunEventOptions as AC, LoopPlanDescription as AS, questionEscalationTargets as A_, Deliverable as Aa, LeakedReservation as Ab, ScopeWidenGate as Ac, ResolveDriveHarness as Ad, ContinuationProfile as Af, renderLeaderboardSvg as Ag, FileDelegationStoreOptions as Ah, ChatWorkerSeamOptions as Ai, PursuitVersionChain as Al, FleetHandle as Am, SearchSpecOwnedOption as An, assertTraceDerivedFindings as Ao, ROUTER_CLIENT_HEADER as Ap, workerFromInteractiveProvider as Ar, SurfaceScore as As, boxSurfaceReader as At, AuthorizedSpawn as Au, DefinedAnalystRecord as Av, RecoverRetainedInteractiveRunOptions as Ax, RuntimeTelemetryOptions as Ay, PeerAuditAccess as B, MountManifestEntry as BS, MapItemFailurePolicy as B_, createSandboxLineage as Ba, ExecutorContext as Bb, WidenSpec as Bc, AllWorkersStalledOptions as Bd, SpawnResourceRead as Bf, WaterfallCollector as Bg, verdictFromJudgeScore as Bh, profileRichnessFinding as Bi, SupervisedPursuitResult as Bl, DelegationResumeContext as Bm, TraceRootArtifact as Bn, BenchmarkConfig as Bo, providerAsExecutor as Bp, LoadGraphFileOptions as Br, StrategyArtifacts as Bs, WorktreePatchArtifact as Bt, retryPreSpawnRefusals as Bu, openSqlRunStore as Bv, HarnessTranscriptEvidence as Bx, RunParkedError as By, RuntimeFailureCause as C, RetainedRunAdmission as CC, Iteration as CS, QuestionEscalationRecord as C_, EvolutionStrategy as Ca, WidenGate as Cb, PanelJudge as Cc, supervisorAgent as Cd, CheckRead as Cf, PairwiseVerdict as Cg, ResearcherProfileOptions as Ch, DelegateOptions as Ci, IsolatedCheckBoxEvidence as Cl, CoderReviewer as Cm, FencedSqlRunContext as Cn, panel as Co, DEFAULT_SHARED_BOX_WORKERS as Cp, profileRegistry as Cr, AgenticTask as Cs, BoxSurfaceReaderOptions as Ct, GraphRouteError as Cu, AnalystKind as Cv, ExecutorProgress as Cx, buildLoopOtelSpans as Cy, RetainedPendingCause as D, RetainedRunDispatchedAdmission as DC, LoopIterationEndedPayload as DS, QuestionPolicy as D_, TournamentRow as Da, BudgetPool as Db, RenderCorpusToInstructionsOptions as Dc, DriveHarness as Dd, ContinuationPanelInput as Df, pairwiseSignificance as Dg, DelegationPersistenceError as Dh, ChatSessionStore as Di, JudgedPursuitVersion as Dl, UiAuditorDelegate as Dm, SEARCH_SPEC_CORRELATION_KEY as Dn, widen as Do, SharedBoxStats as Dp, InteractiveWorkerKeyInput as Dr, RunAgenticOptions as Ds, SurfaceReadOutcome as Dt, superviseFleetCapabilities as Du, AnalyzeOnSettleRoute as Dv, createActivityLog as Dx, RuntimeStreamEventCollector as Dy, EvidencePendingEvent as E, RetainedRunCancellation as EC, LoopIterationDispatchPayload as ES, QuestionOption as E_, TournamentCell as Ea, WorkerEventPage as Eb, PipelineStage as Ec, CoordinationVerbs as Ed, ContinuationPanel as Ef, leaderboard as Eg, composeLoopTraceEmitters as Eh, ChatCompletionsTransport as Ei, runIsolatedCheck as El, DetachedWinnerSelection as Em, CompiledSearchSpec as En, verify as Eo, SharedBoxPlacementOptions as Ep, InteractiveWorkerEnvironment as Er, CorpusReadbackOptions as Es, SurfaceReadBox as Et, supervise as Eu, AnalystRunContext as Ev, WorkerProgress as Ex, RuntimeEventCollector as Ey, CoordinationTools as F, RetainedRunStartMaterial as FC, LoopTeardownFailedPayload as FS, DownMessageAuthorizationInput as F_, SandboxRunAbortError as Fa, ReservationStage as Fb, Verify as Fc, SupervisorNodeContextSeed as Fd, DriverReentry as Ff, anytimeReport as Fg, CompletionCheckContext as Fh, ProfileRichness as Fi, VersionVerdict as Fl, DetachedTurn as Fm, settledToIteration as Fn, McpEndpoint as Fo, createAgentEnvironmentProviderRegistry as Fp, graphFromSessionFacts as Fr, sample as Fs, failuresAnalyst as Ft, WorkerSpawnRetryAttempt as Fu, LOCAL_HARNESSES as Fv, StartRetainedInteractiveRunOptions as Fx, sanitizeKnowledgeReadinessReport as Fy, SpawnRefusalCause as G, SelectionReceipt as GS, DEFAULT_PEER_MAIL_LIMITS as G_, createS3PrivateCasStore as Ga, ExecutionBindingReceipt as Gb, Outcome as Gc, StopRule as Gd, McpServerOptions as Gf, runAgentRounds as Gg, completionAuthorizes as Gh, CheckRunContext as Gi, PursuitCostProvenance as Gl, DelegationTaskQueueOptions as Gm, WorkerSteerAcknowledgement as Gn, Environment as Go, BridgeSeam as Gp, GraphRegistryDir as Gr, authorStrategy as Gs, attachWorker as Gt, SeatSelection as Gu, SpawnForestInDoubtNode as Gv, captureBoundHarnessTranscript as Gx, BudgetOverspend as Gy, SpawnPreflight as H, OutputAdapter as HS, MapSpawnMarker as H_, acquireSandbox as Ha, ExecutorRegistry as Hb, DefinePersona as Hc, PlateauOptions as Hd, environmentReader as Hf, WaterfallSpan as Hg, CompletionEvidence as Hh, RunCancellationReason as Hi, supervisePursuit as Hl, DelegationResumeTick as Hm, RunTraceSources as Hn, BenchmarkReport as Ho, ProviderPlacement as Hp, loadGraphFile as Hr, StrategyResult as Hs, AttachWorkerOptions as Ht, SuperviseRegistry as Hu, materializeTreeView as Hv, HarnessTranscriptUnavailable as Hx, RunParkingRecord as Hy, CoordinationToolsOptions as I, RetainedRunTurnInput as IC, LoopTokenUsage as IS, DownMessageDeliveryAttempt as I_, TurnResult as Ia, ReservationTicket as Ib, VerifySpec as Ic, SupervisorToolDescriptor as Id, DriverRetryPolicy as If, areaUnderCurve as Ig, DeliverableSpec as Ih, ProfileRichnessThresholds as Ii, assertPursuitVersions as Il, RunDetachedTurnOptions as Im, createScope as In, McpEnvironmentOptions as Io, resolveAgentEnvironmentProvider as Ip, graphFileSchema as Ir, AuthorStrategyOptions as Is, AuthoredHarness as It, WorkerSpawnRetryHooks as Iu, LocalHarness as Iv, HARNESS_TRANSCRIPT_SETTLE_TIMEOUT_MS as Ix, DeadlineCheckIn as Iy, AgentEnvironment$1 as J, RuntimeRunCompleteInput as JS, PeerMailEvent as J_, PrivateCasNamespaceRetirement as Ja, ExecutorNodeContext as Jb, PersonaExecutors as Jc, noProgressFor as Jd, EventSubscriptionStore as Jf, SandboxEvidenceRetentionPort as Jg, stopSentinel as Jh, CheckSourceCtx as Ji, PursuitNodeProjection as Jl, DelegateCodeArgs as Jm, cancelWorker as Jn, LoopCampaignDispatchOptions as Jo, envKeyProvider as Jp, GraphSelection as Jr, strategyAuthorContract as Js, NOTE_MAX_CHARS as Jt, SelectSeat as Ju, SpawnForestTree as Jv, persistHarnessTranscript as Jx, ResourceSpend as Jy, SuperviseProfileEntry as K, ValidationCtx as KS, PEER_MAIL_WIRE_KEY as K_, PrivateCasNamespaceInventory as Ka, ExecutorExecutionBinding as Kb, Persona as Kc, allWorkersStalled as Kd, createMcpServer as Kf, SandboxEvidenceContext as Kg, deterministicCompletion as Kh, CheckRunner as Ki, PursuitNodeCost as Kl, SubmitInput as Km, WorkerSteerRequest as Kn, printBenchmarkReport as Ko, KeyProvider as Kp, GraphRunQuery as Kr, defineStrategy as Ks, readWorkerInteractiveBinding as Kt, SeatSelectionInput as Ku, SpawnForestMissingTree as Kv, captureHarnessTranscript as Kx, BudgetViolation as Ky, GraphSubtaskPreparation as L, StartRetainedRunInEnvironmentOptions as LC, LoopTraceEmitter as LS, DownMessageDeliveryOutcome as L_, openSandboxRun as La, ReserveOptions as Lb, Widen as Lc, SupervisorToolInvocationContext as Ld, ResolveSpawnResourcePathsResult as Lf, bestSoFar as Lg, ExecutorResultMapping as Lh, asAuthoredProfile as Li, SuperviseGraphPursuitOptions as Ll, runDetachedTurn as Lm, ScopeArgs as Ln, createMcpEnvironment as Lo, ProviderExecutorOptions as Lp, graphRouteWhenSchema as Lr, AuthoredStrategy as Ls, WorktreeFanoutOptions as Lt, WorkerSpawnRetryPolicy as Lu, CodexTokenUsage as Lv, HarnessTranscriptArtifact as Lx, WorkerSlots as Ly, DriverRepromptRefusal as M, RetainedRunIntentAdmission as MC, LoopResult as MS, AuthorizedDownMessage as M_, OpenSandboxRunOptions as Ma, ReservationHolder as Mb, TrajectoryNode as Mc, SupervisorAgentDeps as Md, VerdictSummary as Mf, AnytimeReport as Mg, CoderTask as Mh, chatWorkerSeam as Mi, PursuitVersions as Ml, SiblingSandboxExecutorOptions as Mm, compileSearchSpec as Mn, createScopeAnalyst as Mo, sharedWorkerClientName as Mp, createInPlaceCliExecutor as Mr, depthStrategy as Ms, harvestSurfaceDiffs as Mt, SuperviseOptions as Mu, LocalHarnessResult as Mv, RetainedInteractiveEnvironmentInput as Mx, SanitizedKnowledgeRequirement as My, BlockedToolReport as N, RetainedRunReplayPoint as NC, LoopSandboxPlacement as NS, ContinuationInstruction as N_, OpenSandboxRunPromptOptions as Na, ReservationRejection as Nb, TrajectoryReport as Nc, SupervisorAgentTestDeps as Nd, admitContinuationPolicy as Nf, AnytimeStrategySummary as Ng, CheckUnavailableError as Nh, createChatSessionStore as Ni, SettledPursuitVersion as Nl, createFleetWorkspaceExecutor as Nm, searchPresets as Nn, registryScopeAnalyst as No, AgentEnvironmentProviderRef as Np, GraphSessionObservationOptions as Nr, refine as Ns, AnalystAuthoring as Nt, SuperviseTestOptions as Nu, RunLocalHarnessOptions as Nv, RetainedInteractiveRunHandle as Nx, createRuntimeEventCollector as Ny, DriverAttemptRecord as O, RetainedRunEffect as OC, LoopIterationStartedPayload as OS, QuestionRecord as O_, runStrategyEvolution as Oa, BudgetPoolRestore as Ob, ScopeAnalyst as Oc, DriveHarnessOwnerContext as Od, ContinuationPanelResult as Of, renderLeaderboardHtml as Og, DelegationStore as Oh, ChatTransportExecutorOptions as Oi, NextPursuitVersion as Ol, detachedSessionDelegate as Om, SearchSpec as On, CreateScopeAnalystOptions as Oo, SharedWorkerIdentity as Op, InteractiveWorkerOptions as Or, StrategyMessage as Os, SurfaceReader as Ot, superviseWithTestBrain as Ou, AuthoredAnalystDefinition as Ov, readWorkerProgress as Ox, RuntimeStreamEventSink as Oy, CoordinationStats as P, RetainedRunSnapshot as PC, LoopStartedPayload as PS, ContinuityMode as P_, SandboxRun as Pa, ReservationShortfall as Pb, TrajectoryReportOptions as Pc, SupervisorNodeContext as Pd, DriverContractState as Pf, AnytimeTaskCurve as Pg, CheckVerdict as Ph, AuthoredProfile as Pi, VersionJudge as Pl, createSiblingSandboxExecutor as Pm, searchSpecDigest as Pn, observationFromRegistry as Po, AgentEnvironmentProviderRegistry as Pp, ObservedSessionFacts as Pr, runAgentic as Ps, analystsFromRegistry as Pt, ResolvedWorkerSpawnRetry as Pu, runLocalHarness as Pv, RetainedInteractiveStartMaterial as Px, createRuntimeStreamEventCollector as Py, AgentEnvironmentQuery as Q, RuntimeRunPersistenceAdapter as QS, PeerMailRefusal as Q_, startRetainedRunInEnvironment as Qa, ProfileMaterializationReceipt as Qb, ShapeContext as Qc, cancelRun as Qd, DelegateHandlerOptions as Qf, WorktreeHarnessResult as Qg, CodexRolloutStoreReader as Qh, StructuralRolloutPolicy as Qi, PursuitRunProjection as Ql, DelegateUiAuditArgs as Qm, readWorkerSteerRequests as Qn, SuperviseOptionsForDispatch as Qo, secretEnvOfMcpServer as Qp, graphCorpusSummary as Qr, HarvestFailure as Qs, composeWorkerEvidence as Qt, RunContext as Qu, FileSpawnJournal as Qv, HarnessTranscriptMetadata as Qx, Handle as Qy, GraphSubtasks as R, StartRetainedRunOptions as RC, LoopTraceEvent as RS, DownMessageEvent as R_, SandboxLineage as Ra, createBudgetPool as Rb, WidenDecision as Rc, ManagerWakePolicy as Rd, ResolvedSpawnResourcePath as Rf, plateauLength as Rg, gateOnDeliverable as Rh, assessAuthoredProfile as Ri, SupervisePursuitError as Rl, DelegationArgs as Rm, TRACE_ROOT_SCHEMA as Rn, sanitizeMcpToolSchema as Ro, ProviderLeafOut as Rp, GraphFileResolutionError as Rr, ShotSpec as Rs, worktreeFanout as Rt, isPreSpawnExecutorFailure as Ru, CodexExecutionPolicy as Rv, HarnessTranscriptBinding as Rx, createWorkerSlots as Ry, RuntimeStreamEvent as S, RetainedInteractiveStartedAdmission as SC, ExecCtx as SS, QuestionEscalationOutcome as S_, EvolutionReport as Sa, UnconfirmedTeardown as Sb, Panel as Sc, readRootStreamReceipt as Sd, PriorCoordination as Sf, PairwiseOptions as Sg, ResearchTask as Sh, graphDesignerExtraTools as Si, IsolatedCheckBox as Sl, CoderReview as Sm, validateStoredGraph as Sn, loopUntil as So, DEFAULT_SHARED_BOX_RESOURCES as Sp, pickBestProfile as Sr, AgenticSurface as Ss, createVerifierEnvironment as St, defaultEdgeTraversalCap as Su, AnalystFindingEvent as Sv, DEFAULT_STALL_AFTER_MS as Sx, OtelSpan as Sy, RuntimeFailureOwner as T, RetainedRunCancelOptions as TC, LoopEndedPayload as TS, QuestionLevel as T_, StrategyTournament as Ta, WorkerEventEntry as Tb, PanelVerdict as Tc, CoordinationToolFace as Td, ContinuationEntry as Tf, ScoreOf as Tg, DelegationTraceSpan as Th, delegate as Ti, IsolatedCheckResult as Tl, DetachedSessionDelegateOptions as Tm, createFencedSqlRunContext as Tn, selectValidWinner as To, SharedBoxPlacement as Tp, recordProfileRun as Tr, ArtifactHandle as Ts, SurfaceDiff as Tt, RUN_FORK_CORRELATION_KEYS as Tu, AnalystRegistry$1 as Tv, TeamProgress as Tx, loopEventToOtelSpan as Ty, SpawnPreflightContext as U, RunProvenance as US, MapTraversalEvent as U_, S3PrivateCasStore as Ua, SpawnModelSubstitution as Ub, DefinePersonaInput as Uc, ProgressView as Ud, resolveSpawnResourcePaths as Uf, createWaterfallCollector as Ug, CompletionPolicy as Uh, CheckExecChannel as Ui, RunReopen as Ul, DelegationRunContext as Um, runToolSpans as Un, BenchmarkStrategySummary as Uo, BridgeHarnessStore as Up, GraphCorpusGroup as Ur, adaptiveRefine as Us, WorkerInteractiveBinding as Ut, SuperviseRegistryTable as Uu, SpawnForest as Uv, HarnessTranscriptUnavailableReason as Ux, readRunParking as Uy, SettledWorker as V, MountRecorder as VS, MapOnSettleRoute as V_, AcquireOptions as Va, ExecutorFactory as Vb, WinnerStrategy as Vc, NoProgressForOptions as Vd, SpawnResourceReader as Vf, WaterfallReport as Vg, CompletionAnalyst as Vh, supervisorInstructions as Vi, superviseGraphPursuit as Vl, DelegationResumeDriver as Vm, TraceSummary as Vn, BenchmarkLift as Vo, UnavailablePausePolicy as Vp, LoadedGraphFile as Vr, StrategyCtx as Vs, createWorktreeCliExecutor as Vt, withWorkerSpawnRetry as Vu, SqlAdapter as Vv, HarnessTranscriptFile as Vx, RunParkingPolicy as Vy, SpawnRefusal as W, SandboxClient as WS, AUTHORITY_MARKERS as W_, S3PrivateCasStoreOptions as Wa, AgentExecutionRef as Wb, LoopShape as Wc, StopDecision as Wd, McpServer as Wf, RunAgentRoundsOptions as Wg, CompletionVerdict as Wh, CheckOutcome as Wi, PursuitObserverDelivery as Wl, DelegationTaskQueue as Wm, WorkerCancellation as Wn, BenchmarkTaskRow as Wo, BridgeModelCredential as Wp, GraphCorpusSummary as Wr, assertStrategyContract as Ws, WorkerInteractiveProviderSource as Wt, SeatSegment as Wu, SpawnForestEvent as Wv, ReadableEnvironment as Wx, Budget as Wy, AgentEnvironmentEvent$1 as X, RuntimeRunHandle as XS, PeerMailOutcome as X_, recoverRetainedRun as Xa, MaterializedModelIdentity as Xb, RunPersonifiedOptions as Xc, RunCancelRequest as Xd, McpEventSource as Xf, WorktreeCheckRunner as Xg, CodexRolloutIdentity as Xh, StructuralRolloutConfig as Xi, PursuitNodeUsage as Xl, DelegateResearchArgs as Xm, readWorkerCancellation as Xn, LoopOptionsForDispatch as Xo, resolveMcpServerLaunch as Xp, StoredGraphInput as Xr, HarvestCorpusOptions as Xs, WorkerEvidenceInput as Xt, InMemoryRunContext as Xu, FileResultBlobStore as Xv, HARNESS_TRANSCRIPT_READ_LIMITS as Xx, SpendChannel as Xy, AgentEnvironmentCapabilities$1 as Y, RuntimeRunCost as YS, PeerMailLimits as Y_, reconnectRetainedRun as Ya, MaterializedExecutionIdentity as Yb, RunPersonified as Yc, plateau as Yd, McpEventRecord as Yf, InPlaceHarnessResult as Yg, CodexForkBoundary as Yh, RepairStop as Yi, PursuitNodeTiming as Yl, DelegateCodeConfig as Ym, legacySupervisorRunDir as Yn, LoopDispatchOptions as Yo, mcpSecretEnvMetadataKey as Yp, StoredGraph as Yr, strategyAuthorSystemPrompt as Ys, VERIFY_TAIL_CHARS as Yt, subscriptionUsageLimitSignal as Yu, loadSpawnForest as Yv, BoundHarnessSession as Yx, Spend as Yy, AgentEnvironmentProvider$1 as Z, RuntimeRunOptions as ZS, PeerMailReadout as Z_, startRetainedRun as Za, NodeExecutionIdentity as Zb, ShapeBudget as Zc, RunCancellation as Zd, DelegateError as Zf, WorktreeCommandResult as Zg, CodexRolloutSession as Zh, StructuralRolloutMessage as Zi, PursuitProjection as Zl, DelegateResearchConfig as Zm, readWorkerSteerAcknowledgement as Zn, SuperviseDispatchOptions as Zo, resolveSecretEnv as Zp, digestOfGraph as Zr, HarvestError as Zs, closingWorkerNote as Zt, InMemoryRunContextOptions as Zu, replaySpawnTree as Zv, HarnessFileBinding as Zx, SpendGap as Zy, RunAgentTaskOptions as _, RecoverRetainedRunOptions as _C, TokenUsageProvenance as _S, RouteWhen as __, CollectedAgentTurn as _a, Agent as _b, FanoutOptions as _c, SupervisorSpanOutcome as _d, CoordinationHttpAudit as _f, GroupOf as _g, UiLens as _h, queueOf as _i, checkProgramDigest as _l, ToolLoopMessageRecord as _m, parseWorkerToolTraceArtifact as _n, FileCorpus as _o, AuthorityInboxMessage as _p, provisionSupervisor as _r, StdioMcpServerSpec as _s, SandboxInstance$1 as _t, TraversalContinuity as _u, createEventBus as _v, ToolStepInput as _x, readTraceContextFromEnv as _y, AgentKnowledgeProvider as a, AgentEvalError$1 as aC, retainHarnessTranscript as aS, ManagerReentryState as a_, defaultStructuralRolloutPolicy as aa, SpawnPrior as ab, ObserveOptions as ac, RegisteredPrompt as ad, DeliveredOutput as af, readCodexRolloutSession as ag, DelegationProgress as ah, lookupGraph as ai, LeaderboardBenchmarkAdapter as al, SandboxServedBackend as am, GitWorkspaceOptions as an, resolveSandboxClient as ao, CliSeam as ap, RemoteSupervisorCancelResult as ar, defaultSelectWinner as as, AgentTurnResult$2 as at, ObserverRecordKind as au, peerMailTools as av, ExecutorCancellationRequest as ax, WorkspaceCheckpointMarker as ay, RuntimeSession as b, RetainedInteractiveEnvironmentAdmission as bC, DefaultVerdict$2 as bS, Question as b_, streamAgentTurn as ba, ResumedWork as bb, LoopUntilSpec as bc, RootStreamRecord as bd, CoordinationLog as bf, LeaderboardOptions as bg, ResearchOutput as bh, DesignerToolsEnv as bi, declaredCheckJudge as bl, FeedbackStore as bm, createRootHandle as bn, fanout as bo, InboxMessage as bp, bestProfileFor as br, AgenticOptions as bs, makeFinding$1 as bt, GraphCommandCheck as bu, watchTrace as bv, ActivityLog as bx, OtelExportStats as by, AgentTaskContext as c, ConfigError as cC, ProviderWorkspaceAttemptProvenance as cS, WorkerWatchOptions as c_, officialChecksFromMeta as ca, SubtreeSummary as cb, renderReport as cc, delegatesWorkerBriefPrompt as cd, SupervisorFinalizer as cf, CodeModeStore as cg, DelegationStatusResult as ch, recordStoredGraphRun as ci, LeaderboardRunContext as cl, sumSandboxUsage as cm, WorkspaceCommit as cn, PrivateCasArtifactPort as co, ProviderSeam as cp, RemoteSupervisorSteerResult as cr, InProcessPromptCtx as cs, CheckpointRequest as ct, EdgeDeliveryOutcome as cu, JsonRpcResponse as cv, HeldEnvironment as cx, RootSegment as cy, AgentTaskStatus as d, ValidationError as dC, ProviderWorkspaceCaptureResult as dS, GateRequest as d_, selectBestIndex as da, NoWinnerError as db, Corpus as dc, formatPromptHandle as dd, CoordinationControlAccess as df, CodeModeToolsOptions as dg, ResearchOutputShape as dh, GraphTriggerBinding as di, LeaderboardSpec as dl, RouterRouting as dm, jjWorkspace as dn, PrivateCasOptions as do, SandboxSeam as dp, connectRemoteSupervisor as dr, HttpMcpServerSpec as ds, ExecRequest as dt, GraphEdgeCapError as du, McpTransport as dv, Runtime as dx, SteerableRootHandle as dy, RuntimeRunStatus as eC, HarnessTranscriptReadOptions as eS, GitRunner as e_, VisibleCheck as ea, NodeSnapshot as eb, harvestCorpus as ec, createFileRunContext as ed, readRunCancellation as ef, CodexRolloutTurn as eg, DelegateUiAuditRoute as eh, graphFromStored as ei, ProviderAsSandboxClientOptions as el, SandboxOutputMarker as em, spendFromUsageEvents as en, claimRetainedInteractiveControl as eo, createDelegateHandler as ep, supervisorRunDir as er, loopDispatch as es, AgentEnvironmentSummary as et, PursuitStatus as eu, PeerMailbox as ev, UnknownMaterializationReason as ex, InMemorySpawnJournal as ey, BackendErrorDetail as f, NativeContextContinuationExecution as fC, ProviderWorkspaceEntryMetadata as fS, JsonScalar as f_, structuralRollout as fa, ProviderModelAttemptEvidence as fb, CorpusFilter as fc, kernelPromptRegistry as fd, CoordinationMcpHandle as ff, CodeModeToolset as fg, UiAuditLensFilter as fh, DispatchReport as fi, defineLeaderboard as fl, ToolSpec as fm, localShell as fn, createPrivateCasArtifactPort as fo, DEFAULT_SANDBOX_STEERING_MAX_TURNS as fp, connectRemoteSupervisorControl as fr, LocalMcpMaterialization as fs, ExecResult as ft, GraphNode as fu, BusEvent as fv, WorkerInteractiveSession as fx, Supervisor as fy, OpenAIChatToolChoice as g, RecoverRetainedRunIntentOptions as gC, ExecutorToolCall as gS, RouteMatch as g_, AgentTurnUsage as ga, SupervisedResult as gb, EqualKVerdict as gc, SupervisorSpanOptions as gd, serveCoordinationMcp as gf, AxisScoresOf as gg, UiFindingSeverity as gh, freeSlots as gi, assertDeclaredCheck as gl, ToolLoopCompactionOptions as gm, WorkerToolTraceArtifact as gn, runPersonified as go, createSteerableSandboxSession as gp, SupervisorCleanupReceipt as gr, StdioMcpConnection as gs, SandboxEvent$1 as gt, RunGraphTestOptions as gu, PublishOptions as gv, SessionMessageLike as gx, createPropagatingTraceEmitter as gy, OpenAIChatTool as h, ReconnectRetainedRunOptions as hC, ExecutorProgressEvent as hS, RouteGate as h_, AgentTurnInput$1 as ha, RootStreamReceipt as hb, EqualKOnCostOptions as hc, SupervisorSpanAttributes as hd, CoordinationTransportOptions as hf, runCodeMode as hg, UiFindingScreenshot as hh, RollingDispatchOptions as hi, DeclaredCheckStateCapture as hl, ToolLoopCompaction as hm, analyzeTrace as hn, definePersona as ho, SteerableSandboxSession as hp, ProvisionedSupervisor as hr, McpSpawnFault as hs, ResourceRequest as ht, RunGraphOptions as hu, EventBus as hv, WorkerTraceUnavailableReason as hx, TraceContext as hy, AgentExecutionBackend as i, defaultRedactor as iC, resolveHarnessTranscriptCapture as iS, LeadMessage as i_, defaultExtractCandidate as ia, SpawnOpts as ib, ObserveInput as ic, PromptRegistry as id, composeReentryTask as if, harnessUsageIsEmpty as ig, DelegationHistoryEntry as ih, loadGraph as ii, LeaderboardBenchTask as il, mapSandboxToolEvent as im, withUntrackedArtifacts as in, ResolveSandboxClientOptions as io, CliInPlaceSeam as ip, RemoteSupervisorAgent as ir, TerminalDecision as is, AgentSessionStatus$1 as it, ObserverRecord as iu, isPeerMailEnvelope as iv, ExecutorCancellation as ix, TraceRootReceipt as iy, DriverFailureClass as j, RetainedRunHandle as jC, LoopPlanPayload as jS, AuthorizeDownMessage as j_, OpenSandboxRunBeforeStartContext as ja, ReservationFloor as jb, SteerContext as jc, ResolveSupervisorTools as jd, PanelFinding as jf, renderPairwiseMarkdown as jg, CoderOutput as jh, chatTransportExecutor as ji, PursuitVersionStop as jl, FleetWorkspaceExecutorOptions as jm, assertSearchSpec as jn, buildSteerContext as jo, sharedBoxRefusal as jp, InPlaceCliExecutorOptions as jr, breadthStrategy as js, fsSurfaceReader as jt, AuthorizedSpawnContext as ju, CodexExecutionEvidence as jv, RetainedInteractiveAdmissionHook as jx, SanitizedKnowledgeReadinessReport as jy, DriverAttemptStop as k, RetainedRunEnvironmentAdmission as kC, LoopLineageOptions as kS, QuestionUrgency as k_, strategyTournament as ka, BudgetReadout as kb, ScopeAnalyzeInput as kc, ObserveSupervisorNodeEvent as kd, ContinuationPolicy as kf, renderLeaderboardMarkdown as kg, FileDelegationStore as kh, ChatTransportTool as ki, NextPursuitVersionInput as kl, DelegationExecutor as km, SearchSpecInputs as kn, RegistryAnalyzeProjection as ko, sharedBoxPlacement as kp, InteractiveWorkerResult as kr, StrategyShotResult as ks, WatchedSurface as kt, workerFromBackend as ku, AuthoredAnalystLimits as kv, ReconnectRetainedInteractiveRunOptions as kx, RuntimeStreamEventSummary as ky, AgentTaskRunResult as l, JudgeError as lC, ProviderWorkspaceCaptureProvenance as lS, DecideGate as l_, resolveEntrySymbol as la, TreeView as lb, AssertTraceDerivedFindings as lc, dumbContinuationFailPrompt as ld, bestDelivered as lf, CodeModeTool as lg, FeedbackRating as lh, storedGraphDigests as li, LeaderboardScenario as ll, RouterResponseReceipt as lm, WorkspaceRun as ln, PrivateCasDurableStore as lo, RouterSeam as lp, RemoteSupervisorTree as lr, InProcessSandboxClientOptions as ls, CreateAgentEnvironmentInput$1 as lt, EdgeTraversal as lu, McpToolAnnotations as lv, HeldForContinuation as lx, RootSegmentEntry as ly, OpenAIChatResponseFormat as m, NativeContextContinuationInput as mC, ProviderWorkspaceRetentionPort as mS, RouteFlowEvent as m_, AgentTurnBackend as ma, RootProviderModelEvidence as mb, EqualKArm as mc, promptHandle as md, CoordinationReadAccess as mf, createCodeModeTools as mg, UiFinding as mh, DispatchUnit as mi, DeclaredCheckPlacement as ml, ToolLoopChat as mm, TrajectoryAnalysis as mn, trajectoryReport as mo, SteerableSandboxArgs as mp, ProvisionSupervisorRequest as mr, McpListedTool as ms, PlacementInfo as mt, GraphTopology as mu, BusStats as mv, WorkerTraceEvidence as mx, WorkerTraceResolver as my, AgentBackendContext as n, contentAddress as nC, RetainedHarnessTranscriptDescriptor as nS, CoordinationEvent as n_, compareCheckOutcomes as na, RetainedExecutionState as nb, ObservationAnalysis as nc, withRunContext as nd, ReentryTaskInput as nf, addHarnessUsage as ng, DelegationFeedbackSnapshot as nh, graphRunsFor as ni, DefinedLeaderboard as nl, createSandboxToolPartState as nm, UntrackedCopyStats as nn, recoverRetainedInteractiveRun as no, ExecutorConfig as np, workerInboxFileFromEventDir as nr, LocalSandboxClientOptions as ns, AgentSession as nt, FileObserverJournal as nu, claimsAuthority as nv, Executor as nx, SpawnEvent as ny, AgentRuntimeEvent as o, AgentEvalErrorCode as oC, ProviderCheckpointCaptureContext as oS, ManagerWake as o_, filterAuthoredAsserts as oa, SpawnRejection as ob, defaultAnalystInstruction as oc, analyzesFindingsReportPrompt as od, FinalizeContext as of, HarnessUsage as og, DelegationResultPayload as oh, pickBestGraph as oi, LeaderboardFlagSpec as ol, SandboxUsageLedger as om, Shell as on, profileChatClient as oo, CliWorktreeBridgeSeam as op, RemoteSupervisorControl as or, inlineSandboxClient as os, AnalystFinding$1 as ot, observerRecordDigest as ou, peerMailVerbNames as ov, ExecutorResult as ox, RecursiveReservationPolicy as oy, KnowledgeReadinessDecision as p, NativeContextContinuationHandle as pC, ProviderWorkspaceRetentionContext as pS, RouteFlow as p_, visibleCheckScore as pa, ProviderModelExecutionEvidence as pb, CorpusRecord as pc, naiveContinuationPrompt as pd, CoordinationPublicAddress as pf, RunCodeModeOptions as pg, UiAuditorDelegationOutput as ph, DispatchStopReason as pi, DeclaredCheck as pl, ToolLoopCallContext as pm, runInWorkspace as pn, equalKOnCost as po, SandboxSteeringOptions as pp, ProvisionSupervisorConnection as pr, MaterializeLocalMcpOptions as ps, ForkRequest as pt, GraphResult as pu, BusRecord as pv, WorkerInteractiveUnavailableReason as px, SupervisorOpts as py, WorkerSpawnContext as q, Validator as qS, PeerMailEnvelope as q_, PrivateCasNamespaceObject as qa, ExecutorMaterialization as qb, PersonaContext as qc, anyOf as qd, EventSubscription as qf, SandboxEvidenceReceipt as qg, sentinelCompletion as qh, CheckSource as qi, PursuitNodePlatform as ql, SubmitOutput as qm, WriteWorkerSteerOptions as qn, runBenchmark as qo, ResolvedMcpServerLaunch as qp, GraphRunRecord as qr, sampleThenRefine as qs, EVIDENCE_MAX_CHARS as qt, SeatStage as qu, SpawnForestNode as qv, harnessTranscriptArtifact as qx, ResourceLimit as qy, AgentBackendInput as r, Redactor as rC, readBoundHarnessSessions as rS, EventAcknowledgement as r_, composeCheckSources as ra, Settled as rb, ObservationError as rc, PromptHandle as rd, UNPROVEN_CONTINUITY as rf, createCodexRolloutStoreReader as rg, DelegationHistoryArgs as rh, listGraphRuns as ri, LeaderboardBenchScore as rl, mapSandboxEvent as rm, copyUntrackedIntoClone as rn, startRetainedInteractiveRun as ro, createExecutor as rp, writeWorkerSteer as rr, TERMINAL_DECISIONS as rs, AgentSessionRef as rt, ObserverJournal as ru, createPeerMailbox as rv, ExecutorAccounting as rx, SpawnJournal as ry, AgentRuntimeEventSink as s, BackendTransportError as sC, ProviderNativeCapturePhase as sS, ToolOutcomeEvent as s_, modelAuthoredChecks as sa, SubtreeResult as sb, observe as sc, createPromptRegistry as sd, FinalizerSettled as sf, decodeHarnessUsage as sg, DelegationStatus as sh, recordGraphRun as si, LeaderboardIterationInfo as sl, extractLlmCallEvent as sm, Workspace as sn, profileOptimizerModelCall as so, CliWorktreeSeam as sp, RemoteSupervisorReader as sr, InProcessOnPrompt as ss, CheckpointRef as st, AgentGraph as su, JsonRpcMessage as sv, ExecutorTeardownWarning as sx, RootHandle as sy, AgentAdapter as t, startRuntimeRun as tC, RetainedHarnessTranscriptCapture as tS, AwaitWakeInput as t_, canDisplace as ta, NodeStatus as tb, Observation as tc, createInMemoryRunContext as td, ReentryContinuity as tf, CodexStoreDelta as tg, DelegationError as th, graphRegistry as ti, providerAsSandboxClient as tl, SandboxToolPartState as tm, CopyOptions as tn, reconnectRetainedInteractiveRun as to, createExecutorRegistry as tp, supervisorRunsRoot as tr, superviseDispatch as ts, AgentProfile$2 as tt, projectPursuit as tu, PeerMailboxOptions as tv, EnvironmentTeardownReceipt as tx, ResultBlobStore as ty, AgentTaskSpec as u, NotFoundError as uC, ProviderWorkspaceCaptureReceipt as uS, GateDecision as u_, sandboxCheckRunner as ua, FleetYield as ub, CombinatorShape as uc, dumbContinuationPassPrompt as ud, CoordinationAuthentication as uf, CodeModeToolContext as ug, FeedbackRefersTo as uh, taskShapeDigest as ui, LeaderboardScore as ul, RouterTransportConfig as um, gitWorkspace as un, PrivateCasOffloadReport as uo, RouterToolsSeam as up, RemoteWorkerEvents as ur, inProcessSandboxClient as us, CreateSandboxOptions$1 as ut, GraphEdge as uu, McpToolDescriptor as uv, HeldRelease as ux, RootSignal as uy, RunAgentTaskStreamOptions as v, RecoverRetainedRunResult as vC, UsageEvent as vS, ChildQuestionInbox as v_, StreamAgentTurnOptions as va, ReenteredWorkers as vb, FanoutSynthesis as vc, SupervisorSpanRecorder as vd, CoordinationRejectReason as vf, Interval as vg, KnowledgeItem as vh, rollingDispatch as vi, declaredCheckDeliverable as vl, ToolLoopToolCall as vm, DEFAULT_MAX_DEPTH as vn, InMemoryCorpus as vo, Inbox as vp, ProfileRegistryDir as vr, connectStdioMcp as vs, WorkspaceRequest as vt, runGraph as vu, WatchTraceOptions as vv, TraceSource as vx, OtelAttribute as vy, RuntimeFailureCode as w, RetainedRunAdmissionHook as wC, LoopDecisionPayload as wS, QuestionEscalationTarget as w_, StrategyEvolutionConfig as wa, WorkerEventCursor as wb, PanelSpec as wc, supervisorAgentWithTestBrain as wd, ContinuationAppend as wf, ProfileKeyOf as wg, researcherProfile as wh, defaultDelegateBudget as wi, IsolatedCheckOptions as wl, DelegateRunCtx as wm, SqlRunContextOptions as wn, pipeline as wo, SharedBoxCloseReceipt as wp, profileRunsForName as wr, AgenticTool as ws, HarvestSurfaceDiffsOptions as wt, PursuitFork as wu, AnalystLensOutput as wv, ScopeProgressInput as wx, createOtelExporter as wy, RuntimeSessionStore as x, RetainedInteractiveIntentAdmission as xC, Driver as xS, QuestionDecision as x_, EvolutionAuthor as xa, Scope as xb, LoopUntilState as xc, readRootStream as xd, FileCoordinationLog as xf, LeaderboardRow as xg, ResearchSource as xh, GraphDesignerExtraTools as xi, readDeclaredCheck as xl, CoderDelegate as xm, ValidateStoredGraphOptions as xn, flatWidenGate as xo, PeerInboxMessage as xp, loadProfile as xr, AgenticRunResult as xs, VerifierEnvironmentOptions as xt, GraphFromStoredOptions as xu, AnalystAssignmentRecord as xv, ActivityNote as xx, OtelExporter as xy, RuntimeCanonicalStreamEvent as y, RetainedInteractiveAdmission as yC, AgentRunSpec as yS, EscalateQuestion as y_, collectAgentTurn as ya, ResumedKeyState as yb, FanoutWinnerSelector as yc, createSupervisorSpanRecorder as yd, CoordinationDeliveryEvidence as yf, Leaderboard as yg, KnowledgeUpdate as yh, DesignerRunGraphEnv as yi, declaredCheckDigest as yl, FeedbackEvent as ym, createSupervisor as yn, renderCorpusToInstructions as yo, InboxLease as yp, ProfileRunRecord as yr, materializeLocalMcp as ys, computeFindingId$1 as yt, runGraphWithTestBrain as yu, defaultToolDetectors as yv, createPushTraceSource as yx, OtelExportConfig as yy, MakeWorkerAgent as z, LoopWinner as zS, WorkerResumeContext as z_, SandboxLineageHandle as za, AgentSpec as zb, WidenLineage as zc, SupervisorProfile as zd, SpawnResourceBytes as zf, renderAnytimeTable as zg, mapExecutorResult as zh, defaultProfileRichnessThresholds as zi, SupervisePursuitOptions as zl, DelegationRecord as zm, TRACE_SUMMARY_SCHEMA as zn, BenchmarkCell as zo, ProviderPromptOptions as zp, GraphFileSeat as zr, Strategy as zs, WorktreeCliExecutorOptions as zt, resolveWorkerSpawnRetry as zu, SqlRunOwnershipError as zv, HarnessTranscriptCapture as zx, ParkedRun as zy };
19767
- //# sourceMappingURL=types-ooyUaxq_.d.ts.map
19575
+ export { AgentEnvironmentStatus as $, AgentEvalErrorCode as $S, BusStats as $_, startRetainedRunInEnvironment as $a, Executor as $b, ShapeContext as $c, CoordinationControlAccess as $d, SandboxSeam as $f, RouteFlowEvent as $g, CodeModeToolsOptions as $h, StructuralRolloutResult as $i, PursuitRunProjection as $l, ResearchOutputShape as $m, safeWorkerFile as $n, SuperviseOptionsForDispatch as $o, RouterRouting as $p, graphDigest as $r, HarvestFailure as $s, settledWorkerOut as $t, analyzesFindingsReportPrompt as $u, SpawnEvent as $v, RetainedHarnessTranscriptDescriptor as $x, RetainedExecutionState as $y, DriverContinuationRecord as A, StartRetainedRunInEnvironmentOptions as AC, LoopTraceEmitter as AS, DEFAULT_PEER_MAIL_LIMITS as A_, Deliverable as Aa, ReservationRejection as Ab, ScopeAnalyzeInput as Ac, SupervisorToolInvocationContext as Ad, environmentReader as Af, WaterfallSpan as Ag, CompletionEvidence as Ah, ChatWorkerSeamOptions as Ai, NextPursuitVersionInput as Al, DelegationResumeTick as Am, SearchSpecOwnedOption as An, RegistryAnalyzeProjection as Ao, ProviderPlacement as Ap, workerFromInteractiveProvider as Ar, StrategyShotResult as As, boxSurfaceReader as At, workerFromBackend as Au, SpawnForestInDoubtNode as Av, RetainedInteractiveRunHandle as Ax, createRuntimeEventCollector as Ay, PeerAuditAccess as B, Validator as BS, PeerMailboxOptions as B_, createSandboxLineage as Ba, SpawnModelSubstitution as Bb, WidenLineage as Bc, anyOf as Bd, DelegateHandlerOptions as Bf, AwaitWakeInput as Bg, CodexRolloutStoreReader as Bh, profileRichnessFinding as Bi, SupervisePursuitOptions as Bl, DelegateUiAuditArgs as Bm, TraceRootArtifact as Bn, BenchmarkCell as Bo, secretEnvOfMcpServer as Bp, LoadGraphFileOptions as Br, Strategy as Bs, WorktreePatchArtifact as Bt, SeatStage as Bu, SpawnJournalReadResult as Bv, HarnessTranscriptUnavailableReason as Bx, readRunParking as By, RuntimeFailureCause as C, RetainedRunEventOptions as CC, LoopPlanDescription as CS, DownMessageEvent as C_, EvolutionStrategy as Ca, WorkerEventPage as Cb, Panel as Cc, ResolveDriveHarness as Cd, DriverReentry as Cf, anytimeReport as Cg, CompletionCheckContext as Ch, DelegateOptions as Ci, IsolatedCheckBox as Cl, DetachedTurn as Cm, FencedSqlRunContext as Cn, loopUntil as Co, createAgentEnvironmentProviderRegistry as Cp, profileRegistry as Cr, AgenticSurface as Cs, BoxSurfaceReaderOptions as Ct, defaultEdgeTraversalCap as Cu, CodexExecutionPolicy as Cv, WorkerProgress as Cx, RuntimeEventCollector as Cy, RetainedPendingCause as D, RetainedRunSnapshot as DC, LoopStartedPayload as DS, MapSpawnMarker as D_, TournamentRow as Da, LeakedReservation as Db, PipelineStage as Dc, SupervisorNodeContext as Dd, SpawnResourceBytes as Df, renderAnytimeTable as Dg, mapExecutorResult as Dh, ChatSessionStore as Di, runIsolatedCheck as Dl, DelegationRecord as Dm, SEARCH_SPEC_CORRELATION_KEY as Dn, verify as Do, ProviderPromptOptions as Dp, InteractiveWorkerKeyInput as Dr, CorpusReadbackOptions as Ds, SurfaceReadOutcome as Dt, supervise as Du, materializeTreeView as Dv, RecoverRetainedInteractiveRunOptions as Dx, RuntimeTelemetryOptions as Dy, EvidencePendingEvent as E, RetainedRunReplayPoint as EC, LoopSandboxPlacement as ES, MapOnSettleRoute as E_, TournamentCell as Ea, BudgetReadout as Eb, PanelVerdict as Ec, SupervisorAgentTestDeps as Ed, ResolvedSpawnResourcePath as Ef, plateauLength as Eg, gateOnDeliverable as Eh, ChatCompletionsTransport as Ei, IsolatedCheckResult as El, DelegationArgs as Em, CompiledSearchSpec as En, selectValidWinner as Eo, ProviderLeafOut as Ep, InteractiveWorkerEnvironment as Er, ArtifactHandle as Es, SurfaceReadBox as Et, RUN_FORK_CORRELATION_KEYS as Eu, SqlAdapter as Ev, ReconnectRetainedInteractiveRunOptions as Ex, RuntimeStreamEventSummary as Ey, CoordinationTools as F, OutputAdapter as FS, PeerMailOutcome as F_, SandboxRunAbortError as Fa, createBudgetPool as Fb, TrajectoryReportOptions as Fc, PlateauOptions as Fd, EventSubscription as Ff, WorktreeCheckRunner as Fg, sentinelCompletion as Fh, ProfileRichness as Fi, VersionJudge as Fl, SubmitOutput as Fm, settledToIteration as Fn, observationFromRegistry as Fo, ResolvedMcpServerLaunch as Fp, graphFromSessionFacts as Fr, runAgentic as Fs, failuresAnalyst as Ft, SuperviseRegistry as Fu, FileResultBlobStore as Fv, HarnessTranscriptBinding as Fx, createWorkerSlots as Fy, SpawnRefusalCause as G, RuntimeRunPersistenceAdapter as GS, peerMailVerbNames as G_, S3PrivateCasStoreOptions as Ga, ExecutorNodeContext as Gb, LoopShape as Gc, UNPROVEN_CONTINUITY as Gd, createExecutor as Gf, ManagerWake as Gg, createCodexRolloutStoreReader as Gh, CheckRunContext as Gi, PursuitObserverDelivery as Gl, DelegationHistoryArgs as Gm, WorkerSteerAcknowledgement as Gn, BenchmarkTaskRow as Go, mapSandboxEvent as Gp, GraphRegistryDir as Gr, assertStrategyContract as Gs, attachWorker as Gt, RunContext as Gu, RunCancelRequest as Gv, persistHarnessTranscript as Gx, ResourceSpend as Gy, SpawnPreflight as H, RuntimeRunCost as HS, createPeerMailbox as H_, AcquireOptions as Ha, ExecutionBindingReceipt as Hb, WinnerStrategy as Hc, plateau as Hd, createDelegateHandler as Hf, EventAcknowledgement as Hg, CodexRolloutTurn as Hh, RunCancellationReason as Hi, superviseGraphPursuit as Hl, DelegateUiAuditRoute as Hm, RunTraceSources as Hn, BenchmarkLift as Ho, SandboxOutputMarker as Hp, loadGraphFile as Hr, StrategyCtx as Hs, AttachWorkerOptions as Ht, subscriptionUsageLimitSignal as Hu, FileSpawnJournal as Hv, captureBoundHarnessTranscript as Hx, BudgetOverspend as Hy, CoordinationToolsOptions as I, RunProvenance as IS, PeerMailReadout as I_, TurnResult as Ia, AgentSpec as Ib, Verify as Ic, ProgressView as Id, EventSubscriptionStore as If, WorktreeCommandResult as Ig, stopSentinel as Ih, ProfileRichnessThresholds as Ii, VersionVerdict as Il, DelegateCodeArgs as Im, createScope as In, McpEndpoint as Io, envKeyProvider as Ip, graphFileSchema as Ir, sample as Is, AuthoredHarness as It, SuperviseRegistryTable as Iu, replaySpawnTree as Iv, HarnessTranscriptCapture as Ix, ParkedRun as Iy, AgentEnvironment$1 as J, startRuntimeRun as JS, McpToolAnnotations as J_, PrivateCasNamespaceObject as Ja, NodeExecutionIdentity as Jb, PersonaContext as Jc, FinalizeContext as Jd, CliWorktreeBridgeSeam as Jf, DecideGate as Jg, HarnessUsage as Jh, CheckSourceCtx as Ji, PursuitNodePlatform as Jl, DelegationResultPayload as Jm, cancelWorker as Jn, runBenchmark as Jo, SandboxUsageLedger as Jp, GraphSelection as Jr, sampleThenRefine as Js, NOTE_MAX_CHARS as Jt, createInMemoryRunContext as Ju, readRunCancelRequest as Jv, HarnessFileBinding as Jx, SpendGap as Jy, SuperviseProfileEntry as K, RuntimeRunRow as KS, JsonRpcMessage as K_, createS3PrivateCasStore as Ka, MaterializedExecutionIdentity as Kb, Outcome as Kc, composeReentryTask as Kd, CliInPlaceSeam as Kf, ToolOutcomeEvent as Kg, harnessUsageIsEmpty as Kh, CheckRunner as Ki, PursuitCostProvenance as Kl, DelegationHistoryEntry as Km, WorkerSteerRequest as Kn, Environment as Ko, mapSandboxToolEvent as Kp, GraphRunQuery as Kr, authorStrategy as Ks, readWorkerInteractiveBinding as Kt, RunContextLease as Ku, RunCancellation as Kv, BoundHarnessSession as Kx, Spend as Ky, GraphSubtaskPreparation as L, SandboxClient as LS, PeerMailRefusal as L_, openSandboxRun as La, ExecutorContext as Lb, VerifySpec as Lc, StopDecision as Ld, McpEventRecord as Lf, WorktreeHarnessResult as Lg, CodexForkBoundary as Lh, asAuthoredProfile as Li, assertPursuitVersions as Ll, DelegateCodeConfig as Lm, ScopeArgs as Ln, McpEnvironmentOptions as Lo, mcpSecretEnvMetadataKey as Lp, graphRouteWhenSchema as Lr, AuthorStrategyOptions as Ls, WorktreeFanoutOptions as Lt, SeatSegment as Lu, SpawnJournalCursor as Lv, HarnessTranscriptEvidence as Lx, RunParkedError as Ly, DriverRepromptRefusal as M, LoopWinner as MS, PeerMailEnvelope as M_, OpenSandboxRunOptions as Ma, ReservationStage as Mb, SteerContext as Mc, SupervisorProfile as Md, McpServer as Mf, RunAgentRoundsOptions as Mg, CompletionVerdict as Mh, chatWorkerSeam as Mi, PursuitVersionStop as Ml, DelegationTaskQueue as Mm, compileSearchSpec as Mn, buildSteerContext as Mo, BridgeModelCredential as Mp, createInPlaceCliExecutor as Mr, breadthStrategy as Ms, harvestSurfaceDiffs as Mt, AuthorizedSpawnContext as Mu, SpawnForestNode as Mv, StartRetainedInteractiveRunOptions as Mx, sanitizeKnowledgeReadinessReport as My, BlockedToolReport as N, MountManifestEntry as NS, PeerMailEvent as N_, OpenSandboxRunPromptOptions as Na, ReservationTicket as Nb, TrajectoryNode as Nc, AllWorkersStalledOptions as Nd, McpServerOptions as Nf, runAgentRounds as Ng, completionAuthorizes as Nh, createChatSessionStore as Ni, PursuitVersions as Nl, DelegationTaskQueueOptions as Nm, searchPresets as Nn, createScopeAnalyst as No, BridgeSeam as Np, GraphSessionObservationOptions as Nr, depthStrategy as Ns, AnalystAuthoring as Nt, SuperviseOptions as Nu, SpawnForestTree as Nv, HARNESS_TRANSCRIPT_SETTLE_TIMEOUT_MS as Nx, DeadlineCheckIn as Ny, DriverAttemptRecord as O, RetainedRunStartMaterial as OC, LoopTeardownFailedPayload as OS, MapTraversalEvent as O_, runStrategyEvolution as Oa, ReservationFloor as Ob, RenderCorpusToInstructionsOptions as Oc, SupervisorNodeContextSeed as Od, SpawnResourceRead as Of, WaterfallCollector as Og, verdictFromJudgeScore as Oh, ChatTransportExecutorOptions as Oi, JudgedPursuitVersion as Ol, DelegationResumeContext as Om, SearchSpec as On, widen as Oo, providerAsExecutor as Op, InteractiveWorkerOptions as Or, RunAgenticOptions as Os, SurfaceReader as Ot, superviseFleetCapabilities as Ou, SpawnForest as Ov, RetainedInteractiveAdmissionHook as Ox, SanitizedKnowledgeReadinessReport as Oy, CoordinationStats as P, MountRecorder as PS, PeerMailLimits as P_, SandboxRun as Pa, ReserveOptions as Pb, TrajectoryReport as Pc, NoProgressForOptions as Pd, createMcpServer as Pf, InPlaceHarnessResult as Pg, deterministicCompletion as Ph, AuthoredProfile as Pi, SettledPursuitVersion as Pl, SubmitInput as Pm, searchSpecDigest as Pn, registryScopeAnalyst as Po, KeyProvider as Pp, ObservedSessionFacts as Pr, refine as Ps, analystsFromRegistry as Pt, SuperviseTestOptions as Pu, loadSpawnForest as Pv, HarnessTranscriptArtifact as Px, WorkerSlots as Py, AgentEnvironmentQuery as Q, AgentEvalError$1 as QS, BusRecord as Q_, startRetainedRun as Qa, EnvironmentTeardownReceipt as Qb, ShapeBudget as Qc, CoordinationAuthentication as Qd, RouterToolsSeam as Qf, RouteFlow as Qg, CodeModeToolContext as Qh, StructuralRolloutPolicy as Qi, PursuitProjection as Ql, FeedbackRefersTo as Qm, readWorkerSteerRequests as Qn, SuperviseDispatchOptions as Qo, RouterTransportConfig as Qp, graphCorpusSummary as Qr, HarvestError as Qs, composeWorkerEvidence as Qt, RegisteredPrompt as Qu, ResultBlobStore as Qv, RetainedHarnessTranscriptCapture as Qx, NodeStatus as Qy, GraphSubtasks as R, SelectionReceipt as RS, PeerMailSendInput as R_, SandboxLineage as Ra, ExecutorFactory as Rb, Widen as Rc, StopRule as Rd, McpEventSource as Rf, WorktreeProfileMaterializationReceipt as Rg, CodexRolloutIdentity as Rh, assessAuthoredProfile as Ri, SuperviseGraphPursuitOptions as Rl, DelegateResearchArgs as Rm, TRACE_ROOT_SCHEMA as Rn, createMcpEnvironment as Ro, resolveMcpServerLaunch as Rp, GraphFileResolutionError as Rr, AuthoredStrategy as Rs, worktreeFanout as Rt, SeatSelection as Ru, SpawnJournalReadOptions as Rv, HarnessTranscriptFile as Rx, RunParkingPolicy as Ry, RuntimeStreamEvent as S, RetainedRunEnvironmentAdmission as SC, LoopLineageOptions as SS, DownMessageDeliveryOutcome as S_, EvolutionReport as Sa, WorkerEventEntry as Sb, LoopUntilState as Sc, ObserveSupervisorNodeEvent as Sd, DriverContractState as Sf, AnytimeTaskCurve as Sg, CheckVerdict as Sh, graphDesignerExtraTools as Si, readDeclaredCheck as Sl, createSiblingSandboxExecutor as Sm, validateStoredGraph as Sn, flatWidenGate as So, AgentEnvironmentProviderRegistry as Sp, pickBestProfile as Sr, AgenticRunResult as Ss, createVerifierEnvironment as St, GraphFromStoredOptions as Su, CodexTokenUsage as Sv, TeamProgress as Sx, loopEventToOtelSpan as Sy, RuntimeFailureOwner as T, RetainedRunIntentAdmission as TC, LoopResult as TS, MapItemFailurePolicy as T_, StrategyTournament as Ta, BudgetPoolRestore as Tb, PanelSpec as Tc, SupervisorAgentDeps as Td, ResolveSpawnResourcePathsResult as Tf, bestSoFar as Tg, ExecutorResultMapping as Th, delegate as Ti, IsolatedCheckOptions as Tl, runDetachedTurn as Tm, createFencedSqlRunContext as Tn, pipeline as To, ProviderExecutorOptions as Tp, recordProfileRun as Tr, AgenticTool as Ts, SurfaceDiff as Tt, PursuitFork as Tu, openSqlRunStore as Tv, readWorkerProgress as Tx, RuntimeStreamEventSink as Ty, SpawnPreflightContext as U, RuntimeRunHandle as US, isPeerMailEnvelope as U_, acquireSandbox as Ua, ExecutorExecutionBinding as Ub, DefinePersona as Uc, ReentryContinuity as Ud, createExecutorRegistry as Uf, LeadMessage as Ug, CodexStoreDelta as Uh, CheckExecChannel as Ui, supervisePursuit as Ul, DelegationError as Um, runToolSpans as Un, BenchmarkReport as Uo, SandboxToolPartState as Up, GraphCorpusGroup as Ur, StrategyResult as Us, WorkerInteractiveBinding as Ut, InMemoryRunContext as Uu, RunState as Uv, captureHarnessTranscript as Ux, BudgetViolation as Uy, SettledWorker as V, RuntimeRunCompleteInput as VS, claimsAuthority as V_, SandboxEvidenceReceipt as Va, AgentExecutionRef as Vb, WidenSpec as Vc, noProgressFor as Vd, DelegateResult as Vf, CoordinationEvent as Vg, CodexRolloutStoreRef as Vh, supervisorInstructions as Vi, SupervisedPursuitResult as Vl, DelegateUiAuditConfig as Vm, TraceSummary as Vn, BenchmarkConfig as Vo, SandboxLeafOut as Vp, LoadedGraphFile as Vr, StrategyArtifacts as Vs, createWorktreeCliExecutor as Vt, SelectSeat as Vu, readSpawnJournal as Vv, ReadableEnvironment as Vx, Budget as Vy, SpawnRefusal as W, RuntimeRunOptions as WS, peerMailTools as W_, S3PrivateCasStore as Wa, ExecutorMaterialization as Wb, DefinePersonaInput as Wc, ReentryTaskInput as Wd, ExecutorConfig as Wf, ManagerReentryState as Wg, addHarnessUsage as Wh, CheckOutcome as Wi, RunReopen as Wl, DelegationFeedbackSnapshot as Wm, WorkerCancellation as Wn, BenchmarkStrategySummary as Wo, createSandboxToolPartState as Wp, GraphCorpusSummary as Wr, adaptiveRefine as Ws, WorkerInteractiveProviderSource as Wt, InMemoryRunContextOptions as Wu, readRunState as Wv, harnessTranscriptArtifact as Wx, ResourceLimit as Wy, AgentEnvironmentEvent$1 as X, Redactor as XS, McpTransport as X_, reconnectRetainedRun as Xa, RootMaterialization as Xb, RunPersonified as Xc, SupervisorFinalizer as Xd, ProviderSeam as Xf, GateRequest as Xg, CodeModeStore as Xh, StructuralRolloutConfig as Xi, PursuitNodeTiming as Xl, DelegationStatusResult as Xm, readWorkerCancellation as Xn, LoopDispatchOptions as Xo, sumSandboxUsage as Xp, StoredGraphInput as Xr, strategyAuthorSystemPrompt as Xs, WorkerEvidenceInput as Xt, PromptHandle as Xu, InMemoryResultBlobStore as Xv, HarnessTranscriptReadLimits as Xx, NodeId as Xy, AgentEnvironmentCapabilities$1 as Y, contentAddress as YS, McpToolDescriptor as Y_, PrivateCasNamespaceRetirement as Ya, ProfileMaterializationReceipt as Yb, PersonaExecutors as Yc, FinalizerSettled as Yd, CliWorktreeSeam as Yf, GateDecision as Yg, decodeHarnessUsage as Yh, RepairStop as Yi, PursuitNodeProjection as Yl, DelegationStatus as Ym, legacySupervisorRunDir as Yn, LoopCampaignDispatchOptions as Yo, extractLlmCallEvent as Yp, StoredGraph as Yr, strategyAuthorContract as Ys, VERIFY_TAIL_CHARS as Yt, withRunContext as Yu, readRunCancellation as Yv, HarnessTranscriptMetadata as Yx, Handle as Yy, AgentEnvironmentProvider$1 as Z, defaultRedactor as ZS, BusEvent as Z_, recoverRetainedRun as Za, UnknownMaterializationReason as Zb, RunPersonifiedOptions as Zc, bestDelivered as Zd, RouterSeam as Zf, JsonScalar as Zg, CodeModeTool as Zh, StructuralRolloutMessage as Zi, PursuitNodeUsage as Zl, FeedbackRating as Zm, readWorkerSteerAcknowledgement as Zn, LoopOptionsForDispatch as Zo, RouterResponseReceipt as Zp, digestOfGraph as Zr, HarvestCorpusOptions as Zs, closingWorkerNote as Zt, PromptRegistry as Zu, InMemorySpawnJournal as Zv, HarnessTranscriptReadOptions as Zx, NodeSnapshot as Zy, RunAgentTaskOptions as _, RetainedRunAdmissionHook as _C, LoopDecisionPayload as _S, AuthorizedDownMessage as __, CollectedAgentTurn as _a, ResumedWork as _b, EqualKVerdict as _c, supervisorAgentWithTestBrain as _d, ContinuationPolicy as _f, renderLeaderboardMarkdown as _g, FileDelegationStore as _h, queueOf as _i, assertDeclaredCheck as _l, DelegationExecutor as _m, parseWorkerToolTraceArtifact as _n, runPersonified as _o, sharedBoxPlacement as _p, provisionSupervisor as _r, StdioMcpConnection as _s, SandboxInstance$1 as _t, RunGraphTestOptions as _u, LocalHarnessResult as _v, ActivityLog as _x, OtelExportStats as _y, AgentKnowledgeProvider as a, NativeContextContinuationExecution as aC, ProviderWorkspaceCaptureReceipt as aS, Question as a_, defaultStructuralRolloutPolicy as aa, SubtreeSummary as ab, ObserveInput as ac, kernelPromptRegistry as ad, CoordinationHttpAudit as af, GroupOf as ag, UiLens as ah, lookupGraph as ai, LeaderboardBenchTask as al, ToolLoopMessageRecord as am, GitWorkspaceOptions as an, ResolveSandboxClientOptions as ao, AuthorityInboxMessage as ap, RemoteSupervisorCancelResult as ar, TerminalDecision as as, AgentTurnResult$2 as at, ObserverRecord as au, watchTrace as av, HeldEnvironment as ax, RootSegment as ay, RuntimeSession as b, RetainedRunDispatchedAdmission as bC, LoopIterationEndedPayload as bS, DownMessageAuthorizationInput as b_, streamAgentTurn as ba, WidenGate as bb, FanoutWinnerSelector as bc, DriveHarness as bd, VerdictSummary as bf, AnytimeReport as bg, CoderTask as bh, DesignerToolsEnv as bi, declaredCheckDigest as bl, SiblingSandboxExecutorOptions as bm, createRootHandle as bn, renderCorpusToInstructions as bo, sharedWorkerClientName as bp, bestProfileFor as br, materializeLocalMcp as bs, makeFinding$1 as bt, runGraphWithTestBrain as bu, LOCAL_HARNESSES as bv, ExecutorProgress as bx, buildLoopOtelSpans as by, AgentTaskContext as c, ReconnectRetainedRunOptions as cC, ExecutorProgressEvent as cS, QuestionEscalationRecord as c_, officialChecksFromMeta as ca, NoWinnerError as cb, observe as cc, SupervisorSpanAttributes as cd, CoordinationLog as cf, LeaderboardOptions as cg, ResearchOutput as ch, recordStoredGraphRun as ci, LeaderboardIterationInfo as cl, FeedbackStore as cm, WorkspaceCommit as cn, profileOptimizerModelCall as co, InboxMessage as cp, RemoteSupervisorSteerResult as cr, InProcessOnPrompt as cs, CheckpointRequest as ct, AgentGraph as cu, AnalystKind as cv, Runtime as cx, SteerableRootHandle as cy, AgentTaskStatus as d, RecoverRetainedRunResult as dC, UsageEvent as dS, QuestionOption as d_, selectBestIndex as da, RootProviderModelEvidence as db, CombinatorShape as dc, SupervisorSpanRecorder as dd, CheckRead as df, PairwiseVerdict as dg, ResearcherProfileOptions as dh, GraphTriggerBinding as di, LeaderboardScore as dl, CoderReviewer as dm, jjWorkspace as dn, PrivateCasOffloadReport as do, DEFAULT_SHARED_BOX_WORKERS as dp, connectRemoteSupervisor as dr, inProcessSandboxClient as ds, ExecRequest as dt, GraphEdge as du, AnalystRunContext as dv, WorkerTraceEvidence as dx, WorkerTraceResolver as dy, BackendTransportError as eC, readBoundHarnessSessions as eS, RouteGate as e_, VisibleCheck as ea, Settled as eb, HarvestReport as ec, createPromptRegistry as ed, CoordinationMcpHandle as ef, CodeModeToolset as eg, UiAuditLensFilter as eh, graphFromStored as ei, ShapeRegistry as el, ToolSpec as em, spendFromUsageEvents as en, ClaimRetainedInteractiveControlOptions as eo, DEFAULT_SANDBOX_STEERING_MAX_TURNS as ep, supervisorRunDir as er, loopCampaignDispatch as es, AgentEnvironmentSummary as et, PursuitRunTotals as eu, EventBus as ev, ExecutorAccounting as ex, SpawnJournal as ey, BackendErrorDetail as f, RetainedInteractiveAdmission as fC, AgentRunSpec as fS, QuestionPolicy as f_, structuralRollout as fa, RootStreamReceipt as fb, Corpus as fc, createSupervisorSpanRecorder as fd, ContinuationAppend as ff, ProfileKeyOf as fg, researcherProfile as fh, DispatchReport as fi, LeaderboardSpec as fl, DelegateRunCtx as fm, localShell as fn, PrivateCasOptions as fo, SharedBoxCloseReceipt as fp, connectRemoteSupervisorControl as fr, HttpMcpServerSpec as fs, ExecResult as ft, GraphEdgeCapError as fu, AnalyzeOnSettleRoute as fv, WorkerTraceUnavailableReason as fx, TraceContext as fy, OpenAIChatToolChoice as g, RetainedRunAdmission as gC, Iteration as gS, AuthorizeDownMessage as g_, AgentTurnUsage as ga, ResumedKeyState as gb, EqualKOnCostOptions as gc, supervisorAgent as gd, ContinuationPanelResult as gf, renderLeaderboardHtml as gg, DelegationStore as gh, freeSlots as gi, DeclaredCheckStateCapture as gl, detachedSessionDelegate as gm, WorkerToolTraceArtifact as gn, definePersona as go, SharedWorkerIdentity as gp, SupervisorCleanupReceipt as gr, McpSpawnFault as gs, SandboxEvent$1 as gt, RunGraphOptions as gu, CodexExecutionEvidence as gv, createPushTraceSource as gx, OtelExportConfig as gy, OpenAIChatTool as h, RetainedInteractiveStartedAdmission as hC, ExecCtx as hS, questionEscalationTargets as h_, AgentTurnInput$1 as ha, ReenteredWorkers as hb, EqualKArm as hc, readRootStreamReceipt as hd, ContinuationPanelInput as hf, pairwiseSignificance as hg, DelegationPersistenceError as hh, RollingDispatchOptions as hi, DeclaredCheckPlacement as hl, UiAuditorDelegate as hm, analyzeTrace as hn, trajectoryReport as ho, SharedBoxStats as hp, ProvisionedSupervisor as hr, McpListedTool as hs, ResourceRequest as ht, GraphTopology as hu, DefinedAnalystRecord as hv, TraceSource as hx, OtelAttribute as hy, AgentExecutionBackend as i, ValidationError as iC, ProviderWorkspaceCaptureProvenance as iS, EscalateQuestion as i_, defaultExtractCandidate as ia, SubtreeResult as ib, ObservationError as ic, formatPromptHandle as id, serveCoordinationMcp as if, AxisScoresOf as ig, UiFindingSeverity as ih, loadGraph as ii, LeaderboardBenchScore as il, ToolLoopCompactionOptions as im, withUntrackedArtifacts as in, startRetainedInteractiveRun as io, createSteerableSandboxSession as ip, RemoteSupervisorAgent as ir, TERMINAL_DECISIONS as is, AgentSessionStatus$1 as it, ObserverJournal as iu, defaultToolDetectors as iv, ExecutorTeardownWarning as ix, RootHandle as iy, DriverFailureClass as j, StartRetainedRunOptions as jC, LoopTraceEvent as jS, PEER_MAIL_WIRE_KEY as j_, OpenSandboxRunBeforeStartContext as ja, ReservationShortfall as jb, ScopeWidenGate as jc, ManagerWakePolicy as jd, resolveSpawnResourcePaths as jf, createWaterfallCollector as jg, CompletionPolicy as jh, chatTransportExecutor as ji, PursuitVersionChain as jl, DelegationRunContext as jm, assertSearchSpec as jn, assertTraceDerivedFindings as jo, BridgeHarnessStore as jp, InPlaceCliExecutorOptions as jr, SurfaceScore as js, fsSurfaceReader as jt, AuthorizedSpawn as ju, SpawnForestMissingTree as jv, RetainedInteractiveStartMaterial as jx, createRuntimeStreamEventCollector as jy, DriverAttemptStop as k, RetainedRunTurnInput as kC, LoopTokenUsage as kS, AUTHORITY_MARKERS as k_, strategyTournament as ka, ReservationHolder as kb, ScopeAnalyst as kc, SupervisorToolDescriptor as kd, SpawnResourceReader as kf, WaterfallReport as kg, CompletionAnalyst as kh, ChatTransportTool as ki, NextPursuitVersion as kl, DelegationResumeDriver as km, SearchSpecInputs as kn, CreateScopeAnalystOptions as ko, UnavailablePausePolicy as kp, InteractiveWorkerResult as kr, StrategyMessage as ks, WatchedSurface as kt, superviseWithTestBrain as ku, SpawnForestEvent as kv, RetainedInteractiveEnvironmentInput as kx, SanitizedKnowledgeRequirement as ky, AgentTaskRunResult as l, RecoverRetainedRunIntentOptions as lC, ExecutorToolCall as lS, QuestionEscalationTarget as l_, resolveEntrySymbol as la, ProviderModelAttemptEvidence as lb, renderReport as lc, SupervisorSpanOptions as ld, FileCoordinationLog as lf, LeaderboardRow as lg, ResearchSource as lh, storedGraphDigests as li, LeaderboardRunContext as ll, CoderDelegate as lm, WorkspaceRun as ln, PrivateCasArtifactPort as lo, PeerInboxMessage as lp, RemoteSupervisorTree as lr, InProcessPromptCtx as ls, CreateAgentEnvironmentInput$1 as lt, EdgeDeliveryOutcome as lu, AnalystLensOutput as lv, WorkerInteractiveSession as lx, Supervisor as ly, OpenAIChatResponseFormat as m, RetainedInteractiveIntentAdmission as mC, Driver as mS, QuestionUrgency as m_, AgentTurnBackend as ma, Agent as mb, CorpusRecord as mc, readRootStream as md, ContinuationPanel as mf, leaderboard as mg, composeLoopTraceEmitters as mh, DispatchUnit as mi, DeclaredCheck as ml, DetachedWinnerSelection as mm, TrajectoryAnalysis as mn, equalKOnCost as mo, SharedBoxPlacementOptions as mp, ProvisionSupervisorRequest as mr, MaterializeLocalMcpOptions as ms, PlacementInfo as mt, GraphResult as mu, AuthoredAnalystLimits as mv, ToolStepInput as mx, readTraceContextFromEnv as my, AgentBackendContext as n, JudgeError as nC, retainHarnessTranscript as nS, RouteWhen as n_, compareCheckOutcomes as na, SpawnPrior as nb, Observation as nc, dumbContinuationFailPrompt as nd, CoordinationReadAccess as nf, createCodeModeTools as ng, UiFinding as nh, graphRunsFor as ni, providerAsSandboxClient as nl, ToolLoopChat as nm, UntrackedCopyStats as nn, reconnectRetainedInteractiveRun as no, SteerableSandboxArgs as np, workerInboxFileFromEventDir as nr, superviseDispatch as ns, AgentSession as nt, projectPursuit as nu, createEventBus as nv, ExecutorCancellationRequest as nx, WorkspaceCheckpointMarker as ny, AgentRuntimeEvent as o, NativeContextContinuationHandle as oC, ProviderWorkspaceCaptureResult as oS, QuestionDecision as o_, filterAuthoredAsserts as oa, TreeView as ob, ObserveOptions as oc, naiveContinuationPrompt as od, CoordinationRejectReason as of, Interval as og, KnowledgeItem as oh, pickBestGraph as oi, LeaderboardBenchmarkAdapter as ol, ToolLoopToolCall as om, Shell as on, resolveSandboxClient as oo, Inbox as op, RemoteSupervisorControl as or, defaultSelectWinner as os, AnalystFinding$1 as ot, ObserverRecordKind as ou, AnalystAssignmentRecord as ov, HeldForContinuation as ox, RootSegmentEntry as oy, KnowledgeReadinessDecision as p, RetainedInteractiveEnvironmentAdmission as pC, DefaultVerdict$2 as pS, QuestionRecord as p_, visibleCheckScore as pa, SupervisedResult as pb, CorpusFilter as pc, RootStreamRecord as pd, ContinuationEntry as pf, ScoreOf as pg, DelegationTraceSpan as ph, DispatchStopReason as pi, defineLeaderboard as pl, DetachedSessionDelegateOptions as pm, runInWorkspace as pn, createPrivateCasArtifactPort as po, SharedBoxPlacement as pp, ProvisionSupervisorConnection as pr, LocalMcpMaterialization as ps, ForkRequest as pt, GraphNode as pu, AuthoredAnalystDefinition as pv, SessionMessageLike as px, createPropagatingTraceEmitter as py, WorkerSpawnContext as q, RuntimeRunStatus as qS, JsonRpcResponse as q_, PrivateCasNamespaceInventory as qa, MaterializedModelIdentity as qb, Persona as qc, DeliveredOutput as qd, CliSeam as qf, WorkerWatchOptions as qg, readCodexRolloutSession as qh, CheckSource as qi, PursuitNodeCost as ql, DelegationProgress as qm, WriteWorkerSteerOptions as qn, printBenchmarkReport as qo, SandboxServedBackend as qp, GraphRunRecord as qr, defineStrategy as qs, EVIDENCE_MAX_CHARS as qt, createFileRunContext as qu, cancelRun as qv, HARNESS_TRANSCRIPT_READ_LIMITS as qx, SpendChannel as qy, AgentBackendInput as r, NotFoundError as rC, ProviderWorkspaceAttemptProvenance as rS, ChildQuestionInbox as r_, composeCheckSources as ra, SpawnRejection as rb, ObservationAnalysis as rc, dumbContinuationPassPrompt as rd, CoordinationTransportOptions as rf, runCodeMode as rg, UiFindingScreenshot as rh, listGraphRuns as ri, DefinedLeaderboard as rl, ToolLoopCompaction as rm, copyUntrackedIntoClone as rn, recoverRetainedInteractiveRun as ro, SteerableSandboxSession as rp, writeWorkerSteer as rr, LocalSandboxClientOptions as rs, AgentSessionRef as rt, FileObserverJournal as ru, WatchTraceOptions as rv, ExecutorResult as rx, RecursiveReservationPolicy as ry, AgentRuntimeEventSink as s, NativeContextContinuationInput as sC, ProviderWorkspaceEntryMetadata as sS, QuestionEscalationOutcome as s_, modelAuthoredChecks as sa, FleetYield as sb, defaultAnalystInstruction as sc, promptHandle as sd, CoordinationDeliveryEvidence as sf, Leaderboard as sg, KnowledgeUpdate as sh, recordGraphRun as si, LeaderboardFlagSpec as sl, FeedbackEvent as sm, Workspace as sn, profileChatClient as so, InboxLease as sp, RemoteSupervisorReader as sr, inlineSandboxClient as ss, CheckpointRef as st, observerRecordDigest as su, AnalystFindingEvent as sv, HeldRelease as sx, RootSignal as sy, AgentAdapter as t, ConfigError as tC, resolveHarnessTranscriptCapture as tS, RouteMatch as t_, canDisplace as ta, SpawnOpts as tb, harvestCorpus as tc, delegatesWorkerBriefPrompt as td, CoordinationPublicAddress as tf, RunCodeModeOptions as tg, UiAuditorDelegationOutput as th, graphRegistry as ti, ProviderAsSandboxClientOptions as tl, ToolLoopCallContext as tm, CopyOptions as tn, claimRetainedInteractiveControl as to, SandboxSteeringOptions as tp, supervisorRunsRoot as tr, loopDispatch as ts, AgentProfile$2 as tt, PursuitStatus as tu, PublishOptions as tv, ExecutorCancellation as tx, TraceRootReceipt as ty, AgentTaskSpec as u, RecoverRetainedRunOptions as uC, TokenUsageProvenance as uS, QuestionLevel as u_, sandboxCheckRunner as ua, ProviderModelExecutionEvidence as ub, AssertTraceDerivedFindings as uc, SupervisorSpanOutcome as ud, PriorCoordination as uf, PairwiseOptions as ug, ResearchTask as uh, taskShapeDigest as ui, LeaderboardScenario as ul, CoderReview as um, gitWorkspace as un, PrivateCasDurableStore as uo, DEFAULT_SHARED_BOX_RESOURCES as up, RemoteWorkerEvents as ur, InProcessSandboxClientOptions as us, CreateSandboxOptions$1 as ut, EdgeTraversal as uu, AnalystRegistry$1 as uv, WorkerInteractiveUnavailableReason as ux, SupervisorOpts as uy, RunAgentTaskStreamOptions as v, RetainedRunCancelOptions as vC, LoopEndedPayload as vS, ContinuationInstruction as v_, StreamAgentTurnOptions as va, Scope as vb, FanoutOptions as vc, CoordinationToolFace as vd, ContinuationProfile as vf, renderLeaderboardSvg as vg, FileDelegationStoreOptions as vh, rollingDispatch as vi, checkProgramDigest as vl, FleetHandle as vm, DEFAULT_MAX_DEPTH as vn, FileCorpus as vo, ROUTER_CLIENT_HEADER as vp, ProfileRegistryDir as vr, StdioMcpServerSpec as vs, WorkspaceRequest as vt, TraversalContinuity as vu, RunLocalHarnessOptions as vv, ActivityNote as vx, OtelExporter as vy, RuntimeFailureCode as w, RetainedRunHandle as wC, LoopPlanPayload as wS, WorkerResumeContext as w_, StrategyEvolutionConfig as wa, BudgetPool as wb, PanelJudge as wc, ResolveSupervisorTools as wd, DriverRetryPolicy as wf, areaUnderCurve as wg, DeliverableSpec as wh, defaultDelegateBudget as wi, IsolatedCheckBoxEvidence as wl, RunDetachedTurnOptions as wm, SqlRunContextOptions as wn, panel as wo, resolveAgentEnvironmentProvider as wp, profileRunsForName as wr, AgenticTask as ws, HarvestSurfaceDiffsOptions as wt, GraphRouteError as wu, SqlRunOwnershipError as wv, createActivityLog as wx, RuntimeStreamEventCollector as wy, RuntimeSessionStore as x, RetainedRunEffect as xC, LoopIterationStartedPayload as xS, DownMessageDeliveryAttempt as x_, EvolutionAuthor as xa, WorkerEventCursor as xb, LoopUntilSpec as xc, DriveHarnessOwnerContext as xd, admitContinuationPolicy as xf, AnytimeStrategySummary as xg, CheckUnavailableError as xh, GraphDesignerExtraTools as xi, declaredCheckJudge as xl, createFleetWorkspaceExecutor as xm, ValidateStoredGraphOptions as xn, fanout as xo, AgentEnvironmentProviderRef as xp, loadProfile as xr, AgenticOptions as xs, VerifierEnvironmentOptions as xt, GraphCommandCheck as xu, LocalHarness as xv, ScopeProgressInput as xx, createOtelExporter as xy, RuntimeCanonicalStreamEvent as y, RetainedRunCancellation as yC, LoopIterationDispatchPayload as yS, ContinuityMode as y_, collectAgentTurn as ya, UnconfirmedTeardown as yb, FanoutSynthesis as yc, CoordinationVerbs as yd, PanelFinding as yf, renderPairwiseMarkdown as yg, CoderOutput as yh, DesignerRunGraphEnv as yi, declaredCheckDeliverable as yl, FleetWorkspaceExecutorOptions as ym, createSupervisor as yn, InMemoryCorpus as yo, sharedBoxRefusal as yp, ProfileRunRecord as yr, connectStdioMcp as ys, computeFindingId$1 as yt, runGraph as yu, runLocalHarness as yv, DEFAULT_STALL_AFTER_MS as yx, OtelSpan as yy, MakeWorkerAgent as z, ValidationCtx as zS, PeerMailbox as z_, SandboxLineageHandle as za, ExecutorRegistry as zb, WidenDecision as zc, allWorkersStalled as zd, DelegateError as zf, GitRunner as zg, CodexRolloutSession as zh, defaultProfileRichnessThresholds as zi, SupervisePursuitError as zl, DelegateResearchConfig as zm, TRACE_SUMMARY_SCHEMA as zn, sanitizeMcpToolSchema as zo, resolveSecretEnv as zp, GraphFileSeat as zr, ShotSpec as zs, WorktreeCliExecutorOptions as zt, SeatSelectionInput as zu, SpawnJournalReadRecord as zv, HarnessTranscriptUnavailable as zx, RunParkingRecord as zy };
19576
+ //# sourceMappingURL=types-niKnm6ux.d.ts.map