shipwright-cli 1.10.0 → 2.0.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 (108) hide show
  1. package/README.md +114 -36
  2. package/completions/_shipwright +212 -32
  3. package/completions/shipwright.bash +97 -25
  4. package/docs/strategy/01-market-research.md +619 -0
  5. package/docs/strategy/02-mission-and-brand.md +587 -0
  6. package/docs/strategy/03-gtm-and-roadmap.md +759 -0
  7. package/docs/strategy/QUICK-START.txt +289 -0
  8. package/docs/strategy/README.md +172 -0
  9. package/package.json +4 -2
  10. package/scripts/sw +208 -1
  11. package/scripts/sw-activity.sh +500 -0
  12. package/scripts/sw-adaptive.sh +925 -0
  13. package/scripts/sw-adversarial.sh +1 -1
  14. package/scripts/sw-architecture-enforcer.sh +1 -1
  15. package/scripts/sw-auth.sh +613 -0
  16. package/scripts/sw-autonomous.sh +664 -0
  17. package/scripts/sw-changelog.sh +704 -0
  18. package/scripts/sw-checkpoint.sh +1 -1
  19. package/scripts/sw-ci.sh +602 -0
  20. package/scripts/sw-cleanup.sh +1 -1
  21. package/scripts/sw-code-review.sh +637 -0
  22. package/scripts/sw-connect.sh +1 -1
  23. package/scripts/sw-context.sh +605 -0
  24. package/scripts/sw-cost.sh +1 -1
  25. package/scripts/sw-daemon.sh +432 -130
  26. package/scripts/sw-dashboard.sh +1 -1
  27. package/scripts/sw-db.sh +540 -0
  28. package/scripts/sw-decompose.sh +539 -0
  29. package/scripts/sw-deps.sh +551 -0
  30. package/scripts/sw-developer-simulation.sh +1 -1
  31. package/scripts/sw-discovery.sh +412 -0
  32. package/scripts/sw-docs-agent.sh +539 -0
  33. package/scripts/sw-docs.sh +1 -1
  34. package/scripts/sw-doctor.sh +59 -1
  35. package/scripts/sw-dora.sh +615 -0
  36. package/scripts/sw-durable.sh +710 -0
  37. package/scripts/sw-e2e-orchestrator.sh +535 -0
  38. package/scripts/sw-eventbus.sh +393 -0
  39. package/scripts/sw-feedback.sh +471 -0
  40. package/scripts/sw-fix.sh +1 -1
  41. package/scripts/sw-fleet-discover.sh +567 -0
  42. package/scripts/sw-fleet-viz.sh +404 -0
  43. package/scripts/sw-fleet.sh +8 -1
  44. package/scripts/sw-github-app.sh +596 -0
  45. package/scripts/sw-github-checks.sh +1 -1
  46. package/scripts/sw-github-deploy.sh +1 -1
  47. package/scripts/sw-github-graphql.sh +1 -1
  48. package/scripts/sw-guild.sh +569 -0
  49. package/scripts/sw-heartbeat.sh +1 -1
  50. package/scripts/sw-hygiene.sh +559 -0
  51. package/scripts/sw-incident.sh +617 -0
  52. package/scripts/sw-init.sh +88 -1
  53. package/scripts/sw-instrument.sh +699 -0
  54. package/scripts/sw-intelligence.sh +1 -1
  55. package/scripts/sw-jira.sh +1 -1
  56. package/scripts/sw-launchd.sh +363 -28
  57. package/scripts/sw-linear.sh +1 -1
  58. package/scripts/sw-logs.sh +1 -1
  59. package/scripts/sw-loop.sh +64 -3
  60. package/scripts/sw-memory.sh +1 -1
  61. package/scripts/sw-mission-control.sh +487 -0
  62. package/scripts/sw-model-router.sh +545 -0
  63. package/scripts/sw-otel.sh +596 -0
  64. package/scripts/sw-oversight.sh +689 -0
  65. package/scripts/sw-pipeline-composer.sh +1 -1
  66. package/scripts/sw-pipeline-vitals.sh +1 -1
  67. package/scripts/sw-pipeline.sh +687 -24
  68. package/scripts/sw-pm.sh +693 -0
  69. package/scripts/sw-pr-lifecycle.sh +522 -0
  70. package/scripts/sw-predictive.sh +1 -1
  71. package/scripts/sw-prep.sh +1 -1
  72. package/scripts/sw-ps.sh +1 -1
  73. package/scripts/sw-public-dashboard.sh +798 -0
  74. package/scripts/sw-quality.sh +595 -0
  75. package/scripts/sw-reaper.sh +1 -1
  76. package/scripts/sw-recruit.sh +573 -0
  77. package/scripts/sw-regression.sh +642 -0
  78. package/scripts/sw-release-manager.sh +736 -0
  79. package/scripts/sw-release.sh +706 -0
  80. package/scripts/sw-remote.sh +1 -1
  81. package/scripts/sw-replay.sh +520 -0
  82. package/scripts/sw-retro.sh +691 -0
  83. package/scripts/sw-scale.sh +444 -0
  84. package/scripts/sw-security-audit.sh +505 -0
  85. package/scripts/sw-self-optimize.sh +1 -1
  86. package/scripts/sw-session.sh +1 -1
  87. package/scripts/sw-setup.sh +1 -1
  88. package/scripts/sw-standup.sh +712 -0
  89. package/scripts/sw-status.sh +1 -1
  90. package/scripts/sw-strategic.sh +658 -0
  91. package/scripts/sw-stream.sh +450 -0
  92. package/scripts/sw-swarm.sh +583 -0
  93. package/scripts/sw-team-stages.sh +511 -0
  94. package/scripts/sw-templates.sh +1 -1
  95. package/scripts/sw-testgen.sh +515 -0
  96. package/scripts/sw-tmux-pipeline.sh +554 -0
  97. package/scripts/sw-tmux.sh +1 -1
  98. package/scripts/sw-trace.sh +485 -0
  99. package/scripts/sw-tracker-github.sh +188 -0
  100. package/scripts/sw-tracker-jira.sh +172 -0
  101. package/scripts/sw-tracker-linear.sh +251 -0
  102. package/scripts/sw-tracker.sh +117 -2
  103. package/scripts/sw-triage.sh +603 -0
  104. package/scripts/sw-upgrade.sh +1 -1
  105. package/scripts/sw-ux.sh +677 -0
  106. package/scripts/sw-webhook.sh +627 -0
  107. package/scripts/sw-widgets.sh +530 -0
  108. package/scripts/sw-worktree.sh +1 -1
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
  # ╔═══════════════════════════════════════════════════════════════════════════╗
3
3
  # ║ Shipwright — Bash tab completions ║
4
+ # ║ Auto-install to ~/.local/share/bash-completion/completions/ during init║
4
5
  # ╚═══════════════════════════════════════════════════════════════════════════╝
5
- # Source this file or place it in /usr/local/etc/bash_completion.d/
6
6
 
7
7
  _shipwright_completions() {
8
8
  local cur prev
@@ -10,7 +10,7 @@ _shipwright_completions() {
10
10
  prev="${COMP_WORDS[COMP_CWORD-1]}"
11
11
 
12
12
  # Top-level commands
13
- local commands="session status ps logs templates doctor cleanup reaper upgrade loop pipeline worktree prep daemon memory cost init help version"
13
+ local commands="init setup session status ps logs templates doctor cleanup reaper upgrade loop pipeline worktree prep daemon fleet memory cost db fix dashboard jira linear tracker heartbeat checkpoint webhook decompose connect remote launchd intelligence optimize predict adversarial simulate architecture vitals docs tmux github checks deploys pr context help version"
14
14
 
15
15
  case "$prev" in
16
16
  shipwright|sw|cct)
@@ -18,47 +18,87 @@ _shipwright_completions() {
18
18
  return 0
19
19
  ;;
20
20
  pipeline)
21
- COMPREPLY=( $(compgen -W "start resume status abort list show test" -- "$cur") )
21
+ COMPREPLY=( $(compgen -W "start resume status test" -- "$cur") )
22
22
  return 0
23
23
  ;;
24
24
  daemon)
25
- COMPREPLY=( $(compgen -W "start stop status metrics triage patrol test logs init" -- "$cur") )
25
+ COMPREPLY=( $(compgen -W "start stop status metrics test" -- "$cur") )
26
+ return 0
27
+ ;;
28
+ fleet)
29
+ COMPREPLY=( $(compgen -W "start stop status metrics test" -- "$cur") )
26
30
  return 0
27
31
  ;;
28
32
  memory)
29
- COMPREPLY=( $(compgen -W "show search forget export import stats test" -- "$cur") )
33
+ COMPREPLY=( $(compgen -W "show search stats" -- "$cur") )
30
34
  return 0
31
35
  ;;
32
36
  cost)
33
- COMPREPLY=( $(compgen -W "show budget record calculate check-budget" -- "$cur") )
37
+ COMPREPLY=( $(compgen -W "show budget" -- "$cur") )
34
38
  return 0
35
39
  ;;
36
40
  templates)
37
41
  COMPREPLY=( $(compgen -W "list show" -- "$cur") )
38
42
  return 0
39
43
  ;;
40
- prep)
41
- COMPREPLY=( $(compgen -W "--check --with-claude --verbose" -- "$cur") )
44
+ worktree)
45
+ COMPREPLY=( $(compgen -W "create list remove" -- "$cur") )
46
+ return 0
47
+ ;;
48
+ tracker)
49
+ COMPREPLY=( $(compgen -W "init status sync test" -- "$cur") )
50
+ return 0
51
+ ;;
52
+ heartbeat)
53
+ COMPREPLY=( $(compgen -W "write check list clear" -- "$cur") )
54
+ return 0
55
+ ;;
56
+ checkpoint)
57
+ COMPREPLY=( $(compgen -W "save restore list delete" -- "$cur") )
58
+ return 0
59
+ ;;
60
+ connect)
61
+ COMPREPLY=( $(compgen -W "start stop join status" -- "$cur") )
62
+ return 0
63
+ ;;
64
+ remote)
65
+ COMPREPLY=( $(compgen -W "list add remove status test" -- "$cur") )
66
+ return 0
67
+ ;;
68
+ launchd)
69
+ COMPREPLY=( $(compgen -W "install uninstall status test" -- "$cur") )
70
+ return 0
71
+ ;;
72
+ dashboard)
73
+ COMPREPLY=( $(compgen -W "start stop status" -- "$cur") )
74
+ return 0
75
+ ;;
76
+ github)
77
+ COMPREPLY=( $(compgen -W "context security blame" -- "$cur") )
78
+ return 0
79
+ ;;
80
+ checks)
81
+ COMPREPLY=( $(compgen -W "list status test" -- "$cur") )
42
82
  return 0
43
83
  ;;
44
- loop)
45
- COMPREPLY=( $(compgen -W "--test-cmd --max-iterations --model --agents --audit --audit-agent --quality-gates --definition-of-done --resume --skip-permissions" -- "$cur") )
84
+ deploys)
85
+ COMPREPLY=( $(compgen -W "list status test" -- "$cur") )
46
86
  return 0
47
87
  ;;
48
- logs)
49
- COMPREPLY=( $(compgen -W "--follow --lines" -- "$cur") )
88
+ docs)
89
+ COMPREPLY=( $(compgen -W "check sync wiki report test" -- "$cur") )
50
90
  return 0
51
91
  ;;
52
- cleanup)
53
- COMPREPLY=( $(compgen -W "--force" -- "$cur") )
92
+ tmux)
93
+ COMPREPLY=( $(compgen -W "doctor install fix reload test" -- "$cur") )
54
94
  return 0
55
95
  ;;
56
- upgrade)
57
- COMPREPLY=( $(compgen -W "--apply" -- "$cur") )
96
+ decompose)
97
+ COMPREPLY=( $(compgen -W "analyze create-subtasks" -- "$cur") )
58
98
  return 0
59
99
  ;;
60
- reaper)
61
- COMPREPLY=( $(compgen -W "--watch" -- "$cur") )
100
+ pr)
101
+ COMPREPLY=( $(compgen -W "review merge cleanup feedback" -- "$cur") )
62
102
  return 0
63
103
  ;;
64
104
  budget)
@@ -70,13 +110,45 @@ _shipwright_completions() {
70
110
  # Flags for subcommands already handled above; fall back to commands
71
111
  if [[ "$cur" == -* ]]; then
72
112
  case "${COMP_WORDS[1]}" in
73
- prep) COMPREPLY=( $(compgen -W "--check --with-claude --verbose" -- "$cur") ) ;;
74
- loop) COMPREPLY=( $(compgen -W "--test-cmd --max-iterations --model --agents --audit --audit-agent --quality-gates --definition-of-done --resume --skip-permissions" -- "$cur") ) ;;
75
- logs) COMPREPLY=( $(compgen -W "--follow --lines" -- "$cur") ) ;;
76
- cleanup) COMPREPLY=( $(compgen -W "--force" -- "$cur") ) ;;
77
- upgrade) COMPREPLY=( $(compgen -W "--apply" -- "$cur") ) ;;
78
- reaper) COMPREPLY=( $(compgen -W "--watch" -- "$cur") ) ;;
79
- cost) COMPREPLY=( $(compgen -W "--period --json --by-stage --by-issue" -- "$cur") ) ;;
113
+ pipeline)
114
+ COMPREPLY=( $(compgen -W "--issue --goal --worktree --template --skip-gates" -- "$cur") )
115
+ ;;
116
+ prep)
117
+ COMPREPLY=( $(compgen -W "--check --with-claude --verbose" -- "$cur") )
118
+ ;;
119
+ loop)
120
+ COMPREPLY=( $(compgen -W "--test-cmd --max-iterations --model --agents --audit --audit-agent --quality-gates --definition-of-done --resume --skip-permissions" -- "$cur") )
121
+ ;;
122
+ fix)
123
+ COMPREPLY=( $(compgen -W "--repos" -- "$cur") )
124
+ ;;
125
+ logs)
126
+ COMPREPLY=( $(compgen -W "--follow --lines --grep" -- "$cur") )
127
+ ;;
128
+ cleanup)
129
+ COMPREPLY=( $(compgen -W "--force" -- "$cur") )
130
+ ;;
131
+ upgrade)
132
+ COMPREPLY=( $(compgen -W "--apply" -- "$cur") )
133
+ ;;
134
+ reaper)
135
+ COMPREPLY=( $(compgen -W "--watch" -- "$cur") )
136
+ ;;
137
+ status)
138
+ COMPREPLY=( $(compgen -W "--json" -- "$cur") )
139
+ ;;
140
+ doctor)
141
+ COMPREPLY=( $(compgen -W "--json" -- "$cur") )
142
+ ;;
143
+ remote)
144
+ COMPREPLY=( $(compgen -W "--host --port --key --user" -- "$cur") )
145
+ ;;
146
+ connect)
147
+ COMPREPLY=( $(compgen -W "--token" -- "$cur") )
148
+ ;;
149
+ cost)
150
+ COMPREPLY=( $(compgen -W "--period --json --by-stage" -- "$cur") )
151
+ ;;
80
152
  esac
81
153
  return 0
82
154
  fi