@agentic-sdlc-kit/contracts 0.9.1 → 1.0.1

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.
Files changed (186) hide show
  1. package/dist/agent/events.d.ts +18 -18
  2. package/dist/agent/execution.d.ts +22 -22
  3. package/dist/agent-tools/index.d.ts +85 -0
  4. package/dist/agent-tools/index.d.ts.map +1 -0
  5. package/dist/agent-tools/index.js +60 -0
  6. package/dist/agent-tools/index.js.map +1 -0
  7. package/dist/application/application-context.d.ts +194 -60
  8. package/dist/application/application-context.d.ts.map +1 -1
  9. package/dist/application/application-persistence.d.ts +276 -114
  10. package/dist/application/application-persistence.d.ts.map +1 -1
  11. package/dist/application/application-state.d.ts +18 -18
  12. package/dist/architecture/api-contract.d.ts +18 -18
  13. package/dist/architecture/architecture-options.d.ts +6 -6
  14. package/dist/architecture/component-map.d.ts +6 -6
  15. package/dist/architecture/data-model.d.ts +6 -6
  16. package/dist/architecture/operational-design.d.ts +6 -6
  17. package/dist/benchmark/bench.d.ts +330 -0
  18. package/dist/benchmark/bench.d.ts.map +1 -0
  19. package/dist/benchmark/bench.js +69 -0
  20. package/dist/benchmark/bench.js.map +1 -0
  21. package/dist/benchmark/index.d.ts +2 -0
  22. package/dist/benchmark/index.d.ts.map +1 -0
  23. package/dist/benchmark/index.js +2 -0
  24. package/dist/benchmark/index.js.map +1 -0
  25. package/dist/constitution/cli-output.d.ts +706 -0
  26. package/dist/constitution/cli-output.d.ts.map +1 -0
  27. package/dist/constitution/cli-output.js +37 -0
  28. package/dist/constitution/cli-output.js.map +1 -0
  29. package/dist/constitution/index.d.ts +4 -0
  30. package/dist/constitution/index.d.ts.map +1 -0
  31. package/dist/constitution/index.js +4 -0
  32. package/dist/constitution/index.js.map +1 -0
  33. package/dist/constitution/result.d.ts +112 -0
  34. package/dist/constitution/result.d.ts.map +1 -0
  35. package/dist/constitution/result.js +67 -0
  36. package/dist/constitution/result.js.map +1 -0
  37. package/dist/constitution/rule.d.ts +488 -0
  38. package/dist/constitution/rule.d.ts.map +1 -0
  39. package/dist/constitution/rule.js +164 -0
  40. package/dist/constitution/rule.js.map +1 -0
  41. package/dist/context/index.d.ts +2 -0
  42. package/dist/context/index.d.ts.map +1 -0
  43. package/dist/context/index.js +2 -0
  44. package/dist/context/index.js.map +1 -0
  45. package/dist/context/project-context.d.ts +275 -0
  46. package/dist/context/project-context.d.ts.map +1 -0
  47. package/dist/context/project-context.js +56 -0
  48. package/dist/context/project-context.js.map +1 -0
  49. package/dist/evaluation/benchmark.d.ts +12 -12
  50. package/dist/evaluation/metrics.d.ts +4 -4
  51. package/dist/evolution/improvement-hypothesis.d.ts +10 -10
  52. package/dist/execution/execution-profile.d.ts +130 -0
  53. package/dist/execution/execution-profile.d.ts.map +1 -0
  54. package/dist/execution/execution-profile.js +44 -0
  55. package/dist/execution/execution-profile.js.map +1 -0
  56. package/dist/execution/index.d.ts +2 -0
  57. package/dist/execution/index.d.ts.map +1 -0
  58. package/dist/execution/index.js +2 -0
  59. package/dist/execution/index.js.map +1 -0
  60. package/dist/index.d.ts +6 -0
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +11 -0
  63. package/dist/index.js.map +1 -1
  64. package/dist/installer/install-plan.d.ts +16 -16
  65. package/dist/installer/ownership-manifest.d.ts +2 -2
  66. package/dist/installer/package-manifest.d.ts +6 -6
  67. package/dist/learning/engineering-lesson.d.ts +14 -14
  68. package/dist/learning/engineering-memory.d.ts +20 -2
  69. package/dist/learning/engineering-memory.d.ts.map +1 -1
  70. package/dist/learning/engineering-memory.js +2 -0
  71. package/dist/learning/engineering-memory.js.map +1 -1
  72. package/dist/learning/experience-episode.d.ts +14 -14
  73. package/dist/learning/experience.d.ts +8 -8
  74. package/dist/learning/index.d.ts +1 -0
  75. package/dist/learning/index.d.ts.map +1 -1
  76. package/dist/learning/index.js +1 -0
  77. package/dist/learning/index.js.map +1 -1
  78. package/dist/learning/learning-event.d.ts +78 -0
  79. package/dist/learning/learning-event.d.ts.map +1 -0
  80. package/dist/learning/learning-event.js +37 -0
  81. package/dist/learning/learning-event.js.map +1 -0
  82. package/dist/learning/memory.d.ts +2 -2
  83. package/dist/maintenance/bug-fix-workflow.d.ts +4 -4
  84. package/dist/maintenance/bug-report.d.ts +6 -6
  85. package/dist/maintenance/refactor-contract.d.ts +8 -8
  86. package/dist/maintenance/refactor-workflow.d.ts +4 -4
  87. package/dist/observer/event-schema.d.ts +6 -6
  88. package/dist/observer/journal.d.ts +10 -10
  89. package/dist/observer/journal.d.ts.map +1 -1
  90. package/dist/observer/journal.js +7 -0
  91. package/dist/observer/journal.js.map +1 -1
  92. package/dist/observer/run-summary.d.ts +12 -12
  93. package/dist/onboard/index.d.ts +2 -0
  94. package/dist/onboard/index.d.ts.map +1 -0
  95. package/dist/onboard/index.js +2 -0
  96. package/dist/onboard/index.js.map +1 -0
  97. package/dist/onboard/onboard-report.d.ts +349 -0
  98. package/dist/onboard/onboard-report.d.ts.map +1 -0
  99. package/dist/onboard/onboard-report.js +96 -0
  100. package/dist/onboard/onboard-report.js.map +1 -0
  101. package/dist/patterns/pattern.d.ts +2 -2
  102. package/dist/planning/task.d.ts +36 -36
  103. package/dist/policy/policy.d.ts +8 -8
  104. package/dist/product/product-brief.d.ts +6 -6
  105. package/dist/product/requirements.d.ts +48 -48
  106. package/dist/project/project-profile.d.ts +113 -2
  107. package/dist/project/project-profile.d.ts.map +1 -1
  108. package/dist/project/project-profile.js +17 -2
  109. package/dist/project/project-profile.js.map +1 -1
  110. package/dist/routing/index.d.ts +1 -0
  111. package/dist/routing/index.d.ts.map +1 -1
  112. package/dist/routing/index.js +1 -0
  113. package/dist/routing/index.js.map +1 -1
  114. package/dist/routing/measured-routing.d.ts +41 -0
  115. package/dist/routing/measured-routing.d.ts.map +1 -0
  116. package/dist/routing/measured-routing.js +24 -0
  117. package/dist/routing/measured-routing.js.map +1 -0
  118. package/dist/routing/routing-policy.d.ts +20 -20
  119. package/dist/routing/routing-request.d.ts +2 -2
  120. package/dist/runtime-guard/action-classification.d.ts +2 -2
  121. package/dist/runtime-guard/audit-event.d.ts +8 -8
  122. package/dist/runtime-guard/policy-schema.d.ts +4 -4
  123. package/dist/scaffolding/scaffold-contract.d.ts +59 -59
  124. package/dist/scaffolding/template-manifest.d.ts +15 -15
  125. package/dist/secret-guard/detection-rule.d.ts +4 -4
  126. package/dist/secret-guard/finding.d.ts +10 -10
  127. package/dist/secret-guard/scanner-failure.d.ts +4 -4
  128. package/dist/specification/specification.d.ts +8 -8
  129. package/dist/stack-pack/manifest.d.ts +33 -4
  130. package/dist/stack-pack/manifest.d.ts.map +1 -1
  131. package/dist/stack-pack/manifest.js +22 -2
  132. package/dist/stack-pack/manifest.js.map +1 -1
  133. package/dist/verification/index.d.ts +1 -0
  134. package/dist/verification/index.d.ts.map +1 -1
  135. package/dist/verification/index.js +1 -0
  136. package/dist/verification/index.js.map +1 -1
  137. package/dist/verification/report.d.ts +118 -12
  138. package/dist/verification/report.d.ts.map +1 -1
  139. package/dist/verification/report.js +4 -0
  140. package/dist/verification/report.js.map +1 -1
  141. package/dist/verification/strength.d.ts +270 -0
  142. package/dist/verification/strength.d.ts.map +1 -0
  143. package/dist/verification/strength.js +168 -0
  144. package/dist/verification/strength.js.map +1 -0
  145. package/dist/workflow/next-action.d.ts +67 -6
  146. package/dist/workflow/next-action.d.ts.map +1 -1
  147. package/dist/workflow/next-action.js +23 -0
  148. package/dist/workflow/next-action.js.map +1 -1
  149. package/dist/workflow/workflow.d.ts +9 -8
  150. package/dist/workflow/workflow.d.ts.map +1 -1
  151. package/package.json +6 -1
  152. package/src/agent-tools/index.ts +81 -0
  153. package/src/benchmark/bench.ts +83 -0
  154. package/src/benchmark/index.ts +1 -0
  155. package/src/constitution/cli-output.ts +44 -0
  156. package/src/constitution/index.ts +3 -0
  157. package/src/constitution/result.test.ts +69 -0
  158. package/src/constitution/result.ts +74 -0
  159. package/src/constitution/rule-origin.test.ts +36 -0
  160. package/src/constitution/rule-path.test.ts +15 -0
  161. package/src/constitution/rule.test.ts +209 -0
  162. package/src/constitution/rule.ts +192 -0
  163. package/src/context/index.ts +1 -0
  164. package/src/context/project-context.ts +63 -0
  165. package/src/execution/execution-profile.ts +50 -0
  166. package/src/execution/index.ts +1 -0
  167. package/src/index.ts +16 -0
  168. package/src/learning/engineering-memory.ts +2 -0
  169. package/src/learning/index.ts +1 -0
  170. package/src/learning/learning-event.ts +42 -0
  171. package/src/observer/journal.ts +7 -0
  172. package/src/onboard/index.ts +1 -0
  173. package/src/onboard/onboard-report.test.ts +92 -0
  174. package/src/onboard/onboard-report.ts +115 -0
  175. package/src/project/project-profile.ts +19 -2
  176. package/src/routing/index.ts +1 -0
  177. package/src/routing/measured-routing.ts +27 -0
  178. package/src/stack-pack/manifest.test.ts +45 -0
  179. package/src/stack-pack/manifest.ts +24 -2
  180. package/src/verification/index.ts +1 -0
  181. package/src/verification/report.ts +4 -0
  182. package/src/verification/strength.test.ts +160 -0
  183. package/src/verification/strength.ts +189 -0
  184. package/src/workflow/next-action.test.ts +25 -0
  185. package/src/workflow/next-action.ts +25 -0
  186. 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
40
- toStage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
45
- toStage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
52
+ stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
53
53
  stageHistory: {
54
- stage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
62
- toStage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
71
+ stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
72
72
  stageHistory: {
73
- stage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
81
- toStage: "verification" | "intake" | "discovery" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "review" | "release";
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
  };