agentic-sdlc-mcp 1.7.1 → 1.8.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 +37 -7
- package/dist/briefing/work-item-brief.d.ts +63 -0
- package/dist/briefing/work-item-brief.d.ts.map +1 -0
- package/dist/briefing/work-item-brief.js +215 -0
- package/dist/briefing/work-item-brief.js.map +1 -0
- package/dist/briefing/work-item-context.d.ts +42 -0
- package/dist/briefing/work-item-context.d.ts.map +1 -0
- package/dist/briefing/work-item-context.js +109 -0
- package/dist/briefing/work-item-context.js.map +1 -0
- package/dist/briefing/work-item-evidence.d.ts +88 -0
- package/dist/briefing/work-item-evidence.d.ts.map +1 -0
- package/dist/briefing/work-item-evidence.js +458 -0
- package/dist/briefing/work-item-evidence.js.map +1 -0
- package/dist/github/client.d.ts.map +1 -1
- package/dist/github/client.js +9 -3
- package/dist/github/client.js.map +1 -1
- package/dist/http-server.d.ts +14 -0
- package/dist/http-server.d.ts.map +1 -0
- package/dist/http-server.js +120 -0
- package/dist/http-server.js.map +1 -0
- package/dist/index.js +28 -51
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +34 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/agent-handoff.d.ts +2 -0
- package/dist/tools/agent-handoff.d.ts.map +1 -1
- package/dist/tools/agent-handoff.js +39 -21
- package/dist/tools/agent-handoff.js.map +1 -1
- package/dist/tools/create-pr-summary.d.ts +4 -0
- package/dist/tools/create-pr-summary.d.ts.map +1 -1
- package/dist/tools/create-pr-summary.js +42 -19
- package/dist/tools/create-pr-summary.js.map +1 -1
- package/dist/tools/prepare-work-item.d.ts +185 -17
- package/dist/tools/prepare-work-item.d.ts.map +1 -1
- package/dist/tools/prepare-work-item.js +250 -113
- package/dist/tools/prepare-work-item.js.map +1 -1
- package/dist/tools/release-readiness.d.ts +1 -1
- package/dist/tools/review-pr.d.ts +3 -3
- package/dist/tools/security-triage.d.ts.map +1 -1
- package/dist/tools/security-triage.js +11 -3
- package/dist/tools/security-triage.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -2
- package/server.json +2 -2
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { resolveRepo, getOctokit, paginateAll, handleGitHubError } from "../github/client.js";
|
|
9
|
+
import { safeMarkdownInline } from "../rendering/markdown.js";
|
|
9
10
|
// ---------------------------------------------------------------------------
|
|
10
11
|
// Schema
|
|
11
12
|
// ---------------------------------------------------------------------------
|
|
@@ -29,6 +30,8 @@ export const CreatePrSummaryOutputSchema = {
|
|
|
29
30
|
totalDeletions: z.number().int(),
|
|
30
31
|
totalFiles: z.number().int(),
|
|
31
32
|
hasTests: z.boolean(),
|
|
33
|
+
docsOnly: z.boolean(),
|
|
34
|
+
filesTruncated: z.boolean(),
|
|
32
35
|
risks: z.array(z.string()),
|
|
33
36
|
labels: z.array(z.string()),
|
|
34
37
|
};
|
|
@@ -42,10 +45,12 @@ export async function handleCreatePrSummary(params, ref, octokit) {
|
|
|
42
45
|
pull_number: params.pullNumber,
|
|
43
46
|
});
|
|
44
47
|
// Paginate — large PRs can have > 100 files
|
|
45
|
-
const
|
|
48
|
+
const fileEvidence = await paginateAll((page, perPage) => octokit.pulls
|
|
46
49
|
.listFiles({ owner: ref.owner, repo: ref.repo, pull_number: params.pullNumber, per_page: perPage, page })
|
|
47
|
-
.then((r) => r.data),
|
|
48
|
-
const
|
|
50
|
+
.then((r) => r.data), 301);
|
|
51
|
+
const filesTruncated = fileEvidence.length > 300;
|
|
52
|
+
const files = fileEvidence.slice(0, 300);
|
|
53
|
+
const labels = pr.labels.map((label) => (label.name ?? "").trim()).filter(Boolean);
|
|
49
54
|
const isDraft = pr.draft ?? false;
|
|
50
55
|
const totalAdditions = files.reduce((s, f) => s + f.additions, 0);
|
|
51
56
|
const totalDeletions = files.reduce((s, f) => s + f.deletions, 0);
|
|
@@ -63,14 +68,17 @@ export async function handleCreatePrSummary(params, ref, octokit) {
|
|
|
63
68
|
f.filename.endsWith(".rst") ||
|
|
64
69
|
f.filename.startsWith("docs/"));
|
|
65
70
|
const hasTests = testFiles.length > 0;
|
|
71
|
+
const docsOnly = !filesTruncated && files.length > 0 && files.every((file) => docFiles.includes(file));
|
|
66
72
|
// Compute risks
|
|
67
73
|
const risks = [];
|
|
68
74
|
if (configFiles.length > 0)
|
|
69
75
|
risks.push("Config file changes — verify no hardcoded secrets.");
|
|
70
76
|
if (totalAdditions > 500)
|
|
71
77
|
risks.push("Large diff (>500 added lines) — consider splitting.");
|
|
72
|
-
if (!hasTests)
|
|
78
|
+
if (!hasTests && !docsOnly)
|
|
73
79
|
risks.push("No test files detected — risk of regression.");
|
|
80
|
+
if (filesTruncated)
|
|
81
|
+
risks.push("File evidence is incomplete after the 300-file safety cap.");
|
|
74
82
|
const structured = {
|
|
75
83
|
pullNumber: pr.number,
|
|
76
84
|
title: pr.title,
|
|
@@ -83,56 +91,71 @@ export async function handleCreatePrSummary(params, ref, octokit) {
|
|
|
83
91
|
totalDeletions,
|
|
84
92
|
totalFiles: files.length,
|
|
85
93
|
hasTests,
|
|
94
|
+
docsOnly,
|
|
95
|
+
filesTruncated,
|
|
86
96
|
risks,
|
|
87
97
|
labels,
|
|
88
98
|
};
|
|
99
|
+
const renderedTitle = safeMarkdownInline(pr.title, { maxLength: 300 });
|
|
100
|
+
const renderedBody = pr.body
|
|
101
|
+
? safeMarkdownInline(pr.body, { maxLength: 2_000 })
|
|
102
|
+
: "_No PR description provided._";
|
|
103
|
+
const renderFile = (filename) => safeMarkdownInline(filename, { maxLength: 300 });
|
|
89
104
|
const lines = [
|
|
90
|
-
`# PR Summary: #${pr.number} — ${
|
|
105
|
+
`# PR Summary: #${pr.number} — ${renderedTitle}`,
|
|
91
106
|
"",
|
|
92
|
-
`**Author:** @${pr.user?.login ?? "unknown"}`,
|
|
107
|
+
`**Author:** @${safeMarkdownInline(pr.user?.login ?? "unknown", { maxLength: 100 })}`,
|
|
93
108
|
`**Status:** ${isDraft ? "Draft" : "Ready for review"}`,
|
|
94
|
-
`**Base -> Head:** \`${pr.base.ref}\` <- \`${pr.head.ref}\``,
|
|
95
|
-
`**Labels:** ${labels.length > 0 ? labels.join(", ") : "(none)"}`,
|
|
96
|
-
`**Created:** ${pr.created_at}`,
|
|
109
|
+
`**Base -> Head:** \`${safeMarkdownInline(pr.base.ref, { maxLength: 200 })}\` <- \`${safeMarkdownInline(pr.head.ref, { maxLength: 200 })}\``,
|
|
110
|
+
`**Labels:** ${labels.length > 0 ? labels.map((label) => safeMarkdownInline(label, { maxLength: 100 })).join(", ") : "(none)"}`,
|
|
111
|
+
`**Created:** ${safeMarkdownInline(pr.created_at, { maxLength: 100 })}`,
|
|
97
112
|
`**Commits:** ${pr.commits}`,
|
|
98
113
|
"",
|
|
99
114
|
"## Change Overview",
|
|
100
115
|
"",
|
|
101
|
-
|
|
116
|
+
renderedBody,
|
|
102
117
|
"",
|
|
103
118
|
"## Affected Files",
|
|
104
119
|
"",
|
|
105
|
-
`**+${totalAdditions} / -${totalDeletions}** across **${files.length} files
|
|
120
|
+
`**+${totalAdditions} / -${totalDeletions}** across **${files.length} files**${filesTruncated ? " _(truncated; evidence incomplete)_" : ""}`,
|
|
106
121
|
"",
|
|
107
122
|
"### Source Files",
|
|
108
123
|
];
|
|
109
124
|
srcFiles.slice(0, 20).forEach((f) => {
|
|
110
|
-
lines.push(`- \`${f.filename}\` (+${f.additions}/-${f.deletions}) [${f.status}]`);
|
|
125
|
+
lines.push(`- \`${renderFile(f.filename)}\` (+${f.additions}/-${f.deletions}) [${safeMarkdownInline(f.status, { maxLength: 50 })}]`);
|
|
111
126
|
});
|
|
112
127
|
if (srcFiles.length > 20)
|
|
113
128
|
lines.push(`- _(${srcFiles.length - 20} more)_`);
|
|
114
129
|
if (testFiles.length > 0) {
|
|
115
130
|
lines.push("", "### Test Files");
|
|
116
|
-
testFiles.forEach((f) => lines.push(`- \`${f.filename}\``));
|
|
131
|
+
testFiles.slice(0, 20).forEach((f) => lines.push(`- \`${renderFile(f.filename)}\``));
|
|
132
|
+
if (testFiles.length > 20)
|
|
133
|
+
lines.push(`- _(${testFiles.length - 20} more)_`);
|
|
117
134
|
}
|
|
118
135
|
if (configFiles.length > 0) {
|
|
119
136
|
lines.push("", "### Config / Schema Files (review carefully)");
|
|
120
|
-
configFiles.forEach((f) => lines.push(`- \`${f.filename}\``));
|
|
137
|
+
configFiles.slice(0, 20).forEach((f) => lines.push(`- \`${renderFile(f.filename)}\``));
|
|
138
|
+
if (configFiles.length > 20)
|
|
139
|
+
lines.push(`- _(${configFiles.length - 20} more)_`);
|
|
121
140
|
}
|
|
122
141
|
if (docFiles.length > 0) {
|
|
123
142
|
lines.push("", "### Documentation");
|
|
124
|
-
docFiles.forEach((f) => lines.push(`- \`${f.filename}\``));
|
|
143
|
+
docFiles.slice(0, 20).forEach((f) => lines.push(`- \`${renderFile(f.filename)}\``));
|
|
144
|
+
if (docFiles.length > 20)
|
|
145
|
+
lines.push(`- _(${docFiles.length - 20} more)_`);
|
|
125
146
|
}
|
|
126
|
-
lines.push("", "## Test Coverage Signals", "",
|
|
127
|
-
?
|
|
128
|
-
:
|
|
147
|
+
lines.push("", "## Test Coverage Signals", "", docsOnly
|
|
148
|
+
? "Documentation-only change; validate commands, links, and rendered output instead of requiring code tests."
|
|
149
|
+
: hasTests
|
|
150
|
+
? `${testFiles.length} test file(s) included in this PR.`
|
|
151
|
+
: "No test files detected in this PR. Consider adding or updating tests.", "", "## Risks", "");
|
|
129
152
|
if (risks.length === 0) {
|
|
130
153
|
lines.push("- No significant risks detected.");
|
|
131
154
|
}
|
|
132
155
|
else {
|
|
133
156
|
risks.forEach((r) => lines.push(`- ${r}`));
|
|
134
157
|
}
|
|
135
|
-
lines.push("", "## Review Checklist", "", "- [ ] Logic is correct and matches the issue/ticket", "- [ ] Edge cases are handled", "- [ ] Tests added or updated", "- [ ] No secrets or credentials in the diff", "- [ ] Documentation updated if behaviour changed", "- [ ] No unnecessary dependencies added", "- [ ] CI checks passing", "", "## Release Notes Draft", "", "```markdown", `### ${
|
|
158
|
+
lines.push("", "## Review Checklist", "", "- [ ] Logic is correct and matches the issue/ticket", "- [ ] Edge cases are handled", "- [ ] Tests added or updated", "- [ ] No secrets or credentials in the diff", "- [ ] Documentation updated if behaviour changed", "- [ ] No unnecessary dependencies added", "- [ ] CI checks passing", "", "## Release Notes Draft", "", "```markdown", `### ${renderedTitle}`, "", pr.body ? renderedBody : `Added/fixed: ${renderedTitle}`, "```");
|
|
136
159
|
return { text: lines.join("\n"), structured };
|
|
137
160
|
}
|
|
138
161
|
// ---------------------------------------------------------------------------
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-pr-summary.js","sourceRoot":"","sources":["../../src/tools/create-pr-summary.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"create-pr-summary.js","sourceRoot":"","sources":["../../src/tools/create-pr-summary.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,8EAA8E;AAC9E,SAAS;AACT,8EAA8E;AAE9E,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA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,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;aAC5D,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,14 +7,35 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import type { RepoRef } from "../types.js";
|
|
9
9
|
import type { Octokit } from "@octokit/rest";
|
|
10
|
+
import { type RiskAwareBrief } from "../briefing/work-item-brief.js";
|
|
11
|
+
import { type WorkItemDependency } from "../briefing/work-item-context.js";
|
|
12
|
+
import { type MaintainerCommentEvidence, type RecentPrMatch, type RelatedFileEvidence } from "../briefing/work-item-evidence.js";
|
|
13
|
+
export { extractRepositoryPathHints, fileMatchesHint, findRecentPRsEvidence, findRecentPRsForFileHints, } from "../briefing/work-item-evidence.js";
|
|
14
|
+
export type { MaintainerCommentEvidence, RecentPrMatch, RelatedFileEvidence, } from "../briefing/work-item-evidence.js";
|
|
10
15
|
export declare const PrepareWorkItemInputSchema: z.ZodObject<{
|
|
11
16
|
owner: z.ZodOptional<z.ZodString>;
|
|
12
17
|
repo: z.ZodOptional<z.ZodString>;
|
|
13
18
|
issueNumber: z.ZodNumber;
|
|
14
19
|
includeRelatedFiles: z.ZodDefault<z.ZodBoolean>;
|
|
15
20
|
includeRecentPRs: z.ZodDefault<z.ZodBoolean>;
|
|
21
|
+
includeDependencies: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
+
workType: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
docs: "docs";
|
|
24
|
+
feature: "feature";
|
|
25
|
+
bugfix: "bugfix";
|
|
26
|
+
refactor: "refactor";
|
|
27
|
+
security: "security";
|
|
28
|
+
release: "release";
|
|
29
|
+
infra: "infra";
|
|
30
|
+
}>>;
|
|
31
|
+
riskLevel: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
critical: "critical";
|
|
33
|
+
high: "high";
|
|
34
|
+
medium: "medium";
|
|
35
|
+
low: "low";
|
|
36
|
+
}>>;
|
|
16
37
|
}, z.core.$strip>;
|
|
17
|
-
export type PrepareWorkItemInput = z.
|
|
38
|
+
export type PrepareWorkItemInput = z.input<typeof PrepareWorkItemInputSchema>;
|
|
18
39
|
export declare const PrepareWorkItemOutputSchema: {
|
|
19
40
|
issueNumber: z.ZodNumber;
|
|
20
41
|
title: z.ZodString;
|
|
@@ -23,6 +44,18 @@ export declare const PrepareWorkItemOutputSchema: {
|
|
|
23
44
|
labels: z.ZodArray<z.ZodString>;
|
|
24
45
|
assignees: z.ZodArray<z.ZodString>;
|
|
25
46
|
relatedFileHints: z.ZodArray<z.ZodString>;
|
|
47
|
+
relatedFiles: z.ZodArray<z.ZodObject<{
|
|
48
|
+
path: z.ZodString;
|
|
49
|
+
reason: z.ZodString;
|
|
50
|
+
confidence: z.ZodEnum<{
|
|
51
|
+
high: "high";
|
|
52
|
+
medium: "medium";
|
|
53
|
+
low: "low";
|
|
54
|
+
}>;
|
|
55
|
+
verified: z.ZodBoolean;
|
|
56
|
+
owners: z.ZodArray<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
relatedFilesIncomplete: z.ZodBoolean;
|
|
26
59
|
recentPRs: z.ZodArray<z.ZodObject<{
|
|
27
60
|
number: z.ZodNumber;
|
|
28
61
|
title: z.ZodString;
|
|
@@ -30,16 +63,142 @@ export declare const PrepareWorkItemOutputSchema: {
|
|
|
30
63
|
mergedAt: z.ZodNullable<z.ZodString>;
|
|
31
64
|
matchedFiles: z.ZodArray<z.ZodString>;
|
|
32
65
|
}, z.core.$strip>>;
|
|
66
|
+
dependencies: z.ZodArray<z.ZodObject<{
|
|
67
|
+
relation: z.ZodEnum<{
|
|
68
|
+
blocked_by: "blocked_by";
|
|
69
|
+
blocking: "blocking";
|
|
70
|
+
sub_issue: "sub_issue";
|
|
71
|
+
cross_reference: "cross_reference";
|
|
72
|
+
}>;
|
|
73
|
+
repository: z.ZodString;
|
|
74
|
+
number: z.ZodNumber;
|
|
75
|
+
title: z.ZodString;
|
|
76
|
+
state: z.ZodString;
|
|
77
|
+
url: z.ZodString;
|
|
78
|
+
verified: z.ZodLiteral<true>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
81
|
+
relation: z.ZodEnum<{
|
|
82
|
+
blocked_by: "blocked_by";
|
|
83
|
+
blocking: "blocking";
|
|
84
|
+
sub_issue: "sub_issue";
|
|
85
|
+
cross_reference: "cross_reference";
|
|
86
|
+
}>;
|
|
87
|
+
repository: z.ZodString;
|
|
88
|
+
number: z.ZodNumber;
|
|
89
|
+
title: z.ZodString;
|
|
90
|
+
state: z.ZodString;
|
|
91
|
+
url: z.ZodString;
|
|
92
|
+
verified: z.ZodLiteral<true>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
parallelizableWork: z.ZodArray<z.ZodObject<{
|
|
95
|
+
relation: z.ZodEnum<{
|
|
96
|
+
blocked_by: "blocked_by";
|
|
97
|
+
blocking: "blocking";
|
|
98
|
+
sub_issue: "sub_issue";
|
|
99
|
+
cross_reference: "cross_reference";
|
|
100
|
+
}>;
|
|
101
|
+
repository: z.ZodString;
|
|
102
|
+
number: z.ZodNumber;
|
|
103
|
+
title: z.ZodString;
|
|
104
|
+
state: z.ZodString;
|
|
105
|
+
url: z.ZodString;
|
|
106
|
+
verified: z.ZodLiteral<true>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
dependencyEvidenceIncomplete: z.ZodBoolean;
|
|
109
|
+
milestone: z.ZodNullable<z.ZodObject<{
|
|
110
|
+
number: z.ZodNumber;
|
|
111
|
+
title: z.ZodString;
|
|
112
|
+
state: z.ZodString;
|
|
113
|
+
url: z.ZodString;
|
|
114
|
+
dueOn: z.ZodNullable<z.ZodString>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
workType: z.ZodEnum<{
|
|
117
|
+
docs: "docs";
|
|
118
|
+
feature: "feature";
|
|
119
|
+
bugfix: "bugfix";
|
|
120
|
+
refactor: "refactor";
|
|
121
|
+
security: "security";
|
|
122
|
+
release: "release";
|
|
123
|
+
infra: "infra";
|
|
124
|
+
}>;
|
|
125
|
+
workTypeConfidence: z.ZodEnum<{
|
|
126
|
+
high: "high";
|
|
127
|
+
medium: "medium";
|
|
128
|
+
low: "low";
|
|
129
|
+
}>;
|
|
130
|
+
riskProfile: z.ZodObject<{
|
|
131
|
+
level: z.ZodEnum<{
|
|
132
|
+
critical: "critical";
|
|
133
|
+
high: "high";
|
|
134
|
+
medium: "medium";
|
|
135
|
+
low: "low";
|
|
136
|
+
}>;
|
|
137
|
+
domains: z.ZodArray<z.ZodString>;
|
|
138
|
+
blastRadius: z.ZodEnum<{
|
|
139
|
+
unknown: "unknown";
|
|
140
|
+
repository: "repository";
|
|
141
|
+
local: "local";
|
|
142
|
+
"cross-system": "cross-system";
|
|
143
|
+
"cross-tenant": "cross-tenant";
|
|
144
|
+
}>;
|
|
145
|
+
confidence: z.ZodEnum<{
|
|
146
|
+
high: "high";
|
|
147
|
+
medium: "medium";
|
|
148
|
+
low: "low";
|
|
149
|
+
}>;
|
|
150
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
sourceEvidence: z.ZodArray<z.ZodObject<{
|
|
153
|
+
kind: z.ZodEnum<{
|
|
154
|
+
repository: "repository";
|
|
155
|
+
policy: "policy";
|
|
156
|
+
issue: "issue";
|
|
157
|
+
}>;
|
|
158
|
+
ref: z.ZodString;
|
|
159
|
+
verified: z.ZodBoolean;
|
|
160
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
161
|
+
blobSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
acceptanceCriteria: z.ZodArray<z.ZodObject<{
|
|
164
|
+
text: z.ZodString;
|
|
165
|
+
source: z.ZodEnum<{
|
|
166
|
+
issue: "issue";
|
|
167
|
+
derived: "derived";
|
|
168
|
+
}>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
170
|
+
commentEvidence: z.ZodArray<z.ZodObject<{
|
|
171
|
+
kind: z.ZodEnum<{
|
|
172
|
+
decision: "decision";
|
|
173
|
+
action: "action";
|
|
174
|
+
}>;
|
|
175
|
+
author: z.ZodString;
|
|
176
|
+
association: z.ZodEnum<{
|
|
177
|
+
COLLABORATOR: "COLLABORATOR";
|
|
178
|
+
MEMBER: "MEMBER";
|
|
179
|
+
OWNER: "OWNER";
|
|
180
|
+
}>;
|
|
181
|
+
createdAt: z.ZodString;
|
|
182
|
+
url: z.ZodNullable<z.ZodString>;
|
|
183
|
+
excerpt: z.ZodString;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
needsClarification: z.ZodArray<z.ZodString>;
|
|
186
|
+
defensiveRequirements: z.ZodArray<z.ZodString>;
|
|
187
|
+
negativeScenarios: z.ZodArray<z.ZodString>;
|
|
188
|
+
verificationCommands: z.ZodArray<z.ZodObject<{
|
|
189
|
+
command: z.ZodString;
|
|
190
|
+
script: z.ZodString;
|
|
191
|
+
verified: z.ZodLiteral<true>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
manualChecks: z.ZodArray<z.ZodString>;
|
|
194
|
+
rollbackPlan: z.ZodArray<z.ZodString>;
|
|
195
|
+
observabilityPlan: z.ZodArray<z.ZodString>;
|
|
196
|
+
commentsTruncated: z.ZodBoolean;
|
|
197
|
+
recentPRsIncomplete: z.ZodBoolean;
|
|
198
|
+
evidenceWarnings: z.ZodArray<z.ZodString>;
|
|
33
199
|
handoffPrompt: z.ZodString;
|
|
34
200
|
};
|
|
35
|
-
export interface
|
|
36
|
-
number: number;
|
|
37
|
-
title: string;
|
|
38
|
-
url: string;
|
|
39
|
-
mergedAt: string | null;
|
|
40
|
-
matchedFiles: string[];
|
|
41
|
-
}
|
|
42
|
-
export interface WorkItemResult {
|
|
201
|
+
export interface WorkItemResult extends RiskAwareBrief {
|
|
43
202
|
issueNumber: number;
|
|
44
203
|
title: string;
|
|
45
204
|
state: string;
|
|
@@ -47,17 +206,26 @@ export interface WorkItemResult {
|
|
|
47
206
|
labels: string[];
|
|
48
207
|
assignees: string[];
|
|
49
208
|
relatedFileHints: string[];
|
|
209
|
+
relatedFiles: RelatedFileEvidence[];
|
|
210
|
+
relatedFilesIncomplete: boolean;
|
|
50
211
|
recentPRs: RecentPrMatch[];
|
|
212
|
+
dependencies: WorkItemDependency[];
|
|
213
|
+
blockers: WorkItemDependency[];
|
|
214
|
+
parallelizableWork: WorkItemDependency[];
|
|
215
|
+
dependencyEvidenceIncomplete: boolean;
|
|
216
|
+
milestone: {
|
|
217
|
+
number: number;
|
|
218
|
+
title: string;
|
|
219
|
+
state: string;
|
|
220
|
+
url: string;
|
|
221
|
+
dueOn: string | null;
|
|
222
|
+
} | null;
|
|
223
|
+
commentsTruncated: boolean;
|
|
224
|
+
recentPRsIncomplete: boolean;
|
|
225
|
+
evidenceWarnings: string[];
|
|
226
|
+
commentEvidence: MaintainerCommentEvidence[];
|
|
51
227
|
handoffPrompt: string;
|
|
52
228
|
}
|
|
53
|
-
/** True if a changed-file path and a heuristic file hint plausibly refer to the same file. */
|
|
54
|
-
export declare function fileMatchesHint(filename: string, hint: string): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Heuristically find recent merged PRs that touched any of `fileHints`.
|
|
57
|
-
* Scans at most RECENT_PRS_TO_SCAN recently-updated closed PRs and stops
|
|
58
|
-
* early once MAX_RECENT_PR_MATCHES matches are found, to bound API calls.
|
|
59
|
-
*/
|
|
60
|
-
export declare function findRecentPRsForFileHints(octokit: Octokit, ref: RepoRef, fileHints: string[]): Promise<RecentPrMatch[]>;
|
|
61
229
|
export declare function handlePrepareWorkItem(params: PrepareWorkItemInput, ref: RepoRef, octokit: Octokit): Promise<{
|
|
62
230
|
text: string;
|
|
63
231
|
structured: WorkItemResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-work-item.d.ts","sourceRoot":"","sources":["../../src/tools/prepare-work-item.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"prepare-work-item.d.ts","sourceRoot":"","sources":["../../src/tools/prepare-work-item.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,kBAAkB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,yBAAyB,EACzB,aAAa,EACb,mBAAmB,GACpB,MAAM,mCAAmC,CAAC;AAM3C,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;iBAsBrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AA4E9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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