@agentic-sdlc-kit/contracts 0.9.1 → 1.1.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/dist/agent/events.d.ts +18 -18
- package/dist/agent/execution.d.ts +22 -22
- package/dist/agent-tools/index.d.ts +85 -0
- package/dist/agent-tools/index.d.ts.map +1 -0
- package/dist/agent-tools/index.js +60 -0
- package/dist/agent-tools/index.js.map +1 -0
- package/dist/application/application-context.d.ts +194 -60
- package/dist/application/application-context.d.ts.map +1 -1
- package/dist/application/application-persistence.d.ts +276 -114
- package/dist/application/application-persistence.d.ts.map +1 -1
- package/dist/application/application-state.d.ts +18 -18
- package/dist/architecture/api-contract.d.ts +18 -18
- package/dist/architecture/architecture-options.d.ts +6 -6
- package/dist/architecture/component-map.d.ts +6 -6
- package/dist/architecture/data-model.d.ts +6 -6
- package/dist/architecture/operational-design.d.ts +6 -6
- package/dist/benchmark/bench.d.ts +330 -0
- package/dist/benchmark/bench.d.ts.map +1 -0
- package/dist/benchmark/bench.js +69 -0
- package/dist/benchmark/bench.js.map +1 -0
- package/dist/benchmark/index.d.ts +2 -0
- package/dist/benchmark/index.d.ts.map +1 -0
- package/dist/benchmark/index.js +2 -0
- package/dist/benchmark/index.js.map +1 -0
- package/dist/constitution/cli-output.d.ts +706 -0
- package/dist/constitution/cli-output.d.ts.map +1 -0
- package/dist/constitution/cli-output.js +37 -0
- package/dist/constitution/cli-output.js.map +1 -0
- package/dist/constitution/index.d.ts +4 -0
- package/dist/constitution/index.d.ts.map +1 -0
- package/dist/constitution/index.js +4 -0
- package/dist/constitution/index.js.map +1 -0
- package/dist/constitution/result.d.ts +112 -0
- package/dist/constitution/result.d.ts.map +1 -0
- package/dist/constitution/result.js +67 -0
- package/dist/constitution/result.js.map +1 -0
- package/dist/constitution/rule.d.ts +488 -0
- package/dist/constitution/rule.d.ts.map +1 -0
- package/dist/constitution/rule.js +164 -0
- package/dist/constitution/rule.js.map +1 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +2 -0
- package/dist/context/index.js.map +1 -0
- package/dist/context/project-context.d.ts +275 -0
- package/dist/context/project-context.d.ts.map +1 -0
- package/dist/context/project-context.js +56 -0
- package/dist/context/project-context.js.map +1 -0
- package/dist/evaluation/benchmark.d.ts +12 -12
- package/dist/evaluation/metrics.d.ts +4 -4
- package/dist/evolution/improvement-hypothesis.d.ts +10 -10
- package/dist/execution/execution-profile.d.ts +130 -0
- package/dist/execution/execution-profile.d.ts.map +1 -0
- package/dist/execution/execution-profile.js +44 -0
- package/dist/execution/execution-profile.js.map +1 -0
- package/dist/execution/index.d.ts +2 -0
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +2 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/installer/install-plan.d.ts +16 -16
- package/dist/installer/ownership-manifest.d.ts +2 -2
- package/dist/installer/package-manifest.d.ts +6 -6
- package/dist/learning/engineering-lesson.d.ts +14 -14
- package/dist/learning/engineering-memory.d.ts +20 -2
- package/dist/learning/engineering-memory.d.ts.map +1 -1
- package/dist/learning/engineering-memory.js +2 -0
- package/dist/learning/engineering-memory.js.map +1 -1
- package/dist/learning/experience-episode.d.ts +14 -14
- package/dist/learning/experience.d.ts +8 -8
- package/dist/learning/index.d.ts +1 -0
- package/dist/learning/index.d.ts.map +1 -1
- package/dist/learning/index.js +1 -0
- package/dist/learning/index.js.map +1 -1
- package/dist/learning/learning-event.d.ts +78 -0
- package/dist/learning/learning-event.d.ts.map +1 -0
- package/dist/learning/learning-event.js +37 -0
- package/dist/learning/learning-event.js.map +1 -0
- package/dist/learning/memory.d.ts +2 -2
- package/dist/maintenance/bug-fix-workflow.d.ts +4 -4
- package/dist/maintenance/bug-report.d.ts +6 -6
- package/dist/maintenance/refactor-contract.d.ts +8 -8
- package/dist/maintenance/refactor-workflow.d.ts +4 -4
- package/dist/observer/event-schema.d.ts +6 -6
- package/dist/observer/journal.d.ts +10 -10
- package/dist/observer/journal.d.ts.map +1 -1
- package/dist/observer/journal.js +7 -0
- package/dist/observer/journal.js.map +1 -1
- package/dist/observer/run-summary.d.ts +12 -12
- package/dist/onboard/index.d.ts +2 -0
- package/dist/onboard/index.d.ts.map +1 -0
- package/dist/onboard/index.js +2 -0
- package/dist/onboard/index.js.map +1 -0
- package/dist/onboard/onboard-report.d.ts +349 -0
- package/dist/onboard/onboard-report.d.ts.map +1 -0
- package/dist/onboard/onboard-report.js +96 -0
- package/dist/onboard/onboard-report.js.map +1 -0
- package/dist/patterns/pattern.d.ts +2 -2
- package/dist/planning/task.d.ts +36 -36
- package/dist/policy/policy.d.ts +8 -8
- package/dist/product/product-brief.d.ts +6 -6
- package/dist/product/requirements.d.ts +48 -48
- package/dist/project/project-profile.d.ts +113 -2
- package/dist/project/project-profile.d.ts.map +1 -1
- package/dist/project/project-profile.js +17 -2
- package/dist/project/project-profile.js.map +1 -1
- package/dist/routing/index.d.ts +1 -0
- package/dist/routing/index.d.ts.map +1 -1
- package/dist/routing/index.js +1 -0
- package/dist/routing/index.js.map +1 -1
- package/dist/routing/measured-routing.d.ts +41 -0
- package/dist/routing/measured-routing.d.ts.map +1 -0
- package/dist/routing/measured-routing.js +24 -0
- package/dist/routing/measured-routing.js.map +1 -0
- package/dist/routing/routing-policy.d.ts +20 -20
- package/dist/routing/routing-request.d.ts +2 -2
- package/dist/runtime-guard/action-classification.d.ts +2 -2
- package/dist/runtime-guard/audit-event.d.ts +8 -8
- package/dist/runtime-guard/policy-schema.d.ts +4 -4
- package/dist/scaffolding/scaffold-contract.d.ts +59 -59
- package/dist/scaffolding/template-manifest.d.ts +15 -15
- package/dist/secret-guard/detection-rule.d.ts +4 -4
- package/dist/secret-guard/finding.d.ts +10 -10
- package/dist/secret-guard/scanner-failure.d.ts +4 -4
- package/dist/specification/specification.d.ts +8 -8
- package/dist/stack-pack/manifest.d.ts +33 -4
- package/dist/stack-pack/manifest.d.ts.map +1 -1
- package/dist/stack-pack/manifest.js +22 -2
- package/dist/stack-pack/manifest.js.map +1 -1
- package/dist/verification/index.d.ts +1 -0
- package/dist/verification/index.d.ts.map +1 -1
- package/dist/verification/index.js +1 -0
- package/dist/verification/index.js.map +1 -1
- package/dist/verification/report.d.ts +118 -12
- package/dist/verification/report.d.ts.map +1 -1
- package/dist/verification/report.js +4 -0
- package/dist/verification/report.js.map +1 -1
- package/dist/verification/strength.d.ts +270 -0
- package/dist/verification/strength.d.ts.map +1 -0
- package/dist/verification/strength.js +168 -0
- package/dist/verification/strength.js.map +1 -0
- package/dist/workflow/next-action.d.ts +67 -6
- package/dist/workflow/next-action.d.ts.map +1 -1
- package/dist/workflow/next-action.js +23 -0
- package/dist/workflow/next-action.js.map +1 -1
- package/dist/workflow/workflow.d.ts +9 -8
- package/dist/workflow/workflow.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/agent-tools/index.ts +81 -0
- package/src/benchmark/bench.ts +83 -0
- package/src/benchmark/index.ts +1 -0
- package/src/constitution/cli-output.ts +44 -0
- package/src/constitution/index.ts +3 -0
- package/src/constitution/result.test.ts +69 -0
- package/src/constitution/result.ts +74 -0
- package/src/constitution/rule-origin.test.ts +36 -0
- package/src/constitution/rule-path.test.ts +15 -0
- package/src/constitution/rule.test.ts +209 -0
- package/src/constitution/rule.ts +192 -0
- package/src/context/index.ts +1 -0
- package/src/context/project-context.ts +63 -0
- package/src/execution/execution-profile.ts +50 -0
- package/src/execution/index.ts +1 -0
- package/src/index.ts +16 -0
- package/src/learning/engineering-memory.ts +2 -0
- package/src/learning/index.ts +1 -0
- package/src/learning/learning-event.ts +42 -0
- package/src/observer/journal.ts +7 -0
- package/src/onboard/index.ts +1 -0
- package/src/onboard/onboard-report.test.ts +92 -0
- package/src/onboard/onboard-report.ts +115 -0
- package/src/project/project-profile.ts +19 -2
- package/src/routing/index.ts +1 -0
- package/src/routing/measured-routing.ts +27 -0
- package/src/stack-pack/manifest.test.ts +45 -0
- package/src/stack-pack/manifest.ts +24 -2
- package/src/verification/index.ts +1 -0
- package/src/verification/report.ts +4 -0
- package/src/verification/strength.test.ts +160 -0
- package/src/verification/strength.ts +189 -0
- package/src/workflow/next-action.test.ts +25 -0
- package/src/workflow/next-action.ts +25 -0
- package/src/workflow/workflow.ts +1 -0
|
@@ -85,13 +85,14 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
85
85
|
resolved: boolean;
|
|
86
86
|
}>, "many">;
|
|
87
87
|
}, "strict", z.ZodTypeAny, {
|
|
88
|
-
id: string;
|
|
89
|
-
overview: string;
|
|
90
|
-
problem: string;
|
|
91
88
|
scope: {
|
|
92
89
|
in: string[];
|
|
93
90
|
out: string[];
|
|
94
91
|
};
|
|
92
|
+
id: string;
|
|
93
|
+
title: string;
|
|
94
|
+
overview: string;
|
|
95
|
+
problem: string;
|
|
95
96
|
actors: {
|
|
96
97
|
name: string;
|
|
97
98
|
role: string;
|
|
@@ -120,15 +121,15 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
120
121
|
question: string;
|
|
121
122
|
resolved: boolean;
|
|
122
123
|
}[];
|
|
123
|
-
title: string;
|
|
124
124
|
}, {
|
|
125
|
-
id: string;
|
|
126
|
-
overview: string;
|
|
127
|
-
problem: string;
|
|
128
125
|
scope: {
|
|
129
126
|
in: string[];
|
|
130
127
|
out: string[];
|
|
131
128
|
};
|
|
129
|
+
id: string;
|
|
130
|
+
title: string;
|
|
131
|
+
overview: string;
|
|
132
|
+
problem: string;
|
|
132
133
|
actors: {
|
|
133
134
|
name: string;
|
|
134
135
|
role: string;
|
|
@@ -157,7 +158,6 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
157
158
|
question: string;
|
|
158
159
|
resolved: boolean;
|
|
159
160
|
}[];
|
|
160
|
-
title: string;
|
|
161
161
|
}>>;
|
|
162
162
|
architectureDecisionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
163
163
|
plan: z.ZodOptional<z.ZodObject<{
|
|
@@ -171,36 +171,36 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
171
171
|
expectedStatus: z.ZodEnum<["passed", "failed", "skipped", "blocked"]>;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
173
|
command: string[];
|
|
174
|
-
expectedStatus: "passed" | "failed" | "
|
|
174
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
175
175
|
}, {
|
|
176
176
|
command: string[];
|
|
177
|
-
expectedStatus: "passed" | "failed" | "
|
|
177
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
178
178
|
}>;
|
|
179
179
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
180
180
|
likelyFiles: z.ZodArray<z.ZodString, "many">;
|
|
181
181
|
estimatedScope: z.ZodEnum<["xs", "s", "m", "l", "xl"]>;
|
|
182
182
|
risk: z.ZodEnum<["low", "medium", "high"]>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
verification: {
|
|
185
|
+
command: string[];
|
|
186
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
187
|
+
};
|
|
184
188
|
id: string;
|
|
185
189
|
acceptanceCriteria: string[];
|
|
186
190
|
dependencies: string[];
|
|
187
191
|
description: string;
|
|
188
|
-
verification: {
|
|
189
|
-
command: string[];
|
|
190
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
191
|
-
};
|
|
192
192
|
likelyFiles: string[];
|
|
193
193
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
194
194
|
risk: "low" | "medium" | "high";
|
|
195
195
|
}, {
|
|
196
|
+
verification: {
|
|
197
|
+
command: string[];
|
|
198
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
199
|
+
};
|
|
196
200
|
id: string;
|
|
197
201
|
acceptanceCriteria: string[];
|
|
198
202
|
dependencies: string[];
|
|
199
203
|
description: string;
|
|
200
|
-
verification: {
|
|
201
|
-
command: string[];
|
|
202
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
203
|
-
};
|
|
204
204
|
likelyFiles: string[];
|
|
205
205
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
206
206
|
risk: "low" | "medium" | "high";
|
|
@@ -211,54 +211,54 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
211
211
|
reason: z.ZodString;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
from: string;
|
|
214
|
-
to: string;
|
|
215
214
|
reason: string;
|
|
215
|
+
to: string;
|
|
216
216
|
}, {
|
|
217
217
|
from: string;
|
|
218
|
-
to: string;
|
|
219
218
|
reason: string;
|
|
219
|
+
to: string;
|
|
220
220
|
}>, "many">;
|
|
221
221
|
verticalSlices: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
223
|
featureId: string;
|
|
224
224
|
tasks: {
|
|
225
|
+
verification: {
|
|
226
|
+
command: string[];
|
|
227
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
228
|
+
};
|
|
225
229
|
id: string;
|
|
226
230
|
acceptanceCriteria: string[];
|
|
227
231
|
dependencies: string[];
|
|
228
232
|
description: string;
|
|
229
|
-
verification: {
|
|
230
|
-
command: string[];
|
|
231
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
232
|
-
};
|
|
233
233
|
likelyFiles: string[];
|
|
234
234
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
235
235
|
risk: "low" | "medium" | "high";
|
|
236
236
|
}[];
|
|
237
237
|
edges: {
|
|
238
238
|
from: string;
|
|
239
|
-
to: string;
|
|
240
239
|
reason: string;
|
|
240
|
+
to: string;
|
|
241
241
|
}[];
|
|
242
242
|
verticalSlices: string[][];
|
|
243
243
|
}, {
|
|
244
244
|
featureId: string;
|
|
245
245
|
tasks: {
|
|
246
|
+
verification: {
|
|
247
|
+
command: string[];
|
|
248
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
249
|
+
};
|
|
246
250
|
id: string;
|
|
247
251
|
acceptanceCriteria: string[];
|
|
248
252
|
dependencies: string[];
|
|
249
253
|
description: string;
|
|
250
|
-
verification: {
|
|
251
|
-
command: string[];
|
|
252
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
253
|
-
};
|
|
254
254
|
likelyFiles: string[];
|
|
255
255
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
256
256
|
risk: "low" | "medium" | "high";
|
|
257
257
|
}[];
|
|
258
258
|
edges: {
|
|
259
259
|
from: string;
|
|
260
|
-
to: string;
|
|
261
260
|
reason: string;
|
|
261
|
+
to: string;
|
|
262
262
|
}[];
|
|
263
263
|
verticalSlices: string[][];
|
|
264
264
|
}>>;
|
|
@@ -276,46 +276,152 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
276
276
|
evidence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
277
277
|
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
status: "passed" | "failed" | "
|
|
279
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
280
280
|
id: string;
|
|
281
|
-
command?: string[] | undefined;
|
|
282
281
|
durationMs?: number | undefined;
|
|
282
|
+
command?: string[] | undefined;
|
|
283
283
|
evidence?: string[] | undefined;
|
|
284
284
|
errors?: string[] | undefined;
|
|
285
285
|
}, {
|
|
286
|
-
status: "passed" | "failed" | "
|
|
286
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
287
287
|
id: string;
|
|
288
|
-
command?: string[] | undefined;
|
|
289
288
|
durationMs?: number | undefined;
|
|
289
|
+
command?: string[] | undefined;
|
|
290
290
|
evidence?: string[] | undefined;
|
|
291
291
|
errors?: string[] | undefined;
|
|
292
292
|
}>, "many">;
|
|
293
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
294
|
+
ruleId: z.ZodString;
|
|
295
|
+
mode: z.ZodEnum<["off", "shadow", "advisory", "blocking"]>;
|
|
296
|
+
outcome: z.ZodEnum<["passed", "violations", "adapter-unavailable", "adapter-error", "timed-out", "not-evaluated"]>;
|
|
297
|
+
violations: z.ZodArray<z.ZodObject<{
|
|
298
|
+
ruleId: z.ZodString;
|
|
299
|
+
path: z.ZodString;
|
|
300
|
+
fingerprint: z.ZodString;
|
|
301
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
message: z.ZodString;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
path: string;
|
|
305
|
+
message: string;
|
|
306
|
+
ruleId: string;
|
|
307
|
+
fingerprint: string;
|
|
308
|
+
line?: number | undefined;
|
|
309
|
+
}, {
|
|
310
|
+
path: string;
|
|
311
|
+
message: string;
|
|
312
|
+
ruleId: string;
|
|
313
|
+
fingerprint: string;
|
|
314
|
+
line?: number | undefined;
|
|
315
|
+
}>, "many">;
|
|
316
|
+
baselined: z.ZodNumber;
|
|
317
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
ruleId: string;
|
|
320
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
321
|
+
violations: {
|
|
322
|
+
path: string;
|
|
323
|
+
message: string;
|
|
324
|
+
ruleId: string;
|
|
325
|
+
fingerprint: string;
|
|
326
|
+
line?: number | undefined;
|
|
327
|
+
}[];
|
|
328
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
329
|
+
baselined: number;
|
|
330
|
+
detail?: string | undefined;
|
|
331
|
+
}, {
|
|
332
|
+
ruleId: string;
|
|
333
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
334
|
+
violations: {
|
|
335
|
+
path: string;
|
|
336
|
+
message: string;
|
|
337
|
+
ruleId: string;
|
|
338
|
+
fingerprint: string;
|
|
339
|
+
line?: number | undefined;
|
|
340
|
+
}[];
|
|
341
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
342
|
+
baselined: number;
|
|
343
|
+
detail?: string | undefined;
|
|
344
|
+
}>, {
|
|
345
|
+
ruleId: string;
|
|
346
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
347
|
+
violations: {
|
|
348
|
+
path: string;
|
|
349
|
+
message: string;
|
|
350
|
+
ruleId: string;
|
|
351
|
+
fingerprint: string;
|
|
352
|
+
line?: number | undefined;
|
|
353
|
+
}[];
|
|
354
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
355
|
+
baselined: number;
|
|
356
|
+
detail?: string | undefined;
|
|
357
|
+
}, {
|
|
358
|
+
ruleId: string;
|
|
359
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
360
|
+
violations: {
|
|
361
|
+
path: string;
|
|
362
|
+
message: string;
|
|
363
|
+
ruleId: string;
|
|
364
|
+
fingerprint: string;
|
|
365
|
+
line?: number | undefined;
|
|
366
|
+
}[];
|
|
367
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
368
|
+
baselined: number;
|
|
369
|
+
detail?: string | undefined;
|
|
370
|
+
}>, "many">>;
|
|
293
371
|
}, "strip", z.ZodTypeAny, {
|
|
294
372
|
status: "passed" | "failed" | "blocked";
|
|
295
373
|
schemaVersion: 1;
|
|
296
374
|
runId: string;
|
|
297
375
|
checks: {
|
|
298
|
-
status: "passed" | "failed" | "
|
|
376
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
299
377
|
id: string;
|
|
300
|
-
command?: string[] | undefined;
|
|
301
378
|
durationMs?: number | undefined;
|
|
379
|
+
command?: string[] | undefined;
|
|
302
380
|
evidence?: string[] | undefined;
|
|
303
381
|
errors?: string[] | undefined;
|
|
304
382
|
}[];
|
|
305
383
|
commitSha?: string | undefined;
|
|
384
|
+
rules?: {
|
|
385
|
+
ruleId: string;
|
|
386
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
387
|
+
violations: {
|
|
388
|
+
path: string;
|
|
389
|
+
message: string;
|
|
390
|
+
ruleId: string;
|
|
391
|
+
fingerprint: string;
|
|
392
|
+
line?: number | undefined;
|
|
393
|
+
}[];
|
|
394
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
395
|
+
baselined: number;
|
|
396
|
+
detail?: string | undefined;
|
|
397
|
+
}[] | undefined;
|
|
306
398
|
}, {
|
|
307
399
|
status: "passed" | "failed" | "blocked";
|
|
308
400
|
schemaVersion: 1;
|
|
309
401
|
runId: string;
|
|
310
402
|
checks: {
|
|
311
|
-
status: "passed" | "failed" | "
|
|
403
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
312
404
|
id: string;
|
|
313
|
-
command?: string[] | undefined;
|
|
314
405
|
durationMs?: number | undefined;
|
|
406
|
+
command?: string[] | undefined;
|
|
315
407
|
evidence?: string[] | undefined;
|
|
316
408
|
errors?: string[] | undefined;
|
|
317
409
|
}[];
|
|
318
410
|
commitSha?: string | undefined;
|
|
411
|
+
rules?: {
|
|
412
|
+
ruleId: string;
|
|
413
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
414
|
+
violations: {
|
|
415
|
+
path: string;
|
|
416
|
+
message: string;
|
|
417
|
+
ruleId: string;
|
|
418
|
+
fingerprint: string;
|
|
419
|
+
line?: number | undefined;
|
|
420
|
+
}[];
|
|
421
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
422
|
+
baselined: number;
|
|
423
|
+
detail?: string | undefined;
|
|
424
|
+
}[] | undefined;
|
|
319
425
|
}>, "many">>;
|
|
320
426
|
reviewReportPath: z.ZodOptional<z.ZodString>;
|
|
321
427
|
releaseVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -344,13 +450,14 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
344
450
|
}[];
|
|
345
451
|
brief?: string | undefined;
|
|
346
452
|
specification?: {
|
|
347
|
-
id: string;
|
|
348
|
-
overview: string;
|
|
349
|
-
problem: string;
|
|
350
453
|
scope: {
|
|
351
454
|
in: string[];
|
|
352
455
|
out: string[];
|
|
353
456
|
};
|
|
457
|
+
id: string;
|
|
458
|
+
title: string;
|
|
459
|
+
overview: string;
|
|
460
|
+
problem: string;
|
|
354
461
|
actors: {
|
|
355
462
|
name: string;
|
|
356
463
|
role: string;
|
|
@@ -379,28 +486,27 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
379
486
|
question: string;
|
|
380
487
|
resolved: boolean;
|
|
381
488
|
}[];
|
|
382
|
-
title: string;
|
|
383
489
|
} | undefined;
|
|
384
490
|
architectureDecisionIds?: string[] | undefined;
|
|
385
491
|
plan?: {
|
|
386
492
|
featureId: string;
|
|
387
493
|
tasks: {
|
|
494
|
+
verification: {
|
|
495
|
+
command: string[];
|
|
496
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
497
|
+
};
|
|
388
498
|
id: string;
|
|
389
499
|
acceptanceCriteria: string[];
|
|
390
500
|
dependencies: string[];
|
|
391
501
|
description: string;
|
|
392
|
-
verification: {
|
|
393
|
-
command: string[];
|
|
394
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
395
|
-
};
|
|
396
502
|
likelyFiles: string[];
|
|
397
503
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
398
504
|
risk: "low" | "medium" | "high";
|
|
399
505
|
}[];
|
|
400
506
|
edges: {
|
|
401
507
|
from: string;
|
|
402
|
-
to: string;
|
|
403
508
|
reason: string;
|
|
509
|
+
to: string;
|
|
404
510
|
}[];
|
|
405
511
|
verticalSlices: string[][];
|
|
406
512
|
} | undefined;
|
|
@@ -410,27 +516,42 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
410
516
|
schemaVersion: 1;
|
|
411
517
|
runId: string;
|
|
412
518
|
checks: {
|
|
413
|
-
status: "passed" | "failed" | "
|
|
519
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
414
520
|
id: string;
|
|
415
|
-
command?: string[] | undefined;
|
|
416
521
|
durationMs?: number | undefined;
|
|
522
|
+
command?: string[] | undefined;
|
|
417
523
|
evidence?: string[] | undefined;
|
|
418
524
|
errors?: string[] | undefined;
|
|
419
525
|
}[];
|
|
420
526
|
commitSha?: string | undefined;
|
|
527
|
+
rules?: {
|
|
528
|
+
ruleId: string;
|
|
529
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
530
|
+
violations: {
|
|
531
|
+
path: string;
|
|
532
|
+
message: string;
|
|
533
|
+
ruleId: string;
|
|
534
|
+
fingerprint: string;
|
|
535
|
+
line?: number | undefined;
|
|
536
|
+
}[];
|
|
537
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
538
|
+
baselined: number;
|
|
539
|
+
detail?: string | undefined;
|
|
540
|
+
}[] | undefined;
|
|
421
541
|
}[] | undefined;
|
|
422
542
|
reviewReportPath?: string | undefined;
|
|
423
543
|
releaseVersion?: string | undefined;
|
|
424
544
|
}, {
|
|
425
545
|
brief?: string | undefined;
|
|
426
546
|
specification?: {
|
|
427
|
-
id: string;
|
|
428
|
-
overview: string;
|
|
429
|
-
problem: string;
|
|
430
547
|
scope: {
|
|
431
548
|
in: string[];
|
|
432
549
|
out: string[];
|
|
433
550
|
};
|
|
551
|
+
id: string;
|
|
552
|
+
title: string;
|
|
553
|
+
overview: string;
|
|
554
|
+
problem: string;
|
|
434
555
|
actors: {
|
|
435
556
|
name: string;
|
|
436
557
|
role: string;
|
|
@@ -459,28 +580,27 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
459
580
|
question: string;
|
|
460
581
|
resolved: boolean;
|
|
461
582
|
}[];
|
|
462
|
-
title: string;
|
|
463
583
|
} | undefined;
|
|
464
584
|
architectureDecisionIds?: string[] | undefined;
|
|
465
585
|
plan?: {
|
|
466
586
|
featureId: string;
|
|
467
587
|
tasks: {
|
|
588
|
+
verification: {
|
|
589
|
+
command: string[];
|
|
590
|
+
expectedStatus: "passed" | "failed" | "blocked" | "skipped";
|
|
591
|
+
};
|
|
468
592
|
id: string;
|
|
469
593
|
acceptanceCriteria: string[];
|
|
470
594
|
dependencies: string[];
|
|
471
595
|
description: string;
|
|
472
|
-
verification: {
|
|
473
|
-
command: string[];
|
|
474
|
-
expectedStatus: "passed" | "failed" | "skipped" | "blocked";
|
|
475
|
-
};
|
|
476
596
|
likelyFiles: string[];
|
|
477
597
|
estimatedScope: "xs" | "s" | "m" | "l" | "xl";
|
|
478
598
|
risk: "low" | "medium" | "high";
|
|
479
599
|
}[];
|
|
480
600
|
edges: {
|
|
481
601
|
from: string;
|
|
482
|
-
to: string;
|
|
483
602
|
reason: string;
|
|
603
|
+
to: string;
|
|
484
604
|
}[];
|
|
485
605
|
verticalSlices: string[][];
|
|
486
606
|
} | undefined;
|
|
@@ -490,14 +610,28 @@ export declare const ApplicationContextSchema: z.ZodObject<{
|
|
|
490
610
|
schemaVersion: 1;
|
|
491
611
|
runId: string;
|
|
492
612
|
checks: {
|
|
493
|
-
status: "passed" | "failed" | "
|
|
613
|
+
status: "passed" | "failed" | "blocked" | "skipped";
|
|
494
614
|
id: string;
|
|
495
|
-
command?: string[] | undefined;
|
|
496
615
|
durationMs?: number | undefined;
|
|
616
|
+
command?: string[] | undefined;
|
|
497
617
|
evidence?: string[] | undefined;
|
|
498
618
|
errors?: string[] | undefined;
|
|
499
619
|
}[];
|
|
500
620
|
commitSha?: string | undefined;
|
|
621
|
+
rules?: {
|
|
622
|
+
ruleId: string;
|
|
623
|
+
mode: "off" | "shadow" | "advisory" | "blocking";
|
|
624
|
+
violations: {
|
|
625
|
+
path: string;
|
|
626
|
+
message: string;
|
|
627
|
+
ruleId: string;
|
|
628
|
+
fingerprint: string;
|
|
629
|
+
line?: number | undefined;
|
|
630
|
+
}[];
|
|
631
|
+
outcome: "passed" | "violations" | "adapter-unavailable" | "adapter-error" | "timed-out" | "not-evaluated";
|
|
632
|
+
baselined: number;
|
|
633
|
+
detail?: string | undefined;
|
|
634
|
+
}[] | undefined;
|
|
501
635
|
}[] | undefined;
|
|
502
636
|
reviewReportPath?: string | undefined;
|
|
503
637
|
releaseVersion?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-context.d.ts","sourceRoot":"","sources":["../../src/application/application-context.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"application-context.d.ts","sourceRoot":"","sources":["../../src/application/application-context.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|