@agentskit/harness 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/capabilities/public-surface.json +105 -84
- package/dist/cli.js +353 -64
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +192 -56
- package/dist/index.js +325 -76
- package/dist/index.js.map +1 -1
- package/docs/ADR-0003-doc-bridge-context-binding.md +10 -3
- package/docs/ADR-0031-loop-observability.md +36 -0
- package/docs/LOOP.md +7 -0
- package/docs/MODULE-BOUNDARIES.md +1 -0
- package/loop.config.example.yaml +1 -1
- package/package.json +2 -2
- package/release/manifest.json +2 -2
- package/release/notes.md +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -734,6 +734,9 @@ declare const validateCapabilityManifest: (value: unknown) => CapabilityManifest
|
|
|
734
734
|
interface DocBridgeContextProviderOptions {
|
|
735
735
|
readonly root: string;
|
|
736
736
|
readonly indexPath?: string;
|
|
737
|
+
/** Reject indexes older than this many hours; 0 or undefined disables the age guard. */
|
|
738
|
+
readonly maxAgeHours?: number;
|
|
739
|
+
readonly now?: () => number;
|
|
737
740
|
}
|
|
738
741
|
interface DocBridgeIndexInspection {
|
|
739
742
|
readonly present: boolean;
|
|
@@ -745,7 +748,7 @@ interface DocBridgeIndexInspection {
|
|
|
745
748
|
}
|
|
746
749
|
/** Read-only inspection for doctor freshness checks (no network, no rebuild). */
|
|
747
750
|
declare const inspectDocBridgeIndex: (root: string, indexPath?: string, now?: number) => DocBridgeIndexInspection;
|
|
748
|
-
declare const createDocBridgeContextProvider: ({ root, indexPath }: DocBridgeContextProviderOptions) => ContextProvider;
|
|
751
|
+
declare const createDocBridgeContextProvider: ({ root, indexPath, maxAgeHours, now }: DocBridgeContextProviderOptions) => ContextProvider;
|
|
749
752
|
|
|
750
753
|
interface CommandResult {
|
|
751
754
|
readonly code: number | null;
|
|
@@ -2751,6 +2754,7 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2751
2754
|
"artificial-analysis": "artificial-analysis";
|
|
2752
2755
|
builtin: "builtin";
|
|
2753
2756
|
}>>>;
|
|
2757
|
+
cliCacheHours: z.ZodDefault<z.ZodNumber>;
|
|
2754
2758
|
artificialAnalysis: z.ZodPrefault<z.ZodObject<{
|
|
2755
2759
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2756
2760
|
apiKeyEnv: z.ZodDefault<z.ZodString>;
|
|
@@ -3153,6 +3157,17 @@ declare const resolveAlias: (provider: string, modelId: string, aliases?: Readon
|
|
|
3153
3157
|
/** Parse `grok models` human output into model ids. */
|
|
3154
3158
|
declare const parseGrokModelsOutput: (stdout: string) => readonly string[];
|
|
3155
3159
|
declare const listCliModels: (provider: string, bin: string, runner: CommandRunner, timeoutMs?: number) => Promise<readonly string[]>;
|
|
3160
|
+
declare const readCliModelsCache: (stateDir: string, provider: string) => {
|
|
3161
|
+
readonly fetchedAt: string;
|
|
3162
|
+
readonly ids: readonly string[];
|
|
3163
|
+
} | null;
|
|
3164
|
+
declare const writeCliModelsCache: (stateDir: string, provider: string, ids: readonly string[], now?: Date) => void;
|
|
3165
|
+
/**
|
|
3166
|
+
* `listCliModels`, but cached for `cacheHours` (like `readAaCache`/`writeAaCache` below): a provider's CLI model
|
|
3167
|
+
* list barely changes between releases, so spawning the CLI (e.g. `grok models`) on every tick/deliver run for
|
|
3168
|
+
* every role that needs it is wasted subprocess time — cache once, reuse until stale.
|
|
3169
|
+
*/
|
|
3170
|
+
declare const listCliModelsCached: (provider: string, bin: string, runner: CommandRunner, stateDir: string, cacheHours: number, now?: () => Date) => Promise<readonly string[]>;
|
|
3156
3171
|
interface ArtificialAnalysisModel {
|
|
3157
3172
|
readonly slug: string;
|
|
3158
3173
|
readonly name: string;
|
|
@@ -3753,7 +3768,7 @@ declare const dispatchRecordPath: (stateDir: string, identifier: string) => stri
|
|
|
3753
3768
|
declare const briefPath: (stateDir: string, identifier: string) => string;
|
|
3754
3769
|
declare const readDispatchRecord: (stateDir: string, identifier: string) => DispatchRecordFile | null;
|
|
3755
3770
|
declare const writeDispatchRecord: (stateDir: string, record: DispatchRecordFile) => string;
|
|
3756
|
-
declare const appendLoopEvent: (stateDir: string, event: Record<string, unknown>, bus?: LoopEventBus) => void;
|
|
3771
|
+
declare const appendLoopEvent: (stateDir: string, event: Record<string, unknown>, bus?: LoopEventBus, now?: () => Date) => void;
|
|
3757
3772
|
interface LoopState {
|
|
3758
3773
|
readonly person: string;
|
|
3759
3774
|
readonly providers: readonly ProviderAvailability[];
|
|
@@ -3764,6 +3779,8 @@ interface LoopState {
|
|
|
3764
3779
|
readonly leases: readonly DispatchLease[];
|
|
3765
3780
|
readonly busy: ReadonlySet<string>;
|
|
3766
3781
|
readonly candidates: readonly LoopIssue[];
|
|
3782
|
+
/** Catalog-discovered candidates per role (`models.routing.mode: catalog`), already resolved for `routing` above — reused by `runTick` for `generateContract`'s candidate fallback so it isn't resolved twice per tick. */
|
|
3783
|
+
readonly extrasByRole: Partial<Record<ModelRole, readonly ModelReference[]>>;
|
|
3767
3784
|
}
|
|
3768
3785
|
declare const gatherLoopState: (input: {
|
|
3769
3786
|
readonly loaded: LoadedLoopConfig;
|
|
@@ -3909,7 +3926,7 @@ interface DeliverInput {
|
|
|
3909
3926
|
}
|
|
3910
3927
|
declare const deliveryStatePath: (stateDir: string, identifier: string) => string;
|
|
3911
3928
|
declare const readDeliveryState: (stateDir: string, identifier: string) => DeliveryState;
|
|
3912
|
-
/** Every issue the loop dispatched
|
|
3929
|
+
/** Every issue the loop ever dispatched (finished or not) — callers that only care about in-flight work must filter on `readDeliveryState(...).finishedAt` themselves. */
|
|
3913
3930
|
declare const listDispatched: (stateDir: string) => readonly DispatchRecordFile[];
|
|
3914
3931
|
declare const precheckDeliver: (stateDir: string) => {
|
|
3915
3932
|
readonly work: boolean;
|
|
@@ -3987,9 +4004,16 @@ declare const parseAutomationRuns: (result: unknown) => readonly {
|
|
|
3987
4004
|
declare const loopStatus: (input: Pick<InstallInput, "configPath" | "loaded" | "runner">) => Promise<LoopStatusReport>;
|
|
3988
4005
|
|
|
3989
4006
|
declare const rotationStatePath: (stateDir: string) => string;
|
|
4007
|
+
/**
|
|
4008
|
+
* A lease protects the issue identity, but delivery work must not stop the
|
|
4009
|
+
* queue from moving on to independent work. Only leases with no delivery
|
|
4010
|
+
* state yet represent an implementation worker that should hold rotation.
|
|
4011
|
+
* Missing or invalid state stays fail-closed and remains blocking.
|
|
4012
|
+
*/
|
|
4013
|
+
declare const countRotationBlockingLeases: (loaded: LoadedLoopConfig, leases: readonly DispatchLease[]) => number;
|
|
3990
4014
|
/** Effective owner for this machine; without rotation the versioned config remains authoritative. */
|
|
3991
4015
|
declare const queueOwner: (loaded: LoadedLoopConfig) => string;
|
|
3992
|
-
/** Advance once, only after the current owner has no dispatchable work and no active lease. */
|
|
4016
|
+
/** Advance once, only after the current owner has no dispatchable work and no active implementation lease. */
|
|
3993
4017
|
declare const advanceQueueOwner: (loaded: LoadedLoopConfig, input: {
|
|
3994
4018
|
readonly queueEmpty: boolean;
|
|
3995
4019
|
readonly activeLeases: number;
|
|
@@ -4175,56 +4199,6 @@ interface DebriefReport {
|
|
|
4175
4199
|
declare const buildDebriefReport: (input: DebriefInput) => DebriefReport;
|
|
4176
4200
|
declare const renderDebriefMarkdown: (report: DebriefReport) => string;
|
|
4177
4201
|
|
|
4178
|
-
type WatchEventKind = 'DONE' | 'FAILED' | 'ACTION_REQUIRED' | 'PROGRESS';
|
|
4179
|
-
interface WatchEvent {
|
|
4180
|
-
readonly kind: WatchEventKind;
|
|
4181
|
-
readonly issue: string;
|
|
4182
|
-
readonly message: string;
|
|
4183
|
-
readonly phase: string;
|
|
4184
|
-
readonly pr: number | null;
|
|
4185
|
-
readonly finalOutcome: DeliverOutcome | null;
|
|
4186
|
-
readonly at: string;
|
|
4187
|
-
}
|
|
4188
|
-
interface WatchTargetSnapshot {
|
|
4189
|
-
readonly issue: string;
|
|
4190
|
-
readonly phase: string;
|
|
4191
|
-
readonly signature: string;
|
|
4192
|
-
readonly delivery: DeliveryState;
|
|
4193
|
-
readonly dispatch: DispatchRecordFile | null;
|
|
4194
|
-
readonly pr: PullRequestSnapshot | null;
|
|
4195
|
-
}
|
|
4196
|
-
interface WatchInput {
|
|
4197
|
-
readonly configPath?: string;
|
|
4198
|
-
readonly loaded?: LoadedLoopConfig;
|
|
4199
|
-
readonly runner?: CommandRunner;
|
|
4200
|
-
readonly issue?: string;
|
|
4201
|
-
readonly intervalMs?: number;
|
|
4202
|
-
readonly once?: boolean;
|
|
4203
|
-
readonly timeoutMs?: number;
|
|
4204
|
-
readonly livePr?: boolean;
|
|
4205
|
-
readonly now?: () => Date;
|
|
4206
|
-
readonly sleep?: (ms: number) => Promise<void>;
|
|
4207
|
-
readonly onEvent?: (event: WatchEvent) => void;
|
|
4208
|
-
}
|
|
4209
|
-
declare const classifyWatchPhase: (delivery: DeliveryState, pr: PullRequestSnapshot | null) => string;
|
|
4210
|
-
declare const classifyWatchEvent: (phase: string, delivery: DeliveryState, pr: PullRequestSnapshot | null, at: string, issue: string) => WatchEvent;
|
|
4211
|
-
declare const snapshotWatchTargets: (input: {
|
|
4212
|
-
readonly loaded: LoadedLoopConfig;
|
|
4213
|
-
readonly runner?: CommandRunner;
|
|
4214
|
-
readonly issue?: string;
|
|
4215
|
-
readonly livePr?: boolean;
|
|
4216
|
-
readonly now?: () => Date;
|
|
4217
|
-
}) => Promise<readonly WatchTargetSnapshot[]>;
|
|
4218
|
-
interface WatchReport {
|
|
4219
|
-
readonly status: 'done' | 'failed' | 'waiting' | 'action-required';
|
|
4220
|
-
readonly generatedAt: string;
|
|
4221
|
-
readonly events: readonly WatchEvent[];
|
|
4222
|
-
readonly targets: readonly WatchTargetSnapshot[];
|
|
4223
|
-
}
|
|
4224
|
-
/** Poll delivery state (and optionally live PRs). Emits DONE / FAILED / ACTION_REQUIRED / PROGRESS. Read-only. */
|
|
4225
|
-
declare const watchDeliveries: (input: WatchInput) => Promise<WatchReport>;
|
|
4226
|
-
declare const formatWatchEvent: (event: WatchEvent) => string;
|
|
4227
|
-
|
|
4228
4202
|
interface LoopEvent {
|
|
4229
4203
|
readonly at: string;
|
|
4230
4204
|
readonly type: string;
|
|
@@ -4319,7 +4293,11 @@ interface RetroReport {
|
|
|
4319
4293
|
readonly suggestions: readonly RetroSuggestion[];
|
|
4320
4294
|
readonly digest: string;
|
|
4321
4295
|
}
|
|
4322
|
-
|
|
4296
|
+
/** `sinceMs`, when given, skips a rotated archive whose rotation time is older than the window — every event in
|
|
4297
|
+
* that file was written before its own rotation, so if the rotation itself predates `sinceMs` nothing inside can
|
|
4298
|
+
* be in range (see `appendLoopEvent` in tick.ts for the rotation side). Omit `sinceMs` to read everything, exactly
|
|
4299
|
+
* as before archives existed. */
|
|
4300
|
+
declare const readLoopEvents: (stateDir: string, sinceMs?: number) => readonly LoopEvent[];
|
|
4323
4301
|
declare const parseSince: (value: string | undefined, now: Date) => Date;
|
|
4324
4302
|
/** Collapse an escalation reason to its head phrase so identical shapes group together. */
|
|
4325
4303
|
declare const normalizeReason: (reason: string) => string;
|
|
@@ -4358,6 +4336,164 @@ declare const runRetroStage: (input: {
|
|
|
4358
4336
|
readonly dryRun?: boolean;
|
|
4359
4337
|
}) => Promise<RetroStageReport>;
|
|
4360
4338
|
|
|
4339
|
+
type ObservabilitySeverity = 'warning' | 'action_required';
|
|
4340
|
+
interface ObservabilityAnomaly {
|
|
4341
|
+
readonly id: string;
|
|
4342
|
+
readonly severity: ObservabilitySeverity;
|
|
4343
|
+
readonly issue: string | null;
|
|
4344
|
+
readonly message: string;
|
|
4345
|
+
readonly evidence: Readonly<Record<string, unknown>>;
|
|
4346
|
+
}
|
|
4347
|
+
interface ObservabilityMetrics {
|
|
4348
|
+
readonly queueReady: number;
|
|
4349
|
+
readonly freeSlots: number;
|
|
4350
|
+
readonly runningWorkers: number;
|
|
4351
|
+
readonly maxAgents: number;
|
|
4352
|
+
readonly activeClaims: number;
|
|
4353
|
+
readonly inFlight: number;
|
|
4354
|
+
readonly held: number;
|
|
4355
|
+
readonly merged: number;
|
|
4356
|
+
readonly blocked: number;
|
|
4357
|
+
readonly fixRounds: number;
|
|
4358
|
+
readonly reviewFindings: number;
|
|
4359
|
+
readonly reviewIncomplete: number;
|
|
4360
|
+
readonly medianLeadTimeMin: number | null;
|
|
4361
|
+
readonly providerRemainingPercent: Readonly<Record<string, number | null>>;
|
|
4362
|
+
readonly machine: {
|
|
4363
|
+
readonly cpuCount: number;
|
|
4364
|
+
readonly load1PerCpuPercent: number;
|
|
4365
|
+
readonly memoryUsedPercent: number;
|
|
4366
|
+
readonly freeRamGb: number;
|
|
4367
|
+
};
|
|
4368
|
+
readonly memory: {
|
|
4369
|
+
readonly recalls: number;
|
|
4370
|
+
readonly hits: number;
|
|
4371
|
+
readonly approxCharsSaved: number;
|
|
4372
|
+
};
|
|
4373
|
+
readonly cache: {
|
|
4374
|
+
readonly cachedContracts: number;
|
|
4375
|
+
};
|
|
4376
|
+
readonly tokens: {
|
|
4377
|
+
readonly input: number;
|
|
4378
|
+
readonly output: number;
|
|
4379
|
+
readonly total: number;
|
|
4380
|
+
readonly cacheRead: number;
|
|
4381
|
+
readonly cacheWrite: number;
|
|
4382
|
+
};
|
|
4383
|
+
readonly events: Readonly<Record<string, number>>;
|
|
4384
|
+
}
|
|
4385
|
+
interface ObservabilityReport {
|
|
4386
|
+
readonly status: 'healthy' | 'action_required';
|
|
4387
|
+
readonly generatedAt: string;
|
|
4388
|
+
readonly project: string;
|
|
4389
|
+
readonly person: string;
|
|
4390
|
+
readonly windowHours: number;
|
|
4391
|
+
readonly anomalies: readonly ObservabilityAnomaly[];
|
|
4392
|
+
readonly metrics: ObservabilityMetrics;
|
|
4393
|
+
}
|
|
4394
|
+
interface ObservabilityTerminal {
|
|
4395
|
+
readonly handle: string;
|
|
4396
|
+
readonly status: string;
|
|
4397
|
+
readonly worktreeId: string | null;
|
|
4398
|
+
readonly lastOutputAt: number | null;
|
|
4399
|
+
readonly preview: string;
|
|
4400
|
+
}
|
|
4401
|
+
interface ObservabilitySnapshot {
|
|
4402
|
+
readonly generatedAt: string;
|
|
4403
|
+
readonly project: string;
|
|
4404
|
+
readonly person: string;
|
|
4405
|
+
readonly windowHours: number;
|
|
4406
|
+
readonly workerIdleTimeoutMin: number;
|
|
4407
|
+
readonly queueReady: number;
|
|
4408
|
+
readonly freeSlots: number;
|
|
4409
|
+
readonly runningWorkers: number;
|
|
4410
|
+
readonly maxAgents: number;
|
|
4411
|
+
readonly activeClaims: number;
|
|
4412
|
+
readonly missingDeliveryIssues: readonly string[];
|
|
4413
|
+
readonly terminals: readonly ObservabilityTerminal[];
|
|
4414
|
+
readonly finalizedDirtyWorktrees: readonly {
|
|
4415
|
+
readonly worktreeId: string;
|
|
4416
|
+
readonly issue: string | null;
|
|
4417
|
+
readonly files: number;
|
|
4418
|
+
}[];
|
|
4419
|
+
readonly issues: readonly Pick<DebriefIssueRow, 'issue' | 'phase' | 'ageMin' | 'heldFor'>[];
|
|
4420
|
+
readonly events: readonly LoopEvent[];
|
|
4421
|
+
readonly merged: number;
|
|
4422
|
+
readonly blocked: number;
|
|
4423
|
+
readonly fixRounds: number;
|
|
4424
|
+
readonly reviewFindings: number;
|
|
4425
|
+
readonly reviewIncomplete: number;
|
|
4426
|
+
readonly medianLeadTimeMin: number | null;
|
|
4427
|
+
readonly providerRemainingPercent: Readonly<Record<string, number | null>>;
|
|
4428
|
+
readonly machine: ObservabilityMetrics['machine'];
|
|
4429
|
+
readonly memory: ObservabilityMetrics['memory'];
|
|
4430
|
+
readonly cache: ObservabilityMetrics['cache'];
|
|
4431
|
+
readonly tokens: ObservabilityMetrics['tokens'];
|
|
4432
|
+
}
|
|
4433
|
+
/** Pure, deterministic anomaly assessment. No network calls or writes. */
|
|
4434
|
+
declare const assessObservability: (input: ObservabilitySnapshot) => ObservabilityReport;
|
|
4435
|
+
/** Collect current read-only state from the existing doctor, debrief and event log. */
|
|
4436
|
+
declare const runObservability: (input: {
|
|
4437
|
+
readonly configPath?: string;
|
|
4438
|
+
readonly loaded?: LoadedLoopConfig;
|
|
4439
|
+
readonly runner: CommandRunner;
|
|
4440
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
4441
|
+
readonly platform?: NodeJS.Platform;
|
|
4442
|
+
readonly since?: string;
|
|
4443
|
+
readonly now?: () => Date;
|
|
4444
|
+
}) => Promise<ObservabilityReport>;
|
|
4445
|
+
declare const renderObservabilityMarkdown: (report: ObservabilityReport) => string;
|
|
4446
|
+
|
|
4447
|
+
type WatchEventKind = 'DONE' | 'FAILED' | 'ACTION_REQUIRED' | 'PROGRESS';
|
|
4448
|
+
interface WatchEvent {
|
|
4449
|
+
readonly kind: WatchEventKind;
|
|
4450
|
+
readonly issue: string;
|
|
4451
|
+
readonly message: string;
|
|
4452
|
+
readonly phase: string;
|
|
4453
|
+
readonly pr: number | null;
|
|
4454
|
+
readonly finalOutcome: DeliverOutcome | null;
|
|
4455
|
+
readonly at: string;
|
|
4456
|
+
}
|
|
4457
|
+
interface WatchTargetSnapshot {
|
|
4458
|
+
readonly issue: string;
|
|
4459
|
+
readonly phase: string;
|
|
4460
|
+
readonly signature: string;
|
|
4461
|
+
readonly delivery: DeliveryState;
|
|
4462
|
+
readonly dispatch: DispatchRecordFile | null;
|
|
4463
|
+
readonly pr: PullRequestSnapshot | null;
|
|
4464
|
+
}
|
|
4465
|
+
interface WatchInput {
|
|
4466
|
+
readonly configPath?: string;
|
|
4467
|
+
readonly loaded?: LoadedLoopConfig;
|
|
4468
|
+
readonly runner?: CommandRunner;
|
|
4469
|
+
readonly issue?: string;
|
|
4470
|
+
readonly intervalMs?: number;
|
|
4471
|
+
readonly once?: boolean;
|
|
4472
|
+
readonly timeoutMs?: number;
|
|
4473
|
+
readonly livePr?: boolean;
|
|
4474
|
+
readonly now?: () => Date;
|
|
4475
|
+
readonly sleep?: (ms: number) => Promise<void>;
|
|
4476
|
+
readonly onEvent?: (event: WatchEvent) => void;
|
|
4477
|
+
}
|
|
4478
|
+
declare const classifyWatchPhase: (delivery: DeliveryState, pr: PullRequestSnapshot | null) => string;
|
|
4479
|
+
declare const classifyWatchEvent: (phase: string, delivery: DeliveryState, pr: PullRequestSnapshot | null, at: string, issue: string) => WatchEvent;
|
|
4480
|
+
declare const snapshotWatchTargets: (input: {
|
|
4481
|
+
readonly loaded: LoadedLoopConfig;
|
|
4482
|
+
readonly runner?: CommandRunner;
|
|
4483
|
+
readonly issue?: string;
|
|
4484
|
+
readonly livePr?: boolean;
|
|
4485
|
+
readonly now?: () => Date;
|
|
4486
|
+
}) => Promise<readonly WatchTargetSnapshot[]>;
|
|
4487
|
+
interface WatchReport {
|
|
4488
|
+
readonly status: 'done' | 'failed' | 'waiting' | 'action-required';
|
|
4489
|
+
readonly generatedAt: string;
|
|
4490
|
+
readonly events: readonly WatchEvent[];
|
|
4491
|
+
readonly targets: readonly WatchTargetSnapshot[];
|
|
4492
|
+
}
|
|
4493
|
+
/** Poll delivery state (and optionally live PRs). Emits DONE / FAILED / ACTION_REQUIRED / PROGRESS. Read-only. */
|
|
4494
|
+
declare const watchDeliveries: (input: WatchInput) => Promise<WatchReport>;
|
|
4495
|
+
declare const formatWatchEvent: (event: WatchEvent) => string;
|
|
4496
|
+
|
|
4361
4497
|
/** One recorded failure for an issue, kept for diagnostics (`loop retro`, `loop status`). */
|
|
4362
4498
|
interface IssueFailureRecord {
|
|
4363
4499
|
readonly kind: string;
|
|
@@ -4440,4 +4576,4 @@ declare const discoverIntake: (runner: CommandRunner, input: {
|
|
|
4440
4576
|
readonly now: () => Date;
|
|
4441
4577
|
}, options?: GitHubCliOptions) => Promise<readonly IntakeRecord[]>;
|
|
4442
4578
|
|
|
4443
|
-
export { AGENT_REGISTRY_SCHEMA_VERSION, ARTIFACT_SCHEMA_VERSION, ARTIFACT_TYPES, ASSURANCE_LEVELS, type AdapterMetadata, type AdapterTelemetry, type AdversarialReviewResult, type AgentAdapter, type AgentEvalCase, type AgentEvalReport, type AgentEvalSuite, type AgentMemoryAdapter, type AgentMemoryHit, type AgentMemoryKvStore, type AgentMemoryRecord, type AgentRegistry, type AgentRegistryEntry, AgentRegistryEntrySchema, AgentRegistrySchema, type AgentSessionOptions, type AgentUsage, type ApprovedAssumption, type ArgvRagContextProviderOptions, type ArtifactBinding, type ArtifactEnvelope, type ArtifactEnvelopeInput, type ArtifactType, type ArtificialAnalysisModel, type AssuranceLevel, type AutomationStatus, type AutonomyMode, BENCHMARK_SCHEMA_VERSION, BLOCK_STATUSES, type BenchmarkBinding, type BenchmarkComparison, type BenchmarkImprovementDirection, type BenchmarkManifest, type BenchmarkObservation, type BenchmarkObservationEvidence, type BenchmarkObservationInput, type BenchmarkObservationStatus, type BenchmarkReport, type BenchmarkRun, type BenchmarkSummary, type BenchmarkTask, type BlockAssessment, type BlockManifest, type BlockStatus, CAPABILITY_KINDS, CAPABILITY_MANIFEST_SCHEMA_VERSION, CHECK_CATEGORIES, COMPATIBILITY_COMPONENTS, COMPATIBILITY_SCHEMA_VERSION, CONTEXT_PROVIDER_SLOT, CONTRACT_CLOSE, CONTRACT_OPEN, CONTRACT_SCHEMA_VERSION, type CacheUsage, type CapabilityDescriptor, type CapabilityKind, type CapabilityManifest, type CapabilityManifestInput, type CatalogModel, type ChangedFile, type CheckCategory, type CheckOutcome, type CheckResult, type ChecksAssessment, type ClaimResult, type CodeReviewInput, type CodeReviewOutcome, type CodingAgentAdapter, type CodingAgentHandlerResult, type CodingAgentRequest, type CodingAgentResult, type CommandResult, type CommandRunOptions, type CommandRunner, type CompatibilityComponent, type CompatibilityComponentId, type CompatibilityManifest, type CompatibilityObservation, type CompatibilityReport, type CompatibilityStatus, type ContextProvider, type ContextQuery, type ContextReference, type ContextSnapshot, type ContractAssessment, type ContractOutcome, ContractOutcomeSchema, type ContractScope, type CooldownEntry, type CooldownState, type CoordinationIdentity, type CriterionStatus, type CycleIterationMetrics, type CycleMatrixRow, type CycleStepResult, type CycleStepStatus, type DebriefInput, type DebriefIssueRow, type DebriefReport, type DecisionPacket, type DeliverInput, type DeliverOutcome, type DeliverReport, type DeliverResult, type DeliveryState, type DetectProvidersInput, type DiscoveryAmbiguity, type DiscoveryCurrentInput, type DiscoveryCurrentResult, type DiscoveryDecisionLogEntry, type DiscoveryInput, type DiscoveryOption, type DiscoveryResult, type DispatchLease, type DispatchLedger, type DispatchRecord, type DispatchRecordFile, type Disposer, type DocBridgeIndexInspection, type DockerMount, type DockerRuntimeEvidence, type DockerToolDefinition, type DoctorCheck, type DoctorCheckStatus, EVAL_COMPONENTS, EVAL_LAYERS, EVAL_MANIFEST_SCHEMA_VERSION, EVENT_LOG_GENESIS, EVIDENCE_BUNDLE_SCHEMA_VERSION, type EffortLevel, type EvalBatteryReport, type EvalCaseDefinition, type EvalCaseReport, type EvalComponent, type EvalExpectation, type EvalLayer, type EvalManifest, type EvalObservation, type EvalObservationStatus, type EventLogLock, type EventLogLockRecovery, type EventLogLockStatus, type EventLogVerification, type EventStore, type EvidenceArtifact, type EvidenceBundle, type EvidenceBundleFile, type EvidenceBundleSignature, type EvidenceBundleVerification, type EvidenceReference, type ExecutePhaseProfileOptions, type FailureClass, type FailureClassification, type FetchQueueInput, FileArtifactStore, FileEventStore, type FilePreflightPlan, type GateAssessment, type GateBinding, type GateCriterion, type GenerateContractInput, type GitHubCliOptions, type GuidedInstallIO, type GuidedInstallInput, type GuidedInstallReport, HARNESS_ERROR_CATALOG, HARNESS_ERROR_CODES, HARNESS_EVENT_ENVELOPE_SCHEMA_VERSION, HARNESS_EVENT_SCHEMA_VERSION, HARNESS_EVENT_TYPES, HARNESS_PLUGIN_API_VERSION, HARNESS_REPO_URL, type HandoffBriefInput, HarnessError, type HarnessErrorClassification, type HarnessErrorDisposition, type HarnessEvent, type HarnessEventContext, type HarnessEventEnvelope, type HarnessEventEnvelopeInput, type HarnessEventInput, type HarnessEventListener, type HarnessEventPayloads, type HarnessEventProvenance, type HarnessEventType, type HarnessPlugin, type HarnessPluginContext, IMPROVEMENT_CYCLE_STEPS, type ImprovementCycleAssessment, type ImprovementCycleInput, type ImprovementCycleIteration, type ImprovementCycleStep, type InstallAction, type InstallInput, type InstallReport, type IntakeRecord, type IssueFailureRecord, type IssueFailureState, LEARNING_STATUSES, LEGAL_TRANSITIONS, LOOP_CONFIG_FILE, LOOP_CONFIG_SCHEMA_VERSION, LOOP_LOCAL_CONFIG_FILE, LOOP_STAGES, type LearningRecord, type LearningStatus, type LearningsLedger, type LinearIssueDetail, type LinearListInput, type LinearQueueFilter, type LinearWriteOptions, type LlmCache, type LlmCacheKeyInput, type LlmCacheStats, type LoadedConfig, type LoadedLoopConfig, type LocalConfigAnswers, type LocalConfigPrompter, type LoopConfig, type LoopConfigInput, LoopConfigSchema, type LoopDoctorInput, type LoopDoctorReport, type LoopEvent, type LoopEventBus, type LoopEventListener, type LoopEventPayload, type LoopHookListener, type LoopHookName, type LoopHookPayload, type LoopHookResult, type LoopIssue, type LoopPluginModule, type LoopProviderConfig, type LoopStage, type LoopStageName, type LoopState, type LoopStatusReport, MEMORY_SCOPES, MODEL_ROLES, type MachineMetrics, type MachineSample, type MachineThresholds, type McpPolicy, type McpToolBridge, type McpToolBridgeOptions, type McpToolCallInput, type McpToolCallResult, type MemoryContextPlan, type MemoryPromptSelection, type MemoryScope, type MemoryUsage, type MetricStatus, type ModelBinding, type ModelPolicy, type ModelQuality, type ModelReference, type ModelRole, type NormalizedPhaseProfile, type OptimizationComparison, type OptimizationObservation, type OrcaAgentHookState, type OrcaAutomation, type OrcaAutomationSpec, type OrcaCliOptions, type OrcaCreatedWorktree, type OrcaDispatchInput, type OrcaDispatchPlan, type OrcaLeaseState, type OrcaLifecycleInput, type OrcaLifecycleProjection, type OrcaStatus as OrcaRuntimeStatus, type OrcaSendReceipt, type OrcaTerminal, type OrcaWorktree, type OutcomeProgress, type OutcomeProgressStatus, PHASE_DECISIONS, PHASE_EFFECTS, PHASE_EFFECT_ACTIONS, PHASE_MODES, PR_FIELDS, type ParallelismUsage, type PhaseAmbiguity, type PhaseContext, type PhaseDecision, type PhaseDecisionPacket, type PhaseDefinition, type PhaseEffect, type PhaseEffectAction, type PhaseEffectPolicy, type PhaseExecution, type PhaseExecutionReport, type PhaseGateEvaluator, type PhaseGateResult, type PhaseHandler, type PhaseHandlerResult, type PhaseMachineMetrics, type PhaseMode, type PhasePreflight, type PhasePreflightResult, type PhaseProfile, type PhaseResumeState, type PhaseRetryPolicy, type PhaseRoutePlan, type PhaseTelemetry, type PhaseTokenMetrics, type PiiKind, type PiiMatch, type PiiScanResult, type PilotAssessment, type PilotEntry, type PilotManifest, type PinnedSkill, type PinnedSkillRef, type PluginContribution, type PluginRegistry, type PluginSlot, type PolicyDecision, type PolicyGate, type PolicyRequest, type PolicyRule, type ProcessToolDefinition, type ProductionEvidence, type ProviderAuthStatus, type ProviderAvailability, type ProviderCatalog, type ProviderFailure, type ProviderSpec, type ProviderUsage, type PullRequestApproval, type PullRequestCheck, type PullRequestDraft, type PullRequestSnapshot, QUALITY_DIMENSIONS, type QaTransitionAssessment, type QualityDimension, type QualityDimensionScore, type QualityMatrix, REVIEW_SEVERITIES, RUN_STATES, type RagContextProviderOptions, type RagQueryResult, type RankedModel, type RecoveryObservation, type RecoveryPolicy, type RecoveryResult, type RepositoryProfile, type ResolvedAgent, type RetroInput, type RetroIssueRow, type RetroReport, type RetroStageReport, type RetroSuggestion, type RetroTarget, type RetroWindow, type ReviewFinding, type ReviewLens, type ReviewSeverity, type ReviewVerdict, type RichIO, type RoutingDecision, type RoutingSkip, type RunOutcome, type RunReconciliation, type RunState, type RuntimeConfig, type RuntimeExperimentCandidate, type RuntimeExperimentResult, STATES, SURFACE_NAMES, type SessionRecorder, type SlotAssessment, type SlotInput, type SourceSnapshot, type StagePauseEntry, type StagePauseState, type StateTransition, type StatusBlock, type StatusSnapshot, type StoredContract, type StructuredEvidence, type SurfaceName, type SurfaceRequirement, type TaskContract, TaskContractSchema, type TeamMember, type TickCandidateResult, type TickInput, type TickOutcome, type TickReport, type TokenUsage, type ToolDefinition, type ToolExecutionRequest, type ToolExecutionResult, type ToolRuntime, type TrackingAdapter, type TrackingConfig, type TrackingTransition, type TrustedEvidenceKey, type UsageMetric, type UsageWindow, type VerificationCheck, type VerificationConfig, type VerificationRun, WIP_STATES, type WatchEvent, type WatchEventKind, type WatchInput, type WatchReport, type WatchTargetSnapshot, type WatchdogBlocker, type WatchdogBudget, type WatchdogResult, type WipAssessment, type WipAssessmentInput, type WipEntry, type WipState, type WorkerBriefInput, type WorkflowNode, type WorkflowResult, activeCooldowns, adaptiveConcurrency, advanceQueueOwner, appendLoopEvent, approveRun, approvedDecision, artifactDigest, artifactFilePath, artifactIsFresh, artifactMarkdownPath, assertHuman, assessAcceptance, assessAgentEval, assessBlock, assessChecks, assessCompatibility, assessContract, assessDiscovery, assessImprovementCycle, assessIntegration, assessPilot, assessPreflight, assessProduction, assessQaTransition, assessSlots, assessWip, assessWorktreeCleanup, atLeast, authStatusFor, authorizeRun, automationName, automationPrompt, automationSpecs, availableMemoryBytes, benchmarkRuns, branchFor, briefPath, buildDebriefReport, buildListIssuesArgv, buildRetroReport, buildReviewArgv, buildSuggestions, busyIssues, cancelRun, classifyFailure, classifyHarnessError, classifyProviderFailure, classifyWatchEvent, classifyWatchPhase, cleanTaskArtifacts, clearIssueFailures, clearProviderCooldown, compareOptimization, compareVersions, composePullRequest, contractIsFresh, contractPath, cooldownPath, cooldownUntil, countRunningWorkers, createArgvRagContextProvider, createArtifactEnvelope, createCapabilityManifest, createCodingAgentAdapter, createCompatibilityManifest, createConfiguredToolRuntime, createDispatchLedger, createDocBridgeContextProvider, createDockerToolRuntime, createEvalManifest, createFileMemoryAdapter, createFileMemoryKvStore, createHarnessEventEnvelope, createInMemoryMemoryAdapter, createKvMemoryAdapter, createLinearTrackingAdapter, createLlmCache, createLlmCacheKey, createLoopEventBus, createMachineMonitor, createMcpToolBridge, createModelPolicy, createOrcaDispatchPlan, createOrcaLifecycleProjection, createPhaseArtifact, createPhaseProfile, createPluginRegistry, createPluginSlot, createPolicyGate, createProcessRunner, createProcessToolRuntime, createPullRequestApproval, createQualityMatrix, createRagContextProvider, createRichIO, createSessionRecorder, createStatusSnapshot, createToolRuntime, createTrackingAdapter, createTrackingTransition, deliveryStatePath, detectProviders, discoverIntake, dispatchRecordPath, evaluateWatchdog, executePhaseProfile, exportEvidenceBundle, extractResetsAt, fetchArtificialAnalysisModels, fetchLinearIssue, fetchLinearQueue, fetchTeamMembers, filterAndOrderQueue, findExecutable, formatWatchEvent, gatherLoopState, generateContract, githubComment, githubCommentArgv, githubCommentExists, githubLabelRemove, githubMerge, githubMergeArgv, githubOpenPullRequests, githubPullRequest, githubPullRequestsForBranch, hasLocalConfig, hashContextSnapshot, hashContextSnapshots, hashMcpArgs, inspectDocBridgeIndex, inspectEventLogLock, installLoopAutomations, installPreflight, intakeIssueId, intakePath, isDiscoveryCurrent, isIssuePaused, isStagePaused, isWsl, issueFailurePath, launchWorkerTerminal, learningToMemoryRecord, learningsPath, linearAttach, linearAttachArgv, linearCommentAdd, linearCommentAddArgv, linearLabelAdd, linearLabelArgv, linearLabelRemove, linearStatusSet, linearStatusSetArgv, listCliModels, listDispatched, listIntake, listPausedIssues, loadAgentRegistry, loadAliases, loadBenchmarkManifest, loadBuiltinCatalog, loadConfig, loadLatestRun, loadLoopConfig, loadLoopPlugins, loadPinnedSkills, localConfigPath, loopStatus, markProviderExhausted, memoryDigestOf, mergeLoopConfig, modelFor, normalizeReason, openLoopMemory, orcaAccountList, orcaAgentHooks, orcaAutomationCreateArgv, orcaAutomationEditArgv, orcaAutomationRemove, orcaAutomationRun, orcaAutomationRuns, orcaAutomationsList, orcaJson, orcaStatus, orcaTerminalCreate, orcaTerminalList, orcaTerminalScreen, orcaTerminalSend, orcaTerminalWait, orcaVersion, orcaWorktreeCreate, orcaWorktreeRemove, orcaWorktreeSet, orcaWorktreeSetArgv, orcaWorktrees, parseAgentRegistryText, parseArtificialAnalysisPayload, parseAutomationRuns, parseContractOutput, parseGrokModelsOutput, parseJsonEnvelope, parseLinearIssueDetail, parseLinearIssues, parseLoopConfigText, parseMemInfo, parseModelRef, parseOrcaAgentHooks, parseOrcaAutomations, parseOrcaSendReceipt, parseOrcaStatus, parseOrcaTerminals, parseOrcaVersion, parseOrcaWorktreeCreate, parseOrcaWorktrees, parseProviderUsage, parsePullRequest, parseRagQueryOutput, parseRetro, parseReviewResult, parseSince, parseTeamMembers, parseUsageWindows, parseVmStat, pauseIssue, planFilePreflight, planMemoryContext, planPhaseProfile, planRun, precheckCommand, precheckDeliver, precheckTick, preferMemoryOverDocBridge, promoteLearnings, promoteLearningsToMemory, promptLocalConfig, providerIdentity, providerSpecs, queueOwner, rankModels, readAaCache, readArtifactFile, readContextSnapshots, readCooldowns, readDeliveryState, readDispatchRecord, readEvidenceTrustStore, readIntake, readIssueFailures, readLearningsLedger, readLoopEvents, readOutcomeProgress, readStagePause, readStoredContract, reconcileRun, recordBenchmarkObservation, recordIssueFailure, recordStageRunResult, recoverEventLogLock, recoveryDelayMs, remainingUsagePercent, renderArtifactMarkdown, renderContractPrompt, renderDebriefMarkdown, renderFindingsForWorker, renderHandoffBrief, renderHeadlessArgv, renderLocalConfig, renderPinnedSkills, renderRetroMarkdown, renderTuiCommand, renderWorkerBrief, resolveAgentForRole, resolveAlias, resolveCatalogCandidates, resolveDocContext, resumeIssue, resumeStage, resumeStateFromArtifacts, retroLearnings, retryRun, rotationStatePath, routeAllRoles, runAdversarialReview, runAgentEval, runCodeReview, runDeliver, runEvalBattery, runGuidedInstall, runLoopDoctor, runRetroStage, runTick, runWithRecovery, runWorkflow, sampleMachine, scanForPii, selectMemoryForPrompt, selectModel, selectRuntime, severityRank, shellQuote, skillDigest, skillRefs, snapshotWatchTargets, stageEntry, stagePausePath, startRun, summarizeMachine, tiersFor, touchesProtectedPaths, transition, undeclaredOrcaProviders, uninstallLoopAutomations, unknownTelemetry, untrusted, upsertProposedLearnings, usageRankTuple, validateAdapterMetadata, validateArtifactEnvelope, validateBenchmarkManifest, validateBlockManifest, validateCacheableOperation, validateCapabilityManifest, validateCompatibilityManifest, validateConfig, validateContextSnapshot, validateContextSnapshots, validateEvalManifest, validateHarnessErrorClassification, validateHarnessEventEnvelope, validateLoopConfig, validateMemoryRecord, validateOptimizationObservation, validatePhaseTelemetry, validateSafeCommand, validateStatusSnapshot, verifyEvidenceBundle, verifyPullRequestApproval, verifyRun, watchDeliveries, worktreeNameFor, writeAaCache, writeDispatchRecord, writeIdFor, writeLearningsLedger, writeLocalConfig, writeStoredContract };
|
|
4579
|
+
export { AGENT_REGISTRY_SCHEMA_VERSION, ARTIFACT_SCHEMA_VERSION, ARTIFACT_TYPES, ASSURANCE_LEVELS, type AdapterMetadata, type AdapterTelemetry, type AdversarialReviewResult, type AgentAdapter, type AgentEvalCase, type AgentEvalReport, type AgentEvalSuite, type AgentMemoryAdapter, type AgentMemoryHit, type AgentMemoryKvStore, type AgentMemoryRecord, type AgentRegistry, type AgentRegistryEntry, AgentRegistryEntrySchema, AgentRegistrySchema, type AgentSessionOptions, type AgentUsage, type ApprovedAssumption, type ArgvRagContextProviderOptions, type ArtifactBinding, type ArtifactEnvelope, type ArtifactEnvelopeInput, type ArtifactType, type ArtificialAnalysisModel, type AssuranceLevel, type AutomationStatus, type AutonomyMode, BENCHMARK_SCHEMA_VERSION, BLOCK_STATUSES, type BenchmarkBinding, type BenchmarkComparison, type BenchmarkImprovementDirection, type BenchmarkManifest, type BenchmarkObservation, type BenchmarkObservationEvidence, type BenchmarkObservationInput, type BenchmarkObservationStatus, type BenchmarkReport, type BenchmarkRun, type BenchmarkSummary, type BenchmarkTask, type BlockAssessment, type BlockManifest, type BlockStatus, CAPABILITY_KINDS, CAPABILITY_MANIFEST_SCHEMA_VERSION, CHECK_CATEGORIES, COMPATIBILITY_COMPONENTS, COMPATIBILITY_SCHEMA_VERSION, CONTEXT_PROVIDER_SLOT, CONTRACT_CLOSE, CONTRACT_OPEN, CONTRACT_SCHEMA_VERSION, type CacheUsage, type CapabilityDescriptor, type CapabilityKind, type CapabilityManifest, type CapabilityManifestInput, type CatalogModel, type ChangedFile, type CheckCategory, type CheckOutcome, type CheckResult, type ChecksAssessment, type ClaimResult, type CodeReviewInput, type CodeReviewOutcome, type CodingAgentAdapter, type CodingAgentHandlerResult, type CodingAgentRequest, type CodingAgentResult, type CommandResult, type CommandRunOptions, type CommandRunner, type CompatibilityComponent, type CompatibilityComponentId, type CompatibilityManifest, type CompatibilityObservation, type CompatibilityReport, type CompatibilityStatus, type ContextProvider, type ContextQuery, type ContextReference, type ContextSnapshot, type ContractAssessment, type ContractOutcome, ContractOutcomeSchema, type ContractScope, type CooldownEntry, type CooldownState, type CoordinationIdentity, type CriterionStatus, type CycleIterationMetrics, type CycleMatrixRow, type CycleStepResult, type CycleStepStatus, type DebriefInput, type DebriefIssueRow, type DebriefReport, type DecisionPacket, type DeliverInput, type DeliverOutcome, type DeliverReport, type DeliverResult, type DeliveryState, type DetectProvidersInput, type DiscoveryAmbiguity, type DiscoveryCurrentInput, type DiscoveryCurrentResult, type DiscoveryDecisionLogEntry, type DiscoveryInput, type DiscoveryOption, type DiscoveryResult, type DispatchLease, type DispatchLedger, type DispatchRecord, type DispatchRecordFile, type Disposer, type DocBridgeIndexInspection, type DockerMount, type DockerRuntimeEvidence, type DockerToolDefinition, type DoctorCheck, type DoctorCheckStatus, EVAL_COMPONENTS, EVAL_LAYERS, EVAL_MANIFEST_SCHEMA_VERSION, EVENT_LOG_GENESIS, EVIDENCE_BUNDLE_SCHEMA_VERSION, type EffortLevel, type EvalBatteryReport, type EvalCaseDefinition, type EvalCaseReport, type EvalComponent, type EvalExpectation, type EvalLayer, type EvalManifest, type EvalObservation, type EvalObservationStatus, type EventLogLock, type EventLogLockRecovery, type EventLogLockStatus, type EventLogVerification, type EventStore, type EvidenceArtifact, type EvidenceBundle, type EvidenceBundleFile, type EvidenceBundleSignature, type EvidenceBundleVerification, type EvidenceReference, type ExecutePhaseProfileOptions, type FailureClass, type FailureClassification, type FetchQueueInput, FileArtifactStore, FileEventStore, type FilePreflightPlan, type GateAssessment, type GateBinding, type GateCriterion, type GenerateContractInput, type GitHubCliOptions, type GuidedInstallIO, type GuidedInstallInput, type GuidedInstallReport, HARNESS_ERROR_CATALOG, HARNESS_ERROR_CODES, HARNESS_EVENT_ENVELOPE_SCHEMA_VERSION, HARNESS_EVENT_SCHEMA_VERSION, HARNESS_EVENT_TYPES, HARNESS_PLUGIN_API_VERSION, HARNESS_REPO_URL, type HandoffBriefInput, HarnessError, type HarnessErrorClassification, type HarnessErrorDisposition, type HarnessEvent, type HarnessEventContext, type HarnessEventEnvelope, type HarnessEventEnvelopeInput, type HarnessEventInput, type HarnessEventListener, type HarnessEventPayloads, type HarnessEventProvenance, type HarnessEventType, type HarnessPlugin, type HarnessPluginContext, IMPROVEMENT_CYCLE_STEPS, type ImprovementCycleAssessment, type ImprovementCycleInput, type ImprovementCycleIteration, type ImprovementCycleStep, type InstallAction, type InstallInput, type InstallReport, type IntakeRecord, type IssueFailureRecord, type IssueFailureState, LEARNING_STATUSES, LEGAL_TRANSITIONS, LOOP_CONFIG_FILE, LOOP_CONFIG_SCHEMA_VERSION, LOOP_LOCAL_CONFIG_FILE, LOOP_STAGES, type LearningRecord, type LearningStatus, type LearningsLedger, type LinearIssueDetail, type LinearListInput, type LinearQueueFilter, type LinearWriteOptions, type LlmCache, type LlmCacheKeyInput, type LlmCacheStats, type LoadedConfig, type LoadedLoopConfig, type LocalConfigAnswers, type LocalConfigPrompter, type LoopConfig, type LoopConfigInput, LoopConfigSchema, type LoopDoctorInput, type LoopDoctorReport, type LoopEvent, type LoopEventBus, type LoopEventListener, type LoopEventPayload, type LoopHookListener, type LoopHookName, type LoopHookPayload, type LoopHookResult, type LoopIssue, type LoopPluginModule, type LoopProviderConfig, type LoopStage, type LoopStageName, type LoopState, type LoopStatusReport, MEMORY_SCOPES, MODEL_ROLES, type MachineMetrics, type MachineSample, type MachineThresholds, type McpPolicy, type McpToolBridge, type McpToolBridgeOptions, type McpToolCallInput, type McpToolCallResult, type MemoryContextPlan, type MemoryPromptSelection, type MemoryScope, type MemoryUsage, type MetricStatus, type ModelBinding, type ModelPolicy, type ModelQuality, type ModelReference, type ModelRole, type NormalizedPhaseProfile, type ObservabilityAnomaly, type ObservabilityMetrics, type ObservabilityReport, type ObservabilitySeverity, type ObservabilitySnapshot, type ObservabilityTerminal, type OptimizationComparison, type OptimizationObservation, type OrcaAgentHookState, type OrcaAutomation, type OrcaAutomationSpec, type OrcaCliOptions, type OrcaCreatedWorktree, type OrcaDispatchInput, type OrcaDispatchPlan, type OrcaLeaseState, type OrcaLifecycleInput, type OrcaLifecycleProjection, type OrcaStatus as OrcaRuntimeStatus, type OrcaSendReceipt, type OrcaTerminal, type OrcaWorktree, type OutcomeProgress, type OutcomeProgressStatus, PHASE_DECISIONS, PHASE_EFFECTS, PHASE_EFFECT_ACTIONS, PHASE_MODES, PR_FIELDS, type ParallelismUsage, type PhaseAmbiguity, type PhaseContext, type PhaseDecision, type PhaseDecisionPacket, type PhaseDefinition, type PhaseEffect, type PhaseEffectAction, type PhaseEffectPolicy, type PhaseExecution, type PhaseExecutionReport, type PhaseGateEvaluator, type PhaseGateResult, type PhaseHandler, type PhaseHandlerResult, type PhaseMachineMetrics, type PhaseMode, type PhasePreflight, type PhasePreflightResult, type PhaseProfile, type PhaseResumeState, type PhaseRetryPolicy, type PhaseRoutePlan, type PhaseTelemetry, type PhaseTokenMetrics, type PiiKind, type PiiMatch, type PiiScanResult, type PilotAssessment, type PilotEntry, type PilotManifest, type PinnedSkill, type PinnedSkillRef, type PluginContribution, type PluginRegistry, type PluginSlot, type PolicyDecision, type PolicyGate, type PolicyRequest, type PolicyRule, type ProcessToolDefinition, type ProductionEvidence, type ProviderAuthStatus, type ProviderAvailability, type ProviderCatalog, type ProviderFailure, type ProviderSpec, type ProviderUsage, type PullRequestApproval, type PullRequestCheck, type PullRequestDraft, type PullRequestSnapshot, QUALITY_DIMENSIONS, type QaTransitionAssessment, type QualityDimension, type QualityDimensionScore, type QualityMatrix, REVIEW_SEVERITIES, RUN_STATES, type RagContextProviderOptions, type RagQueryResult, type RankedModel, type RecoveryObservation, type RecoveryPolicy, type RecoveryResult, type RepositoryProfile, type ResolvedAgent, type RetroInput, type RetroIssueRow, type RetroReport, type RetroStageReport, type RetroSuggestion, type RetroTarget, type RetroWindow, type ReviewFinding, type ReviewLens, type ReviewSeverity, type ReviewVerdict, type RichIO, type RoutingDecision, type RoutingSkip, type RunOutcome, type RunReconciliation, type RunState, type RuntimeConfig, type RuntimeExperimentCandidate, type RuntimeExperimentResult, STATES, SURFACE_NAMES, type SessionRecorder, type SlotAssessment, type SlotInput, type SourceSnapshot, type StagePauseEntry, type StagePauseState, type StateTransition, type StatusBlock, type StatusSnapshot, type StoredContract, type StructuredEvidence, type SurfaceName, type SurfaceRequirement, type TaskContract, TaskContractSchema, type TeamMember, type TickCandidateResult, type TickInput, type TickOutcome, type TickReport, type TokenUsage, type ToolDefinition, type ToolExecutionRequest, type ToolExecutionResult, type ToolRuntime, type TrackingAdapter, type TrackingConfig, type TrackingTransition, type TrustedEvidenceKey, type UsageMetric, type UsageWindow, type VerificationCheck, type VerificationConfig, type VerificationRun, WIP_STATES, type WatchEvent, type WatchEventKind, type WatchInput, type WatchReport, type WatchTargetSnapshot, type WatchdogBlocker, type WatchdogBudget, type WatchdogResult, type WipAssessment, type WipAssessmentInput, type WipEntry, type WipState, type WorkerBriefInput, type WorkflowNode, type WorkflowResult, activeCooldowns, adaptiveConcurrency, advanceQueueOwner, appendLoopEvent, approveRun, approvedDecision, artifactDigest, artifactFilePath, artifactIsFresh, artifactMarkdownPath, assertHuman, assessAcceptance, assessAgentEval, assessBlock, assessChecks, assessCompatibility, assessContract, assessDiscovery, assessImprovementCycle, assessIntegration, assessObservability, assessPilot, assessPreflight, assessProduction, assessQaTransition, assessSlots, assessWip, assessWorktreeCleanup, atLeast, authStatusFor, authorizeRun, automationName, automationPrompt, automationSpecs, availableMemoryBytes, benchmarkRuns, branchFor, briefPath, buildDebriefReport, buildListIssuesArgv, buildRetroReport, buildReviewArgv, buildSuggestions, busyIssues, cancelRun, classifyFailure, classifyHarnessError, classifyProviderFailure, classifyWatchEvent, classifyWatchPhase, cleanTaskArtifacts, clearIssueFailures, clearProviderCooldown, compareOptimization, compareVersions, composePullRequest, contractIsFresh, contractPath, cooldownPath, cooldownUntil, countRotationBlockingLeases, countRunningWorkers, createArgvRagContextProvider, createArtifactEnvelope, createCapabilityManifest, createCodingAgentAdapter, createCompatibilityManifest, createConfiguredToolRuntime, createDispatchLedger, createDocBridgeContextProvider, createDockerToolRuntime, createEvalManifest, createFileMemoryAdapter, createFileMemoryKvStore, createHarnessEventEnvelope, createInMemoryMemoryAdapter, createKvMemoryAdapter, createLinearTrackingAdapter, createLlmCache, createLlmCacheKey, createLoopEventBus, createMachineMonitor, createMcpToolBridge, createModelPolicy, createOrcaDispatchPlan, createOrcaLifecycleProjection, createPhaseArtifact, createPhaseProfile, createPluginRegistry, createPluginSlot, createPolicyGate, createProcessRunner, createProcessToolRuntime, createPullRequestApproval, createQualityMatrix, createRagContextProvider, createRichIO, createSessionRecorder, createStatusSnapshot, createToolRuntime, createTrackingAdapter, createTrackingTransition, deliveryStatePath, detectProviders, discoverIntake, dispatchRecordPath, evaluateWatchdog, executePhaseProfile, exportEvidenceBundle, extractResetsAt, fetchArtificialAnalysisModels, fetchLinearIssue, fetchLinearQueue, fetchTeamMembers, filterAndOrderQueue, findExecutable, formatWatchEvent, gatherLoopState, generateContract, githubComment, githubCommentArgv, githubCommentExists, githubLabelRemove, githubMerge, githubMergeArgv, githubOpenPullRequests, githubPullRequest, githubPullRequestsForBranch, hasLocalConfig, hashContextSnapshot, hashContextSnapshots, hashMcpArgs, inspectDocBridgeIndex, inspectEventLogLock, installLoopAutomations, installPreflight, intakeIssueId, intakePath, isDiscoveryCurrent, isIssuePaused, isStagePaused, isWsl, issueFailurePath, launchWorkerTerminal, learningToMemoryRecord, learningsPath, linearAttach, linearAttachArgv, linearCommentAdd, linearCommentAddArgv, linearLabelAdd, linearLabelArgv, linearLabelRemove, linearStatusSet, linearStatusSetArgv, listCliModels, listCliModelsCached, listDispatched, listIntake, listPausedIssues, loadAgentRegistry, loadAliases, loadBenchmarkManifest, loadBuiltinCatalog, loadConfig, loadLatestRun, loadLoopConfig, loadLoopPlugins, loadPinnedSkills, localConfigPath, loopStatus, markProviderExhausted, memoryDigestOf, mergeLoopConfig, modelFor, normalizeReason, openLoopMemory, orcaAccountList, orcaAgentHooks, orcaAutomationCreateArgv, orcaAutomationEditArgv, orcaAutomationRemove, orcaAutomationRun, orcaAutomationRuns, orcaAutomationsList, orcaJson, orcaStatus, orcaTerminalCreate, orcaTerminalList, orcaTerminalScreen, orcaTerminalSend, orcaTerminalWait, orcaVersion, orcaWorktreeCreate, orcaWorktreeRemove, orcaWorktreeSet, orcaWorktreeSetArgv, orcaWorktrees, parseAgentRegistryText, parseArtificialAnalysisPayload, parseAutomationRuns, parseContractOutput, parseGrokModelsOutput, parseJsonEnvelope, parseLinearIssueDetail, parseLinearIssues, parseLoopConfigText, parseMemInfo, parseModelRef, parseOrcaAgentHooks, parseOrcaAutomations, parseOrcaSendReceipt, parseOrcaStatus, parseOrcaTerminals, parseOrcaVersion, parseOrcaWorktreeCreate, parseOrcaWorktrees, parseProviderUsage, parsePullRequest, parseRagQueryOutput, parseRetro, parseReviewResult, parseSince, parseTeamMembers, parseUsageWindows, parseVmStat, pauseIssue, planFilePreflight, planMemoryContext, planPhaseProfile, planRun, precheckCommand, precheckDeliver, precheckTick, preferMemoryOverDocBridge, promoteLearnings, promoteLearningsToMemory, promptLocalConfig, providerIdentity, providerSpecs, queueOwner, rankModels, readAaCache, readArtifactFile, readCliModelsCache, readContextSnapshots, readCooldowns, readDeliveryState, readDispatchRecord, readEvidenceTrustStore, readIntake, readIssueFailures, readLearningsLedger, readLoopEvents, readOutcomeProgress, readStagePause, readStoredContract, reconcileRun, recordBenchmarkObservation, recordIssueFailure, recordStageRunResult, recoverEventLogLock, recoveryDelayMs, remainingUsagePercent, renderArtifactMarkdown, renderContractPrompt, renderDebriefMarkdown, renderFindingsForWorker, renderHandoffBrief, renderHeadlessArgv, renderLocalConfig, renderObservabilityMarkdown, renderPinnedSkills, renderRetroMarkdown, renderTuiCommand, renderWorkerBrief, resolveAgentForRole, resolveAlias, resolveCatalogCandidates, resolveDocContext, resumeIssue, resumeStage, resumeStateFromArtifacts, retroLearnings, retryRun, rotationStatePath, routeAllRoles, runAdversarialReview, runAgentEval, runCodeReview, runDeliver, runEvalBattery, runGuidedInstall, runLoopDoctor, runObservability, runRetroStage, runTick, runWithRecovery, runWorkflow, sampleMachine, scanForPii, selectMemoryForPrompt, selectModel, selectRuntime, severityRank, shellQuote, skillDigest, skillRefs, snapshotWatchTargets, stageEntry, stagePausePath, startRun, summarizeMachine, tiersFor, touchesProtectedPaths, transition, undeclaredOrcaProviders, uninstallLoopAutomations, unknownTelemetry, untrusted, upsertProposedLearnings, usageRankTuple, validateAdapterMetadata, validateArtifactEnvelope, validateBenchmarkManifest, validateBlockManifest, validateCacheableOperation, validateCapabilityManifest, validateCompatibilityManifest, validateConfig, validateContextSnapshot, validateContextSnapshots, validateEvalManifest, validateHarnessErrorClassification, validateHarnessEventEnvelope, validateLoopConfig, validateMemoryRecord, validateOptimizationObservation, validatePhaseTelemetry, validateSafeCommand, validateStatusSnapshot, verifyEvidenceBundle, verifyPullRequestApproval, verifyRun, watchDeliveries, worktreeNameFor, writeAaCache, writeCliModelsCache, writeDispatchRecord, writeIdFor, writeLearningsLedger, writeLocalConfig, writeStoredContract };
|