@lumenflow/cli 3.12.5 → 3.12.6

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 (123) hide show
  1. package/dist/chunk-2D2VOCA4.js +37 -0
  2. package/dist/chunk-2D5KFYGX.js +284 -0
  3. package/dist/chunk-2GXVIN57.js +14072 -0
  4. package/dist/chunk-2MQ7HZWZ.js +26 -0
  5. package/dist/chunk-2UFQ3A3C.js +643 -0
  6. package/dist/chunk-3RG5ZIWI.js +10 -0
  7. package/dist/chunk-4N74J3UT.js +15 -0
  8. package/dist/chunk-5GTOXFYR.js +392 -0
  9. package/dist/chunk-5VY6MQMC.js +240 -0
  10. package/dist/chunk-67XVPMRY.js +1297 -0
  11. package/dist/chunk-6HO4GWJE.js +164 -0
  12. package/dist/chunk-6W5XHWYV.js +1890 -0
  13. package/dist/chunk-6X4EMYJQ.js +64 -0
  14. package/dist/chunk-6XYXI2NQ.js +772 -0
  15. package/dist/chunk-7ANSOV6Q.js +285 -0
  16. package/dist/chunk-A624LFLB.js +1380 -0
  17. package/dist/chunk-ADN5NHG4.js +126 -0
  18. package/dist/chunk-B7YJYJKG.js +33 -0
  19. package/dist/chunk-CCLHCPKG.js +210 -0
  20. package/dist/chunk-CK36VROC.js +1584 -0
  21. package/dist/chunk-D3UOFRSB.js +81 -0
  22. package/dist/chunk-DFR4DJBM.js +230 -0
  23. package/dist/chunk-DSYBDHYH.js +79 -0
  24. package/dist/chunk-DWMLTXKQ.js +1176 -0
  25. package/dist/chunk-E3REJTAJ.js +28 -0
  26. package/dist/chunk-EA3IVO64.js +633 -0
  27. package/dist/chunk-EK2AKZKD.js +55 -0
  28. package/dist/chunk-ELD7JTTT.js +343 -0
  29. package/dist/chunk-EX6TT2XI.js +195 -0
  30. package/dist/chunk-EXINSFZE.js +82 -0
  31. package/dist/chunk-EZ6ZBYBM.js +510 -0
  32. package/dist/chunk-FBKAPTJ2.js +16 -0
  33. package/dist/chunk-FVLV5RYH.js +1118 -0
  34. package/dist/chunk-GDNSBQVK.js +2485 -0
  35. package/dist/chunk-GPQHMBNN.js +278 -0
  36. package/dist/chunk-GTFJB67L.js +68 -0
  37. package/dist/chunk-HANJXVKW.js +1127 -0
  38. package/dist/chunk-HEVS5YLD.js +269 -0
  39. package/dist/chunk-HMEVZKPQ.js +9 -0
  40. package/dist/chunk-HRGSYNLM.js +3511 -0
  41. package/dist/chunk-ISZR5N4K.js +60 -0
  42. package/dist/chunk-J6SUPR2C.js +226 -0
  43. package/dist/chunk-JERYVEIZ.js +244 -0
  44. package/dist/chunk-JHHWGL2N.js +87 -0
  45. package/dist/chunk-JONWQUB5.js +775 -0
  46. package/dist/chunk-K2DIWWDM.js +1766 -0
  47. package/dist/chunk-KY4PGL5V.js +969 -0
  48. package/dist/chunk-L737LQ4C.js +1285 -0
  49. package/dist/chunk-LFTWYIB2.js +497 -0
  50. package/dist/chunk-LV47RFNJ.js +41 -0
  51. package/dist/chunk-MKSAITI7.js +15 -0
  52. package/dist/chunk-MZ7RKIX4.js +212 -0
  53. package/dist/chunk-NAP6CFSO.js +84 -0
  54. package/dist/chunk-ND6MY37M.js +16 -0
  55. package/dist/chunk-NMG736UR.js +683 -0
  56. package/dist/chunk-NRAXROED.js +32 -0
  57. package/dist/chunk-NRIZR3A7.js +690 -0
  58. package/dist/chunk-NX43BG3M.js +233 -0
  59. package/dist/chunk-O645XLSI.js +297 -0
  60. package/dist/chunk-OMJD6A3S.js +235 -0
  61. package/dist/chunk-QB6SJD4T.js +430 -0
  62. package/dist/chunk-QFSTL4J3.js +276 -0
  63. package/dist/chunk-QLGDFMFX.js +212 -0
  64. package/dist/chunk-RIAAGL2E.js +13 -0
  65. package/dist/chunk-RWO5XMZ6.js +86 -0
  66. package/dist/chunk-RXRKBBSM.js +149 -0
  67. package/dist/chunk-RZOZMML6.js +363 -0
  68. package/dist/chunk-U7I7FS7T.js +113 -0
  69. package/dist/chunk-UI42RODY.js +717 -0
  70. package/dist/chunk-UTVMVSCO.js +519 -0
  71. package/dist/chunk-V6OJGLBA.js +1746 -0
  72. package/dist/chunk-W2JHVH7D.js +152 -0
  73. package/dist/chunk-WD3Y7VQN.js +280 -0
  74. package/dist/chunk-WOCTQ5MS.js +303 -0
  75. package/dist/chunk-WZR3ZUNN.js +696 -0
  76. package/dist/chunk-XGI665H7.js +150 -0
  77. package/dist/chunk-XKY65P2T.js +304 -0
  78. package/dist/chunk-Y4CQZY65.js +57 -0
  79. package/dist/chunk-YFEXKLVE.js +194 -0
  80. package/dist/chunk-YHO3HS5X.js +287 -0
  81. package/dist/chunk-YLS7AZSX.js +738 -0
  82. package/dist/chunk-ZE473AO6.js +49 -0
  83. package/dist/chunk-ZF747T3O.js +644 -0
  84. package/dist/chunk-ZHCZHZH3.js +43 -0
  85. package/dist/chunk-ZZNZX2XY.js +87 -0
  86. package/dist/constants-7QAP3VQ4.js +23 -0
  87. package/dist/dist-IY3UUMWK.js +33 -0
  88. package/dist/init-templates.js +9 -9
  89. package/dist/invariants-runner-W5RGHCSU.js +27 -0
  90. package/dist/lane-lock-6J36HD5O.js +35 -0
  91. package/dist/mem-checkpoint-core-EANG2GVN.js +14 -0
  92. package/dist/mem-signal-core-2LZ2WYHW.js +19 -0
  93. package/dist/memory-store-OLB5FO7K.js +18 -0
  94. package/dist/service-6BYCOCO5.js +13 -0
  95. package/dist/spawn-policy-resolver-NTSZYQ6R.js +17 -0
  96. package/dist/spawn-task-builder-R4E2BHSW.js +22 -0
  97. package/dist/wu-claim.js +2 -2
  98. package/dist/wu-claim.js.map +1 -1
  99. package/dist/wu-done-gates.js +25 -4
  100. package/dist/wu-done-gates.js.map +1 -1
  101. package/dist/wu-done-ownership.js +6 -1
  102. package/dist/wu-done-ownership.js.map +1 -1
  103. package/dist/wu-done-pr-WLFFFEPJ.js +25 -0
  104. package/dist/wu-done-validation-3J5E36FE.js +30 -0
  105. package/dist/wu-done.js +6 -6
  106. package/dist/wu-done.js.map +1 -1
  107. package/dist/wu-duplicate-id-detector-5S7JHELK.js +232 -0
  108. package/dist/wu-edit-operations.js +58 -17
  109. package/dist/wu-edit-operations.js.map +1 -1
  110. package/dist/wu-edit-validators.js +104 -28
  111. package/dist/wu-edit-validators.js.map +1 -1
  112. package/dist/wu-edit.js +1 -1
  113. package/dist/wu-edit.js.map +1 -1
  114. package/dist/wu-spawn-prompt-builders.js +8 -7
  115. package/dist/wu-spawn-prompt-builders.js.map +1 -1
  116. package/package.json +8 -8
  117. package/packs/sidekick/.turbo/turbo-build.log +1 -1
  118. package/packs/sidekick/package.json +1 -1
  119. package/packs/software-delivery/.turbo/turbo-build.log +1 -1
  120. package/packs/software-delivery/package.json +1 -1
  121. package/templates/core/LUMENFLOW.md.template +1 -1
  122. package/templates/core/ai/onboarding/quick-ref-commands.md.template +3 -3
  123. package/templates/core/ai/onboarding/starting-prompt.md.template +11 -11
@@ -0,0 +1,969 @@
1
+ // src/public-manifest.ts
2
+ var COMMAND_CATEGORIES = {
3
+ WU_LIFECYCLE: "WU Lifecycle",
4
+ WU_MAINTENANCE: "WU Maintenance",
5
+ GATES_QUALITY: "Gates & Quality",
6
+ MEMORY_SESSIONS: "Memory & Sessions",
7
+ INITIATIVES: "Initiatives",
8
+ PLANS: "Plans",
9
+ ORCHESTRATION: "Orchestration",
10
+ SETUP_DEVELOPMENT: "Setup & Development",
11
+ METRICS_FLOW: "Metrics & Flow",
12
+ STATE_MANAGEMENT: "State Management",
13
+ PACKS: "Packs"
14
+ };
15
+ var CANONICAL_BOOTSTRAP_COMMAND = "npx lumenflow";
16
+ var LEGACY_COMMAND_PREFIX = "Legacy entrypoint";
17
+ var LEGACY_ONBOARD_DESCRIPTION = `${LEGACY_COMMAND_PREFIX}; use "${CANONICAL_BOOTSTRAP_COMMAND}" for bootstrap-all onboarding`;
18
+ var LEGACY_WORKSPACE_INIT_DESCRIPTION = LEGACY_ONBOARD_DESCRIPTION;
19
+ var PUBLIC_MANIFEST = [
20
+ // ============================================================================
21
+ // WU Lifecycle - Core workflow commands
22
+ // ============================================================================
23
+ {
24
+ name: "wu:create",
25
+ binName: "wu-create",
26
+ binPath: "./dist/wu-create.js",
27
+ description: "Create new WU spec",
28
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
29
+ },
30
+ {
31
+ name: "wu:claim",
32
+ binName: "wu-claim",
33
+ binPath: "./dist/wu-claim.js",
34
+ description: "Claim WU and create worktree",
35
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
36
+ },
37
+ {
38
+ name: "wu:sandbox",
39
+ binName: "wu-sandbox",
40
+ binPath: "./dist/wu-sandbox.js",
41
+ description: "Run command through hardened WU sandbox backend",
42
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
43
+ },
44
+ {
45
+ name: "wu:prep",
46
+ binName: "wu-prep",
47
+ binPath: "./dist/wu-prep.js",
48
+ description: "Run gates in worktree, prep for wu:done",
49
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
50
+ },
51
+ {
52
+ name: "wu:done",
53
+ binName: "wu-done",
54
+ binPath: "./dist/wu-done.js",
55
+ description: "Complete WU (merge, stamp, cleanup) from main",
56
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
57
+ },
58
+ {
59
+ name: "wu:edit",
60
+ binName: "wu-edit",
61
+ binPath: "./dist/wu-edit.js",
62
+ description: "Edit WU spec fields",
63
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
64
+ },
65
+ {
66
+ name: "wu:block",
67
+ binName: "wu-block",
68
+ binPath: "./dist/wu-block.js",
69
+ description: "Block WU with reason",
70
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
71
+ },
72
+ {
73
+ name: "wu:unblock",
74
+ binName: "wu-unblock",
75
+ binPath: "./dist/wu-unblock.js",
76
+ description: "Unblock WU",
77
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
78
+ },
79
+ {
80
+ name: "wu:release",
81
+ binName: "wu-release",
82
+ binPath: "./dist/wu-release.js",
83
+ description: "Release orphaned WU (in_progress to ready)",
84
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
85
+ },
86
+ {
87
+ name: "wu:status",
88
+ binName: "wu-status",
89
+ binPath: "./dist/wu-status.js",
90
+ description: "Show WU status, location, valid commands",
91
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
92
+ },
93
+ {
94
+ name: "wu:brief",
95
+ binName: "wu-brief",
96
+ binPath: "./dist/wu-brief.js",
97
+ description: "Generate handoff prompt for sub-agent WU execution",
98
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
99
+ },
100
+ {
101
+ name: "wu:delegate",
102
+ binName: "wu-delegate",
103
+ binPath: "./dist/wu-delegate.js",
104
+ description: "Generate delegation prompt and record explicit lineage intent",
105
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
106
+ },
107
+ {
108
+ name: "wu:validate",
109
+ binName: "wu-validate",
110
+ binPath: "./dist/wu-validate.js",
111
+ description: "Validate WU spec",
112
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
113
+ },
114
+ {
115
+ name: "wu:recover",
116
+ binName: "wu-recover",
117
+ binPath: "./dist/wu-recover.js",
118
+ description: "Analyze and fix WU state inconsistencies",
119
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
120
+ },
121
+ {
122
+ name: "wu:escalate",
123
+ binName: "wu-escalate",
124
+ binPath: "./dist/wu-escalate.js",
125
+ description: "Show or resolve WU escalation status",
126
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE
127
+ },
128
+ {
129
+ name: "approval:request",
130
+ binName: "approval-request",
131
+ binPath: "./dist/approval-request.js",
132
+ description: "Request control-plane approval for a workflow action",
133
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE,
134
+ audience: "advanced"
135
+ },
136
+ {
137
+ name: "approval:review",
138
+ binName: "approval-review",
139
+ binPath: "./dist/approval-review.js",
140
+ description: "Resolve a control-plane approval decision",
141
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE,
142
+ audience: "advanced"
143
+ },
144
+ {
145
+ name: "approval:list",
146
+ binName: "approval-list",
147
+ binPath: "./dist/approval-list.js",
148
+ description: "List control-plane approvals with optional filters",
149
+ category: COMMAND_CATEGORIES.WU_LIFECYCLE,
150
+ audience: "advanced"
151
+ },
152
+ // ============================================================================
153
+ // WU Maintenance - Less frequently used WU commands
154
+ // ============================================================================
155
+ {
156
+ name: "wu:preflight",
157
+ binName: "wu-preflight",
158
+ binPath: "./dist/wu-preflight.js",
159
+ description: "Pre-flight checks before wu:done",
160
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
161
+ },
162
+ {
163
+ name: "wu:repair",
164
+ binName: "wu-repair",
165
+ binPath: "./dist/wu-repair.js",
166
+ description: "Repair WU state issues",
167
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
168
+ },
169
+ {
170
+ name: "wu:prune",
171
+ binName: "wu-prune",
172
+ binPath: "./dist/wu-prune.js",
173
+ description: "Clean stale worktrees",
174
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
175
+ },
176
+ {
177
+ name: "wu:cleanup",
178
+ binName: "wu-cleanup",
179
+ binPath: "./dist/wu-cleanup.js",
180
+ description: "Cleanup after PR merge",
181
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
182
+ },
183
+ {
184
+ name: "wu:deps",
185
+ binName: "wu-deps",
186
+ binPath: "./dist/wu-deps.js",
187
+ description: "Show WU dependencies",
188
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
189
+ },
190
+ {
191
+ name: "wu:infer-lane",
192
+ binName: "wu-infer-lane",
193
+ binPath: "./dist/wu-infer-lane.js",
194
+ description: "Infer lane from code paths/description using workspace definitions",
195
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
196
+ },
197
+ {
198
+ name: "wu:delete",
199
+ binName: "wu-delete",
200
+ binPath: "./dist/wu-delete.js",
201
+ description: "Delete WU spec and cleanup",
202
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
203
+ },
204
+ {
205
+ name: "wu:unlock-lane",
206
+ binName: "wu-unlock-lane",
207
+ binPath: "./dist/wu-unlock-lane.js",
208
+ description: "Unlock stuck lane",
209
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
210
+ },
211
+ {
212
+ name: "wu:proto",
213
+ binName: "wu-proto",
214
+ binPath: "./dist/wu-proto.js",
215
+ description: "Create WU prototype",
216
+ category: COMMAND_CATEGORIES.WU_MAINTENANCE
217
+ },
218
+ // ============================================================================
219
+ // Gates & Quality
220
+ // ============================================================================
221
+ {
222
+ name: "gates",
223
+ binName: "gates",
224
+ binPath: "./dist/gates.js",
225
+ description: "Run all quality gates",
226
+ category: COMMAND_CATEGORIES.GATES_QUALITY
227
+ },
228
+ {
229
+ name: "gates:docs",
230
+ binName: "gates",
231
+ binPath: "./dist/gates.js",
232
+ description: "Run docs-only quality gates (alias)",
233
+ category: COMMAND_CATEGORIES.GATES_QUALITY,
234
+ surface: "alias"
235
+ },
236
+ {
237
+ name: "lumenflow-gates",
238
+ binName: "lumenflow-gates",
239
+ binPath: "./dist/gates.js",
240
+ description: "Run all quality gates (alias)",
241
+ category: COMMAND_CATEGORIES.GATES_QUALITY,
242
+ surface: "alias"
243
+ },
244
+ {
245
+ name: "validate",
246
+ binName: "validate",
247
+ binPath: "./dist/validate.js",
248
+ description: "Run validation checks",
249
+ category: COMMAND_CATEGORIES.GATES_QUALITY
250
+ },
251
+ {
252
+ name: "lumenflow-validate",
253
+ binName: "lumenflow-validate",
254
+ binPath: "./dist/validate.js",
255
+ description: "Run validation checks (alias)",
256
+ category: COMMAND_CATEGORIES.GATES_QUALITY,
257
+ surface: "alias"
258
+ },
259
+ {
260
+ name: "lumenflow:pre-commit-check",
261
+ binName: "lumenflow-pre-commit-check",
262
+ binPath: "./dist/pre-commit-check.js",
263
+ description: "Run enforcement checks used by pre-commit and CI",
264
+ category: COMMAND_CATEGORIES.GATES_QUALITY,
265
+ audience: "advanced"
266
+ },
267
+ {
268
+ name: "lane:create",
269
+ binName: "lane-create",
270
+ binPath: "./dist/lane-create.js",
271
+ description: "Create a new lane definition",
272
+ category: COMMAND_CATEGORIES.GATES_QUALITY
273
+ },
274
+ {
275
+ name: "lane:edit",
276
+ binName: "lane-edit",
277
+ binPath: "./dist/lane-edit.js",
278
+ description: "Edit a lane definition (rename, wip-limit, paths, description)",
279
+ category: COMMAND_CATEGORIES.GATES_QUALITY
280
+ },
281
+ {
282
+ name: "lane:health",
283
+ binName: "lane-health",
284
+ binPath: "./dist/lane-health.js",
285
+ description: "Check lane config health",
286
+ category: COMMAND_CATEGORIES.GATES_QUALITY
287
+ },
288
+ {
289
+ name: "lane:suggest",
290
+ binName: "lane-suggest",
291
+ binPath: "./dist/lane-suggest.js",
292
+ description: "Suggest workspace lane definitions from project context",
293
+ category: COMMAND_CATEGORIES.GATES_QUALITY
294
+ },
295
+ {
296
+ name: "lane:status",
297
+ binName: "lane-status",
298
+ binPath: "./dist/lane-status.js",
299
+ description: "Show lane lifecycle status and next step",
300
+ category: COMMAND_CATEGORIES.GATES_QUALITY
301
+ },
302
+ {
303
+ name: "lane:setup",
304
+ binName: "lane-setup",
305
+ binPath: "./dist/lane-setup.js",
306
+ description: "Create/update draft lane artifacts",
307
+ category: COMMAND_CATEGORIES.GATES_QUALITY
308
+ },
309
+ {
310
+ name: "lane:validate",
311
+ binName: "lane-validate",
312
+ binPath: "./dist/lane-validate.js",
313
+ description: "Validate lane artifacts before lock",
314
+ category: COMMAND_CATEGORIES.GATES_QUALITY
315
+ },
316
+ {
317
+ name: "lane:lock",
318
+ binName: "lane-lock",
319
+ binPath: "./dist/lane-lock.js",
320
+ description: "Lock lane lifecycle for delivery WUs",
321
+ category: COMMAND_CATEGORIES.GATES_QUALITY
322
+ },
323
+ // ============================================================================
324
+ // Memory & Sessions
325
+ // ============================================================================
326
+ {
327
+ name: "mem:init",
328
+ binName: "mem-init",
329
+ binPath: "./dist/mem-init.js",
330
+ description: "Initialize memory for WU",
331
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
332
+ },
333
+ {
334
+ name: "mem:checkpoint",
335
+ binName: "mem-checkpoint",
336
+ binPath: "./dist/mem-checkpoint.js",
337
+ description: "Save progress checkpoint",
338
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
339
+ },
340
+ {
341
+ name: "mem:start",
342
+ binName: "mem-start",
343
+ binPath: "./dist/mem-start.js",
344
+ description: "Start a memory session",
345
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
346
+ },
347
+ {
348
+ name: "mem:ready",
349
+ binName: "mem-ready",
350
+ binPath: "./dist/mem-ready.js",
351
+ description: "Check pending memory nodes",
352
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
353
+ },
354
+ {
355
+ name: "mem:export",
356
+ binName: "mem-export",
357
+ binPath: "./dist/mem-export.js",
358
+ description: "Export memory as markdown",
359
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
360
+ },
361
+ {
362
+ name: "mem:signal",
363
+ binName: "mem-signal",
364
+ binPath: "./dist/mem-signal.js",
365
+ description: "Broadcast coordination signal",
366
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
367
+ },
368
+ {
369
+ name: "mem:cleanup",
370
+ binName: "mem-cleanup",
371
+ binPath: "./dist/mem-cleanup.js",
372
+ description: "Clean up stale memory data",
373
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
374
+ },
375
+ {
376
+ name: "mem:context",
377
+ binName: "mem-context",
378
+ binPath: "./dist/mem-context.js",
379
+ description: "Get context for current lane/WU",
380
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
381
+ },
382
+ {
383
+ name: "mem:create",
384
+ binName: "mem-create",
385
+ binPath: "./dist/mem-create.js",
386
+ description: "Create memory node (bug discovery)",
387
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
388
+ },
389
+ {
390
+ name: "mem:inbox",
391
+ binName: "mem-inbox",
392
+ binPath: "./dist/mem-inbox.js",
393
+ description: "Check coordination signals",
394
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
395
+ },
396
+ {
397
+ name: "mem:summarize",
398
+ binName: "mem-summarize",
399
+ binPath: "./dist/mem-summarize.js",
400
+ description: "Summarize memory context",
401
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
402
+ },
403
+ {
404
+ name: "mem:triage",
405
+ binName: "mem-triage",
406
+ binPath: "./dist/mem-triage.js",
407
+ description: "Triage discovered bugs",
408
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
409
+ },
410
+ {
411
+ name: "mem:delete",
412
+ binName: "mem-delete",
413
+ binPath: "./dist/mem-delete.js",
414
+ description: "Delete/archive a memory node",
415
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
416
+ },
417
+ {
418
+ name: "mem:recover",
419
+ binName: "mem-recover",
420
+ binPath: "./dist/mem-recover.js",
421
+ description: "Generate recovery context after compaction",
422
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
423
+ },
424
+ {
425
+ name: "signal:cleanup",
426
+ binName: "signal-cleanup",
427
+ binPath: "./dist/signal-cleanup.js",
428
+ description: "Clean up stale signals",
429
+ category: COMMAND_CATEGORIES.MEMORY_SESSIONS
430
+ },
431
+ // ============================================================================
432
+ // Initiatives
433
+ // ============================================================================
434
+ {
435
+ name: "initiative:create",
436
+ binName: "initiative-create",
437
+ binPath: "./dist/initiative-create.js",
438
+ description: "Create new initiative",
439
+ category: COMMAND_CATEGORIES.INITIATIVES
440
+ },
441
+ {
442
+ name: "initiative:edit",
443
+ binName: "initiative-edit",
444
+ binPath: "./dist/initiative-edit.js",
445
+ description: "Edit initiative fields and phase metadata",
446
+ category: COMMAND_CATEGORIES.INITIATIVES
447
+ },
448
+ {
449
+ name: "initiative:list",
450
+ binName: "initiative-list",
451
+ binPath: "./dist/initiative-list.js",
452
+ description: "List all initiatives",
453
+ category: COMMAND_CATEGORIES.INITIATIVES
454
+ },
455
+ {
456
+ name: "initiative:status",
457
+ binName: "initiative-status",
458
+ binPath: "./dist/initiative-status.js",
459
+ description: "Show initiative status",
460
+ category: COMMAND_CATEGORIES.INITIATIVES
461
+ },
462
+ {
463
+ name: "initiative:add-wu",
464
+ binName: "initiative-add-wu",
465
+ binPath: "./dist/initiative-add-wu.js",
466
+ description: "Add WU to initiative",
467
+ category: COMMAND_CATEGORIES.INITIATIVES
468
+ },
469
+ {
470
+ name: "initiative:remove-wu",
471
+ binName: "initiative-remove-wu",
472
+ binPath: "./dist/initiative-remove-wu.js",
473
+ description: "Remove WU from initiative",
474
+ category: COMMAND_CATEGORIES.INITIATIVES
475
+ },
476
+ {
477
+ name: "initiative:plan",
478
+ binName: "initiative-plan",
479
+ binPath: "./dist/initiative-plan.js",
480
+ description: "Link plan to initiative",
481
+ category: COMMAND_CATEGORIES.INITIATIVES
482
+ },
483
+ {
484
+ name: "initiative:bulk-assign",
485
+ binName: "initiative-bulk-assign-wus",
486
+ binPath: "./dist/initiative-bulk-assign-wus.js",
487
+ description: "Bulk assign WUs to initiative",
488
+ category: COMMAND_CATEGORIES.INITIATIVES
489
+ },
490
+ // ============================================================================
491
+ // Plans
492
+ // ============================================================================
493
+ {
494
+ name: "plan:create",
495
+ binName: "plan-create",
496
+ binPath: "./dist/plan-create.js",
497
+ description: "Create a new plan",
498
+ category: COMMAND_CATEGORIES.PLANS
499
+ },
500
+ {
501
+ name: "plan:link",
502
+ binName: "plan-link",
503
+ binPath: "./dist/plan-link.js",
504
+ description: "Link plan to WU or initiative",
505
+ category: COMMAND_CATEGORIES.PLANS
506
+ },
507
+ {
508
+ name: "plan:edit",
509
+ binName: "plan-edit",
510
+ binPath: "./dist/plan-edit.js",
511
+ description: "Edit plan content",
512
+ category: COMMAND_CATEGORIES.PLANS
513
+ },
514
+ {
515
+ name: "plan:promote",
516
+ binName: "plan-promote",
517
+ binPath: "./dist/plan-promote.js",
518
+ description: "Promote plan to WU",
519
+ category: COMMAND_CATEGORIES.PLANS
520
+ },
521
+ {
522
+ name: "init:plan",
523
+ binName: "init-plan",
524
+ binPath: "./dist/initiative-plan.js",
525
+ description: "Link plan to initiative (alias)",
526
+ category: COMMAND_CATEGORIES.PLANS,
527
+ surface: "alias"
528
+ },
529
+ // ============================================================================
530
+ // Orchestration
531
+ // ============================================================================
532
+ {
533
+ name: "orchestrate:initiative",
534
+ binName: "orchestrate-initiative",
535
+ binPath: "./dist/orchestrate-initiative.js",
536
+ description: "Orchestrate initiative execution",
537
+ category: COMMAND_CATEGORIES.ORCHESTRATION
538
+ },
539
+ {
540
+ name: "orchestrate:init-status",
541
+ binName: "orchestrate-init-status",
542
+ binPath: "./dist/orchestrate-init-status.js",
543
+ description: "Compact initiative progress view",
544
+ category: COMMAND_CATEGORIES.ORCHESTRATION
545
+ },
546
+ {
547
+ name: "orchestrate:monitor",
548
+ binName: "orchestrate-monitor",
549
+ binPath: "./dist/orchestrate-monitor.js",
550
+ description: "Monitor spawn/agent activity",
551
+ category: COMMAND_CATEGORIES.ORCHESTRATION
552
+ },
553
+ {
554
+ name: "delegation:list",
555
+ binName: "delegation-list",
556
+ binPath: "./dist/delegation-list.js",
557
+ description: "List active delegation records",
558
+ category: COMMAND_CATEGORIES.ORCHESTRATION
559
+ },
560
+ {
561
+ name: "task:claim",
562
+ binName: "task-claim",
563
+ binPath: "./dist/task-claim.js",
564
+ description: "Claim a task directly through KernelRuntime",
565
+ category: COMMAND_CATEGORIES.ORCHESTRATION
566
+ },
567
+ {
568
+ name: "agent:session",
569
+ binName: "agent-session",
570
+ binPath: "./dist/agent-session.js",
571
+ description: "Start agent session",
572
+ category: COMMAND_CATEGORIES.ORCHESTRATION
573
+ },
574
+ {
575
+ name: "agent:session-end",
576
+ binName: "agent-session-end",
577
+ binPath: "./dist/agent-session-end.js",
578
+ description: "End agent session",
579
+ category: COMMAND_CATEGORIES.ORCHESTRATION
580
+ },
581
+ {
582
+ name: "agent:log-issue",
583
+ binName: "agent-log-issue",
584
+ binPath: "./dist/agent-log-issue.js",
585
+ description: "Log issue during agent session",
586
+ category: COMMAND_CATEGORIES.ORCHESTRATION
587
+ },
588
+ {
589
+ name: "agent:issues-query",
590
+ binName: "agent-issues-query",
591
+ binPath: "./dist/agent-issues-query.js",
592
+ description: "Query GitHub issues for agent work",
593
+ category: COMMAND_CATEGORIES.ORCHESTRATION
594
+ },
595
+ // ============================================================================
596
+ // Setup & Development
597
+ // ============================================================================
598
+ {
599
+ name: "lumenflow",
600
+ binName: "lumenflow",
601
+ binPath: "./dist/init.js",
602
+ description: "Initialize LumenFlow in a project",
603
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
604
+ },
605
+ {
606
+ name: "lumenflow-init",
607
+ binName: "lumenflow-init",
608
+ binPath: "./dist/init.js",
609
+ description: "Initialize LumenFlow in a project (alias)",
610
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
611
+ surface: "alias"
612
+ },
613
+ {
614
+ name: "lumenflow:init",
615
+ binName: "lumenflow-init",
616
+ binPath: "./dist/init.js",
617
+ description: "Initialize LumenFlow in a project (alias)",
618
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
619
+ surface: "alias"
620
+ },
621
+ {
622
+ name: "lumenflow:doctor",
623
+ binName: "lumenflow-doctor",
624
+ binPath: "./dist/doctor.js",
625
+ description: "Diagnose LumenFlow configuration",
626
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
627
+ },
628
+ {
629
+ name: "lumenflow:commands",
630
+ binName: "lumenflow-commands",
631
+ binPath: "./dist/commands.js",
632
+ description: "List all available CLI commands",
633
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
634
+ },
635
+ {
636
+ name: "lumenflow:release",
637
+ binName: "lumenflow-release",
638
+ binPath: "./dist/release.js",
639
+ description: "Run release workflow",
640
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
641
+ },
642
+ {
643
+ name: "lumenflow:docs-sync",
644
+ binName: "lumenflow-docs-sync",
645
+ binPath: "./dist/docs-sync.js",
646
+ description: "Refresh scaffolded onboarding docs and supported vendor assets",
647
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
648
+ },
649
+ {
650
+ name: "docs:sync",
651
+ binName: "lumenflow-docs-sync",
652
+ binPath: "./dist/docs-sync.js",
653
+ description: "Refresh scaffolded onboarding docs and supported vendor assets (alias)",
654
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
655
+ surface: "alias"
656
+ },
657
+ {
658
+ name: "lumenflow:sync-templates",
659
+ binName: "lumenflow-sync-templates",
660
+ binPath: "./dist/sync-templates.js",
661
+ description: "Sync templates to project",
662
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
663
+ },
664
+ {
665
+ name: "sync:templates",
666
+ binName: "sync-templates",
667
+ binPath: "./dist/sync-templates.js",
668
+ description: "Sync templates to project (alias)",
669
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
670
+ surface: "alias"
671
+ },
672
+ {
673
+ name: "templates:sync",
674
+ binName: "templates-sync",
675
+ binPath: "./dist/sync-templates.js",
676
+ description: "Sync templates to project (alias)",
677
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
678
+ surface: "alias"
679
+ },
680
+ {
681
+ name: "lumenflow:upgrade",
682
+ binName: "lumenflow-upgrade",
683
+ binPath: "./dist/lumenflow-upgrade.js",
684
+ description: "Upgrade LumenFlow packages",
685
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
686
+ },
687
+ {
688
+ name: "lumenflow:integrate",
689
+ binName: "lumenflow-integrate",
690
+ binPath: "./dist/commands/integrate.js",
691
+ description: "Generate enforcement hooks for client",
692
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
693
+ },
694
+ {
695
+ name: "backlog:prune",
696
+ binName: "backlog-prune",
697
+ binPath: "./dist/backlog-prune.js",
698
+ description: "Clean stale backlog entries",
699
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
700
+ },
701
+ {
702
+ name: "config:set",
703
+ binName: "config-set",
704
+ binPath: "./dist/config-set.js",
705
+ description: "Safely update workspace.yaml software_delivery via micro-worktree",
706
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
707
+ },
708
+ {
709
+ name: "config:get",
710
+ binName: "config-get",
711
+ binPath: "./dist/config-get.js",
712
+ description: "Read and display a value from workspace.yaml software_delivery",
713
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
714
+ },
715
+ {
716
+ name: "cloud:connect",
717
+ binName: "cloud-connect",
718
+ binPath: "./dist/init.js",
719
+ description: "Connect workspace.yaml to cloud control plane",
720
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
721
+ },
722
+ {
723
+ name: "onboard",
724
+ binName: "onboard",
725
+ binPath: "./dist/onboard.js",
726
+ description: LEGACY_ONBOARD_DESCRIPTION,
727
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
728
+ surface: "legacy",
729
+ status: "deprecated"
730
+ },
731
+ {
732
+ name: "lumenflow-onboard",
733
+ binName: "lumenflow-onboard",
734
+ binPath: "./dist/onboard.js",
735
+ description: LEGACY_ONBOARD_DESCRIPTION,
736
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
737
+ surface: "legacy",
738
+ status: "deprecated"
739
+ },
740
+ {
741
+ name: "workspace:init",
742
+ binName: "workspace-init",
743
+ binPath: "./dist/workspace-init.js",
744
+ description: LEGACY_WORKSPACE_INIT_DESCRIPTION,
745
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT,
746
+ surface: "legacy",
747
+ status: "deprecated"
748
+ },
749
+ // ============================================================================
750
+ // Metrics & Flow
751
+ // ============================================================================
752
+ {
753
+ name: "flow:report",
754
+ binName: "flow-report",
755
+ binPath: "./dist/flow-report.js",
756
+ description: "Generate flow metrics report",
757
+ category: COMMAND_CATEGORIES.METRICS_FLOW
758
+ },
759
+ {
760
+ name: "flow:bottlenecks",
761
+ binName: "flow-bottlenecks",
762
+ binPath: "./dist/flow-bottlenecks.js",
763
+ description: "Identify flow bottlenecks",
764
+ category: COMMAND_CATEGORIES.METRICS_FLOW
765
+ },
766
+ {
767
+ name: "metrics:snapshot",
768
+ binName: "metrics-snapshot",
769
+ binPath: "./dist/metrics-snapshot.js",
770
+ description: "Capture metrics snapshot",
771
+ category: COMMAND_CATEGORIES.METRICS_FLOW
772
+ },
773
+ {
774
+ name: "cost:summary",
775
+ binName: "cost-summary",
776
+ binPath: "./dist/cost-summary.js",
777
+ description: "Summarize local cost telemetry",
778
+ category: COMMAND_CATEGORIES.METRICS_FLOW
779
+ },
780
+ {
781
+ name: "metrics",
782
+ binName: "metrics",
783
+ binPath: "./dist/metrics-cli.js",
784
+ description: "View workflow metrics",
785
+ category: COMMAND_CATEGORIES.METRICS_FLOW
786
+ },
787
+ {
788
+ name: "lumenflow:metrics",
789
+ binName: "lumenflow-metrics",
790
+ binPath: "./dist/metrics-cli.js",
791
+ description: "View workflow metrics (alias)",
792
+ category: COMMAND_CATEGORIES.METRICS_FLOW,
793
+ surface: "alias"
794
+ },
795
+ // ============================================================================
796
+ // State Management
797
+ // ============================================================================
798
+ {
799
+ name: "state:doctor",
800
+ binName: "state-doctor",
801
+ binPath: "./dist/state-doctor.js",
802
+ description: "Diagnose state store issues",
803
+ category: COMMAND_CATEGORIES.STATE_MANAGEMENT
804
+ },
805
+ {
806
+ name: "state:cleanup",
807
+ binName: "state-cleanup",
808
+ binPath: "./dist/state-cleanup.js",
809
+ description: "Clean up stale state data",
810
+ category: COMMAND_CATEGORIES.STATE_MANAGEMENT
811
+ },
812
+ {
813
+ name: "state:bootstrap",
814
+ binName: "state-bootstrap",
815
+ binPath: "./dist/state-bootstrap.js",
816
+ description: "Bootstrap state store",
817
+ category: COMMAND_CATEGORIES.STATE_MANAGEMENT
818
+ },
819
+ {
820
+ name: "state:emit",
821
+ binName: "state-emit",
822
+ binPath: "./dist/state-emit.js",
823
+ description: "Emit corrective event to state store (WU-2241)",
824
+ category: COMMAND_CATEGORIES.STATE_MANAGEMENT
825
+ },
826
+ // ============================================================================
827
+ // File Operations (for agent-audited file access)
828
+ // ============================================================================
829
+ {
830
+ name: "file:read",
831
+ binName: "file-read",
832
+ binPath: "./dist/file-read.js",
833
+ description: "Read file with audit trail",
834
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
835
+ },
836
+ {
837
+ name: "file:write",
838
+ binName: "file-write",
839
+ binPath: "./dist/file-write.js",
840
+ description: "Write file with audit trail",
841
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
842
+ },
843
+ {
844
+ name: "file:edit",
845
+ binName: "file-edit",
846
+ binPath: "./dist/file-edit.js",
847
+ description: "Edit file with audit trail",
848
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
849
+ },
850
+ {
851
+ name: "file:delete",
852
+ binName: "file-delete",
853
+ binPath: "./dist/file-delete.js",
854
+ description: "Delete file with audit trail",
855
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
856
+ },
857
+ // ============================================================================
858
+ // Git Operations (for agent-audited git access)
859
+ // ============================================================================
860
+ {
861
+ name: "git:status",
862
+ binName: "git-status",
863
+ binPath: "./dist/git-status.js",
864
+ description: "Show git status with audit trail",
865
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
866
+ },
867
+ {
868
+ name: "git:diff",
869
+ binName: "git-diff",
870
+ binPath: "./dist/git-diff.js",
871
+ description: "Show git diff with audit trail",
872
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
873
+ },
874
+ {
875
+ name: "git:log",
876
+ binName: "git-log",
877
+ binPath: "./dist/git-log.js",
878
+ description: "Show git log with audit trail",
879
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
880
+ },
881
+ {
882
+ name: "git:branch",
883
+ binName: "git-branch",
884
+ binPath: "./dist/git-branch.js",
885
+ description: "Show git branch with audit trail",
886
+ category: COMMAND_CATEGORIES.SETUP_DEVELOPMENT
887
+ },
888
+ // ============================================================================
889
+ // Packs - Pack authoring and management
890
+ // ============================================================================
891
+ {
892
+ name: "pack:author",
893
+ binName: "pack-author",
894
+ binPath: "./dist/pack-author.js",
895
+ description: "Author a secure domain pack from templates",
896
+ category: COMMAND_CATEGORIES.PACKS
897
+ },
898
+ {
899
+ name: "pack:scaffold",
900
+ binName: "pack-scaffold",
901
+ binPath: "./dist/pack-scaffold.js",
902
+ description: "Scaffold a new domain pack",
903
+ category: COMMAND_CATEGORIES.PACKS
904
+ },
905
+ {
906
+ name: "pack:validate",
907
+ binName: "pack-validate",
908
+ binPath: "./dist/pack-validate.js",
909
+ description: "Validate a domain pack for integrity",
910
+ category: COMMAND_CATEGORIES.PACKS
911
+ },
912
+ {
913
+ name: "pack:hash",
914
+ binName: "pack-hash",
915
+ binPath: "./dist/pack-hash.js",
916
+ description: "Compute integrity hash for a domain pack",
917
+ category: COMMAND_CATEGORIES.PACKS
918
+ },
919
+ {
920
+ name: "pack:publish",
921
+ binName: "pack-publish",
922
+ binPath: "./dist/pack-publish.js",
923
+ description: "Publish a domain pack to a registry",
924
+ category: COMMAND_CATEGORIES.PACKS
925
+ },
926
+ {
927
+ name: "pack:install",
928
+ binName: "pack-install",
929
+ binPath: "./dist/pack-install.js",
930
+ description: "Install a domain pack into workspace",
931
+ category: COMMAND_CATEGORIES.PACKS
932
+ },
933
+ {
934
+ name: "pack:search",
935
+ binName: "pack-search",
936
+ binPath: "./dist/pack-search.js",
937
+ description: "Search for domain packs in a registry",
938
+ category: COMMAND_CATEGORIES.PACKS
939
+ }
940
+ ];
941
+ function getPublicManifest() {
942
+ return PUBLIC_MANIFEST;
943
+ }
944
+ function getCommandsByCategory() {
945
+ const byCategory = /* @__PURE__ */ new Map();
946
+ for (const cmd of PUBLIC_MANIFEST) {
947
+ const existing = byCategory.get(cmd.category) || [];
948
+ existing.push(cmd);
949
+ byCategory.set(cmd.category, existing);
950
+ }
951
+ return byCategory;
952
+ }
953
+ var SCRIPT_ARG_OVERRIDES = {
954
+ "gates:docs": "gates --docs-only"
955
+ };
956
+ function generateScriptsFromManifest() {
957
+ const scripts = {};
958
+ for (const cmd of PUBLIC_MANIFEST) {
959
+ scripts[cmd.name] = SCRIPT_ARG_OVERRIDES[cmd.name] ?? cmd.binName;
960
+ }
961
+ return scripts;
962
+ }
963
+
964
+ export {
965
+ COMMAND_CATEGORIES,
966
+ getPublicManifest,
967
+ getCommandsByCategory,
968
+ generateScriptsFromManifest
969
+ };