@agentskit/harness 0.9.0 → 0.10.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 +30 -0
- package/capabilities/public-surface.json +131 -79
- package/dist/cli.js +652 -121
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +151 -4
- package/dist/index.js +518 -50
- package/dist/index.js.map +1 -1
- package/docs/ADR-0030-loop-event-bus-orchestration-hooks.md +54 -0
- package/docs/LOOP.md +87 -2
- package/docs/MODULE-BOUNDARIES.md +3 -0
- package/loop.config.example.yaml +24 -1
- package/package.json +2 -2
- package/release/manifest.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2232,6 +2232,27 @@ interface ModelPolicy {
|
|
|
2232
2232
|
declare const createModelPolicy: (bindings: readonly ModelBinding[]) => ModelPolicy;
|
|
2233
2233
|
declare const modelFor: (policy: ModelPolicy, role: ModelRole) => ModelBinding;
|
|
2234
2234
|
|
|
2235
|
+
/**
|
|
2236
|
+
* Deterministic pattern scanner for text that is about to be embedded in a prompt or echoed back into a public
|
|
2237
|
+
* PR/issue comment — a segment lifted from an issue description or a code-review finding can carry a secret that
|
|
2238
|
+
* was never meant to leave the private context it came from. Pure and kernel-safe: no adapters, no network, no
|
|
2239
|
+
* state. Pattern-based, not a claim of completeness — it catches the shapes that show up in practice (emails,
|
|
2240
|
+
* common provider API-key prefixes, phone numbers, card-number-shaped digit runs), not every possible secret.
|
|
2241
|
+
*/
|
|
2242
|
+
type PiiKind = 'email' | 'api-key' | 'phone' | 'credit-card';
|
|
2243
|
+
interface PiiMatch {
|
|
2244
|
+
readonly kind: PiiKind;
|
|
2245
|
+
readonly index: number;
|
|
2246
|
+
readonly length: number;
|
|
2247
|
+
}
|
|
2248
|
+
interface PiiScanResult {
|
|
2249
|
+
readonly matches: readonly PiiMatch[];
|
|
2250
|
+
/** `text` with every match replaced by `[REDACTED:<kind>]`. Equal to `text` when `matches` is empty. */
|
|
2251
|
+
readonly redacted: string;
|
|
2252
|
+
}
|
|
2253
|
+
/** Scan `text` for every configured pattern kind and return both the matches (positions into the *original* text) and a redacted copy. */
|
|
2254
|
+
declare const scanForPii: (text: string) => PiiScanResult;
|
|
2255
|
+
|
|
2235
2256
|
interface OrcaDispatchInput {
|
|
2236
2257
|
readonly repository: string;
|
|
2237
2258
|
readonly worktree: string;
|
|
@@ -2640,6 +2661,11 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2640
2661
|
teamKey: z.ZodString;
|
|
2641
2662
|
person: z.ZodString;
|
|
2642
2663
|
people: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2664
|
+
rotation: z.ZodPrefault<z.ZodObject<{
|
|
2665
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2666
|
+
owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2667
|
+
advanceWhenEmpty: z.ZodDefault<z.ZodBoolean>;
|
|
2668
|
+
}, z.core.$strip>>;
|
|
2643
2669
|
states: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2644
2670
|
excludeLabels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2645
2671
|
requireLabels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -2831,6 +2857,7 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2831
2857
|
rebase: "rebase";
|
|
2832
2858
|
}>>;
|
|
2833
2859
|
requireChecks: z.ZodDefault<z.ZodBoolean>;
|
|
2860
|
+
requireHumanApproval: z.ZodDefault<z.ZodBoolean>;
|
|
2834
2861
|
}, z.core.$strip>>;
|
|
2835
2862
|
smoke: z.ZodPrefault<z.ZodObject<{
|
|
2836
2863
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2854,12 +2881,14 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2854
2881
|
}, z.core.$strip>>;
|
|
2855
2882
|
maxFixRounds: z.ZodDefault<z.ZodNumber>;
|
|
2856
2883
|
workerIdleTimeoutMin: z.ZodDefault<z.ZodNumber>;
|
|
2884
|
+
maxDispatchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2857
2885
|
handoff: z.ZodPrefault<z.ZodObject<{
|
|
2858
2886
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2859
2887
|
maxHandoffs: z.ZodDefault<z.ZodNumber>;
|
|
2860
2888
|
onlyWhenProviderUnavailable: z.ZodDefault<z.ZodBoolean>;
|
|
2861
2889
|
}, z.core.$strip>>;
|
|
2862
2890
|
selfEditPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2891
|
+
secretFilePatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2863
2892
|
ignoreChecks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2864
2893
|
requiredChecks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2865
2894
|
cleanupWorktree: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2921,6 +2950,9 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2921
2950
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2922
2951
|
allowTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2923
2952
|
}, z.core.$strip>>;
|
|
2953
|
+
plugins: z.ZodPrefault<z.ZodObject<{
|
|
2954
|
+
modules: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2955
|
+
}, z.core.$strip>>;
|
|
2924
2956
|
github: z.ZodPrefault<z.ZodObject<{
|
|
2925
2957
|
intakeLabel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2926
2958
|
reviewOnly: z.ZodDefault<z.ZodLiteral<true>>;
|
|
@@ -2929,11 +2961,22 @@ declare const LoopConfigSchema: z.ZodObject<{
|
|
|
2929
2961
|
maxConsecutiveFailures: z.ZodDefault<z.ZodNumber>;
|
|
2930
2962
|
pausedLabel: z.ZodDefault<z.ZodString>;
|
|
2931
2963
|
stagePauseAfterRuns: z.ZodDefault<z.ZodNumber>;
|
|
2964
|
+
maxUsageDeltaPercent: z.ZodOptional<z.ZodNumber>;
|
|
2932
2965
|
}, z.core.$strip>>;
|
|
2933
2966
|
brief: z.ZodPrefault<z.ZodObject<{
|
|
2934
2967
|
skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2935
2968
|
maxSkillChars: z.ZodDefault<z.ZodNumber>;
|
|
2936
2969
|
}, z.core.$strip>>;
|
|
2970
|
+
security: z.ZodPrefault<z.ZodObject<{
|
|
2971
|
+
pii: z.ZodPrefault<z.ZodObject<{
|
|
2972
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2973
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
2974
|
+
block: "block";
|
|
2975
|
+
redact: "redact";
|
|
2976
|
+
warn: "warn";
|
|
2977
|
+
}>>;
|
|
2978
|
+
}, z.core.$strip>>;
|
|
2979
|
+
}, z.core.$strip>>;
|
|
2937
2980
|
schedule: z.ZodPrefault<z.ZodObject<{
|
|
2938
2981
|
tick: z.ZodDefault<z.ZodString>;
|
|
2939
2982
|
deliver: z.ZodDefault<z.ZodString>;
|
|
@@ -3209,7 +3252,7 @@ interface LoopDoctorInput {
|
|
|
3209
3252
|
readonly queueTop?: number;
|
|
3210
3253
|
}
|
|
3211
3254
|
declare const providerSpecs: (config: LoopConfig) => readonly ProviderSpec[];
|
|
3212
|
-
/** Count worktrees
|
|
3255
|
+
/** Count worktrees still doing implementation work. Review/completed worktrees keep their lease for delivery, but must not consume a builder slot. */
|
|
3213
3256
|
declare const countRunningWorkers: (worktrees: readonly OrcaWorktree[]) => number;
|
|
3214
3257
|
declare const runLoopDoctor: (input: LoopDoctorInput) => Promise<LoopDoctorReport>;
|
|
3215
3258
|
|
|
@@ -3442,9 +3485,11 @@ declare const renderContractPrompt: (input: {
|
|
|
3442
3485
|
readonly references: readonly ContextReference[];
|
|
3443
3486
|
readonly memoryBlock?: string;
|
|
3444
3487
|
readonly maxIssueChars?: number;
|
|
3488
|
+
/** Called (once, if `security.pii.enabled`) with the matches found in the issue text, before redaction. */
|
|
3489
|
+
readonly onPiiDetected?: (matches: readonly PiiMatch[]) => void;
|
|
3445
3490
|
}) => string;
|
|
3446
3491
|
declare const parseContractOutput: (stdout: string) => TaskContract;
|
|
3447
|
-
declare const resolveDocContext: (root: string, query: string, max: number, scopes?: readonly string[]) => Promise<readonly ContextReference[]>;
|
|
3492
|
+
declare const resolveDocContext: (root: string, query: string, max: number, scopes?: readonly string[], maxAgeHours?: number) => Promise<readonly ContextReference[]>;
|
|
3448
3493
|
interface ProviderFailure {
|
|
3449
3494
|
readonly provider: string;
|
|
3450
3495
|
readonly model: string;
|
|
@@ -3467,6 +3512,8 @@ interface GenerateContractInput {
|
|
|
3467
3512
|
readonly onProviderFailure?: (failure: ProviderFailure) => void;
|
|
3468
3513
|
/** Observability for memory/doc-bridge char budgets. */
|
|
3469
3514
|
readonly onMemoryPlan?: (plan: MemoryContextPlan) => void;
|
|
3515
|
+
/** Called (once, if `security.pii.enabled`) with the matches found in the issue text, before redaction. */
|
|
3516
|
+
readonly onPiiDetected?: (matches: readonly PiiMatch[]) => void;
|
|
3470
3517
|
}
|
|
3471
3518
|
declare const classifyProviderFailure: (detail: string, timedOut?: boolean) => ProviderFailure["kind"];
|
|
3472
3519
|
/**
|
|
@@ -3516,6 +3563,8 @@ interface WorkerBriefInput {
|
|
|
3516
3563
|
readonly guidanceRefs?: readonly ContextReference[];
|
|
3517
3564
|
/** Full content of `brief.skills` files, read and digested once at dispatch time (`loadPinnedSkills`). */
|
|
3518
3565
|
readonly skills?: readonly PinnedSkill[];
|
|
3566
|
+
/** Called (once, if `security.pii.enabled`) with the matches found in the issue text, before redaction. */
|
|
3567
|
+
readonly onPiiDetected?: (matches: readonly PiiMatch[]) => void;
|
|
3519
3568
|
}
|
|
3520
3569
|
interface HandoffBriefInput {
|
|
3521
3570
|
readonly issue: string;
|
|
@@ -3538,6 +3587,71 @@ declare const renderHandoffBrief: (input: HandoffBriefInput) => string;
|
|
|
3538
3587
|
/** The prompt a worker receives in its Orca terminal. Issue text is data; the contract and the rules are the instructions. */
|
|
3539
3588
|
declare const renderWorkerBrief: (input: WorkerBriefInput) => string;
|
|
3540
3589
|
|
|
3590
|
+
/**
|
|
3591
|
+
* A local, in-process pub/sub bus over the loop's own event vocabulary (the same free-form `type` strings
|
|
3592
|
+
* `appendLoopEvent` writes to `<stateDir>/events.ndjson`: `contract.failed`, `worker.dispatched`, `pr.reviewed`,
|
|
3593
|
+
* `provider.cooldown`, `issue.paused`, etc.). It exists so a project can react to loop activity in real time
|
|
3594
|
+
* (tick/deliver run) instead of only reading the ndjson after the fact — the ndjson stays the durable log; this is
|
|
3595
|
+
* only a live fan-out on top of it, scoped to the current process.
|
|
3596
|
+
*
|
|
3597
|
+
* Deliberately not `kernel/plugins.ts`: that registry ties into `HARNESS_EVENT_TYPES` (the harness's own
|
|
3598
|
+
* lifecycle events) and requires plugin ids/versions/dependency ordering. The loop's event vocabulary is an open
|
|
3599
|
+
* set of strings owned by composition, not the kernel, so this is a plain listener map with the same "who's
|
|
3600
|
+
* listening" ergonomics, not a copy of the kernel's contract.
|
|
3601
|
+
*/
|
|
3602
|
+
type LoopEventPayload = Readonly<Record<string, unknown>> & {
|
|
3603
|
+
readonly type: string;
|
|
3604
|
+
};
|
|
3605
|
+
type LoopEventListener = (event: LoopEventPayload) => void;
|
|
3606
|
+
/**
|
|
3607
|
+
* Fired around a loop-orchestration decision (not a model/tool call inside the worker's own CLI session — that
|
|
3608
|
+
* loop is opaque to us). A `before*` hook can return `{ block: true, reason }` to stop the action outright; any
|
|
3609
|
+
* other return value (including a thrown error, which is treated as `{ block: true }`) does not block.
|
|
3610
|
+
*/
|
|
3611
|
+
type LoopHookName = 'beforeDispatch' | 'afterDispatch' | 'beforeReview' | 'afterReview' | 'beforeMerge' | 'afterMerge' | 'onPause' | 'onEscalate';
|
|
3612
|
+
type LoopHookPayload = Readonly<Record<string, unknown>>;
|
|
3613
|
+
type LoopHookResult = void | {
|
|
3614
|
+
readonly block: true;
|
|
3615
|
+
readonly reason: string;
|
|
3616
|
+
};
|
|
3617
|
+
type LoopHookListener = (payload: LoopHookPayload) => LoopHookResult | Promise<LoopHookResult>;
|
|
3618
|
+
interface LoopEventBus {
|
|
3619
|
+
/** Emit a loop event to every subscriber of its `type`. Never throws: a listener error is swallowed (composition must not fail because a plugin misbehaves). */
|
|
3620
|
+
emit(event: LoopEventPayload): void;
|
|
3621
|
+
/** Subscribe to one event type (or `'*'` for every event). Returns an unsubscribe function. */
|
|
3622
|
+
on(type: string | '*', listener: LoopEventListener): () => void;
|
|
3623
|
+
/** Register a lifecycle hook. Multiple listeners on the same hook all run; the first `{ block: true }` wins. */
|
|
3624
|
+
hook(name: LoopHookName, listener: LoopHookListener): () => void;
|
|
3625
|
+
/**
|
|
3626
|
+
* Run every listener registered for `name` in registration order and return the first block decision, or
|
|
3627
|
+
* `{ block: false }` when none blocked. A listener that throws is treated as a non-blocking no-op (a broken
|
|
3628
|
+
* plugin must not take down the loop) and its error is appended to `errors`.
|
|
3629
|
+
*/
|
|
3630
|
+
runHook(name: LoopHookName, payload: LoopHookPayload): Promise<{
|
|
3631
|
+
readonly block: boolean;
|
|
3632
|
+
readonly reason?: string;
|
|
3633
|
+
readonly errors: readonly string[];
|
|
3634
|
+
}>;
|
|
3635
|
+
}
|
|
3636
|
+
declare const createLoopEventBus: () => LoopEventBus;
|
|
3637
|
+
/**
|
|
3638
|
+
* Load `plugins.modules` (local `.mjs` files, the same trust level as `agents.registry.yaml`: files the project
|
|
3639
|
+
* owner put in their own repo, never fetched over the network) and give each one the bus to subscribe to. A
|
|
3640
|
+
* module that fails to load or whose `apply` throws is reported, not fatal — one broken plugin must not stop tick
|
|
3641
|
+
* or deliver from running.
|
|
3642
|
+
*/
|
|
3643
|
+
interface LoopPluginModule {
|
|
3644
|
+
readonly id: string;
|
|
3645
|
+
readonly apply: (bus: LoopEventBus) => void | Promise<void>;
|
|
3646
|
+
}
|
|
3647
|
+
declare const loadLoopPlugins: (root: string, modulePaths: readonly string[], bus: LoopEventBus) => Promise<{
|
|
3648
|
+
readonly loaded: readonly string[];
|
|
3649
|
+
readonly errors: readonly {
|
|
3650
|
+
readonly path: string;
|
|
3651
|
+
readonly error: string;
|
|
3652
|
+
}[];
|
|
3653
|
+
}>;
|
|
3654
|
+
|
|
3541
3655
|
type TickOutcome = 'dispatched' | 'dry-run' | 'skipped' | 'escalated' | 'failed';
|
|
3542
3656
|
interface TickCandidateResult {
|
|
3543
3657
|
readonly issue: string;
|
|
@@ -3591,6 +3705,10 @@ interface DispatchRecordFile {
|
|
|
3591
3705
|
readonly timedOut: boolean;
|
|
3592
3706
|
} | null;
|
|
3593
3707
|
readonly effort: EffortLevel;
|
|
3708
|
+
/** Builder provider's remaining Orca usage percent at dispatch time (`resilience.maxUsageDeltaPercent` cost guard); `null` when usage was unknown. */
|
|
3709
|
+
readonly initialRemainingPercent: number | null;
|
|
3710
|
+
/** Absolute path to the Orca worktree, so `loop status`/`debrief`/`watch` can best-effort read `progress.json` from it. */
|
|
3711
|
+
readonly worktreePath: string;
|
|
3594
3712
|
}
|
|
3595
3713
|
interface TickInput {
|
|
3596
3714
|
readonly configPath?: string;
|
|
@@ -3635,8 +3753,9 @@ declare const dispatchRecordPath: (stateDir: string, identifier: string) => stri
|
|
|
3635
3753
|
declare const briefPath: (stateDir: string, identifier: string) => string;
|
|
3636
3754
|
declare const readDispatchRecord: (stateDir: string, identifier: string) => DispatchRecordFile | null;
|
|
3637
3755
|
declare const writeDispatchRecord: (stateDir: string, record: DispatchRecordFile) => string;
|
|
3638
|
-
declare const appendLoopEvent: (stateDir: string, event: Record<string, unknown
|
|
3756
|
+
declare const appendLoopEvent: (stateDir: string, event: Record<string, unknown>, bus?: LoopEventBus) => void;
|
|
3639
3757
|
interface LoopState {
|
|
3758
|
+
readonly person: string;
|
|
3640
3759
|
readonly providers: readonly ProviderAvailability[];
|
|
3641
3760
|
readonly routing: Readonly<Record<string, RoutingDecision>>;
|
|
3642
3761
|
readonly worktrees: readonly OrcaWorktree[];
|
|
@@ -3867,6 +3986,19 @@ declare const parseAutomationRuns: (result: unknown) => readonly {
|
|
|
3867
3986
|
}[];
|
|
3868
3987
|
declare const loopStatus: (input: Pick<InstallInput, "configPath" | "loaded" | "runner">) => Promise<LoopStatusReport>;
|
|
3869
3988
|
|
|
3989
|
+
declare const rotationStatePath: (stateDir: string) => string;
|
|
3990
|
+
/** Effective owner for this machine; without rotation the versioned config remains authoritative. */
|
|
3991
|
+
declare const queueOwner: (loaded: LoadedLoopConfig) => string;
|
|
3992
|
+
/** Advance once, only after the current owner has no dispatchable work and no active lease. */
|
|
3993
|
+
declare const advanceQueueOwner: (loaded: LoadedLoopConfig, input: {
|
|
3994
|
+
readonly queueEmpty: boolean;
|
|
3995
|
+
readonly activeLeases: number;
|
|
3996
|
+
readonly now?: Date;
|
|
3997
|
+
}) => {
|
|
3998
|
+
readonly owner: string;
|
|
3999
|
+
readonly advanced: boolean;
|
|
4000
|
+
};
|
|
4001
|
+
|
|
3870
4002
|
interface GuidedInstallIO {
|
|
3871
4003
|
/** Ask a yes/no question; `fallback` is used when the answer is empty. */
|
|
3872
4004
|
readonly confirm: (question: string, fallback: boolean) => Promise<boolean>;
|
|
@@ -3973,6 +4105,19 @@ declare const promptLocalConfig: (runner: CommandRunner, loaded: LoadedLoopConfi
|
|
|
3973
4105
|
readonly currentUserHint?: string;
|
|
3974
4106
|
}) => Promise<LocalConfigAnswers | null>;
|
|
3975
4107
|
|
|
4108
|
+
/** One outcome id (from the frozen contract) mapped to how far the worker has gotten on it. */
|
|
4109
|
+
type OutcomeProgressStatus = 'in-progress' | 'done';
|
|
4110
|
+
type OutcomeProgress = Readonly<Record<string, OutcomeProgressStatus>>;
|
|
4111
|
+
/**
|
|
4112
|
+
* The worker cannot be asked "what have you done so far" — it is an opaque CLI session, and the contract's
|
|
4113
|
+
* outcome list (`brief.ts`) is a static plan frozen before dispatch, not a live todo list. The brief documents a
|
|
4114
|
+
* lightweight convention instead: the worker writes `progress.json` at its worktree root, one entry per outcome id
|
|
4115
|
+
* it has started or finished, and we read it back best-effort. A missing, unreadable or malformed file is not an
|
|
4116
|
+
* error — it just means no progress has been reported yet — because nothing enforces that a worker keeps it
|
|
4117
|
+
* current, and older dispatches never wrote one at all.
|
|
4118
|
+
*/
|
|
4119
|
+
declare const readOutcomeProgress: (worktreePath: string | null | undefined) => OutcomeProgress | null;
|
|
4120
|
+
|
|
3976
4121
|
interface DebriefInput {
|
|
3977
4122
|
readonly configPath?: string;
|
|
3978
4123
|
readonly loaded?: LoadedLoopConfig;
|
|
@@ -3998,6 +4143,8 @@ interface DebriefIssueRow {
|
|
|
3998
4143
|
readonly heldFor: string | null;
|
|
3999
4144
|
readonly finalOutcome: string | null;
|
|
4000
4145
|
readonly contractIntent: string | null;
|
|
4146
|
+
/** Best-effort read of `progress.json` from the worktree, keyed by outcome id (see brief.ts rule 10); `null` when the worker hasn't written one. */
|
|
4147
|
+
readonly progress: OutcomeProgress | null;
|
|
4001
4148
|
}
|
|
4002
4149
|
interface DebriefReport {
|
|
4003
4150
|
readonly generatedAt: string;
|
|
@@ -4293,4 +4440,4 @@ declare const discoverIntake: (runner: CommandRunner, input: {
|
|
|
4293
4440
|
readonly now: () => Date;
|
|
4294
4441
|
}, options?: GitHubCliOptions) => Promise<readonly IntakeRecord[]>;
|
|
4295
4442
|
|
|
4296
|
-
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 LoopIssue, 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, 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 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, 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, 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, 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, rankModels, readAaCache, readArtifactFile, readContextSnapshots, readCooldowns, readDeliveryState, readDispatchRecord, readEvidenceTrustStore, readIntake, readIssueFailures, readLearningsLedger, readLoopEvents, 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, routeAllRoles, runAdversarialReview, runAgentEval, runCodeReview, runDeliver, runEvalBattery, runGuidedInstall, runLoopDoctor, runRetroStage, runTick, runWithRecovery, runWorkflow, sampleMachine, 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 };
|
|
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 };
|