@ai-sdlc/orchestrator 0.1.0 → 0.1.2
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/LICENSE +201 -0
- package/dist/cli/commands/init.js +72 -23
- package/dist/cli/commands/validate.d.ts +6 -0
- package/dist/cli/commands/validate.js +21 -0
- package/dist/cli/formatters/table.js +23 -0
- package/dist/cli/index.js +2 -0
- package/dist/execute.js +39 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/runners/claude-code.js +3 -3
- package/dist/validate-agent-output.d.ts +1 -0
- package/dist/validate-agent-output.js +8 -4
- package/dist/validate-config.d.ts +19 -0
- package/dist/validate-config.js +72 -0
- package/package.json +15 -11
- package/dist/runners/copilot-stub.d.ts +0 -9
- package/dist/runners/copilot-stub.js +0 -15
- package/dist/runners/cursor-stub.d.ts +0 -9
- package/dist/runners/cursor-stub.js +0 -15
- package/dist/runners/devin-stub.d.ts +0 -9
- package/dist/runners/devin-stub.js +0 -15
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -9,22 +9,29 @@ kind: Pipeline
|
|
|
9
9
|
metadata:
|
|
10
10
|
name: default
|
|
11
11
|
spec:
|
|
12
|
+
triggers:
|
|
13
|
+
- event: issue.labeled
|
|
14
|
+
filter:
|
|
15
|
+
labels:
|
|
16
|
+
- ai-eligible
|
|
17
|
+
providers:
|
|
18
|
+
sourceControl:
|
|
19
|
+
type: github
|
|
20
|
+
config:
|
|
21
|
+
org: your-org
|
|
12
22
|
stages:
|
|
13
23
|
- name: validate
|
|
14
|
-
|
|
24
|
+
qualityGates:
|
|
25
|
+
- default-gates
|
|
15
26
|
- name: code
|
|
16
|
-
|
|
17
|
-
timeout:
|
|
27
|
+
agent: default-agent
|
|
28
|
+
timeout: PT30M
|
|
18
29
|
onFailure:
|
|
19
|
-
|
|
30
|
+
strategy: retry
|
|
20
31
|
maxRetries: 2
|
|
21
32
|
- name: review
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- event: issue.labeled
|
|
25
|
-
filters:
|
|
26
|
-
- field: label
|
|
27
|
-
value: ai-sdlc
|
|
33
|
+
qualityGates:
|
|
34
|
+
- default-gates
|
|
28
35
|
`;
|
|
29
36
|
const AGENT_ROLE_YAML = `apiVersion: ai-sdlc.io/v1alpha1
|
|
30
37
|
kind: AgentRole
|
|
@@ -52,19 +59,28 @@ kind: QualityGate
|
|
|
52
59
|
metadata:
|
|
53
60
|
name: default-gates
|
|
54
61
|
spec:
|
|
62
|
+
scope:
|
|
63
|
+
authorTypes:
|
|
64
|
+
- ai-agent
|
|
55
65
|
gates:
|
|
56
66
|
- name: has-description
|
|
67
|
+
enforcement: hard-mandatory
|
|
57
68
|
rule:
|
|
58
69
|
metric: description-length
|
|
59
|
-
operator:
|
|
60
|
-
threshold:
|
|
61
|
-
enforcement: mandatory
|
|
70
|
+
operator: '>='
|
|
71
|
+
threshold: 1
|
|
62
72
|
- name: has-acceptance-criteria
|
|
73
|
+
enforcement: soft-mandatory
|
|
63
74
|
rule:
|
|
64
75
|
metric: has-acceptance-criteria
|
|
65
|
-
operator:
|
|
76
|
+
operator: '>='
|
|
66
77
|
threshold: 1
|
|
67
|
-
|
|
78
|
+
override:
|
|
79
|
+
requiredRole: tech-lead
|
|
80
|
+
requiresJustification: true
|
|
81
|
+
evaluation:
|
|
82
|
+
pipeline: pre-merge
|
|
83
|
+
timeout: 30s
|
|
68
84
|
`;
|
|
69
85
|
const AUTONOMY_POLICY_YAML = `apiVersion: ai-sdlc.io/v1alpha1
|
|
70
86
|
kind: AutonomyPolicy
|
|
@@ -73,22 +89,48 @@ metadata:
|
|
|
73
89
|
spec:
|
|
74
90
|
levels:
|
|
75
91
|
- level: 0
|
|
76
|
-
name:
|
|
92
|
+
name: Supervised
|
|
93
|
+
description: All actions require human approval
|
|
77
94
|
permissions:
|
|
78
|
-
read: [
|
|
79
|
-
write: [
|
|
80
|
-
execute: []
|
|
95
|
+
read: ['**']
|
|
96
|
+
write: ['src/**', 'test/**', 'tests/**']
|
|
97
|
+
execute: ['test-suite']
|
|
81
98
|
guardrails:
|
|
99
|
+
requireApproval: all
|
|
82
100
|
maxLinesPerPR: 300
|
|
83
101
|
blockedPaths:
|
|
84
102
|
- .github/workflows/**
|
|
85
103
|
- .ai-sdlc/**
|
|
104
|
+
monitoring: continuous
|
|
105
|
+
minimumDuration: null
|
|
106
|
+
- level: 1
|
|
107
|
+
name: Assisted
|
|
108
|
+
description: Routine changes are autonomous, complex changes need review
|
|
109
|
+
permissions:
|
|
110
|
+
read: ['**']
|
|
111
|
+
write: ['src/**', 'test/**', 'tests/**', 'docs/**']
|
|
112
|
+
execute: ['test-suite', 'lint', 'build']
|
|
113
|
+
guardrails:
|
|
114
|
+
requireApproval: security-critical-only
|
|
115
|
+
maxLinesPerPR: 500
|
|
116
|
+
monitoring: real-time-notification
|
|
117
|
+
minimumDuration: 4w
|
|
86
118
|
promotionCriteria:
|
|
87
|
-
-
|
|
88
|
-
|
|
119
|
+
'0-to-1':
|
|
120
|
+
minimumTasks: 10
|
|
121
|
+
conditions:
|
|
122
|
+
- metric: pr-approval-rate
|
|
123
|
+
operator: '>='
|
|
124
|
+
threshold: 0.90
|
|
125
|
+
requiredApprovals:
|
|
126
|
+
- tech-lead
|
|
89
127
|
demotionTriggers:
|
|
90
|
-
- trigger:
|
|
91
|
-
|
|
128
|
+
- trigger: critical-security-incident
|
|
129
|
+
action: demote-to-0
|
|
130
|
+
cooldown: 4w
|
|
131
|
+
- trigger: test-failure-rate-exceeds-threshold
|
|
132
|
+
action: demote-one-level
|
|
133
|
+
cooldown: 2w
|
|
92
134
|
`;
|
|
93
135
|
export const initCommand = new Command('init')
|
|
94
136
|
.description('Initialize AI-SDLC configuration in the current project')
|
|
@@ -122,6 +164,13 @@ export const initCommand = new Command('init')
|
|
|
122
164
|
console.log(` created ${f.name}`);
|
|
123
165
|
}
|
|
124
166
|
}
|
|
167
|
+
// Create state directory for SQLite store
|
|
168
|
+
const stateDir = join(configDir, 'state');
|
|
169
|
+
if (!existsSync(stateDir)) {
|
|
170
|
+
mkdirSync(stateDir, { recursive: true });
|
|
171
|
+
console.log(` created state/`);
|
|
172
|
+
}
|
|
125
173
|
console.log(`\nAI-SDLC config initialized in ${configDir}/`);
|
|
174
|
+
console.log(`Run 'ai-sdlc health' to verify your configuration.`);
|
|
126
175
|
});
|
|
127
176
|
//# sourceMappingURL=init.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ai-sdlc validate — validate config files without running the full health check.
|
|
3
|
+
*/
|
|
4
|
+
import { resolve } from 'node:path';
|
|
5
|
+
import { Command } from 'commander';
|
|
6
|
+
import { formatOutput } from '../formatters/index.js';
|
|
7
|
+
import { validateConfigFiles } from '../../validate-config.js';
|
|
8
|
+
export const validateCommand = new Command('validate')
|
|
9
|
+
.description('Validate AI-SDLC config files')
|
|
10
|
+
.option('--file <name>', 'Validate a specific YAML file only')
|
|
11
|
+
.action(async (opts, cmd) => {
|
|
12
|
+
const globalOpts = cmd.parent?.opts() ?? {};
|
|
13
|
+
const format = globalOpts.format ?? 'table';
|
|
14
|
+
const configDir = resolve(globalOpts.config ?? '.ai-sdlc');
|
|
15
|
+
const results = validateConfigFiles(configDir, opts.file);
|
|
16
|
+
console.log(formatOutput(format, { type: 'validate', results, configDir }));
|
|
17
|
+
if (results.some((r) => !r.valid)) {
|
|
18
|
+
process.exitCode = 1;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=validate.js.map
|
|
@@ -172,6 +172,29 @@ export function formatTable(data) {
|
|
|
172
172
|
}
|
|
173
173
|
break;
|
|
174
174
|
}
|
|
175
|
+
case 'validate': {
|
|
176
|
+
const configDir = data.configDir;
|
|
177
|
+
lines.push(`Validation Results (${configDir})`);
|
|
178
|
+
lines.push('─'.repeat(50));
|
|
179
|
+
const results = data.results;
|
|
180
|
+
if (results.length === 0) {
|
|
181
|
+
lines.push('No YAML files found.');
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
for (const r of results) {
|
|
185
|
+
const status = r.valid ? 'VALID' : 'INVALID';
|
|
186
|
+
const kindStr = r.kind ? String(r.kind).padEnd(16) : '(unknown)'.padEnd(16);
|
|
187
|
+
lines.push(` ${String(r.file).padEnd(28)} ${kindStr} ${status}`);
|
|
188
|
+
if (!r.valid) {
|
|
189
|
+
const errors = r.errors;
|
|
190
|
+
for (const e of errors) {
|
|
191
|
+
lines.push(` ${e.path}: ${e.message}`);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
175
198
|
default: {
|
|
176
199
|
// Generic key-value output
|
|
177
200
|
for (const [key, value] of Object.entries(data)) {
|
package/dist/cli/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import { routingCommand } from './commands/routing.js';
|
|
|
13
13
|
import { complexityCommand } from './commands/complexity.js';
|
|
14
14
|
import { costCommand } from './commands/cost.js';
|
|
15
15
|
import { dashboardCommand } from './commands/dashboard.js';
|
|
16
|
+
import { validateCommand } from './commands/validate.js';
|
|
16
17
|
const program = new Command();
|
|
17
18
|
program
|
|
18
19
|
.name('ai-sdlc')
|
|
@@ -31,5 +32,6 @@ program.addCommand(routingCommand);
|
|
|
31
32
|
program.addCommand(complexityCommand);
|
|
32
33
|
program.addCommand(costCommand);
|
|
33
34
|
program.addCommand(dashboardCommand);
|
|
35
|
+
program.addCommand(validateCommand);
|
|
34
36
|
program.parse();
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
package/dist/execute.js
CHANGED
|
@@ -29,6 +29,7 @@ import { createPipelineMemory } from './shared.js';
|
|
|
29
29
|
import { hasResourceChanged, fingerprintResource } from './reconcilers.js';
|
|
30
30
|
import { CostTracker } from './cost-tracker.js';
|
|
31
31
|
import { enrichAgentContext } from './context-enrichment.js';
|
|
32
|
+
import { reportGateCheckRuns } from './check-runs.js';
|
|
32
33
|
/**
|
|
33
34
|
* Execute the full AI-SDLC pipeline for a given issue number.
|
|
34
35
|
*/
|
|
@@ -370,7 +371,44 @@ async function executePipelineBody(issueNumber, issue, config, qualityGate, agen
|
|
|
370
371
|
},
|
|
371
372
|
});
|
|
372
373
|
});
|
|
373
|
-
// 11b.
|
|
374
|
+
// 11b. Evaluate quality gates and report as GitHub Check Runs
|
|
375
|
+
if (qualityGate.spec.gates.length > 0) {
|
|
376
|
+
try {
|
|
377
|
+
const { stdout: headSha } = await execFileAsync('git', ['rev-parse', 'HEAD'], {
|
|
378
|
+
cwd: workDir,
|
|
379
|
+
});
|
|
380
|
+
const gateResults = qualityGate.spec.gates.map((gate) => {
|
|
381
|
+
const evalResult = evaluatePipelineGate(gate, {
|
|
382
|
+
authorType: 'ai-agent',
|
|
383
|
+
repository: '',
|
|
384
|
+
metrics: costMetrics,
|
|
385
|
+
});
|
|
386
|
+
return {
|
|
387
|
+
gate: evalResult.gate,
|
|
388
|
+
verdict: evalResult.verdict === 'override' ? 'pass' : evalResult.verdict,
|
|
389
|
+
message: evalResult.message,
|
|
390
|
+
};
|
|
391
|
+
});
|
|
392
|
+
// Report to GitHub Check Runs (best-effort, non-blocking)
|
|
393
|
+
await reportGateCheckRuns(headSha.trim(), gateResults).catch(() => {
|
|
394
|
+
log.info('Failed to report gate check runs to GitHub (non-blocking)');
|
|
395
|
+
});
|
|
396
|
+
auditLog.record({
|
|
397
|
+
actor: 'system',
|
|
398
|
+
action: 'evaluate',
|
|
399
|
+
resource: `issue#${issueNumber}`,
|
|
400
|
+
policy: 'post-agent-gates',
|
|
401
|
+
decision: gateResults.every((g) => g.verdict === 'pass') ? 'allowed' : 'denied',
|
|
402
|
+
details: {
|
|
403
|
+
gates: gateResults.map((g) => ({ gate: g.gate, verdict: g.verdict })),
|
|
404
|
+
},
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
catch {
|
|
408
|
+
log.info('Post-agent gate evaluation skipped');
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
// 11c. Post-agent complexity evaluation (non-blocking)
|
|
374
412
|
try {
|
|
375
413
|
const { stdout: diffStat } = await execFileAsync('git', ['diff', '--stat', 'HEAD~1'], {
|
|
376
414
|
cwd: workDir,
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { validateIssue, validateIssueWithExtensions, parseComplexity } from './v
|
|
|
3
3
|
export { executePipeline, type ExecuteOptions, type PipelineResult, type PromotionResult, } from './execute.js';
|
|
4
4
|
export { validateAgentOutput, type ValidationContext, type ValidationResult, type ValidationViolation, } from './validate-agent-output.js';
|
|
5
5
|
export { createLogger, type Logger } from './logger.js';
|
|
6
|
+
export { validateConfigFiles, type FileValidationResult } from './validate-config.js';
|
|
6
7
|
export { executeFixCI, countRetryAttempts, fetchCILogs, type FixCIOptions } from './fix-ci.js';
|
|
7
8
|
export { getGitHubConfig, resolveRepoRoot, createDefaultAuditLog, resolveAutonomyLevel, resolveConstraints, mergeBlockedPaths, isAutonomousStrategy, recordMetric, validateAndAuditOutput, createPipelineMemory, evaluatePipelineCompliance, authorizeFilesChanged, extractIssueNumber, BRANCH_PATTERN, createAbacPermissionHook, createBlockedPathsHook, createAuditLoggingHook, createPipelineAuthorizationChain, type GitHubEnvConfig, type ValidateAndAuditParams, } from './shared.js';
|
|
8
9
|
export { DEFAULT_MODEL, DEFAULT_GITHUB_ORG, DEFAULT_GITHUB_REPO, DEFAULT_GITHUB_REPOSITORY, DEFAULT_CONFIG_DIR_NAME, DEFAULT_SANDBOX_MEMORY_MB, DEFAULT_SANDBOX_CPU_PERCENT, DEFAULT_SANDBOX_NETWORK_POLICY, DEFAULT_SANDBOX_TIMEOUT_MS, defaultSandboxConstraints, DEFAULT_RUNNER_TIMEOUT_MS, DEFAULT_ALLOWED_TOOLS, DEFAULT_MAX_FILES_PER_CHANGE, DEFAULT_REQUIRE_TESTS, DEFAULT_BLOCKED_PATHS, DEFAULT_MAX_FIX_ATTEMPTS, DEFAULT_MAX_LOG_LINES, DEFAULT_GH_CLI_TIMEOUT_MS, DEFAULT_JIT_TTL_MS, DEFAULT_JIT_SCOPE, DEFAULT_BRANCH_TEMPLATE, DEFAULT_BRANCH_PATTERN, DEFAULT_PR_TITLE_TEMPLATE, DEFAULT_PR_FOOTER, DEFAULT_COMPLEXITY_THRESHOLDS, DEFAULT_MAX_LINES_PER_PR, DEFAULT_ANALYSIS_INCLUDE, DEFAULT_ANALYSIS_EXCLUDE, DEFAULT_GIT_HISTORY_DAYS, DEFAULT_HOTSPOT_THRESHOLD, NOTIFICATION_TITLES, DEFAULT_MODEL_COSTS, DEFAULT_COST_BUDGET_USD, DEFAULT_DASHBOARD_REFRESH_MS, PROGRESSIVE_GATE_PROFILES, DEFAULT_LINT_COMMAND, DEFAULT_FORMAT_COMMAND, DEFAULT_COMMIT_MESSAGE_TEMPLATE, DEFAULT_COMMIT_CO_AUTHOR, DEFAULT_OPENAI_API_URL, DEFAULT_OPENAI_MODEL, DEFAULT_ANTHROPIC_API_URL, DEFAULT_ANTHROPIC_MODEL, DEFAULT_GENERIC_LLM_MODEL, DEFAULT_LLM_TIMEOUT_MS, DEFAULT_LLM_MAX_TOKENS, DEFAULT_LLM_SYSTEM_PROMPT, DEFAULT_DOCKER_IMAGE, DEFAULT_WORKFLOW_FILE, DEFAULT_LABEL_TO_SKILL_MAP, DEFAULT_ANALYSIS_CACHE_TTL_MS, } from './defaults.js';
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { validateIssue, validateIssueWithExtensions, parseComplexity } from './v
|
|
|
4
4
|
export { executePipeline, } from './execute.js';
|
|
5
5
|
export { validateAgentOutput, } from './validate-agent-output.js';
|
|
6
6
|
export { createLogger } from './logger.js';
|
|
7
|
+
export { validateConfigFiles } from './validate-config.js';
|
|
7
8
|
export { executeFixCI, countRetryAttempts, fetchCILogs } from './fix-ci.js';
|
|
8
9
|
// Shared utilities
|
|
9
10
|
export { getGitHubConfig, resolveRepoRoot, createDefaultAuditLog, resolveAutonomyLevel, resolveConstraints, mergeBlockedPaths, isAutonomousStrategy, recordMetric, validateAndAuditOutput, createPipelineMemory, evaluatePipelineCompliance, authorizeFilesChanged, extractIssueNumber, BRANCH_PATTERN, createAbacPermissionHook, createBlockedPathsHook, createAuditLoggingHook, createPipelineAuthorizationChain, } from './shared.js';
|
|
@@ -32,7 +32,7 @@ export function buildPrompt(ctx) {
|
|
|
32
32
|
else if (fmtCmd) {
|
|
33
33
|
lines.push(`${++step}. After making ANY code changes, always run \`${fmtCmd}\` to catch issues before committing.`);
|
|
34
34
|
}
|
|
35
|
-
lines.push(`${++step}. Write or update tests if needed to cover your fix.`, `${++step}.
|
|
35
|
+
lines.push(`${++step}. Write or update tests if needed to cover your fix.`, `${++step}. NEVER modify files matching the blocked paths below — violations will be automatically detected and the change will be rejected.`, `${++step}. Keep your changes to at most ${ctx.constraints.maxFilesPerChange} files.`);
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
38
38
|
let step = 0;
|
|
@@ -46,9 +46,9 @@ export function buildPrompt(ctx) {
|
|
|
46
46
|
else if (fmtCmd) {
|
|
47
47
|
lines.push(`${++step}. After making code changes, run \`${fmtCmd}\` to ensure CI will pass.`);
|
|
48
48
|
}
|
|
49
|
-
lines.push(`${++step}.
|
|
49
|
+
lines.push(`${++step}. NEVER modify files matching the blocked paths below — violations will be automatically detected and the change will be rejected.`, `${++step}. Keep your changes to at most ${ctx.constraints.maxFilesPerChange} files.`);
|
|
50
50
|
}
|
|
51
|
-
lines.push('', '## Constraints', `- Maximum files to change: ${ctx.constraints.maxFilesPerChange}`, `- Tests required: ${ctx.constraints.requireTests}`, `- Blocked paths (
|
|
51
|
+
lines.push('', '## Constraints (enforced — violations will be automatically rejected)', `- Maximum files to change: ${ctx.constraints.maxFilesPerChange}`, `- Tests required: ${ctx.constraints.requireTests}`, `- Blocked paths (NEVER modify — changes will be rejected): ${ctx.constraints.blockedPaths.join(', ') || 'none'}`);
|
|
52
52
|
// Append relevant episodic memory if available
|
|
53
53
|
if (ctx.memory) {
|
|
54
54
|
const episodes = ctx.memory.episodic.search(`issue-${ctx.issueNumber}`);
|
|
@@ -36,7 +36,8 @@ export async function validateAgentOutput(ctx) {
|
|
|
36
36
|
if (matchesBlockedPath(file, pattern)) {
|
|
37
37
|
violations.push({
|
|
38
38
|
rule: 'blocked-path',
|
|
39
|
-
message: `File \`${file}\` matches blocked path \`${pattern}
|
|
39
|
+
message: `File \`${file}\` matches blocked path \`${pattern}\` — this change will be rejected. Remove modifications to this file.`,
|
|
40
|
+
severity: 'error',
|
|
40
41
|
});
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -45,7 +46,8 @@ export async function validateAgentOutput(ctx) {
|
|
|
45
46
|
if (ctx.filesChanged.length > ctx.constraints.maxFilesPerChange) {
|
|
46
47
|
violations.push({
|
|
47
48
|
rule: 'max-files',
|
|
48
|
-
message: `Changed ${ctx.filesChanged.length} files (max ${ctx.constraints.maxFilesPerChange})
|
|
49
|
+
message: `Changed ${ctx.filesChanged.length} files (max ${ctx.constraints.maxFilesPerChange}). Split this change into smaller PRs.`,
|
|
50
|
+
severity: 'warning',
|
|
49
51
|
});
|
|
50
52
|
}
|
|
51
53
|
// 3. Max lines per PR
|
|
@@ -62,7 +64,8 @@ export async function validateAgentOutput(ctx) {
|
|
|
62
64
|
if (totalLines > ctx.guardrails.maxLinesPerPR) {
|
|
63
65
|
violations.push({
|
|
64
66
|
rule: 'max-lines',
|
|
65
|
-
message: `Changed ${totalLines} lines (max ${ctx.guardrails.maxLinesPerPR})
|
|
67
|
+
message: `Changed ${totalLines} lines (max ${ctx.guardrails.maxLinesPerPR}). Consider breaking this into smaller incremental changes.`,
|
|
68
|
+
severity: 'warning',
|
|
66
69
|
});
|
|
67
70
|
}
|
|
68
71
|
}
|
|
@@ -72,7 +75,8 @@ export async function validateAgentOutput(ctx) {
|
|
|
72
75
|
if (!hasTestFile) {
|
|
73
76
|
violations.push({
|
|
74
77
|
rule: 'require-tests',
|
|
75
|
-
message: 'No test file found in changed files',
|
|
78
|
+
message: 'No test file found in changed files. Add or update tests to cover your changes.',
|
|
79
|
+
severity: 'error',
|
|
76
80
|
});
|
|
77
81
|
}
|
|
78
82
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-file config validation — validates YAML files individually and
|
|
3
|
+
* returns structured results instead of throwing on first error.
|
|
4
|
+
*/
|
|
5
|
+
export interface FileValidationResult {
|
|
6
|
+
file: string;
|
|
7
|
+
kind: string | null;
|
|
8
|
+
valid: boolean;
|
|
9
|
+
errors: Array<{
|
|
10
|
+
path: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Validate config files in the given directory.
|
|
16
|
+
* Returns one result per file instead of failing on the first error.
|
|
17
|
+
*/
|
|
18
|
+
export declare function validateConfigFiles(configDir: string, fileFilter?: string): FileValidationResult[];
|
|
19
|
+
//# sourceMappingURL=validate-config.d.ts.map
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-file config validation — validates YAML files individually and
|
|
3
|
+
* returns structured results instead of throwing on first error.
|
|
4
|
+
*/
|
|
5
|
+
import { readFileSync, readdirSync, existsSync } from 'node:fs';
|
|
6
|
+
import { resolve } from 'node:path';
|
|
7
|
+
import { parse as parseYaml } from 'yaml';
|
|
8
|
+
import { validateResource } from '@ai-sdlc/reference';
|
|
9
|
+
/**
|
|
10
|
+
* Validate config files in the given directory.
|
|
11
|
+
* Returns one result per file instead of failing on the first error.
|
|
12
|
+
*/
|
|
13
|
+
export function validateConfigFiles(configDir, fileFilter) {
|
|
14
|
+
const dir = resolve(configDir);
|
|
15
|
+
const results = [];
|
|
16
|
+
if (!existsSync(dir)) {
|
|
17
|
+
results.push({
|
|
18
|
+
file: configDir,
|
|
19
|
+
kind: null,
|
|
20
|
+
valid: false,
|
|
21
|
+
errors: [{ path: '/', message: `Config directory not found: ${dir}` }],
|
|
22
|
+
});
|
|
23
|
+
return results;
|
|
24
|
+
}
|
|
25
|
+
let files = readdirSync(dir).filter((f) => f.endsWith('.yaml') || f.endsWith('.yml'));
|
|
26
|
+
// Skip non-resource YAML files
|
|
27
|
+
files = files.filter((f) => f !== 'manifest.yaml');
|
|
28
|
+
if (fileFilter) {
|
|
29
|
+
files = files.filter((f) => f === fileFilter);
|
|
30
|
+
if (files.length === 0) {
|
|
31
|
+
results.push({
|
|
32
|
+
file: fileFilter,
|
|
33
|
+
kind: null,
|
|
34
|
+
valid: false,
|
|
35
|
+
errors: [{ path: '/', message: `File not found in config directory: ${fileFilter}` }],
|
|
36
|
+
});
|
|
37
|
+
return results;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
for (const file of files) {
|
|
41
|
+
try {
|
|
42
|
+
const raw = readFileSync(resolve(dir, file), 'utf-8');
|
|
43
|
+
const doc = parseYaml(raw);
|
|
44
|
+
const result = validateResource(doc);
|
|
45
|
+
const kind = typeof doc === 'object' && doc !== null && 'kind' in doc
|
|
46
|
+
? doc.kind
|
|
47
|
+
: null;
|
|
48
|
+
if (result.valid) {
|
|
49
|
+
results.push({ file, kind, valid: true, errors: [] });
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
results.push({
|
|
53
|
+
file,
|
|
54
|
+
kind,
|
|
55
|
+
valid: false,
|
|
56
|
+
errors: (result.errors ?? []).map((e) => ({ path: e.path, message: e.message })),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
catch (err) {
|
|
61
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
62
|
+
results.push({
|
|
63
|
+
file,
|
|
64
|
+
kind: null,
|
|
65
|
+
valid: false,
|
|
66
|
+
errors: [{ path: '/', message }],
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return results;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=validate-config.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdlc/orchestrator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "AI-SDLC Orchestrator — long-running runtime that drives issues through the complete SDLC with AI agents",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,7 +12,11 @@
|
|
|
12
12
|
"access": "public",
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
|
-
"files": [
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"!dist/**/*.test.*",
|
|
18
|
+
"!dist/**/*.map"
|
|
19
|
+
],
|
|
16
20
|
"type": "module",
|
|
17
21
|
"main": "dist/index.js",
|
|
18
22
|
"types": "dist/index.d.ts",
|
|
@@ -37,17 +41,11 @@
|
|
|
37
41
|
"import": "./dist/cli/index.js"
|
|
38
42
|
}
|
|
39
43
|
},
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "tsc",
|
|
42
|
-
"clean": "rm -rf dist *.tsbuildinfo",
|
|
43
|
-
"test": "vitest run",
|
|
44
|
-
"test:watch": "vitest"
|
|
45
|
-
},
|
|
46
44
|
"dependencies": {
|
|
47
|
-
"@ai-sdlc/reference": "workspace:*",
|
|
48
45
|
"better-sqlite3": "^11.0.0",
|
|
49
46
|
"commander": "^12.0.0",
|
|
50
|
-
"yaml": "^2.7.0"
|
|
47
|
+
"yaml": "^2.7.0",
|
|
48
|
+
"@ai-sdlc/reference": "0.1.2"
|
|
51
49
|
},
|
|
52
50
|
"devDependencies": {
|
|
53
51
|
"@types/better-sqlite3": "^7.6.0",
|
|
@@ -55,5 +53,11 @@
|
|
|
55
53
|
"tsx": "^4.19.0",
|
|
56
54
|
"typescript": "^5.7.0",
|
|
57
55
|
"vitest": "^3.0.0"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsc",
|
|
59
|
+
"clean": "rm -rf dist *.tsbuildinfo",
|
|
60
|
+
"test": "vitest run",
|
|
61
|
+
"test:watch": "vitest"
|
|
58
62
|
}
|
|
59
|
-
}
|
|
63
|
+
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for GitHub Copilot — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
import type { AgentRunner, AgentContext, AgentResult } from './types.js';
|
|
5
|
-
export declare class CopilotStubRunner implements AgentRunner {
|
|
6
|
-
readonly name = "copilot";
|
|
7
|
-
run(_ctx: AgentContext): Promise<AgentResult>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=copilot-stub.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for GitHub Copilot — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
export class CopilotStubRunner {
|
|
5
|
-
name = 'copilot';
|
|
6
|
-
async run(_ctx) {
|
|
7
|
-
return {
|
|
8
|
-
success: false,
|
|
9
|
-
filesChanged: [],
|
|
10
|
-
summary: 'GitHub Copilot runner not yet implemented',
|
|
11
|
-
error: 'STUB: GitHub Copilot integration requires Copilot Workspace API access',
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=copilot-stub.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for Cursor — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
import type { AgentRunner, AgentContext, AgentResult } from './types.js';
|
|
5
|
-
export declare class CursorStubRunner implements AgentRunner {
|
|
6
|
-
readonly name = "cursor";
|
|
7
|
-
run(_ctx: AgentContext): Promise<AgentResult>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=cursor-stub.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for Cursor — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
export class CursorStubRunner {
|
|
5
|
-
name = 'cursor';
|
|
6
|
-
async run(_ctx) {
|
|
7
|
-
return {
|
|
8
|
-
success: false,
|
|
9
|
-
filesChanged: [],
|
|
10
|
-
summary: 'Cursor runner not yet implemented',
|
|
11
|
-
error: 'STUB: Cursor integration requires Cursor Agent API access',
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=cursor-stub.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for Devin — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
import type { AgentRunner, AgentContext, AgentResult } from './types.js';
|
|
5
|
-
export declare class DevinStubRunner implements AgentRunner {
|
|
6
|
-
readonly name = "devin";
|
|
7
|
-
run(_ctx: AgentContext): Promise<AgentResult>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=devin-stub.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stub runner for Devin — placeholder for future implementation.
|
|
3
|
-
*/
|
|
4
|
-
export class DevinStubRunner {
|
|
5
|
-
name = 'devin';
|
|
6
|
-
async run(_ctx) {
|
|
7
|
-
return {
|
|
8
|
-
success: false,
|
|
9
|
-
filesChanged: [],
|
|
10
|
-
summary: 'Devin runner not yet implemented',
|
|
11
|
-
error: 'STUB: Devin integration requires Devin API access',
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=devin-stub.js.map
|