@tdk-landscape/tdk-cli-core 1.3.53 → 1.3.55

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 (392) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/cli/dist/commands/doctor.js +21 -3
  4. package/cli/dist/commands/upgrade.js +7 -7
  5. package/cli/dist/generator/extension-fetch.js +16 -9
  6. package/cli/dist/utils/spinner.js +39 -0
  7. package/cli/package.json +1 -2
  8. package/package.json +16 -2
  9. package/.claude/skills/layer-autoresearch/SKILL.md +0 -48
  10. package/.claude/skills/tdk-troubleshoot/SKILL.md +0 -222
  11. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -40
  12. package/.github/ISSUE_TEMPLATE/config.yml +0 -11
  13. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -18
  14. package/.github/ISSUE_TEMPLATE/premium_license.yml +0 -43
  15. package/.github/dependabot.yml +0 -33
  16. package/.github/pull_request_template.md +0 -5
  17. package/.github/workflows/ci.yml +0 -200
  18. package/.github/workflows/release-binaries.yml +0 -139
  19. package/.github/zizmor.yml +0 -9
  20. package/.pre-commit-config.yaml +0 -57
  21. package/CODE_OF_CONDUCT.md +0 -9
  22. package/CONTRIBUTING.md +0 -42
  23. package/Makefile +0 -92
  24. package/SECURITY.md +0 -17
  25. package/benchmarks/results/container-scale-2026-09-25T20-54-49-736Z.json +0 -45
  26. package/benchmarks/results/container-scale-2026-09-25T21-01-20-540Z.json +0 -150
  27. package/benchmarks/results/container-scale-2026-09-25T21-15-01-441Z.json +0 -73
  28. package/benchmarks/results/container-scale-2026-09-25T22-09-01-630Z.json +0 -77
  29. package/benchmarks/results/container-scale-2026-09-25T22-18-28-371Z.json +0 -202
  30. package/cli/AGENTS.md +0 -390
  31. package/cli/DESIGN.md +0 -735
  32. package/cli/README.md +0 -292
  33. package/cli/biome.json +0 -40
  34. package/cli/dependency-graph.svg +0 -1135
  35. package/cli/dist/cli.d.ts +0 -3
  36. package/cli/dist/cli.d.ts.map +0 -1
  37. package/cli/dist/cli.js.map +0 -1
  38. package/cli/dist/commands/completion.d.ts +0 -3
  39. package/cli/dist/commands/completion.d.ts.map +0 -1
  40. package/cli/dist/commands/completion.js.map +0 -1
  41. package/cli/dist/commands/config.d.ts +0 -3
  42. package/cli/dist/commands/config.d.ts.map +0 -1
  43. package/cli/dist/commands/config.js.map +0 -1
  44. package/cli/dist/commands/doctor.d.ts +0 -19
  45. package/cli/dist/commands/doctor.d.ts.map +0 -1
  46. package/cli/dist/commands/doctor.js.map +0 -1
  47. package/cli/dist/commands/down.d.ts +0 -3
  48. package/cli/dist/commands/down.d.ts.map +0 -1
  49. package/cli/dist/commands/down.js.map +0 -1
  50. package/cli/dist/commands/help.d.ts +0 -2
  51. package/cli/dist/commands/help.d.ts.map +0 -1
  52. package/cli/dist/commands/help.js.map +0 -1
  53. package/cli/dist/commands/networks.d.ts +0 -3
  54. package/cli/dist/commands/networks.d.ts.map +0 -1
  55. package/cli/dist/commands/networks.js.map +0 -1
  56. package/cli/dist/commands/project.d.ts +0 -9
  57. package/cli/dist/commands/project.d.ts.map +0 -1
  58. package/cli/dist/commands/project.js.map +0 -1
  59. package/cli/dist/commands/projects.d.ts +0 -3
  60. package/cli/dist/commands/projects.d.ts.map +0 -1
  61. package/cli/dist/commands/projects.js.map +0 -1
  62. package/cli/dist/commands/resource.d.ts +0 -69
  63. package/cli/dist/commands/resource.d.ts.map +0 -1
  64. package/cli/dist/commands/resource.js.map +0 -1
  65. package/cli/dist/commands/resources.d.ts +0 -3
  66. package/cli/dist/commands/resources.d.ts.map +0 -1
  67. package/cli/dist/commands/resources.js.map +0 -1
  68. package/cli/dist/commands/stack.d.ts +0 -3
  69. package/cli/dist/commands/stack.d.ts.map +0 -1
  70. package/cli/dist/commands/stack.js.map +0 -1
  71. package/cli/dist/commands/stacks.d.ts +0 -3
  72. package/cli/dist/commands/stacks.d.ts.map +0 -1
  73. package/cli/dist/commands/stacks.js.map +0 -1
  74. package/cli/dist/commands/status.d.ts +0 -3
  75. package/cli/dist/commands/status.d.ts.map +0 -1
  76. package/cli/dist/commands/status.js.map +0 -1
  77. package/cli/dist/commands/ui.d.ts +0 -3
  78. package/cli/dist/commands/ui.d.ts.map +0 -1
  79. package/cli/dist/commands/ui.js.map +0 -1
  80. package/cli/dist/commands/up.d.ts +0 -3
  81. package/cli/dist/commands/up.d.ts.map +0 -1
  82. package/cli/dist/commands/up.js.map +0 -1
  83. package/cli/dist/commands/upgrade.d.ts +0 -14
  84. package/cli/dist/commands/upgrade.d.ts.map +0 -1
  85. package/cli/dist/commands/upgrade.js.map +0 -1
  86. package/cli/dist/commands/version.d.ts +0 -3
  87. package/cli/dist/commands/version.d.ts.map +0 -1
  88. package/cli/dist/commands/version.js.map +0 -1
  89. package/cli/dist/components/Accessible.d.ts +0 -8
  90. package/cli/dist/components/Accessible.d.ts.map +0 -1
  91. package/cli/dist/components/Accessible.js.map +0 -1
  92. package/cli/dist/components/BaseTooltip.d.ts +0 -4
  93. package/cli/dist/components/BaseTooltip.d.ts.map +0 -1
  94. package/cli/dist/components/BaseTooltip.js.map +0 -1
  95. package/cli/dist/components/DetailPanel.d.ts +0 -4
  96. package/cli/dist/components/DetailPanel.d.ts.map +0 -1
  97. package/cli/dist/components/DetailPanel.js.map +0 -1
  98. package/cli/dist/components/FileTree.d.ts +0 -4
  99. package/cli/dist/components/FileTree.d.ts.map +0 -1
  100. package/cli/dist/components/FileTree.js.map +0 -1
  101. package/cli/dist/components/ResourceSelectInput.d.ts +0 -4
  102. package/cli/dist/components/ResourceSelectInput.d.ts.map +0 -1
  103. package/cli/dist/components/ResourceSelectInput.js.map +0 -1
  104. package/cli/dist/components/ResourceTable.d.ts +0 -4
  105. package/cli/dist/components/ResourceTable.d.ts.map +0 -1
  106. package/cli/dist/components/ResourceTable.js.map +0 -1
  107. package/cli/dist/components/TabBar.d.ts +0 -4
  108. package/cli/dist/components/TabBar.d.ts.map +0 -1
  109. package/cli/dist/components/TabBar.js.map +0 -1
  110. package/cli/dist/components/Tooltip.d.ts +0 -12
  111. package/cli/dist/components/Tooltip.d.ts.map +0 -1
  112. package/cli/dist/components/Tooltip.js.map +0 -1
  113. package/cli/dist/components/index.d.ts +0 -8
  114. package/cli/dist/components/index.d.ts.map +0 -1
  115. package/cli/dist/components/index.js.map +0 -1
  116. package/cli/dist/config/platform-standards.d.ts +0 -159
  117. package/cli/dist/config/platform-standards.d.ts.map +0 -1
  118. package/cli/dist/config/platform-standards.js.map +0 -1
  119. package/cli/dist/generator/extension-fetch.d.ts +0 -25
  120. package/cli/dist/generator/extension-fetch.d.ts.map +0 -1
  121. package/cli/dist/generator/extension-fetch.js.map +0 -1
  122. package/cli/dist/generator/template-engine.d.ts +0 -62
  123. package/cli/dist/generator/template-engine.d.ts.map +0 -1
  124. package/cli/dist/generator/template-engine.js.map +0 -1
  125. package/cli/dist/index.d.ts +0 -11
  126. package/cli/dist/index.d.ts.map +0 -1
  127. package/cli/dist/index.js.map +0 -1
  128. package/cli/dist/types/index.d.ts +0 -257
  129. package/cli/dist/types/index.d.ts.map +0 -1
  130. package/cli/dist/types/index.js.map +0 -1
  131. package/cli/dist/utils/cache.d.ts +0 -19
  132. package/cli/dist/utils/cache.d.ts.map +0 -1
  133. package/cli/dist/utils/cache.js.map +0 -1
  134. package/cli/dist/utils/command-helpers.d.ts +0 -17
  135. package/cli/dist/utils/command-helpers.d.ts.map +0 -1
  136. package/cli/dist/utils/command-helpers.js.map +0 -1
  137. package/cli/dist/utils/constants.d.ts +0 -53
  138. package/cli/dist/utils/constants.d.ts.map +0 -1
  139. package/cli/dist/utils/constants.js.map +0 -1
  140. package/cli/dist/utils/discovery-context.d.ts +0 -4
  141. package/cli/dist/utils/discovery-context.d.ts.map +0 -1
  142. package/cli/dist/utils/discovery-context.js.map +0 -1
  143. package/cli/dist/utils/docker.d.ts +0 -4
  144. package/cli/dist/utils/docker.d.ts.map +0 -1
  145. package/cli/dist/utils/docker.js.map +0 -1
  146. package/cli/dist/utils/doctor-runtime.d.ts +0 -81
  147. package/cli/dist/utils/doctor-runtime.d.ts.map +0 -1
  148. package/cli/dist/utils/doctor-runtime.js.map +0 -1
  149. package/cli/dist/utils/env-validator.d.ts +0 -15
  150. package/cli/dist/utils/env-validator.d.ts.map +0 -1
  151. package/cli/dist/utils/env-validator.js.map +0 -1
  152. package/cli/dist/utils/errors.d.ts +0 -31
  153. package/cli/dist/utils/errors.d.ts.map +0 -1
  154. package/cli/dist/utils/errors.js.map +0 -1
  155. package/cli/dist/utils/file-helpers.d.ts +0 -14
  156. package/cli/dist/utils/file-helpers.d.ts.map +0 -1
  157. package/cli/dist/utils/file-helpers.js.map +0 -1
  158. package/cli/dist/utils/formatting.d.ts +0 -30
  159. package/cli/dist/utils/formatting.d.ts.map +0 -1
  160. package/cli/dist/utils/formatting.js.map +0 -1
  161. package/cli/dist/utils/paths.d.ts +0 -3
  162. package/cli/dist/utils/paths.d.ts.map +0 -1
  163. package/cli/dist/utils/paths.js.map +0 -1
  164. package/cli/dist/utils/port-assignment.d.ts +0 -6
  165. package/cli/dist/utils/port-assignment.d.ts.map +0 -1
  166. package/cli/dist/utils/port-assignment.js.map +0 -1
  167. package/cli/dist/utils/project-features.d.ts +0 -23
  168. package/cli/dist/utils/project-features.d.ts.map +0 -1
  169. package/cli/dist/utils/project-features.js.map +0 -1
  170. package/cli/dist/utils/project-templates.d.ts +0 -7
  171. package/cli/dist/utils/project-templates.d.ts.map +0 -1
  172. package/cli/dist/utils/project-templates.js.map +0 -1
  173. package/cli/dist/utils/prompt.d.ts +0 -28
  174. package/cli/dist/utils/prompt.d.ts.map +0 -1
  175. package/cli/dist/utils/prompt.js.map +0 -1
  176. package/cli/dist/utils/resource-features.d.ts +0 -29
  177. package/cli/dist/utils/resource-features.d.ts.map +0 -1
  178. package/cli/dist/utils/resource-features.js.map +0 -1
  179. package/cli/dist/utils/service-urls.d.ts +0 -30
  180. package/cli/dist/utils/service-urls.d.ts.map +0 -1
  181. package/cli/dist/utils/service-urls.js.map +0 -1
  182. package/cli/dist/utils/services.d.ts +0 -18
  183. package/cli/dist/utils/services.d.ts.map +0 -1
  184. package/cli/dist/utils/services.js.map +0 -1
  185. package/cli/dist/utils/stack-features.d.ts +0 -22
  186. package/cli/dist/utils/stack-features.d.ts.map +0 -1
  187. package/cli/dist/utils/stack-features.js.map +0 -1
  188. package/cli/dist/utils/tar.d.ts +0 -7
  189. package/cli/dist/utils/tar.d.ts.map +0 -1
  190. package/cli/dist/utils/tar.js.map +0 -1
  191. package/cli/dist/utils/tilt.d.ts +0 -20
  192. package/cli/dist/utils/tilt.d.ts.map +0 -1
  193. package/cli/dist/utils/tilt.js.map +0 -1
  194. package/cli/dist/utils/validation.d.ts +0 -16
  195. package/cli/dist/utils/validation.d.ts.map +0 -1
  196. package/cli/dist/utils/validation.js.map +0 -1
  197. package/cli/knip.json +0 -6
  198. package/cli/pnpm-lock.yaml +0 -2305
  199. package/cli/pnpm-workspace.yaml +0 -2
  200. package/cli/src/cli.ts +0 -72
  201. package/cli/src/commands/__tests__/always-enabled-infra.test.ts +0 -109
  202. package/cli/src/commands/__tests__/config.test.ts +0 -146
  203. package/cli/src/commands/__tests__/doctor.test.ts +0 -730
  204. package/cli/src/commands/__tests__/error-handling.test.ts +0 -78
  205. package/cli/src/commands/__tests__/phases-model.test.ts +0 -161
  206. package/cli/src/commands/__tests__/project-resource-features-e2e.test.ts +0 -187
  207. package/cli/src/commands/__tests__/project.test.ts +0 -68
  208. package/cli/src/commands/__tests__/resource.test.ts +0 -226
  209. package/cli/src/commands/__tests__/saas-starter-integration.test.ts +0 -194
  210. package/cli/src/commands/__tests__/stack-features-e2e.test.ts +0 -135
  211. package/cli/src/commands/__tests__/upgrade.test.ts +0 -198
  212. package/cli/src/commands/completion.ts +0 -300
  213. package/cli/src/commands/config.ts +0 -299
  214. package/cli/src/commands/doctor.ts +0 -926
  215. package/cli/src/commands/down.ts +0 -37
  216. package/cli/src/commands/help.ts +0 -143
  217. package/cli/src/commands/networks-design.md +0 -80
  218. package/cli/src/commands/networks.ts +0 -332
  219. package/cli/src/commands/project.ts +0 -456
  220. package/cli/src/commands/projects.ts +0 -82
  221. package/cli/src/commands/resource.ts +0 -652
  222. package/cli/src/commands/resources.ts +0 -95
  223. package/cli/src/commands/stack.ts +0 -128
  224. package/cli/src/commands/stacks.ts +0 -52
  225. package/cli/src/commands/status.ts +0 -88
  226. package/cli/src/commands/ui.tsx +0 -843
  227. package/cli/src/commands/up.ts +0 -169
  228. package/cli/src/commands/upgrade.ts +0 -628
  229. package/cli/src/commands/version.ts +0 -9
  230. package/cli/src/components/Accessible.tsx +0 -21
  231. package/cli/src/components/BaseTooltip.tsx +0 -66
  232. package/cli/src/components/DetailPanel.tsx +0 -146
  233. package/cli/src/components/FileTree.tsx +0 -89
  234. package/cli/src/components/ResourceSelectInput.tsx +0 -30
  235. package/cli/src/components/ResourceTable.tsx +0 -78
  236. package/cli/src/components/TabBar.tsx +0 -53
  237. package/cli/src/components/Tooltip.tsx +0 -11
  238. package/cli/src/components/index.ts +0 -7
  239. package/cli/src/config/platform-standards.test.ts +0 -11
  240. package/cli/src/config/platform-standards.ts +0 -196
  241. package/cli/src/generator/__tests__/extension-fetch.test.ts +0 -242
  242. package/cli/src/generator/__tests__/template-engine.test.ts +0 -70
  243. package/cli/src/generator/extension-fetch.ts +0 -286
  244. package/cli/src/generator/template-engine.ts +0 -752
  245. package/cli/src/index.ts +0 -86
  246. package/cli/src/templates.d.ts +0 -4
  247. package/cli/src/types/index.ts +0 -353
  248. package/cli/src/utils/__tests__/cache.test.ts +0 -98
  249. package/cli/src/utils/__tests__/formatting.test.ts +0 -170
  250. package/cli/src/utils/__tests__/paths.test.ts +0 -180
  251. package/cli/src/utils/__tests__/port-assignment.test.ts +0 -121
  252. package/cli/src/utils/__tests__/service-urls.test.ts +0 -174
  253. package/cli/src/utils/__tests__/services.test.ts +0 -531
  254. package/cli/src/utils/__tests__/tilt.test.ts +0 -172
  255. package/cli/src/utils/__tests__/validation.test.ts +0 -148
  256. package/cli/src/utils/cache.ts +0 -76
  257. package/cli/src/utils/command-helpers.ts +0 -54
  258. package/cli/src/utils/constants.ts +0 -130
  259. package/cli/src/utils/discovery-context.ts +0 -49
  260. package/cli/src/utils/docker.ts +0 -20
  261. package/cli/src/utils/doctor-runtime.ts +0 -644
  262. package/cli/src/utils/env-validator.ts +0 -139
  263. package/cli/src/utils/errors.ts +0 -168
  264. package/cli/src/utils/file-helpers.ts +0 -62
  265. package/cli/src/utils/formatting.ts +0 -215
  266. package/cli/src/utils/paths.ts +0 -53
  267. package/cli/src/utils/port-assignment.ts +0 -106
  268. package/cli/src/utils/project-features.ts +0 -118
  269. package/cli/src/utils/project-templates.ts +0 -29
  270. package/cli/src/utils/prompt.ts +0 -128
  271. package/cli/src/utils/resource-features.ts +0 -215
  272. package/cli/src/utils/service-urls.ts +0 -124
  273. package/cli/src/utils/services.ts +0 -364
  274. package/cli/src/utils/stack-features.ts +0 -30
  275. package/cli/src/utils/tar.ts +0 -24
  276. package/cli/src/utils/tilt.ts +0 -133
  277. package/cli/src/utils/validation.ts +0 -67
  278. package/cli/tsconfig.json +0 -25
  279. package/cli/tsconfig.typecheck.json +0 -8
  280. package/docs/FEATURES.md +0 -281
  281. package/docs/demo.svg +0 -217
  282. package/engine/docs/AUTODISCOVERY_TEST.md +0 -182
  283. package/engine/docs/C4-ARCHITECTURE-operations.md +0 -396
  284. package/engine/docs/C4-ARCHITECTURE-overview.md +0 -284
  285. package/engine/docs/C4-ARCHITECTURE.md +0 -17
  286. package/engine/docs/GOLDEN_IMAGE_INTEGRATION.md +0 -349
  287. package/engine/docs/MANIFEST_DRIVEN_ARCHITECTURE.md +0 -357
  288. package/engine/docs/README.md +0 -284
  289. package/install.sh +0 -19
  290. package/knip.json +0 -10
  291. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/.openspec.yaml +0 -2
  292. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/design.md +0 -102
  293. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/proposal.md +0 -31
  294. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-notifications/spec.md +0 -48
  295. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-orchestration/spec.md +0 -63
  296. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-troubleshooting/spec.md +0 -56
  297. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/tasks.md +0 -61
  298. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/.openspec.yaml +0 -2
  299. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/design.md +0 -114
  300. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/proposal.md +0 -32
  301. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/manifest-field-migration/spec.md +0 -20
  302. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/resource-terminology-standard/spec.md +0 -20
  303. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/stack-terminology-standard/spec.md +0 -20
  304. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/tasks.md +0 -194
  305. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/.openspec.yaml +0 -2
  306. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/design.md +0 -111
  307. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/proposal.md +0 -33
  308. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/function-naming-alignment/spec.md +0 -12
  309. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/optional-parameter-patterns/spec.md +0 -18
  310. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-documentation/spec.md +0 -16
  311. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-naming-consistency/spec.md +0 -12
  312. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-ordering-standard/spec.md +0 -12
  313. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/tasks.md +0 -194
  314. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/.openspec.yaml +0 -2
  315. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/design.md +0 -84
  316. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/proposal.md +0 -31
  317. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/codebase-audit/spec.md +0 -27
  318. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/dead-code-cleanup/spec.md +0 -27
  319. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/test-gap-fill/spec.md +0 -23
  320. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/todo-resolution/spec.md +0 -27
  321. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/tasks.md +0 -39
  322. package/openspec/changes/archive/2026-06-25-landscape-consolidation/.openspec.yaml +0 -2
  323. package/openspec/changes/archive/2026-06-25-landscape-consolidation/design.md +0 -80
  324. package/openspec/changes/archive/2026-06-25-landscape-consolidation/proposal.md +0 -40
  325. package/openspec/changes/archive/2026-06-25-landscape-consolidation/spec.md +0 -52
  326. package/openspec/changes/archive/2026-06-25-landscape-consolidation/tasks.md +0 -51
  327. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/.openspec.yaml +0 -2
  328. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/design.md +0 -43
  329. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/proposal.md +0 -29
  330. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/specs/self-contained-generated-projects/spec.md +0 -67
  331. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/tasks.md +0 -27
  332. package/openspec/changes/optimize-runtime-docker-layers/.openspec.yaml +0 -3
  333. package/openspec/changes/optimize-runtime-docker-layers/design.md +0 -81
  334. package/openspec/changes/optimize-runtime-docker-layers/proposal.md +0 -44
  335. package/openspec/changes/optimize-runtime-docker-layers/specs/runtime-container-footprint/spec.md +0 -79
  336. package/openspec/changes/optimize-runtime-docker-layers/tasks.md +0 -36
  337. package/openspec/changes/prioritized-cold-start/.openspec.yaml +0 -4
  338. package/openspec/changes/prioritized-cold-start/design.md +0 -137
  339. package/openspec/changes/prioritized-cold-start/proposal.md +0 -41
  340. package/openspec/changes/prioritized-cold-start/specs/on-demand-resource-startup/spec.md +0 -98
  341. package/openspec/changes/prioritized-cold-start/tasks.md +0 -69
  342. package/openspec/config.yaml +0 -1
  343. package/openspec/specs/manifest-field-migration/spec.md +0 -24
  344. package/openspec/specs/resource-terminology-standard/spec.md +0 -24
  345. package/openspec/specs/self-contained-generated-projects/spec.md +0 -67
  346. package/openspec/specs/stack-terminology-standard/spec.md +0 -24
  347. package/platform/services/platform/proxy/service.yaml +0 -14
  348. package/scripts/audit-codebase.sh +0 -213
  349. package/scripts/autoresearch/layer-eval.sh +0 -65
  350. package/scripts/benchmark/README.md +0 -25
  351. package/scripts/benchmark/container-scale.ts +0 -503
  352. package/scripts/benchmark/pre-release-gate.sh +0 -9
  353. package/scripts/install-git-hooks.sh +0 -14
  354. package/scripts/measure-idle-footprint.sh +0 -58
  355. package/scripts/record-demo.sh +0 -43
  356. package/scripts/release-binaries.sh +0 -97
  357. package/scripts/setup-pre-commit.sh +0 -33
  358. package/scripts/stage-npm-engine.sh +0 -36
  359. package/tests/tilt-engine/__init__.py +0 -5
  360. package/tests/tilt-engine/conftest.py +0 -182
  361. package/tests/tilt-engine/fixtures/appointment-frontend-service.json +0 -11
  362. package/tests/tilt-engine/fixtures/identity-backend-service.json +0 -12
  363. package/tests/tilt-engine/fixtures/invalid-service.json +0 -4
  364. package/tests/tilt-engine/test_agents_md_generator.py +0 -341
  365. package/tests/tilt-engine/test_agents_md_integration.py +0 -378
  366. package/tests/tilt-engine/test_cache_operations.py +0 -181
  367. package/tests/tilt-engine/test_cache_persistence.py +0 -142
  368. package/tests/tilt-engine/test_code_executor.py +0 -152
  369. package/tests/tilt-engine/test_code_viewer.py +0 -127
  370. package/tests/tilt-engine/test_compose_port_anchors.py +0 -310
  371. package/tests/tilt-engine/test_config_inspector.py +0 -162
  372. package/tests/tilt-engine/test_daemon_focus_mode.py +0 -89
  373. package/tests/tilt-engine/test_daemon_polling.py +0 -122
  374. package/tests/tilt-engine/test_daemon_registration.py +0 -115
  375. package/tests/tilt-engine/test_daemon_validation.py +0 -107
  376. package/tests/tilt-engine/test_docker_generator_bugs.py +0 -493
  377. package/tests/tilt-engine/test_docker_prune.py +0 -119
  378. package/tests/tilt-engine/test_dockerignore_path_bug.py +0 -82
  379. package/tests/tilt-engine/test_file_browser.py +0 -193
  380. package/tests/tilt-engine/test_frontend_basepath_manifest.py +0 -27
  381. package/tests/tilt-engine/test_health_dependencies.py +0 -130
  382. package/tests/tilt-engine/test_health_endpoints.py +0 -118
  383. package/tests/tilt-engine/test_health_tilt_ui.py +0 -85
  384. package/tests/tilt-engine/test_runtime_container_footprint.py +0 -162
  385. package/tests/tilt-engine/test_sablier_defer_start.py +0 -237
  386. package/tests/tilt-engine/test_safety_aliases.py +0 -84
  387. package/tests/tilt-engine/test_snapshot_diff.py +0 -136
  388. package/tests/tilt-engine/test_snapshot_persistence.py +0 -163
  389. package/tests/tilt-engine/test_snapshot_scanning.py +0 -123
  390. package/tests/tilt-engine/test_standalone_project_boot.py +0 -61
  391. package/tests/tilt-engine/test_standalone_traefik.py +0 -160
  392. package/tests/tilt-engine/test_traefik_static_wake_route.py +0 -187
@@ -1,194 +0,0 @@
1
- ## 1. Discovery Directory - Core Registry and Cache
2
-
3
- - [x] 1.1 Rename `domain_configs` to `stack_configs` in `discovery/registry.star` cache
4
- - [x] 1.2 Update `_render_product_domains_index()` to `_render_product_stacks_index()` in `discovery/registry.star`
5
- - [x] 1.3 Update all docstrings in `discovery/registry.star` from "service" to "resource"
6
- - [x] 1.4 Update variable names in `discovery/registry.star` from `svc` to `resource`
7
- - [x] 1.5 Update variable names in `discovery/registry.star` from `service` to `resource` (function params)
8
- - [x] 1.6 Rename `domain` references in `discovery/discovery_orchestrator.star` manifest access
9
- - [x] 1.7 Update docstrings in `discovery/discovery_orchestrator.star` from "service" to "resource"
10
- - [x] 1.8 Update variable names in `discovery/discovery_orchestrator.star` from `svc` to `resource`
11
- - [x] 1.9 Rename `domain` references in `discovery/incremental_discovery.star` manifest access
12
- - [x] 1.10 Update docstrings in `discovery/incremental_discovery.star` from "service" to "resource"
13
-
14
- ## 2. Discovery Directory - Manifest and Loading
15
-
16
- - [x] 2.1 Rename `domain` references in `discovery/manifest/loading.star` to `stack`
17
- - [x] 2.2 Update docstrings in `discovery/manifest/loading.star` from "service" to "resource"
18
- - [x] 2.3 Rename `domain` references in `discovery/manifest/normalize.star` to `stack`
19
- - [x] 2.4 Update docstrings in `discovery/manifest/normalize.star` from "service" to "resource"
20
- - [x] 2.5 Rename `domain` references in `discovery/manifest/validation.star` to `stack`
21
- - [x] 2.6 Update docstrings in `discovery/manifest/validation.star` from "service" to "resource"
22
- - [x] 2.7 Rename `domain` references in `discovery/config.star` to `stack`
23
- - [x] 2.8 Update docstrings in `discovery/config.star` from "service" to "resource"
24
- - [x] 2.9 Rename `domain` references in `discovery/constants.star` to `stack`
25
- - [x] 2.10 Update docstrings in `discovery/constants.star` from "service" to "resource"
26
-
27
- ## 3. Discovery Directory - Utilities and Validation
28
-
29
- - [x] 3.1 Rename `domain` references in `discovery/validation.star` to `stack`
30
- - [x] 3.2 Update docstrings in `discovery/validation.star` from "service" to "resource"
31
- - [x] 3.3 Rename `domain` references in `discovery/filtering.star` to `stack`
32
- - [x] 3.4 Update variable names in `discovery/filtering.star` from `svc` to `resource`
33
- - [x] 3.5 Rename `domain` references in `discovery/indexing.star` to `stack`
34
- - [x] 3.6 Update docstrings in `discovery/indexing.star` from "service" to "resource"
35
- - [x] 3.7 Rename `domain` references in `discovery/deterministic.star` to `stack`
36
- - [x] 3.8 Update variable names in `discovery/deterministic.star` from `svc` to `resource`
37
- - [x] 3.9 Rename `domain` references in `discovery/resource_snapshot.star` to `stack`
38
- - [x] 3.10 Update docstrings in `discovery/resource_snapshot.star` from "service" to "resource"
39
-
40
- ## 4. Engine Topologies Tilt - Discovery (Deprecated System)
41
-
42
- - [x] 4.1 Rename `domain` references in `engine/topologies/tilt/discovery/registry.star` to `stack`
43
- - [x] 4.2 Update docstrings in `engine/topologies/tilt/discovery/registry.star` from "service" to "resource"
44
- - [x] 4.3 Rename `domain` references in `engine/topologies/tilt/discovery/discovery_orchestrator.star` to `stack`
45
- - [x] 4.4 Update docstrings in `engine/topologies/tilt/discovery/discovery_orchestrator.star` from "service" to "resource"
46
- - [x] 4.5 Rename `domain` references in `engine/topologies/tilt/discovery/incremental_discovery.star` to `stack`
47
- - [x] 4.6 Update docstrings in `engine/topologies/tilt/discovery/incremental_discovery.star` from "service" to "resource"
48
- - [x] 4.7 Rename `domain` references in `engine/topologies/tilt/discovery/manifest/loading.star` to `stack`
49
- - [x] 4.8 Update docstrings in `engine/topologies/tilt/discovery/manifest/loading.star` from "service" to "resource"
50
- - [x] 4.9 Rename `domain` references in `engine/topologies/tilt/discovery/manifest/normalize.star` to `stack`
51
- - [x] 4.10 Update docstrings in `engine/topologies/tilt/discovery/manifest/normalize.star` from "service" to "resource"
52
-
53
- ## 5. Engine Topologies Tilt - Manifest Files
54
-
55
- - [x] 5.1 Rename `domain` references in `engine/topologies/tilt/discovery/manifest/validation.star` to `stack`
56
- - [x] 5.2 Update docstrings in `engine/topologies/tilt/discovery/manifest/validation.star` from "service" to "resource"
57
- - [x] 5.3 Rename `domain` references in `engine/topologies/tilt/manifest/parser.star` to `stack`
58
- - [x] 5.4 Update docstrings in `engine/topologies/tilt/manifest/parser.star` from "service" to "resource"
59
- - [x] 5.5 Rename `domain` references in `engine/topologies/tilt/manifest/loader.star` to `stack`
60
- - [x] 5.6 Update docstrings in `engine/topologies/tilt/manifest/loader.star` from "service" to "resource"
61
- - [x] 5.7 Rename `domain` references in `engine/topologies/tilt/manifest/mapper.star` to `stack`
62
- - [x] 5.8 Update docstrings in `engine/topologies/tilt/manifest/mapper.star` from "service" to "resource"
63
- - [x] 5.9 Rename `domain` references in `engine/topologies/tilt/manifest/integration.star` to `stack`
64
- - [x] 5.10 Update docstrings in `engine/topologies/tilt/manifest/integration.star` from "service" to "resource"
65
-
66
- ## 6. Engine Topologies Tilt - Generators Vite
67
-
68
- - [x] 6.1 Rename `domain` references in `engine/topologies/tilt/generators/vite/backend.star` to `stack`
69
- - [x] 6.2 Update docstrings in `engine/topologies/tilt/generators/vite/backend.star` from "service" to "resource"
70
- - [x] 6.3 Rename `domain` references in `engine/topologies/tilt/generators/vite/frontend.star` to `stack`
71
- - [x] 6.4 Update docstrings in `engine/topologies/tilt/generators/vite/frontend.star` from "service" to "resource"
72
- - [x] 6.5 Rename `domain` references in `engine/topologies/tilt/generators/vite/library.star` to `stack`
73
- - [x] 6.6 Update docstrings in `engine/topologies/tilt/generators/vite/library.star` from "service" to "resource"
74
- - [x] 6.7 Rename `domain` references in `engine/topologies/tilt/generators/vite/sdk.star` to `stack`
75
- - [x] 6.8 Update docstrings in `engine/topologies/tilt/generators/vite/sdk.star` from "service" to "resource"
76
- - [x] 6.9 Rename `domain` references in `engine/topologies/tilt/generators/vite/generators.star` to `stack`
77
- - [x] 6.10 Update docstrings in `engine/topologies/tilt/generators/vite/generators.star` from "service" to "resource"
78
-
79
- ## 7. Engine Topologies Tilt - Generators Docker
80
-
81
- - [x] 7.1 Rename `domain` references in `engine/topologies/tilt/generators/docker/frontend.star` to `stack` (file doesn't exist - moved to platform/docker/)
82
- - [x] 7.2 Update docstrings in `engine/topologies/tilt/generators/docker/frontend.star` from "service" to "resource" (file doesn't exist)
83
- - [x] 7.3 Rename `domain` references in `engine/topologies/tilt/generators/docker/backend.star` to `stack` (file doesn't exist - moved to platform/docker/)
84
- - [x] 7.4 Update docstrings in `engine/topologies/tilt/generators/docker/backend.star` from "service" to "resource" (file doesn't exist)
85
- - [x] 7.5 Rename `domain` references in `engine/topologies/tilt/generators/docker/compose.star` to `stack` (file doesn't exist - moved to platform/docker/compose/)
86
- - [x] 7.6 Update docstrings in `engine/topologies/tilt/generators/docker/compose.star` from "service" to "resource" (file doesn't exist)
87
- - [x] 7.7 Rename `domain` references in `engine/topologies/tilt/generators/validators.star` to `stack`
88
- - [x] 7.8 Update docstrings in `engine/topologies/tilt/generators/validators.star` from "service" to "resource"
89
- - [x] 7.9 Rename `domain` references in `engine/topologies/tilt/generators/database_provisioner.star` to `stack`
90
- - [x] 7.10 Update docstrings in `engine/topologies/tilt/generators/database_provisioner.star` from "service" to "resource"
91
-
92
- ## 8. Engine Topologies Tilt - More Generators
93
-
94
- - [x] 8.1 Rename `domain` references in `engine/topologies/tilt/generators/nginx_conf.star` to `stack`
95
- - [x] 8.2 Update docstrings in `engine/topologies/tilt/generators/nginx_conf.star` from "service" to "resource"
96
- - [x] 8.3 Rename `domain` references in `engine/topologies/tilt/generators/npmrc.star` to `stack`
97
- - [x] 8.4 Update docstrings in `engine/topologies/tilt/generators/npmrc.star` from "service" to "resource"
98
- - [x] 8.5 Rename `domain` references in `engine/topologies/tilt/generators/env.star` to `stack` (file doesn't exist)
99
- - [x] 8.6 Update docstrings in `engine/topologies/tilt/generators/env.star` from "service" to "resource" (file doesn't exist)
100
- - [x] 8.7 Rename `domain` references in `engine/topologies/tilt/generators/tsconfig.star` to `stack`
101
- - [x] 8.8 Update docstrings in `engine/topologies/tilt/generators/tsconfig.star` from "service" to "resource"
102
- - [x] 8.9 Rename `domain` references in `engine/topologies/tilt/generators/dependency_manifest.star` to `stack`
103
- - [x] 8.10 Update docstrings in `engine/topologies/tilt/generators/dependency_manifest.star` from "service" to "resource"
104
-
105
- ## 9. Engine Topologies Tilt - Infisical Generators
106
-
107
- - [x] 9.1 Rename `domain` references in `engine/topologies/tilt/generators/infisical/path_manager.star` to `stack`
108
- - [x] 9.2 Update docstrings in `engine/topologies/tilt/generators/infisical/path_manager.star` from "service" to "resource"
109
- - [x] 9.3 Rename `domain` references in `engine/topologies/tilt/generators/infisical/sync.star` to `stack` (file doesn't exist)
110
- - [x] 9.4 Update docstrings in `engine/topologies/tilt/generators/infisical/sync.star` from "service" to "resource" (file doesn't exist)
111
- - [x] 9.5 Rename `domain` references in `engine/topologies/tilt/generators/infisical/star_to_json.star` to `stack` (file doesn't exist)
112
- - [x] 9.6 Update docstrings in `engine/topologies/tilt/generators/infisical/star_to_json.star` from "service" to "resource" (file doesn't exist)
113
- - [x] 9.7 Rename `domain` references in `engine/topologies/tilt/generators/agents_md.star` to `stack`
114
- - [x] 9.8 Update docstrings in `engine/topologies/tilt/generators/agents_md.star` from "service" to "resource"
115
- - [x] 9.9 Rename `domain` references in `engine/topologies/tilt/generators/c4_diagram.star` to `stack`
116
- - [x] 9.10 Update docstrings in `engine/topologies/tilt/generators/c4_diagram.star` from "service" to "resource"
117
-
118
- ## 10. Engine Topologies Tilt - Resource Orchestration
119
-
120
- - [x] 10.1 Rename `domain` references in `engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star` to `stack`
121
- - [x] 10.2 Update variable names in `engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star` from `svc` to `resource`
122
- - [x] 10.3 Rename `domain` references in `engine/topologies/tilt/resources/orchestrator/apply_manifest_orchestration.star` to `stack`
123
- - [x] 10.4 Update variable names in `engine/topologies/tilt/resources/orchestrator/apply_manifest_orchestration.star` from `svc` to `resource`
124
- - [x] 10.5 Rename `domain` references in `engine/topologies/tilt/resources/orchestrator/apply_migrator_orchestration.star` to `stack`
125
- - [x] 10.6 Update variable names in `engine/topologies/tilt/resources/orchestrator/apply_migrator_orchestration.star` from `svc` to `resource`
126
- - [x] 10.7 Rename `domain` references in `engine/topologies/tilt/resources/orchestrator/generators/frontend.star` to `stack`
127
- - [x] 10.8 Update variable names in `engine/topologies/tilt/resources/orchestrator/generators/frontend.star` from `svc` to `resource`
128
- - [x] 10.9 Rename `domain` references in `engine/topologies/tilt/resources/orchestrator/generators/env.star` to `stack`
129
- - [x] 10.10 Update variable names in `engine/topologies/tilt/resources/orchestrator/generators/env.star` from `svc` to `resource`
130
-
131
- ## 11. Engine Topologies Tilt - Resource Definition Files
132
-
133
- - [x] 11.1 Rename `domain` references in `engine/topologies/tilt/resources/libs_resource_definition.star` to `stack`
134
- - [x] 11.2 Update variable names in `engine/topologies/tilt/resources/libs_resource_definition.star` from `svc` to `resource`
135
- - [x] 11.3 Rename `domain` references in `engine/topologies/tilt/resources/libs_tsconfig.star` to `stack`
136
- - [x] 11.4 Update variable names in `engine/topologies/tilt/resources/libs_tsconfig.star` from `svc` to `resource`
137
- - [x] 11.5 Rename `domain` references in `engine/topologies/tilt/resources/libs_setup.star` to `stack`
138
- - [x] 11.6 Update variable names in `engine/topologies/tilt/resources/libs_setup.star` from `svc` to `resource`
139
- - [x] 11.7 Rename `domain` references in `engine/topologies/tilt/resources/infra-loader.star` to `stack`
140
- - [x] 11.8 Update variable names in `engine/topologies/tilt/resources/infra-loader.star` from `svc` to `resource`
141
- - [x] 11.9 Rename `domain` references in `engine/topologies/tilt/resources/frontend_resource.star` to `stack` (file doesn't exist)
142
- - [x] 11.10 Update variable names in `engine/topologies/tilt/resources/frontend_resource.star` from `svc` to `resource` (file doesn't exist)
143
-
144
- ## 12. Engine Topologies Tilt - More Resource Files
145
-
146
- - [x] 12.1 Rename `domain` references in `engine/topologies/tilt/resources/backend_resource.star` to `stack` (file doesn't exist)
147
- - [x] 12.2 Update variable names in `engine/topologies/tilt/resources/backend_resource.star` from `svc` to `resource` (file doesn't exist)
148
- - [x] 12.3 Rename `domain` references in `engine/topologies/tilt/resources/database_resource.star` to `stack` (file doesn't exist)
149
- - [x] 12.4 Update variable names in `engine/topologies/tilt/resources/database_resource.star` from `svc` to `resource` (file doesn't exist)
150
- - [x] 12.5 Rename `domain` references in `engine/topologies/tilt/resources/infra_resource.star` to `stack` (file doesn't exist)
151
- - [x] 12.6 Update variable names in `engine/topologies/tilt/resources/infra_resource.star` from `svc` to `resource` (file doesn't exist)
152
- - [x] 12.7 Rename `domain` references in `engine/topologies/tilt/resources/proxy_resource.star` to `stack` (file doesn't exist)
153
- - [x] 12.8 Update variable names in `engine/topologies/tilt/resources/proxy_resource.star` from `svc` to `resource` (file doesn't exist)
154
- - [x] 12.9 Rename `domain` references in `engine/topologies/tilt/resources/migration_resource.star` to `stack` (file doesn't exist)
155
- - [x] 12.10 Update variable names in `engine/topologies/tilt/resources/migration_resource.star` from `svc` to `resource` (file doesn't exist)
156
-
157
- ## 13. Engine Topologies Platform - Docker and Compose
158
-
159
- - [x] 13.1 Rename `domain` references in `engine/topologies/platform/docker/compose/compose.star` to `stack`
160
- - [x] 13.2 Update docstrings in `engine/topologies/platform/docker/compose/compose.star` from "service" to "resource"
161
- - [x] 13.3 Rename `domain` references in `engine/topologies/platform/docker/layers.star` to `stack` (file doesn't exist)
162
- - [x] 13.4 Update docstrings in `engine/topologies/platform/docker/layers.star` from "service" to "resource" (file doesn't exist)
163
- - [x] 13.5 Rename `domain` references in `engine/topologies/platform/docker/networking/traefik.star` to `stack`
164
- - [x] 13.6 Update docstrings in `engine/topologies/platform/docker/networking/traefik.star` from "service" to "resource"
165
- - [x] 13.7 Rename `domain` references in `engine/topologies/platform/docker/networking/traefik_helpers.star` to `stack`
166
- - [x] 13.8 Update docstrings in `engine/topologies/platform/docker/networking/traefik_helpers.star` from "service" to "resource"
167
- - [x] 13.9 Rename `domain` references in `engine/topologies/platform/docker/constants.star` to `stack`
168
- - [x] 13.10 Update docstrings in `engine/topologies/platform/docker/constants.star` from "service" to "resource"
169
-
170
- ## 14. Engine Topologies Platform - Security and Proxy
171
-
172
- - [x] 14.1 Rename `domain` references in `engine/topologies/platform/security/secrets.star` to `stack`
173
- - [x] 14.2 Update docstrings in `engine/topologies/platform/security/secrets.star` from "service" to "resource"
174
- - [x] 14.3 Rename `domain` references in `engine/topologies/platform/security/infisical.star` to `stack` (file doesn't exist)
175
- - [x] 14.4 Update docstrings in `engine/topologies/platform/security/infisical.star` from "service" to "resource" (file doesn't exist)
176
- - [x] 14.5 Rename `domain` references in `engine/topologies/platform/proxy/caddy.star` to `stack` (file doesn't exist)
177
- - [x] 14.6 Update docstrings in `engine/topologies/platform/proxy/caddy.star` from "service" to "resource" (file doesn't exist)
178
- - [x] 14.7 Rename `domain` references in `engine/topologies/platform/proxy/nginx.star` to `stack` (file doesn't exist)
179
- - [x] 14.8 Update docstrings in `engine/topologies/platform/proxy/nginx.star` from "service" to "resource" (file doesn't exist)
180
- - [x] 14.9 Rename `domain` references in `engine/topologies/platform/state/persistence.star` to `stack` (file doesn't exist)
181
- - [x] 14.10 Update docstrings in `engine/topologies/platform/state/persistence.star` from "service" to "resource" (file doesn't exist)
182
-
183
- ## 15. Autogenerated Files and Final Verification
184
-
185
- - [x] 15.1 Update autogenerated file naming in `discovery/registry.star` from `domains` to `stacks`
186
- - [x] 15.2 Update autogenerated file naming in `engine/topologies/tilt/discovery/registry.star` from `domains` to `stacks`
187
- - [x] 15.3 Update all `load()` statements that reference domain-named files to stack-named files
188
- - [x] 15.4 Run test suite to verify all terminology changes work correctly
189
- - [x] 15.5 Grep for remaining `manifest.get('domain')` patterns - should be 0
190
- - [x] 15.6 Grep for remaining `domain_configs` references - should be 0
191
- - [x] 15.7 Grep for remaining `svc` variables that should be `resource` - verified minimal
192
- - [x] 15.8 Grep for remaining `service` docstrings that should say `resource` - verified 0
193
- - [x] 15.9 Verify `app_resources` cache key is intentionally kept (per design decision)
194
- - [x] 15.10 Final review: All domain→stack and service→resource migrations complete
@@ -1,2 +0,0 @@
1
- schema: spec-driven
2
- created: 2026-04-28
@@ -1,111 +0,0 @@
1
- ## Context
2
-
3
- The codebase currently has 174 .star files with 774 function definitions across multiple directories. Through analysis, we've identified several parameter inconsistency issues:
4
-
5
- 1. **Write Function Parameter Naming**: Functions use `write_fn`, `write_file_fn`, and `write_file_if_changed_fn` interchangeably for the same concept
6
- 2. **Parameter Ordering**: Some functions have `write_fn` at the end, others have it earlier in the parameter list
7
- 3. **Missing Documentation**: Most functions lack parameter documentation explaining expected types and purposes
8
- 4. **Naming Divergence**: The primary `/discovery/` system and deprecated `/engine/topologies/tilt/discovery/` system use different naming conventions (e.g., `register_new_service` vs `register_new_resource`)
9
- 5. **Optional Parameter Patterns**: Inconsistent use of `write_fn=None` pattern for dependency injection
10
-
11
- These inconsistencies make the codebase harder to navigate, maintain, and extend. This refactoring aims to establish clear conventions without changing any functional behavior.
12
-
13
- ## Goals / Non-Goals
14
-
15
- **Goals:**
16
- - Standardize all write function parameter names to `write_fn`
17
- - Ensure optional parameters consistently appear at the end of parameter lists
18
- - Add parameter documentation (docstring-style comments) to all functions
19
- - Align function names between duplicate discovery systems where they diverge
20
- - Maintain 100% backward compatibility in behavior (no functional changes)
21
- - Enable parallel execution of all 100 subtasks
22
-
23
- **Non-Goals:**
24
- - Changing function logic or behavior
25
- - Adding new features or capabilities
26
- - Removing deprecated files (they are kept for backward compatibility)
27
- - Renaming functions unless they have divergent names between duplicate systems
28
- - Adding runtime type checking (only documentation)
29
-
30
- ## Decisions
31
-
32
- ### Decision 1: Standardize on `write_fn` Parameter Name
33
- **Rationale**: The name `write_fn` is concise, clear, and already used in the majority of functions. It's shorter than `write_file_if_changed_fn` without losing clarity.
34
-
35
- **Alternatives considered**:
36
- - `write_file_fn` - More explicit but redundant since context makes it clear
37
- - `write_file_if_changed_fn` - Too verbose for frequent use
38
- - Keep all variations - Rejected as it perpetuates inconsistency
39
-
40
- ### Decision 2: Optional Parameters at End of Signature
41
- **Rationale**: Following Python/Starlark conventions, parameters with default values should come after required parameters. This makes function calls more readable and prevents positional argument errors.
42
-
43
- **Pattern to enforce**:
44
- ```starlark
45
- def function_name(required1, required2, optional1=None, optional2=True):
46
- ```
47
-
48
- ### Decision 3: Docstring Format for Starlark
49
- **Rationale**: Starlark doesn't have a formal docstring standard like Python. We'll use a consistent comment-based format:
50
-
51
- ```starlark
52
- def function_name(param1, param2, write_fn=None):
53
- """
54
- Brief description of function.
55
-
56
- Args:
57
- param1: Description of param1 (type)
58
- param2: Description of param2 (type)
59
- write_fn: Optional write function for dependency injection (callable)
60
-
61
- Returns:
62
- Description of return value (type)
63
- """
64
- ```
65
-
66
- ### Decision 4: Parallel Task Execution
67
- **Rationale**: Since these are independent refactoring tasks across different files, they can be executed in parallel. Each task focuses on a specific file or small group of related files.
68
-
69
- **Task organization**:
70
- - Group 1-40: `/discovery/` directory (primary system)
71
- - Group 41-80: `/engine/topologies/tilt/` directory (deprecated system)
72
- - Group 81-95: `/engine/topologies/platform/` directory
73
- - Group 96-100: `/specs/` directory and cross-cutting concerns
74
-
75
- ## Risks / Trade-offs
76
-
77
- **Risk**: Breaking changes for external callers using keyword arguments
78
- - **Mitigation**: This is a **BREAKING** change as noted in proposal. External code will need to update parameter names. We'll document all changed parameter names in the tasks.
79
-
80
- **Risk**: Inadvertent functional changes during refactoring
81
- - **Mitigation**: Each task includes verification step to confirm no behavior changes. All existing tests must pass.
82
-
83
- **Risk**: Merge conflicts with ongoing development
84
- - **Mitigation**: Short timeline for completion. Tasks are small and focused, minimizing conflict window.
85
-
86
- **Risk**: Deprecated system modifications may seem wasteful
87
- - **Mitigation**: Keeping deprecated system consistent reduces cognitive load when comparing or potentially migrating between systems.
88
-
89
- ## Migration Plan
90
-
91
- 1. **Phase 1: Analysis** (completed)
92
- - Catalog all 174 .star files and 774 functions
93
- - Identify specific parameter inconsistencies
94
-
95
- 2. **Phase 2: Implementation** (current)
96
- - Execute 100 parallel subtasks to fix parameter issues
97
- - Each task updates specific files with standardized patterns
98
-
99
- 3. **Phase 3: Verification**
100
- - Run full test suite
101
- - Verify no functional changes
102
- - Check for any missed inconsistencies
103
-
104
- 4. **Phase 4: Documentation**
105
- - Update any developer documentation with new conventions
106
- - Add parameter naming conventions to coding standards
107
-
108
- ## Open Questions
109
-
110
- - Should we add a linting rule to prevent future parameter naming inconsistencies?
111
- - Should we create a style guide document for Starlark conventions?
@@ -1,33 +0,0 @@
1
- ## Why
2
-
3
- The codebase contains 174 .star files with 774 function definitions that have inconsistent parameter naming, ordering, and documentation. This inconsistency creates cognitive overhead for developers, makes the code harder to maintain, and increases the risk of bugs when functions are called with incorrect arguments. Standardizing function parameters across all star files will improve code readability, reduce maintenance burden, and establish clear conventions for future development.
4
-
5
- ## What Changes
6
-
7
- - **Standardize write function parameter naming**: Unify all variations (`write_fn`, `write_file_fn`, `write_file_if_changed_fn`) to a consistent `write_fn` parameter name across all generator functions
8
- - **Fix parameter ordering**: Ensure optional parameters with defaults (especially `write_fn=None`) consistently appear at the end of parameter lists
9
- - **Add missing parameter documentation**: Add docstring-style comments for all function parameters explaining their purpose and types
10
- - **Normalize function naming between duplicate systems**: Align function names between `/discovery/` (primary) and `/engine/topologies/tilt/discovery/` (deprecated) where they diverge (e.g., `register_new_service` vs `register_new_resource`)
11
- - **Standardize optional parameter patterns**: Ensure all file-writing functions use consistent `write_fn=None` pattern for dependency injection
12
- - **Add type hints where missing**: Document expected parameter types (string, dict, bool, function, etc.) in function signatures
13
-
14
- ## Capabilities
15
-
16
- ### New Capabilities
17
- - `parameter-naming-consistency`: Standardize all write function parameter names to `write_fn`
18
- - `parameter-ordering-standard`: Ensure consistent parameter ordering with optional params last
19
- - `parameter-documentation`: Add docstring documentation for all function parameters
20
- - `function-naming-alignment`: Align function names between duplicate discovery systems
21
- - `optional-parameter-patterns`: Standardize `write_fn=None` pattern across all generators
22
-
23
- ### Modified Capabilities
24
- <!-- No existing spec requirements are changing - this is purely refactoring for consistency -->
25
-
26
- ## Impact
27
-
28
- - **Affected Files**: 174 .star files across `/discovery/`, `/engine/topologies/tilt/`, `/engine/topologies/platform/`, and `/specs/` directories
29
- - **Function Count**: 774 function definitions will be reviewed and standardized
30
- - **Dependencies**: No external dependencies affected - this is internal refactoring
31
- - **Breaking Changes**: **BREAKING** - Any external code calling these functions with keyword arguments will need to update parameter names
32
- - **Risk Level**: Medium - extensive changes across many files, but purely refactoring with no behavioral changes
33
- - **Testing Required**: All existing tests must pass; no functional changes expected
@@ -1,12 +0,0 @@
1
- ## ADDED Requirements
2
-
3
- ### Requirement: Function naming alignment between duplicate systems
4
- Functions in the primary `/discovery/` system and deprecated `/engine/topologies/tilt/discovery/` system SHALL use consistent naming where they serve identical purposes.
5
-
6
- #### Scenario: Function names match between systems
7
- - **WHEN** two functions in duplicate systems perform the same operation
8
- - **THEN** they SHALL have identical names
9
-
10
- #### Scenario: Divergent names are aligned
11
- - **WHEN** a function in the primary system is named `register_new_service` and the equivalent in the deprecated system is named `register_new_resource`
12
- - **THEN** the deprecated system function SHALL be renamed to match the primary system naming convention
@@ -1,18 +0,0 @@
1
- ## ADDED Requirements
2
-
3
- ### Requirement: Consistent optional write function parameter pattern
4
- All file-writing functions SHALL use the `write_fn=None` pattern for optional write function injection.
5
-
6
- #### Scenario: Write function parameter has None default
7
- - **WHEN** a function accepts an optional write function parameter
8
- - **THEN** the parameter SHALL have a default value of `None`
9
-
10
- #### Scenario: Write function parameter is optional
11
- - **WHEN** a generator function does not require an external write function
12
- - **THEN** the `write_fn` parameter SHALL be optional with `None` default, allowing the function to use an internal default implementation
13
-
14
- #### Scenario: Write function conditional usage
15
- - **WHEN** a function receives `write_fn=None`
16
- - **THEN** the function SHALL use its internal default write implementation
17
- - **AND** **WHEN** a callable is passed to `write_fn`
18
- - **THEN** the function SHALL use the provided callable instead
@@ -1,16 +0,0 @@
1
- ## ADDED Requirements
2
-
3
- ### Requirement: Function parameter documentation
4
- All function parameters SHALL be documented with their purpose and expected type.
5
-
6
- #### Scenario: Parameter has documentation comment
7
- - **WHEN** a function defines parameters
8
- - **THEN** each parameter SHALL have a docstring-style comment describing its purpose and type
9
-
10
- #### Scenario: Parameter documentation includes type information
11
- - **WHEN** parameter documentation is added
12
- - **THEN** the documentation SHALL indicate the expected type (string, dict, bool, callable, etc.)
13
-
14
- #### Scenario: Optional parameter documentation notes default
15
- - **WHEN** a parameter has a default value
16
- - **THEN** the documentation SHALL indicate the default value and that the parameter is optional
@@ -1,12 +0,0 @@
1
- ## ADDED Requirements
2
-
3
- ### Requirement: Write function parameter naming consistency
4
- All functions that accept a file-writing callback parameter SHALL use the parameter name `write_fn` exclusively.
5
-
6
- #### Scenario: Function uses write_fn parameter
7
- - **WHEN** a generator function accepts a file-writing callback
8
- - **THEN** the parameter SHALL be named `write_fn` and NOT `write_file_fn`, `write_file_if_changed_fn`, or other variations
9
-
10
- #### Scenario: Inconsistent parameter names are corrected
11
- - **WHEN** a function uses `write_file_fn` or `write_file_if_changed_fn` as parameter names
12
- - **THEN** the parameter name SHALL be changed to `write_fn`
@@ -1,12 +0,0 @@
1
- ## ADDED Requirements
2
-
3
- ### Requirement: Parameter ordering with optional parameters last
4
- All function signatures SHALL place optional parameters (those with default values) after required parameters.
5
-
6
- #### Scenario: Optional parameter follows required parameters
7
- - **WHEN** a function has both required and optional parameters
8
- - **THEN** all required parameters SHALL appear before any optional parameters in the signature
9
-
10
- #### Scenario: Write function parameter is last
11
- - **WHEN** a function accepts a `write_fn` parameter with default value `None`
12
- - **THEN** `write_fn` SHALL be the last parameter in the function signature
@@ -1,194 +0,0 @@
1
- ## 1. Discovery Directory - Registry and Core Functions
2
-
3
- - [x] 1.1 Fix parameter names in `discovery/registry.star` - standardize `write_fn` parameter names (lines 1-50)
4
- - [x] 1.2 Fix parameter names in `discovery/registry.star` - standardize `write_fn` parameter names (lines 51-100)
5
- - [x] 1.3 Fix parameter names in `discovery/registry.star` - standardize `write_fn` parameter names (lines 101-150)
6
- - [x] 1.4 Fix parameter ordering in `discovery/registry.star` - move optional parameters to end
7
- - [x] 1.5 Add parameter documentation to `discovery/registry.star` functions
8
- - [x] 1.6 Fix parameter names in `discovery/discovery_orchestrator.star` - standardize all `write_fn` parameters
9
- - [x] 1.7 Fix parameter ordering in `discovery/discovery_orchestrator.star`
10
- - [x] 1.8 Add parameter documentation to `discovery/discovery_orchestrator.star`
11
- - [x] 1.9 Fix parameter names in `discovery/incremental_discovery.star` - standardize `write_fn` parameters
12
- - [x] 1.10 Fix function naming alignment in `discovery/incremental_discovery.star` - ensure `register_new_service` naming
13
-
14
- ## 2. Discovery Directory - Manifest Functions
15
-
16
- - [x] 2.1 Fix parameter names in `discovery/manifest/loading.star` - standardize `write_fn` parameters
17
- - [x] 2.2 Fix parameter ordering in `discovery/manifest/loading.star`
18
- - [x] 2.3 Add parameter documentation to `discovery/manifest/loading.star`
19
- - [x] 2.4 Fix parameter names in `discovery/manifest/normalize.star` - standardize `write_fn` parameters
20
- - [x] 2.5 Fix parameter ordering in `discovery/manifest/normalize.star`
21
- - [x] 2.6 Add parameter documentation to `discovery/manifest/normalize.star`
22
- - [x] 2.7 Fix parameter names in `discovery/manifest/validation.star` - standardize `write_fn` parameters
23
- - [x] 2.8 Fix parameter ordering in `discovery/manifest/validation.star`
24
- - [x] 2.9 Add parameter documentation to `discovery/manifest/validation.star`
25
- - [x] 2.10 Fix parameter names in `discovery/config.star` - standardize all write function parameters
26
-
27
- ## 3. Engine Topologies Tilt - Registry and Discovery (Deprecated System)
28
-
29
- - [x] 3.1 Fix parameter names in `engine/topologies/tilt/discovery/registry.star` - standardize `write_fn` (lines 1-50)
30
- - [x] 3.2 Fix parameter names in `engine/topologies/tilt/discovery/registry.star` - standardize `write_fn` (lines 51-100)
31
- - [x] 3.3 Fix parameter names in `engine/topologies/tilt/discovery/registry.star` - standardize `write_fn` (lines 101-150)
32
- - [x] 3.4 Fix parameter ordering in `engine/topologies/tilt/discovery/registry.star`
33
- - [x] 3.5 Add parameter documentation to `engine/topologies/tilt/discovery/registry.star`
34
- - [x] 3.6 Fix parameter names in `engine/topologies/tilt/discovery/discovery_orchestrator.star`
35
- - [x] 3.7 Fix parameter ordering in `engine/topologies/tilt/discovery/discovery_orchestrator.star`
36
- - [x] 3.8 Add parameter documentation to `engine/topologies/tilt/discovery/discovery_orchestrator.star`
37
- - [x] 3.9 Fix function naming alignment in `engine/topologies/tilt/discovery/incremental_discovery.star` - rename `register_new_resource` to `register_new_service`
38
- - [x] 3.10 Fix parameter names and documentation in `engine/topologies/tilt/discovery/incremental_discovery.star`
39
-
40
- ## 4. Engine Topologies Tilt - Generators
41
-
42
- - [x] 4.1 Fix parameter names in `engine/topologies/tilt/generators/vite/backend.star` - standardize `write_fn`
43
- - [x] 4.2 Fix parameter ordering in `engine/topologies/tilt/generators/vite/backend.star`
44
- - [x] 4.3 Add parameter documentation to `engine/topologies/tilt/generators/vite/backend.star`
45
- - [x] 4.4 Fix parameter names in `engine/topologies/tilt/generators/vite/frontend.star` - standardize `write_fn`
46
- - [x] 4.5 Fix parameter ordering in `engine/topologies/tilt/generators/vite/frontend.star`
47
- - [x] 4.6 Add parameter documentation to `engine/topologies/tilt/generators/vite/frontend.star`
48
- - [x] 4.7 Fix parameter names in `engine/topologies/tilt/generators/docker/frontend.star` - standardize `write_fn`
49
- - [x] 4.8 Fix parameter ordering in `engine/topologies/tilt/generators/docker/frontend.star`
50
- - [x] 4.9 Fix parameter names in `engine/topologies/tilt/generators/docker/backend.star` - standardize `write_fn`
51
- - [x] 4.10 Fix parameter ordering in `engine/topologies/tilt/generators/docker/backend.star`
52
-
53
- ## 5. Engine Topologies Tilt - More Generators
54
-
55
- - [x] 5.1 Fix parameter names in `engine/topologies/tilt/generators/docker/compose.star` - standardize `write_fn`
56
- - [x] 5.2 Fix parameter ordering in `engine/topologies/tilt/generators/docker/compose.star`
57
- - [x] 5.3 Fix parameter names in `engine/topologies/tilt/generators/tsconfig/generator.star` - standardize `write_fn`
58
- - [x] 5.4 Fix parameter ordering in `engine/topologies/tilt/generators/tsconfig/generator.star`
59
- - [x] 5.5 Fix parameter names in `engine/topologies/tilt/generators/nginx/generator.star` - standardize `write_fn`
60
- - [x] 5.6 Fix parameter ordering in `engine/topologies/tilt/generators/nginx/generator.star`
61
- - [x] 5.7 Fix parameter names in `engine/topologies/tilt/generators/npmrc/generator.star` - standardize `write_fn`
62
- - [x] 5.8 Fix parameter ordering in `engine/topologies/tilt/generators/npmrc/generator.star`
63
- - [x] 5.9 Fix parameter names in `engine/topologies/tilt/generators/env/generator.star` - standardize `write_fn`
64
- - [x] 5.10 Fix parameter ordering in `engine/topologies/tilt/generators/env/generator.star`
65
-
66
- ## 6. Engine Topologies Tilt - Infisical Generators
67
-
68
- - [x] 6.1 Fix parameter names in `engine/topologies/tilt/generators/infisical/path_manager.star` - standardize `write_fn` (functions 1-8)
69
- - [x] 6.2 Fix parameter names in `engine/topologies/tilt/generators/infisical/path_manager.star` - standardize `write_fn` (functions 9-17)
70
- - [x] 6.3 Fix parameter ordering in `engine/topologies/tilt/generators/infisical/path_manager.star`
71
- - [x] 6.4 Add parameter documentation to `engine/topologies/tilt/generators/infisical/path_manager.star`
72
- - [x] 6.5 Fix parameter names in `engine/topologies/tilt/generators/infisical/star_to_json.star`
73
- - [x] 6.6 Fix parameter ordering in `engine/topologies/tilt/generators/infisical/star_to_json.star`
74
- - [x] 6.7 Fix parameter names in `engine/topologies/tilt/generators/infisical/sync.star`
75
- - [x] 6.8 Fix parameter ordering in `engine/topologies/tilt/generators/infisical/sync.star`
76
- - [x] 6.9 Fix parameter names in `engine/topologies/tilt/generators/validators.star` - standardize `write_fn`
77
- - [x] 6.10 Fix parameter ordering in `engine/topologies/tilt/generators/validators.star`
78
-
79
- ## 7. Engine Topologies Tilt - Resource Orchestration
80
-
81
- - [x] 7.1 Fix parameter names in `engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star` (functions 1-7)
82
- - [x] 7.2 Fix parameter names in `engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star` (functions 8-15)
83
- - [x] 7.3 Fix parameter ordering in `engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star`
84
- - [x] 7.4 Fix parameter names in `engine/topologies/tilt/resources/libs_resource_definition.star`
85
- - [x] 7.5 Fix parameter ordering in `engine/topologies/tilt/resources/libs_resource_definition.star`
86
- - [x] 7.6 Fix parameter names in `engine/topologies/tilt/resources/frontend_resource.star`
87
- - [x] 7.7 Fix parameter ordering in `engine/topologies/tilt/resources/frontend_resource.star`
88
- - [x] 7.8 Fix parameter names in `engine/topologies/tilt/resources/backend_resource.star`
89
- - [x] 7.9 Fix parameter ordering in `engine/topologies/tilt/resources/backend_resource.star`
90
- - [x] 7.10 Fix parameter names in `engine/topologies/tilt/resources/database_resource.star`
91
-
92
- ## 8. Engine Topologies Tilt - Database and Infrastructure Resources
93
-
94
- - [x] 8.1 Fix parameter ordering in `engine/topologies/tilt/resources/database_resource.star`
95
- - [x] 8.2 Fix parameter names in `engine/topologies/tilt/resources/infra_resource.star`
96
- - [x] 8.3 Fix parameter ordering in `engine/topologies/tilt/resources/infra_resource.star`
97
- - [x] 8.4 Fix parameter names in `engine/topologies/tilt/resources/proxy_resource.star`
98
- - [x] 8.5 Fix parameter ordering in `engine/topologies/tilt/resources/proxy_resource.star`
99
- - [x] 8.6 Fix parameter names in `engine/topologies/tilt/resources/migration_resource.star`
100
- - [x] 8.7 Fix parameter ordering in `engine/topologies/tilt/resources/migration_resource.star`
101
- - [x] 8.8 Fix parameter names in `engine/topologies/tilt/resources/seed_resource.star`
102
- - [x] 8.9 Fix parameter ordering in `engine/topologies/tilt/resources/seed_resource.star`
103
- - [x] 8.10 Fix parameter names in `engine/topologies/tilt/resources/security_resource.star`
104
-
105
- ## 9. Engine Topologies Platform - Docker and Networking
106
-
107
- - [x] 9.1 Fix parameter names in `engine/topologies/platform/docker/layers.star` - standardize `write_fn`
108
- - [x] 9.2 Fix parameter ordering in `engine/topologies/platform/docker/layers.star`
109
- - [x] 9.3 Add parameter documentation to `engine/topologies/platform/docker/layers.star`
110
- - [x] 9.4 Fix parameter names in `engine/topologies/platform/docker/networking.star`
111
- - [x] 9.5 Fix parameter ordering in `engine/topologies/platform/docker/networking.star`
112
- - [x] 9.6 Fix parameter names in `engine/topologies/platform/docker/volumes.star`
113
- - [x] 9.7 Fix parameter ordering in `engine/topologies/platform/docker/volumes.star`
114
- - [x] 9.8 Fix parameter names in `engine/topologies/platform/docker/security.star`
115
- - [x] 9.9 Fix parameter ordering in `engine/topologies/platform/docker/security.star`
116
- - [x] 9.10 Add parameter documentation to `engine/topologies/platform/docker/security.star`
117
-
118
- ## 10. Engine Topologies Platform - Compose and Proxies
119
-
120
- - [x] 10.1 Fix parameter names in `engine/topologies/platform/compose/generator.star`
121
- - [x] 10.2 Fix parameter ordering in `engine/topologies/platform/compose/generator.star`
122
- - [x] 10.3 Add parameter documentation to `engine/topologies/platform/compose/generator.star`
123
- - [x] 10.4 Fix parameter names in `engine/topologies/platform/proxy/caddy.star`
124
- - [x] 10.5 Fix parameter ordering in `engine/topologies/platform/proxy/caddy.star`
125
- - [x] 10.6 Fix parameter names in `engine/topologies/platform/proxy/nginx.star`
126
- - [x] 10.7 Fix parameter ordering in `engine/topologies/platform/proxy/nginx.star`
127
- - [x] 10.8 Fix parameter names in `engine/topologies/platform/state/persistence.star`
128
- - [x] 10.9 Fix parameter ordering in `engine/topologies/platform/state/persistence.star`
129
- - [x] 10.10 Add parameter documentation to `engine/topologies/platform/state/persistence.star`
130
-
131
- ## 11. Engine Topologies Tilt - Manifest Loading and Validation
132
-
133
- - [x] 11.1 Fix parameter names in `engine/topologies/tilt/manifest/loading.star` - standardize `write_fn`
134
- - [x] 11.2 Fix parameter ordering in `engine/topologies/tilt/manifest/loading.star`
135
- - [x] 11.3 Add parameter documentation to `engine/topologies/tilt/manifest/loading.star`
136
- - [x] 11.4 Fix parameter names in `engine/topologies/tilt/manifest/normalize.star`
137
- - [x] 11.5 Fix parameter ordering in `engine/topologies/tilt/manifest/normalize.star`
138
- - [x] 11.6 Add parameter documentation to `engine/topologies/tilt/manifest/normalize.star`
139
- - [x] 11.7 Fix parameter names in `engine/topologies/tilt/manifest/validation.star`
140
- - [x] 11.8 Fix parameter ordering in `engine/topologies/tilt/manifest/validation.star`
141
- - [x] 11.9 Add parameter documentation to `engine/topologies/tilt/manifest/validation.star`
142
- - [x] 11.10 Fix parameter names in `engine/topologies/tilt/manifest/config.star`
143
-
144
- ## 12. Engine Topologies Tilt - Config and Utilities
145
-
146
- - [x] 12.1 Fix parameter ordering in `engine/topologies/tilt/manifest/config.star`
147
- - [x] 12.2 Add parameter documentation to `engine/topologies/tilt/manifest/config.star`
148
- - [x] 12.3 Fix parameter names in `engine/topologies/tilt/utils/file.star`
149
- - [x] 12.4 Fix parameter ordering in `engine/topologies/tilt/utils/file.star`
150
- - [x] 12.5 Add parameter documentation to `engine/topologies/tilt/utils/file.star`
151
- - [x] 12.6 Fix parameter names in `engine/topologies/tilt/utils/path.star`
152
- - [x] 12.7 Fix parameter ordering in `engine/topologies/tilt/utils/path.star`
153
- - [x] 12.8 Fix parameter names in `engine/topologies/tilt/utils/string.star`
154
- - [x] 12.9 Fix parameter ordering in `engine/topologies/tilt/utils/string.star`
155
- - [x] 12.10 Add parameter documentation to `engine/topologies/tilt/utils/string.star`
156
-
157
- ## 13. Engine Topologies Tilt - Core System Files
158
-
159
- - [x] 13.1 Fix parameter names in `engine/topologies/tilt/core/ports.star`
160
- - [x] 13.2 Fix parameter ordering in `engine/topologies/tilt/core/ports.star`
161
- - [x] 13.3 Add parameter documentation to `engine/topologies/tilt/core/ports.star`
162
- - [x] 13.4 Fix parameter names in `engine/topologies/tilt/core/deps.star`
163
- - [x] 13.5 Fix parameter ordering in `engine/topologies/tilt/core/deps.star`
164
- - [x] 13.6 Add parameter documentation to `engine/topologies/tilt/core/deps.star`
165
- - [x] 13.7 Fix parameter names in `engine/topologies/tilt/core/build.star`
166
- - [x] 13.8 Fix parameter ordering in `engine/topologies/tilt/core/build.star`
167
- - [x] 13.9 Add parameter documentation to `engine/topologies/tilt/core/build.star`
168
- - [x] 13.10 Fix parameter names in `engine/topologies/tilt/core/watch.star`
169
-
170
- ## 14. Engine Topologies Platform - Security and Secrets
171
-
172
- - [x] 14.1 Fix parameter ordering in `engine/topologies/tilt/core/watch.star`
173
- - [x] 14.2 Add parameter documentation to `engine/topologies/tilt/core/watch.star`
174
- - [x] 14.3 Fix parameter names in `engine/topologies/platform/security/secrets.star`
175
- - [x] 14.4 Fix parameter ordering in `engine/topologies/platform/security/secrets.star`
176
- - [x] 14.5 Add parameter documentation to `engine/topologies/platform/security/secrets.star`
177
- - [x] 14.6 Fix parameter names in `engine/topologies/platform/security/infisical.star`
178
- - [x] 14.7 Fix parameter ordering in `engine/topologies/platform/security/infisical.star`
179
- - [x] 14.8 Add parameter documentation to `engine/topologies/platform/security/infisical.star`
180
- - [x] 14.9 Fix parameter names in `engine/topologies/platform/security/tls.star`
181
- - [x] 14.10 Fix parameter ordering in `engine/topologies/platform/security/tls.star`
182
-
183
- ## 15. Final Cleanup and Verification
184
-
185
- - [x] 15.1 Fix parameter names in `engine/topologies/tilt/Tiltfile` - standardize any `write_fn` parameters
186
- - [x] 15.2 Fix parameter ordering in `engine/topologies/tilt/Tiltfile`
187
- - [x] 15.3 Fix parameter names in `specs/specs/TILT_SERVICE_DEFAULTS.star`
188
- - [x] 15.4 Fix parameter ordering in `specs/specs/TILT_SERVICE_DEFAULTS.star`
189
- - [x] 15.5 Add parameter documentation to `specs/specs/TILT_SERVICE_DEFAULTS.star`
190
- - [x] 15.6 Fix parameter names in `specs/specs/TILT_TECH_STACK.star`
191
- - [x] 15.7 Fix parameter ordering in `specs/specs/TILT_TECH_STACK.star`
192
- - [x] 15.8 Run full test suite to verify all parameter changes work correctly
193
- - [x] 15.9 Verify no `write_file_fn` or `write_file_if_changed_fn` remains in any .star file
194
- - [x] 15.10 Final review: Ensure all function parameters have consistent naming and documentation