@ddtcorex/dsh-maestro-review 0.12.1 → 0.14.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/README.md +31 -58
- package/cordis.patch.yml +13 -18
- package/lib/config-store.d.ts +9 -1
- package/lib/config-store.d.ts.map +1 -1
- package/lib/config-store.js +1 -1
- package/lib/config-store.js.map +1 -1
- package/lib/events.d.ts +5 -45
- package/lib/events.d.ts.map +1 -1
- package/lib/host-orchestrator.d.ts +128 -0
- package/lib/host-orchestrator.d.ts.map +1 -0
- package/lib/host-orchestrator.js +408 -0
- package/lib/host-orchestrator.js.map +1 -0
- package/lib/index.d.ts +7 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -43
- package/lib/index.js.map +1 -1
- package/lib/review-intake.d.ts +1 -1
- package/lib/review-intake.d.ts.map +1 -1
- package/lib/settings-rpc.js +1 -1
- package/lib/settings-rpc.js.map +1 -1
- package/package.json +19 -36
- package/src/client/index.tsx +1 -1
- package/src/host/augment.d.ts +3 -1
- package/src/host/config-store.ts +2 -2
- package/src/host/events.ts +5 -45
- package/src/host/host-orchestrator.ts +461 -0
- package/src/host/index.ts +7 -35
- package/src/host/providers/gitlab.ts +1 -1
- package/src/host/review-intake.ts +1 -1
- package/src/host/settings-rpc.ts +1 -1
- package/lib/ci-clone.d.ts +0 -21
- package/lib/ci-clone.d.ts.map +0 -1
- package/lib/ci-clone.js +0 -35
- package/lib/ci-clone.js.map +0 -1
- package/lib/ci-coexist.d.ts +0 -11
- package/lib/ci-coexist.d.ts.map +0 -1
- package/lib/ci-coexist.js +0 -38
- package/lib/ci-coexist.js.map +0 -1
- package/lib/gitlab-auth.d.ts +0 -11
- package/lib/gitlab-auth.d.ts.map +0 -1
- package/lib/gitlab-auth.js +0 -15
- package/lib/gitlab-auth.js.map +0 -1
- package/lib/gitlab-client.d.ts +0 -78
- package/lib/gitlab-client.d.ts.map +0 -1
- package/lib/gitlab-client.js +0 -270
- package/lib/gitlab-client.js.map +0 -1
- package/lib/govard-lint-detection.d.ts +0 -20
- package/lib/govard-lint-detection.d.ts.map +0 -1
- package/lib/govard-lint-detection.js +0 -48
- package/lib/govard-lint-detection.js.map +0 -1
- package/lib/hyva-csp-scan-tool.d.ts +0 -11
- package/lib/hyva-csp-scan-tool.d.ts.map +0 -1
- package/lib/hyva-csp-scan-tool.js +0 -193
- package/lib/hyva-csp-scan-tool.js.map +0 -1
- package/lib/hyva-theme-inspect-tool.d.ts +0 -10
- package/lib/hyva-theme-inspect-tool.d.ts.map +0 -1
- package/lib/hyva-theme-inspect-tool.js +0 -299
- package/lib/hyva-theme-inspect-tool.js.map +0 -1
- package/lib/incremental.d.ts +0 -28
- package/lib/incremental.d.ts.map +0 -1
- package/lib/incremental.js +0 -62
- package/lib/incremental.js.map +0 -1
- package/lib/layout-xml-tool.d.ts +0 -11
- package/lib/layout-xml-tool.d.ts.map +0 -1
- package/lib/layout-xml-tool.js +0 -239
- package/lib/layout-xml-tool.js.map +0 -1
- package/lib/module-check-tool.d.ts +0 -11
- package/lib/module-check-tool.d.ts.map +0 -1
- package/lib/module-check-tool.js +0 -303
- package/lib/module-check-tool.js.map +0 -1
- package/lib/orchestrator.d.ts +0 -357
- package/lib/orchestrator.d.ts.map +0 -1
- package/lib/orchestrator.js +0 -1497
- package/lib/orchestrator.js.map +0 -1
- package/lib/perf-log-stats-tool.d.ts +0 -13
- package/lib/perf-log-stats-tool.d.ts.map +0 -1
- package/lib/perf-log-stats-tool.js +0 -245
- package/lib/perf-log-stats-tool.js.map +0 -1
- package/lib/phtml-escape-scan-tool.d.ts +0 -11
- package/lib/phtml-escape-scan-tool.d.ts.map +0 -1
- package/lib/phtml-escape-scan-tool.js +0 -166
- package/lib/phtml-escape-scan-tool.js.map +0 -1
- package/lib/providers/ci-trigger.d.ts +0 -44
- package/lib/providers/ci-trigger.d.ts.map +0 -1
- package/lib/providers/ci-trigger.js +0 -150
- package/lib/providers/ci-trigger.js.map +0 -1
- package/lib/review-findings-tool.d.ts +0 -20
- package/lib/review-findings-tool.d.ts.map +0 -1
- package/lib/review-findings-tool.js +0 -39
- package/lib/review-findings-tool.js.map +0 -1
- package/lib/review-history.d.ts +0 -40
- package/lib/review-history.d.ts.map +0 -1
- package/lib/review-history.js +0 -136
- package/lib/review-history.js.map +0 -1
- package/lib/review-marker.d.ts +0 -17
- package/lib/review-marker.d.ts.map +0 -1
- package/lib/review-marker.js +0 -23
- package/lib/review-marker.js.map +0 -1
- package/lib/review-signals.d.ts +0 -17
- package/lib/review-signals.d.ts.map +0 -1
- package/lib/review-signals.js +0 -79
- package/lib/review-signals.js.map +0 -1
- package/lib/scope-split-tool.d.ts +0 -42
- package/lib/scope-split-tool.d.ts.map +0 -1
- package/lib/scope-split-tool.js +0 -108
- package/lib/scope-split-tool.js.map +0 -1
- package/lib/search-tool.d.ts +0 -15
- package/lib/search-tool.d.ts.map +0 -1
- package/lib/search-tool.js +0 -144
- package/lib/search-tool.js.map +0 -1
- package/lib/skill-provider.d.ts +0 -19
- package/lib/skill-provider.d.ts.map +0 -1
- package/lib/skill-provider.js +0 -101
- package/lib/skill-provider.js.map +0 -1
- package/lib/skills-tool.d.ts +0 -29
- package/lib/skills-tool.d.ts.map +0 -1
- package/lib/skills-tool.js +0 -185
- package/lib/skills-tool.js.map +0 -1
- package/lib/source.d.ts +0 -23
- package/lib/source.d.ts.map +0 -1
- package/lib/source.js +0 -16
- package/lib/source.js.map +0 -1
- package/lib/tool-policy.d.ts +0 -20
- package/lib/tool-policy.d.ts.map +0 -1
- package/lib/tool-policy.js +0 -42
- package/lib/tool-policy.js.map +0 -1
- package/presets/maestro-auditor.patch.yml +0 -54
- package/presets/maestro-coder/agent.cordis.yml +0 -223
- package/presets/maestro-coder/preset.yml +0 -2
- package/presets/maestro-reviewer.patch.yml +0 -55
- package/profiles/reviewer-ci/cordis.patch.yml +0 -78
- package/profiles/reviewer-ci/package.json +0 -19
- package/profiles/reviewer-ci/pnpm-lock.yaml +0 -8201
- package/profiles/reviewer-ci/pnpm-workspace.yaml +0 -36
- package/skills/dsh-native-tools/SKILL.md +0 -80
- package/src/host/ci-clone.ts +0 -54
- package/src/host/ci-coexist.ts +0 -45
- package/src/host/dsh-skill.d.ts +0 -72
- package/src/host/gitlab-auth.ts +0 -13
- package/src/host/gitlab-client.ts +0 -332
- package/src/host/govard-lint-detection.ts +0 -47
- package/src/host/hyva-csp-scan-tool.ts +0 -165
- package/src/host/hyva-theme-inspect-tool.ts +0 -258
- package/src/host/incremental.ts +0 -86
- package/src/host/layout-xml-tool.ts +0 -190
- package/src/host/module-check-tool.ts +0 -187
- package/src/host/orchestrator.ts +0 -1641
- package/src/host/perf-log-stats-tool.ts +0 -224
- package/src/host/phtml-escape-scan-tool.ts +0 -112
- package/src/host/providers/ci-trigger.ts +0 -168
- package/src/host/review-findings-tool.ts +0 -59
- package/src/host/review-history.ts +0 -168
- package/src/host/review-marker.ts +0 -25
- package/src/host/review-signals.ts +0 -83
- package/src/host/scope-split-tool.ts +0 -109
- package/src/host/search-tool.ts +0 -152
- package/src/host/skill-provider.ts +0 -94
- package/src/host/skills-tool.ts +0 -218
- package/src/host/source.ts +0 -26
- package/src/host/tool-policy.ts +0 -49
- package/templates/reviewer-project.gitlab-ci.yml +0 -93
- package/templates/source-project.gitlab-ci.yml +0 -48
package/lib/orchestrator.d.ts
DELETED
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
2
|
-
import z from '@deepseek-ai/schemastery';
|
|
3
|
-
import type { AgentHandle } from '@deepseek-ai/dsh-agent';
|
|
4
|
-
import type { ModelSelection } from '@deepseek-ai/dsh-agent';
|
|
5
|
-
import type { ReviewFinding, FindingSeverity } from './review-findings-tool.js';
|
|
6
|
-
import type { ReviewRequest } from './events.js';
|
|
7
|
-
import { type MaestroUserConfig, type ProjectMapping, type ReviewModelSelection } from './config-store.js';
|
|
8
|
-
import { type ReviewSkillProfile } from './skills-tool.js';
|
|
9
|
-
import './events.js';
|
|
10
|
-
import { type ReviewFlow } from './review-marker.js';
|
|
11
|
-
/**
|
|
12
|
-
* Finding severity, assigned by the reviewer. Display order is fixed
|
|
13
|
-
* (blocking first) wherever counts are rendered.
|
|
14
|
-
*/
|
|
15
|
-
export declare const SEVERITY_ORDER: readonly FindingSeverity[];
|
|
16
|
-
/** Missing or unknown severities degrade to `minor` — never drop a finding. */
|
|
17
|
-
export declare function normalizeFindingSeverity(severity: unknown): FindingSeverity;
|
|
18
|
-
export declare function severityPrefix(severity: unknown): string;
|
|
19
|
-
/** Count findings per severity; zero counts are omitted. */
|
|
20
|
-
export declare function countFindingSeverities(findings: ReviewFinding[]): Partial<Record<FindingSeverity, number>>;
|
|
21
|
-
export interface ReviewerScopePromptOpts {
|
|
22
|
-
scopeKind: 'discussion' | 'full';
|
|
23
|
-
discussionId?: string;
|
|
24
|
-
path?: string;
|
|
25
|
-
line?: number;
|
|
26
|
-
mode?: string;
|
|
27
|
-
profileInstruction: string;
|
|
28
|
-
/**
|
|
29
|
-
* The govard CLI lint run to demand, or null when the bash tool or the
|
|
30
|
-
* `govard` binary is not available to this agent. The command carries the
|
|
31
|
-
* worktree and the MR base sha because nothing wires them as defaults.
|
|
32
|
-
*/
|
|
33
|
-
lint: {
|
|
34
|
-
worktreePath: string;
|
|
35
|
-
base: string;
|
|
36
|
-
} | null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Reviewer scope prompt. Static analysis is mandatory: reviewers skipped the
|
|
40
|
-
* lint for whole rounds (no lint signal at all), so the prompt requires at
|
|
41
|
-
* least one govard CLI lint run through the bash tool before
|
|
42
|
-
* report_review_findings. A run that cannot execute is reported, never fatal.
|
|
43
|
-
* Pure for testing.
|
|
44
|
-
*/
|
|
45
|
-
export declare function buildReviewerScopePrompt(opts: ReviewerScopePromptOpts): string;
|
|
46
|
-
/**
|
|
47
|
-
* Build a user-friendly GitLab Markdown comment for a completed review.
|
|
48
|
-
* Shared design language with `reviewDigestText` (Telegram HTML) — same
|
|
49
|
-
* header, status, findings structure, footer. Both use `🤖 Maestro Review`
|
|
50
|
-
* as the anchor so filtering/search stays consistent.
|
|
51
|
-
*/
|
|
52
|
-
export declare function buildReviewComment(opts: {
|
|
53
|
-
projectPath: string;
|
|
54
|
-
mrIid: number;
|
|
55
|
-
gitlabBaseUrl: string;
|
|
56
|
-
mode: string;
|
|
57
|
-
profile?: string;
|
|
58
|
-
summary: string;
|
|
59
|
-
failures: string[];
|
|
60
|
-
findings?: {
|
|
61
|
-
newCount: number;
|
|
62
|
-
replyCount: number;
|
|
63
|
-
severityCounts?: Partial<Record<FindingSeverity, number>>;
|
|
64
|
-
};
|
|
65
|
-
durationMs?: number;
|
|
66
|
-
isDiffOnly?: boolean;
|
|
67
|
-
isDiscussion?: boolean;
|
|
68
|
-
marker?: {
|
|
69
|
-
sha: string;
|
|
70
|
-
flow: ReviewFlow;
|
|
71
|
-
};
|
|
72
|
-
}): string;
|
|
73
|
-
export declare function buildNotStartedComment(opts: {
|
|
74
|
-
gitlabBaseUrl: string;
|
|
75
|
-
projectPath: string;
|
|
76
|
-
mrIid: number;
|
|
77
|
-
marker?: {
|
|
78
|
-
sha: string;
|
|
79
|
-
flow: ReviewFlow;
|
|
80
|
-
};
|
|
81
|
-
}): string;
|
|
82
|
-
export declare const name = "maestro-orchestrator";
|
|
83
|
-
export declare const inject: string[];
|
|
84
|
-
/** Convert DSH's selected default model into the options required by a child Agent. */
|
|
85
|
-
export declare function agentOptionsForModel(selection: ModelSelection): ModelSelection;
|
|
86
|
-
export declare function isUnsupportedReasoningError(err: unknown): boolean;
|
|
87
|
-
export declare function getTurnErrorMessage(handle: unknown): string | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* A turn can go idle without ever calling a tool when the model provider
|
|
90
|
-
* itself rejects the request (auth/billing/rate-limit) — `whenIdleWithTimeout`
|
|
91
|
-
* only guards against a hang, not this. Left unchecked, the reviewer's
|
|
92
|
-
* missing-skill-profile check and the auditor's empty-output path both treat
|
|
93
|
-
* this the same as "the agent just didn't call anything", misreporting a
|
|
94
|
-
* provider outage as a maestro-skills installation problem (or, for the
|
|
95
|
-
* auditor, as a silent clean pass). Surface the real turn error immediately.
|
|
96
|
-
*/
|
|
97
|
-
export declare function assertTurnSucceeded(handle: unknown): void;
|
|
98
|
-
/**
|
|
99
|
-
* Like assertTurnSucceeded, but only throws when there is nothing left to
|
|
100
|
-
* salvage. A turn can error AFTER already producing real output — findings
|
|
101
|
-
* reported via the tool, or audit text written — when only the turn's own
|
|
102
|
-
* closing step fails afterward (a trailing rate-limit/auth hiccup). Throwing
|
|
103
|
-
* unconditionally there discarded already-produced, real work for no
|
|
104
|
-
* benefit; this only fails closed when the turn errored AND there is
|
|
105
|
-
* nothing usable to fall back on. Either way the turn error is never
|
|
106
|
-
* silent: logged as a warning when salvaging, thrown when not.
|
|
107
|
-
*/
|
|
108
|
-
export declare function assertTurnSucceededOrSalvage(handle: unknown, hasSalvageableOutput: boolean, label: string): void;
|
|
109
|
-
/**
|
|
110
|
-
* Resolve the model to use for an automated review. Priority: per-project
|
|
111
|
-
* override > global reviewModel (Maestro Settings) > row-config reviewModel
|
|
112
|
-
* (lets a headless profile such as reviewer-ci pin a model from env vars,
|
|
113
|
-
* where there is no Settings UI) > DSH default (`fallback`).
|
|
114
|
-
*/
|
|
115
|
-
export declare function resolveReviewModel(userConfig: MaestroUserConfig, mapping: {
|
|
116
|
-
reviewModel?: ReviewModelSelection | null;
|
|
117
|
-
projectPath?: string;
|
|
118
|
-
} | undefined, fallback: ModelSelection, rowSelection?: ReviewModelSelection | null): ModelSelection;
|
|
119
|
-
/** Effective auto-trigger flags: per-project row overrides global, unset inherits (design §4). */
|
|
120
|
-
export declare function resolveReviewTriggers(userConfig: MaestroUserConfig, mapping?: ProjectMapping): {
|
|
121
|
-
onPush: boolean;
|
|
122
|
-
onAssign: boolean;
|
|
123
|
-
};
|
|
124
|
-
/** Compose a newly-created agent from the preset service owned by the root context. */
|
|
125
|
-
export declare function mountAgentPreset(agentPresets: {
|
|
126
|
-
mount(agentCtx: Context, id: string): Promise<unknown> | unknown;
|
|
127
|
-
}, agentCtx: Context, id: string): Promise<void>;
|
|
128
|
-
export interface Config {
|
|
129
|
-
projectMappings: Array<{
|
|
130
|
-
projectPath: string;
|
|
131
|
-
localRepoPath: string;
|
|
132
|
-
reviewProfile: ReviewSkillProfile;
|
|
133
|
-
}>;
|
|
134
|
-
gitlabBaseUrl: string;
|
|
135
|
-
/**
|
|
136
|
-
* Fallback when Maestro Settings has no token; optional so a deployment that
|
|
137
|
-
* configures everything through Settings boots without env vars.
|
|
138
|
-
*/
|
|
139
|
-
gitlabToken?: string;
|
|
140
|
-
botUsername: string;
|
|
141
|
-
/** Hard ceiling on one automated agent's turn. */
|
|
142
|
-
agentTimeoutMs: number;
|
|
143
|
-
/**
|
|
144
|
-
* Deployment-level model pin, below Maestro Settings in precedence. Lets a
|
|
145
|
-
* headless profile (reviewer-ci) select the review model from env vars —
|
|
146
|
-
* e.g. REVIEW_MODEL_PROVIDER/REVIEW_MODEL — where no Settings UI exists.
|
|
147
|
-
*
|
|
148
|
-
* Deliberately absent from the zod schema below: schemastery object schemas
|
|
149
|
-
* always descend into inner fields (probed — even `.required(false)` still
|
|
150
|
-
* throws on undefined), so declaring it would fail every boot without the
|
|
151
|
-
* vars. Unknown keys pass validation through (same precedent as mapping-level
|
|
152
|
-
* reviewModel, which the projectMappings schema doesn't declare either),
|
|
153
|
-
* and resolveReviewModel reads it at review time.
|
|
154
|
-
*/
|
|
155
|
-
reviewModel?: ReviewModelSelection | null;
|
|
156
|
-
}
|
|
157
|
-
export declare const DEFAULT_AGENT_TIMEOUT_MS: number;
|
|
158
|
-
export declare const Config: z<Config>;
|
|
159
|
-
export interface ReviewOutcome {
|
|
160
|
-
summary: string;
|
|
161
|
-
failures: string[];
|
|
162
|
-
severityCounts?: Partial<Record<FindingSeverity, number>>;
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Await an agent's turn with a hard ceiling. A hung automated agent would
|
|
166
|
-
* otherwise hold its session, worktree, and review key forever; the watchdog
|
|
167
|
-
* disposes the handle and rejects so the review is recorded as failed.
|
|
168
|
-
*/
|
|
169
|
-
export declare function whenIdleWithTimeout(handle: AgentHandle, timeoutMs: number): Promise<void>;
|
|
170
|
-
export interface ReviewAndAuditDeps {
|
|
171
|
-
localRepoPath: string;
|
|
172
|
-
/** `keySuffix` isolates concurrent reviews of one MR (quick vs deep). */
|
|
173
|
-
ensureWorktree(localRepoPath: string, sourceBranch: string, projectId: number, mrIid: number, keySuffix?: string): Promise<string>;
|
|
174
|
-
removeWorktree(worktreePath: string): Promise<void>;
|
|
175
|
-
runReviewer(worktreePath: string, payload: ReviewRequest): Promise<ReviewOutcome>;
|
|
176
|
-
runAuditor(worktreePath: string, payload: ReviewRequest): Promise<string>;
|
|
177
|
-
/**
|
|
178
|
-
* Deterministic environment teardown, run in the `finally` of a deep audit
|
|
179
|
-
* BEFORE `removeWorktree`. Wired only for the CLI auditor flow; the prompt's
|
|
180
|
-
* own `govard env down -v` step is a courtesy, never the guarantee. Best
|
|
181
|
-
* effort: a throw is logged and ignored.
|
|
182
|
-
*/
|
|
183
|
-
teardownEnvironment?(worktreePath: string): Promise<void>;
|
|
184
|
-
postComment(body: string): Promise<void>;
|
|
185
|
-
replyToDiscussion(discussionId: string, body: string): Promise<void>;
|
|
186
|
-
writeFailedReport(mrIid: number, body: string): Promise<void>;
|
|
187
|
-
}
|
|
188
|
-
export interface DiffOnlyReviewDeps {
|
|
189
|
-
runReviewer(payload: ReviewRequest): Promise<ReviewOutcome>;
|
|
190
|
-
postComment(body: string): Promise<void>;
|
|
191
|
-
replyToDiscussion(discussionId: string, body: string): Promise<void>;
|
|
192
|
-
writeFailedReport(mrIid: number, body: string): Promise<void>;
|
|
193
|
-
}
|
|
194
|
-
export interface ReviewCommentDeps {
|
|
195
|
-
postComment(body: string): Promise<void>;
|
|
196
|
-
replyToDiscussion(discussionId: string, body: string): Promise<void>;
|
|
197
|
-
writeFailedReport(mrIid: number, body: string): Promise<void>;
|
|
198
|
-
}
|
|
199
|
-
export interface GitlabFindingPoster {
|
|
200
|
-
baseUrl: string;
|
|
201
|
-
token: string;
|
|
202
|
-
projectId: number;
|
|
203
|
-
mrIid: number;
|
|
204
|
-
fetcher?: typeof fetch;
|
|
205
|
-
/** Internal per-review cache: all positions must use one MR diff snapshot. */
|
|
206
|
-
snapshot?: Promise<GitlabDiffSnapshot>;
|
|
207
|
-
}
|
|
208
|
-
interface GitlabMrChange {
|
|
209
|
-
old_path: string;
|
|
210
|
-
new_path: string;
|
|
211
|
-
diff: string;
|
|
212
|
-
collapsed?: boolean;
|
|
213
|
-
too_large?: boolean;
|
|
214
|
-
deleted_file?: boolean;
|
|
215
|
-
}
|
|
216
|
-
interface GitlabDiffPosition {
|
|
217
|
-
oldLine?: number;
|
|
218
|
-
newLine?: number;
|
|
219
|
-
}
|
|
220
|
-
interface GitlabDiffSnapshot {
|
|
221
|
-
diffRefs: {
|
|
222
|
-
base_sha: string;
|
|
223
|
-
start_sha: string;
|
|
224
|
-
head_sha: string;
|
|
225
|
-
};
|
|
226
|
-
changes: GitlabMrChange[];
|
|
227
|
-
}
|
|
228
|
-
/** Map a new-side line number to its exact unified-diff position. */
|
|
229
|
-
export declare function diffPositionForNewLine(diff: string, targetLine: number): GitlabDiffPosition | undefined;
|
|
230
|
-
/**
|
|
231
|
-
* Publish agent findings from the orchestrator's own context. Agent tools are
|
|
232
|
-
* mounted inside a setup child fiber and are not guaranteed to remain
|
|
233
|
-
* executable through `handle.agent.ctx` after the agent turn ends.
|
|
234
|
-
*/
|
|
235
|
-
export declare function postReviewFindings(findings: ReviewFinding[], config: GitlabFindingPoster): Promise<void>;
|
|
236
|
-
/**
|
|
237
|
-
* Stable 8-char hex suffix of the review key, so distinct concurrent reviews
|
|
238
|
-
* (quick + deep of one MR) never share one worktree directory.
|
|
239
|
-
*/
|
|
240
|
-
export declare function reviewKeyHash(payload: ReviewRequest): string;
|
|
241
|
-
/**
|
|
242
|
-
* Read an agent session's transcript for the auditor's final output.
|
|
243
|
-
* `ownEvents()` (child-owned suffix, no fork prefix) matches
|
|
244
|
-
* `finalAssistantOutput`'s documented input best, so `readSessionEvents`
|
|
245
|
-
* preferring it over `snapshotEvents()`/`.events` suits this caller too.
|
|
246
|
-
* Returns `[]` — never throws — when no event source exists.
|
|
247
|
-
*/
|
|
248
|
-
export declare function auditorOutputFromSession(session: unknown): readonly import("@deepseek-ai/dsh-llm").ContentBlock[];
|
|
249
|
-
/** CI-deep decision: deep mode + CI env + head SHA (spec §3). Mapping is checked by the caller. */
|
|
250
|
-
export declare function shouldCiDeepReview(payload: ReviewRequest): boolean;
|
|
251
|
-
/** CI quick-with-profile decision: quick mode + non-generic profile + CI env
|
|
252
|
-
* + head SHA. Quick + generic/unset stays diff-only (no clone cost); a real
|
|
253
|
-
* profile opts into the clone branch reviewer-only (no auditor — quick never
|
|
254
|
-
* audits, see shouldAudit in runReviewAndAudit). Mapping is checked by the caller. */
|
|
255
|
-
export declare function shouldCiQuickProfileReview(payload: ReviewRequest): boolean;
|
|
256
|
-
/** Auditor degrade for CI (no runtime env): an auditor throw becomes reviewer-only, never a failed review. */
|
|
257
|
-
export declare function withAuditorDegrade(runAuditor: (worktreePath: string, payload: ReviewRequest) => Promise<string>): (worktreePath: string, payload: ReviewRequest) => Promise<string>;
|
|
258
|
-
/** Prompt-level rule only: a prompt cannot enforce a shell allowlist, the teardown and sandbox stay host-side. */
|
|
259
|
-
export declare const AUDITOR_UNTRUSTED_RULE: string;
|
|
260
|
-
/**
|
|
261
|
-
* Auditor instruction. The mapped flow drives the environment through govard
|
|
262
|
-
* CLI commands in the bash tool (`govard env up`, `govard shell -c`,
|
|
263
|
-
* `govard env down -v`) and degrades to a report-only diff review when the CLI
|
|
264
|
-
* cannot run (`cliAvailable: false`, or a failure the model reports). The CI
|
|
265
|
-
* flow has no runtime at all and drops the Environment & Test Suite section
|
|
266
|
-
* entirely instead of reporting it "blocked".
|
|
267
|
-
*/
|
|
268
|
-
export declare function buildAuditorPrompt(opts: {
|
|
269
|
-
staticOnly: boolean;
|
|
270
|
-
cliAvailable?: boolean;
|
|
271
|
-
}): string;
|
|
272
|
-
/** Upper bound for the best-effort `govard env down -v` run by the orchestrator. */
|
|
273
|
-
export declare const GOVARD_TEARDOWN_TIMEOUT_MS = 120000;
|
|
274
|
-
type TeardownRun = (file: string, args: string[], opts: {
|
|
275
|
-
cwd: string;
|
|
276
|
-
timeout: number;
|
|
277
|
-
}) => Promise<unknown>;
|
|
278
|
-
/**
|
|
279
|
-
* Tear down the review worktree's govard environment (`govard env down -v`,
|
|
280
|
-
* cwd = the worktree, whose `.govard.local.yml` names the per-MR project).
|
|
281
|
-
* Never throws: it runs in cleanup paths where a failure must not mask the
|
|
282
|
-
* review result, so a failure is logged as a warning instead.
|
|
283
|
-
*/
|
|
284
|
-
export declare function teardownGovardEnvironment(worktreePath: string, run?: TeardownRun): Promise<void>;
|
|
285
|
-
export declare function runReviewAndAudit(payload: ReviewRequest, deps: ReviewAndAuditDeps): Promise<string>;
|
|
286
|
-
/**
|
|
287
|
-
* Review the GitLab diff without a local checkout. This deliberately has no
|
|
288
|
-
* auditor or Magento profile: those require the mapped repository and its
|
|
289
|
-
* environment. It is only reached for an explicit mention, never assignment.
|
|
290
|
-
*/
|
|
291
|
-
/** Diff-only fallback review; resolves to the comment body that was posted. */
|
|
292
|
-
export declare function runDiffOnlyReview(payload: ReviewRequest, deps: DiffOnlyReviewDeps): Promise<string>;
|
|
293
|
-
/** Decline a Deep request that lacks the local mapping it requires.
|
|
294
|
-
* Resolves `true` when the decline was posted, `false` when a duplicate
|
|
295
|
-
* in-flight review is already handling this key (caller must not record a
|
|
296
|
-
* completion for work it did not do). */
|
|
297
|
-
export declare function declineUnmappedDeepReview(payload: ReviewRequest, deps: ReviewCommentDeps): Promise<boolean>;
|
|
298
|
-
export declare function isBranchNotFoundError(err: unknown): boolean;
|
|
299
|
-
/**
|
|
300
|
-
* Keep a Govard audit worktree isolated from the developer's primary checkout.
|
|
301
|
-
* Without this local override, both checkouts inherit the same `project_name`
|
|
302
|
-
* and Govard may either reject the worktree or run commands in the wrong stack.
|
|
303
|
-
*/
|
|
304
|
-
export declare function govardWorktreeOverride(projectId: number, mrIid: number, keySuffix?: string): string;
|
|
305
|
-
/**
|
|
306
|
-
* Fetch the MR's diff base SHA for govard diff-scope runs. Best-effort:
|
|
307
|
-
* returns undefined (the reviewer prompt then omits the lint rule) rather
|
|
308
|
-
* than failing the review when GitLab is unreachable.
|
|
309
|
-
*/
|
|
310
|
-
export declare function fetchMrBaseSha(baseUrl: string, token: string, projectId: number, mrIid: number, fetcher?: typeof fetch): Promise<string | undefined>;
|
|
311
|
-
export declare function ensureWorktree(localRepoPath: string, sourceBranch: string, projectId: number, mrIid: number, keySuffix?: string): Promise<string>;
|
|
312
|
-
/**
|
|
313
|
-
* A vendor dir only counts as installed dependencies when the composer
|
|
314
|
-
* autoloader is a real file. Magento tracks `vendor/.htaccess`, so every
|
|
315
|
-
* worktree has a vendor/ stub — that stub must not pass for real deps, and
|
|
316
|
-
* must not block the container bind that provides them.
|
|
317
|
-
*/
|
|
318
|
-
export declare function vendorHasAutoload(dir: string): Promise<boolean>;
|
|
319
|
-
/**
|
|
320
|
-
* Share the primary checkout's `vendor/` (and `app/etc/env.php` when the
|
|
321
|
-
* auditor needs a database) into the review worktree via symlinks, so
|
|
322
|
-
* phpunit/static analysis run against real dependencies instead of falling
|
|
323
|
-
* back to static-only. Links point INTO the worktree only — the primary
|
|
324
|
-
* checkout is never written to — and `git worktree remove --force` deletes
|
|
325
|
-
* the links along with the worktree. Missing sources, or targets that
|
|
326
|
-
* already exist (e.g. Magento's tracked `vendor/.htaccess` stub), are
|
|
327
|
-
* skipped quietly: the review still runs, the auditor discloses it.
|
|
328
|
-
*/
|
|
329
|
-
export declare function linkVendorIntoWorktree(localRepoPath: string, worktreePath: string): Promise<string[]>;
|
|
330
|
-
/**
|
|
331
|
-
* Render a compose override that bind-mounts the primary checkout's vendor/
|
|
332
|
-
* read-only into the php service. A host-side symlink alone dangles inside
|
|
333
|
-
* containers (absolute host path), so container tools (phpunit) need this
|
|
334
|
-
* bind to see real dependencies.
|
|
335
|
-
*
|
|
336
|
-
* The project mount (`.`) MUST be repeated first: govard merges overrides
|
|
337
|
-
* with MergeMap, which REPLACES lists instead of appending — an override
|
|
338
|
-
* carrying only the vendor bind would wipe `.:<workdir>` and leave the
|
|
339
|
-
* container docroot holding nothing but vendor/. Relative `.` resolves
|
|
340
|
-
* against the project root because govard passes --project-directory.
|
|
341
|
-
*
|
|
342
|
-
* Only the always-present `php` service is targeted: `php-debug` drops out
|
|
343
|
-
* of the rendered base when xdebug is off, and a volumes-only override
|
|
344
|
-
* entry would recreate it as a hollow service that fails compose validation.
|
|
345
|
-
*/
|
|
346
|
-
export declare function buildVendorOverrideYaml(vendorHostPath: string, envHostPath?: string, containerWorkDir?: string): string;
|
|
347
|
-
/**
|
|
348
|
-
* Drop the vendor bind override into the worktree (merged by govard via
|
|
349
|
-
* `.govard/docker-compose.override.yml`). Binds only when the primary
|
|
350
|
-
* checkout carries installed deps and the worktree does not — never shadow
|
|
351
|
-
* real deps with a possibly stale bind. Returns the written path, or
|
|
352
|
-
* undefined when skipped.
|
|
353
|
-
*/
|
|
354
|
-
export declare function writeContainerVendorOverride(localRepoPath: string, worktreePath: string): Promise<string | undefined>;
|
|
355
|
-
export declare function apply(ctx: Context, config: Config): void;
|
|
356
|
-
export {};
|
|
357
|
-
//# sourceMappingURL=orchestrator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["../src/host/orchestrator.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAIxC,OAAO,KAAK,EAAE,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