@captain_z/zsk 1.8.1 → 1.8.3
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/bin.js +184 -1
- package/dist/bin.js.map +1 -1
- package/dist/commands/check.js +259 -12
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/config.d.ts +11 -0
- package/dist/commands/config.js +132 -3
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/demo.js +2 -2
- package/dist/commands/demo.js.map +1 -1
- package/dist/commands/dispatch.d.ts +11 -0
- package/dist/commands/dispatch.js +69 -0
- package/dist/commands/dispatch.js.map +1 -0
- package/dist/commands/gate.d.ts +11 -0
- package/dist/commands/gate.js +50 -0
- package/dist/commands/gate.js.map +1 -0
- package/dist/commands/prep.d.ts +2 -4
- package/dist/commands/prep.js +1 -131
- package/dist/commands/prep.js.map +1 -1
- package/dist/commands/prepare.d.ts +17 -0
- package/dist/commands/prepare.js +259 -0
- package/dist/commands/prepare.js.map +1 -0
- package/dist/commands/project-init.d.ts +1 -0
- package/dist/commands/project-init.js +12 -10
- package/dist/commands/project-init.js.map +1 -1
- package/dist/commands/template.d.ts +2 -0
- package/dist/commands/template.js +34 -0
- package/dist/commands/template.js.map +1 -0
- package/dist/core/config.d.ts +85 -1
- package/dist/core/config.js +141 -7
- package/dist/core/config.js.map +1 -1
- package/dist/core/origin-detection.d.ts +10 -0
- package/dist/core/origin-detection.js +135 -0
- package/dist/core/origin-detection.js.map +1 -0
- package/dist/core/prepare-lifecycle.d.ts +54 -0
- package/dist/core/prepare-lifecycle.js +302 -0
- package/dist/core/prepare-lifecycle.js.map +1 -0
- package/dist/core/prepare-sync.d.ts +82 -0
- package/dist/core/prepare-sync.js +1514 -0
- package/dist/core/prepare-sync.js.map +1 -0
- package/dist/core/raw-manifest.d.ts +10 -0
- package/dist/core/raw-manifest.js +58 -4
- package/dist/core/raw-manifest.js.map +1 -1
- package/dist/core/source-draft.d.ts +14 -0
- package/dist/core/source-draft.js +251 -0
- package/dist/core/source-draft.js.map +1 -0
- package/dist/core/staffing-plan.d.ts +212 -0
- package/dist/core/staffing-plan.js +1238 -0
- package/dist/core/staffing-plan.js.map +1 -0
- package/dist/core/stage-quality.d.ts +64 -0
- package/dist/core/stage-quality.js +847 -0
- package/dist/core/stage-quality.js.map +1 -0
- package/dist/core/template-registry.d.ts +29 -0
- package/dist/core/template-registry.js +295 -0
- package/dist/core/template-registry.js.map +1 -0
- package/dist/core/workspace-layout.d.ts +3 -0
- package/dist/core/workspace-layout.js +14 -1
- package/dist/core/workspace-layout.js.map +1 -1
- package/package.json +2 -2
- package/schemas/zsk-config.schema.json +233 -196
- package/templates/module/frontend-module/design.md +86 -3
- package/templates/module/frontend-module/proposal.md +17 -0
- package/templates/module/frontend-module/spec.md +26 -0
- package/templates/module/frontend-module/tasks.md +53 -7
- package/templates/project-init/.zsk/config.yaml +8 -96
- package/templates/project-init/.zsk/docs/SYSTEM-SPEC.md +2 -0
- package/templates/project-init/.zsk/raws/index.md +11 -0
- package/templates/project-init/.zsk/raws/prepare/backend/index.md +4 -0
- package/templates/project-init/.zsk/raws/prepare/design/index.md +3 -0
- package/templates/project-init/.zsk/raws/prepare/index.md +4 -0
- package/templates/project-init/.zsk/raws/prepare/product/index.md +4 -0
- package/templates/project-init/.zsk/raws/prepare/qa/index.md +4 -0
- package/templates/project-init/.zsk/raws/prepare/ux/index.md +3 -0
- package/templates/project-init/.zsk/roles.yaml +129 -0
- package/templates/project-init/.zsk/raws/backend/index.md +0 -3
- package/templates/project-init/.zsk/raws/jira/index.md +0 -3
- package/templates/project-init/.zsk/raws/manual/index.md +0 -3
- package/templates/project-init/.zsk/raws/product/index.md +0 -3
- package/templates/project-init/.zsk/raws/qa/index.md +0 -3
- package/templates/project-init/.zsk/raws/ue/index.md +0 -3
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"$id": "https://unpkg.com/@captain_z/zsk/schemas/zsk-config.schema.json",
|
|
4
4
|
"title": "ZSK Project Config",
|
|
5
|
-
|
|
5
|
+
"description": "Project-level configuration for ZSK raw source origins, template defaults, workspace paths, tools, and module index locations.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
|
-
"required": ["project", "
|
|
8
|
+
"required": ["project", "sources"],
|
|
9
9
|
"properties": {
|
|
10
10
|
"project": {
|
|
11
11
|
"description": "Project identity used in generated docs and resource manifests.",
|
|
@@ -33,19 +33,87 @@
|
|
|
33
33
|
"type": "integer",
|
|
34
34
|
"minimum": 2
|
|
35
35
|
},
|
|
36
|
-
"
|
|
37
|
-
"description": "
|
|
38
|
-
"
|
|
39
|
-
"additionalProperties": false,
|
|
40
|
-
"required": ["docs", "modules", "issues", "evidence", "playwright"],
|
|
41
|
-
"anyOf": [
|
|
36
|
+
"template": {
|
|
37
|
+
"description": "Template preset used to resolve omitted defaults. The default init template is founder-os.",
|
|
38
|
+
"oneOf": [
|
|
42
39
|
{
|
|
43
|
-
"
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
44
42
|
},
|
|
45
43
|
{
|
|
46
|
-
"
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": ["id"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"id": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1
|
|
51
|
+
},
|
|
52
|
+
"version": {
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"minimum": 1
|
|
55
|
+
},
|
|
56
|
+
"metadata": {
|
|
57
|
+
"$ref": "#/$defs/metadata"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
47
60
|
}
|
|
48
|
-
]
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"mode": {
|
|
64
|
+
"description": "Template-specific operating mode. Keep as a string so projects can define their own modes without schema churn.",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1
|
|
67
|
+
},
|
|
68
|
+
"scale": {
|
|
69
|
+
"description": "Template-specific project/team scale. Keep as a string so projects can define their own scales without schema churn.",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1
|
|
72
|
+
},
|
|
73
|
+
"workflow": {
|
|
74
|
+
"description": "Optional explicit workflow profile selection. Detailed workflow rules can be ejected into .zsk/workflow.yaml.",
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"properties": {
|
|
78
|
+
"profile": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1
|
|
81
|
+
},
|
|
82
|
+
"metadata": {
|
|
83
|
+
"$ref": "#/$defs/metadata"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"gates": {
|
|
88
|
+
"description": "Optional project-level quality gate policy. Omit to use template defaults; configure only when the project needs custom thresholds.",
|
|
89
|
+
"$ref": "#/$defs/gatesConfig"
|
|
90
|
+
},
|
|
91
|
+
"customize": {
|
|
92
|
+
"description": "Compact pointers to ejected project-local customization files.",
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": true,
|
|
95
|
+
"properties": {
|
|
96
|
+
"roles": {
|
|
97
|
+
"$ref": "#/$defs/pathRef"
|
|
98
|
+
},
|
|
99
|
+
"workflow": {
|
|
100
|
+
"$ref": "#/$defs/pathRef"
|
|
101
|
+
},
|
|
102
|
+
"providers": {
|
|
103
|
+
"$ref": "#/$defs/pathRef"
|
|
104
|
+
},
|
|
105
|
+
"gates": {
|
|
106
|
+
"$ref": "#/$defs/pathRef"
|
|
107
|
+
},
|
|
108
|
+
"metadata": {
|
|
109
|
+
"$ref": "#/$defs/metadata"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"paths": {
|
|
114
|
+
"description": "Top-level project knowledge workspace paths.",
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
49
117
|
"properties": {
|
|
50
118
|
"docs": {
|
|
51
119
|
"$ref": "#/$defs/pathRef"
|
|
@@ -70,16 +138,19 @@
|
|
|
70
138
|
"playwright": {
|
|
71
139
|
"$ref": "#/$defs/pathRef"
|
|
72
140
|
},
|
|
141
|
+
"plans": {
|
|
142
|
+
"$ref": "#/$defs/pathRef"
|
|
143
|
+
},
|
|
73
144
|
"metadata": {
|
|
74
145
|
"$ref": "#/$defs/metadata"
|
|
75
146
|
}
|
|
76
147
|
}
|
|
77
148
|
},
|
|
78
149
|
"sources": {
|
|
79
|
-
"description": "Project-level raw source origins.
|
|
150
|
+
"description": "Project-level raw source origins. Keep this concise: configure source roots or provider entry points, then let prepare materialize snapshots and indexes under paths.raws.",
|
|
80
151
|
"type": "object",
|
|
81
152
|
"additionalProperties": {
|
|
82
|
-
"$ref": "#/$defs/
|
|
153
|
+
"$ref": "#/$defs/sourceTree"
|
|
83
154
|
},
|
|
84
155
|
"properties": {
|
|
85
156
|
"metadata": {
|
|
@@ -91,7 +162,6 @@
|
|
|
91
162
|
"description": "Preferred AI/tool capabilities for project-level workflows.",
|
|
92
163
|
"type": "object",
|
|
93
164
|
"additionalProperties": false,
|
|
94
|
-
"required": ["runtime_ui", "design"],
|
|
95
165
|
"properties": {
|
|
96
166
|
"runtime_ui": {
|
|
97
167
|
"description": "Preferred tools for runtime UI verification.",
|
|
@@ -118,7 +188,6 @@
|
|
|
118
188
|
"description": "Module discovery and module config locations.",
|
|
119
189
|
"type": "object",
|
|
120
190
|
"additionalProperties": false,
|
|
121
|
-
"required": ["index", "root"],
|
|
122
191
|
"properties": {
|
|
123
192
|
"index": {
|
|
124
193
|
"$ref": "#/$defs/pathRef"
|
|
@@ -230,6 +299,10 @@
|
|
|
230
299
|
}
|
|
231
300
|
}
|
|
232
301
|
},
|
|
302
|
+
"staffing": {
|
|
303
|
+
"description": "Project-local role pool used by dispatch/staffing. Keep config.yaml concise by pointing rolePool at a .zsk YAML file, or define small inline overrides under roles.",
|
|
304
|
+
"$ref": "#/$defs/staffingConfig"
|
|
305
|
+
},
|
|
233
306
|
"sync": {
|
|
234
307
|
"description": "Optional deterministic or AI-assisted raw source sync configuration.",
|
|
235
308
|
"type": "object",
|
|
@@ -248,9 +321,9 @@
|
|
|
248
321
|
"minLength": 1
|
|
249
322
|
},
|
|
250
323
|
"toolName": {
|
|
251
|
-
"description": "
|
|
324
|
+
"description": "Project-specific tool or capability name. ZSK does not restrict this to a fixed platform list.",
|
|
252
325
|
"type": "string",
|
|
253
|
-
"
|
|
326
|
+
"minLength": 1
|
|
254
327
|
},
|
|
255
328
|
"commandStage": {
|
|
256
329
|
"description": "Automation command list for a workflow stage.",
|
|
@@ -274,12 +347,12 @@
|
|
|
274
347
|
}
|
|
275
348
|
},
|
|
276
349
|
"sourceType": {
|
|
277
|
-
"description": "Raw source role.",
|
|
350
|
+
"description": "Raw source role. Common examples include srs, prd, design, api_contract, backend_repo, test_case, design_asset, vendor_doc, and manual, but projects may define their own roles.",
|
|
278
351
|
"type": "string",
|
|
279
|
-
"
|
|
352
|
+
"minLength": 1
|
|
280
353
|
},
|
|
281
354
|
"sourceRef": {
|
|
282
|
-
"description": "Raw source reference.",
|
|
355
|
+
"description": "Raw source reference. `snapshot` is optional; when omitted, ZSK derives paths.raws/<source-path>/source.md and maintains index.md files in the raw source directories.",
|
|
283
356
|
"type": "object",
|
|
284
357
|
"additionalProperties": false,
|
|
285
358
|
"required": ["type", "origin"],
|
|
@@ -291,6 +364,7 @@
|
|
|
291
364
|
"$ref": "#/$defs/originRef"
|
|
292
365
|
},
|
|
293
366
|
"snapshot": {
|
|
367
|
+
"description": "Optional explicit materialized snapshot path. Omit this for entry-point sources such as a Figma file, Confluence space, repository, or issue query.",
|
|
294
368
|
"$ref": "#/$defs/pathRef"
|
|
295
369
|
},
|
|
296
370
|
"metadata": {
|
|
@@ -298,84 +372,64 @@
|
|
|
298
372
|
}
|
|
299
373
|
}
|
|
300
374
|
},
|
|
301
|
-
"
|
|
302
|
-
"description": "
|
|
375
|
+
"sourceTree": {
|
|
376
|
+
"description": "A raw source reference or a grouping object whose keys mirror .zsk/raws/prepare responsibility lanes.",
|
|
303
377
|
"oneOf": [
|
|
304
378
|
{
|
|
305
|
-
"$ref": "#/$defs/
|
|
379
|
+
"$ref": "#/$defs/sourceRef"
|
|
306
380
|
},
|
|
307
381
|
{
|
|
308
|
-
"$ref": "#/$defs/
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"$ref": "#/$defs/gitOrigin"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"$ref": "#/$defs/figmaOrigin"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"$ref": "#/$defs/modaoOrigin"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"$ref": "#/$defs/designOrigin"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"$ref": "#/$defs/openapiOrigin"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"$ref": "#/$defs/jiraOrigin"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"$ref": "#/$defs/srsOrigin"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"$ref": "#/$defs/manualOrigin"
|
|
382
|
+
"$ref": "#/$defs/sourceGroup"
|
|
333
383
|
}
|
|
334
384
|
]
|
|
335
385
|
},
|
|
336
|
-
"
|
|
386
|
+
"sourceGroup": {
|
|
387
|
+
"description": "Nested source grouping object.",
|
|
337
388
|
"type": "object",
|
|
338
|
-
"additionalProperties":
|
|
339
|
-
|
|
389
|
+
"additionalProperties": {
|
|
390
|
+
"$ref": "#/$defs/sourceTree"
|
|
391
|
+
},
|
|
340
392
|
"properties": {
|
|
341
|
-
"kind": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"const": "url"
|
|
344
|
-
},
|
|
345
|
-
"url": {
|
|
346
|
-
"type": "string",
|
|
347
|
-
"minLength": 1
|
|
348
|
-
},
|
|
349
393
|
"metadata": {
|
|
350
394
|
"$ref": "#/$defs/metadata"
|
|
351
395
|
}
|
|
352
396
|
}
|
|
353
397
|
},
|
|
354
|
-
"
|
|
398
|
+
"originRef": {
|
|
399
|
+
"description": "Generic online, local, or provider-managed source origin. `kind` names the acquisition mode, while fields such as provider, path, url, repository, query, jql, id, ref, and note are intentionally extensible.",
|
|
355
400
|
"type": "object",
|
|
356
|
-
"additionalProperties":
|
|
357
|
-
"required": ["kind"
|
|
401
|
+
"additionalProperties": true,
|
|
402
|
+
"required": ["kind"],
|
|
358
403
|
"properties": {
|
|
359
404
|
"kind": {
|
|
360
405
|
"type": "string",
|
|
361
|
-
"
|
|
406
|
+
"minLength": 1
|
|
407
|
+
},
|
|
408
|
+
"provider": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"minLength": 1
|
|
362
411
|
},
|
|
363
412
|
"path": {
|
|
364
413
|
"$ref": "#/$defs/pathRef"
|
|
365
414
|
},
|
|
366
|
-
"
|
|
367
|
-
"$ref": "#/$defs/
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
415
|
+
"csvPath": {
|
|
416
|
+
"$ref": "#/$defs/pathRef"
|
|
417
|
+
},
|
|
418
|
+
"csv": {
|
|
419
|
+
"$ref": "#/$defs/pathRef"
|
|
420
|
+
},
|
|
421
|
+
"exportPath": {
|
|
422
|
+
"$ref": "#/$defs/pathRef"
|
|
423
|
+
},
|
|
424
|
+
"assetPath": {
|
|
425
|
+
"$ref": "#/$defs/pathRef"
|
|
426
|
+
},
|
|
427
|
+
"filePath": {
|
|
428
|
+
"$ref": "#/$defs/pathRef"
|
|
429
|
+
},
|
|
430
|
+
"url": {
|
|
377
431
|
"type": "string",
|
|
378
|
-
"
|
|
432
|
+
"minLength": 1
|
|
379
433
|
},
|
|
380
434
|
"repository": {
|
|
381
435
|
"type": "string",
|
|
@@ -385,32 +439,19 @@
|
|
|
385
439
|
"type": "string",
|
|
386
440
|
"minLength": 1
|
|
387
441
|
},
|
|
388
|
-
"
|
|
389
|
-
"$ref": "#/$defs/pathRef"
|
|
390
|
-
},
|
|
391
|
-
"metadata": {
|
|
392
|
-
"$ref": "#/$defs/metadata"
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
"figmaOrigin": {
|
|
397
|
-
"type": "object",
|
|
398
|
-
"additionalProperties": false,
|
|
399
|
-
"required": ["kind", "url"],
|
|
400
|
-
"properties": {
|
|
401
|
-
"kind": {
|
|
442
|
+
"query": {
|
|
402
443
|
"type": "string",
|
|
403
|
-
"
|
|
444
|
+
"minLength": 1
|
|
404
445
|
},
|
|
405
|
-
"
|
|
446
|
+
"jql": {
|
|
406
447
|
"type": "string",
|
|
407
448
|
"minLength": 1
|
|
408
449
|
},
|
|
409
|
-
"
|
|
450
|
+
"id": {
|
|
410
451
|
"type": "string",
|
|
411
452
|
"minLength": 1
|
|
412
453
|
},
|
|
413
|
-
"
|
|
454
|
+
"note": {
|
|
414
455
|
"type": "string",
|
|
415
456
|
"minLength": 1
|
|
416
457
|
},
|
|
@@ -419,157 +460,145 @@
|
|
|
419
460
|
}
|
|
420
461
|
}
|
|
421
462
|
},
|
|
422
|
-
"
|
|
463
|
+
"staffingConfig": {
|
|
423
464
|
"type": "object",
|
|
424
465
|
"additionalProperties": false,
|
|
425
|
-
"required": ["kind", "url"],
|
|
426
466
|
"properties": {
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"const": "modao"
|
|
467
|
+
"rolePool": {
|
|
468
|
+
"$ref": "#/$defs/pathRef"
|
|
430
469
|
},
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
|
|
470
|
+
"timeoutPolicy": {
|
|
471
|
+
"$ref": "#/$defs/staffingTimeoutPolicy"
|
|
472
|
+
},
|
|
473
|
+
"roles": {
|
|
474
|
+
"$ref": "#/$defs/rolePoolRoles"
|
|
434
475
|
},
|
|
435
476
|
"metadata": {
|
|
436
477
|
"$ref": "#/$defs/metadata"
|
|
437
478
|
}
|
|
438
479
|
}
|
|
439
480
|
},
|
|
440
|
-
"
|
|
481
|
+
"gatesConfig": {
|
|
441
482
|
"type": "object",
|
|
442
483
|
"additionalProperties": false,
|
|
443
|
-
"required": ["kind", "provider"],
|
|
444
484
|
"properties": {
|
|
445
|
-
"
|
|
446
|
-
"type": "
|
|
447
|
-
"
|
|
448
|
-
|
|
449
|
-
"provider": {
|
|
450
|
-
"type": "string",
|
|
451
|
-
"minLength": 1
|
|
452
|
-
},
|
|
453
|
-
"url": {
|
|
454
|
-
"type": "string",
|
|
455
|
-
"minLength": 1
|
|
456
|
-
},
|
|
457
|
-
"path": {
|
|
458
|
-
"$ref": "#/$defs/pathRef"
|
|
485
|
+
"defaultThreshold": {
|
|
486
|
+
"type": "number",
|
|
487
|
+
"minimum": 0,
|
|
488
|
+
"maximum": 10
|
|
459
489
|
},
|
|
460
|
-
"
|
|
461
|
-
"type": "
|
|
462
|
-
"
|
|
490
|
+
"thresholds": {
|
|
491
|
+
"type": "object",
|
|
492
|
+
"additionalProperties": {
|
|
493
|
+
"type": "number",
|
|
494
|
+
"minimum": 0,
|
|
495
|
+
"maximum": 10
|
|
496
|
+
}
|
|
463
497
|
},
|
|
464
498
|
"metadata": {
|
|
465
499
|
"$ref": "#/$defs/metadata"
|
|
466
500
|
}
|
|
467
501
|
}
|
|
468
502
|
},
|
|
469
|
-
"
|
|
503
|
+
"staffingTimeoutPolicy": {
|
|
470
504
|
"type": "object",
|
|
471
505
|
"additionalProperties": false,
|
|
472
|
-
"required": ["kind"],
|
|
473
506
|
"properties": {
|
|
474
|
-
"
|
|
475
|
-
"type": "
|
|
476
|
-
"
|
|
507
|
+
"heartbeatIntervalMs": {
|
|
508
|
+
"type": "integer",
|
|
509
|
+
"minimum": 1000
|
|
477
510
|
},
|
|
478
|
-
"
|
|
479
|
-
"type": "
|
|
480
|
-
"
|
|
511
|
+
"staleAfterMs": {
|
|
512
|
+
"type": "integer",
|
|
513
|
+
"minimum": 1000
|
|
481
514
|
},
|
|
482
|
-
"
|
|
483
|
-
"
|
|
515
|
+
"maxAttempts": {
|
|
516
|
+
"type": "integer",
|
|
517
|
+
"minimum": 1
|
|
518
|
+
},
|
|
519
|
+
"onTimeout": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"enum": ["fallback-to-leader-sequential"]
|
|
484
522
|
},
|
|
485
523
|
"metadata": {
|
|
486
524
|
"$ref": "#/$defs/metadata"
|
|
487
525
|
}
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
}
|
|
496
|
-
]
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"rolePoolRoles": {
|
|
529
|
+
"type": "object",
|
|
530
|
+
"additionalProperties": {
|
|
531
|
+
"$ref": "#/$defs/rolePoolRole"
|
|
532
|
+
}
|
|
497
533
|
},
|
|
498
|
-
"
|
|
534
|
+
"rolePoolRole": {
|
|
499
535
|
"type": "object",
|
|
500
536
|
"additionalProperties": false,
|
|
501
|
-
"required": ["kind"],
|
|
502
537
|
"properties": {
|
|
503
|
-
"
|
|
504
|
-
"type": "string",
|
|
505
|
-
"const": "jira"
|
|
506
|
-
},
|
|
507
|
-
"url": {
|
|
538
|
+
"subagentType": {
|
|
508
539
|
"type": "string",
|
|
509
540
|
"minLength": 1
|
|
510
541
|
},
|
|
511
|
-
"
|
|
512
|
-
"
|
|
542
|
+
"stages": {
|
|
543
|
+
"type": "array",
|
|
544
|
+
"items": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"minLength": 1
|
|
547
|
+
},
|
|
548
|
+
"uniqueItems": true
|
|
513
549
|
},
|
|
514
|
-
"
|
|
515
|
-
"type": "
|
|
516
|
-
"
|
|
550
|
+
"skills": {
|
|
551
|
+
"type": "array",
|
|
552
|
+
"items": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"minLength": 1
|
|
555
|
+
},
|
|
556
|
+
"uniqueItems": true
|
|
517
557
|
},
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
"
|
|
558
|
+
"lanes": {
|
|
559
|
+
"type": "array",
|
|
560
|
+
"items": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"minLength": 1
|
|
563
|
+
},
|
|
564
|
+
"uniqueItems": true
|
|
525
565
|
},
|
|
526
|
-
{
|
|
527
|
-
"
|
|
566
|
+
"required": {
|
|
567
|
+
"type": "boolean"
|
|
528
568
|
},
|
|
529
|
-
{
|
|
530
|
-
"
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
},
|
|
534
|
-
"srsOrigin": {
|
|
535
|
-
"type": "object",
|
|
536
|
-
"additionalProperties": false,
|
|
537
|
-
"required": ["kind"],
|
|
538
|
-
"properties": {
|
|
539
|
-
"kind": {
|
|
569
|
+
"remoteSources": {
|
|
570
|
+
"type": "boolean"
|
|
571
|
+
},
|
|
572
|
+
"activation": {
|
|
540
573
|
"type": "string",
|
|
541
|
-
"
|
|
574
|
+
"minLength": 1
|
|
542
575
|
},
|
|
543
|
-
"
|
|
576
|
+
"reason": {
|
|
544
577
|
"type": "string",
|
|
545
578
|
"minLength": 1
|
|
546
579
|
},
|
|
547
|
-
"
|
|
548
|
-
"$ref": "#/$defs/
|
|
580
|
+
"owns": {
|
|
581
|
+
"$ref": "#/$defs/stringList"
|
|
549
582
|
},
|
|
550
|
-
"
|
|
551
|
-
"$ref": "#/$defs/
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
"anyOf": [
|
|
555
|
-
{
|
|
556
|
-
"required": ["url"]
|
|
583
|
+
"doesNotOwn": {
|
|
584
|
+
"$ref": "#/$defs/stringList"
|
|
557
585
|
},
|
|
558
|
-
{
|
|
559
|
-
"
|
|
560
|
-
}
|
|
561
|
-
]
|
|
562
|
-
},
|
|
563
|
-
"manualOrigin": {
|
|
564
|
-
"type": "object",
|
|
565
|
-
"additionalProperties": false,
|
|
566
|
-
"required": ["kind", "note"],
|
|
567
|
-
"properties": {
|
|
568
|
-
"kind": {
|
|
569
|
-
"type": "string",
|
|
570
|
-
"const": "manual"
|
|
586
|
+
"inputs": {
|
|
587
|
+
"$ref": "#/$defs/stringList"
|
|
571
588
|
},
|
|
572
|
-
"
|
|
589
|
+
"writeScope": {
|
|
590
|
+
"$ref": "#/$defs/stringList"
|
|
591
|
+
},
|
|
592
|
+
"outputs": {
|
|
593
|
+
"$ref": "#/$defs/stringList"
|
|
594
|
+
},
|
|
595
|
+
"evidenceRequired": {
|
|
596
|
+
"$ref": "#/$defs/stringList"
|
|
597
|
+
},
|
|
598
|
+
"forbiddenDecisions": {
|
|
599
|
+
"$ref": "#/$defs/stringList"
|
|
600
|
+
},
|
|
601
|
+
"stopCondition": {
|
|
573
602
|
"type": "string",
|
|
574
603
|
"minLength": 1
|
|
575
604
|
},
|
|
@@ -578,6 +607,14 @@
|
|
|
578
607
|
}
|
|
579
608
|
}
|
|
580
609
|
},
|
|
610
|
+
"stringList": {
|
|
611
|
+
"type": "array",
|
|
612
|
+
"items": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"minLength": 1
|
|
615
|
+
},
|
|
616
|
+
"uniqueItems": true
|
|
617
|
+
},
|
|
581
618
|
"scriptSync": {
|
|
582
619
|
"description": "Resource produced by a deterministic script command.",
|
|
583
620
|
"type": "object",
|