shipwright-cli 1.9.0 → 1.10.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 (53) hide show
  1. package/.claude/hooks/post-tool-use.sh +12 -5
  2. package/package.json +2 -2
  3. package/scripts/sw +9 -1
  4. package/scripts/sw-adversarial.sh +1 -1
  5. package/scripts/sw-architecture-enforcer.sh +1 -1
  6. package/scripts/sw-checkpoint.sh +79 -1
  7. package/scripts/sw-cleanup.sh +192 -7
  8. package/scripts/sw-connect.sh +1 -1
  9. package/scripts/sw-cost.sh +1 -1
  10. package/scripts/sw-daemon.sh +409 -37
  11. package/scripts/sw-dashboard.sh +1 -1
  12. package/scripts/sw-developer-simulation.sh +1 -1
  13. package/scripts/sw-docs.sh +1 -1
  14. package/scripts/sw-doctor.sh +1 -1
  15. package/scripts/sw-fix.sh +1 -1
  16. package/scripts/sw-fleet.sh +1 -1
  17. package/scripts/sw-github-checks.sh +1 -1
  18. package/scripts/sw-github-deploy.sh +1 -1
  19. package/scripts/sw-github-graphql.sh +1 -1
  20. package/scripts/sw-heartbeat.sh +1 -1
  21. package/scripts/sw-init.sh +1 -1
  22. package/scripts/sw-intelligence.sh +1 -1
  23. package/scripts/sw-jira.sh +1 -1
  24. package/scripts/sw-launchd.sh +4 -4
  25. package/scripts/sw-linear.sh +1 -1
  26. package/scripts/sw-logs.sh +1 -1
  27. package/scripts/sw-loop.sh +444 -49
  28. package/scripts/sw-memory.sh +198 -3
  29. package/scripts/sw-pipeline-composer.sh +8 -8
  30. package/scripts/sw-pipeline-vitals.sh +1096 -0
  31. package/scripts/sw-pipeline.sh +1692 -84
  32. package/scripts/sw-predictive.sh +1 -1
  33. package/scripts/sw-prep.sh +1 -1
  34. package/scripts/sw-ps.sh +4 -3
  35. package/scripts/sw-reaper.sh +5 -3
  36. package/scripts/sw-remote.sh +1 -1
  37. package/scripts/sw-self-optimize.sh +109 -8
  38. package/scripts/sw-session.sh +31 -9
  39. package/scripts/sw-setup.sh +1 -1
  40. package/scripts/sw-status.sh +192 -1
  41. package/scripts/sw-templates.sh +1 -1
  42. package/scripts/sw-tmux.sh +1 -1
  43. package/scripts/sw-tracker.sh +1 -1
  44. package/scripts/sw-upgrade.sh +1 -1
  45. package/scripts/sw-worktree.sh +1 -1
  46. package/templates/pipelines/autonomous.json +8 -1
  47. package/templates/pipelines/cost-aware.json +21 -0
  48. package/templates/pipelines/deployed.json +40 -6
  49. package/templates/pipelines/enterprise.json +16 -2
  50. package/templates/pipelines/fast.json +19 -0
  51. package/templates/pipelines/full.json +16 -2
  52. package/templates/pipelines/hotfix.json +19 -0
  53. package/templates/pipelines/standard.json +19 -0
@@ -6,17 +6,37 @@
6
6
  "model": "opus",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  { "id": "intake", "enabled": true, "gate": "auto", "config": {} },
11
- { "id": "plan", "enabled": true, "gate": "auto", "config": { "model": "opus" } },
12
- { "id": "design", "enabled": true, "gate": "auto", "config": { "model": "opus" } },
16
+ {
17
+ "id": "plan",
18
+ "enabled": true,
19
+ "gate": "auto",
20
+ "config": { "model": "opus" }
21
+ },
22
+ {
23
+ "id": "design",
24
+ "enabled": true,
25
+ "gate": "auto",
26
+ "config": { "model": "opus" }
27
+ },
13
28
  {
14
29
  "id": "build",
15
30
  "enabled": true,
16
31
  "gate": "auto",
17
32
  "config": { "max_iterations": 20, "audit": true, "quality_gates": true }
18
33
  },
19
- { "id": "test", "enabled": true, "gate": "auto", "config": { "coverage_min": 80 } },
34
+ {
35
+ "id": "test",
36
+ "enabled": true,
37
+ "gate": "auto",
38
+ "config": { "coverage_min": 80 }
39
+ },
20
40
  { "id": "review", "enabled": true, "gate": "auto", "config": {} },
21
41
  {
22
42
  "id": "compound_quality",
@@ -27,10 +47,17 @@
27
47
  "negative": true,
28
48
  "e2e": true,
29
49
  "dod_audit": true,
30
- "max_cycles": 3
50
+ "max_cycles": 3,
51
+ "audit_intensity": "auto",
52
+ "compound_quality_blocking": true
31
53
  }
32
54
  },
33
- { "id": "pr", "enabled": true, "gate": "auto", "config": { "wait_ci": false } },
55
+ {
56
+ "id": "pr",
57
+ "enabled": true,
58
+ "gate": "auto",
59
+ "config": { "wait_ci": false }
60
+ },
34
61
  {
35
62
  "id": "merge",
36
63
  "enabled": true,
@@ -48,7 +75,14 @@
48
75
  "config": {
49
76
  "staging_cmd": "__STAGING_CMD__",
50
77
  "production_cmd": "__PRODUCTION_CMD__",
51
- "rollback_cmd": "__ROLLBACK_CMD__"
78
+ "rollback_cmd": "__ROLLBACK_CMD__",
79
+ "deploy_strategy": "direct",
80
+ "canary_cmd": "__CANARY_CMD__",
81
+ "promote_cmd": "__PROMOTE_CMD__",
82
+ "switch_cmd": "__SWITCH_CMD__",
83
+ "health_url": "__HEALTH_URL__",
84
+ "pre_deploy_ci_status": true,
85
+ "pre_deploy_min_coverage": 80
52
86
  }
53
87
  },
54
88
  {
@@ -6,6 +6,11 @@
6
6
  "model": "opus",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  {
11
16
  "id": "intake",
@@ -57,7 +62,9 @@
57
62
  "e2e": true,
58
63
  "dod_audit": true,
59
64
  "max_cycles": 5,
60
- "strict_quality": true
65
+ "strict_quality": true,
66
+ "audit_intensity": "auto",
67
+ "compound_quality_blocking": true
61
68
  }
62
69
  },
63
70
  {
@@ -83,7 +90,14 @@
83
90
  "config": {
84
91
  "staging_cmd": "",
85
92
  "production_cmd": "",
86
- "rollback_cmd": ""
93
+ "rollback_cmd": "",
94
+ "deploy_strategy": "direct",
95
+ "canary_cmd": "__CANARY_CMD__",
96
+ "promote_cmd": "__PROMOTE_CMD__",
97
+ "switch_cmd": "__SWITCH_CMD__",
98
+ "health_url": "__HEALTH_URL__",
99
+ "pre_deploy_ci_status": true,
100
+ "pre_deploy_min_coverage": 80
87
101
  }
88
102
  },
89
103
  {
@@ -6,6 +6,11 @@
6
6
  "model": "sonnet",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  {
11
16
  "id": "intake",
@@ -41,6 +46,20 @@
41
46
  "gate": "auto",
42
47
  "config": {}
43
48
  },
49
+ {
50
+ "id": "compound_quality",
51
+ "enabled": true,
52
+ "gate": "auto",
53
+ "config": {
54
+ "adversarial": true,
55
+ "negative": true,
56
+ "e2e": false,
57
+ "dod_audit": true,
58
+ "max_cycles": 1,
59
+ "audit_intensity": "auto",
60
+ "compound_quality_blocking": true
61
+ }
62
+ },
44
63
  {
45
64
  "id": "pr",
46
65
  "enabled": true,
@@ -6,6 +6,11 @@
6
6
  "model": "opus",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  {
11
16
  "id": "intake",
@@ -57,7 +62,9 @@
57
62
  "e2e": true,
58
63
  "dod_audit": true,
59
64
  "max_cycles": 3,
60
- "strict_quality": true
65
+ "strict_quality": true,
66
+ "audit_intensity": "auto",
67
+ "compound_quality_blocking": true
61
68
  }
62
69
  },
63
70
  {
@@ -85,7 +92,14 @@
85
92
  "config": {
86
93
  "staging_cmd": "",
87
94
  "production_cmd": "",
88
- "rollback_cmd": ""
95
+ "rollback_cmd": "",
96
+ "deploy_strategy": "direct",
97
+ "canary_cmd": "__CANARY_CMD__",
98
+ "promote_cmd": "__PROMOTE_CMD__",
99
+ "switch_cmd": "__SWITCH_CMD__",
100
+ "health_url": "__HEALTH_URL__",
101
+ "pre_deploy_ci_status": true,
102
+ "pre_deploy_min_coverage": 80
89
103
  }
90
104
  },
91
105
  {
@@ -6,6 +6,11 @@
6
6
  "model": "opus",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  {
11
16
  "id": "intake",
@@ -41,6 +46,20 @@
41
46
  "gate": "auto",
42
47
  "config": {}
43
48
  },
49
+ {
50
+ "id": "compound_quality",
51
+ "enabled": true,
52
+ "gate": "auto",
53
+ "config": {
54
+ "adversarial": true,
55
+ "negative": true,
56
+ "e2e": false,
57
+ "dod_audit": true,
58
+ "max_cycles": 1,
59
+ "audit_intensity": "auto",
60
+ "compound_quality_blocking": true
61
+ }
62
+ },
44
63
  {
45
64
  "id": "pr",
46
65
  "enabled": true,
@@ -6,6 +6,11 @@
6
6
  "model": "opus",
7
7
  "agents": 1
8
8
  },
9
+ "intelligence": {
10
+ "adversarial_enabled": true,
11
+ "architecture_enabled": true,
12
+ "simulation_enabled": true
13
+ },
9
14
  "stages": [
10
15
  {
11
16
  "id": "intake",
@@ -47,6 +52,20 @@
47
52
  "gate": "approve",
48
53
  "config": {}
49
54
  },
55
+ {
56
+ "id": "compound_quality",
57
+ "enabled": true,
58
+ "gate": "auto",
59
+ "config": {
60
+ "adversarial": true,
61
+ "negative": true,
62
+ "e2e": true,
63
+ "dod_audit": true,
64
+ "max_cycles": 3,
65
+ "audit_intensity": "auto",
66
+ "compound_quality_blocking": true
67
+ }
68
+ },
50
69
  {
51
70
  "id": "pr",
52
71
  "enabled": true,