Commit e4f3da0
feat(migration-to-aws): v2 with 6-phase workflow, AI workload detection, and billing discovery
Rewrite the migration-to-aws plugin from a 4-phase to a 6-phase workflow
(discover → clarify → design → estimate → generate → feedback) with three
parallel discovery paths: infrastructure, application code, and billing.
Key changes:
Discover phase:
- Add app-code discovery path scanning source for AI/ML frameworks
(Gemini, Vertex AI, OpenAI, traditional ML like TensorFlow/PyTorch)
- Add billing discovery path with GCP billing export analysis
- Enhance IaC discovery with improved Terraform resource clustering
using typed-edge strategy and classification rules
Clarify phase:
- Implement adaptive category-based questioning (global, compute,
database, AI, AI-only) that activates based on discover findings
- Skip categories when discover already provides sufficient signal
Design phase (new):
- Separate design from discover with dedicated design-infra, design-ai,
and design-billing reference documents
- Source-specific AI model mapping via ai-gemini-to-bedrock and
ai-openai-to-bedrock reference tables
Estimate phase:
- Split into estimate-infra, estimate-ai, and estimate-billing
- Add pricing-cache with validated rates and confidence levels
- Use awspricing MCP server for real-time price validation
Generate phase:
- Produce Terraform configurations from templates (main.tf, variables.tf)
- Generate AI provider adapter (provider_adapter.py) for SDK migration
- Generate Bedrock setup scripts and comparison test harnesses
- Add billing artifact generation and documentation artifacts
- Structured artifact specs for infra, AI, billing, docs, and scripts
Feedback phase (new):
- Anonymized telemetry trace capturing phase timings, confidence
scores, and migration complexity metrics
- No PII or source code in traces
Supporting changes:
- Add JSON schemas for discover-ai, discover-billing, discover-iac,
estimate-infra, and phase-status data structures
- Update plugin.json version and README
- Enhance design-refs with confidence levels, factual corrections,
and improved service mapping tables
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c51ed0d commit e4f3da0
56 files changed
Lines changed: 7561 additions & 1580 deletions
File tree
- plugins/migration-to-aws
- .claude-plugin
- skills/gcp-to-aws
- references
- clustering/terraform
- design-refs
- phases
- clarify
- design
- discover
- estimate
- feedback
- generate
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| 30 | + | |
| 31 | + | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | | - | |
| 58 | + | |
51 | 59 | | |
52 | | - | |
53 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| |||
Large diffs are not rendered by default.
plugins/migration-to-aws/skills/gcp-to-aws/references/clustering/terraform/classification-rules.md
Lines changed: 61 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
| 14 | + | |
10 | 15 | | |
| 16 | + | |
11 | 17 | | |
12 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
13 | 24 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
19 | 38 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 39 | | |
24 | | - | |
25 | | - | |
26 | 40 | | |
27 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
28 | 56 | | |
29 | 57 | | |
30 | 58 | | |
| |||
33 | 61 | | |
34 | 62 | | |
35 | 63 | | |
| 64 | + | |
36 | 65 | | |
37 | 66 | | |
38 | 67 | | |
39 | | - | |
| 68 | + | |
40 | 69 | | |
41 | 70 | | |
42 | 71 | | |
| |||
46 | 75 | | |
47 | 76 | | |
48 | 77 | | |
| 78 | + | |
49 | 79 | | |
50 | 80 | | |
51 | 81 | | |
52 | 82 | | |
53 | 83 | | |
54 | 84 | | |
| 85 | + | |
55 | 86 | | |
| 87 | + | |
56 | 88 | | |
57 | | - | |
| 89 | + | |
58 | 90 | | |
59 | 91 | | |
60 | 92 | | |
| |||
71 | 103 | | |
72 | 104 | | |
73 | 105 | | |
74 | | - | |
| 106 | + | |
75 | 107 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
80 | 117 | | |
81 | | - | |
| 118 | + | |
82 | 119 | | |
83 | | - | |
| 120 | + | |
| 121 | + | |
84 | 122 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 123 | + | |
89 | 124 | | |
90 | 125 | | |
91 | 126 | | |
| |||
95 | 130 | | |
96 | 131 | | |
97 | 132 | | |
98 | | - | |
| 133 | + | |
99 | 134 | | |
100 | | - | |
| 135 | + | |
plugins/migration-to-aws/skills/gcp-to-aws/references/clustering/terraform/clustering-algorithm.md
Lines changed: 55 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
| 98 | + | |
100 | 99 | | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
128 | | - | |
| 127 | + | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
132 | 162 | | |
133 | 163 | | |
134 | 164 | | |
135 | 165 | | |
136 | 166 | | |
137 | 167 | | |
138 | 168 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 169 | | |
143 | 170 | | |
144 | 171 | | |
145 | | - | |
| 172 | + | |
146 | 173 | | |
147 | 174 | | |
148 | | - | |
149 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
150 | 187 | | |
151 | 188 | | |
152 | 189 | | |
153 | 190 | | |
154 | 191 | | |
155 | | - | |
| 192 | + | |
156 | 193 | | |
157 | 194 | | |
158 | 195 | | |
159 | 196 | | |
160 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
0 commit comments