@cleocode/cleo 2026.3.2 → 2026.3.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 (76) hide show
  1. package/README.md +1 -3
  2. package/dist/cli/index.js +7381 -3507
  3. package/dist/cli/index.js.map +4 -4
  4. package/dist/mcp/index.js +5792 -2097
  5. package/dist/mcp/index.js.map +4 -4
  6. package/package.json +4 -4
  7. package/packages/ct-skills/index.js +1 -1
  8. package/packages/ct-skills/package.json +0 -2
  9. package/packages/ct-skills/profiles/core.json +1 -1
  10. package/packages/ct-skills/profiles/full.json +4 -5
  11. package/packages/ct-skills/profiles/minimal.json +3 -3
  12. package/packages/ct-skills/profiles/recommended.json +2 -2
  13. package/packages/ct-skills/provider-skills-map.json +97 -0
  14. package/packages/ct-skills/skills/_shared/skill-chaining-patterns.md +23 -26
  15. package/packages/ct-skills/skills/_shared/testing-framework-config.md +9 -9
  16. package/packages/ct-skills/skills/ct-cleo/SKILL.md +21 -1
  17. package/packages/ct-skills/skills/ct-dev-workflow/SKILL.md +1 -1
  18. package/packages/ct-skills/skills/ct-documentor/SKILL.md +1 -1
  19. package/packages/ct-skills/skills/ct-epic-architect/SKILL.md +1 -1
  20. package/packages/ct-skills/skills/ct-grade/SKILL.md +214 -0
  21. package/packages/ct-skills/skills/ct-orchestrator/SKILL.md +119 -43
  22. package/packages/ct-skills/skills/ct-orchestrator/orchestrator-prompt.txt +17 -0
  23. package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-patterns.md +1 -1
  24. package/packages/ct-skills/skills/ct-research-agent/SKILL.md +1 -1
  25. package/packages/ct-skills/skills/ct-spec-writer/SKILL.md +1 -1
  26. package/packages/ct-skills/skills/ct-task-executor/SKILL.md +1 -1
  27. package/packages/ct-skills/skills/ct-validator/SKILL.md +1 -1
  28. package/packages/ct-skills/skills/manifest.json +217 -947
  29. package/packages/ct-skills/skills.json +244 -3
  30. package/templates/CLEO-INJECTION.md +37 -0
  31. package/templates/README.md +4 -4
  32. package/templates/cleo-gitignore +3 -11
  33. package/templates/git-hooks/pre-commit +1 -1
  34. package/packages/ct-skills/protocols/agent-protocol.md +0 -260
  35. package/packages/ct-skills/protocols/artifact-publish.md +0 -587
  36. package/packages/ct-skills/protocols/consensus.md +0 -309
  37. package/packages/ct-skills/protocols/contribution.md +0 -375
  38. package/packages/ct-skills/protocols/decomposition.md +0 -352
  39. package/packages/ct-skills/protocols/implementation.md +0 -344
  40. package/packages/ct-skills/protocols/provenance.md +0 -600
  41. package/packages/ct-skills/protocols/release.md +0 -635
  42. package/packages/ct-skills/protocols/research.md +0 -248
  43. package/packages/ct-skills/protocols/specification.md +0 -287
  44. package/packages/ct-skills/protocols/testing.md +0 -346
  45. package/packages/ct-skills/protocols/validation.md +0 -229
  46. package/packages/ct-skills/skills/ct-gitbook/SKILL.md +0 -516
  47. package/packages/ct-skills/skills/ct-gitbook/assets/SUMMARY.md +0 -28
  48. package/packages/ct-skills/skills/ct-gitbook/assets/gitbook.yaml +0 -14
  49. package/packages/ct-skills/skills/ct-gitbook/references/api-sdk.md +0 -318
  50. package/packages/ct-skills/skills/ct-gitbook/references/auth-sso.md +0 -208
  51. package/packages/ct-skills/skills/ct-gitbook/references/change-requests.md +0 -169
  52. package/packages/ct-skills/skills/ct-gitbook/references/content-blocks.md +0 -230
  53. package/packages/ct-skills/skills/ct-gitbook/references/docs-sites.md +0 -202
  54. package/packages/ct-skills/skills/ct-gitbook/references/git-sync.md +0 -175
  55. package/packages/ct-skills/skills/ct-gitbook/references/llm-ready.md +0 -178
  56. package/packages/ct-skills/skills/ct-gitbook/references/migration.md +0 -263
  57. package/packages/ct-skills/skills/ct-library-implementer-bash/SKILL.md +0 -316
  58. package/packages/ct-skills/skills/ct-skill-lookup/SKILL.md +0 -179
  59. package/packages/ct-skills/skills/ct-test-writer-bats/SKILL.md +0 -347
  60. package/packages/ct-skills/skills/railway-platform/SKILL.md +0 -506
  61. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-api.sh +0 -180
  62. package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-common.sh +0 -262
  63. package/packages/ct-skills/skills/railway-platform/references/01-getting-started.md +0 -149
  64. package/packages/ct-skills/skills/railway-platform/references/02-projects.md +0 -116
  65. package/packages/ct-skills/skills/railway-platform/references/03-services.md +0 -147
  66. package/packages/ct-skills/skills/railway-platform/references/04-deployments.md +0 -210
  67. package/packages/ct-skills/skills/railway-platform/references/05-databases.md +0 -142
  68. package/packages/ct-skills/skills/railway-platform/references/06-environments.md +0 -261
  69. package/packages/ct-skills/skills/railway-platform/references/07-domains.md +0 -139
  70. package/packages/ct-skills/skills/railway-platform/references/08-volumes.md +0 -533
  71. package/packages/ct-skills/skills/railway-platform/references/09-networking.md +0 -592
  72. package/packages/ct-skills/skills/railway-platform/references/10-cron.md +0 -488
  73. package/packages/ct-skills/skills/railway-platform/references/11-functions.md +0 -170
  74. package/packages/ct-skills/skills/railway-platform/references/12-monorepo.md +0 -294
  75. package/packages/ct-skills/skills/railway-platform/references/13-troubleshooting.md +0 -335
  76. package/packages/ct-skills/skills/railway-platform/references/14-railway-metal.md +0 -197
@@ -1,197 +0,0 @@
1
- # Railway Metal
2
-
3
- Railway's own cloud infrastructure for improved performance and pricing.
4
-
5
- ## What is Railway Metal?
6
-
7
- Railway Metal is Railway's custom infrastructure:
8
- - **Owned hardware** in datacenters worldwide
9
- - **NVMe SSD storage** for fast I/O
10
- - **Better CPUs** with higher performance per core
11
- - **Improved networking** with anycast edge
12
-
13
- ## Benefits
14
-
15
- | Feature | Improvement |
16
- |---------|-------------|
17
- | **Pricing** | Up to 50% less egress, 40% less storage |
18
- | **Performance** | Faster CPUs, better disk I/O |
19
- | **Regions** | Available to all plans |
20
- | **Reliability** | End-to-end hardware control |
21
- | **Features** | Enables Static IPs, Anycast, HA volumes |
22
-
23
- ## Migration Timeline
24
-
25
- | Date | Milestone |
26
- |------|-----------|
27
- | Dec 2024 | Trial/Hobby services on Railway Metal |
28
- | Jan 2025 | Gradual volume-less migration |
29
- | Feb 2025 | Pro services on Railway Metal |
30
- | Mar 2025 | Stateful (volume) services begin |
31
- | Jul 2025 | Migration complete |
32
-
33
- ## Checking Your Status
34
-
35
- ### Is Service on Railway Metal?
36
-
37
- ```bash
38
- railway status --json | jq '.service'
39
- ```
40
-
41
- Or check Dashboard:
42
- - Service Settings → Deploy → Regions
43
- - Look for "Metal (New)" tag
44
-
45
- ### Regional Availability
46
-
47
- | Region | Status |
48
- |--------|--------|
49
- | US West (California) | ✅ Active |
50
- | US East (Virginia) | ✅ Active |
51
- | Europe West (Amsterdam) | ✅ Active |
52
- | Southeast Asia (Singapore) | ✅ Active |
53
-
54
- ## Migration Behavior
55
-
56
- ### Automatic Migration
57
-
58
- Services without volumes are automatically migrated:
59
- - Brief downtime during migration
60
- - Ephemeral storage wiped (expected)
61
- - Rollback available if issues
62
-
63
- ### With Volumes
64
-
65
- Stateful migrations (volumes) began March 2025:
66
- - Volumes migrated to NVMe SSD
67
- - Region must match between service and volume
68
- - No cross-region volume mounts
69
-
70
- ## Opting In Early
71
-
72
- ### Manual Migration
73
-
74
- ```bash
75
- # Go to Service Settings → Deploy → Regions
76
- # Select region with "Metal (New)" tag
77
- ```
78
-
79
- ### Railway CLI
80
-
81
- Via environment configuration:
82
-
83
- ```bash
84
- source _shared/scripts/railway-api.sh
85
-
86
- ENV_ID=$(get_environment_id)
87
- SERVICE_ID=$(get_service_id)
88
-
89
- # Update to Railway Metal region
90
- railway_api '
91
- mutation stageChanges($environmentId: String!, $input: EnvironmentConfig!) {
92
- environmentStageChanges(environmentId: $environmentId, input: $input, merge: true) {
93
- id
94
- }
95
- }
96
- ' "{\"environmentId\": \"$ENV_ID\", \"input\": {\"services\": {\"$SERVICE_ID\": {\"deploy\": {\"multiRegionConfig\": {\"us-west1\": {\"numReplicas\": 1}}}}}}}"
97
- ```
98
-
99
- ## Rollback
100
-
101
- ### Automatic Rollback
102
-
103
- If issues after migration:
104
- 1. Dashboard shows rollback banner
105
- 2. Click "Rollback" to revert
106
-
107
- ### Manual Rollback
108
-
109
- ```bash
110
- # Service Settings → Deploy → Regions
111
- # Select region without "Metal" tag
112
- ```
113
-
114
- ## Considerations
115
-
116
- ### Cross-Region Latency
117
-
118
- If database in US West (Oregon) and app in US West (California):
119
- - Increased latency due to physical distance
120
- - Keep related services in same region
121
- - Migrate together when possible
122
-
123
- ### Metrics Changes
124
-
125
- Railway Metal has different metrics sampling:
126
- - CPU may appear higher (more accurate sampling)
127
- - RAM may appear lower
128
- - Not actual usage changes, just better measurement
129
-
130
- ### Pricing
131
-
132
- Automatic discounts applied when 80%+ workloads on Railway Metal:
133
- - Egress: $0.10/GB → $0.05/GB
134
- - Disk: $0.25/GB → $0.15/GB
135
-
136
- ## Troubleshooting
137
-
138
- ### Increased Latency
139
-
140
- **Cause:** Service and database in different regions.
141
-
142
- **Fix:**
143
- ```bash
144
- # Check region of each service
145
- railway status --json | jq '.service.region'
146
-
147
- # Move to same region
148
- # See migration steps above
149
- ```
150
-
151
- ### Service Issues After Migration
152
-
153
- **Immediate fix:**
154
- ```bash
155
- # Rollback via dashboard
156
- # Or redeploy
157
- railway redeploy -y
158
- ```
159
-
160
- **Debug:**
161
- ```bash
162
- # Check logs
163
- railway logs --lines 100
164
-
165
- # SSH for investigation
166
- railway ssh
167
- ```
168
-
169
- ## Future Features
170
-
171
- Railway Metal enables:
172
- - **Static Inbound IPs** - Fixed IP addresses
173
- - **Anycast Edge Network** - Global edge routing
174
- - **High-Availability Volumes** - Multi-zone replication
175
- - **Enhanced Networking** - Direct provider connections
176
-
177
- ## FAQ
178
-
179
- **Q: Is Railway Metal stable?**
180
- A: Yes, ~40,000 deployments running on it.
181
-
182
- **Q: Will my service change?**
183
- A: No code changes needed. Just infrastructure.
184
-
185
- **Q: Can I stay on GCP?**
186
- A: No, all services migrate to Railway Metal.
187
-
188
- **Q: Do I need to do anything?**
189
- A: No for most users. Migration is automatic.
190
-
191
- **Q: Will costs change?**
192
- A: Should decrease due to better pricing.
193
-
194
- ## Next Steps
195
-
196
- - [09-networking.md](09-networking.md) - Networking features
197
- - [13-troubleshooting.md](13-troubleshooting.md) - Migration issues