@effect-agent/pr-review 0.1.0-beta.22 → 0.1.0-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as MAX_REPORTED_UNASSIGNED_EVIDENCE_SHARDS, $n as ReviewFinding, $t as ReviewMode, A as MAX_REVIEW_CHILDREN, An as anchorViolation, Ar as commentableLines, At as parseGitHubSubmittedAt, B as fanOutHandlersLayer, Bn as FindingSeverity, Bt as retireStaleReviews, C as FileReviewer, Cn as ReviewCoverage, Cr as normalizeRepoRelativePath, Ct as PublishedReview, D as MAX_CHILD_CONCERNS, Dn as assessReviewCoverage, Dr as MAX_REVIEW_CONTENT_CHARS, Dt as gitHubPullRequestSourceLayer, E as ListReviewUnitsQuery, En as ReviewShape, Er as ChangedPath, Et as gitHubPriorReviewsLayer, F as ReviewWorkPhase, Fn as FileDiffView, Ft as ReviewRetirementHost, G as fileReviewerInstructions, Gn as MAX_PATCH_CHARS, Gt as estimateReviewEffort, H as fanOutReviewInstructions, Hn as ListChangedFilesQuery, Ht as ReviewCommentDraft, I as assessmentSettlesSuggestionExactly, In as FileReviewEvidenceChunk, It as ReviewRetirementInput, J as makeFileReviewerInstructions, Jn as PullRequestReviewer, Jt as renderAgentPrompt, K as makeFanOutReviewInstructions, Kn as MAX_WALKTHROUGH_ENTRIES, Kt as planPublication, L as confirmedFindingForPublication, Ln as FileSlice, Lt as ReviewRetirementReport, M as ReviewCandidate, Mn as ChangedFilesView, Mr as isReviewableFile, Mt as RetirableReviewComment, N as ReviewCandidateId, Nn as CodeReview, Nr as parsePatch, Nt as ReviewRetirementDecision, O as MAX_CHILD_FINDINGS, On as assessReviewPipeline, Or as PatchLine, Ot as gitHubReviewPublisherLayer, P as ReviewWorkPerspective, Pn as FileDiffQuery, Pr as renderReviewContent, Pt as ReviewRetirementFailure, Q as MAX_MERGED_FINDINGS, Qn as ReviewConcern, Qt as ReviewHeadComparison, R as defaultFanOutPolicy, Rn as FileSliceQuery, Rt as decideReviewRetirement, S as FileReviewWorkRejected, Sn as ReviewAssurance, Sr as ReviewInputViolation, St as PriorReviews, T as ListReviewUnits, Tn as ReviewPipelineAssessment, Tr as ChangedFileStatus, Tt as fingerprintUnchanged, U as fileReviewDelegation, Un as MAX_CONCERNS, Ut as ReviewEvent, V as fanOutHandlersLayerFor, Vn as ListChangedFiles, Vt as AGENT_PROMPT_PREAMBLE, W as fileReviewPolicy, Wn as MAX_FINDINGS, Wt as ReviewPublicationPlan, X as reviewCandidateSubjectKey, Xn as ReadFile, Xt as MAX_REVIEW_STATE_MARKER_CHARS, Y as mapFileReviewChildFailure, Yn as REVIEW_TOOL_RESULT_MAX_BYTES, Yt as GitCommitSha, Z as MAX_FILE_EVIDENCE_CHARS, Zn as ReadFileDiff, Zt as ReviewExecutionContext, _ as FileReviewRequest, _n as unavailableReviewStateAuthenticatorLayer, _r as MAX_CHANGED_FILES, _t as rankAndDedupeFindings, a as FanOutCoordinatorToolkit, an as ReviewStateMarker, ar as ReviewVerdict, at as ReviewEvidenceShard, b as FileReviewUnitFailed, bn as FailedReviewPass, br as PullRequestSource, bt as GitHubReviewTarget, c as FanOutReviewSuite, cn as StoredReviewFinding, cr as defaultReviewPolicy, ct as ReviewRiskCategory, d as FanOutSuiteOptions, dn as fromStoredConcern, dr as listChangedFilesHandler, dt as ReviewUnitPlan, en as ReviewScopeMode, er as ReviewGuidance, et as MAX_REVIEW_UNITS, f as FileReviewBrief, fn as fromStoredFinding, fr as makeReviewInstructions, ft as UNIT_CHANGED_LINE_BUDGET, g as FileReviewReport, gn as toStoredFinding, gr as reviewInstructions, gt as planReviewUnits, h as FileReviewFailure, hn as toStoredConcern, hr as resolveGuidance, ht as findingAnchorInUnitEvidence, i as DiscoveredConcern, in as ReviewStateAuthenticator, ir as ReviewToolkitLayer, it as ReviewDiscoveryPerspective, j as MAX_UNIT_CANDIDATES, jn as ChangedFileSummary, jr as hasReviewableContent, jt as RetirableReview, k as MAX_FILE_REVIEW_TOOL_CALLS, kn as collectUnitFileSummaries, kr as annotatePatch, kt as gitHubReviewRetirementHostLayer, l as FanOutReviewToolkit, ln as buildProfileMission, lr as fileDiffView, lt as ReviewUnit, m as FileReviewEvidence, mn as selectedPullRequestSourceLayer, mr as readFileHandler, mt as classifyReviewRisks, n as ConcernCandidate, nn as ReviewState, nr as ReviewMission, nt as MAX_UNIT_FILES, o as FanOutCoordinatorToolkitLayer, on as ReviewStateMarkerTooLarge, or as WalkthroughEntry, ot as ReviewEvidenceShardId, p as FileReviewDelegationFailure, pn as selectReviewRange, pr as readFileDiffHandler, pt as UNIT_EVIDENCE_CHAR_BUDGET, q as makeFanOutReviewSuite, qn as MAX_WALKTHROUGH_SUMMARY_CHARS, qt as planWalkthrough, r as DelegateFileReview, rn as ReviewStateAuthenticationFailure, rr as ReviewToolkit, rt as ReviewDiscoveryPass, s as FanOutInstructionOptions, sn as StoredReviewConcern, sr as clampMaxFindings, st as ReviewPassId, t as CandidateAssessment, tn as ReviewSelection, tr as ReviewInstructionOptions, tt as MAX_UNIT_EVIDENCE_SHARDS, u as FanOutReviewer, un as computeProfileFingerprint, ur as fileReviewEvidenceChunks, ut as ReviewUnitId, v as FileReviewToolkit, vn as validateReviewState, vr as MAX_FILE_CHARS, vt as DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN, w as FindingCandidate, wn as ReviewInputCoverage, wr as ChangedFile, wt as ReviewPublisher, x as FileReviewUnitResult, xn as FailedReviewUnit, xr as PullRequestSourceFailure, xt as PriorReviewLookupFailure, y as FileReviewToolkitLayer, yn as webCryptoReviewStateAuthenticatorLayer, yr as PullRequestMetadata, yt as GitHubApiFailure, z as defaultFileReviewerPolicy, zn as FindingCategory, zt as hasReviewMetadataMarker } from "./fan-out-n-00ppWr.mjs";
1
+ import { $ as decideReviewRetirement, $n as readFileHandler, $t as ReviewDiscoveryPass, A as makeFileReviewerInstructions, An as MAX_PATCH_CHARS, At as selectedPullRequestSourceLayer, B as fingerprintUnchanged, Bn as ReviewInstructionOptions, Bt as ReviewCoverage, C as ReviewWorkPerspective, Cn as FileSliceQuery, Ct as StoredReviewConcern, D as defaultFileReviewerPolicy, Dn as ListChangedFilesQuery, Dt as fromStoredConcern, E as confirmedFindingForPublication, En as ListChangedFiles, Et as computeProfileFingerprint, F as GitHubReviewTarget, Fn as ReadFile, Ft as webCryptoReviewStateAuthenticatorLayer, G as parseGitHubSubmittedAt, Gn as WalkthroughEntry, Gt as fanOutInputCoverage, H as gitHubPullRequestSourceLayer, Hn as ReviewToolkit, Ht as assessFlatReview, I as PriorReviewLookupFailure, In as ReadFileDiff, It as FailedReviewPass, J as ReviewRetirementDecision, Jn as fileDiffView, Jt as MAX_MERGED_FINDINGS, K as RetirableReview, Kn as clampMaxFindings, Kt as flatAssurance, L as PriorReviews, Ln as ReviewConcern, Lt as FailedReviewUnit, M as runFanOutReview, Mn as MAX_WALKTHROUGH_SUMMARY_CHARS, Mt as toStoredFinding, N as DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN, Nn as PullRequestReviewer, Nt as unavailableReviewStateAuthenticatorLayer, O as fileReviewerInstructions, On as MAX_CONCERNS, Ot as fromStoredFinding, P as GitHubApiFailure, Pn as REVIEW_TOOL_RESULT_MAX_BYTES, Pt as validateReviewState, Q as ReviewRetirementReport, Qn as readFileDiffHandler, Qt as MAX_UNIT_FILES, R as PublishedReview, Rn as ReviewFinding, Rt as FlatReviewAssessment, S as ReviewPassMisbehaved, Sn as FileSlice, St as ReviewStateMarkerTooLarge, T as assessmentSettlesSuggestionExactly, Tn as FindingSeverity, Tt as buildProfileMission, U as gitHubReviewPublisherLayer, Un as ReviewToolkitLayer, Ut as boundedListReason, V as gitHubPriorReviewsLayer, Vn as ReviewMission, Vt as ReviewInputCoverage, W as gitHubReviewRetirementHostLayer, Wn as ReviewVerdict, Wt as compatibilityCoverage, X as ReviewRetirementHost, Xn as listChangedFilesHandler, Xt as MAX_REVIEW_UNITS, Y as ReviewRetirementFailure, Yn as fileReviewEvidenceChunks, Yt as MAX_REPORTED_UNASSIGNED_EVIDENCE_SHARDS, Z as ReviewRetirementInput, Zn as makeReviewInstructions, Zt as MAX_UNIT_EVIDENCE_SHARDS, _ as MAX_REVIEW_CHILDREN, _n as ChangedFilesView, _r as isReviewableFile, _t as ReviewSelection, a as FanOutPipelineInput, an as ReviewUnit, ar as PullRequestSource, at as ReviewPublicationPlan, b as ReviewCandidate, bn as FileDiffView, bt as ReviewStateAuthenticator, c as FileReviewEvidence, cn as UNIT_CHANGED_LINE_BUDGET, cr as normalizeRepoRelativePath, ct as planWalkthrough, d as FileReviewer, dn as findingAnchorInUnitEvidence, dr as ChangedPath, dt as MAX_REVIEW_STATE_MARKER_CHARS, en as ReviewDiscoveryPerspective, er as resolveGuidance, et as hasReviewMetadataMarker, f as FileReviewerBinding, fn as planReviewUnits, fr as MAX_REVIEW_CONTENT_CHARS, ft as MAX_STORED_UNREVIEWED_PATHS, g as MAX_FILE_REVIEW_TOOL_CALLS, gn as ChangedFileSummary, gr as hasReviewableContent, gt as ReviewScopeMode, h as MAX_CHILD_FINDINGS, hn as anchorViolation, hr as commentableLines, ht as ReviewMode, i as FanOutInstructionOptions, in as ReviewRiskCategory, ir as PullRequestMetadata, it as ReviewEvent, j as reviewCandidateSubjectKey, jn as MAX_WALKTHROUGH_ENTRIES, jt as toStoredConcern, k as makeFileReviewerDefinition, kn as MAX_FINDINGS, kt as selectReviewRange, l as FileReviewReport, ln as UNIT_EVIDENCE_CHAR_BUDGET, lr as ChangedFile, lt as renderAgentPrompt, m as MAX_CHILD_CONCERNS, mn as rankAndDedupeFindings, mr as annotatePatch, mt as ReviewHeadComparison, n as ConcernCandidate, nn as ReviewEvidenceShardId, nr as MAX_CHANGED_FILES, nt as AGENT_PROMPT_PREAMBLE, o as FanOutPipelineOutcome, on as ReviewUnitId, or as PullRequestSourceFailure, ot as estimateReviewEffort, p as FindingCandidate, pn as rankAndDedupeConcerns, pr as PatchLine, pt as ReviewExecutionContext, q as RetirableReviewComment, qn as defaultReviewPolicy, qt as MAX_FILE_EVIDENCE_CHARS, r as DiscoveredConcern, rn as ReviewPassId, rr as MAX_FILE_CHARS, rt as ReviewCommentDraft, s as FileReviewBrief, sn as ReviewUnitPlan, sr as ReviewInputViolation, st as planPublication, t as CandidateAssessment, tn as ReviewEvidenceShard, tr as reviewInstructions, tt as retireStaleReviews, u as FileReviewToolkit, un as classifyReviewRisks, ur as ChangedFileStatus, ut as GitCommitSha, v as MAX_UNIT_CANDIDATES, vn as CodeReview, vr as parsePatch, vt as ReviewState, w as ReviewWorkPhase, wn as FindingCategory, wt as StoredReviewFinding, x as ReviewCandidateId, xn as FileReviewEvidenceChunk, xt as ReviewStateMarker, y as REVIEW_UNIT_CONCURRENCY, yn as FileDiffQuery, yr as renderReviewContent, yt as ReviewStateAuthenticationFailure, z as ReviewPublisher, zn as ReviewGuidance, zt as ReviewAssurance } from "./fan-out-BJBTAYuh.mjs";
2
2
  import { Config, Context, Effect, FileSystem, Layer, LogLevel, Logger, Option, Schema } from "effect";
3
3
  import { Agent, AgentPolicyInput, IdGenerator, RuntimeBinding, UsageBudgetLimits, UsageTotals } from "effect-agent";
4
4
  import { LanguageModel, Model, Tool, Toolkit } from "effect/unstable/ai";
@@ -56,12 +56,9 @@ declare const resolveEffortRung: <const Rung extends EffortAliasName>(position:
56
56
  */
57
57
  declare const reviewBudgetLimits: UsageBudgetLimits;
58
58
  /**
59
- * Run-level bounds for the fan-out coordinator. This budget observes only
60
- * the COORDINATOR'S own usage delegated children are bounded separately by
61
- * the delegation's `SubagentPolicy` reservation and the child definition's
62
- * own `AgentPolicy`, never silently by the parent's budget. The duration
63
- * ceiling is wider because delegation Tool Calls hold the parent turn open
64
- * while bounded children run.
59
+ * Run-level bounds for the fan-out pipeline. One budget observes EVERY child
60
+ * pass, so the ceiling covers bounded parallel discovery and verification
61
+ * plus the one-retry allowance.
65
62
  */
66
63
  declare const fanOutReviewBudgetLimits: UsageBudgetLimits;
67
64
  declare const ReviewRunOutcome_base: Schema.Class<ReviewRunOutcome, Schema.Struct<{
@@ -74,23 +71,16 @@ declare const ReviewRunOutcome_base: Schema.Class<ReviewRunOutcome, Schema.Struc
74
71
  readonly coverage: typeof ReviewCoverage;
75
72
  /** Exact path/evidence assignment, distinct from semantic review work. */
76
73
  readonly inputCoverage: typeof ReviewInputCoverage;
77
- /** Settlement of configured discovery, specialist, and verification work. */
74
+ /** Settlement of scheduled discovery, specialist, and verification work. */
78
75
  readonly assurance: typeof ReviewAssurance;
76
+ /** Retryable scope this run could not settle; carried to the next run. */
77
+ readonly unreviewedPaths: Schema.$Array<Schema.NonEmptyString>;
79
78
  readonly plan: typeof ReviewPublicationPlan;
80
79
  readonly published: Schema.optionalKey<typeof PublishedReview>;
80
+ /** Total settled model turns (all child passes for the fan-out pipeline). */
81
81
  readonly turns: Schema.Int;
82
- /**
83
- * The run budget's observed usage. For the fan-out reviewer this observes
84
- * the COORDINATOR only — delegated children are bounded and accounted
85
- * separately by their reservations.
86
- */
82
+ /** The run budget's observed usage across the whole run. */
87
83
  readonly usage: Schema.optionalKey<typeof UsageTotals>;
88
- /**
89
- * What `usage` observed: the whole run, or a fan-out coordinator only.
90
- * Absent when the caller declared no scope — consumers must not present
91
- * unscoped usage as whole-run totals.
92
- */
93
- readonly usageScope: Schema.optionalKey<Schema.Literals<readonly ["run", "coordinator"]>>;
94
84
  readonly reviewMode: Schema.optionalKey<Schema.Literals<readonly ["incremental", "full"]>>;
95
85
  readonly reviewReason: Schema.optionalKey<Schema.String>;
96
86
  readonly state: Schema.optionalKey<typeof ReviewState>;
@@ -102,7 +92,7 @@ interface ExecuteReviewOptions {
102
92
  readonly post: boolean;
103
93
  /** Map the model's verdict onto APPROVE/REQUEST_CHANGES instead of COMMENT. */
104
94
  readonly applyVerdict: boolean;
105
- /** Run-level usage bounds; defaults to `reviewBudgetLimits`. */
95
+ /** Run-level usage bounds; defaults to the shape's packaged limits. */
106
96
  readonly limits?: UsageBudgetLimits | undefined;
107
97
  /**
108
98
  * Host-side findings bound (fail-closed backstop for the instruction-level
@@ -120,29 +110,25 @@ interface ExecuteReviewOptions {
120
110
  readonly modelLabel?: string | undefined;
121
111
  /** Workflow-run URL rendered into the review footer. */
122
112
  readonly runUrl?: string | undefined;
123
- /**
124
- * What the run budget observes: the whole run, or a fan-out coordinator
125
- * only. Without a declared scope the footer omits usage entirely — this
126
- * generic path cannot know what a caller's binding shape observes, and an
127
- * unlabeled number would read as whole-run totals.
128
- */
129
- readonly usageScope?: "run" | "coordinator" | undefined;
130
- /** Host-owned coverage shape; defaults to the flat reviewer. */
131
- readonly reviewShape?: ReviewShape | undefined;
132
113
  }
133
114
  /** Build the mission one review run frames from the source's snapshot. */
134
115
  declare const buildReviewMission: (metadata: PullRequestMetadata, files: ReadonlyArray<ChangedFile>) => ReviewMission;
135
116
  /** Enforce the configured findings bound on an already-validated review. */
136
117
  declare const enforceFindingsBound: (review: CodeReview, maxFindings: number) => CodeReview;
137
118
  /**
138
- * Execute one review with any explicit Agent Binding whose contract is
139
- * `ReviewMission -> CodeReview` the flat reviewer or the fan-out
140
- * coordinator; the toolkit stays generic because publication only depends on
141
- * the shared output contract. The binding stays a parameter (D-027): tests
119
+ * Execute one flat review with any explicit Agent Binding whose contract is
120
+ * `ReviewMission -> CodeReview`. The binding stays a parameter (D-027): tests
142
121
  * pass scripted models, hosts pass live provider bindings, and the model
143
122
  * Layer's requirements stay visible in this Effect's `R`.
144
123
  */
145
124
  declare const executeReview: <Instructions, Tools extends Record<string, Tool.Any>, Provider, ModelProvides, ModelRequires>(binding: RuntimeBinding<typeof ReviewMission, typeof CodeReview, Instructions, Tools, Provider, ModelProvides, ModelRequires>, options: ExecuteReviewOptions) => Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | Schema.SchemaError | ((Instructions & string extends (infer T) ? T extends Instructions & string ? T extends ((input: ReviewMission) => infer Result) ? Result : T : never : never) extends (infer T_1) ? T_1 extends (Instructions & string extends (infer T) ? T extends Instructions & string ? T extends ((input: ReviewMission) => infer Result) ? Result : T : never : never) ? T_1 extends Effect.Effect<infer _Success, infer Error, infer _Services> ? Error : never : never : never) | ((Instructions & Iterable<import("effect/unstable/ai/Prompt").MessageEncoded> extends (infer T_2) ? T_2 extends Instructions & Iterable<import("effect/unstable/ai/Prompt").MessageEncoded> ? T_2 extends ((input: ReviewMission) => infer Result) ? Result : T_2 : never : never) extends (infer T_3) ? T_3 extends (Instructions & Iterable<import("effect/unstable/ai/Prompt").MessageEncoded> extends (infer T_2) ? T_2 extends Instructions & Iterable<import("effect/unstable/ai/Prompt").MessageEncoded> ? T_2 extends ((input: ReviewMission) => infer Result) ? Result : T_2 : never : never) ? T_3 extends Effect.Effect<infer _Success, infer Error, infer _Services> ? Error : never : never : never) | ((Instructions & import("effect/unstable/ai/Prompt").Prompt extends (infer T_4) ? T_4 extends Instructions & import("effect/unstable/ai/Prompt").Prompt ? T_4 extends ((input: ReviewMission) => infer Result) ? Result : T_4 : never : never) extends (infer T_5) ? T_5 extends (Instructions & import("effect/unstable/ai/Prompt").Prompt extends (infer T_4) ? T_4 extends Instructions & import("effect/unstable/ai/Prompt").Prompt ? T_4 extends ((input: ReviewMission) => infer Result) ? Result : T_4 : never : never) ? T_5 extends Effect.Effect<infer _Success, infer Error, infer _Services> ? Error : never : never : never) | ((Instructions & ((input: ReviewMission) => import("effect-agent").InstructionResult<NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_1, infer Error_1, infer _Requirements> ? Error_1 : never>, NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never>>) extends (infer T_6) ? T_6 extends Instructions & ((input: ReviewMission) => import("effect-agent").InstructionResult<NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_1, infer Error_1, infer _Requirements> ? Error_1 : never>, NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never>>) ? T_6 extends ((input: ReviewMission) => infer Result) ? Result : T_6 : never : never) extends (infer T_7) ? T_7 extends (Instructions & ((input: ReviewMission) => import("effect-agent").InstructionResult<NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_1, infer Error_1, infer _Requirements> ? Error_1 : never>, NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never>>) extends (infer T_6) ? T_6 extends Instructions & ((input: ReviewMission) => import("effect-agent").InstructionResult<NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_1, infer Error_1, infer _Requirements> ? Error_1 : never>, NoInfer<(Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never>>) ? T_6 extends ((input: ReviewMission) => infer Result) ? Result : T_6 : never : never) ? T_7 extends Effect.Effect<infer _Success, infer Error, infer _Services> ? Error : never : never : never) | import("effect-agent").Agent.RunDispositionFailure<RuntimeBinding<typeof ReviewMission, typeof CodeReview, Instructions, Tools, Provider, ModelProvides, ModelRequires, (Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_1, infer Error_1, infer _Requirements> ? Error_1 : never, (Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never, undefined>>, import("effect-agent").IdGenerator | PullRequestSource | ReviewPublisher | import("effect/Scope").Scope | Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices> | Exclude<Tool.HandlersFor<Tools>, import("effect-agent").EngineProvidedToolServices> | Exclude<Tool.HandlerServices<Tools[keyof Tools]>, import("effect-agent").EngineProvidedToolServices> | ((Instructions extends ((input: ReviewMission) => infer Result_1) ? Result_1 : Instructions) extends Effect.Effect<infer _Success_2, infer _Error, infer Requirements> ? Requirements : never)>;
125
+ /**
126
+ * Execute one host-scheduled fan-out review: deterministic planning,
127
+ * independent discovery and verification child passes with bounded retries,
128
+ * and a host-composed review from verifier-confirmed candidates only. One
129
+ * budget observes every child pass, so the reported usage is whole-run.
130
+ */
131
+ declare const executeFanOutReview: <Provider, ModelProvides, ModelRequires>(binding: FileReviewerBinding<Provider, ModelProvides, ModelRequires>, options: ExecuteReviewOptions) => Effect.Effect<ReviewRunOutcome, GitHubApiFailure | PullRequestSourceFailure, import("effect-agent").IdGenerator | PullRequestSource | ReviewPublisher | Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, import("effect/Scope").Scope>>;
146
132
  //#endregion
147
133
  //#region src/internal/factory.d.ts
148
134
  /** Options shared by both reviewer shapes. */
@@ -207,12 +193,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
207
193
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
208
194
  readonly parameters: typeof FileDiffQuery;
209
195
  readonly success: typeof FileDiffView;
210
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
196
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
211
197
  readonly failureMode: "return";
212
198
  }, PullRequestSource>, Tool.Tool<"read_file", {
213
199
  readonly parameters: typeof FileSliceQuery;
214
200
  readonly success: typeof FileSlice;
215
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
201
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
216
202
  readonly failureMode: "return";
217
203
  }, PullRequestSource>, ...Extra]>>, undefined>;
218
204
  readonly binding: Readonly<{
@@ -224,17 +210,17 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
224
210
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
225
211
  readonly parameters: typeof FileDiffQuery;
226
212
  readonly success: typeof FileDiffView;
227
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
213
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
228
214
  readonly failureMode: "return";
229
215
  }, PullRequestSource>, Tool.Tool<"read_file", {
230
216
  readonly parameters: typeof FileSliceQuery;
231
217
  readonly success: typeof FileSlice;
232
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
218
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
233
219
  readonly failureMode: "return";
234
220
  }, PullRequestSource>, ...Extra]>>, undefined>;
235
221
  model: Model.Model<Provider, ModelProvides | LanguageModel.LanguageModel, ModelRequires>;
236
222
  }>;
237
- readonly run: (runOptions?: RunReviewOptions) => Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | import("effect/Schema").SchemaError | Agent.RunDispositionFailure<import("effect-agent").RuntimeBinding<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
223
+ readonly run: (runOptions?: RunReviewOptions) => Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | Schema.SchemaError | Agent.RunDispositionFailure<import("effect-agent").RuntimeBinding<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
238
224
  readonly parameters: typeof ListChangedFilesQuery;
239
225
  readonly success: typeof ChangedFilesView;
240
226
  readonly failure: typeof PullRequestSourceFailure;
@@ -242,12 +228,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
242
228
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
243
229
  readonly parameters: typeof FileDiffQuery;
244
230
  readonly success: typeof FileDiffView;
245
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
231
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
246
232
  readonly failureMode: "return";
247
233
  }, PullRequestSource>, Tool.Tool<"read_file", {
248
234
  readonly parameters: typeof FileSliceQuery;
249
235
  readonly success: typeof FileSlice;
250
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
236
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
251
237
  readonly failureMode: "return";
252
238
  }, PullRequestSource>, ...Extra]>, Provider, ModelProvides, ModelRequires, never, never, undefined>>, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
253
239
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -259,13 +245,13 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
259
245
  readonly read_file: Tool.Tool<"read_file", {
260
246
  readonly parameters: typeof FileSliceQuery;
261
247
  readonly success: typeof FileSlice;
262
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
248
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
263
249
  readonly failureMode: "return";
264
250
  }, PullRequestSource>;
265
251
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
266
252
  readonly parameters: typeof FileDiffQuery;
267
253
  readonly success: typeof FileDiffView;
268
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
254
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
269
255
  readonly failureMode: "return";
270
256
  }, PullRequestSource>;
271
257
  }>>, import("effect/Scope").Scope> | Exclude<Exclude<Exclude<Tool.HandlersFor<Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
@@ -276,12 +262,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
276
262
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
277
263
  readonly parameters: typeof FileDiffQuery;
278
264
  readonly success: typeof FileDiffView;
279
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
265
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
280
266
  readonly failureMode: "return";
281
267
  }, PullRequestSource>, Tool.Tool<"read_file", {
282
268
  readonly parameters: typeof FileSliceQuery;
283
269
  readonly success: typeof FileSlice;
284
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
270
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
285
271
  readonly failureMode: "return";
286
272
  }, PullRequestSource>, ...Extra]>>, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
287
273
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -293,13 +279,13 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
293
279
  readonly read_file: Tool.Tool<"read_file", {
294
280
  readonly parameters: typeof FileSliceQuery;
295
281
  readonly success: typeof FileSlice;
296
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
282
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
297
283
  readonly failureMode: "return";
298
284
  }, PullRequestSource>;
299
285
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
300
286
  readonly parameters: typeof FileDiffQuery;
301
287
  readonly success: typeof FileDiffView;
302
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
288
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
303
289
  readonly failureMode: "return";
304
290
  }, PullRequestSource>;
305
291
  }>>, import("effect/Scope").Scope> | Exclude<Exclude<Exclude<Tool.HandlerServices<Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
@@ -310,12 +296,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
310
296
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
311
297
  readonly parameters: typeof FileDiffQuery;
312
298
  readonly success: typeof FileDiffView;
313
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
299
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
314
300
  readonly failureMode: "return";
315
301
  }, PullRequestSource>, Tool.Tool<"read_file", {
316
302
  readonly parameters: typeof FileSliceQuery;
317
303
  readonly success: typeof FileSlice;
318
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
304
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
319
305
  readonly failureMode: "return";
320
306
  }, PullRequestSource>, ...Extra]>[keyof Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
321
307
  readonly parameters: typeof ListChangedFilesQuery;
@@ -325,12 +311,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
325
311
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
326
312
  readonly parameters: typeof FileDiffQuery;
327
313
  readonly success: typeof FileDiffView;
328
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
314
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
329
315
  readonly failureMode: "return";
330
316
  }, PullRequestSource>, Tool.Tool<"read_file", {
331
317
  readonly parameters: typeof FileSliceQuery;
332
318
  readonly success: typeof FileSlice;
333
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
319
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
334
320
  readonly failureMode: "return";
335
321
  }, PullRequestSource>, ...Extra]>]>, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
336
322
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -342,16 +328,16 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
342
328
  readonly read_file: Tool.Tool<"read_file", {
343
329
  readonly parameters: typeof FileSliceQuery;
344
330
  readonly success: typeof FileSlice;
345
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
331
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
346
332
  readonly failureMode: "return";
347
333
  }, PullRequestSource>;
348
334
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
349
335
  readonly parameters: typeof FileDiffQuery;
350
336
  readonly success: typeof FileDiffView;
351
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
337
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
352
338
  readonly failureMode: "return";
353
339
  }, PullRequestSource>;
354
- }>>, import("effect/Scope").Scope>> | Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | import("effect/Schema").SchemaError | Agent.RunDispositionFailure<import("effect-agent").RuntimeBinding<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
340
+ }>>, import("effect/Scope").Scope>> | Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | Schema.SchemaError | Agent.RunDispositionFailure<import("effect-agent").RuntimeBinding<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
355
341
  readonly parameters: typeof ListChangedFilesQuery;
356
342
  readonly success: typeof ChangedFilesView;
357
343
  readonly failure: typeof PullRequestSourceFailure;
@@ -359,12 +345,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
359
345
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
360
346
  readonly parameters: typeof FileDiffQuery;
361
347
  readonly success: typeof FileDiffView;
362
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
348
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
363
349
  readonly failureMode: "return";
364
350
  }, PullRequestSource>, Tool.Tool<"read_file", {
365
351
  readonly parameters: typeof FileSliceQuery;
366
352
  readonly success: typeof FileSlice;
367
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
353
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
368
354
  readonly failureMode: "return";
369
355
  }, PullRequestSource>, ...Extra]>, Provider, ModelProvides, ModelRequires, never, never, undefined>>, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
370
356
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -376,13 +362,13 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
376
362
  readonly read_file: Tool.Tool<"read_file", {
377
363
  readonly parameters: typeof FileSliceQuery;
378
364
  readonly success: typeof FileSlice;
379
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
365
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
380
366
  readonly failureMode: "return";
381
367
  }, PullRequestSource>;
382
368
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
383
369
  readonly parameters: typeof FileDiffQuery;
384
370
  readonly success: typeof FileDiffView;
385
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
371
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
386
372
  readonly failureMode: "return";
387
373
  }, PullRequestSource>;
388
374
  }>>, import("effect/Scope").Scope>, PullRequestSource> | Exclude<Exclude<Exclude<Exclude<Tool.HandlersFor<Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
@@ -393,12 +379,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
393
379
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
394
380
  readonly parameters: typeof FileDiffQuery;
395
381
  readonly success: typeof FileDiffView;
396
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
382
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
397
383
  readonly failureMode: "return";
398
384
  }, PullRequestSource>, Tool.Tool<"read_file", {
399
385
  readonly parameters: typeof FileSliceQuery;
400
386
  readonly success: typeof FileSlice;
401
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
387
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
402
388
  readonly failureMode: "return";
403
389
  }, PullRequestSource>, ...Extra]>>, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
404
390
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -410,13 +396,13 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
410
396
  readonly read_file: Tool.Tool<"read_file", {
411
397
  readonly parameters: typeof FileSliceQuery;
412
398
  readonly success: typeof FileSlice;
413
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
399
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
414
400
  readonly failureMode: "return";
415
401
  }, PullRequestSource>;
416
402
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
417
403
  readonly parameters: typeof FileDiffQuery;
418
404
  readonly success: typeof FileDiffView;
419
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
405
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
420
406
  readonly failureMode: "return";
421
407
  }, PullRequestSource>;
422
408
  }>>, import("effect/Scope").Scope>, PullRequestSource> | Exclude<Exclude<Exclude<Exclude<Tool.HandlerServices<Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
@@ -427,12 +413,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
427
413
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
428
414
  readonly parameters: typeof FileDiffQuery;
429
415
  readonly success: typeof FileDiffView;
430
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
416
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
431
417
  readonly failureMode: "return";
432
418
  }, PullRequestSource>, Tool.Tool<"read_file", {
433
419
  readonly parameters: typeof FileSliceQuery;
434
420
  readonly success: typeof FileSlice;
435
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
421
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
436
422
  readonly failureMode: "return";
437
423
  }, PullRequestSource>, ...Extra]>[keyof Toolkit.ToolsByName<[Tool.Tool<"list_changed_files", {
438
424
  readonly parameters: typeof ListChangedFilesQuery;
@@ -442,12 +428,12 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
442
428
  }, PullRequestSource>, Tool.Tool<"read_file_diff", {
443
429
  readonly parameters: typeof FileDiffQuery;
444
430
  readonly success: typeof FileDiffView;
445
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
431
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
446
432
  readonly failureMode: "return";
447
433
  }, PullRequestSource>, Tool.Tool<"read_file", {
448
434
  readonly parameters: typeof FileSliceQuery;
449
435
  readonly success: typeof FileSlice;
450
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
436
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
451
437
  readonly failureMode: "return";
452
438
  }, PullRequestSource>, ...Extra]>]>, import("effect-agent").EngineProvidedToolServices>, IdGenerator | Tool.HandlersFor<{
453
439
  readonly list_changed_files: Tool.Tool<"list_changed_files", {
@@ -459,13 +445,13 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
459
445
  readonly read_file: Tool.Tool<"read_file", {
460
446
  readonly parameters: typeof FileSliceQuery;
461
447
  readonly success: typeof FileSlice;
462
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
448
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
463
449
  readonly failureMode: "return";
464
450
  }, PullRequestSource>;
465
451
  readonly read_file_diff: Tool.Tool<"read_file_diff", {
466
452
  readonly parameters: typeof FileDiffQuery;
467
453
  readonly success: typeof FileDiffView;
468
- readonly failure: import("effect/Schema").Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
454
+ readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
469
455
  readonly failureMode: "return";
470
456
  }, PullRequestSource>;
471
457
  }>>, import("effect/Scope").Scope>, PullRequestSource>>;
@@ -477,62 +463,32 @@ declare const make: <Provider, ModelProvides, ModelRequires, const Extra extends
477
463
  }, PullRequestSourceFailure, PullRequestSource>;
478
464
  readonly filterFiles: (files: ReadonlyArray<ChangedFile>) => ChangedFile[];
479
465
  };
480
- /** Options accepted by `PrReview.makeFanOut` (the delegating reviewer). */
466
+ /** Options accepted by `PrReview.makeFanOut` (the host-scheduled pipeline). */
481
467
  interface PrReviewFanOutOptions<Provider, ModelProvides, ModelRequires> extends PrReviewSharedOptions {
482
- /** The Effect AI Model bound to both the coordinator and its children. */
468
+ /** The Effect AI Model bound to every child review pass. */
483
469
  readonly model: Model.Model<Provider, LanguageModel.LanguageModel | ModelProvides, ModelRequires>;
484
470
  /**
485
471
  * Static guidance injected into every child reviewer's instructions. The
486
- * coordinator's mission never crosses the delegation boundary, so
472
+ * pipeline schedules children from the deterministic plan, so
487
473
  * mission-dependent guidance cannot exist for children.
488
474
  */
489
475
  readonly guidance?: string | ReadonlyArray<string> | undefined;
490
476
  }
491
477
  /**
492
- * Build the fan-out reviewer: a coordinator schedules host-planned general
493
- * and specialist discovery plus independent candidate verification through
494
- * attached ephemeral children. Host code reconstructs publication only from
495
- * exactly confirmed candidates. Child and coordinator execution bounds are
496
- * packaged and not configurable here the delegation reservation mirrors
497
- * the child policy, and letting the two drift apart is a published-API hazard.
478
+ * Build the fan-out reviewer: host code schedules host-planned general and
479
+ * specialist discovery plus independent candidate verification directly as
480
+ * bounded child runs there is no coordinator model and no delegation tool,
481
+ * so review assurance cannot fail on scheduling compliance. Host code
482
+ * composes publication only from exactly confirmed candidates. Child
483
+ * execution bounds are packaged and not configurable here.
498
484
  */
499
485
  declare const makeFanOut: <Provider, ModelProvides, ModelRequires>(options: PrReviewFanOutOptions<Provider, ModelProvides, ModelRequires>) => {
500
- readonly definition: import("effect-agent").Definition<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.Toolkit<{
501
- readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
502
- readonly parameters: typeof FileReviewRequest;
503
- readonly success: import("effect/Schema").Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<import("effect/Schema").Union<readonly [typeof FileReviewUnitFailed, typeof FileReviewWorkRejected]>>]>;
504
- readonly failure: import("effect-agent").SubagentReturnModeFailure;
505
- readonly failureMode: "error";
506
- }, import("effect-agent").AgentSpawner | IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
507
- readonly list_review_units: Tool.Tool<"list_review_units", {
508
- readonly parameters: typeof ListReviewUnitsQuery;
509
- readonly success: typeof ReviewUnitPlan;
510
- readonly failure: typeof PullRequestSourceFailure;
511
- readonly failureMode: "error";
512
- }, PullRequestSource>;
513
- }>, undefined>;
514
- readonly binding: Readonly<{
515
- definition: import("effect-agent").Definition<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.Toolkit<{
516
- readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
517
- readonly parameters: typeof FileReviewRequest;
518
- readonly success: import("effect/Schema").Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<import("effect/Schema").Union<readonly [typeof FileReviewUnitFailed, typeof FileReviewWorkRejected]>>]>;
519
- readonly failure: import("effect-agent").SubagentReturnModeFailure;
520
- readonly failureMode: "error";
521
- }, import("effect-agent").AgentSpawner | IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
522
- readonly list_review_units: Tool.Tool<"list_review_units", {
523
- readonly parameters: typeof ListReviewUnitsQuery;
524
- readonly success: typeof ReviewUnitPlan;
525
- readonly failure: typeof PullRequestSourceFailure;
526
- readonly failureMode: "error";
527
- }, PullRequestSource>;
528
- }>, undefined>;
529
- model: Model.Model<Provider, ModelProvides | LanguageModel.LanguageModel, ModelRequires>;
530
- }>;
486
+ readonly definition: import("effect-agent").Definition<typeof FileReviewBrief, typeof FileReviewReport, (brief: FileReviewBrief) => string, Toolkit.Toolkit<{}>, undefined>;
531
487
  readonly childBinding: Readonly<{
532
488
  definition: import("effect-agent").Definition<typeof FileReviewBrief, typeof FileReviewReport, (brief: FileReviewBrief) => string, Toolkit.Toolkit<{}>, undefined>;
533
489
  model: Model.Model<Provider, ModelProvides | LanguageModel.LanguageModel, ModelRequires>;
534
490
  }>;
535
- readonly run: (runOptions?: RunReviewOptions) => Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | import("effect/Schema").SchemaError, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, IdGenerator | import("effect-agent").SubagentReservations>, import("effect/Scope").Scope> | Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, Tool.Handler<"delegate_file_review"> | Tool.Handler<"list_review_units"> | IdGenerator>, import("effect/Scope").Scope>> | Effect.Effect<ReviewRunOutcome, import("effect-agent").AgentApprovalDenied | import("effect-agent").AgentApprovalPending | import("effect-agent").AgentChildPending | import("effect-agent").AgentInputError | import("effect-agent").AgentOutputError | import("effect-agent").AgentPolicyError | import("effect-agent").AgentToolAuthorizationDenied | import("effect/unstable/ai/AiError").AiError | import("effect-agent").BudgetAdapterError | import("effect-agent").BudgetExceeded | import("effect-agent").ContextOverflowError | GitHubApiFailure | import("effect-agent").ModelProtocolError | PullRequestSourceFailure | import("effect/Schema").SchemaError, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, IdGenerator | import("effect-agent").SubagentReservations>, import("effect/Scope").Scope>, PullRequestSource> | Exclude<Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, Tool.Handler<"delegate_file_review"> | Tool.Handler<"list_review_units"> | IdGenerator>, import("effect/Scope").Scope>, PullRequestSource>>;
491
+ readonly run: (runOptions?: RunReviewOptions) => Effect.Effect<ReviewRunOutcome, GitHubApiFailure | PullRequestSourceFailure, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, import("effect/Scope").Scope>, IdGenerator>, import("effect/Scope").Scope>> | Effect.Effect<ReviewRunOutcome, GitHubApiFailure | PullRequestSourceFailure, PullRequestSource | ReviewPublisher | Exclude<Exclude<Exclude<Exclude<Exclude<ModelRequires, import("effect-agent").EngineProvidedToolServices>, import("effect/Scope").Scope>, IdGenerator>, import("effect/Scope").Scope>, PullRequestSource>>;
536
492
  readonly fingerprint: Effect.Effect<string, PullRequestSourceFailure, PullRequestSource>;
537
493
  readonly profileFingerprint: Effect.Effect<string, PullRequestSourceFailure, PullRequestSource>;
538
494
  readonly snapshot: Effect.Effect<{
@@ -736,18 +692,18 @@ declare const PullRequestReviewerProfile_base: Schema.Class<PullRequestReviewerP
736
692
  declare class PullRequestReviewerProfile extends PullRequestReviewerProfile_base {}
737
693
  declare const pullRequestReviewerProfile: PullRequestReviewerProfile;
738
694
  declare const FanOutReviewerProfile_base: Schema.Class<FanOutReviewerProfile, Schema.Struct<{
739
- /** Ephemeral runtime: one bounded AgentRuntime.run per invocation. */
695
+ /** Ephemeral runtime: bounded host-scheduled child runs per invocation. */
740
696
  readonly deploymentClass: Schema.Literal<"E">;
741
- /** Every model-callable tool parent and child is a read; none mutate. */
697
+ /** Every model-callable surface is evidence-only; children expose no tools. */
742
698
  readonly readOnlyToolSurface: Schema.Literal<true>;
743
699
  /** The review is posted by the host AFTER the run settles, never by a tool. */
744
700
  readonly publicationOutsideAgentLoop: Schema.Literal<true>;
745
701
  /** Child findings are untrusted; anchors are validated against the parsed diff. */
746
702
  readonly anchorsValidatedBeforePublication: Schema.Literal<true>;
747
- /** S1 attached ephemeral delegation at depth 1; nested delegation is rejected. */
748
- readonly attachedEphemeralDelegation: Schema.Literal<true>;
749
- /** A failed unit surfaces to the coordinator as a typed failed result, never retried. */
750
- readonly failedUnitsReportedNotRetried: Schema.Literal<true>;
703
+ /** Host code schedules every pass from the deterministic plan; no coordinator model. */
704
+ readonly hostScheduledPasses: Schema.Literal<true>;
705
+ /** A failed pass is retried once, then reported and carried as unreviewed scope. */
706
+ readonly failedPassesRetriedOnceThenCarried: Schema.Literal<true>;
751
707
  /** Risk categories and required specialist passes are pure host policy. */
752
708
  readonly hostOwnedRiskClassification: Schema.Literal<true>;
753
709
  /** Every host-classified high-risk unit receives a fresh specialist pass. */
@@ -803,5 +759,5 @@ declare const openAiClientLayer: Layer.Layer<OpenAiClient.OpenAiClient, Config.C
803
759
  /** The Anthropic client Layer, credential from `ANTHROPIC_API_KEY`. */
804
760
  declare const anthropicClientLayer: Layer.Layer<AnthropicClient.AnthropicClient, Config.ConfigError, never>;
805
761
  //#endregion
806
- export { AGENT_PROMPT_PREAMBLE, CandidateAssessment, ChangedFile, ChangedFileStatus, ChangedFileSummary, ChangedFilesView, ChangedPath, CodeReview, CompactLogRecord, ConcernCandidate, DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN, DEFAULT_MODEL, DEFAULT_PROVIDER, DelegateFileReview, DiscoveredConcern, EFFORT_ALIASES, EffortAliasName, EffortPosition, ExecuteReviewOptions, FINGERPRINT_MARKER_LENGTH, FailedReviewPass, FailedReviewUnit, FanOutCoordinatorToolkit, FanOutCoordinatorToolkitLayer, FanOutInstructionOptions, FanOutReviewSuite, FanOutReviewToolkit, FanOutReviewer, FanOutReviewerProfile, FanOutSuiteOptions, FileDiffQuery, FileDiffView, FileReviewBrief, FileReviewDelegationFailure, FileReviewEvidence, FileReviewEvidenceChunk, FileReviewFailure, FileReviewReport, FileReviewRequest, FileReviewToolkit, FileReviewToolkitLayer, FileReviewUnitFailed, FileReviewUnitResult, FileReviewWorkRejected, FileReviewer, FileSlice, FileSliceQuery, FindingCandidate, FindingCategory, FindingSeverity, GitCommitSha, GitHubApiFailure, GitHubEventWire, GitHubReviewTarget, InvalidEffortInput, LIVE_GATE_ENV, ListChangedFiles, ListChangedFilesQuery, ListReviewUnits, ListReviewUnitsQuery, MAX_CHANGED_FILES, MAX_CHILD_CONCERNS, MAX_CHILD_FINDINGS, MAX_CONCERNS, MAX_FILE_CHARS, MAX_FILE_EVIDENCE_CHARS, MAX_FILE_REVIEW_TOOL_CALLS, MAX_FINDINGS, MAX_MERGED_FINDINGS, MAX_PATCH_CHARS, MAX_REPORTED_UNASSIGNED_EVIDENCE_SHARDS, MAX_REVIEW_CHILDREN, MAX_REVIEW_CONTENT_CHARS, MAX_REVIEW_STATE_MARKER_CHARS, MAX_REVIEW_UNITS, MAX_UNIT_CANDIDATES, MAX_UNIT_EVIDENCE_SHARDS, MAX_UNIT_FILES, MAX_WALKTHROUGH_ENTRIES, MAX_WALKTHROUGH_SUMMARY_CHARS, PROGRESS_COMMENT_MARKER_PREFIX, PROVIDER_CREDENTIAL_ENV, PROVIDER_EFFORT_RUNGS, PatchLine, PrReview, PrReviewFanOutOptions, PrReviewOptions, PrReviewSharedOptions, PriorReviewLookupFailure, PriorReviews, ProgressClaim, PublishedReview, PullRequestMetadata, PullRequestReviewer, PullRequestReviewerProfile, PullRequestSource, PullRequestSourceFailure, REVIEW_TOOL_RESULT_MAX_BYTES, ReadFile, ReadFileDiff, ResolvedReviewTarget, RetirableReview, RetirableReviewComment, ReviewAssurance, ReviewCandidate, ReviewCandidateId, ReviewCommentDraft, ReviewConcern, ReviewCoverage, ReviewDiscoveryPass, ReviewDiscoveryPerspective, ReviewEvent, ReviewEvidenceShard, ReviewEvidenceShardId, ReviewExecutionContext, ReviewFinding, ReviewGuidance, ReviewHeadComparison, ReviewInputCoverage, ReviewInputViolation, ReviewInstructionOptions, ReviewMission, ReviewMode, ReviewPassId, ReviewPipelineAssessment, ReviewProgressBegin, ReviewProgressReporter, ReviewProgressSettle, ReviewProvider, ReviewPublicationPlan, ReviewPublisher, ReviewRetirementDecision, ReviewRetirementFailure, ReviewRetirementHost, ReviewRetirementInput, ReviewRetirementReport, ReviewRiskCategory, ReviewRunOutcome, ReviewScopeMode, ReviewSelection, ReviewShape, ReviewState, ReviewStateAuthenticationFailure, ReviewStateAuthenticator, ReviewStateMarker, ReviewStateMarkerTooLarge, ReviewTargetUnresolved, ReviewToolkit, ReviewToolkitLayer, ReviewUnit, ReviewUnitId, ReviewUnitPlan, ReviewVerdict, ReviewWorkPerspective, ReviewWorkPhase, RunReviewOptions, StoredReviewConcern, StoredReviewFinding, UNIT_CHANGED_LINE_BUDGET, UNIT_EVIDENCE_CHAR_BUDGET, WalkthroughEntry, anchorViolation, annotatePatch, anthropicClientLayer, assessReviewCoverage, assessReviewPipeline, assessmentSettlesSuggestionExactly, buildProfileMission, buildReviewMission, clampMaxFindings, classifyReviewRisks, collectUnitFileSummaries, commentableLines, compactReviewLogger, compactReviewLoggingLayer, compileIgnoreGlobs, computeChangesetFingerprint, computeProfileFingerprint, confirmedFindingForPublication, decideReviewRetirement, defaultFanOutPolicy, defaultFileReviewerPolicy, defaultReviewPolicy, describeReviewModel, enforceFindingsBound, estimateReviewEffort, executeReview, extractFingerprint, fanOutHandlersLayer, fanOutHandlersLayerFor, fanOutReviewBudgetLimits, fanOutReviewInstructions, fanOutReviewerProfile, fileDiffView, fileReviewDelegation, fileReviewEvidenceChunks, fileReviewPolicy, fileReviewerInstructions, findingAnchorInUnitEvidence, fingerprintUnchanged, formatCompactLogLine, fromStoredConcern, fromStoredFinding, gitHubPriorReviewsLayer, gitHubPullRequestSourceLayer, gitHubReviewLayers, gitHubReviewProgressLayer, gitHubReviewPublisherLayer, gitHubReviewRetirementHostLayer, hasReviewMetadataMarker, hasReviewableContent, ignoringPullRequestSourceLayer, isEffortPosition, isReviewableFile, listChangedFilesHandler, liveProfileEnabled, makeAnthropicReviewModel, makeFanOutReviewInstructions, makeFanOutReviewSuite, makeFileReviewerInstructions, makeOpenAiReviewModel, makeReviewInstructions, mapFileReviewChildFailure, noopReviewProgressReporterLayer, normalizeRepoRelativePath, openAiClientLayer, parseEffortPosition, parseGitHubSubmittedAt, parsePatch, parseProgressClaim, planPublication, planReviewUnits, planWalkthrough, pullRequestReviewerProfile, rankAndDedupeFindings, readFileDiffHandler, readFileHandler, readGitHubEvent, renderAgentPrompt, renderFingerprintMarker, renderProgressBeginBody, renderProgressClaimMarker, renderProgressSettleBody, renderReviewContent, resolveEffortRung, resolveGuidance, resolveReviewTarget, retireStaleReviews, reviewBudgetLimits, reviewCandidateSubjectKey, reviewInstructions, selectReviewRange, selectedPullRequestSourceLayer, toStoredConcern, toStoredFinding, unavailableReviewStateAuthenticatorLayer, validateReviewState, webCryptoReviewStateAuthenticatorLayer };
762
+ export { AGENT_PROMPT_PREAMBLE, CandidateAssessment, ChangedFile, ChangedFileStatus, ChangedFileSummary, ChangedFilesView, ChangedPath, CodeReview, CompactLogRecord, ConcernCandidate, DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN, DEFAULT_MODEL, DEFAULT_PROVIDER, DiscoveredConcern, EFFORT_ALIASES, EffortAliasName, EffortPosition, ExecuteReviewOptions, FINGERPRINT_MARKER_LENGTH, FailedReviewPass, FailedReviewUnit, FanOutInstructionOptions, FanOutPipelineInput, FanOutPipelineOutcome, FanOutReviewerProfile, FileDiffQuery, FileDiffView, FileReviewBrief, FileReviewEvidence, FileReviewEvidenceChunk, FileReviewReport, FileReviewToolkit, FileReviewer, FileReviewerBinding, FileSlice, FileSliceQuery, FindingCandidate, FindingCategory, FindingSeverity, FlatReviewAssessment, GitCommitSha, GitHubApiFailure, GitHubEventWire, GitHubReviewTarget, InvalidEffortInput, LIVE_GATE_ENV, ListChangedFiles, ListChangedFilesQuery, MAX_CHANGED_FILES, MAX_CHILD_CONCERNS, MAX_CHILD_FINDINGS, MAX_CONCERNS, MAX_FILE_CHARS, MAX_FILE_EVIDENCE_CHARS, MAX_FILE_REVIEW_TOOL_CALLS, MAX_FINDINGS, MAX_MERGED_FINDINGS, MAX_PATCH_CHARS, MAX_REPORTED_UNASSIGNED_EVIDENCE_SHARDS, MAX_REVIEW_CHILDREN, MAX_REVIEW_CONTENT_CHARS, MAX_REVIEW_STATE_MARKER_CHARS, MAX_REVIEW_UNITS, MAX_STORED_UNREVIEWED_PATHS, MAX_UNIT_CANDIDATES, MAX_UNIT_EVIDENCE_SHARDS, MAX_UNIT_FILES, MAX_WALKTHROUGH_ENTRIES, MAX_WALKTHROUGH_SUMMARY_CHARS, PROGRESS_COMMENT_MARKER_PREFIX, PROVIDER_CREDENTIAL_ENV, PROVIDER_EFFORT_RUNGS, PatchLine, PrReview, PrReviewFanOutOptions, PrReviewOptions, PrReviewSharedOptions, PriorReviewLookupFailure, PriorReviews, ProgressClaim, PublishedReview, PullRequestMetadata, PullRequestReviewer, PullRequestReviewerProfile, PullRequestSource, PullRequestSourceFailure, REVIEW_TOOL_RESULT_MAX_BYTES, REVIEW_UNIT_CONCURRENCY, ReadFile, ReadFileDiff, ResolvedReviewTarget, RetirableReview, RetirableReviewComment, ReviewAssurance, ReviewCandidate, ReviewCandidateId, ReviewCommentDraft, ReviewConcern, ReviewCoverage, ReviewDiscoveryPass, ReviewDiscoveryPerspective, ReviewEvent, ReviewEvidenceShard, ReviewEvidenceShardId, ReviewExecutionContext, ReviewFinding, ReviewGuidance, ReviewHeadComparison, ReviewInputCoverage, ReviewInputViolation, ReviewInstructionOptions, ReviewMission, ReviewMode, ReviewPassId, ReviewPassMisbehaved, ReviewProgressBegin, ReviewProgressReporter, ReviewProgressSettle, ReviewProvider, ReviewPublicationPlan, ReviewPublisher, ReviewRetirementDecision, ReviewRetirementFailure, ReviewRetirementHost, ReviewRetirementInput, ReviewRetirementReport, ReviewRiskCategory, ReviewRunOutcome, ReviewScopeMode, ReviewSelection, ReviewState, ReviewStateAuthenticationFailure, ReviewStateAuthenticator, ReviewStateMarker, ReviewStateMarkerTooLarge, ReviewTargetUnresolved, ReviewToolkit, ReviewToolkitLayer, ReviewUnit, ReviewUnitId, ReviewUnitPlan, ReviewVerdict, ReviewWorkPerspective, ReviewWorkPhase, RunReviewOptions, StoredReviewConcern, StoredReviewFinding, UNIT_CHANGED_LINE_BUDGET, UNIT_EVIDENCE_CHAR_BUDGET, WalkthroughEntry, anchorViolation, annotatePatch, anthropicClientLayer, assessFlatReview, assessmentSettlesSuggestionExactly, boundedListReason, buildProfileMission, buildReviewMission, clampMaxFindings, classifyReviewRisks, commentableLines, compactReviewLogger, compactReviewLoggingLayer, compatibilityCoverage, compileIgnoreGlobs, computeChangesetFingerprint, computeProfileFingerprint, confirmedFindingForPublication, decideReviewRetirement, defaultFileReviewerPolicy, defaultReviewPolicy, describeReviewModel, enforceFindingsBound, estimateReviewEffort, executeFanOutReview, executeReview, extractFingerprint, fanOutInputCoverage, fanOutReviewBudgetLimits, fanOutReviewerProfile, fileDiffView, fileReviewEvidenceChunks, fileReviewerInstructions, findingAnchorInUnitEvidence, fingerprintUnchanged, flatAssurance, formatCompactLogLine, fromStoredConcern, fromStoredFinding, gitHubPriorReviewsLayer, gitHubPullRequestSourceLayer, gitHubReviewLayers, gitHubReviewProgressLayer, gitHubReviewPublisherLayer, gitHubReviewRetirementHostLayer, hasReviewMetadataMarker, hasReviewableContent, ignoringPullRequestSourceLayer, isEffortPosition, isReviewableFile, listChangedFilesHandler, liveProfileEnabled, makeAnthropicReviewModel, makeFileReviewerDefinition, makeFileReviewerInstructions, makeOpenAiReviewModel, makeReviewInstructions, noopReviewProgressReporterLayer, normalizeRepoRelativePath, openAiClientLayer, parseEffortPosition, parseGitHubSubmittedAt, parsePatch, parseProgressClaim, planPublication, planReviewUnits, planWalkthrough, pullRequestReviewerProfile, rankAndDedupeConcerns, rankAndDedupeFindings, readFileDiffHandler, readFileHandler, readGitHubEvent, renderAgentPrompt, renderFingerprintMarker, renderProgressBeginBody, renderProgressClaimMarker, renderProgressSettleBody, renderReviewContent, resolveEffortRung, resolveGuidance, resolveReviewTarget, retireStaleReviews, reviewBudgetLimits, reviewCandidateSubjectKey, reviewInstructions, runFanOutReview, selectReviewRange, selectedPullRequestSourceLayer, toStoredConcern, toStoredFinding, unavailableReviewStateAuthenticatorLayer, validateReviewState, webCryptoReviewStateAuthenticatorLayer };
807
763
  //# sourceMappingURL=index.d.mts.map