@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-persistence.d.ts","sourceRoot":"","sources":["../../src/application/application-persistence.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,sCAAsC,EAAG,CAAU,CAAC;AAEjE,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"application-persistence.d.ts","sourceRoot":"","sources":["../../src/application/application-persistence.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,sCAAsC,EAAG,CAAU,CAAC;AAEjE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -19,15 +19,15 @@ export declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
19
19
|
exitedAt: z.ZodOptional<z.ZodString>;
|
|
20
20
|
outcome: z.ZodOptional<z.ZodEnum<["pending", "advanced", "blocked", "completed", "failed", "revised"]>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
stage: "verification" | "
|
|
22
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
23
23
|
enteredAt: string;
|
|
24
|
-
exitedAt?: string | undefined;
|
|
25
24
|
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
25
|
+
exitedAt?: string | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
stage: "verification" | "
|
|
27
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
28
28
|
enteredAt: string;
|
|
29
|
-
exitedAt?: string | undefined;
|
|
30
29
|
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
30
|
+
exitedAt?: string | undefined;
|
|
31
31
|
}>, "many">;
|
|
32
32
|
revisions: z.ZodArray<z.ZodObject<{
|
|
33
33
|
fromStage: z.ZodEnum<["intake", "discovery", "requirements", "architecture", "planning", "scaffolding", "implementation", "verification", "review", "release"]>;
|
|
@@ -36,30 +36,30 @@ export declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
36
36
|
revisedAt: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
reason: string;
|
|
39
|
-
fromStage: "verification" | "
|
|
40
|
-
toStage: "verification" | "
|
|
39
|
+
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
40
|
+
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
41
41
|
revisedAt: string;
|
|
42
42
|
}, {
|
|
43
43
|
reason: string;
|
|
44
|
-
fromStage: "verification" | "
|
|
45
|
-
toStage: "verification" | "
|
|
44
|
+
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
45
|
+
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
46
46
|
revisedAt: string;
|
|
47
47
|
}>, "many">;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
50
50
|
schemaVersion: 1;
|
|
51
51
|
runId: string;
|
|
52
|
-
stage: "verification" | "
|
|
52
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
53
53
|
stageHistory: {
|
|
54
|
-
stage: "verification" | "
|
|
54
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
55
55
|
enteredAt: string;
|
|
56
|
-
exitedAt?: string | undefined;
|
|
57
56
|
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
57
|
+
exitedAt?: string | undefined;
|
|
58
58
|
}[];
|
|
59
59
|
revisions: {
|
|
60
60
|
reason: string;
|
|
61
|
-
fromStage: "verification" | "
|
|
62
|
-
toStage: "verification" | "
|
|
61
|
+
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
62
|
+
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
63
63
|
revisedAt: string;
|
|
64
64
|
}[];
|
|
65
65
|
startedAt?: string | undefined;
|
|
@@ -68,17 +68,17 @@ export declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
68
68
|
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
69
69
|
schemaVersion: 1;
|
|
70
70
|
runId: string;
|
|
71
|
-
stage: "verification" | "
|
|
71
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
72
72
|
stageHistory: {
|
|
73
|
-
stage: "verification" | "
|
|
73
|
+
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
74
74
|
enteredAt: string;
|
|
75
|
-
exitedAt?: string | undefined;
|
|
76
75
|
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
76
|
+
exitedAt?: string | undefined;
|
|
77
77
|
}[];
|
|
78
78
|
revisions: {
|
|
79
79
|
reason: string;
|
|
80
|
-
fromStage: "verification" | "
|
|
81
|
-
toStage: "verification" | "
|
|
80
|
+
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
81
|
+
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
82
82
|
revisedAt: string;
|
|
83
83
|
}[];
|
|
84
84
|
startedAt?: string | undefined;
|
|
@@ -10,14 +10,14 @@ export declare const ParameterSchema: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: string;
|
|
12
12
|
name: string;
|
|
13
|
-
description: string;
|
|
14
13
|
required: boolean;
|
|
14
|
+
description: string;
|
|
15
15
|
location: "path" | "query" | "header" | "body";
|
|
16
16
|
}, {
|
|
17
17
|
type: string;
|
|
18
18
|
name: string;
|
|
19
|
-
description: string;
|
|
20
19
|
required: boolean;
|
|
20
|
+
description: string;
|
|
21
21
|
location: "path" | "query" | "header" | "body";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const ResponseSchema: z.ZodObject<{
|
|
@@ -48,14 +48,14 @@ export declare const EndpointSchema: z.ZodObject<{
|
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
type: string;
|
|
50
50
|
name: string;
|
|
51
|
-
description: string;
|
|
52
51
|
required: boolean;
|
|
52
|
+
description: string;
|
|
53
53
|
location: "path" | "query" | "header" | "body";
|
|
54
54
|
}, {
|
|
55
55
|
type: string;
|
|
56
56
|
name: string;
|
|
57
|
-
description: string;
|
|
58
57
|
required: boolean;
|
|
58
|
+
description: string;
|
|
59
59
|
location: "path" | "query" | "header" | "body";
|
|
60
60
|
}>, "many">>;
|
|
61
61
|
responses: z.ZodArray<z.ZodObject<{
|
|
@@ -75,15 +75,15 @@ export declare const EndpointSchema: z.ZodObject<{
|
|
|
75
75
|
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
path: string;
|
|
78
|
-
id: string;
|
|
79
78
|
summary: string;
|
|
79
|
+
id: string;
|
|
80
80
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
81
81
|
operationId: string;
|
|
82
82
|
parameters: {
|
|
83
83
|
type: string;
|
|
84
84
|
name: string;
|
|
85
|
-
description: string;
|
|
86
85
|
required: boolean;
|
|
86
|
+
description: string;
|
|
87
87
|
location: "path" | "query" | "header" | "body";
|
|
88
88
|
}[];
|
|
89
89
|
responses: {
|
|
@@ -95,8 +95,8 @@ export declare const EndpointSchema: z.ZodObject<{
|
|
|
95
95
|
requiredRoles: string[];
|
|
96
96
|
}, {
|
|
97
97
|
path: string;
|
|
98
|
-
id: string;
|
|
99
98
|
summary: string;
|
|
99
|
+
id: string;
|
|
100
100
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
101
101
|
operationId: string;
|
|
102
102
|
responses: {
|
|
@@ -107,8 +107,8 @@ export declare const EndpointSchema: z.ZodObject<{
|
|
|
107
107
|
parameters?: {
|
|
108
108
|
type: string;
|
|
109
109
|
name: string;
|
|
110
|
-
description: string;
|
|
111
110
|
required: boolean;
|
|
111
|
+
description: string;
|
|
112
112
|
location: "path" | "query" | "header" | "body";
|
|
113
113
|
}[] | undefined;
|
|
114
114
|
requiresAuth?: boolean | undefined;
|
|
@@ -133,14 +133,14 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
134
|
type: string;
|
|
135
135
|
name: string;
|
|
136
|
-
description: string;
|
|
137
136
|
required: boolean;
|
|
137
|
+
description: string;
|
|
138
138
|
location: "path" | "query" | "header" | "body";
|
|
139
139
|
}, {
|
|
140
140
|
type: string;
|
|
141
141
|
name: string;
|
|
142
|
-
description: string;
|
|
143
142
|
required: boolean;
|
|
143
|
+
description: string;
|
|
144
144
|
location: "path" | "query" | "header" | "body";
|
|
145
145
|
}>, "many">>;
|
|
146
146
|
responses: z.ZodArray<z.ZodObject<{
|
|
@@ -160,15 +160,15 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
160
160
|
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
path: string;
|
|
163
|
-
id: string;
|
|
164
163
|
summary: string;
|
|
164
|
+
id: string;
|
|
165
165
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
166
166
|
operationId: string;
|
|
167
167
|
parameters: {
|
|
168
168
|
type: string;
|
|
169
169
|
name: string;
|
|
170
|
-
description: string;
|
|
171
170
|
required: boolean;
|
|
171
|
+
description: string;
|
|
172
172
|
location: "path" | "query" | "header" | "body";
|
|
173
173
|
}[];
|
|
174
174
|
responses: {
|
|
@@ -180,8 +180,8 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
180
180
|
requiredRoles: string[];
|
|
181
181
|
}, {
|
|
182
182
|
path: string;
|
|
183
|
-
id: string;
|
|
184
183
|
summary: string;
|
|
184
|
+
id: string;
|
|
185
185
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
186
186
|
operationId: string;
|
|
187
187
|
responses: {
|
|
@@ -192,8 +192,8 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
192
192
|
parameters?: {
|
|
193
193
|
type: string;
|
|
194
194
|
name: string;
|
|
195
|
-
description: string;
|
|
196
195
|
required: boolean;
|
|
196
|
+
description: string;
|
|
197
197
|
location: "path" | "query" | "header" | "body";
|
|
198
198
|
}[] | undefined;
|
|
199
199
|
requiresAuth?: boolean | undefined;
|
|
@@ -204,15 +204,15 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
204
204
|
briefId: string;
|
|
205
205
|
endpoints: {
|
|
206
206
|
path: string;
|
|
207
|
-
id: string;
|
|
208
207
|
summary: string;
|
|
208
|
+
id: string;
|
|
209
209
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
210
210
|
operationId: string;
|
|
211
211
|
parameters: {
|
|
212
212
|
type: string;
|
|
213
213
|
name: string;
|
|
214
|
-
description: string;
|
|
215
214
|
required: boolean;
|
|
215
|
+
description: string;
|
|
216
216
|
location: "path" | "query" | "header" | "body";
|
|
217
217
|
}[];
|
|
218
218
|
responses: {
|
|
@@ -229,8 +229,8 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
229
229
|
briefId: string;
|
|
230
230
|
endpoints: {
|
|
231
231
|
path: string;
|
|
232
|
-
id: string;
|
|
233
232
|
summary: string;
|
|
233
|
+
id: string;
|
|
234
234
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
235
235
|
operationId: string;
|
|
236
236
|
responses: {
|
|
@@ -241,8 +241,8 @@ export declare const ApiContractSchema: z.ZodObject<{
|
|
|
241
241
|
parameters?: {
|
|
242
242
|
type: string;
|
|
243
243
|
name: string;
|
|
244
|
-
description: string;
|
|
245
244
|
required: boolean;
|
|
245
|
+
description: string;
|
|
246
246
|
location: "path" | "query" | "header" | "body";
|
|
247
247
|
}[] | undefined;
|
|
248
248
|
requiresAuth?: boolean | undefined;
|
|
@@ -12,9 +12,9 @@ export declare const ArchitectureOptionSchema: z.ZodObject<{
|
|
|
12
12
|
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
15
16
|
id: string;
|
|
16
17
|
rationale: string;
|
|
17
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
18
18
|
pros: string[];
|
|
19
19
|
cons: string[];
|
|
20
20
|
justifiedBy: string[];
|
|
@@ -22,9 +22,9 @@ export declare const ArchitectureOptionSchema: z.ZodObject<{
|
|
|
22
22
|
rejectionReason?: string | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
name: string;
|
|
25
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
25
26
|
id: string;
|
|
26
27
|
rationale: string;
|
|
27
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
28
28
|
pros: string[];
|
|
29
29
|
cons: string[];
|
|
30
30
|
justifiedBy: string[];
|
|
@@ -46,9 +46,9 @@ export declare const ArchitectureOptionsSchema: z.ZodObject<{
|
|
|
46
46
|
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
name: string;
|
|
49
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
49
50
|
id: string;
|
|
50
51
|
rationale: string;
|
|
51
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
52
52
|
pros: string[];
|
|
53
53
|
cons: string[];
|
|
54
54
|
justifiedBy: string[];
|
|
@@ -56,9 +56,9 @@ export declare const ArchitectureOptionsSchema: z.ZodObject<{
|
|
|
56
56
|
rejectionReason?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
name: string;
|
|
59
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
59
60
|
id: string;
|
|
60
61
|
rationale: string;
|
|
61
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
62
62
|
pros: string[];
|
|
63
63
|
cons: string[];
|
|
64
64
|
justifiedBy: string[];
|
|
@@ -69,9 +69,9 @@ export declare const ArchitectureOptionsSchema: z.ZodObject<{
|
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
options: {
|
|
71
71
|
name: string;
|
|
72
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
72
73
|
id: string;
|
|
73
74
|
rationale: string;
|
|
74
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
75
75
|
pros: string[];
|
|
76
76
|
cons: string[];
|
|
77
77
|
justifiedBy: string[];
|
|
@@ -84,9 +84,9 @@ export declare const ArchitectureOptionsSchema: z.ZodObject<{
|
|
|
84
84
|
}, {
|
|
85
85
|
options: {
|
|
86
86
|
name: string;
|
|
87
|
+
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
87
88
|
id: string;
|
|
88
89
|
rationale: string;
|
|
89
|
-
kind: "modular-monolith" | "microservices" | "modular-monolith-with-bounded-contexts" | "serverless" | "other";
|
|
90
90
|
pros: string[];
|
|
91
91
|
cons: string[];
|
|
92
92
|
justifiedBy: string[];
|
|
@@ -9,15 +9,15 @@ export declare const ComponentSchema: z.ZodObject<{
|
|
|
9
9
|
filePaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
name: string;
|
|
12
|
-
id: string;
|
|
13
12
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
13
|
+
id: string;
|
|
14
14
|
responsibility: string;
|
|
15
15
|
dependsOn: string[];
|
|
16
16
|
filePaths: string[];
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
id: string;
|
|
20
19
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
20
|
+
id: string;
|
|
21
21
|
responsibility: string;
|
|
22
22
|
dependsOn: string[];
|
|
23
23
|
filePaths?: string[] | undefined;
|
|
@@ -34,15 +34,15 @@ export declare const ComponentMapSchema: z.ZodObject<{
|
|
|
34
34
|
filePaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
name: string;
|
|
37
|
-
id: string;
|
|
38
37
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
38
|
+
id: string;
|
|
39
39
|
responsibility: string;
|
|
40
40
|
dependsOn: string[];
|
|
41
41
|
filePaths: string[];
|
|
42
42
|
}, {
|
|
43
43
|
name: string;
|
|
44
|
-
id: string;
|
|
45
44
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
45
|
+
id: string;
|
|
46
46
|
responsibility: string;
|
|
47
47
|
dependsOn: string[];
|
|
48
48
|
filePaths?: string[] | undefined;
|
|
@@ -52,8 +52,8 @@ export declare const ComponentMapSchema: z.ZodObject<{
|
|
|
52
52
|
briefId: string;
|
|
53
53
|
components: {
|
|
54
54
|
name: string;
|
|
55
|
-
id: string;
|
|
56
55
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
56
|
+
id: string;
|
|
57
57
|
responsibility: string;
|
|
58
58
|
dependsOn: string[];
|
|
59
59
|
filePaths: string[];
|
|
@@ -63,8 +63,8 @@ export declare const ComponentMapSchema: z.ZodObject<{
|
|
|
63
63
|
briefId: string;
|
|
64
64
|
components: {
|
|
65
65
|
name: string;
|
|
66
|
-
id: string;
|
|
67
66
|
kind: "frontend" | "backend" | "service" | "data-store" | "external-integration" | "background-job" | "shared-library";
|
|
67
|
+
id: string;
|
|
68
68
|
responsibility: string;
|
|
69
69
|
dependsOn: string[];
|
|
70
70
|
filePaths?: string[] | undefined;
|
|
@@ -97,14 +97,14 @@ export declare const RelationshipSchema: z.ZodObject<{
|
|
|
97
97
|
kind: z.ZodEnum<["one-to-one", "one-to-many", "many-to-many"]>;
|
|
98
98
|
enforcedAt: z.ZodEnum<["database", "application"]>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
id: string;
|
|
101
100
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
101
|
+
id: string;
|
|
102
102
|
fromEntityId: string;
|
|
103
103
|
toEntityId: string;
|
|
104
104
|
enforcedAt: "database" | "application";
|
|
105
105
|
}, {
|
|
106
|
-
id: string;
|
|
107
106
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
107
|
+
id: string;
|
|
108
108
|
fromEntityId: string;
|
|
109
109
|
toEntityId: string;
|
|
110
110
|
enforcedAt: "database" | "application";
|
|
@@ -180,14 +180,14 @@ export declare const DataModelSchema: z.ZodObject<{
|
|
|
180
180
|
kind: z.ZodEnum<["one-to-one", "one-to-many", "many-to-many"]>;
|
|
181
181
|
enforcedAt: z.ZodEnum<["database", "application"]>;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
id: string;
|
|
184
183
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
184
|
+
id: string;
|
|
185
185
|
fromEntityId: string;
|
|
186
186
|
toEntityId: string;
|
|
187
187
|
enforcedAt: "database" | "application";
|
|
188
188
|
}, {
|
|
189
|
-
id: string;
|
|
190
189
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
190
|
+
id: string;
|
|
191
191
|
fromEntityId: string;
|
|
192
192
|
toEntityId: string;
|
|
193
193
|
enforcedAt: "database" | "application";
|
|
@@ -211,8 +211,8 @@ export declare const DataModelSchema: z.ZodObject<{
|
|
|
211
211
|
conventions: string[];
|
|
212
212
|
}[];
|
|
213
213
|
relationships: {
|
|
214
|
-
id: string;
|
|
215
214
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
215
|
+
id: string;
|
|
216
216
|
fromEntityId: string;
|
|
217
217
|
toEntityId: string;
|
|
218
218
|
enforcedAt: "database" | "application";
|
|
@@ -236,8 +236,8 @@ export declare const DataModelSchema: z.ZodObject<{
|
|
|
236
236
|
conventions?: string[] | undefined;
|
|
237
237
|
}[];
|
|
238
238
|
relationships: {
|
|
239
|
-
id: string;
|
|
240
239
|
kind: "one-to-one" | "one-to-many" | "many-to-many";
|
|
240
|
+
id: string;
|
|
241
241
|
fromEntityId: string;
|
|
242
242
|
toEntityId: string;
|
|
243
243
|
enforcedAt: "database" | "application";
|
|
@@ -26,29 +26,29 @@ export declare const OperationalDesignSchema: z.ZodObject<{
|
|
|
26
26
|
description: z.ZodString;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
name: string;
|
|
29
|
-
description: string;
|
|
30
29
|
required: boolean;
|
|
30
|
+
description: string;
|
|
31
31
|
sensitive: boolean;
|
|
32
32
|
}, {
|
|
33
33
|
name: string;
|
|
34
|
-
description: string;
|
|
35
34
|
required: boolean;
|
|
35
|
+
description: string;
|
|
36
36
|
sensitive: boolean;
|
|
37
37
|
}>, "many">;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
source: "env" | "file" | "secret-manager" | "mixed";
|
|
40
40
|
variables: {
|
|
41
41
|
name: string;
|
|
42
|
-
description: string;
|
|
43
42
|
required: boolean;
|
|
43
|
+
description: string;
|
|
44
44
|
sensitive: boolean;
|
|
45
45
|
}[];
|
|
46
46
|
}, {
|
|
47
47
|
source: "env" | "file" | "secret-manager" | "mixed";
|
|
48
48
|
variables: {
|
|
49
49
|
name: string;
|
|
50
|
-
description: string;
|
|
51
50
|
required: boolean;
|
|
51
|
+
description: string;
|
|
52
52
|
sensitive: boolean;
|
|
53
53
|
}[];
|
|
54
54
|
}>;
|
|
@@ -87,8 +87,8 @@ export declare const OperationalDesignSchema: z.ZodObject<{
|
|
|
87
87
|
source: "env" | "file" | "secret-manager" | "mixed";
|
|
88
88
|
variables: {
|
|
89
89
|
name: string;
|
|
90
|
-
description: string;
|
|
91
90
|
required: boolean;
|
|
91
|
+
description: string;
|
|
92
92
|
sensitive: boolean;
|
|
93
93
|
}[];
|
|
94
94
|
};
|
|
@@ -113,8 +113,8 @@ export declare const OperationalDesignSchema: z.ZodObject<{
|
|
|
113
113
|
source: "env" | "file" | "secret-manager" | "mixed";
|
|
114
114
|
variables: {
|
|
115
115
|
name: string;
|
|
116
|
-
description: string;
|
|
117
116
|
required: boolean;
|
|
117
|
+
description: string;
|
|
118
118
|
sensitive: boolean;
|
|
119
119
|
}[];
|
|
120
120
|
};
|