@agentic-sdlc-kit/contracts 1.2.0 → 1.3.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/capability.d.ts +12 -1
- package/dist/agent/capability.d.ts.map +1 -1
- package/dist/agent/errors.d.ts +29 -11
- package/dist/agent/errors.d.ts.map +1 -1
- package/dist/agent/events.d.ts +42 -153
- package/dist/agent/events.d.ts.map +1 -1
- package/dist/agent/execution.d.ts +151 -415
- package/dist/agent/execution.d.ts.map +1 -1
- package/dist/agent/policy.d.ts +30 -92
- package/dist/agent/policy.d.ts.map +1 -1
- package/dist/agent/session.d.ts +1 -7
- package/dist/agent/session.d.ts.map +1 -1
- package/dist/agent-tools/index.d.ts +20 -58
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/application/application-context.d.ts +80 -582
- package/dist/application/application-context.d.ts.map +1 -1
- package/dist/application/application-persistence.d.ts +161 -924
- package/dist/application/application-persistence.d.ts.map +1 -1
- package/dist/application/application-state.d.ts +94 -70
- package/dist/application/application-state.d.ts.map +1 -1
- package/dist/architecture/api-contract.d.ts +56 -208
- package/dist/architecture/api-contract.d.ts.map +1 -1
- package/dist/architecture/architecture-approval.d.ts +2 -26
- package/dist/architecture/architecture-approval.d.ts.map +1 -1
- package/dist/architecture/architecture-options.d.ts +30 -82
- package/dist/architecture/architecture-options.d.ts.map +1 -1
- package/dist/architecture/component-map.d.ts +34 -60
- package/dist/architecture/component-map.d.ts.map +1 -1
- package/dist/architecture/data-model.d.ts +91 -205
- package/dist/architecture/data-model.d.ts.map +1 -1
- package/dist/architecture/operational-design.d.ts +48 -115
- package/dist/architecture/operational-design.d.ts.map +1 -1
- package/dist/architecture/security-design.d.ts +40 -90
- package/dist/architecture/security-design.d.ts.map +1 -1
- package/dist/benchmark/bench.d.ts +44 -263
- package/dist/benchmark/bench.d.ts.map +1 -1
- package/dist/common/identifier.d.ts +1 -1
- package/dist/common/identifier.d.ts.map +1 -1
- package/dist/constitution/cli-output.d.ts +58 -618
- package/dist/constitution/cli-output.d.ts.map +1 -1
- package/dist/constitution/result.d.ts +31 -84
- package/dist/constitution/result.d.ts.map +1 -1
- package/dist/constitution/rule.d.ts +97 -408
- package/dist/constitution/rule.d.ts.map +1 -1
- package/dist/context/project-context.d.ts +57 -227
- package/dist/context/project-context.d.ts.map +1 -1
- package/dist/evaluation/benchmark.d.ts +26 -66
- package/dist/evaluation/benchmark.d.ts.map +1 -1
- package/dist/evaluation/metrics.d.ts +15 -120
- package/dist/evaluation/metrics.d.ts.map +1 -1
- package/dist/evolution/experiment.d.ts +29 -51
- package/dist/evolution/experiment.d.ts.map +1 -1
- package/dist/evolution/improvement-hypothesis.d.ts +56 -78
- package/dist/evolution/improvement-hypothesis.d.ts.map +1 -1
- package/dist/execution/execution-profile.d.ts +25 -111
- package/dist/execution/execution-profile.d.ts.map +1 -1
- package/dist/improvement/config.d.ts +3 -17
- package/dist/improvement/config.d.ts.map +1 -1
- package/dist/improvement/config.js +1 -1
- package/dist/improvement/config.js.map +1 -1
- package/dist/improvement/finding.d.ts +24 -71
- package/dist/improvement/finding.d.ts.map +1 -1
- package/dist/improvement/issue.d.ts +10 -39
- package/dist/improvement/issue.d.ts.map +1 -1
- package/dist/improvement/kit-feedback.d.ts +45 -29
- package/dist/improvement/kit-feedback.d.ts.map +1 -1
- package/dist/improvement/review.d.ts +22 -28
- package/dist/improvement/review.d.ts.map +1 -1
- package/dist/installer/install-plan.d.ts +52 -137
- package/dist/installer/install-plan.d.ts.map +1 -1
- package/dist/installer/ownership-manifest.d.ts +7 -62
- package/dist/installer/ownership-manifest.d.ts.map +1 -1
- package/dist/installer/package-manifest.d.ts +25 -40
- package/dist/installer/package-manifest.d.ts.map +1 -1
- package/dist/learning/engineering-lesson.d.ts +19 -65
- package/dist/learning/engineering-lesson.d.ts.map +1 -1
- package/dist/learning/engineering-memory.d.ts +32 -64
- package/dist/learning/engineering-memory.d.ts.map +1 -1
- package/dist/learning/experience-episode.d.ts +33 -141
- package/dist/learning/experience-episode.d.ts.map +1 -1
- package/dist/learning/experience.d.ts +16 -50
- package/dist/learning/experience.d.ts.map +1 -1
- package/dist/learning/hypothesis.d.ts +14 -39
- package/dist/learning/hypothesis.d.ts.map +1 -1
- package/dist/learning/learning-event.d.ts +32 -62
- package/dist/learning/learning-event.d.ts.map +1 -1
- package/dist/learning/memory.d.ts +12 -28
- package/dist/learning/memory.d.ts.map +1 -1
- package/dist/learning/promotion.d.ts +7 -20
- package/dist/learning/promotion.d.ts.map +1 -1
- package/dist/maintenance/bug-fix-workflow.d.ts +49 -30
- package/dist/maintenance/bug-fix-workflow.d.ts.map +1 -1
- package/dist/maintenance/bug-report.d.ts +39 -46
- package/dist/maintenance/bug-report.d.ts.map +1 -1
- package/dist/maintenance/performance-baseline.d.ts +18 -64
- package/dist/maintenance/performance-baseline.d.ts.map +1 -1
- package/dist/maintenance/refactor-contract.d.ts +47 -133
- package/dist/maintenance/refactor-contract.d.ts.map +1 -1
- package/dist/maintenance/refactor-workflow.d.ts +50 -51
- package/dist/maintenance/refactor-workflow.d.ts.map +1 -1
- package/dist/observer/event-schema.d.ts +31 -31
- package/dist/observer/event-schema.d.ts.map +1 -1
- package/dist/observer/journal.d.ts +32 -57
- package/dist/observer/journal.d.ts.map +1 -1
- package/dist/observer/journal.js +1 -1
- package/dist/observer/journal.js.map +1 -1
- package/dist/observer/retention.d.ts +2 -16
- package/dist/observer/retention.d.ts.map +1 -1
- package/dist/observer/run-summary.d.ts +45 -213
- package/dist/observer/run-summary.d.ts.map +1 -1
- package/dist/onboard/onboard-report.d.ts +85 -279
- package/dist/onboard/onboard-report.d.ts.map +1 -1
- package/dist/patterns/pattern.d.ts +28 -74
- package/dist/patterns/pattern.d.ts.map +1 -1
- package/dist/planning/task.d.ts +70 -149
- package/dist/planning/task.d.ts.map +1 -1
- package/dist/policy/policy.d.ts +61 -56
- package/dist/policy/policy.d.ts.map +1 -1
- package/dist/product/mvp-scope.d.ts +8 -18
- package/dist/product/mvp-scope.d.ts.map +1 -1
- package/dist/product/product-brief.d.ts +6 -74
- package/dist/product/product-brief.d.ts.map +1 -1
- package/dist/product/requirements.d.ts +99 -215
- package/dist/product/requirements.d.ts.map +1 -1
- package/dist/product/traceability.d.ts +7 -39
- package/dist/product/traceability.d.ts.map +1 -1
- package/dist/project/project-profile.d.ts +34 -146
- package/dist/project/project-profile.d.ts.map +1 -1
- package/dist/project/repository-scan.d.ts +8 -64
- package/dist/project/repository-scan.d.ts.map +1 -1
- package/dist/routing/capability-registry.d.ts +15 -67
- package/dist/routing/capability-registry.d.ts.map +1 -1
- package/dist/routing/escalation.d.ts +10 -17
- package/dist/routing/escalation.d.ts.map +1 -1
- package/dist/routing/measured-routing.d.ts +18 -28
- package/dist/routing/measured-routing.d.ts.map +1 -1
- package/dist/routing/routing-policy.d.ts +56 -84
- package/dist/routing/routing-policy.d.ts.map +1 -1
- package/dist/routing/routing-request.d.ts +50 -46
- package/dist/routing/routing-request.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.d.ts +66 -36
- package/dist/runtime-guard/action-classification.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.js +1 -1
- package/dist/runtime-guard/action-classification.js.map +1 -1
- package/dist/runtime-guard/audit-event.d.ts +45 -77
- package/dist/runtime-guard/audit-event.d.ts.map +1 -1
- package/dist/runtime-guard/policy-schema.d.ts +100 -116
- package/dist/runtime-guard/policy-schema.d.ts.map +1 -1
- package/dist/scaffolding/scaffold-contract.d.ts +46 -450
- package/dist/scaffolding/scaffold-contract.d.ts.map +1 -1
- package/dist/scaffolding/template-manifest.d.ts +5 -77
- package/dist/scaffolding/template-manifest.d.ts.map +1 -1
- package/dist/secret-guard/detection-rule.d.ts +25 -19
- package/dist/secret-guard/detection-rule.d.ts.map +1 -1
- package/dist/secret-guard/finding.d.ts +70 -69
- package/dist/secret-guard/finding.d.ts.map +1 -1
- package/dist/secret-guard/redaction-policy.d.ts +7 -17
- package/dist/secret-guard/redaction-policy.d.ts.map +1 -1
- package/dist/secret-guard/scanner-failure.d.ts +17 -45
- package/dist/secret-guard/scanner-failure.d.ts.map +1 -1
- package/dist/specification/specification.d.ts +48 -184
- package/dist/specification/specification.d.ts.map +1 -1
- package/dist/stack-pack/manifest.d.ts +19 -90
- package/dist/stack-pack/manifest.d.ts.map +1 -1
- package/dist/verification/report.d.ts +49 -164
- package/dist/verification/report.d.ts.map +1 -1
- package/dist/verification/strength.d.ts +62 -188
- package/dist/verification/strength.d.ts.map +1 -1
- package/dist/workflow/next-action.d.ts +55 -137
- package/dist/workflow/next-action.d.ts.map +1 -1
- package/dist/workflow/workflow.d.ts +50 -50
- package/dist/workflow/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/improvement/config.ts +1 -1
- package/src/observer/journal.ts +1 -1
- package/src/runtime-guard/action-classification.ts +1 -1
- package/src/zod-defaults.test.ts +28 -0
|
@@ -1,250 +1,134 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const RequirementKindSchema: z.ZodEnum<
|
|
2
|
+
export declare const RequirementKindSchema: z.ZodEnum<{
|
|
3
|
+
assumption: "assumption";
|
|
4
|
+
business: "business";
|
|
5
|
+
functional: "functional";
|
|
6
|
+
"non-functional": "non-functional";
|
|
7
|
+
"technical-constraint": "technical-constraint";
|
|
8
|
+
}>;
|
|
3
9
|
export declare const ProductRequirementSchema: z.ZodObject<{
|
|
4
10
|
id: z.ZodString;
|
|
5
|
-
kind: z.ZodEnum<
|
|
11
|
+
kind: z.ZodEnum<{
|
|
12
|
+
assumption: "assumption";
|
|
13
|
+
business: "business";
|
|
14
|
+
functional: "functional";
|
|
15
|
+
"non-functional": "non-functional";
|
|
16
|
+
"technical-constraint": "technical-constraint";
|
|
17
|
+
}>;
|
|
6
18
|
statement: z.ZodString;
|
|
7
|
-
priority: z.ZodEnum<
|
|
19
|
+
priority: z.ZodEnum<{
|
|
20
|
+
must: "must";
|
|
21
|
+
should: "should";
|
|
22
|
+
could: "could";
|
|
23
|
+
wont: "wont";
|
|
24
|
+
}>;
|
|
8
25
|
source: z.ZodString;
|
|
9
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
10
|
-
},
|
|
11
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
12
|
-
id: string;
|
|
13
|
-
statement: string;
|
|
14
|
-
source: string;
|
|
15
|
-
priority: "must" | "should" | "could" | "wont";
|
|
16
|
-
acceptanceCriterionIds: string[];
|
|
17
|
-
}, {
|
|
18
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
19
|
-
id: string;
|
|
20
|
-
statement: string;
|
|
21
|
-
source: string;
|
|
22
|
-
priority: "must" | "should" | "could" | "wont";
|
|
23
|
-
acceptanceCriterionIds: string[];
|
|
24
|
-
}>;
|
|
26
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
25
28
|
export declare const RequirementsDocumentSchema: z.ZodObject<{
|
|
26
29
|
schemaVersion: z.ZodLiteral<1>;
|
|
27
30
|
briefId: z.ZodString;
|
|
28
31
|
functional: z.ZodArray<z.ZodObject<{
|
|
29
32
|
id: z.ZodString;
|
|
30
|
-
kind: z.ZodEnum<
|
|
33
|
+
kind: z.ZodEnum<{
|
|
34
|
+
assumption: "assumption";
|
|
35
|
+
business: "business";
|
|
36
|
+
functional: "functional";
|
|
37
|
+
"non-functional": "non-functional";
|
|
38
|
+
"technical-constraint": "technical-constraint";
|
|
39
|
+
}>;
|
|
31
40
|
statement: z.ZodString;
|
|
32
|
-
priority: z.ZodEnum<
|
|
41
|
+
priority: z.ZodEnum<{
|
|
42
|
+
must: "must";
|
|
43
|
+
should: "should";
|
|
44
|
+
could: "could";
|
|
45
|
+
wont: "wont";
|
|
46
|
+
}>;
|
|
33
47
|
source: z.ZodString;
|
|
34
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
35
|
-
},
|
|
36
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
37
|
-
id: string;
|
|
38
|
-
statement: string;
|
|
39
|
-
source: string;
|
|
40
|
-
priority: "must" | "should" | "could" | "wont";
|
|
41
|
-
acceptanceCriterionIds: string[];
|
|
42
|
-
}, {
|
|
43
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
44
|
-
id: string;
|
|
45
|
-
statement: string;
|
|
46
|
-
source: string;
|
|
47
|
-
priority: "must" | "should" | "could" | "wont";
|
|
48
|
-
acceptanceCriterionIds: string[];
|
|
49
|
-
}>, "many">;
|
|
48
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
50
|
nonFunctional: z.ZodArray<z.ZodObject<{
|
|
51
51
|
id: z.ZodString;
|
|
52
|
-
kind: z.ZodEnum<
|
|
52
|
+
kind: z.ZodEnum<{
|
|
53
|
+
assumption: "assumption";
|
|
54
|
+
business: "business";
|
|
55
|
+
functional: "functional";
|
|
56
|
+
"non-functional": "non-functional";
|
|
57
|
+
"technical-constraint": "technical-constraint";
|
|
58
|
+
}>;
|
|
53
59
|
statement: z.ZodString;
|
|
54
|
-
priority: z.ZodEnum<
|
|
60
|
+
priority: z.ZodEnum<{
|
|
61
|
+
must: "must";
|
|
62
|
+
should: "should";
|
|
63
|
+
could: "could";
|
|
64
|
+
wont: "wont";
|
|
65
|
+
}>;
|
|
55
66
|
source: z.ZodString;
|
|
56
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
57
|
-
},
|
|
58
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
59
|
-
id: string;
|
|
60
|
-
statement: string;
|
|
61
|
-
source: string;
|
|
62
|
-
priority: "must" | "should" | "could" | "wont";
|
|
63
|
-
acceptanceCriterionIds: string[];
|
|
64
|
-
}, {
|
|
65
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
66
|
-
id: string;
|
|
67
|
-
statement: string;
|
|
68
|
-
source: string;
|
|
69
|
-
priority: "must" | "should" | "could" | "wont";
|
|
70
|
-
acceptanceCriterionIds: string[];
|
|
71
|
-
}>, "many">;
|
|
67
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
72
69
|
business: z.ZodArray<z.ZodObject<{
|
|
73
70
|
id: z.ZodString;
|
|
74
|
-
kind: z.ZodEnum<
|
|
71
|
+
kind: z.ZodEnum<{
|
|
72
|
+
assumption: "assumption";
|
|
73
|
+
business: "business";
|
|
74
|
+
functional: "functional";
|
|
75
|
+
"non-functional": "non-functional";
|
|
76
|
+
"technical-constraint": "technical-constraint";
|
|
77
|
+
}>;
|
|
75
78
|
statement: z.ZodString;
|
|
76
|
-
priority: z.ZodEnum<
|
|
79
|
+
priority: z.ZodEnum<{
|
|
80
|
+
must: "must";
|
|
81
|
+
should: "should";
|
|
82
|
+
could: "could";
|
|
83
|
+
wont: "wont";
|
|
84
|
+
}>;
|
|
77
85
|
source: z.ZodString;
|
|
78
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
79
|
-
},
|
|
80
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
81
|
-
id: string;
|
|
82
|
-
statement: string;
|
|
83
|
-
source: string;
|
|
84
|
-
priority: "must" | "should" | "could" | "wont";
|
|
85
|
-
acceptanceCriterionIds: string[];
|
|
86
|
-
}, {
|
|
87
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
88
|
-
id: string;
|
|
89
|
-
statement: string;
|
|
90
|
-
source: string;
|
|
91
|
-
priority: "must" | "should" | "could" | "wont";
|
|
92
|
-
acceptanceCriterionIds: string[];
|
|
93
|
-
}>, "many">;
|
|
86
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
94
88
|
technicalConstraints: z.ZodArray<z.ZodObject<{
|
|
95
89
|
id: z.ZodString;
|
|
96
|
-
kind: z.ZodEnum<
|
|
90
|
+
kind: z.ZodEnum<{
|
|
91
|
+
assumption: "assumption";
|
|
92
|
+
business: "business";
|
|
93
|
+
functional: "functional";
|
|
94
|
+
"non-functional": "non-functional";
|
|
95
|
+
"technical-constraint": "technical-constraint";
|
|
96
|
+
}>;
|
|
97
97
|
statement: z.ZodString;
|
|
98
|
-
priority: z.ZodEnum<
|
|
98
|
+
priority: z.ZodEnum<{
|
|
99
|
+
must: "must";
|
|
100
|
+
should: "should";
|
|
101
|
+
could: "could";
|
|
102
|
+
wont: "wont";
|
|
103
|
+
}>;
|
|
99
104
|
source: z.ZodString;
|
|
100
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
101
|
-
},
|
|
102
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
103
|
-
id: string;
|
|
104
|
-
statement: string;
|
|
105
|
-
source: string;
|
|
106
|
-
priority: "must" | "should" | "could" | "wont";
|
|
107
|
-
acceptanceCriterionIds: string[];
|
|
108
|
-
}, {
|
|
109
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
110
|
-
id: string;
|
|
111
|
-
statement: string;
|
|
112
|
-
source: string;
|
|
113
|
-
priority: "must" | "should" | "could" | "wont";
|
|
114
|
-
acceptanceCriterionIds: string[];
|
|
115
|
-
}>, "many">;
|
|
105
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
116
107
|
assumptions: z.ZodArray<z.ZodObject<{
|
|
117
108
|
id: z.ZodString;
|
|
118
|
-
kind: z.ZodEnum<
|
|
109
|
+
kind: z.ZodEnum<{
|
|
110
|
+
assumption: "assumption";
|
|
111
|
+
business: "business";
|
|
112
|
+
functional: "functional";
|
|
113
|
+
"non-functional": "non-functional";
|
|
114
|
+
"technical-constraint": "technical-constraint";
|
|
115
|
+
}>;
|
|
119
116
|
statement: z.ZodString;
|
|
120
|
-
priority: z.ZodEnum<
|
|
117
|
+
priority: z.ZodEnum<{
|
|
118
|
+
must: "must";
|
|
119
|
+
should: "should";
|
|
120
|
+
could: "could";
|
|
121
|
+
wont: "wont";
|
|
122
|
+
}>;
|
|
121
123
|
source: z.ZodString;
|
|
122
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
123
|
-
},
|
|
124
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
125
|
-
id: string;
|
|
126
|
-
statement: string;
|
|
127
|
-
source: string;
|
|
128
|
-
priority: "must" | "should" | "could" | "wont";
|
|
129
|
-
acceptanceCriterionIds: string[];
|
|
130
|
-
}, {
|
|
131
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
132
|
-
id: string;
|
|
133
|
-
statement: string;
|
|
134
|
-
source: string;
|
|
135
|
-
priority: "must" | "should" | "could" | "wont";
|
|
136
|
-
acceptanceCriterionIds: string[];
|
|
137
|
-
}>, "many">;
|
|
124
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
138
126
|
unresolvedDecisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
139
127
|
id: z.ZodString;
|
|
140
128
|
question: z.ZodString;
|
|
141
129
|
blocking: z.ZodBoolean;
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
id: string;
|
|
145
|
-
question: string;
|
|
146
|
-
}, {
|
|
147
|
-
blocking: boolean;
|
|
148
|
-
id: string;
|
|
149
|
-
question: string;
|
|
150
|
-
}>, "many">>;
|
|
151
|
-
}, "strict", z.ZodTypeAny, {
|
|
152
|
-
schemaVersion: 1;
|
|
153
|
-
assumptions: {
|
|
154
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
155
|
-
id: string;
|
|
156
|
-
statement: string;
|
|
157
|
-
source: string;
|
|
158
|
-
priority: "must" | "should" | "could" | "wont";
|
|
159
|
-
acceptanceCriterionIds: string[];
|
|
160
|
-
}[];
|
|
161
|
-
unresolvedDecisions: {
|
|
162
|
-
blocking: boolean;
|
|
163
|
-
id: string;
|
|
164
|
-
question: string;
|
|
165
|
-
}[];
|
|
166
|
-
business: {
|
|
167
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
168
|
-
id: string;
|
|
169
|
-
statement: string;
|
|
170
|
-
source: string;
|
|
171
|
-
priority: "must" | "should" | "could" | "wont";
|
|
172
|
-
acceptanceCriterionIds: string[];
|
|
173
|
-
}[];
|
|
174
|
-
functional: {
|
|
175
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
176
|
-
id: string;
|
|
177
|
-
statement: string;
|
|
178
|
-
source: string;
|
|
179
|
-
priority: "must" | "should" | "could" | "wont";
|
|
180
|
-
acceptanceCriterionIds: string[];
|
|
181
|
-
}[];
|
|
182
|
-
briefId: string;
|
|
183
|
-
nonFunctional: {
|
|
184
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
185
|
-
id: string;
|
|
186
|
-
statement: string;
|
|
187
|
-
source: string;
|
|
188
|
-
priority: "must" | "should" | "could" | "wont";
|
|
189
|
-
acceptanceCriterionIds: string[];
|
|
190
|
-
}[];
|
|
191
|
-
technicalConstraints: {
|
|
192
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
193
|
-
id: string;
|
|
194
|
-
statement: string;
|
|
195
|
-
source: string;
|
|
196
|
-
priority: "must" | "should" | "could" | "wont";
|
|
197
|
-
acceptanceCriterionIds: string[];
|
|
198
|
-
}[];
|
|
199
|
-
}, {
|
|
200
|
-
schemaVersion: 1;
|
|
201
|
-
assumptions: {
|
|
202
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
203
|
-
id: string;
|
|
204
|
-
statement: string;
|
|
205
|
-
source: string;
|
|
206
|
-
priority: "must" | "should" | "could" | "wont";
|
|
207
|
-
acceptanceCriterionIds: string[];
|
|
208
|
-
}[];
|
|
209
|
-
business: {
|
|
210
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
211
|
-
id: string;
|
|
212
|
-
statement: string;
|
|
213
|
-
source: string;
|
|
214
|
-
priority: "must" | "should" | "could" | "wont";
|
|
215
|
-
acceptanceCriterionIds: string[];
|
|
216
|
-
}[];
|
|
217
|
-
functional: {
|
|
218
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
219
|
-
id: string;
|
|
220
|
-
statement: string;
|
|
221
|
-
source: string;
|
|
222
|
-
priority: "must" | "should" | "could" | "wont";
|
|
223
|
-
acceptanceCriterionIds: string[];
|
|
224
|
-
}[];
|
|
225
|
-
briefId: string;
|
|
226
|
-
nonFunctional: {
|
|
227
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
228
|
-
id: string;
|
|
229
|
-
statement: string;
|
|
230
|
-
source: string;
|
|
231
|
-
priority: "must" | "should" | "could" | "wont";
|
|
232
|
-
acceptanceCriterionIds: string[];
|
|
233
|
-
}[];
|
|
234
|
-
technicalConstraints: {
|
|
235
|
-
kind: "assumption" | "business" | "functional" | "non-functional" | "technical-constraint";
|
|
236
|
-
id: string;
|
|
237
|
-
statement: string;
|
|
238
|
-
source: string;
|
|
239
|
-
priority: "must" | "should" | "could" | "wont";
|
|
240
|
-
acceptanceCriterionIds: string[];
|
|
241
|
-
}[];
|
|
242
|
-
unresolvedDecisions?: {
|
|
243
|
-
blocking: boolean;
|
|
244
|
-
id: string;
|
|
245
|
-
question: string;
|
|
246
|
-
}[] | undefined;
|
|
247
|
-
}>;
|
|
130
|
+
}, z.core.$strip>>>;
|
|
131
|
+
}, z.core.$strict>;
|
|
248
132
|
export type RequirementKind = z.infer<typeof RequirementKindSchema>;
|
|
249
133
|
export type ProductRequirement = z.infer<typeof ProductRequirementSchema>;
|
|
250
134
|
export type RequirementsDocument = z.infer<typeof RequirementsDocumentSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../src/product/requirements.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../src/product/requirements.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AAMH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;iBAOnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmB5B,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,50 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const TraceabilityEntrySchema: z.ZodObject<{
|
|
3
3
|
requirementId: z.ZodString;
|
|
4
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
5
|
-
taskIds: z.ZodArray<z.ZodString
|
|
6
|
-
},
|
|
7
|
-
acceptanceCriterionIds: string[];
|
|
8
|
-
requirementId: string;
|
|
9
|
-
taskIds: string[];
|
|
10
|
-
}, {
|
|
11
|
-
acceptanceCriterionIds: string[];
|
|
12
|
-
requirementId: string;
|
|
13
|
-
taskIds: string[];
|
|
14
|
-
}>;
|
|
4
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
5
|
+
taskIds: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export declare const TraceabilityMatrixSchema: z.ZodObject<{
|
|
16
8
|
schemaVersion: z.ZodLiteral<1>;
|
|
17
9
|
briefId: z.ZodString;
|
|
18
10
|
entries: z.ZodArray<z.ZodObject<{
|
|
19
11
|
requirementId: z.ZodString;
|
|
20
|
-
acceptanceCriterionIds: z.ZodArray<z.ZodString
|
|
21
|
-
taskIds: z.ZodArray<z.ZodString
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
requirementId: string;
|
|
25
|
-
taskIds: string[];
|
|
26
|
-
}, {
|
|
27
|
-
acceptanceCriterionIds: string[];
|
|
28
|
-
requirementId: string;
|
|
29
|
-
taskIds: string[];
|
|
30
|
-
}>, "many">;
|
|
31
|
-
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
entries: {
|
|
33
|
-
acceptanceCriterionIds: string[];
|
|
34
|
-
requirementId: string;
|
|
35
|
-
taskIds: string[];
|
|
36
|
-
}[];
|
|
37
|
-
schemaVersion: 1;
|
|
38
|
-
briefId: string;
|
|
39
|
-
}, {
|
|
40
|
-
entries: {
|
|
41
|
-
acceptanceCriterionIds: string[];
|
|
42
|
-
requirementId: string;
|
|
43
|
-
taskIds: string[];
|
|
44
|
-
}[];
|
|
45
|
-
schemaVersion: 1;
|
|
46
|
-
briefId: string;
|
|
47
|
-
}>;
|
|
12
|
+
acceptanceCriterionIds: z.ZodArray<z.ZodString>;
|
|
13
|
+
taskIds: z.ZodArray<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
48
16
|
export type TraceabilityEntry = z.infer<typeof TraceabilityEntrySchema>;
|
|
49
17
|
export type TraceabilityMatrix = z.infer<typeof TraceabilityMatrixSchema>;
|
|
50
18
|
//# sourceMappingURL=traceability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traceability.d.ts","sourceRoot":"","sources":["../../src/product/traceability.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"traceability.d.ts","sourceRoot":"","sources":["../../src/product/traceability.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAInC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -9,23 +9,13 @@ export declare const PROJECT_PROFILE_SCHEMA_VERSION: 1;
|
|
|
9
9
|
* A single command is an array of arguments. The executor MUST run with
|
|
10
10
|
* shell: false. Empty arrays are rejected.
|
|
11
11
|
*/
|
|
12
|
-
export declare const CommandSchema: z.ZodArray<z.ZodString
|
|
12
|
+
export declare const CommandSchema: z.ZodArray<z.ZodString>;
|
|
13
13
|
export declare const CommandsMapSchema: z.ZodObject<{
|
|
14
|
-
test: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
15
|
-
lint: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
16
|
-
typecheck: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
17
|
-
build: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
18
|
-
},
|
|
19
|
-
test?: string[][] | undefined;
|
|
20
|
-
lint?: string[][] | undefined;
|
|
21
|
-
typecheck?: string[][] | undefined;
|
|
22
|
-
build?: string[][] | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
test?: string[][] | undefined;
|
|
25
|
-
lint?: string[][] | undefined;
|
|
26
|
-
typecheck?: string[][] | undefined;
|
|
27
|
-
build?: string[][] | undefined;
|
|
28
|
-
}>;
|
|
14
|
+
test: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
15
|
+
lint: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
typecheck: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
17
|
+
build: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
18
|
+
}, z.core.$strict>;
|
|
29
19
|
/**
|
|
30
20
|
* Verification settings overlay (ADR-0022). Optional, absent by
|
|
31
21
|
* default: a profile without a `verification` section keeps the exact
|
|
@@ -36,148 +26,46 @@ export declare const VerificationSettingsSectionSchema: z.ZodObject<{
|
|
|
36
26
|
enabled: z.ZodBoolean;
|
|
37
27
|
threshold: z.ZodNumber;
|
|
38
28
|
budgetMs: z.ZodNumber;
|
|
39
|
-
scope: z.ZodEnum<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
threshold: number;
|
|
50
|
-
budgetMs: number;
|
|
51
|
-
scope: "diff" | "suite";
|
|
52
|
-
gateMode: "warn" | "enforce";
|
|
53
|
-
}>>;
|
|
54
|
-
}, "strict", z.ZodTypeAny, {
|
|
55
|
-
strength?: {
|
|
56
|
-
enabled: boolean;
|
|
57
|
-
threshold: number;
|
|
58
|
-
budgetMs: number;
|
|
59
|
-
scope: "diff" | "suite";
|
|
60
|
-
gateMode: "warn" | "enforce";
|
|
61
|
-
} | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
strength?: {
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
threshold: number;
|
|
66
|
-
budgetMs: number;
|
|
67
|
-
scope: "diff" | "suite";
|
|
68
|
-
gateMode: "warn" | "enforce";
|
|
69
|
-
} | undefined;
|
|
70
|
-
}>;
|
|
29
|
+
scope: z.ZodEnum<{
|
|
30
|
+
diff: "diff";
|
|
31
|
+
suite: "suite";
|
|
32
|
+
}>;
|
|
33
|
+
gateMode: z.ZodEnum<{
|
|
34
|
+
warn: "warn";
|
|
35
|
+
enforce: "enforce";
|
|
36
|
+
}>;
|
|
37
|
+
}, z.core.$strict>>;
|
|
38
|
+
}, z.core.$strict>;
|
|
71
39
|
export type VerificationSettingsSection = z.infer<typeof VerificationSettingsSectionSchema>;
|
|
72
40
|
export declare const ProjectProfileSchema: z.ZodObject<{
|
|
73
41
|
schemaVersion: z.ZodLiteral<1>;
|
|
74
42
|
name: z.ZodString;
|
|
75
|
-
stack: z.ZodArray<z.ZodString
|
|
43
|
+
stack: z.ZodArray<z.ZodString>;
|
|
76
44
|
commands: z.ZodObject<{
|
|
77
|
-
test: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
78
|
-
lint: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
79
|
-
typecheck: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
80
|
-
build: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString
|
|
81
|
-
},
|
|
82
|
-
test?: string[][] | undefined;
|
|
83
|
-
lint?: string[][] | undefined;
|
|
84
|
-
typecheck?: string[][] | undefined;
|
|
85
|
-
build?: string[][] | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
test?: string[][] | undefined;
|
|
88
|
-
lint?: string[][] | undefined;
|
|
89
|
-
typecheck?: string[][] | undefined;
|
|
90
|
-
build?: string[][] | undefined;
|
|
91
|
-
}>;
|
|
45
|
+
test: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
46
|
+
lint: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
47
|
+
typecheck: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
48
|
+
build: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
49
|
+
}, z.core.$strict>;
|
|
92
50
|
verification: z.ZodOptional<z.ZodObject<{
|
|
93
51
|
strength: z.ZodOptional<z.ZodObject<{
|
|
94
52
|
enabled: z.ZodBoolean;
|
|
95
53
|
threshold: z.ZodNumber;
|
|
96
54
|
budgetMs: z.ZodNumber;
|
|
97
|
-
scope: z.ZodEnum<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
threshold: number;
|
|
108
|
-
budgetMs: number;
|
|
109
|
-
scope: "diff" | "suite";
|
|
110
|
-
gateMode: "warn" | "enforce";
|
|
111
|
-
}>>;
|
|
112
|
-
}, "strict", z.ZodTypeAny, {
|
|
113
|
-
strength?: {
|
|
114
|
-
enabled: boolean;
|
|
115
|
-
threshold: number;
|
|
116
|
-
budgetMs: number;
|
|
117
|
-
scope: "diff" | "suite";
|
|
118
|
-
gateMode: "warn" | "enforce";
|
|
119
|
-
} | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
strength?: {
|
|
122
|
-
enabled: boolean;
|
|
123
|
-
threshold: number;
|
|
124
|
-
budgetMs: number;
|
|
125
|
-
scope: "diff" | "suite";
|
|
126
|
-
gateMode: "warn" | "enforce";
|
|
127
|
-
} | undefined;
|
|
128
|
-
}>>;
|
|
55
|
+
scope: z.ZodEnum<{
|
|
56
|
+
diff: "diff";
|
|
57
|
+
suite: "suite";
|
|
58
|
+
}>;
|
|
59
|
+
gateMode: z.ZodEnum<{
|
|
60
|
+
warn: "warn";
|
|
61
|
+
enforce: "enforce";
|
|
62
|
+
}>;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
}, z.core.$strict>>;
|
|
129
65
|
constitution: z.ZodOptional<z.ZodObject<{
|
|
130
66
|
required: z.ZodBoolean;
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
}, {
|
|
134
|
-
required: boolean;
|
|
135
|
-
}>>;
|
|
136
|
-
}, "strict", z.ZodTypeAny, {
|
|
137
|
-
schemaVersion: 1;
|
|
138
|
-
name: string;
|
|
139
|
-
stack: string[];
|
|
140
|
-
commands: {
|
|
141
|
-
test?: string[][] | undefined;
|
|
142
|
-
lint?: string[][] | undefined;
|
|
143
|
-
typecheck?: string[][] | undefined;
|
|
144
|
-
build?: string[][] | undefined;
|
|
145
|
-
};
|
|
146
|
-
verification?: {
|
|
147
|
-
strength?: {
|
|
148
|
-
enabled: boolean;
|
|
149
|
-
threshold: number;
|
|
150
|
-
budgetMs: number;
|
|
151
|
-
scope: "diff" | "suite";
|
|
152
|
-
gateMode: "warn" | "enforce";
|
|
153
|
-
} | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
constitution?: {
|
|
156
|
-
required: boolean;
|
|
157
|
-
} | undefined;
|
|
158
|
-
}, {
|
|
159
|
-
schemaVersion: 1;
|
|
160
|
-
name: string;
|
|
161
|
-
stack: string[];
|
|
162
|
-
commands: {
|
|
163
|
-
test?: string[][] | undefined;
|
|
164
|
-
lint?: string[][] | undefined;
|
|
165
|
-
typecheck?: string[][] | undefined;
|
|
166
|
-
build?: string[][] | undefined;
|
|
167
|
-
};
|
|
168
|
-
verification?: {
|
|
169
|
-
strength?: {
|
|
170
|
-
enabled: boolean;
|
|
171
|
-
threshold: number;
|
|
172
|
-
budgetMs: number;
|
|
173
|
-
scope: "diff" | "suite";
|
|
174
|
-
gateMode: "warn" | "enforce";
|
|
175
|
-
} | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
constitution?: {
|
|
178
|
-
required: boolean;
|
|
179
|
-
} | undefined;
|
|
180
|
-
}>;
|
|
67
|
+
}, z.core.$strict>>;
|
|
68
|
+
}, z.core.$strict>;
|
|
181
69
|
export type ProjectProfile = z.infer<typeof ProjectProfileSchema>;
|
|
182
70
|
export type CommandsMap = z.infer<typeof CommandsMapSchema>;
|
|
183
71
|
export type Command = z.infer<typeof CommandSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-profile.d.ts","sourceRoot":"","sources":["../../src/project/project-profile.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAG,CAAU,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"project-profile.d.ts","sourceRoot":"","sources":["../../src/project/project-profile.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAG,CAAU,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,aAAa,yBAEiC,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;kBAOnB,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;kBAInC,CAAC;AACZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmBtB,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,eAAe,CAAC,GAAG,cAAc,CAExF"}
|