workspai 0.44.0 → 0.45.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.
Files changed (59) hide show
  1. package/README.md +5 -1
  2. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +1368 -0
  3. package/contracts/command-capabilities.v1.json +166 -1
  4. package/contracts/extension-cli-compatibility.v1.json +2 -1
  5. package/contracts/published-contract-catalog.v1.json +5 -0
  6. package/contracts/runtime-command-surface.v1.json +1441 -1
  7. package/dist/analyze-YLV7NVLF.js +1 -0
  8. package/dist/{artifact-remediation-plan-Z7OCSME3.js → artifact-remediation-plan-WLZGROUU.js} +1 -1
  9. package/dist/autopilot-release-YBN3SWAA.js +1 -0
  10. package/dist/{chunk-UNF72FTB.js → chunk-42G2OK64.js} +1 -1
  11. package/dist/{chunk-CL6TGI4Q.js → chunk-5GNT4RJI.js} +1 -1
  12. package/dist/chunk-6AA3WWQZ.js +2 -0
  13. package/dist/{chunk-P4SWTY5X.js → chunk-6ZENXBMG.js} +1 -1
  14. package/dist/{chunk-LGP6WXS2.js → chunk-BJLE5CH7.js} +1 -1
  15. package/dist/{chunk-OW4UNG27.js → chunk-DXPU4DDV.js} +1 -1
  16. package/dist/{chunk-7EIMPQR3.js → chunk-G3H5R3RR.js} +1 -1
  17. package/dist/{chunk-JICOD2GI.js → chunk-HYJK7W3B.js} +1 -1
  18. package/dist/{chunk-TRMDODFM.js → chunk-IMUU5Q2V.js} +1 -1
  19. package/dist/{chunk-M4VITK6X.js → chunk-K63BSU56.js} +2 -2
  20. package/dist/{chunk-YUX4YFGL.js → chunk-KPPGZCUW.js} +1 -1
  21. package/dist/{chunk-B66A4TVP.js → chunk-KU4S7RCM.js} +1 -1
  22. package/dist/{chunk-V5JN4TDX.js → chunk-LCRROMRR.js} +1 -1
  23. package/dist/{chunk-JHC6SCJC.js → chunk-NHN4QXPP.js} +1 -1
  24. package/dist/{chunk-7IHLTPZ6.js → chunk-OOOPYUL2.js} +1 -1
  25. package/dist/{chunk-L3E6IRUQ.js → chunk-P7SCWJFG.js} +1 -1
  26. package/dist/{chunk-2QN6BMM7.js → chunk-QWU2CZBG.js} +1 -1
  27. package/dist/{chunk-L2Q7B2OJ.js → chunk-V2H2KRMZ.js} +1 -1
  28. package/dist/{chunk-NTXO7BMH.js → chunk-WANW4QA4.js} +1 -1
  29. package/dist/{chunk-VA5MRHKM.js → chunk-ZWO6K24C.js} +1 -1
  30. package/dist/{create-DFAWAS5C.js → create-KFR6FLRT.js} +1 -1
  31. package/dist/{doctor-PVSWDBJL.js → doctor-YJDM5XBH.js} +1 -1
  32. package/dist/index.d.ts +37 -4
  33. package/dist/index.js +180 -169
  34. package/dist/pipeline-FEDYO3IA.js +5 -0
  35. package/dist/{workspace-FQT3QIRS.js → workspace-PLXOO6ST.js} +1 -1
  36. package/dist/{workspace-agent-sync-ZYCPXTU3.js → workspace-agent-sync-G5YVI3BJ.js} +1 -1
  37. package/dist/{workspace-context-WAGGJCDL.js → workspace-context-E3UFWL5X.js} +1 -1
  38. package/dist/{workspace-contract-SEI4SNSG.js → workspace-contract-LQJDZV36.js} +1 -1
  39. package/dist/workspace-explain-G74ZIF23.js +1 -0
  40. package/dist/{workspace-feedback-RCB25NFO.js → workspace-feedback-YY6WQPWQ.js} +1 -1
  41. package/dist/{workspace-foundation-KXDL6P6X.js → workspace-foundation-3C2DLCVI.js} +1 -1
  42. package/dist/{workspace-history-M4QQBIPB.js → workspace-history-VF3CHDYQ.js} +1 -1
  43. package/dist/{workspace-intelligence-QOGD2TZS.js → workspace-intelligence-3GG7GEDQ.js} +1 -1
  44. package/dist/{workspace-mcp-serve-CEFKEMYG.js → workspace-mcp-serve-MJMUV4RY.js} +1 -1
  45. package/dist/{workspace-model-GMSRBICO.js → workspace-model-NG45SRM5.js} +1 -1
  46. package/dist/{workspace-registry-summary-S52SEJAG.js → workspace-registry-summary-JM2XY52C.js} +1 -1
  47. package/dist/workspace-run-WEQYIERE.js +1 -0
  48. package/dist/{workspace-verify-NP4GMFSV.js → workspace-verify-ZNT6JX7D.js} +1 -1
  49. package/dist/{workspace-watch-IIBH3Y25.js → workspace-watch-W47T4RX2.js} +1 -1
  50. package/docs/commands-reference.md +14 -1
  51. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +27 -6
  52. package/package.json +2 -1
  53. package/scripts/prepack-enterprise.mjs +4 -0
  54. package/dist/analyze-6OCBM4ID.js +0 -1
  55. package/dist/autopilot-release-LI2WJCEW.js +0 -1
  56. package/dist/chunk-FWJV7CCI.js +0 -2
  57. package/dist/pipeline-ND734AJM.js +0 -5
  58. package/dist/workspace-explain-MVGGRCDN.js +0 -1
  59. package/dist/workspace-run-VC4OUPRF.js +0 -1
@@ -0,0 +1,1368 @@
1
+ {
2
+ "schemaVersion": "workspai-cli-runtime-command-inventory-v1",
3
+ "commands": [
4
+ {
5
+ "path": [
6
+ "adopt"
7
+ ],
8
+ "command": "adopt",
9
+ "parent": null,
10
+ "registrationKind": "commander",
11
+ "aliases": [],
12
+ "description": "Adopt an existing local project into a Workspai workspace without moving or copying source",
13
+ "hidden": false,
14
+ "arguments": [
15
+ {
16
+ "name": "source",
17
+ "required": false,
18
+ "variadic": false
19
+ }
20
+ ],
21
+ "options": [
22
+ {
23
+ "flags": "--workspace <path>",
24
+ "attributeName": "workspace"
25
+ },
26
+ {
27
+ "flags": "--name <projectName>",
28
+ "attributeName": "name"
29
+ },
30
+ {
31
+ "flags": "--enable-modules",
32
+ "attributeName": "enableModules"
33
+ },
34
+ {
35
+ "flags": "--dry-run",
36
+ "attributeName": "dryRun"
37
+ },
38
+ {
39
+ "flags": "--json",
40
+ "attributeName": "json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "path": [
46
+ "ai"
47
+ ],
48
+ "command": "ai",
49
+ "parent": null,
50
+ "registrationKind": "commander",
51
+ "aliases": [],
52
+ "description": "AI-powered features",
53
+ "hidden": false,
54
+ "arguments": [],
55
+ "options": []
56
+ },
57
+ {
58
+ "path": [
59
+ "ai",
60
+ "generate-embeddings"
61
+ ],
62
+ "command": "generate-embeddings",
63
+ "parent": "ai",
64
+ "registrationKind": "commander",
65
+ "aliases": [],
66
+ "description": "Generate AI embeddings for all modules (one-time setup)",
67
+ "hidden": false,
68
+ "arguments": [],
69
+ "options": [
70
+ {
71
+ "flags": "--force",
72
+ "attributeName": "force"
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ "path": [
78
+ "ai",
79
+ "info"
80
+ ],
81
+ "command": "info",
82
+ "parent": "ai",
83
+ "registrationKind": "commander",
84
+ "aliases": [],
85
+ "description": "Show AI features information",
86
+ "hidden": false,
87
+ "arguments": [],
88
+ "options": []
89
+ },
90
+ {
91
+ "path": [
92
+ "ai",
93
+ "recommend"
94
+ ],
95
+ "command": "recommend",
96
+ "parent": "ai",
97
+ "registrationKind": "commander",
98
+ "aliases": [],
99
+ "description": "Get AI-powered module recommendations",
100
+ "hidden": false,
101
+ "arguments": [
102
+ {
103
+ "name": "query",
104
+ "required": false,
105
+ "variadic": false
106
+ }
107
+ ],
108
+ "options": [
109
+ {
110
+ "flags": "-n, --number <count>",
111
+ "attributeName": "number"
112
+ },
113
+ {
114
+ "flags": "--json",
115
+ "attributeName": "json"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "path": [
121
+ "ai",
122
+ "update-embeddings"
123
+ ],
124
+ "command": "update-embeddings",
125
+ "parent": "ai",
126
+ "registrationKind": "commander",
127
+ "aliases": [],
128
+ "description": "Update existing embeddings with latest modules",
129
+ "hidden": false,
130
+ "arguments": [],
131
+ "options": []
132
+ },
133
+ {
134
+ "path": [
135
+ "analyze"
136
+ ],
137
+ "command": "analyze",
138
+ "parent": null,
139
+ "registrationKind": "commander",
140
+ "aliases": [],
141
+ "description": "Analyze workspace/project health and generate enterprise-ready evidence",
142
+ "hidden": false,
143
+ "arguments": [],
144
+ "options": [
145
+ {
146
+ "flags": "--workspace <path>",
147
+ "attributeName": "workspace"
148
+ },
149
+ {
150
+ "flags": "--json",
151
+ "attributeName": "json"
152
+ },
153
+ {
154
+ "flags": "--output <file>",
155
+ "attributeName": "output"
156
+ },
157
+ {
158
+ "flags": "--strict",
159
+ "attributeName": "strict"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "path": [
165
+ "autopilot"
166
+ ],
167
+ "command": "autopilot",
168
+ "parent": null,
169
+ "registrationKind": "commander",
170
+ "aliases": [],
171
+ "description": "Run end-to-end release autopilot workflows",
172
+ "hidden": false,
173
+ "arguments": [
174
+ {
175
+ "name": "action",
176
+ "required": true,
177
+ "variadic": false
178
+ }
179
+ ],
180
+ "options": [
181
+ {
182
+ "flags": "--mode <mode>",
183
+ "attributeName": "mode"
184
+ },
185
+ {
186
+ "flags": "--json",
187
+ "attributeName": "json"
188
+ },
189
+ {
190
+ "flags": "--output <file>",
191
+ "attributeName": "output"
192
+ },
193
+ {
194
+ "flags": "--since <ref>",
195
+ "attributeName": "since"
196
+ },
197
+ {
198
+ "flags": "--parallel",
199
+ "attributeName": "parallel"
200
+ },
201
+ {
202
+ "flags": "--max-workers <count>",
203
+ "attributeName": "maxWorkers"
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "path": [
209
+ "bootstrap"
210
+ ],
211
+ "command": "bootstrap",
212
+ "parent": null,
213
+ "registrationKind": "manual-handler",
214
+ "aliases": [],
215
+ "description": "Bootstrap project or workspace dependencies through runtime-aware setup rules.",
216
+ "hidden": false,
217
+ "arguments": [],
218
+ "options": []
219
+ },
220
+ {
221
+ "path": [
222
+ "cache"
223
+ ],
224
+ "command": "cache",
225
+ "parent": null,
226
+ "registrationKind": "manual-handler",
227
+ "aliases": [],
228
+ "description": "Inspect or clear Workspai cache state through the managed cache boundary.",
229
+ "hidden": false,
230
+ "arguments": [],
231
+ "options": []
232
+ },
233
+ {
234
+ "path": [
235
+ "commands"
236
+ ],
237
+ "command": "commands",
238
+ "parent": null,
239
+ "registrationKind": "commander",
240
+ "aliases": [],
241
+ "description": "Show effective Workspai command ownership and runtime support",
242
+ "hidden": false,
243
+ "arguments": [],
244
+ "options": [
245
+ {
246
+ "flags": "--json",
247
+ "attributeName": "json"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "path": [
253
+ "config"
254
+ ],
255
+ "command": "config",
256
+ "parent": null,
257
+ "registrationKind": "commander",
258
+ "aliases": [],
259
+ "description": "Configure Workspai settings",
260
+ "hidden": false,
261
+ "arguments": [],
262
+ "options": []
263
+ },
264
+ {
265
+ "path": [
266
+ "config",
267
+ "ai"
268
+ ],
269
+ "command": "ai",
270
+ "parent": "config",
271
+ "registrationKind": "commander",
272
+ "aliases": [],
273
+ "description": "Enable or disable AI features (enable|disable)",
274
+ "hidden": false,
275
+ "arguments": [
276
+ {
277
+ "name": "action",
278
+ "required": true,
279
+ "variadic": false
280
+ }
281
+ ],
282
+ "options": []
283
+ },
284
+ {
285
+ "path": [
286
+ "config",
287
+ "remove-api-key"
288
+ ],
289
+ "command": "remove-api-key",
290
+ "parent": "config",
291
+ "registrationKind": "commander",
292
+ "aliases": [],
293
+ "description": "Remove stored OpenAI API key",
294
+ "hidden": false,
295
+ "arguments": [],
296
+ "options": [
297
+ {
298
+ "flags": "--yes",
299
+ "attributeName": "yes"
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "path": [
305
+ "config",
306
+ "set-api-key"
307
+ ],
308
+ "command": "set-api-key",
309
+ "parent": "config",
310
+ "registrationKind": "commander",
311
+ "aliases": [],
312
+ "description": "Set OpenAI API key for AI features",
313
+ "hidden": false,
314
+ "arguments": [],
315
+ "options": [
316
+ {
317
+ "flags": "--key <key>",
318
+ "attributeName": "key"
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "path": [
324
+ "config",
325
+ "show"
326
+ ],
327
+ "command": "show",
328
+ "parent": "config",
329
+ "registrationKind": "commander",
330
+ "aliases": [],
331
+ "description": "Show current configuration",
332
+ "hidden": false,
333
+ "arguments": [],
334
+ "options": []
335
+ },
336
+ {
337
+ "path": [
338
+ "create"
339
+ ],
340
+ "command": "create",
341
+ "parent": null,
342
+ "registrationKind": "manual-handler",
343
+ "aliases": [],
344
+ "description": "Create a supported workspace or project through the canonical planner boundary.",
345
+ "hidden": false,
346
+ "arguments": [],
347
+ "options": []
348
+ },
349
+ {
350
+ "path": [
351
+ "doctor"
352
+ ],
353
+ "command": "doctor",
354
+ "parent": null,
355
+ "registrationKind": "commander",
356
+ "aliases": [],
357
+ "description": "🩺 Check Workspai system health by default; use workspace or project for scoped checks",
358
+ "hidden": false,
359
+ "arguments": [
360
+ {
361
+ "name": "scope",
362
+ "required": false,
363
+ "variadic": false
364
+ }
365
+ ],
366
+ "options": [
367
+ {
368
+ "flags": "--workspace [path]",
369
+ "attributeName": "workspace"
370
+ },
371
+ {
372
+ "flags": "--project",
373
+ "attributeName": "project"
374
+ },
375
+ {
376
+ "flags": "--json",
377
+ "attributeName": "json"
378
+ },
379
+ {
380
+ "flags": "--strict",
381
+ "attributeName": "strict"
382
+ },
383
+ {
384
+ "flags": "--ci",
385
+ "attributeName": "ci"
386
+ },
387
+ {
388
+ "flags": "--profile <profile>",
389
+ "attributeName": "profile"
390
+ },
391
+ {
392
+ "flags": "--fix",
393
+ "attributeName": "fix"
394
+ },
395
+ {
396
+ "flags": "--plan",
397
+ "attributeName": "plan"
398
+ },
399
+ {
400
+ "flags": "--apply",
401
+ "attributeName": "apply"
402
+ }
403
+ ]
404
+ },
405
+ {
406
+ "path": [
407
+ "import"
408
+ ],
409
+ "command": "import",
410
+ "parent": null,
411
+ "registrationKind": "commander",
412
+ "aliases": [],
413
+ "description": "Import a local project folder or clone a git repository into the current workspace",
414
+ "hidden": false,
415
+ "arguments": [
416
+ {
417
+ "name": "source",
418
+ "required": true,
419
+ "variadic": false
420
+ }
421
+ ],
422
+ "options": [
423
+ {
424
+ "flags": "--workspace <path>",
425
+ "attributeName": "workspace"
426
+ },
427
+ {
428
+ "flags": "--name <projectName>",
429
+ "attributeName": "name"
430
+ },
431
+ {
432
+ "flags": "--enable-modules",
433
+ "attributeName": "enableModules"
434
+ },
435
+ {
436
+ "flags": "--git",
437
+ "attributeName": "git"
438
+ },
439
+ {
440
+ "flags": "--json",
441
+ "attributeName": "json"
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "path": [
447
+ "infra"
448
+ ],
449
+ "command": "infra",
450
+ "parent": null,
451
+ "registrationKind": "commander",
452
+ "aliases": [],
453
+ "description": "Plan and manage workspace infrastructure (Docker sidecar stack)",
454
+ "hidden": false,
455
+ "arguments": [],
456
+ "options": []
457
+ },
458
+ {
459
+ "path": [
460
+ "infra",
461
+ "down"
462
+ ],
463
+ "command": "down",
464
+ "parent": "infra",
465
+ "registrationKind": "commander",
466
+ "aliases": [],
467
+ "description": "Stop planned infrastructure services",
468
+ "hidden": false,
469
+ "arguments": [],
470
+ "options": [
471
+ {
472
+ "flags": "--workspace <path>",
473
+ "attributeName": "workspace"
474
+ },
475
+ {
476
+ "flags": "--volumes",
477
+ "attributeName": "volumes"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "path": [
483
+ "infra",
484
+ "plan"
485
+ ],
486
+ "command": "plan",
487
+ "parent": "infra",
488
+ "registrationKind": "commander",
489
+ "aliases": [],
490
+ "description": "Discover infra needs and generate compose plan artifacts",
491
+ "hidden": false,
492
+ "arguments": [],
493
+ "options": [
494
+ {
495
+ "flags": "--workspace <path>",
496
+ "attributeName": "workspace"
497
+ },
498
+ {
499
+ "flags": "--json",
500
+ "attributeName": "json"
501
+ },
502
+ {
503
+ "flags": "--dry-run",
504
+ "attributeName": "dryRun"
505
+ },
506
+ {
507
+ "flags": "--verbose",
508
+ "attributeName": "verbose"
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "path": [
514
+ "infra",
515
+ "status"
516
+ ],
517
+ "command": "status",
518
+ "parent": "infra",
519
+ "registrationKind": "commander",
520
+ "aliases": [],
521
+ "description": "Show Docker Compose status for planned infrastructure",
522
+ "hidden": false,
523
+ "arguments": [],
524
+ "options": [
525
+ {
526
+ "flags": "--workspace <path>",
527
+ "attributeName": "workspace"
528
+ },
529
+ {
530
+ "flags": "--json",
531
+ "attributeName": "json"
532
+ },
533
+ {
534
+ "flags": "--strict",
535
+ "attributeName": "strict"
536
+ }
537
+ ]
538
+ },
539
+ {
540
+ "path": [
541
+ "infra",
542
+ "up"
543
+ ],
544
+ "command": "up",
545
+ "parent": "infra",
546
+ "registrationKind": "commander",
547
+ "aliases": [],
548
+ "description": "Start planned infrastructure services via Docker Compose",
549
+ "hidden": false,
550
+ "arguments": [],
551
+ "options": [
552
+ {
553
+ "flags": "--workspace <path>",
554
+ "attributeName": "workspace"
555
+ },
556
+ {
557
+ "flags": "--detach",
558
+ "attributeName": "detach"
559
+ },
560
+ {
561
+ "flags": "--build",
562
+ "attributeName": "build"
563
+ },
564
+ {
565
+ "flags": "--no-plan",
566
+ "attributeName": "plan"
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "path": [
572
+ "mirror"
573
+ ],
574
+ "command": "mirror",
575
+ "parent": null,
576
+ "registrationKind": "manual-handler",
577
+ "aliases": [],
578
+ "description": "Coordinate supported mirror lifecycle operations for the current project.",
579
+ "hidden": false,
580
+ "arguments": [],
581
+ "options": []
582
+ },
583
+ {
584
+ "path": [
585
+ "pipeline"
586
+ ],
587
+ "command": "pipeline",
588
+ "parent": null,
589
+ "registrationKind": "commander",
590
+ "aliases": [],
591
+ "description": "🔗 Run governance pipeline: sync → doctor → analyze → readiness → autopilot (writes pipeline-last-run.json)",
592
+ "hidden": false,
593
+ "arguments": [],
594
+ "options": [
595
+ {
596
+ "flags": "--json",
597
+ "attributeName": "json"
598
+ },
599
+ {
600
+ "flags": "--strict",
601
+ "attributeName": "strict"
602
+ },
603
+ {
604
+ "flags": "--skip-verify",
605
+ "attributeName": "skipVerify"
606
+ },
607
+ {
608
+ "flags": "--skip-analyze",
609
+ "attributeName": "skipAnalyze"
610
+ },
611
+ {
612
+ "flags": "--skip-autopilot",
613
+ "attributeName": "skipAutopilot"
614
+ },
615
+ {
616
+ "flags": "--autopilot-mode <mode>",
617
+ "attributeName": "autopilotMode"
618
+ },
619
+ {
620
+ "flags": "--no-agent-sync",
621
+ "attributeName": "agentSync"
622
+ },
623
+ {
624
+ "flags": "--agent-sync",
625
+ "attributeName": "agentSync"
626
+ }
627
+ ]
628
+ },
629
+ {
630
+ "path": [
631
+ "product"
632
+ ],
633
+ "command": "product",
634
+ "parent": null,
635
+ "registrationKind": "commander",
636
+ "aliases": [],
637
+ "description": "Product Factory commands for private workspace product manifests",
638
+ "hidden": true,
639
+ "arguments": [],
640
+ "options": []
641
+ },
642
+ {
643
+ "path": [
644
+ "product",
645
+ "manifest"
646
+ ],
647
+ "command": "manifest",
648
+ "parent": "product",
649
+ "registrationKind": "commander",
650
+ "aliases": [],
651
+ "description": "Create or inspect private product manifests",
652
+ "hidden": false,
653
+ "arguments": [],
654
+ "options": []
655
+ },
656
+ {
657
+ "path": [
658
+ "product",
659
+ "manifest",
660
+ "create"
661
+ ],
662
+ "command": "create",
663
+ "parent": "product manifest",
664
+ "registrationKind": "commander",
665
+ "aliases": [],
666
+ "description": "Create a private product manifest from a backlog product slug",
667
+ "hidden": false,
668
+ "arguments": [
669
+ {
670
+ "name": "slug",
671
+ "required": true,
672
+ "variadic": false
673
+ }
674
+ ],
675
+ "options": [
676
+ {
677
+ "flags": "--from-backlog <file>",
678
+ "attributeName": "fromBacklog"
679
+ },
680
+ {
681
+ "flags": "--output <fileOrDir>",
682
+ "attributeName": "output"
683
+ },
684
+ {
685
+ "flags": "--kit <kit>",
686
+ "attributeName": "kit"
687
+ },
688
+ {
689
+ "flags": "--workspace-output <dir>",
690
+ "attributeName": "workspaceOutput"
691
+ },
692
+ {
693
+ "flags": "--json",
694
+ "attributeName": "json"
695
+ },
696
+ {
697
+ "flags": "--force",
698
+ "attributeName": "force"
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "path": [
704
+ "product",
705
+ "plan"
706
+ ],
707
+ "command": "plan",
708
+ "parent": "product",
709
+ "registrationKind": "commander",
710
+ "aliases": [],
711
+ "description": "Build a deterministic Product Factory plan from a workspace backlog JSON",
712
+ "hidden": false,
713
+ "arguments": [
714
+ {
715
+ "name": "backlog",
716
+ "required": true,
717
+ "variadic": false
718
+ }
719
+ ],
720
+ "options": [
721
+ {
722
+ "flags": "--output <file>",
723
+ "attributeName": "output"
724
+ },
725
+ {
726
+ "flags": "--kit <kit>",
727
+ "attributeName": "kit"
728
+ },
729
+ {
730
+ "flags": "--tier <tier>",
731
+ "attributeName": "tier"
732
+ },
733
+ {
734
+ "flags": "--category <category>",
735
+ "attributeName": "category"
736
+ },
737
+ {
738
+ "flags": "--limit <count>",
739
+ "attributeName": "limit"
740
+ },
741
+ {
742
+ "flags": "--json",
743
+ "attributeName": "json"
744
+ }
745
+ ]
746
+ },
747
+ {
748
+ "path": [
749
+ "project"
750
+ ],
751
+ "command": "project",
752
+ "parent": null,
753
+ "registrationKind": "commander",
754
+ "aliases": [],
755
+ "description": "Safe workspace project lifecycle operations",
756
+ "hidden": false,
757
+ "arguments": [],
758
+ "options": []
759
+ },
760
+ {
761
+ "path": [
762
+ "project",
763
+ "archive"
764
+ ],
765
+ "command": "archive",
766
+ "parent": "project",
767
+ "registrationKind": "commander",
768
+ "aliases": [],
769
+ "description": "Move a project into .workspai/archive with a safety snapshot",
770
+ "hidden": false,
771
+ "arguments": [
772
+ {
773
+ "name": "project",
774
+ "required": true,
775
+ "variadic": false
776
+ }
777
+ ],
778
+ "options": [
779
+ {
780
+ "flags": "--workspace <path>",
781
+ "attributeName": "workspace"
782
+ },
783
+ {
784
+ "flags": "--reason <text>",
785
+ "attributeName": "reason"
786
+ },
787
+ {
788
+ "flags": "--dry-run",
789
+ "attributeName": "dryRun"
790
+ },
791
+ {
792
+ "flags": "--json",
793
+ "attributeName": "json"
794
+ }
795
+ ]
796
+ },
797
+ {
798
+ "path": [
799
+ "project",
800
+ "archives"
801
+ ],
802
+ "command": "archives",
803
+ "parent": "project",
804
+ "registrationKind": "commander",
805
+ "aliases": [],
806
+ "description": "List archived workspace projects",
807
+ "hidden": false,
808
+ "arguments": [],
809
+ "options": [
810
+ {
811
+ "flags": "--workspace <path>",
812
+ "attributeName": "workspace"
813
+ },
814
+ {
815
+ "flags": "--json",
816
+ "attributeName": "json"
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "path": [
822
+ "project",
823
+ "commands"
824
+ ],
825
+ "command": "commands",
826
+ "parent": "project",
827
+ "registrationKind": "commander",
828
+ "aliases": [],
829
+ "description": "Show effective commands supported by the current Workspai project",
830
+ "hidden": false,
831
+ "arguments": [],
832
+ "options": [
833
+ {
834
+ "flags": "--json",
835
+ "attributeName": "json"
836
+ }
837
+ ]
838
+ },
839
+ {
840
+ "path": [
841
+ "project",
842
+ "delete"
843
+ ],
844
+ "command": "delete",
845
+ "parent": "project",
846
+ "registrationKind": "commander",
847
+ "aliases": [],
848
+ "description": "Archive by default; permanently delete only with --permanent and exact --confirm",
849
+ "hidden": false,
850
+ "arguments": [
851
+ {
852
+ "name": "project",
853
+ "required": true,
854
+ "variadic": false
855
+ }
856
+ ],
857
+ "options": [
858
+ {
859
+ "flags": "--workspace <path>",
860
+ "attributeName": "workspace"
861
+ },
862
+ {
863
+ "flags": "--reason <text>",
864
+ "attributeName": "reason"
865
+ },
866
+ {
867
+ "flags": "--permanent",
868
+ "attributeName": "permanent"
869
+ },
870
+ {
871
+ "flags": "--confirm <projectName>",
872
+ "attributeName": "confirm"
873
+ },
874
+ {
875
+ "flags": "--dry-run",
876
+ "attributeName": "dryRun"
877
+ },
878
+ {
879
+ "flags": "--json",
880
+ "attributeName": "json"
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "path": [
886
+ "project",
887
+ "restore"
888
+ ],
889
+ "command": "restore",
890
+ "parent": "project",
891
+ "registrationKind": "commander",
892
+ "aliases": [],
893
+ "description": "Restore an archived project back into the workspace",
894
+ "hidden": false,
895
+ "arguments": [
896
+ {
897
+ "name": "archive",
898
+ "required": true,
899
+ "variadic": false
900
+ }
901
+ ],
902
+ "options": [
903
+ {
904
+ "flags": "--workspace <path>",
905
+ "attributeName": "workspace"
906
+ },
907
+ {
908
+ "flags": "--name <projectName>",
909
+ "attributeName": "name"
910
+ },
911
+ {
912
+ "flags": "--reason <text>",
913
+ "attributeName": "reason"
914
+ },
915
+ {
916
+ "flags": "--force",
917
+ "attributeName": "force"
918
+ },
919
+ {
920
+ "flags": "--dry-run",
921
+ "attributeName": "dryRun"
922
+ },
923
+ {
924
+ "flags": "--json",
925
+ "attributeName": "json"
926
+ }
927
+ ]
928
+ },
929
+ {
930
+ "path": [
931
+ "readiness"
932
+ ],
933
+ "command": "readiness",
934
+ "parent": null,
935
+ "registrationKind": "commander",
936
+ "aliases": [],
937
+ "description": "🚦 Generate machine-readable release readiness summary (env + doctor + analyze + verify + dependency)",
938
+ "hidden": false,
939
+ "arguments": [],
940
+ "options": [
941
+ {
942
+ "flags": "--workspace <path>",
943
+ "attributeName": "workspace"
944
+ },
945
+ {
946
+ "flags": "--json",
947
+ "attributeName": "json"
948
+ },
949
+ {
950
+ "flags": "--strict",
951
+ "attributeName": "strict"
952
+ },
953
+ {
954
+ "flags": "--skip-verify",
955
+ "attributeName": "skipVerify"
956
+ }
957
+ ]
958
+ },
959
+ {
960
+ "path": [
961
+ "setup"
962
+ ],
963
+ "command": "setup",
964
+ "parent": null,
965
+ "registrationKind": "manual-handler",
966
+ "aliases": [],
967
+ "description": "Prepare a selected runtime toolchain through the supported adapter boundary.",
968
+ "hidden": false,
969
+ "arguments": [],
970
+ "options": []
971
+ },
972
+ {
973
+ "path": [
974
+ "shell"
975
+ ],
976
+ "command": "shell",
977
+ "parent": null,
978
+ "registrationKind": "commander",
979
+ "aliases": [],
980
+ "description": "Shell helpers (activate virtualenv in current shell)",
981
+ "hidden": false,
982
+ "arguments": [
983
+ {
984
+ "name": "action",
985
+ "required": true,
986
+ "variadic": false
987
+ }
988
+ ],
989
+ "options": []
990
+ },
991
+ {
992
+ "path": [
993
+ "snapshot"
994
+ ],
995
+ "command": "snapshot",
996
+ "parent": null,
997
+ "registrationKind": "commander",
998
+ "aliases": [],
999
+ "description": "Create, list, and restore Workspai workspace snapshots",
1000
+ "hidden": false,
1001
+ "arguments": [],
1002
+ "options": []
1003
+ },
1004
+ {
1005
+ "path": [
1006
+ "snapshot",
1007
+ "create"
1008
+ ],
1009
+ "command": "create",
1010
+ "parent": "snapshot",
1011
+ "registrationKind": "commander",
1012
+ "aliases": [],
1013
+ "description": "Create a recoverable workspace snapshot",
1014
+ "hidden": false,
1015
+ "arguments": [
1016
+ {
1017
+ "name": "name",
1018
+ "required": false,
1019
+ "variadic": false
1020
+ }
1021
+ ],
1022
+ "options": [
1023
+ {
1024
+ "flags": "--workspace <path>",
1025
+ "attributeName": "workspace"
1026
+ },
1027
+ {
1028
+ "flags": "--reason <text>",
1029
+ "attributeName": "reason"
1030
+ },
1031
+ {
1032
+ "flags": "--include-projects",
1033
+ "attributeName": "includeProjects"
1034
+ },
1035
+ {
1036
+ "flags": "--json",
1037
+ "attributeName": "json"
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "path": [
1043
+ "snapshot",
1044
+ "inspect"
1045
+ ],
1046
+ "command": "inspect",
1047
+ "parent": "snapshot",
1048
+ "registrationKind": "commander",
1049
+ "aliases": [],
1050
+ "description": "Inspect snapshot manifest and estimated payload size",
1051
+ "hidden": false,
1052
+ "arguments": [
1053
+ {
1054
+ "name": "name",
1055
+ "required": true,
1056
+ "variadic": false
1057
+ }
1058
+ ],
1059
+ "options": [
1060
+ {
1061
+ "flags": "--workspace <path>",
1062
+ "attributeName": "workspace"
1063
+ },
1064
+ {
1065
+ "flags": "--json",
1066
+ "attributeName": "json"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "path": [
1072
+ "snapshot",
1073
+ "list"
1074
+ ],
1075
+ "command": "list",
1076
+ "parent": "snapshot",
1077
+ "registrationKind": "commander",
1078
+ "aliases": [],
1079
+ "description": "List workspace snapshots",
1080
+ "hidden": false,
1081
+ "arguments": [],
1082
+ "options": [
1083
+ {
1084
+ "flags": "--workspace <path>",
1085
+ "attributeName": "workspace"
1086
+ },
1087
+ {
1088
+ "flags": "--json",
1089
+ "attributeName": "json"
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ "path": [
1095
+ "snapshot",
1096
+ "restore"
1097
+ ],
1098
+ "command": "restore",
1099
+ "parent": "snapshot",
1100
+ "registrationKind": "commander",
1101
+ "aliases": [],
1102
+ "description": "Restore a workspace snapshot",
1103
+ "hidden": false,
1104
+ "arguments": [
1105
+ {
1106
+ "name": "name",
1107
+ "required": true,
1108
+ "variadic": false
1109
+ }
1110
+ ],
1111
+ "options": [
1112
+ {
1113
+ "flags": "--workspace <path>",
1114
+ "attributeName": "workspace"
1115
+ },
1116
+ {
1117
+ "flags": "--reason <text>",
1118
+ "attributeName": "reason"
1119
+ },
1120
+ {
1121
+ "flags": "--dry-run",
1122
+ "attributeName": "dryRun"
1123
+ },
1124
+ {
1125
+ "flags": "--force",
1126
+ "attributeName": "force"
1127
+ },
1128
+ {
1129
+ "flags": "--no-safety-snapshot",
1130
+ "attributeName": "safetySnapshot"
1131
+ },
1132
+ {
1133
+ "flags": "--json",
1134
+ "attributeName": "json"
1135
+ }
1136
+ ]
1137
+ },
1138
+ {
1139
+ "path": [
1140
+ "workspace"
1141
+ ],
1142
+ "command": "workspace",
1143
+ "parent": null,
1144
+ "registrationKind": "commander",
1145
+ "aliases": [],
1146
+ "description": "Manage Workspai workspaces (list, sync, policy, share, export, run, intelligence)\n workspace run <stage> — fleet stage execution across discovered projects\n stages: init | test | build | start | <custom-from-context>\n workspace explain|why — blocker/project narrative (--write for artifact)\n workspace trace — diff → blast radius → gates narrative (--from <diff>)\n workspace mcp serve — read-mostly stdio MCP bridge over workspace evidence",
1147
+ "hidden": false,
1148
+ "arguments": [
1149
+ {
1150
+ "name": "action",
1151
+ "required": true,
1152
+ "variadic": false
1153
+ },
1154
+ {
1155
+ "name": "subaction",
1156
+ "required": false,
1157
+ "variadic": false
1158
+ },
1159
+ {
1160
+ "name": "key",
1161
+ "required": false,
1162
+ "variadic": false
1163
+ },
1164
+ {
1165
+ "name": "value",
1166
+ "required": false,
1167
+ "variadic": false
1168
+ }
1169
+ ],
1170
+ "options": [
1171
+ {
1172
+ "flags": "--workspace <path>",
1173
+ "attributeName": "workspace"
1174
+ },
1175
+ {
1176
+ "flags": "--output <file>",
1177
+ "attributeName": "output"
1178
+ },
1179
+ {
1180
+ "flags": "--from <file>",
1181
+ "attributeName": "from"
1182
+ },
1183
+ {
1184
+ "flags": "--from-impact <file>",
1185
+ "attributeName": "fromImpact"
1186
+ },
1187
+ {
1188
+ "flags": "--include-paths",
1189
+ "attributeName": "includePaths"
1190
+ },
1191
+ {
1192
+ "flags": "--write",
1193
+ "attributeName": "write"
1194
+ },
1195
+ {
1196
+ "flags": "--include-evidence",
1197
+ "attributeName": "includeEvidence"
1198
+ },
1199
+ {
1200
+ "flags": "--scan-depth <count>",
1201
+ "attributeName": "scanDepth"
1202
+ },
1203
+ {
1204
+ "flags": "--cache",
1205
+ "attributeName": "cache"
1206
+ },
1207
+ {
1208
+ "flags": "--incremental",
1209
+ "attributeName": "incremental"
1210
+ },
1211
+ {
1212
+ "flags": "--once",
1213
+ "attributeName": "once"
1214
+ },
1215
+ {
1216
+ "flags": "--for-agent [agent]",
1217
+ "attributeName": "forAgent"
1218
+ },
1219
+ {
1220
+ "flags": "--agent-sync",
1221
+ "attributeName": "agentSync"
1222
+ },
1223
+ {
1224
+ "flags": "--no-agent-sync",
1225
+ "attributeName": "agentSync"
1226
+ },
1227
+ {
1228
+ "flags": "--target <targets>",
1229
+ "attributeName": "target"
1230
+ },
1231
+ {
1232
+ "flags": "--preset <preset>",
1233
+ "attributeName": "preset"
1234
+ },
1235
+ {
1236
+ "flags": "--refresh-context",
1237
+ "attributeName": "refreshContext"
1238
+ },
1239
+ {
1240
+ "flags": "--experimental-hooks",
1241
+ "attributeName": "experimentalHooks"
1242
+ },
1243
+ {
1244
+ "flags": "--hydrate-prompts",
1245
+ "attributeName": "hydratePrompts"
1246
+ },
1247
+ {
1248
+ "flags": "--scope <scope>",
1249
+ "attributeName": "scope"
1250
+ },
1251
+ {
1252
+ "flags": "--no-doctor",
1253
+ "attributeName": "doctor"
1254
+ },
1255
+ {
1256
+ "flags": "--no-blueprint",
1257
+ "attributeName": "blueprint"
1258
+ },
1259
+ {
1260
+ "flags": "--include-env",
1261
+ "attributeName": "includeEnv"
1262
+ },
1263
+ {
1264
+ "flags": "--archive-compression <mode>",
1265
+ "attributeName": "archiveCompression"
1266
+ },
1267
+ {
1268
+ "flags": "--max-download-size <size>",
1269
+ "attributeName": "maxDownloadSize"
1270
+ },
1271
+ {
1272
+ "flags": "--max-expanded-size <size>",
1273
+ "attributeName": "maxExpandedSize"
1274
+ },
1275
+ {
1276
+ "flags": "--download-timeout-ms <ms>",
1277
+ "attributeName": "downloadTimeoutMs"
1278
+ },
1279
+ {
1280
+ "flags": "--force",
1281
+ "attributeName": "force"
1282
+ },
1283
+ {
1284
+ "flags": "--refresh",
1285
+ "attributeName": "refresh"
1286
+ },
1287
+ {
1288
+ "flags": "--dry-run",
1289
+ "attributeName": "dryRun"
1290
+ },
1291
+ {
1292
+ "flags": "--affected",
1293
+ "attributeName": "affected"
1294
+ },
1295
+ {
1296
+ "flags": "--blast-radius",
1297
+ "attributeName": "blastRadius"
1298
+ },
1299
+ {
1300
+ "flags": "--since <ref>",
1301
+ "attributeName": "since"
1302
+ },
1303
+ {
1304
+ "flags": "--parallel",
1305
+ "attributeName": "parallel"
1306
+ },
1307
+ {
1308
+ "flags": "--max-workers <count>",
1309
+ "attributeName": "maxWorkers"
1310
+ },
1311
+ {
1312
+ "flags": "--continue-on-error",
1313
+ "attributeName": "continueOnError"
1314
+ },
1315
+ {
1316
+ "flags": "--reuse-passed",
1317
+ "attributeName": "reusePassed"
1318
+ },
1319
+ {
1320
+ "flags": "--json",
1321
+ "attributeName": "json"
1322
+ },
1323
+ {
1324
+ "flags": "--ci",
1325
+ "attributeName": "ci"
1326
+ },
1327
+ {
1328
+ "flags": "--strict",
1329
+ "attributeName": "strict"
1330
+ },
1331
+ {
1332
+ "flags": "--no-gates",
1333
+ "attributeName": "gates"
1334
+ }
1335
+ ]
1336
+ }
1337
+ ],
1338
+ "topLevelCommands": [
1339
+ "adopt",
1340
+ "ai",
1341
+ "analyze",
1342
+ "autopilot",
1343
+ "bootstrap",
1344
+ "cache",
1345
+ "commands",
1346
+ "config",
1347
+ "create",
1348
+ "doctor",
1349
+ "import",
1350
+ "infra",
1351
+ "mirror",
1352
+ "pipeline",
1353
+ "product",
1354
+ "project",
1355
+ "readiness",
1356
+ "setup",
1357
+ "shell",
1358
+ "snapshot",
1359
+ "workspace"
1360
+ ],
1361
+ "integrity": {
1362
+ "ok": true,
1363
+ "registeredButUndeclared": [],
1364
+ "declaredButUnregistered": [],
1365
+ "registeredScopedButUndeclared": [],
1366
+ "declaredScopedButUnregistered": []
1367
+ }
1368
+ }