sdtk-ops-kit 0.3.3 → 0.4.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.
- package/README.md +2 -1
- package/assets/manifest/toolkit-bundle.manifest.json +144 -19
- package/assets/manifest/toolkit-bundle.sha256.txt +35 -10
- package/assets/toolkit/toolkit/AGENTS.md +2 -1
- package/assets/toolkit/toolkit/SDTKOPS_TOOLKIT.md +4 -2
- package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +4 -4
- package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +4 -4
- package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +2 -2
- package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +2 -2
- package/assets/toolkit/toolkit/skills/ops-discover/SKILL.md +2 -0
- package/assets/toolkit/toolkit/skills/ops-framer-deploy/SKILL.md +15 -1
- package/assets/toolkit/toolkit/skills/ops-framer-deploy/package.json +10 -0
- package/assets/toolkit/toolkit/skills/ops-framer-deploy/scripts/framer-install.mjs +5 -1
- package/assets/toolkit/toolkit/skills/ops-framer-deploy/scripts/lib/config.mjs +6 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/SKILL.md +172 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/CLUSTER_CA.md +83 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/GOTCHAS.md +17 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/K3D_CILIUM_BOOTSTRAP.md +39 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/PROFILE.md +44 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/bootstrap/cilium-values.yaml +37 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/bootstrap/k3d-cluster.yaml +37 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/references/profile.example.json +80 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/admin_creds.py +212 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/cilium_heal.py +136 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/ensure_repos.py +69 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/envprofile.py +139 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/explain_config.py +116 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/health.py +109 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/hosts_entry.py +158 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/init_profile.py +217 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/k3d_images.py +70 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/preflight.py +96 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/registry_secret.py +64 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/shared_config.py +178 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/stack_plan.py +94 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/teardown.py +86 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/test_local_env.py +307 -0
- package/assets/toolkit/toolkit/skills/ops-local-env/scripts/trust_ca.py +153 -0
- package/package.json +1 -1
- package/src/lib/scope.js +1 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
## Package
|
|
6
6
|
|
|
7
7
|
- Package: `sdtk-ops-kit`
|
|
8
|
-
- Version in this source snapshot: `0.
|
|
8
|
+
- Version in this source snapshot: `0.4.0`
|
|
9
9
|
- CLI: `sdtk-ops`
|
|
10
10
|
- Latest published version lookup: `npm view sdtk-ops-kit version`
|
|
11
11
|
|
|
@@ -160,6 +160,7 @@ Canonical journeys:
|
|
|
160
160
|
- monitoring: `ops-plan -> ops-monitor -> ops-verify`
|
|
161
161
|
- backup or recovery: `ops-plan -> ops-backup -> ops-verify`
|
|
162
162
|
- Framer template deploy: `ops-plan -> ops-framer-deploy -> ops-verify`
|
|
163
|
+
- local test environment: `ops-local-env -> ops-verify`
|
|
163
164
|
|
|
164
165
|
Always close work with `ops-verify`.
|
|
165
166
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"sourceCommit": "
|
|
4
|
-
"fileCount":
|
|
2
|
+
"version": "0.4.0",
|
|
3
|
+
"sourceCommit": "76581df584eed6354033c13a2f2e35e862a85dfe",
|
|
4
|
+
"fileCount": 69,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "toolkit/AGENTS.md",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "d6efcedeecf65b215528c12499ed3eb494a7343ce225b80f97473bfcbecd4ea3",
|
|
9
|
+
"size": 16691
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"path": "toolkit/install.ps1",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"path": "toolkit/scripts/install-claude-skills.ps1",
|
|
18
|
-
"sha256": "
|
|
18
|
+
"sha256": "cbfbbb138ee15a1faf54b9ad018baf6e4181ed5696ee4400acc2bafa8d2e9314",
|
|
19
19
|
"size": 2474
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"path": "toolkit/scripts/install-codex-skills.ps1",
|
|
23
|
-
"sha256": "
|
|
23
|
+
"sha256": "b1b25a1cf7d1798aec8fc047b483bb9f83c715f4e65d6ada3119720ebc44f262",
|
|
24
24
|
"size": 4761
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "toolkit/scripts/uninstall-claude-skills.ps1",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "3ad6b2d7047b751e632f4a54d58e260b6d8a8d6ebd41f88f324b9cfbe665ecf4",
|
|
29
29
|
"size": 1901
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"path": "toolkit/scripts/uninstall-codex-skills.ps1",
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "dc99a6d0ec4c5f015f02280e61de913b41edc2ef0e36c77b9d7c4749359b97d1",
|
|
34
34
|
"size": 2428
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "toolkit/SDTKOPS_TOOLKIT.md",
|
|
48
|
-
"sha256": "
|
|
49
|
-
"size":
|
|
48
|
+
"sha256": "d6193777823244b3e161be6056f329b916ae97f29a6674f66f4aa2e14891bcff",
|
|
49
|
+
"size": 8367
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"path": "toolkit/skills/ops-backup/references/backup-script-patterns.md",
|
|
@@ -105,14 +105,19 @@
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"path": "toolkit/skills/ops-discover/SKILL.md",
|
|
108
|
-
"sha256": "
|
|
109
|
-
"size":
|
|
108
|
+
"sha256": "389ceec83758728ada6ed3b4e9c102646084bc041b051b7d3da290a5ac55b78e",
|
|
109
|
+
"size": 5808
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"path": "toolkit/skills/ops-framer-deploy/framer-deploy.config.example.json",
|
|
113
113
|
"sha256": "282645df98f039cbf8b1b29f52fe74b31c83790b1452240968e10a477947a884",
|
|
114
114
|
"size": 4410
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"path": "toolkit/skills/ops-framer-deploy/package.json",
|
|
118
|
+
"sha256": "12e17fa0870d2d5ce5b4d736b6ab34a54cc2953f4b011c22330d781c2ac37879",
|
|
119
|
+
"size": 502
|
|
120
|
+
},
|
|
116
121
|
{
|
|
117
122
|
"path": "toolkit/skills/ops-framer-deploy/scripts/framer-extract.mjs",
|
|
118
123
|
"sha256": "ff1ee39fbf002036b57b01ce110a1a40ebbe66696d5e180944079b64dd527a56",
|
|
@@ -120,8 +125,8 @@
|
|
|
120
125
|
},
|
|
121
126
|
{
|
|
122
127
|
"path": "toolkit/skills/ops-framer-deploy/scripts/framer-install.mjs",
|
|
123
|
-
"sha256": "
|
|
124
|
-
"size":
|
|
128
|
+
"sha256": "ef77f33ee63990fed19c67ac9e79f2117616bb6886f364f2f1238708606f3ff0",
|
|
129
|
+
"size": 5080
|
|
125
130
|
},
|
|
126
131
|
{
|
|
127
132
|
"path": "toolkit/skills/ops-framer-deploy/scripts/framer-place.mjs",
|
|
@@ -140,13 +145,13 @@
|
|
|
140
145
|
},
|
|
141
146
|
{
|
|
142
147
|
"path": "toolkit/skills/ops-framer-deploy/scripts/lib/config.mjs",
|
|
143
|
-
"sha256": "
|
|
144
|
-
"size":
|
|
148
|
+
"sha256": "20080e068c4a691529b1d0e2a03096aad2a414b356ef6824cf34bed2cc58a4f7",
|
|
149
|
+
"size": 7728
|
|
145
150
|
},
|
|
146
151
|
{
|
|
147
152
|
"path": "toolkit/skills/ops-framer-deploy/SKILL.md",
|
|
148
|
-
"sha256": "
|
|
149
|
-
"size":
|
|
153
|
+
"sha256": "08acb0978cccc3fdbfc76da4b2362413bdf29010506c4a81a256ecd9f05d51f0",
|
|
154
|
+
"size": 15918
|
|
150
155
|
},
|
|
151
156
|
{
|
|
152
157
|
"path": "toolkit/skills/ops-incident/references/communication-templates.md",
|
|
@@ -178,6 +183,126 @@
|
|
|
178
183
|
"sha256": "35eec623e41603dae0a1a328c1e6d822d2e1dc79a471f06bab3c1f3e2d552e53",
|
|
179
184
|
"size": 4442
|
|
180
185
|
},
|
|
186
|
+
{
|
|
187
|
+
"path": "toolkit/skills/ops-local-env/references/bootstrap/cilium-values.yaml",
|
|
188
|
+
"sha256": "639bf209d35cc8392c4beb76d9a367118a88babf570766d128d26df3ca133426",
|
|
189
|
+
"size": 1205
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"path": "toolkit/skills/ops-local-env/references/bootstrap/k3d-cluster.yaml",
|
|
193
|
+
"sha256": "4fc9433ffa646d9789e1e6064eb5eb1fd71430141ae456a55a65ab278611b45c",
|
|
194
|
+
"size": 1128
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"path": "toolkit/skills/ops-local-env/references/CLUSTER_CA.md",
|
|
198
|
+
"sha256": "11883fcfa1d9ca28d5a5b37bbb3c7e449aac4821b298195c3d8b9df812ab3446",
|
|
199
|
+
"size": 4155
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"path": "toolkit/skills/ops-local-env/references/GOTCHAS.md",
|
|
203
|
+
"sha256": "5f11aaf849bfe0cf9ad061e3711fce2c09a2317f3118ca0f8020cd1b5cfafdb0",
|
|
204
|
+
"size": 3185
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"path": "toolkit/skills/ops-local-env/references/K3D_CILIUM_BOOTSTRAP.md",
|
|
208
|
+
"sha256": "1d92cd11ef56944b07797071daa8b3d0f945f2e9e9822794d597115f3ae28884",
|
|
209
|
+
"size": 2273
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"path": "toolkit/skills/ops-local-env/references/profile.example.json",
|
|
213
|
+
"sha256": "8ee626a751277c92a294e56e0d8417af2e186b0db937715d8e5e99f5dc399095",
|
|
214
|
+
"size": 4785
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"path": "toolkit/skills/ops-local-env/references/PROFILE.md",
|
|
218
|
+
"sha256": "f72a11113aa51f20d486778d10f8a49fa3d3d5b39dc179076a380ae649445968",
|
|
219
|
+
"size": 4221
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"path": "toolkit/skills/ops-local-env/scripts/admin_creds.py",
|
|
223
|
+
"sha256": "f08e4ef32d9fa6427eeab7612bbe31dce562955d541c21bdba8324c92631bddd",
|
|
224
|
+
"size": 9675
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"path": "toolkit/skills/ops-local-env/scripts/cilium_heal.py",
|
|
228
|
+
"sha256": "88ebb9670b86fff9674d3e9f212bd3ff78dea68f563a4b85ab0dc329320e40a0",
|
|
229
|
+
"size": 6123
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"path": "toolkit/skills/ops-local-env/scripts/ensure_repos.py",
|
|
233
|
+
"sha256": "4835f57b36f6189bcfad8543891f47f64a240e91da47340dff97d91e083ba462",
|
|
234
|
+
"size": 3081
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"path": "toolkit/skills/ops-local-env/scripts/envprofile.py",
|
|
238
|
+
"sha256": "32956950c7c22f3f98ccde0fafc71abb2d29208dbaaed9347f3727cd4124cd41",
|
|
239
|
+
"size": 5881
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"path": "toolkit/skills/ops-local-env/scripts/explain_config.py",
|
|
243
|
+
"sha256": "204613e7c1fb50ae82eac8ffcc09e4eeb3a9979003bd0b205ba804fbe022af1a",
|
|
244
|
+
"size": 3774
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"path": "toolkit/skills/ops-local-env/scripts/health.py",
|
|
248
|
+
"sha256": "bdbebb97822cdb46f3fa3d3ade7d30c32521e96fbcbe00b0d9df524519bfca3f",
|
|
249
|
+
"size": 5321
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"path": "toolkit/skills/ops-local-env/scripts/hosts_entry.py",
|
|
253
|
+
"sha256": "be2e8ad08a6fe3adb2178b30f49c89049b661c1e35ea1a7949655d20e16f4479",
|
|
254
|
+
"size": 6426
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"path": "toolkit/skills/ops-local-env/scripts/init_profile.py",
|
|
258
|
+
"sha256": "7fb1c2dc1962fd85a0c1c47221ce1f821bae9ba4fe6b2ba3428401022ae34bb4",
|
|
259
|
+
"size": 10392
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"path": "toolkit/skills/ops-local-env/scripts/k3d_images.py",
|
|
263
|
+
"sha256": "bba51f66940f776328c5da2d70ee3aaf0c113082fa33fe72dea3f021d32df565",
|
|
264
|
+
"size": 2584
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"path": "toolkit/skills/ops-local-env/scripts/preflight.py",
|
|
268
|
+
"sha256": "745b8df59c2055ff9356da2839e8a2aa544d0b7b033721b509a0ce13a2d1ae93",
|
|
269
|
+
"size": 3828
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"path": "toolkit/skills/ops-local-env/scripts/registry_secret.py",
|
|
273
|
+
"sha256": "3460d046c7b9dc2aeaf93d052a603385211faf5a83b1fd05157cfd24da1507fe",
|
|
274
|
+
"size": 2833
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"path": "toolkit/skills/ops-local-env/scripts/shared_config.py",
|
|
278
|
+
"sha256": "b8318bf8adec3ec85cbdcb475d6bf9704d659d383ffb839b11af5b65753ed74f",
|
|
279
|
+
"size": 7849
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"path": "toolkit/skills/ops-local-env/scripts/stack_plan.py",
|
|
283
|
+
"sha256": "92e7a7f2a675852aa0b768dcc56df82a16c87a91530b9deb44e4b8dea3d99ef8",
|
|
284
|
+
"size": 4185
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"path": "toolkit/skills/ops-local-env/scripts/teardown.py",
|
|
288
|
+
"sha256": "8888522a1abd66ae8a6a2924f26fc6b0bf5de78784c6cc9e6e5410e1709a6c8d",
|
|
289
|
+
"size": 4106
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"path": "toolkit/skills/ops-local-env/scripts/test_local_env.py",
|
|
293
|
+
"sha256": "23a2e7d723d23a0de4d87593373036484d67cba5a3157165bfb8efcabec2d9b9",
|
|
294
|
+
"size": 18531
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"path": "toolkit/skills/ops-local-env/scripts/trust_ca.py",
|
|
298
|
+
"sha256": "6ec86dfd70d61dbfb39859b1ea178ca9f06925c8082e057f5cba2655bf3a7d8e",
|
|
299
|
+
"size": 6911
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"path": "toolkit/skills/ops-local-env/SKILL.md",
|
|
303
|
+
"sha256": "a3ecabd37d625d80c40dd033e2204be44858340c9c9398aa3fd2bc4896282851",
|
|
304
|
+
"size": 12468
|
|
305
|
+
},
|
|
181
306
|
{
|
|
182
307
|
"path": "toolkit/skills/ops-monitor/references/alert-rules.md",
|
|
183
308
|
"sha256": "28be1bd1babdaa3de9fc58f859060697c31b9249cc684c9c4272a9c3bc159db9",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
d6efcedeecf65b215528c12499ed3eb494a7343ce225b80f97473bfcbecd4ea3 toolkit/AGENTS.md
|
|
2
2
|
e79e1ab404abf83a4f90838a2f6450c387ada7e65b137a18f70f0cab74fc14f0 toolkit/install.ps1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
cbfbbb138ee15a1faf54b9ad018baf6e4181ed5696ee4400acc2bafa8d2e9314 toolkit/scripts/install-claude-skills.ps1
|
|
4
|
+
b1b25a1cf7d1798aec8fc047b483bb9f83c715f4e65d6ada3119720ebc44f262 toolkit/scripts/install-codex-skills.ps1
|
|
5
|
+
3ad6b2d7047b751e632f4a54d58e260b6d8a8d6ebd41f88f324b9cfbe665ecf4 toolkit/scripts/uninstall-claude-skills.ps1
|
|
6
|
+
dc99a6d0ec4c5f015f02280e61de913b41edc2ef0e36c77b9d7c4749359b97d1 toolkit/scripts/uninstall-codex-skills.ps1
|
|
7
7
|
712382d838a18b6cc6a5285b3c536fac74138c752a3fa1fd318828b19ece6b8f toolkit/sdtk-spec.config.json
|
|
8
8
|
2a306c1609499fb4910b86d5ec6e8c796e0cdf72c5f97fe3df9c1388ac62b913 toolkit/sdtk-spec.config.profiles.example.json
|
|
9
|
-
|
|
9
|
+
d6193777823244b3e161be6056f329b916ae97f29a6674f66f4aa2e14891bcff toolkit/SDTKOPS_TOOLKIT.md
|
|
10
10
|
1cd81e12cebdb2be528803e2d8afe43959aab1493e55499af529b99ec566a56c toolkit/skills/ops-backup/references/backup-script-patterns.md
|
|
11
11
|
76e8385190d967bf98b3cafbbf8925d9b9c656ee7a7ed66ff51285b6459ebff1 toolkit/skills/ops-backup/SKILL.md
|
|
12
12
|
d27e47b0c832656c2835e3d3e32dae7c86419014199439b10fc6823956324716 toolkit/skills/ops-ci-cd/references/pipeline-examples.md
|
|
@@ -18,21 +18,46 @@ a0bb24484cba68a7201e6b7f614c8b5ada8b2dff540a4e4390661a0ced112e8d toolkit/skills
|
|
|
18
18
|
d70b59d276edf5c6c8aebb5fc669b8f6d04673fc8e8561cbaf4d7e5fb9f4e2f2 toolkit/skills/ops-debug/references/root-cause-tracing.md
|
|
19
19
|
d5f58322afebcf5c3a110b02de0d2eec4494f9ed9d358b113b6717275c3524af toolkit/skills/ops-debug/SKILL.md
|
|
20
20
|
c2cacc94ffba4d7ef84e635c2078e08abb8d52f79afbbb1534661c0e0cf9bda6 toolkit/skills/ops-deploy/SKILL.md
|
|
21
|
-
|
|
21
|
+
389ceec83758728ada6ed3b4e9c102646084bc041b051b7d3da290a5ac55b78e toolkit/skills/ops-discover/SKILL.md
|
|
22
22
|
282645df98f039cbf8b1b29f52fe74b31c83790b1452240968e10a477947a884 toolkit/skills/ops-framer-deploy/framer-deploy.config.example.json
|
|
23
|
+
12e17fa0870d2d5ce5b4d736b6ab34a54cc2953f4b011c22330d781c2ac37879 toolkit/skills/ops-framer-deploy/package.json
|
|
23
24
|
ff1ee39fbf002036b57b01ce110a1a40ebbe66696d5e180944079b64dd527a56 toolkit/skills/ops-framer-deploy/scripts/framer-extract.mjs
|
|
24
|
-
|
|
25
|
+
ef77f33ee63990fed19c67ac9e79f2117616bb6886f364f2f1238708606f3ff0 toolkit/skills/ops-framer-deploy/scripts/framer-install.mjs
|
|
25
26
|
0f07f8fc469b06220e820b738a7d362323d96bf765055caf9255bc588d89b91f toolkit/skills/ops-framer-deploy/scripts/framer-place.mjs
|
|
26
27
|
8ba082d86d92e8cf01168246264092b8543806dbc76bdf378863ce3f5955e2dc toolkit/skills/ops-framer-deploy/scripts/framer-scaffold.mjs
|
|
27
28
|
006780fa3c63acf78fb6c351aa7f879c51c1aabc828005534c3219309575ce17 toolkit/skills/ops-framer-deploy/scripts/framer-verify.mjs
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
20080e068c4a691529b1d0e2a03096aad2a414b356ef6824cf34bed2cc58a4f7 toolkit/skills/ops-framer-deploy/scripts/lib/config.mjs
|
|
30
|
+
08acb0978cccc3fdbfc76da4b2362413bdf29010506c4a81a256ecd9f05d51f0 toolkit/skills/ops-framer-deploy/SKILL.md
|
|
30
31
|
f6102d127e47861068b285ebbbb2045e4c3dc8cd9af73b3c975f285f2141639e toolkit/skills/ops-incident/references/communication-templates.md
|
|
31
32
|
fda6d9cadc5a3757e5559798a67716a6356809735b076d47d6bd99a993b71b99 toolkit/skills/ops-incident/references/postmortem-template.md
|
|
32
33
|
358644dcd477fe32d3368ced5c9da30663ae3d54fdd5e825ae3e56327f7f6f2d toolkit/skills/ops-incident/references/runbook-template.md
|
|
33
34
|
df03ad86862020941e69b90ea1f2ccf8cd69762e53f0a539936c16fb433e61c8 toolkit/skills/ops-incident/SKILL.md
|
|
34
35
|
14f02a1921cb58e2c54c355c0b24ffdf5a9bdb91a7be6921f22da5974787efee toolkit/skills/ops-infra-plan/references/iac-patterns.md
|
|
35
36
|
35eec623e41603dae0a1a328c1e6d822d2e1dc79a471f06bab3c1f3e2d552e53 toolkit/skills/ops-infra-plan/SKILL.md
|
|
37
|
+
639bf209d35cc8392c4beb76d9a367118a88babf570766d128d26df3ca133426 toolkit/skills/ops-local-env/references/bootstrap/cilium-values.yaml
|
|
38
|
+
4fc9433ffa646d9789e1e6064eb5eb1fd71430141ae456a55a65ab278611b45c toolkit/skills/ops-local-env/references/bootstrap/k3d-cluster.yaml
|
|
39
|
+
11883fcfa1d9ca28d5a5b37bbb3c7e449aac4821b298195c3d8b9df812ab3446 toolkit/skills/ops-local-env/references/CLUSTER_CA.md
|
|
40
|
+
5f11aaf849bfe0cf9ad061e3711fce2c09a2317f3118ca0f8020cd1b5cfafdb0 toolkit/skills/ops-local-env/references/GOTCHAS.md
|
|
41
|
+
1d92cd11ef56944b07797071daa8b3d0f945f2e9e9822794d597115f3ae28884 toolkit/skills/ops-local-env/references/K3D_CILIUM_BOOTSTRAP.md
|
|
42
|
+
8ee626a751277c92a294e56e0d8417af2e186b0db937715d8e5e99f5dc399095 toolkit/skills/ops-local-env/references/profile.example.json
|
|
43
|
+
f72a11113aa51f20d486778d10f8a49fa3d3d5b39dc179076a380ae649445968 toolkit/skills/ops-local-env/references/PROFILE.md
|
|
44
|
+
f08e4ef32d9fa6427eeab7612bbe31dce562955d541c21bdba8324c92631bddd toolkit/skills/ops-local-env/scripts/admin_creds.py
|
|
45
|
+
88ebb9670b86fff9674d3e9f212bd3ff78dea68f563a4b85ab0dc329320e40a0 toolkit/skills/ops-local-env/scripts/cilium_heal.py
|
|
46
|
+
4835f57b36f6189bcfad8543891f47f64a240e91da47340dff97d91e083ba462 toolkit/skills/ops-local-env/scripts/ensure_repos.py
|
|
47
|
+
32956950c7c22f3f98ccde0fafc71abb2d29208dbaaed9347f3727cd4124cd41 toolkit/skills/ops-local-env/scripts/envprofile.py
|
|
48
|
+
204613e7c1fb50ae82eac8ffcc09e4eeb3a9979003bd0b205ba804fbe022af1a toolkit/skills/ops-local-env/scripts/explain_config.py
|
|
49
|
+
bdbebb97822cdb46f3fa3d3ade7d30c32521e96fbcbe00b0d9df524519bfca3f toolkit/skills/ops-local-env/scripts/health.py
|
|
50
|
+
be2e8ad08a6fe3adb2178b30f49c89049b661c1e35ea1a7949655d20e16f4479 toolkit/skills/ops-local-env/scripts/hosts_entry.py
|
|
51
|
+
7fb1c2dc1962fd85a0c1c47221ce1f821bae9ba4fe6b2ba3428401022ae34bb4 toolkit/skills/ops-local-env/scripts/init_profile.py
|
|
52
|
+
bba51f66940f776328c5da2d70ee3aaf0c113082fa33fe72dea3f021d32df565 toolkit/skills/ops-local-env/scripts/k3d_images.py
|
|
53
|
+
745b8df59c2055ff9356da2839e8a2aa544d0b7b033721b509a0ce13a2d1ae93 toolkit/skills/ops-local-env/scripts/preflight.py
|
|
54
|
+
3460d046c7b9dc2aeaf93d052a603385211faf5a83b1fd05157cfd24da1507fe toolkit/skills/ops-local-env/scripts/registry_secret.py
|
|
55
|
+
b8318bf8adec3ec85cbdcb475d6bf9704d659d383ffb839b11af5b65753ed74f toolkit/skills/ops-local-env/scripts/shared_config.py
|
|
56
|
+
92e7a7f2a675852aa0b768dcc56df82a16c87a91530b9deb44e4b8dea3d99ef8 toolkit/skills/ops-local-env/scripts/stack_plan.py
|
|
57
|
+
8888522a1abd66ae8a6a2924f26fc6b0bf5de78784c6cc9e6e5410e1709a6c8d toolkit/skills/ops-local-env/scripts/teardown.py
|
|
58
|
+
23a2e7d723d23a0de4d87593373036484d67cba5a3157165bfb8efcabec2d9b9 toolkit/skills/ops-local-env/scripts/test_local_env.py
|
|
59
|
+
6ec86dfd70d61dbfb39859b1ea178ca9f06925c8082e057f5cba2655bf3a7d8e toolkit/skills/ops-local-env/scripts/trust_ca.py
|
|
60
|
+
a3ecabd37d625d80c40dd033e2204be44858340c9c9398aa3fd2bc4896282851 toolkit/skills/ops-local-env/SKILL.md
|
|
36
61
|
28be1bd1babdaa3de9fc58f859060697c31b9249cc684c9c4272a9c3bc159db9 toolkit/skills/ops-monitor/references/alert-rules.md
|
|
37
62
|
af28797b442fb94fa96dc0182881847e50b5fe9e68ecf7a71471502030f4bd27 toolkit/skills/ops-monitor/references/slo-templates.md
|
|
38
63
|
2d09968790ed63dd8e0969f59023c0ced71dd182d56475689a2d3bfc3f889002 toolkit/skills/ops-monitor/SKILL.md
|
|
@@ -159,7 +159,7 @@ Use the suite products according to task intent:
|
|
|
159
159
|
- ship code changes
|
|
160
160
|
- workflow: `start -> plan -> build -> verify -> ship`
|
|
161
161
|
- entry point for ambiguous slices: `code-brainstorm`
|
|
162
|
-
- specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-parallel` (sequential fallback when parallel dispatch is unavailable)
|
|
162
|
+
- specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-ui-e2e` (desktop UI end-to-end runs), `code-parallel` (sequential fallback when parallel dispatch is unavailable)
|
|
163
163
|
- `SDTK-OPS`
|
|
164
164
|
- deploy or release
|
|
165
165
|
- infrastructure and environment setup
|
|
@@ -167,6 +167,7 @@ Use the suite products according to task intent:
|
|
|
167
167
|
- monitoring, incident response, security-infra, backup, compliance
|
|
168
168
|
- entry: `ops-discover` (when boundary is unclear), `ops-plan`, `ops-deploy`, `ops-incident`, `ops-monitor`, `ops-backup`, `ops-verify`, `ops-debug`
|
|
169
169
|
- vendor-specific: `ops-framer-deploy` when the deploy target is a Framer project
|
|
170
|
+
- local test environment (multi-repository stack on k3d, from its profile): `ops-local-env`
|
|
170
171
|
|
|
171
172
|
Cross-cutting capabilities (not a linear lane; usable across every phase):
|
|
172
173
|
|
|
@@ -33,7 +33,7 @@ The current public package is:
|
|
|
33
33
|
- Latest published version lookup: `npm view sdtk-ops-kit version`
|
|
34
34
|
|
|
35
35
|
The truthful current operational surface after `init` is skill-driven:
|
|
36
|
-
- the
|
|
36
|
+
- the 17 `ops-*` skills remain the real operating surface
|
|
37
37
|
- `ops-discover` remains a skill, not a CLI command
|
|
38
38
|
- `ops-verify` remains the required closing skill for every canonical journey
|
|
39
39
|
- `generate` remains unsupported and deferred
|
|
@@ -139,6 +139,7 @@ Other valid but non-primary routed skills in this wave:
|
|
|
139
139
|
| `ops-container` | define secure image build and container orchestration patterns |
|
|
140
140
|
| `ops-ci-cd` | build and manage pipelines, promotion flow, artifact handling, and secret controls |
|
|
141
141
|
| `ops-framer-deploy` | deploy a built HTML template into a Framer project as code components |
|
|
142
|
+
| `ops-local-env` | set up, re-run or repair a project's local multi-repository test environment on k3d from its stack profile |
|
|
142
143
|
|
|
143
144
|
### 5.3 Operations
|
|
144
145
|
|
|
@@ -197,7 +198,8 @@ Use these documents by role:
|
|
|
197
198
|
## 8. Scope
|
|
198
199
|
|
|
199
200
|
`SDTK-OPS` v1 contains 15 cloud-agnostic core skills, plus `ops-framer-deploy`,
|
|
200
|
-
the one vendor-specific skill in the set (Framer Server API)
|
|
201
|
+
the one vendor-specific skill in the set (Framer Server API), and `ops-local-env`,
|
|
202
|
+
the local k3d test-environment orchestrator driven by a per-stack profile.
|
|
201
203
|
|
|
202
204
|
Not part of the current supported wave:
|
|
203
205
|
- provider-specific packs such as AWS, GCP, or Azure variants
|
|
@@ -16,8 +16,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
$managedSkills = @(Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name)
|
|
19
|
-
if ($managedSkills.Count -ne
|
|
20
|
-
throw "Expected
|
|
19
|
+
if ($managedSkills.Count -ne 17) {
|
|
20
|
+
throw "Expected 17 managed SDTK-OPS skills but found $($managedSkills.Count)."
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
if ($Scope -eq 'user') {
|
|
@@ -67,8 +67,8 @@ $installedNow = @(
|
|
|
67
67
|
Where-Object { $managedSkills.Name -contains $_.Name } |
|
|
68
68
|
Select-Object -ExpandProperty Name
|
|
69
69
|
)
|
|
70
|
-
if ($installedNow.Count -ne
|
|
71
|
-
throw "Claude skill install incomplete. Expected
|
|
70
|
+
if ($installedNow.Count -ne 17) {
|
|
71
|
+
throw "Claude skill install incomplete. Expected 17 managed skills at $skillsDest but found $($installedNow.Count)."
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
if (-not $Quiet) {
|
|
@@ -81,8 +81,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
$managedSkills = @(Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name)
|
|
84
|
-
if ($managedSkills.Count -ne
|
|
85
|
-
throw "Expected
|
|
84
|
+
if ($managedSkills.Count -ne 17) {
|
|
85
|
+
throw "Expected 17 managed SDTK-OPS skills but found $($managedSkills.Count)."
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
$codexHome = Resolve-CodexHome -TargetScope $Scope -TargetProjectPath $ProjectPath
|
|
@@ -132,8 +132,8 @@ $installedNow = @(
|
|
|
132
132
|
Where-Object { $expectedNames -contains $_.Name } |
|
|
133
133
|
Select-Object -ExpandProperty Name
|
|
134
134
|
)
|
|
135
|
-
if ($installedNow.Count -ne
|
|
136
|
-
throw "Codex skill install incomplete. Expected
|
|
135
|
+
if ($installedNow.Count -ne 17) {
|
|
136
|
+
throw "Codex skill install incomplete. Expected 17 managed skills at $skillsDest but found $($installedNow.Count)."
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
if (-not $Quiet) {
|
|
@@ -18,8 +18,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
18
18
|
$managedSkillNames = @(
|
|
19
19
|
Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name | Select-Object -ExpandProperty Name
|
|
20
20
|
)
|
|
21
|
-
if ($managedSkillNames.Count -ne
|
|
22
|
-
throw "Expected
|
|
21
|
+
if ($managedSkillNames.Count -ne 17) {
|
|
22
|
+
throw "Expected 17 managed SDTK-OPS skills but found $($managedSkillNames.Count)."
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
if ($Scope -eq 'user') {
|
|
@@ -43,8 +43,8 @@ $managedSkillNames = @(
|
|
|
43
43
|
Sort-Object Name |
|
|
44
44
|
ForEach-Object { "sdtk-$($_.Name)" }
|
|
45
45
|
)
|
|
46
|
-
if ($managedSkillNames.Count -ne
|
|
47
|
-
throw "Expected
|
|
46
|
+
if ($managedSkillNames.Count -ne 17) {
|
|
47
|
+
throw "Expected 17 managed SDTK-OPS skills but found $($managedSkillNames.Count)."
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
$codexHome = Resolve-CodexHome -TargetScope $Scope -TargetProjectPath $ProjectPath
|
|
@@ -61,6 +61,7 @@ Use `ops-parallel` only when the work can safely split after the primary skill c
|
|
|
61
61
|
|-------|-------------------|
|
|
62
62
|
| `ops-infra-plan` | you are designing infrastructure, networking, IAM, or resource topology before provisioning |
|
|
63
63
|
| `ops-deploy` | you are executing a rollout, promotion, cutover, or rollback |
|
|
64
|
+
| `ops-local-env` | you are setting up, re-running or repairing a project's local test environment (k3d stack from its profile) |
|
|
64
65
|
| `ops-container` | you are building images, Dockerfiles, manifests, or container runtime patterns |
|
|
65
66
|
| `ops-ci-cd` | you are setting up or modifying pipelines, artifact flow, or deployment gates |
|
|
66
67
|
|
|
@@ -97,6 +98,7 @@ Use `ops-parallel` only when the work can safely split after the primary skill c
|
|
|
97
98
|
| Backup hardening | `ops-backup` -> `ops-infra-plan` -> `ops-monitor` -> `ops-verify` |
|
|
98
99
|
| Cost review | `ops-cost` -> `ops-infra-plan` -> `ops-deploy` -> `ops-verify` |
|
|
99
100
|
| Security hardening | `ops-security-infra` -> `ops-infra-plan` -> `ops-ci-cd` -> `ops-verify` |
|
|
101
|
+
| Local test environment | `ops-local-env` -> `ops-verify` |
|
|
100
102
|
|
|
101
103
|
## Red Flags
|
|
102
104
|
|
|
@@ -39,7 +39,21 @@ FRAMER_API_KEY=<key>
|
|
|
39
39
|
FRAMER_PROJECT_URL=https://framer.com/projects/<name>--<id>
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
The scripts declare their own dependencies. After `sdtk-ops runtime install`, run once:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
cd .claude/skills/ops-framer-deploy && npm install
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Node resolves modules from the script's own directory upward, so without this every script fails on its first import with `ERR_MODULE_NOT_FOUND` — the skill is inert as installed until you do it.
|
|
49
|
+
|
|
50
|
+
Chromium is found automatically under `/root/.cache/ms-playwright`; set `SDTK_CHROME` (or `chrome` in the config) when the newest installed build is not the one your `playwright-core` expects, which is what a version bump produces.
|
|
51
|
+
|
|
52
|
+
## What this skill does NOT carry
|
|
53
|
+
|
|
54
|
+
It generalises one project's pipeline as it stood when it was extracted. A project that keeps developing moves ahead of it — buyer-editable property controls, embedded font subsets, a per-instance theme, its own React-runtime tests. Run this skill against such a project and it extracts *correct but plainer* components.
|
|
55
|
+
|
|
56
|
+
So check what the target already ships before installing over it. A dry run reporting 22 components at 11 KB each, against a project whose own are 100 KB+, is telling you the skill is about to strip work it knows nothing about. Verifying the pipeline and harvesting the difference back is the legitimate use; deploying that output is not.
|
|
43
57
|
|
|
44
58
|
## Pipeline
|
|
45
59
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ops-framer-deploy-scripts",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Runtime dependencies for the ops-framer-deploy scripts. Run `npm install` in this directory once after `sdtk-ops runtime install` -- the scripts are installed into .claude/skills/, where Node resolves modules from THIS directory upward, so without this file they fail on the first import with ERR_MODULE_NOT_FOUND.",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"framer-api": "0.1.29",
|
|
8
|
+
"playwright-core": "^1.61.1"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -92,5 +92,9 @@ for (const f of files) {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
console.log(failed ? `\n${failed} component(s) reported errors`
|
|
95
|
+
console.log(failed ? `\n${failed} component(s) reported errors`
|
|
96
|
+
: APPLY ? `\n${files.length} component(s) installed and clean`
|
|
97
|
+
/* Never say "installed" for a dry run: this line is exactly what gets
|
|
98
|
+
screenshotted as proof the deploy happened. */
|
|
99
|
+
: `\n${files.length} component(s) would install cleanly -- nothing written, re-run with --apply`);
|
|
96
100
|
process.exit(failed ? 1 : 0);
|
|
@@ -137,6 +137,12 @@ export async function serveDir(rootDir, port) {
|
|
|
137
137
|
/** Resolve a Chromium binary, preferring config, then env, then Playwright's. */
|
|
138
138
|
export function resolveChrome(cfg) {
|
|
139
139
|
if (cfg.chrome) return cfg.chrome;
|
|
140
|
+
/* The failure message below has always named SDTK_CHROME, but nothing read
|
|
141
|
+
it -- the one escape hatch the error advertises did not exist. It comes
|
|
142
|
+
first now: an explicit override beats discovery, which is the whole reason
|
|
143
|
+
to set it (a box whose newest chromium-* is not the build playwright-core
|
|
144
|
+
expects -- exactly what a version bump produces). */
|
|
145
|
+
if (process.env.SDTK_CHROME) return process.env.SDTK_CHROME;
|
|
140
146
|
const base = "/root/.cache/ms-playwright";
|
|
141
147
|
if (fs.existsSync(base)) {
|
|
142
148
|
const dir = fs.readdirSync(base).filter((d) => d.startsWith("chromium-")).sort().reverse()[0];
|