@hyperdrive.bot/gut 0.1.8 → 0.1.10

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 (111) hide show
  1. package/README.md +1048 -1
  2. package/dist/base-command.d.ts +22 -0
  3. package/dist/base-command.js +99 -0
  4. package/dist/commands/add.d.ts +14 -0
  5. package/dist/commands/add.js +70 -0
  6. package/dist/commands/affected.d.ts +23 -0
  7. package/dist/commands/affected.js +323 -0
  8. package/dist/commands/audit.d.ts +33 -0
  9. package/dist/commands/audit.js +594 -0
  10. package/dist/commands/back.d.ts +6 -0
  11. package/dist/commands/back.js +29 -0
  12. package/dist/commands/checkout.d.ts +14 -0
  13. package/dist/commands/checkout.js +124 -0
  14. package/dist/commands/commit.d.ts +11 -0
  15. package/dist/commands/commit.js +107 -0
  16. package/dist/commands/context.d.ts +6 -0
  17. package/dist/commands/context.js +32 -0
  18. package/dist/commands/contexts.d.ts +7 -0
  19. package/dist/commands/contexts.js +88 -0
  20. package/dist/commands/deps.d.ts +10 -0
  21. package/dist/commands/deps.js +100 -0
  22. package/dist/commands/entity/add.d.ts +16 -0
  23. package/dist/commands/entity/add.js +103 -0
  24. package/dist/commands/entity/clone-all.d.ts +18 -0
  25. package/dist/commands/entity/clone-all.js +166 -0
  26. package/dist/commands/entity/clone.d.ts +17 -0
  27. package/dist/commands/entity/clone.js +132 -0
  28. package/dist/commands/entity/list.d.ts +11 -0
  29. package/dist/commands/entity/list.js +80 -0
  30. package/dist/commands/entity/remove.d.ts +12 -0
  31. package/dist/commands/entity/remove.js +54 -0
  32. package/dist/commands/extract.d.ts +35 -0
  33. package/dist/commands/extract.js +483 -0
  34. package/dist/commands/focus.d.ts +19 -0
  35. package/dist/commands/focus.js +137 -0
  36. package/dist/commands/graph.d.ts +18 -0
  37. package/dist/commands/graph.js +273 -0
  38. package/dist/commands/init.d.ts +11 -0
  39. package/dist/commands/init.js +75 -0
  40. package/dist/commands/insights.d.ts +21 -0
  41. package/dist/commands/insights.js +465 -0
  42. package/dist/commands/patterns.d.ts +40 -0
  43. package/dist/commands/patterns.js +405 -0
  44. package/dist/commands/pull.d.ts +11 -0
  45. package/dist/commands/pull.js +121 -0
  46. package/dist/commands/push.d.ts +11 -0
  47. package/dist/commands/push.js +97 -0
  48. package/dist/commands/quick-setup.d.ts +20 -0
  49. package/dist/commands/quick-setup.js +417 -0
  50. package/dist/commands/recent.d.ts +9 -0
  51. package/dist/commands/recent.js +51 -0
  52. package/dist/commands/related.d.ts +23 -0
  53. package/dist/commands/related.js +255 -0
  54. package/dist/commands/repos.d.ts +17 -0
  55. package/dist/commands/repos.js +184 -0
  56. package/dist/commands/stack.d.ts +10 -0
  57. package/dist/commands/stack.js +78 -0
  58. package/dist/commands/status.d.ts +13 -0
  59. package/dist/commands/status.js +193 -0
  60. package/dist/commands/sync.d.ts +11 -0
  61. package/dist/commands/sync.js +139 -0
  62. package/dist/commands/ticket/focus.d.ts +20 -0
  63. package/dist/commands/ticket/focus.js +217 -0
  64. package/dist/commands/ticket/get.d.ts +15 -0
  65. package/dist/commands/ticket/get.js +168 -0
  66. package/dist/commands/ticket/hint.d.ts +16 -0
  67. package/dist/commands/ticket/hint.js +147 -0
  68. package/dist/commands/ticket/index.d.ts +10 -0
  69. package/dist/commands/ticket/index.js +60 -0
  70. package/dist/commands/ticket/list.d.ts +13 -0
  71. package/dist/commands/ticket/list.js +120 -0
  72. package/dist/commands/ticket/sync.d.ts +14 -0
  73. package/dist/commands/ticket/sync.js +85 -0
  74. package/dist/commands/ticket/update.d.ts +17 -0
  75. package/dist/commands/ticket/update.js +142 -0
  76. package/dist/commands/unfocus.d.ts +6 -0
  77. package/dist/commands/unfocus.js +19 -0
  78. package/dist/commands/used-by.d.ts +13 -0
  79. package/dist/commands/used-by.js +110 -0
  80. package/dist/commands/workspace.d.ts +22 -0
  81. package/dist/commands/workspace.js +372 -0
  82. package/dist/index.d.ts +14 -0
  83. package/dist/index.js +16 -0
  84. package/dist/models/entity.model.d.ts +234 -0
  85. package/dist/models/entity.model.js +1 -0
  86. package/dist/models/ticket.model.d.ts +117 -0
  87. package/dist/models/ticket.model.js +43 -0
  88. package/dist/services/auth.service.d.ts +15 -0
  89. package/dist/services/auth.service.js +26 -0
  90. package/dist/services/config.service.d.ts +34 -0
  91. package/dist/services/config.service.js +234 -0
  92. package/dist/services/entity.service.d.ts +20 -0
  93. package/dist/services/entity.service.js +127 -0
  94. package/dist/services/focus.service.d.ts +71 -0
  95. package/dist/services/focus.service.js +614 -0
  96. package/dist/services/git.service.d.ts +39 -0
  97. package/dist/services/git.service.js +188 -0
  98. package/dist/services/gut-api.service.d.ts +53 -0
  99. package/dist/services/gut-api.service.js +99 -0
  100. package/dist/services/ticket.service.d.ts +84 -0
  101. package/dist/services/ticket.service.js +207 -0
  102. package/dist/utils/display.d.ts +26 -0
  103. package/dist/utils/display.js +145 -0
  104. package/dist/utils/filesystem.d.ts +32 -0
  105. package/dist/utils/filesystem.js +198 -0
  106. package/dist/utils/index.d.ts +13 -0
  107. package/dist/utils/index.js +14 -0
  108. package/dist/utils/validation.d.ts +22 -0
  109. package/dist/utils/validation.js +192 -0
  110. package/oclif.manifest.json +2006 -0
  111. package/package.json +11 -2
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @hyperdrive.bot/gut
18
18
  $ gut COMMAND
19
19
  running command...
20
20
  $ gut (--version)
21
- @hyperdrive.bot/gut/0.1.7 linux-x64 node-v24.13.0
21
+ @hyperdrive.bot/gut/0.1.10 linux-x64 node-v22.22.0
22
22
  $ gut --help [COMMAND]
23
23
  USAGE
24
24
  $ gut COMMAND
@@ -27,5 +27,1052 @@ USAGE
27
27
  <!-- usagestop -->
28
28
  # Commands
29
29
  <!-- commands -->
30
+ * [`gut add [PATH]`](#gut-add-path)
31
+ * [`gut affected [ENTITY]`](#gut-affected-entity)
32
+ * [`gut audit`](#gut-audit)
33
+ * [`gut back`](#gut-back)
34
+ * [`gut checkout BRANCH`](#gut-checkout-branch)
35
+ * [`gut commit`](#gut-commit)
36
+ * [`gut context`](#gut-context)
37
+ * [`gut contexts`](#gut-contexts)
38
+ * [`gut deps [ENTITY]`](#gut-deps-entity)
39
+ * [`gut entity add NAME TYPE`](#gut-entity-add-name-type)
40
+ * [`gut entity clone NAME`](#gut-entity-clone-name)
41
+ * [`gut entity clone-all`](#gut-entity-clone-all)
42
+ * [`gut entity list`](#gut-entity-list)
43
+ * [`gut entity remove NAME`](#gut-entity-remove-name)
44
+ * [`gut extract FOLDERPATH`](#gut-extract-folderpath)
45
+ * [`gut focus [ENTITYNAME] [ENTITYTYPEORNAME]`](#gut-focus-entityname-entitytypeorname)
46
+ * [`gut graph`](#gut-graph)
47
+ * [`gut help [COMMAND]`](#gut-help-command)
48
+ * [`gut init`](#gut-init)
49
+ * [`gut insights`](#gut-insights)
50
+ * [`gut patterns`](#gut-patterns)
51
+ * [`gut pull`](#gut-pull)
52
+ * [`gut push`](#gut-push)
53
+ * [`gut quick-setup`](#gut-quick-setup)
54
+ * [`gut recent`](#gut-recent)
55
+ * [`gut related [ENTITY]`](#gut-related-entity)
56
+ * [`gut repos`](#gut-repos)
57
+ * [`gut stack`](#gut-stack)
58
+ * [`gut status`](#gut-status)
59
+ * [`gut sync`](#gut-sync)
60
+ * [`gut ticket`](#gut-ticket)
61
+ * [`gut ticket focus TICKETID`](#gut-ticket-focus-ticketid)
62
+ * [`gut ticket get TICKETID`](#gut-ticket-get-ticketid)
63
+ * [`gut ticket hint [HINT] TICKETID`](#gut-ticket-hint-hint-ticketid)
64
+ * [`gut ticket list`](#gut-ticket-list)
65
+ * [`gut ticket sync TICKETID`](#gut-ticket-sync-ticketid)
66
+ * [`gut ticket update TICKETID`](#gut-ticket-update-ticketid)
67
+ * [`gut unfocus`](#gut-unfocus)
68
+ * [`gut used-by [ENTITY]`](#gut-used-by-entity)
69
+ * [`gut workspace ACTION`](#gut-workspace-action)
30
70
 
71
+ ## `gut add [PATH]`
72
+
73
+ Stage changes in focused entities
74
+
75
+ ```
76
+ USAGE
77
+ $ gut add [PATH] [-A] [-p]
78
+
79
+ ARGUMENTS
80
+ PATH [default: .] Path(s) to stage
81
+
82
+ FLAGS
83
+ -A, --all Stage all changes (equivalent to git add -A)
84
+ -p, --patch Interactive staging
85
+
86
+ DESCRIPTION
87
+ Stage changes in focused entities
88
+
89
+ EXAMPLES
90
+ $ gut add
91
+
92
+ $ gut add .
93
+
94
+ $ gut add src/
95
+
96
+ $ gut add --all
97
+ ```
98
+
99
+ ## `gut affected [ENTITY]`
100
+
101
+ Detect entities potentially affected by changes in current focus
102
+
103
+ ```
104
+ USAGE
105
+ $ gut affected [ENTITY] [--include-docs] [--include-tests] [-s <value>] [-v]
106
+
107
+ ARGUMENTS
108
+ ENTITY Entity to analyze (uses current focus if not provided)
109
+
110
+ FLAGS
111
+ -s, --since=<value> [default: HEAD~1] Git reference to compare against
112
+ -v, --verbose Show detailed analysis
113
+ --include-docs Include documentation changes in analysis
114
+ --include-tests Include test file changes in analysis
115
+
116
+ DESCRIPTION
117
+ Detect entities potentially affected by changes in current focus
118
+
119
+ EXAMPLES
120
+ $ gut affected
121
+
122
+ $ gut affected my-app
123
+
124
+ $ gut affected --since HEAD~5
125
+
126
+ $ gut affected --include-tests
127
+ ```
128
+
129
+ ## `gut audit`
130
+
131
+ Access and change audit across workspace
132
+
133
+ ```
134
+ USAGE
135
+ $ gut audit [-a] [--changes] [-c] [-e <value>] [--json] [-s]
136
+
137
+ FLAGS
138
+ -a, --access audit access patterns and permissions
139
+ -c, --compliance focus on compliance audit
140
+ -e, --entity=<value> audit specific entity
141
+ -s, --security focus on security audit
142
+ --changes audit recent changes and activity
143
+ --json output as JSON
144
+
145
+ DESCRIPTION
146
+ Access and change audit across workspace
147
+
148
+ EXAMPLES
149
+ $ gut audit
150
+
151
+ $ gut audit --entity mindtools
152
+
153
+ $ gut audit --security
154
+
155
+ $ gut audit --compliance
156
+ ```
157
+
158
+ ## `gut back`
159
+
160
+ Navigate back to the previous focus
161
+
162
+ ```
163
+ USAGE
164
+ $ gut back
165
+
166
+ DESCRIPTION
167
+ Navigate back to the previous focus
168
+
169
+ EXAMPLES
170
+ $ gut back
171
+ ```
172
+
173
+ ## `gut checkout BRANCH`
174
+
175
+ Checkout or create branches in focused repositories
176
+
177
+ ```
178
+ USAGE
179
+ $ gut checkout BRANCH [-b] [-f] [--from <value>]
180
+
181
+ ARGUMENTS
182
+ BRANCH Branch name to checkout or create
183
+
184
+ FLAGS
185
+ -b, --create-branch Create a new branch
186
+ -f, --force Force checkout (discard local changes)
187
+ --from=<value> Base branch to create from (use with -b)
188
+
189
+ DESCRIPTION
190
+ Checkout or create branches in focused repositories
191
+
192
+ EXAMPLES
193
+ $ gut checkout main
194
+
195
+ $ gut checkout -b feature/new-feature
196
+
197
+ $ gut checkout -b PRD-123 --from main
198
+ ```
199
+
200
+ ## `gut commit`
201
+
202
+ Commit changes in focused repositories
203
+
204
+ ```
205
+ USAGE
206
+ $ gut commit [-a] [--amend] [-m <value>]
207
+
208
+ FLAGS
209
+ -a, --all Stage all changes before committing
210
+ -m, --message=<value> Commit message
211
+ --amend Amend the previous commit
212
+
213
+ DESCRIPTION
214
+ Commit changes in focused repositories
215
+
216
+ EXAMPLES
217
+ $ gut commit -m "Fix bug"
218
+
219
+ $ gut commit --message "Add feature"
220
+
221
+ $ gut commit
222
+ ```
223
+
224
+ ## `gut context`
225
+
226
+ Show current focus context with entity details
227
+
228
+ ```
229
+ USAGE
230
+ $ gut context
231
+
232
+ DESCRIPTION
233
+ Show current focus context with entity details
234
+
235
+ EXAMPLES
236
+ $ gut context
237
+ ```
238
+
239
+ ## `gut contexts`
240
+
241
+ List all available contexts and focus history
242
+
243
+ ```
244
+ USAGE
245
+ $ gut contexts
246
+
247
+ DESCRIPTION
248
+ List all available contexts and focus history
249
+
250
+ EXAMPLES
251
+ $ gut contexts
252
+ ```
253
+
254
+ ## `gut deps [ENTITY]`
255
+
256
+ Show dependencies of current focus or specified entity
257
+
258
+ ```
259
+ USAGE
260
+ $ gut deps [ENTITY]
261
+
262
+ ARGUMENTS
263
+ ENTITY Entity name to analyze dependencies for
264
+
265
+ DESCRIPTION
266
+ Show dependencies of current focus or specified entity
267
+
268
+ EXAMPLES
269
+ $ gut deps
270
+
271
+ $ gut deps mindtools
272
+ ```
273
+
274
+ ## `gut entity add NAME TYPE`
275
+
276
+ Add a new entity to the workspace
277
+
278
+ ```
279
+ USAGE
280
+ $ gut entity add NAME TYPE -p <value> [-d <value>] [-r <value>] [--repo <value>]
281
+
282
+ ARGUMENTS
283
+ NAME Entity name
284
+ TYPE (client|prospect|company|initiative|system|delivery|module|service|tool) Entity type
285
+
286
+ FLAGS
287
+ -d, --description=<value> entity description
288
+ -p, --path=<value> (required) path to entity
289
+ -r, --remote=<value> git remote URL
290
+ --repo=<value> repository name (for GitLab/GitHub)
291
+
292
+ DESCRIPTION
293
+ Add a new entity to the workspace
294
+
295
+ EXAMPLES
296
+ $ gut entity add delivery my-app --path ./apps/my-app
297
+
298
+ $ gut entity add module my-lib --path ./libs/my-lib --remote git@github.com:org/my-lib.git
299
+ ```
300
+
301
+ ## `gut entity clone NAME`
302
+
303
+ Clone a specific entity from its repository
304
+
305
+ ```
306
+ USAGE
307
+ $ gut entity clone NAME [-b <value>] [-d <value>] [-f] [-p <value>]
308
+
309
+ ARGUMENTS
310
+ NAME Name of the entity to clone
311
+
312
+ FLAGS
313
+ -b, --branch=<value> [default: main] Branch to clone
314
+ -d, --depth=<value> Create a shallow clone with specified depth
315
+ -f, --force Force clone even if directory exists
316
+ -p, --path=<value> Custom path to clone to (relative to workspace)
317
+
318
+ DESCRIPTION
319
+ Clone a specific entity from its repository
320
+
321
+ EXAMPLES
322
+ $ gut entity clone my-app
323
+
324
+ $ gut entity clone my-app --branch develop
325
+
326
+ $ gut entity clone my-app --depth 1
327
+ ```
328
+
329
+ ## `gut entity clone-all`
330
+
331
+ Clone all configured entities from their repositories
332
+
333
+ ```
334
+ USAGE
335
+ $ gut entity clone-all [-b <value>] [-d <value>] [-f] [-p] [--skip-existing]
336
+
337
+ FLAGS
338
+ -b, --branch=<value> [default: main] Branch to clone for all entities
339
+ -d, --depth=<value> Create shallow clones with specified depth
340
+ -f, --force Force clone even if directories exist
341
+ -p, --parallel Clone entities in parallel
342
+ --skip-existing Skip entities that already exist
343
+
344
+ DESCRIPTION
345
+ Clone all configured entities from their repositories
346
+
347
+ EXAMPLES
348
+ $ gut entity clone-all
349
+
350
+ $ gut entity clone-all --parallel
351
+
352
+ $ gut entity clone-all --branch develop
353
+
354
+ $ gut entity clone-all --skip-existing
355
+ ```
356
+
357
+ ## `gut entity list`
358
+
359
+ List all configured entities
360
+
361
+ ```
362
+ USAGE
363
+ $ gut entity list [--json] [-t client|company|delivery|initiative|module|prospect|service|system|tool] [-v]
364
+
365
+ FLAGS
366
+ -t, --type=<option> filter by entity type
367
+ <options: client|company|delivery|initiative|module|prospect|service|system|tool>
368
+ -v, --verbose show detailed information
369
+ --json output as JSON
370
+
371
+ DESCRIPTION
372
+ List all configured entities
373
+
374
+ EXAMPLES
375
+ $ gut entity list
376
+
377
+ $ gut entity list --type delivery
378
+
379
+ $ gut entity list --json
380
+ ```
381
+
382
+ ## `gut entity remove NAME`
383
+
384
+ Remove an entity from the workspace configuration
385
+
386
+ ```
387
+ USAGE
388
+ $ gut entity remove NAME [-f]
389
+
390
+ ARGUMENTS
391
+ NAME Entity name to remove
392
+
393
+ FLAGS
394
+ -f, --force skip confirmation prompt
395
+
396
+ DESCRIPTION
397
+ Remove an entity from the workspace configuration
398
+
399
+ EXAMPLES
400
+ $ gut entity remove my-app
401
+
402
+ $ gut entity remove my-app --force
403
+ ```
404
+
405
+ ## `gut extract FOLDERPATH`
406
+
407
+ Extract a folder from the current repository into its own repository with full git history
408
+
409
+ ```
410
+ USAGE
411
+ $ gut extract FOLDERPATH [--dry-run] [-f] [--gitlab-token <value>] [--gitlab-url <value>] [--keep-temp]
412
+ [--project-path <value>] [--target-path <value>] [--temp-dir <value>]
413
+
414
+ ARGUMENTS
415
+ FOLDERPATH Path to the folder to extract from the current repository
416
+
417
+ FLAGS
418
+ -f, --force Force extraction even if target directory exists
419
+ --dry-run Show what would be done without actually doing it
420
+ --gitlab-token=<value> GitLab personal access token for creating projects
421
+ --gitlab-url=<value> [default: https://gitlab.com] GitLab instance URL
422
+ --keep-temp Keep temporary directory after extraction
423
+ --project-path=<value> GitLab project path (group/project-name)
424
+ --target-path=<value> [default: .] Target path in the new repository (default: same as source folder)
425
+ --temp-dir=<value> Custom temporary directory path
426
+
427
+ DESCRIPTION
428
+ Extract a folder from the current repository into its own repository with full git history
429
+
430
+ EXAMPLES
431
+ $ gut extract packages/my-package --gitlab-token <token> --project-path my-group/my-package
432
+
433
+ $ gut extract src/components --gitlab-token <token> --project-path my-group/frontend/components --target-path .
434
+
435
+ $ gut extract libs/shared --gitlab-token <token> --project-path company/backend/libs/shared-utils
436
+ ```
437
+
438
+ ## `gut focus [ENTITYNAME] [ENTITYTYPEORNAME]`
439
+
440
+ Set focus on one or more entities with optional type and mode
441
+
442
+ ```
443
+ USAGE
444
+ $ gut focus [ENTITYNAME...] [ENTITYTYPEORNAME...] [-c | -a | -m
445
+ delivery|strategy|audit|debug|research|proposal] [-d <value>] [-r]
446
+
447
+ ARGUMENTS
448
+ ENTITYNAME... Entity name (when first arg is entity type)
449
+ ENTITYTYPEORNAME... Entity type (client/prospect/company/initiative) or entity name
450
+
451
+ FLAGS
452
+ -a, --add add to current focus instead of replacing
453
+ -c, --clear clear current focus
454
+ -d, --duration=<value> focus duration (e.g., 2h, 90m)
455
+ -m, --mode=<option> focus mode (delivery, strategy, audit, debug, research, proposal)
456
+ <options: delivery|strategy|audit|debug|research|proposal>
457
+ -r, --remember remember current focus before switching
458
+
459
+ DESCRIPTION
460
+ Set focus on one or more entities with optional type and mode
461
+
462
+ EXAMPLES
463
+ $ gut focus my-app
464
+
465
+ $ gut focus client mindtools
466
+
467
+ $ gut focus client mindtools --mode delivery
468
+
469
+ $ gut focus prospect jazida --mode research
470
+
471
+ $ gut focus my-app auth-service
472
+
473
+ $ gut focus --clear
474
+ ```
475
+
476
+ ## `gut graph`
477
+
478
+ Visualize repository relationships and dependencies
479
+
480
+ ```
481
+ USAGE
482
+ $ gut graph [-d <value>] [--focus-only] [-f ascii|dot|json]
483
+
484
+ FLAGS
485
+ -d, --depth=<value> [default: 2] maximum depth of relationships to show
486
+ -f, --format=<option> [default: ascii] output format
487
+ <options: ascii|dot|json>
488
+ --focus-only show only focused entities and their relationships
489
+
490
+ DESCRIPTION
491
+ Visualize repository relationships and dependencies
492
+
493
+ EXAMPLES
494
+ $ gut graph
495
+
496
+ $ gut graph --format ascii
497
+
498
+ $ gut graph --focus-only
499
+ ```
500
+
501
+ ## `gut help [COMMAND]`
502
+
503
+ Display help for gut.
504
+
505
+ ```
506
+ USAGE
507
+ $ gut help [COMMAND...] [-n]
508
+
509
+ ARGUMENTS
510
+ COMMAND... Command to show help for.
511
+
512
+ FLAGS
513
+ -n, --nested-commands Include all nested commands in the output.
514
+
515
+ DESCRIPTION
516
+ Display help for gut.
517
+ ```
518
+
519
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.32/src/commands/help.ts)_
520
+
521
+ ## `gut init`
522
+
523
+ Initialize a gut workspace
524
+
525
+ ```
526
+ USAGE
527
+ $ gut init [-f] [-w <value>]
528
+
529
+ FLAGS
530
+ -f, --force force initialization even if already initialized
531
+ -w, --workspace=<value> [default: /builds/JOkrpDV8M/0/dev_squad/repo/cli/gut] workspace root directory
532
+
533
+ DESCRIPTION
534
+ Initialize a gut workspace
535
+
536
+ EXAMPLES
537
+ $ gut init
538
+
539
+ $ gut init --force
540
+ ```
541
+
542
+ ## `gut insights`
543
+
544
+ Display analytics and insights about the workspace
545
+
546
+ ```
547
+ USAGE
548
+ $ gut insights [-d] [-f table|json|summary] [--include-ignored]
549
+
550
+ FLAGS
551
+ -d, --detailed Show detailed statistics for each entity
552
+ -f, --format=<option> [default: table] Output format
553
+ <options: table|json|summary>
554
+ --include-ignored Include gitignored files in statistics
555
+
556
+ DESCRIPTION
557
+ Display analytics and insights about the workspace
558
+
559
+ EXAMPLES
560
+ $ gut insights
561
+
562
+ $ gut insights --detailed
563
+
564
+ $ gut insights --format json
565
+ ```
566
+
567
+ ## `gut patterns`
568
+
569
+ Show learned patterns for current context or entities
570
+
571
+ ```
572
+ USAGE
573
+ $ gut patterns [-e <value>] [--json] [-m delivery|strategy|audit|debug|research|proposal] [-t
574
+ client|prospect|company|initiative|system]
575
+
576
+ FLAGS
577
+ -e, --entity=<value> show patterns for specific entity
578
+ -m, --mode=<option> show patterns for focus mode
579
+ <options: delivery|strategy|audit|debug|research|proposal>
580
+ -t, --type=<option> show patterns for entity type
581
+ <options: client|prospect|company|initiative|system>
582
+ --json output as JSON
583
+
584
+ DESCRIPTION
585
+ Show learned patterns for current context or entities
586
+
587
+ EXAMPLES
588
+ $ gut patterns
589
+
590
+ $ gut patterns --entity mindtools
591
+
592
+ $ gut patterns --type client
593
+
594
+ $ gut patterns --mode strategy
595
+ ```
596
+
597
+ ## `gut pull`
598
+
599
+ Pull changes from remote repositories
600
+
601
+ ```
602
+ USAGE
603
+ $ gut pull [--all] [--no-commit] [-r]
604
+
605
+ FLAGS
606
+ -r, --rebase Rebase instead of merge
607
+ --all Fetch all remotes
608
+ --no-commit Perform merge but do not commit
609
+
610
+ DESCRIPTION
611
+ Pull changes from remote repositories
612
+
613
+ EXAMPLES
614
+ $ gut pull
615
+
616
+ $ gut pull --rebase
617
+
618
+ $ gut pull --all
619
+ ```
620
+
621
+ ## `gut push`
622
+
623
+ Push commits to remote repositories
624
+
625
+ ```
626
+ USAGE
627
+ $ gut push [-f] [-u] [--tags]
628
+
629
+ FLAGS
630
+ -f, --force Force push (use with caution)
631
+ -u, --set-upstream Set upstream branch
632
+ --tags Push tags
633
+
634
+ DESCRIPTION
635
+ Push commits to remote repositories
636
+
637
+ EXAMPLES
638
+ $ gut push
639
+
640
+ $ gut push --force
641
+
642
+ $ gut push --set-upstream
643
+ ```
644
+
645
+ ## `gut quick-setup`
646
+
647
+ Automated workspace setup based on common patterns
648
+
649
+ ```
650
+ USAGE
651
+ $ gut quick-setup [-a] [--clone-missing] [-p monorepo|microservices|fullstack|library] [--scan-depth <value>]
652
+
653
+ FLAGS
654
+ -a, --auto Auto-detect and configure without prompts
655
+ -p, --profile=<option> Use specific setup profile
656
+ <options: monorepo|microservices|fullstack|library>
657
+ --clone-missing Clone missing repositories if found
658
+ --scan-depth=<value> [default: 2] Directory depth to scan for entities
659
+
660
+ DESCRIPTION
661
+ Automated workspace setup based on common patterns
662
+
663
+ EXAMPLES
664
+ $ gut quick-setup
665
+
666
+ $ gut quick-setup --auto
667
+
668
+ $ gut quick-setup --profile monorepo
669
+
670
+ $ gut quick-setup --scan-depth 3
671
+ ```
672
+
673
+ ## `gut recent`
674
+
675
+ Show recent focus history
676
+
677
+ ```
678
+ USAGE
679
+ $ gut recent [-l <value>]
680
+
681
+ FLAGS
682
+ -l, --limit=<value> [default: 5] Number of recent items to show
683
+
684
+ DESCRIPTION
685
+ Show recent focus history
686
+
687
+ EXAMPLES
688
+ $ gut recent
689
+
690
+ $ gut recent --limit 10
691
+ ```
692
+
693
+ ## `gut related [ENTITY]`
694
+
695
+ Find entities related to a specific entity or current focus
696
+
697
+ ```
698
+ USAGE
699
+ $ gut related [ENTITY] [-d] [-t <value>] [--type all|dependencies|git|files]
700
+
701
+ ARGUMENTS
702
+ ENTITY Entity name (uses current focus if not provided)
703
+
704
+ FLAGS
705
+ -d, --detailed Show detailed relation information
706
+ -t, --threshold=<value> [default: 0.2] Minimum relation score (0-1)
707
+ --type=<option> [default: all] Type of relation to check
708
+ <options: all|dependencies|git|files>
709
+
710
+ DESCRIPTION
711
+ Find entities related to a specific entity or current focus
712
+
713
+ EXAMPLES
714
+ $ gut related my-app
715
+
716
+ $ gut related --threshold 0.3
717
+
718
+ $ gut related --type dependencies
719
+ ```
720
+
721
+ ## `gut repos`
722
+
723
+ List accessible repositories in the workspace
724
+
725
+ ```
726
+ USAGE
727
+ $ gut repos [-a] [--json] [-s] [-t client|prospect|company|initiative|system|delivery|module|service|tool]
728
+
729
+ FLAGS
730
+ -a, --accessible show only accessible repositories (with valid paths)
731
+ -s, --status show git status for each repository
732
+ -t, --type=<option> filter by entity type
733
+ <options: client|prospect|company|initiative|system|delivery|module|service|tool>
734
+ --json output as JSON
735
+
736
+ DESCRIPTION
737
+ List accessible repositories in the workspace
738
+
739
+ EXAMPLES
740
+ $ gut repos
741
+
742
+ $ gut repos --type client
743
+
744
+ $ gut repos --status
745
+
746
+ $ gut repos --json
747
+ ```
748
+
749
+ ## `gut stack`
750
+
751
+ Show and manage the focus stack
752
+
753
+ ```
754
+ USAGE
755
+ $ gut stack [-c]
756
+
757
+ FLAGS
758
+ -c, --clear clear the focus stack
759
+
760
+ DESCRIPTION
761
+ Show and manage the focus stack
762
+
763
+ EXAMPLES
764
+ $ gut stack
765
+
766
+ $ gut stack --clear
767
+ ```
768
+
769
+ ## `gut status`
770
+
771
+ Show git status for focused entities
772
+
773
+ ```
774
+ USAGE
775
+ $ gut status [-a] [--json] [-v]
776
+
777
+ FLAGS
778
+ -a, --all show status for all entities
779
+ -v, --verbose show detailed status
780
+ --json output as JSON
781
+
782
+ DESCRIPTION
783
+ Show git status for focused entities
784
+
785
+ EXAMPLES
786
+ $ gut status
787
+
788
+ $ gut status --all
789
+
790
+ $ gut status --verbose
791
+ ```
792
+
793
+ ## `gut sync`
794
+
795
+ Synchronize repositories with remote (fetch, merge/rebase, push)
796
+
797
+ ```
798
+ USAGE
799
+ $ gut sync [-f] [--no-push] [-r]
800
+
801
+ FLAGS
802
+ -f, --force Force push after sync
803
+ -r, --rebase Use rebase instead of merge
804
+ --no-push Skip the push step
805
+
806
+ DESCRIPTION
807
+ Synchronize repositories with remote (fetch, merge/rebase, push)
808
+
809
+ EXAMPLES
810
+ $ gut sync
811
+
812
+ $ gut sync --rebase
813
+
814
+ $ gut sync --force
815
+ ```
816
+
817
+ ## `gut ticket`
818
+
819
+ Manage gut tickets from the ADHB (Autonomous Development with Human Backstop) system
820
+
821
+ ```
822
+ USAGE
823
+ $ gut ticket [-h]
824
+
825
+ FLAGS
826
+ -h, --help Show CLI help.
827
+
828
+ DESCRIPTION
829
+ Manage gut tickets from the ADHB (Autonomous Development with Human Backstop) system
830
+
831
+ EXAMPLES
832
+ $ gut ticket list
833
+
834
+ $ gut ticket get PROJ-1234
835
+
836
+ $ gut ticket focus PROJ-1234
837
+
838
+ $ gut ticket hint PROJ-1234 "Check the config file"
839
+
840
+ $ gut ticket sync PROJ-1234
841
+
842
+ $ gut ticket update PROJ-1234 --status in_progress
843
+ ```
844
+
845
+ ## `gut ticket focus TICKETID`
846
+
847
+ Focus on a ticket - downloads manifest and clones required entities
848
+
849
+ ```
850
+ USAGE
851
+ $ gut ticket focus TICKETID [-c] [-j] [-m] [-o <value>]
852
+
853
+ ARGUMENTS
854
+ TICKETID ticket ID to focus on (e.g., PROJ-1234)
855
+
856
+ FLAGS
857
+ -c, --checkout checkout the ticket branch after cloning
858
+ -j, --json output as JSON
859
+ -m, --manifest-only only download manifest, do not clone entities
860
+ -o, --output=<value> output directory for manifest (default: focus/)
861
+
862
+ DESCRIPTION
863
+ Focus on a ticket - downloads manifest and clones required entities
864
+
865
+ EXAMPLES
866
+ $ gut ticket focus PROJ-1234
867
+
868
+ $ gut ticket focus PROJ-1234 --checkout
869
+
870
+ $ gut ticket focus PROJ-1234 --manifest-only
871
+
872
+ $ gut ticket focus PROJ-1234 --output ./my-ticket
873
+ ```
874
+
875
+ ## `gut ticket get TICKETID`
876
+
877
+ Get details for a gut ticket
878
+
879
+ ```
880
+ USAGE
881
+ $ gut ticket get TICKETID [-j]
882
+
883
+ ARGUMENTS
884
+ TICKETID ticket ID (e.g., PROJ-1234)
885
+
886
+ FLAGS
887
+ -j, --json output as JSON
888
+
889
+ DESCRIPTION
890
+ Get details for a gut ticket
891
+
892
+ EXAMPLES
893
+ $ gut ticket get PROJ-1234
894
+
895
+ $ gut ticket get PROJ-1234 --json
896
+ ```
897
+
898
+ ## `gut ticket hint [HINT] TICKETID`
899
+
900
+ Add a hint to a blocked or needs_clarity ticket to help AI retry
901
+
902
+ ```
903
+ USAGE
904
+ $ gut ticket hint [HINT] TICKETID [-e] [-g <value>] [-j]
905
+
906
+ ARGUMENTS
907
+ HINT hint text to add (if not provided, will prompt)
908
+ TICKETID ticket ID to add hint to
909
+
910
+ FLAGS
911
+ -e, --editor open editor for hint text
912
+ -g, --given-by=<value> [default: human] identifier of who is giving the hint
913
+ -j, --json output as JSON
914
+
915
+ DESCRIPTION
916
+ Add a hint to a blocked or needs_clarity ticket to help AI retry
917
+
918
+ EXAMPLES
919
+ $ gut ticket hint PROJ-1234 "The auth token is in the Authorization header"
920
+
921
+ $ gut ticket hint PROJ-1234 --editor
922
+
923
+ $ gut ticket hint PROJ-1234
924
+ ```
925
+
926
+ ## `gut ticket list`
927
+
928
+ List gut tickets
929
+
930
+ ```
931
+ USAGE
932
+ $ gut ticket list [-j] [-l <value>] [-s
933
+ enriching|needs_clarity|ready|in_progress|testing|in_review|blocked|ready_to_merge|deploying|validating|done]
934
+
935
+ FLAGS
936
+ -j, --json output as JSON
937
+ -l, --limit=<value> [default: 20] maximum number of tickets to show
938
+ -s, --status=<option> filter by status (enriching, needs_clarity, ready, in_progress, testing, in_review, blocked,
939
+ ready_to_merge, deploying, validating, done)
940
+ <options: enriching|needs_clarity|ready|in_progress|testing|in_review|blocked|ready_to_merge|de
941
+ ploying|validating|done>
942
+
943
+ DESCRIPTION
944
+ List gut tickets
945
+
946
+ EXAMPLES
947
+ $ gut ticket list
948
+
949
+ $ gut ticket list --status ready
950
+
951
+ $ gut ticket list --status blocked --limit 10
952
+
953
+ $ gut ticket list --json
954
+ ```
955
+
956
+ ## `gut ticket sync TICKETID`
957
+
958
+ Sync ticket state with external source (JIRA, GitHub, etc.)
959
+
960
+ ```
961
+ USAGE
962
+ $ gut ticket sync TICKETID [-d push|pull] [-j]
963
+
964
+ ARGUMENTS
965
+ TICKETID ticket ID to sync
966
+
967
+ FLAGS
968
+ -d, --direction=<option> [default: push] sync direction (push: gut -> source, pull: source -> gut)
969
+ <options: push|pull>
970
+ -j, --json output as JSON
971
+
972
+ DESCRIPTION
973
+ Sync ticket state with external source (JIRA, GitHub, etc.)
974
+
975
+ EXAMPLES
976
+ $ gut ticket sync PROJ-1234
977
+
978
+ $ gut ticket sync PROJ-1234 --direction push
979
+
980
+ $ gut ticket sync PROJ-1234 --direction pull
981
+ ```
982
+
983
+ ## `gut ticket update TICKETID`
984
+
985
+ Update a ticket status or confidence
986
+
987
+ ```
988
+ USAGE
989
+ $ gut ticket update TICKETID [-c <value>] [-j] [-p
990
+ enrichment|planning|implementation|testing|review|merge|deployment|validation] [-s
991
+ enriching|needs_clarity|ready|in_progress|testing|in_review|blocked|ready_to_merge|deploying|validating|done]
992
+
993
+ ARGUMENTS
994
+ TICKETID ticket ID to update
995
+
996
+ FLAGS
997
+ -c, --confidence=<value> new confidence score (0-100)
998
+ -j, --json output as JSON
999
+ -p, --phase=<option> new workflow phase
1000
+ <options: enrichment|planning|implementation|testing|review|merge|deployment|validation>
1001
+ -s, --status=<option> new ticket status (enriching, needs_clarity, ready, in_progress, testing, in_review,
1002
+ blocked, ready_to_merge, deploying, validating, done)
1003
+ <options: enriching|needs_clarity|ready|in_progress|testing|in_review|blocked|ready_to_merge
1004
+ |deploying|validating|done>
1005
+
1006
+ DESCRIPTION
1007
+ Update a ticket status or confidence
1008
+
1009
+ EXAMPLES
1010
+ $ gut ticket update PROJ-1234 --status in_progress
1011
+
1012
+ $ gut ticket update PROJ-1234 --status testing --confidence 85
1013
+
1014
+ $ gut ticket update PROJ-1234 --phase implementation
1015
+ ```
1016
+
1017
+ ## `gut unfocus`
1018
+
1019
+ Clear the current focus
1020
+
1021
+ ```
1022
+ USAGE
1023
+ $ gut unfocus
1024
+
1025
+ DESCRIPTION
1026
+ Clear the current focus
1027
+
1028
+ EXAMPLES
1029
+ $ gut unfocus
1030
+ ```
1031
+
1032
+ ## `gut used-by [ENTITY]`
1033
+
1034
+ Show what entities depend on current focus or specified entity
1035
+
1036
+ ```
1037
+ USAGE
1038
+ $ gut used-by [ENTITY]
1039
+
1040
+ ARGUMENTS
1041
+ ENTITY Entity name to analyze usage for
1042
+
1043
+ DESCRIPTION
1044
+ Show what entities depend on current focus or specified entity
1045
+
1046
+ EXAMPLES
1047
+ $ gut used-by
1048
+
1049
+ $ gut used-by api
1050
+ ```
1051
+
1052
+ ## `gut workspace ACTION`
1053
+
1054
+ Manage workspace structure and entity metadata
1055
+
1056
+ ```
1057
+ USAGE
1058
+ $ gut workspace ACTION [-t client|prospect|company|initiative|system] [-f]
1059
+
1060
+ ARGUMENTS
1061
+ ACTION (init|structure|generate-metadata) Action to perform (init, structure, generate-metadata)
1062
+
1063
+ FLAGS
1064
+ -f, --force force overwrite existing files
1065
+ -t, --entity-type=<option> entity type for metadata generation
1066
+ <options: client|prospect|company|initiative|system>
1067
+
1068
+ DESCRIPTION
1069
+ Manage workspace structure and entity metadata
1070
+
1071
+ EXAMPLES
1072
+ $ gut workspace init
1073
+
1074
+ $ gut workspace structure
1075
+
1076
+ $ gut workspace generate-metadata
1077
+ ```
31
1078
  <!-- commandsstop -->