peer-ai-workflow 1.0.0-next.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/LICENSE +21 -0
- package/README.md +129 -0
- package/dist/config.d.ts +750 -0
- package/dist/config.js +392 -0
- package/dist/ids.d.ts +67 -0
- package/dist/ids.js +199 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +51 -0
- package/dist/report.d.ts +108 -0
- package/dist/report.js +169 -0
- package/dist/state.d.ts +261 -0
- package/dist/state.js +132 -0
- package/package.json +40 -0
- package/schemas/config-layer.schema.json +997 -0
- package/schemas/config.schema.json +1002 -0
- package/schemas/map.schema.json +102 -0
- package/schemas/review-report.schema.json +312 -0
- package/schemas/work-item.schema.json +415 -0
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,750 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConfigSchema: z.ZodObject<{
|
|
3
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
4
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
5
|
+
version: z.ZodLiteral<1>;
|
|
6
|
+
project: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
stage: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
prototype: "prototype";
|
|
11
|
+
mvp: "mvp";
|
|
12
|
+
production: "production";
|
|
13
|
+
}>>;
|
|
14
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
new: "new";
|
|
16
|
+
existing: "existing";
|
|
17
|
+
}>>;
|
|
18
|
+
team: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
solo: "solo";
|
|
20
|
+
team: "team";
|
|
21
|
+
}>>;
|
|
22
|
+
traits: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23
|
+
money: "money";
|
|
24
|
+
"safety-critical": "safety-critical";
|
|
25
|
+
"several-audiences": "several-audiences";
|
|
26
|
+
offline: "offline";
|
|
27
|
+
"real-time": "real-time";
|
|
28
|
+
uploads: "uploads";
|
|
29
|
+
"ai-features": "ai-features";
|
|
30
|
+
}>>>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
33
|
+
"claude-code": "claude-code";
|
|
34
|
+
codex: "codex";
|
|
35
|
+
cursor: "cursor";
|
|
36
|
+
copilot: "copilot";
|
|
37
|
+
"gemini-cli": "gemini-cli";
|
|
38
|
+
other: "other";
|
|
39
|
+
}>>>;
|
|
40
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
commit: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
|
+
design: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
status: z.ZodEnum<{
|
|
45
|
+
exists: "exists";
|
|
46
|
+
"to-be-produced": "to-be-produced";
|
|
47
|
+
none: "none";
|
|
48
|
+
}>;
|
|
49
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
50
|
+
tokens: z.ZodOptional<z.ZodString>;
|
|
51
|
+
authoritative: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
stopAfterSpecify: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
}, z.core.$strict>>;
|
|
54
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
kind: z.ZodEnum<{
|
|
57
|
+
other: "other";
|
|
58
|
+
mobile: "mobile";
|
|
59
|
+
backend: "backend";
|
|
60
|
+
data: "data";
|
|
61
|
+
infrastructure: "infrastructure";
|
|
62
|
+
web: "web";
|
|
63
|
+
desktop: "desktop";
|
|
64
|
+
library: "library";
|
|
65
|
+
cli: "cli";
|
|
66
|
+
extension: "extension";
|
|
67
|
+
embedded: "embedded";
|
|
68
|
+
}>;
|
|
69
|
+
path: z.ZodOptional<z.ZodString>;
|
|
70
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
71
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
architecture: z.ZodOptional<z.ZodString>;
|
|
73
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
+
consumes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
77
|
+
deploy: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
target: z.ZodString;
|
|
79
|
+
environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
status: z.ZodEnum<{
|
|
82
|
+
active: "active";
|
|
83
|
+
dormant: "dormant";
|
|
84
|
+
frozen: "frozen";
|
|
85
|
+
retiring: "retiring";
|
|
86
|
+
external: "external";
|
|
87
|
+
}>;
|
|
88
|
+
replacedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
+
note: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strict>>;
|
|
91
|
+
apis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
kind: z.ZodEnum<{
|
|
94
|
+
cli: "cli";
|
|
95
|
+
http: "http";
|
|
96
|
+
graphql: "graphql";
|
|
97
|
+
rpc: "rpc";
|
|
98
|
+
websocket: "websocket";
|
|
99
|
+
events: "events";
|
|
100
|
+
"in-process": "in-process";
|
|
101
|
+
package: "package";
|
|
102
|
+
}>;
|
|
103
|
+
providedBy: z.ZodOptional<z.ZodString>;
|
|
104
|
+
contract: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
source: z.ZodEnum<{
|
|
106
|
+
docs: "docs";
|
|
107
|
+
handwritten: "handwritten";
|
|
108
|
+
openapi: "openapi";
|
|
109
|
+
asyncapi: "asyncapi";
|
|
110
|
+
"graphql-schema": "graphql-schema";
|
|
111
|
+
protobuf: "protobuf";
|
|
112
|
+
types: "types";
|
|
113
|
+
}>;
|
|
114
|
+
location: z.ZodOptional<z.ZodString>;
|
|
115
|
+
checkDrift: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
note: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strict>>>;
|
|
119
|
+
environments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
id: z.ZodString;
|
|
121
|
+
production: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
url: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strict>>>;
|
|
124
|
+
repo: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
host: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
other: "other";
|
|
127
|
+
github: "github";
|
|
128
|
+
gitlab: "gitlab";
|
|
129
|
+
bitbucket: "bitbucket";
|
|
130
|
+
"azure-devops": "azure-devops";
|
|
131
|
+
}>>;
|
|
132
|
+
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
134
|
+
branchNaming: z.ZodOptional<z.ZodString>;
|
|
135
|
+
commits: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
conventional: "conventional";
|
|
137
|
+
"ticket-prefix": "ticket-prefix";
|
|
138
|
+
free: "free";
|
|
139
|
+
}>>;
|
|
140
|
+
mergePolicy: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
"pull-request": "pull-request";
|
|
142
|
+
"local-merge": "local-merge";
|
|
143
|
+
}>>;
|
|
144
|
+
pushEachCommit: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
}, z.core.$strict>>;
|
|
146
|
+
tracker: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
kind: z.ZodEnum<{
|
|
148
|
+
other: "other";
|
|
149
|
+
none: "none";
|
|
150
|
+
github: "github";
|
|
151
|
+
gitlab: "gitlab";
|
|
152
|
+
linear: "linear";
|
|
153
|
+
jira: "jira";
|
|
154
|
+
}>;
|
|
155
|
+
ticketPrefix: z.ZodOptional<z.ZodString>;
|
|
156
|
+
project: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, z.core.$strict>>;
|
|
158
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
verify: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
test: z.ZodOptional<z.ZodString>;
|
|
161
|
+
lint: z.ZodOptional<z.ZodString>;
|
|
162
|
+
build: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
164
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
ci: z.ZodEnum<{
|
|
166
|
+
existing: "existing";
|
|
167
|
+
none: "none";
|
|
168
|
+
}>;
|
|
169
|
+
pipeline: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
standards: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
core: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
174
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
175
|
+
path: z.ZodString;
|
|
176
|
+
role: z.ZodEnum<{
|
|
177
|
+
standard: "standard";
|
|
178
|
+
addendum: "addendum";
|
|
179
|
+
checklist: "checklist";
|
|
180
|
+
}>;
|
|
181
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
}, z.core.$strict>>>;
|
|
183
|
+
precedence: z.ZodOptional<z.ZodEnum<{
|
|
184
|
+
project: "project";
|
|
185
|
+
core: "core";
|
|
186
|
+
}>>;
|
|
187
|
+
onExisting: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
map: "map";
|
|
189
|
+
revise: "revise";
|
|
190
|
+
}>>;
|
|
191
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
192
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
193
|
+
reason: z.ZodString;
|
|
194
|
+
}, z.core.$strict>>>;
|
|
195
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
196
|
+
rule: z.ZodString;
|
|
197
|
+
reason: z.ZodString;
|
|
198
|
+
decidedBy: z.ZodString;
|
|
199
|
+
until: z.ZodOptional<z.ZodISODate>;
|
|
200
|
+
}, z.core.$strict>>>;
|
|
201
|
+
}, z.core.$strict>>;
|
|
202
|
+
compliance: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
jurisdictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
|
+
industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
|
+
packs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
|
+
dataInventory: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>>;
|
|
208
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
|
+
path: z.ZodString;
|
|
210
|
+
description: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$strict>>>;
|
|
212
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
policy: z.ZodEnum<{
|
|
214
|
+
none: "none";
|
|
215
|
+
tiers: "tiers";
|
|
216
|
+
pinned: "pinned";
|
|
217
|
+
}>;
|
|
218
|
+
default: z.ZodOptional<z.ZodString>;
|
|
219
|
+
byActivity: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
220
|
+
understand: "understand";
|
|
221
|
+
architect: "architect";
|
|
222
|
+
specify: "specify";
|
|
223
|
+
contract: "contract";
|
|
224
|
+
standards: "standards";
|
|
225
|
+
"delivery-setup": "delivery-setup";
|
|
226
|
+
plan: "plan";
|
|
227
|
+
build: "build";
|
|
228
|
+
verify: "verify";
|
|
229
|
+
test: "test";
|
|
230
|
+
ship: "ship";
|
|
231
|
+
operate: "operate";
|
|
232
|
+
document: "document";
|
|
233
|
+
retro: "retro";
|
|
234
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
235
|
+
ifUnavailable: z.ZodOptional<z.ZodEnum<{
|
|
236
|
+
"most-capable": "most-capable";
|
|
237
|
+
ask: "ask";
|
|
238
|
+
}>>;
|
|
239
|
+
}, z.core.$strict>>;
|
|
240
|
+
gates: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
blockOn: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
critical: "critical";
|
|
243
|
+
high: "high";
|
|
244
|
+
medium: "medium";
|
|
245
|
+
}>>;
|
|
246
|
+
}, z.core.$strict>>;
|
|
247
|
+
capabilities: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
248
|
+
"requirements-analysis": "requirements-analysis";
|
|
249
|
+
"product-spec": "product-spec";
|
|
250
|
+
architecture: "architecture";
|
|
251
|
+
"system-design": "system-design";
|
|
252
|
+
"api-design": "api-design";
|
|
253
|
+
"data-modelling": "data-modelling";
|
|
254
|
+
"threat-model": "threat-model";
|
|
255
|
+
"design-system": "design-system";
|
|
256
|
+
"issue-planning": "issue-planning";
|
|
257
|
+
"implement-ticket": "implement-ticket";
|
|
258
|
+
"code-review": "code-review";
|
|
259
|
+
"security-review": "security-review";
|
|
260
|
+
"contract-check": "contract-check";
|
|
261
|
+
"accessibility-review": "accessibility-review";
|
|
262
|
+
"design-review": "design-review";
|
|
263
|
+
"performance-review": "performance-review";
|
|
264
|
+
"reliability-review": "reliability-review";
|
|
265
|
+
"data-migration-review": "data-migration-review";
|
|
266
|
+
"dependency-review": "dependency-review";
|
|
267
|
+
"compliance-review": "compliance-review";
|
|
268
|
+
"test-strategy": "test-strategy";
|
|
269
|
+
"qa-acceptance": "qa-acceptance";
|
|
270
|
+
"ai-feature-review": "ai-feature-review";
|
|
271
|
+
"release-readiness": "release-readiness";
|
|
272
|
+
"infrastructure-review": "infrastructure-review";
|
|
273
|
+
"observability-review": "observability-review";
|
|
274
|
+
"incident-response": "incident-response";
|
|
275
|
+
documentation: "documentation";
|
|
276
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
277
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
278
|
+
also: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
279
|
+
checklists: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
280
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
281
|
+
}, z.core.$strict>>>;
|
|
282
|
+
activities: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
283
|
+
understand: "understand";
|
|
284
|
+
architect: "architect";
|
|
285
|
+
specify: "specify";
|
|
286
|
+
contract: "contract";
|
|
287
|
+
standards: "standards";
|
|
288
|
+
"delivery-setup": "delivery-setup";
|
|
289
|
+
plan: "plan";
|
|
290
|
+
build: "build";
|
|
291
|
+
verify: "verify";
|
|
292
|
+
test: "test";
|
|
293
|
+
ship: "ship";
|
|
294
|
+
operate: "operate";
|
|
295
|
+
document: "document";
|
|
296
|
+
retro: "retro";
|
|
297
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
298
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
299
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
|
+
reviews: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
require: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
302
|
+
"requirements-analysis": "requirements-analysis";
|
|
303
|
+
"product-spec": "product-spec";
|
|
304
|
+
architecture: "architecture";
|
|
305
|
+
"system-design": "system-design";
|
|
306
|
+
"api-design": "api-design";
|
|
307
|
+
"data-modelling": "data-modelling";
|
|
308
|
+
"threat-model": "threat-model";
|
|
309
|
+
"design-system": "design-system";
|
|
310
|
+
"issue-planning": "issue-planning";
|
|
311
|
+
"implement-ticket": "implement-ticket";
|
|
312
|
+
"code-review": "code-review";
|
|
313
|
+
"security-review": "security-review";
|
|
314
|
+
"contract-check": "contract-check";
|
|
315
|
+
"accessibility-review": "accessibility-review";
|
|
316
|
+
"design-review": "design-review";
|
|
317
|
+
"performance-review": "performance-review";
|
|
318
|
+
"reliability-review": "reliability-review";
|
|
319
|
+
"data-migration-review": "data-migration-review";
|
|
320
|
+
"dependency-review": "dependency-review";
|
|
321
|
+
"compliance-review": "compliance-review";
|
|
322
|
+
"test-strategy": "test-strategy";
|
|
323
|
+
"qa-acceptance": "qa-acceptance";
|
|
324
|
+
"ai-feature-review": "ai-feature-review";
|
|
325
|
+
"release-readiness": "release-readiness";
|
|
326
|
+
"infrastructure-review": "infrastructure-review";
|
|
327
|
+
"observability-review": "observability-review";
|
|
328
|
+
"incident-response": "incident-response";
|
|
329
|
+
documentation: "documentation";
|
|
330
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
331
|
+
}>>>;
|
|
332
|
+
skip: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
333
|
+
skill: z.ZodEnum<{
|
|
334
|
+
"requirements-analysis": "requirements-analysis";
|
|
335
|
+
"product-spec": "product-spec";
|
|
336
|
+
architecture: "architecture";
|
|
337
|
+
"system-design": "system-design";
|
|
338
|
+
"api-design": "api-design";
|
|
339
|
+
"data-modelling": "data-modelling";
|
|
340
|
+
"threat-model": "threat-model";
|
|
341
|
+
"design-system": "design-system";
|
|
342
|
+
"issue-planning": "issue-planning";
|
|
343
|
+
"implement-ticket": "implement-ticket";
|
|
344
|
+
"code-review": "code-review";
|
|
345
|
+
"security-review": "security-review";
|
|
346
|
+
"contract-check": "contract-check";
|
|
347
|
+
"accessibility-review": "accessibility-review";
|
|
348
|
+
"design-review": "design-review";
|
|
349
|
+
"performance-review": "performance-review";
|
|
350
|
+
"reliability-review": "reliability-review";
|
|
351
|
+
"data-migration-review": "data-migration-review";
|
|
352
|
+
"dependency-review": "dependency-review";
|
|
353
|
+
"compliance-review": "compliance-review";
|
|
354
|
+
"test-strategy": "test-strategy";
|
|
355
|
+
"qa-acceptance": "qa-acceptance";
|
|
356
|
+
"ai-feature-review": "ai-feature-review";
|
|
357
|
+
"release-readiness": "release-readiness";
|
|
358
|
+
"infrastructure-review": "infrastructure-review";
|
|
359
|
+
"observability-review": "observability-review";
|
|
360
|
+
"incident-response": "incident-response";
|
|
361
|
+
documentation: "documentation";
|
|
362
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
363
|
+
}>;
|
|
364
|
+
reason: z.ZodString;
|
|
365
|
+
}, z.core.$strict>>>;
|
|
366
|
+
}, z.core.$strict>>;
|
|
367
|
+
}, z.core.$strict>>>;
|
|
368
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
dir: z.ZodOptional<z.ZodString>;
|
|
370
|
+
preserveStructure: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
backlog: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, z.core.$strict>>;
|
|
373
|
+
}, z.core.$strict>;
|
|
374
|
+
export declare const ConfigLayerSchema: z.ZodObject<{
|
|
375
|
+
$schema: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
376
|
+
extends: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
377
|
+
version: z.ZodOptional<z.ZodLiteral<1>>;
|
|
378
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
name: z.ZodString;
|
|
380
|
+
description: z.ZodOptional<z.ZodString>;
|
|
381
|
+
stage: z.ZodOptional<z.ZodEnum<{
|
|
382
|
+
prototype: "prototype";
|
|
383
|
+
mvp: "mvp";
|
|
384
|
+
production: "production";
|
|
385
|
+
}>>;
|
|
386
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
387
|
+
new: "new";
|
|
388
|
+
existing: "existing";
|
|
389
|
+
}>>;
|
|
390
|
+
team: z.ZodOptional<z.ZodEnum<{
|
|
391
|
+
solo: "solo";
|
|
392
|
+
team: "team";
|
|
393
|
+
}>>;
|
|
394
|
+
traits: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
395
|
+
money: "money";
|
|
396
|
+
"safety-critical": "safety-critical";
|
|
397
|
+
"several-audiences": "several-audiences";
|
|
398
|
+
offline: "offline";
|
|
399
|
+
"real-time": "real-time";
|
|
400
|
+
uploads: "uploads";
|
|
401
|
+
"ai-features": "ai-features";
|
|
402
|
+
}>>>;
|
|
403
|
+
}, z.core.$strict>>;
|
|
404
|
+
tools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
405
|
+
"claude-code": "claude-code";
|
|
406
|
+
codex: "codex";
|
|
407
|
+
cursor: "cursor";
|
|
408
|
+
copilot: "copilot";
|
|
409
|
+
"gemini-cli": "gemini-cli";
|
|
410
|
+
other: "other";
|
|
411
|
+
}>>>>;
|
|
412
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
413
|
+
commit: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
+
}, z.core.$strict>>>;
|
|
415
|
+
design: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
416
|
+
status: z.ZodEnum<{
|
|
417
|
+
exists: "exists";
|
|
418
|
+
"to-be-produced": "to-be-produced";
|
|
419
|
+
none: "none";
|
|
420
|
+
}>;
|
|
421
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
422
|
+
tokens: z.ZodOptional<z.ZodString>;
|
|
423
|
+
authoritative: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
stopAfterSpecify: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
}, z.core.$strict>>>;
|
|
426
|
+
tracks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
427
|
+
id: z.ZodString;
|
|
428
|
+
kind: z.ZodEnum<{
|
|
429
|
+
other: "other";
|
|
430
|
+
mobile: "mobile";
|
|
431
|
+
backend: "backend";
|
|
432
|
+
data: "data";
|
|
433
|
+
infrastructure: "infrastructure";
|
|
434
|
+
web: "web";
|
|
435
|
+
desktop: "desktop";
|
|
436
|
+
library: "library";
|
|
437
|
+
cli: "cli";
|
|
438
|
+
extension: "extension";
|
|
439
|
+
embedded: "embedded";
|
|
440
|
+
}>;
|
|
441
|
+
path: z.ZodOptional<z.ZodString>;
|
|
442
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
443
|
+
stack: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
444
|
+
architecture: z.ZodOptional<z.ZodString>;
|
|
445
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
446
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
447
|
+
consumes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
448
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
449
|
+
deploy: z.ZodOptional<z.ZodObject<{
|
|
450
|
+
target: z.ZodString;
|
|
451
|
+
environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
|
+
}, z.core.$strict>>;
|
|
453
|
+
status: z.ZodEnum<{
|
|
454
|
+
active: "active";
|
|
455
|
+
dormant: "dormant";
|
|
456
|
+
frozen: "frozen";
|
|
457
|
+
retiring: "retiring";
|
|
458
|
+
external: "external";
|
|
459
|
+
}>;
|
|
460
|
+
replacedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
461
|
+
note: z.ZodOptional<z.ZodString>;
|
|
462
|
+
}, z.core.$strict>>>;
|
|
463
|
+
apis: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
464
|
+
id: z.ZodString;
|
|
465
|
+
kind: z.ZodEnum<{
|
|
466
|
+
cli: "cli";
|
|
467
|
+
http: "http";
|
|
468
|
+
graphql: "graphql";
|
|
469
|
+
rpc: "rpc";
|
|
470
|
+
websocket: "websocket";
|
|
471
|
+
events: "events";
|
|
472
|
+
"in-process": "in-process";
|
|
473
|
+
package: "package";
|
|
474
|
+
}>;
|
|
475
|
+
providedBy: z.ZodOptional<z.ZodString>;
|
|
476
|
+
contract: z.ZodOptional<z.ZodObject<{
|
|
477
|
+
source: z.ZodEnum<{
|
|
478
|
+
docs: "docs";
|
|
479
|
+
handwritten: "handwritten";
|
|
480
|
+
openapi: "openapi";
|
|
481
|
+
asyncapi: "asyncapi";
|
|
482
|
+
"graphql-schema": "graphql-schema";
|
|
483
|
+
protobuf: "protobuf";
|
|
484
|
+
types: "types";
|
|
485
|
+
}>;
|
|
486
|
+
location: z.ZodOptional<z.ZodString>;
|
|
487
|
+
checkDrift: z.ZodOptional<z.ZodBoolean>;
|
|
488
|
+
}, z.core.$strict>>;
|
|
489
|
+
note: z.ZodOptional<z.ZodString>;
|
|
490
|
+
}, z.core.$strict>>>>;
|
|
491
|
+
environments: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
492
|
+
id: z.ZodString;
|
|
493
|
+
production: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
url: z.ZodOptional<z.ZodString>;
|
|
495
|
+
}, z.core.$strict>>>>;
|
|
496
|
+
repo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
497
|
+
host: z.ZodOptional<z.ZodEnum<{
|
|
498
|
+
other: "other";
|
|
499
|
+
github: "github";
|
|
500
|
+
gitlab: "gitlab";
|
|
501
|
+
bitbucket: "bitbucket";
|
|
502
|
+
"azure-devops": "azure-devops";
|
|
503
|
+
}>>;
|
|
504
|
+
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
506
|
+
branchNaming: z.ZodOptional<z.ZodString>;
|
|
507
|
+
commits: z.ZodOptional<z.ZodEnum<{
|
|
508
|
+
conventional: "conventional";
|
|
509
|
+
"ticket-prefix": "ticket-prefix";
|
|
510
|
+
free: "free";
|
|
511
|
+
}>>;
|
|
512
|
+
mergePolicy: z.ZodOptional<z.ZodEnum<{
|
|
513
|
+
"pull-request": "pull-request";
|
|
514
|
+
"local-merge": "local-merge";
|
|
515
|
+
}>>;
|
|
516
|
+
pushEachCommit: z.ZodOptional<z.ZodBoolean>;
|
|
517
|
+
}, z.core.$strict>>>;
|
|
518
|
+
tracker: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
519
|
+
kind: z.ZodEnum<{
|
|
520
|
+
other: "other";
|
|
521
|
+
none: "none";
|
|
522
|
+
github: "github";
|
|
523
|
+
gitlab: "gitlab";
|
|
524
|
+
linear: "linear";
|
|
525
|
+
jira: "jira";
|
|
526
|
+
}>;
|
|
527
|
+
ticketPrefix: z.ZodOptional<z.ZodString>;
|
|
528
|
+
project: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strict>>>;
|
|
530
|
+
commands: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
531
|
+
verify: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
532
|
+
test: z.ZodOptional<z.ZodString>;
|
|
533
|
+
lint: z.ZodOptional<z.ZodString>;
|
|
534
|
+
build: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strict>>>;
|
|
536
|
+
delivery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
537
|
+
ci: z.ZodEnum<{
|
|
538
|
+
existing: "existing";
|
|
539
|
+
none: "none";
|
|
540
|
+
}>;
|
|
541
|
+
pipeline: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, z.core.$strict>>>;
|
|
543
|
+
standards: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
544
|
+
core: z.ZodOptional<z.ZodBoolean>;
|
|
545
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
546
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
547
|
+
path: z.ZodString;
|
|
548
|
+
role: z.ZodEnum<{
|
|
549
|
+
standard: "standard";
|
|
550
|
+
addendum: "addendum";
|
|
551
|
+
checklist: "checklist";
|
|
552
|
+
}>;
|
|
553
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
precedence: z.ZodOptional<z.ZodEnum<{
|
|
556
|
+
project: "project";
|
|
557
|
+
core: "core";
|
|
558
|
+
}>>;
|
|
559
|
+
onExisting: z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
map: "map";
|
|
561
|
+
revise: "revise";
|
|
562
|
+
}>>;
|
|
563
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
564
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
565
|
+
reason: z.ZodString;
|
|
566
|
+
}, z.core.$strict>>>;
|
|
567
|
+
exceptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
568
|
+
rule: z.ZodString;
|
|
569
|
+
reason: z.ZodString;
|
|
570
|
+
decidedBy: z.ZodString;
|
|
571
|
+
until: z.ZodOptional<z.ZodISODate>;
|
|
572
|
+
}, z.core.$strict>>>;
|
|
573
|
+
}, z.core.$strict>>>;
|
|
574
|
+
compliance: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
575
|
+
jurisdictions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
576
|
+
industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
577
|
+
packs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
578
|
+
dataInventory: z.ZodOptional<z.ZodString>;
|
|
579
|
+
}, z.core.$strict>>>;
|
|
580
|
+
rules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
581
|
+
path: z.ZodString;
|
|
582
|
+
description: z.ZodOptional<z.ZodString>;
|
|
583
|
+
}, z.core.$strict>>>>;
|
|
584
|
+
models: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
585
|
+
policy: z.ZodEnum<{
|
|
586
|
+
none: "none";
|
|
587
|
+
tiers: "tiers";
|
|
588
|
+
pinned: "pinned";
|
|
589
|
+
}>;
|
|
590
|
+
default: z.ZodOptional<z.ZodString>;
|
|
591
|
+
byActivity: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
592
|
+
understand: "understand";
|
|
593
|
+
architect: "architect";
|
|
594
|
+
specify: "specify";
|
|
595
|
+
contract: "contract";
|
|
596
|
+
standards: "standards";
|
|
597
|
+
"delivery-setup": "delivery-setup";
|
|
598
|
+
plan: "plan";
|
|
599
|
+
build: "build";
|
|
600
|
+
verify: "verify";
|
|
601
|
+
test: "test";
|
|
602
|
+
ship: "ship";
|
|
603
|
+
operate: "operate";
|
|
604
|
+
document: "document";
|
|
605
|
+
retro: "retro";
|
|
606
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
607
|
+
ifUnavailable: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
"most-capable": "most-capable";
|
|
609
|
+
ask: "ask";
|
|
610
|
+
}>>;
|
|
611
|
+
}, z.core.$strict>>>;
|
|
612
|
+
gates: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
613
|
+
blockOn: z.ZodOptional<z.ZodEnum<{
|
|
614
|
+
critical: "critical";
|
|
615
|
+
high: "high";
|
|
616
|
+
medium: "medium";
|
|
617
|
+
}>>;
|
|
618
|
+
}, z.core.$strict>>>;
|
|
619
|
+
capabilities: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
620
|
+
"requirements-analysis": "requirements-analysis";
|
|
621
|
+
"product-spec": "product-spec";
|
|
622
|
+
architecture: "architecture";
|
|
623
|
+
"system-design": "system-design";
|
|
624
|
+
"api-design": "api-design";
|
|
625
|
+
"data-modelling": "data-modelling";
|
|
626
|
+
"threat-model": "threat-model";
|
|
627
|
+
"design-system": "design-system";
|
|
628
|
+
"issue-planning": "issue-planning";
|
|
629
|
+
"implement-ticket": "implement-ticket";
|
|
630
|
+
"code-review": "code-review";
|
|
631
|
+
"security-review": "security-review";
|
|
632
|
+
"contract-check": "contract-check";
|
|
633
|
+
"accessibility-review": "accessibility-review";
|
|
634
|
+
"design-review": "design-review";
|
|
635
|
+
"performance-review": "performance-review";
|
|
636
|
+
"reliability-review": "reliability-review";
|
|
637
|
+
"data-migration-review": "data-migration-review";
|
|
638
|
+
"dependency-review": "dependency-review";
|
|
639
|
+
"compliance-review": "compliance-review";
|
|
640
|
+
"test-strategy": "test-strategy";
|
|
641
|
+
"qa-acceptance": "qa-acceptance";
|
|
642
|
+
"ai-feature-review": "ai-feature-review";
|
|
643
|
+
"release-readiness": "release-readiness";
|
|
644
|
+
"infrastructure-review": "infrastructure-review";
|
|
645
|
+
"observability-review": "observability-review";
|
|
646
|
+
"incident-response": "incident-response";
|
|
647
|
+
documentation: "documentation";
|
|
648
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
649
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
650
|
+
also: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
651
|
+
checklists: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
652
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
+
}, z.core.$strict>>>>;
|
|
654
|
+
activities: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
655
|
+
understand: "understand";
|
|
656
|
+
architect: "architect";
|
|
657
|
+
specify: "specify";
|
|
658
|
+
contract: "contract";
|
|
659
|
+
standards: "standards";
|
|
660
|
+
"delivery-setup": "delivery-setup";
|
|
661
|
+
plan: "plan";
|
|
662
|
+
build: "build";
|
|
663
|
+
verify: "verify";
|
|
664
|
+
test: "test";
|
|
665
|
+
ship: "ship";
|
|
666
|
+
operate: "operate";
|
|
667
|
+
document: "document";
|
|
668
|
+
retro: "retro";
|
|
669
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
670
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
671
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
672
|
+
reviews: z.ZodOptional<z.ZodObject<{
|
|
673
|
+
require: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
674
|
+
"requirements-analysis": "requirements-analysis";
|
|
675
|
+
"product-spec": "product-spec";
|
|
676
|
+
architecture: "architecture";
|
|
677
|
+
"system-design": "system-design";
|
|
678
|
+
"api-design": "api-design";
|
|
679
|
+
"data-modelling": "data-modelling";
|
|
680
|
+
"threat-model": "threat-model";
|
|
681
|
+
"design-system": "design-system";
|
|
682
|
+
"issue-planning": "issue-planning";
|
|
683
|
+
"implement-ticket": "implement-ticket";
|
|
684
|
+
"code-review": "code-review";
|
|
685
|
+
"security-review": "security-review";
|
|
686
|
+
"contract-check": "contract-check";
|
|
687
|
+
"accessibility-review": "accessibility-review";
|
|
688
|
+
"design-review": "design-review";
|
|
689
|
+
"performance-review": "performance-review";
|
|
690
|
+
"reliability-review": "reliability-review";
|
|
691
|
+
"data-migration-review": "data-migration-review";
|
|
692
|
+
"dependency-review": "dependency-review";
|
|
693
|
+
"compliance-review": "compliance-review";
|
|
694
|
+
"test-strategy": "test-strategy";
|
|
695
|
+
"qa-acceptance": "qa-acceptance";
|
|
696
|
+
"ai-feature-review": "ai-feature-review";
|
|
697
|
+
"release-readiness": "release-readiness";
|
|
698
|
+
"infrastructure-review": "infrastructure-review";
|
|
699
|
+
"observability-review": "observability-review";
|
|
700
|
+
"incident-response": "incident-response";
|
|
701
|
+
documentation: "documentation";
|
|
702
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
703
|
+
}>>>;
|
|
704
|
+
skip: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
|
+
skill: z.ZodEnum<{
|
|
706
|
+
"requirements-analysis": "requirements-analysis";
|
|
707
|
+
"product-spec": "product-spec";
|
|
708
|
+
architecture: "architecture";
|
|
709
|
+
"system-design": "system-design";
|
|
710
|
+
"api-design": "api-design";
|
|
711
|
+
"data-modelling": "data-modelling";
|
|
712
|
+
"threat-model": "threat-model";
|
|
713
|
+
"design-system": "design-system";
|
|
714
|
+
"issue-planning": "issue-planning";
|
|
715
|
+
"implement-ticket": "implement-ticket";
|
|
716
|
+
"code-review": "code-review";
|
|
717
|
+
"security-review": "security-review";
|
|
718
|
+
"contract-check": "contract-check";
|
|
719
|
+
"accessibility-review": "accessibility-review";
|
|
720
|
+
"design-review": "design-review";
|
|
721
|
+
"performance-review": "performance-review";
|
|
722
|
+
"reliability-review": "reliability-review";
|
|
723
|
+
"data-migration-review": "data-migration-review";
|
|
724
|
+
"dependency-review": "dependency-review";
|
|
725
|
+
"compliance-review": "compliance-review";
|
|
726
|
+
"test-strategy": "test-strategy";
|
|
727
|
+
"qa-acceptance": "qa-acceptance";
|
|
728
|
+
"ai-feature-review": "ai-feature-review";
|
|
729
|
+
"release-readiness": "release-readiness";
|
|
730
|
+
"infrastructure-review": "infrastructure-review";
|
|
731
|
+
"observability-review": "observability-review";
|
|
732
|
+
"incident-response": "incident-response";
|
|
733
|
+
documentation: "documentation";
|
|
734
|
+
"tech-debt-triage": "tech-debt-triage";
|
|
735
|
+
}>;
|
|
736
|
+
reason: z.ZodString;
|
|
737
|
+
}, z.core.$strict>>>;
|
|
738
|
+
}, z.core.$strict>>;
|
|
739
|
+
}, z.core.$strict>>>>;
|
|
740
|
+
docs: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
741
|
+
dir: z.ZodOptional<z.ZodString>;
|
|
742
|
+
preserveStructure: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
backlog: z.ZodOptional<z.ZodString>;
|
|
744
|
+
}, z.core.$strict>>>;
|
|
745
|
+
}, z.core.$strict>;
|
|
746
|
+
export type PeerAiConfig = z.output<typeof ConfigSchema>;
|
|
747
|
+
/** Merges a project's config over a base: objects merge key by key, lists and values are replaced. */
|
|
748
|
+
export declare function mergeConfigs(base: unknown, own: unknown): unknown;
|
|
749
|
+
/** Resolves a chain of configs, base first, into one config ready to validate. */
|
|
750
|
+
export declare function resolveConfig(layers: unknown[]): unknown;
|