@wildo-ai/wildo-cli 1.1.8 → 1.1.10

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 (2092) hide show
  1. package/dist/bin/wildo.d.ts.map +1 -1
  2. package/dist/bin/wildo.js +0 -0
  3. package/dist/bin/wildo.js.map +1 -1
  4. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  5. package/dist/src/commands/acp/probe.command.js.map +1 -1
  6. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  7. package/dist/src/commands/align-deps.command.js.map +1 -1
  8. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  9. package/dist/src/commands/assets/sync.command.js.map +1 -1
  10. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  11. package/dist/src/commands/brand/propagate.command.js.map +1 -1
  12. package/dist/src/commands/build/accept.command.d.ts.map +1 -1
  13. package/dist/src/commands/build/accept.command.js.map +1 -1
  14. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
  15. package/dist/src/commands/build/dispatches.command.js.map +1 -1
  16. package/dist/src/commands/build/next.command.d.ts.map +1 -1
  17. package/dist/src/commands/build/next.command.js.map +1 -1
  18. package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
  19. package/dist/src/commands/build/rearm.command.js.map +1 -1
  20. package/dist/src/commands/build/run.command.d.ts +8 -5
  21. package/dist/src/commands/build/run.command.d.ts.map +1 -1
  22. package/dist/src/commands/build/run.command.js +62 -9
  23. package/dist/src/commands/build/run.command.js.map +1 -1
  24. package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
  25. package/dist/src/commands/build/tasks.command.js.map +1 -1
  26. package/dist/src/commands/compose.command.d.ts.map +1 -1
  27. package/dist/src/commands/compose.command.js.map +1 -1
  28. package/dist/src/commands/config/check-resources.command.d.ts +50 -0
  29. package/dist/src/commands/config/check-resources.command.d.ts.map +1 -0
  30. package/dist/src/commands/config/check-resources.command.js +121 -0
  31. package/dist/src/commands/config/check-resources.command.js.map +1 -0
  32. package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
  33. package/dist/src/commands/config/data-retention.command.js.map +1 -1
  34. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
  35. package/dist/src/commands/config/document-releases.command.js +2 -1
  36. package/dist/src/commands/config/document-releases.command.js.map +1 -1
  37. package/dist/src/commands/config/legal-notice.command.d.ts +17 -0
  38. package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -0
  39. package/dist/src/commands/config/legal-notice.command.js +59 -0
  40. package/dist/src/commands/config/legal-notice.command.js.map +1 -0
  41. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  42. package/dist/src/commands/config/mutate.command.js +1 -1
  43. package/dist/src/commands/config/mutate.command.js.map +1 -1
  44. package/dist/src/commands/config/reapply-declaration.command.d.ts +9 -3
  45. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  46. package/dist/src/commands/config/reapply-declaration.command.js +10 -4
  47. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  48. package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
  49. package/dist/src/commands/config/service-consent.command.js.map +1 -1
  50. package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
  51. package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
  52. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  53. package/dist/src/commands/config/sync.command.js.map +1 -1
  54. package/dist/src/commands/config/validate.command.d.ts +28 -0
  55. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  56. package/dist/src/commands/config/validate.command.js +119 -6
  57. package/dist/src/commands/config/validate.command.js.map +1 -1
  58. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
  59. package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
  60. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  61. package/dist/src/commands/context/coherence.command.js.map +1 -1
  62. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  63. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  64. package/dist/src/commands/context/elements.command.d.ts.map +1 -1
  65. package/dist/src/commands/context/elements.command.js.map +1 -1
  66. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  67. package/dist/src/commands/context/health.command.js.map +1 -1
  68. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  69. package/dist/src/commands/context/info.command.js.map +1 -1
  70. package/dist/src/commands/context/journey.command.d.ts +62 -2
  71. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  72. package/dist/src/commands/context/journey.command.js +228 -26
  73. package/dist/src/commands/context/journey.command.js.map +1 -1
  74. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
  75. package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
  76. package/dist/src/commands/context/launch-blockers.command.d.ts +20 -0
  77. package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -0
  78. package/dist/src/commands/context/launch-blockers.command.js +72 -0
  79. package/dist/src/commands/context/launch-blockers.command.js.map +1 -0
  80. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  81. package/dist/src/commands/context/list.command.js.map +1 -1
  82. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
  83. package/dist/src/commands/context/pipelines.command.js.map +1 -1
  84. package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
  85. package/dist/src/commands/context/workspace.command.js.map +1 -1
  86. package/dist/src/commands/creation/accept.command.d.ts +4 -0
  87. package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
  88. package/dist/src/commands/creation/accept.command.js +29 -4
  89. package/dist/src/commands/creation/accept.command.js.map +1 -1
  90. package/dist/src/commands/creation/answer.command.d.ts +3 -0
  91. package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
  92. package/dist/src/commands/creation/answer.command.js +18 -2
  93. package/dist/src/commands/creation/answer.command.js.map +1 -1
  94. package/dist/src/commands/creation/brand-logo.command.d.ts +18 -0
  95. package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -0
  96. package/dist/src/commands/creation/brand-logo.command.js +43 -0
  97. package/dist/src/commands/creation/brand-logo.command.js.map +1 -0
  98. package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
  99. package/dist/src/commands/creation/brief.command.js.map +1 -1
  100. package/dist/src/commands/creation/deliberate.command.d.ts +2 -2
  101. package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
  102. package/dist/src/commands/creation/deliberate.command.js +3 -3
  103. package/dist/src/commands/creation/deliberate.command.js.map +1 -1
  104. package/dist/src/commands/creation/depth.command.d.ts +16 -0
  105. package/dist/src/commands/creation/depth.command.d.ts.map +1 -0
  106. package/dist/src/commands/creation/depth.command.js +50 -0
  107. package/dist/src/commands/creation/depth.command.js.map +1 -0
  108. package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
  109. package/dist/src/commands/creation/diff.command.js.map +1 -1
  110. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  111. package/dist/src/commands/creation/feed.command.js.map +1 -1
  112. package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
  113. package/dist/src/commands/creation/loop.command.js +11 -1
  114. package/dist/src/commands/creation/loop.command.js.map +1 -1
  115. package/dist/src/commands/creation/persona.command.d.ts +3 -2
  116. package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
  117. package/dist/src/commands/creation/persona.command.js +10 -3
  118. package/dist/src/commands/creation/persona.command.js.map +1 -1
  119. package/dist/src/commands/creation/preflight.command.d.ts +15 -0
  120. package/dist/src/commands/creation/preflight.command.d.ts.map +1 -0
  121. package/dist/src/commands/creation/preflight.command.js +53 -0
  122. package/dist/src/commands/creation/preflight.command.js.map +1 -0
  123. package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
  124. package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
  125. package/dist/src/commands/creation/propose.command.d.ts +18 -0
  126. package/dist/src/commands/creation/propose.command.d.ts.map +1 -0
  127. package/dist/src/commands/creation/propose.command.js +57 -0
  128. package/dist/src/commands/creation/propose.command.js.map +1 -0
  129. package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
  130. package/dist/src/commands/creation/pulse.command.js.map +1 -1
  131. package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
  132. package/dist/src/commands/creation/questions.command.js +21 -6
  133. package/dist/src/commands/creation/questions.command.js.map +1 -1
  134. package/dist/src/commands/creation/reason.command.d.ts +12 -0
  135. package/dist/src/commands/creation/reason.command.d.ts.map +1 -0
  136. package/dist/src/commands/creation/reason.command.js +37 -0
  137. package/dist/src/commands/creation/reason.command.js.map +1 -0
  138. package/dist/src/commands/creation/report.command.d.ts +23 -0
  139. package/dist/src/commands/creation/report.command.d.ts.map +1 -0
  140. package/dist/src/commands/creation/report.command.js +129 -0
  141. package/dist/src/commands/creation/report.command.js.map +1 -0
  142. package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
  143. package/dist/src/commands/creation/revert.command.js.map +1 -1
  144. package/dist/src/commands/creation/run.command.d.ts +2 -0
  145. package/dist/src/commands/creation/run.command.d.ts.map +1 -1
  146. package/dist/src/commands/creation/run.command.js +9 -0
  147. package/dist/src/commands/creation/run.command.js.map +1 -1
  148. package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
  149. package/dist/src/commands/creation/statusline.command.js.map +1 -1
  150. package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
  151. package/dist/src/commands/creation/watch.command.js.map +1 -1
  152. package/dist/src/commands/creation/why.command.d.ts +3 -1
  153. package/dist/src/commands/creation/why.command.d.ts.map +1 -1
  154. package/dist/src/commands/creation/why.command.js +28 -9
  155. package/dist/src/commands/creation/why.command.js.map +1 -1
  156. package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
  157. package/dist/src/commands/creation/writes.command.js.map +1 -1
  158. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +28 -0
  159. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -0
  160. package/dist/src/commands/db/db-schema-plan-migration.utils.js +38 -0
  161. package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -0
  162. package/dist/src/commands/db/db-schema-plan.utils.d.ts +0 -27
  163. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  164. package/dist/src/commands/db/db-schema-plan.utils.js +0 -26
  165. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  166. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  167. package/dist/src/commands/db/diff.command.js.map +1 -1
  168. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  169. package/dist/src/commands/db/generate.command.js +2 -1
  170. package/dist/src/commands/db/generate.command.js.map +1 -1
  171. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  172. package/dist/src/commands/db/migrate.command.js.map +1 -1
  173. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  174. package/dist/src/commands/db/resolve.command.js.map +1 -1
  175. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  176. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  177. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  178. package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
  179. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  180. package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
  181. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  182. package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
  183. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  184. package/dist/src/commands/dev/force-stop.command.js.map +1 -1
  185. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  186. package/dist/src/commands/dev/resources.command.js.map +1 -1
  187. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  188. package/dist/src/commands/dev/start.command.js.map +1 -1
  189. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  190. package/dist/src/commands/dev/stop-all.command.js.map +1 -1
  191. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  192. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  193. package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
  194. package/dist/src/commands/docs/publish.command.js.map +1 -1
  195. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  196. package/dist/src/commands/frontend/publish.command.js.map +1 -1
  197. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  198. package/dist/src/commands/fwk/audit.command.js.map +1 -1
  199. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  200. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  201. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  202. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
  203. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
  204. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  205. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  206. package/dist/src/commands/fwk/graph.command.js.map +1 -1
  207. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  208. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  209. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  210. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  211. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  212. package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
  213. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  214. package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
  215. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  216. package/dist/src/commands/fwk/version-set.command.js.map +1 -1
  217. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  218. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  219. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  220. package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
  221. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  222. package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
  223. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  224. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  225. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  226. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  227. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  228. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  229. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  230. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  231. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  232. package/dist/src/commands/generate/email-status.command.js.map +1 -1
  233. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  234. package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
  235. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  236. package/dist/src/commands/generate/email-translate.command.js.map +1 -1
  237. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  238. package/dist/src/commands/generate/email.command.js.map +1 -1
  239. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  240. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  241. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  242. package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
  243. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  244. package/dist/src/commands/generate/labels.command.js.map +1 -1
  245. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  246. package/dist/src/commands/generate/translate.command.js.map +1 -1
  247. package/dist/src/commands/help.command.d.ts.map +1 -1
  248. package/dist/src/commands/help.command.js +2 -0
  249. package/dist/src/commands/help.command.js.map +1 -1
  250. package/dist/src/commands/init.command.d.ts +6 -1
  251. package/dist/src/commands/init.command.d.ts.map +1 -1
  252. package/dist/src/commands/init.command.js +50 -12
  253. package/dist/src/commands/init.command.js.map +1 -1
  254. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  255. package/dist/src/commands/local/deregister.command.js.map +1 -1
  256. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  257. package/dist/src/commands/local/dev-status.command.js.map +1 -1
  258. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  259. package/dist/src/commands/local/dev.command.js +10 -5
  260. package/dist/src/commands/local/dev.command.js.map +1 -1
  261. package/dist/src/commands/local/doctor.command.d.ts +7 -4
  262. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  263. package/dist/src/commands/local/doctor.command.js +33 -54
  264. package/dist/src/commands/local/doctor.command.js.map +1 -1
  265. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  266. package/dist/src/commands/local/down.command.js.map +1 -1
  267. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  268. package/dist/src/commands/local/init.command.js.map +1 -1
  269. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  270. package/dist/src/commands/local/logs.command.js.map +1 -1
  271. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  272. package/dist/src/commands/local/reinit.command.js.map +1 -1
  273. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  274. package/dist/src/commands/local/reset.command.js.map +1 -1
  275. package/dist/src/commands/local/restore.command.d.ts.map +1 -1
  276. package/dist/src/commands/local/restore.command.js.map +1 -1
  277. package/dist/src/commands/local/smoke.command.d.ts +18 -0
  278. package/dist/src/commands/local/smoke.command.d.ts.map +1 -0
  279. package/dist/src/commands/local/smoke.command.js +59 -0
  280. package/dist/src/commands/local/smoke.command.js.map +1 -0
  281. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  282. package/dist/src/commands/local/status.command.js.map +1 -1
  283. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  284. package/dist/src/commands/local/up.command.js.map +1 -1
  285. package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
  286. package/dist/src/commands/local-defaults/capture.command.js +3 -2
  287. package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
  288. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  289. package/dist/src/commands/lock/check.command.js.map +1 -1
  290. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  291. package/dist/src/commands/market/generate.command.js.map +1 -1
  292. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  293. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  294. package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
  295. package/dist/src/commands/prefs/set.command.js +6 -1
  296. package/dist/src/commands/prefs/set.command.js.map +1 -1
  297. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  298. package/dist/src/commands/providers/show.command.js.map +1 -1
  299. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  300. package/dist/src/commands/registry/add.command.js.map +1 -1
  301. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  302. package/dist/src/commands/registry/info.command.js.map +1 -1
  303. package/dist/src/commands/registry/key.command.d.ts.map +1 -1
  304. package/dist/src/commands/registry/key.command.js.map +1 -1
  305. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  306. package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
  307. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  308. package/dist/src/commands/registry/login.command.js.map +1 -1
  309. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  310. package/dist/src/commands/registry/logout.command.js.map +1 -1
  311. package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
  312. package/dist/src/commands/registry/outdated.command.js.map +1 -1
  313. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  314. package/dist/src/commands/registry/ping.command.js.map +1 -1
  315. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  316. package/dist/src/commands/registry/publish.command.js.map +1 -1
  317. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
  318. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
  319. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  320. package/dist/src/commands/registry/remove.command.js.map +1 -1
  321. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  322. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  323. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  324. package/dist/src/commands/registry/search.command.js.map +1 -1
  325. package/dist/src/commands/registry/status.command.d.ts.map +1 -1
  326. package/dist/src/commands/registry/status.command.js.map +1 -1
  327. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  328. package/dist/src/commands/registry/update.command.js.map +1 -1
  329. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  330. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  331. package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
  332. package/dist/src/commands/registry/yank.command.js.map +1 -1
  333. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  334. package/dist/src/commands/remote/create.command.js.map +1 -1
  335. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  336. package/dist/src/commands/remote/list.command.js.map +1 -1
  337. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  338. package/dist/src/commands/remote/status.command.js.map +1 -1
  339. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  340. package/dist/src/commands/remote/sync.command.js.map +1 -1
  341. package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
  342. package/dist/src/commands/secrets/github.command.js.map +1 -1
  343. package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
  344. package/dist/src/commands/secrets/list.command.js.map +1 -1
  345. package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
  346. package/dist/src/commands/secrets/set.command.js +17 -4
  347. package/dist/src/commands/secrets/set.command.js.map +1 -1
  348. package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
  349. package/dist/src/commands/secrets/unset.command.js.map +1 -1
  350. package/dist/src/commands/setup.command.d.ts.map +1 -1
  351. package/dist/src/commands/setup.command.js +5 -4
  352. package/dist/src/commands/setup.command.js.map +1 -1
  353. package/dist/src/commands/update.command.d.ts.map +1 -1
  354. package/dist/src/commands/update.command.js +65 -12
  355. package/dist/src/commands/update.command.js.map +1 -1
  356. package/dist/src/commands/version.command.d.ts.map +1 -1
  357. package/dist/src/commands/version.command.js.map +1 -1
  358. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  359. package/dist/src/commands/website/audit.command.js +4 -0
  360. package/dist/src/commands/website/audit.command.js.map +1 -1
  361. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  362. package/dist/src/commands/workbench/open.command.js +1 -1
  363. package/dist/src/commands/workbench/open.command.js.map +1 -1
  364. package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
  365. package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
  366. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  367. package/dist/src/commands/workbench/status.command.js +1 -1
  368. package/dist/src/commands/workbench/status.command.js.map +1 -1
  369. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  370. package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
  371. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  372. package/dist/src/infrastructure/io/file.utils.js.map +1 -1
  373. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  374. package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
  375. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  376. package/dist/src/infrastructure/io/template-processor.js.map +1 -1
  377. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  378. package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
  379. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  380. package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
  381. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  382. package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
  383. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  384. package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
  385. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  386. package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
  387. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  388. package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
  389. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  390. package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
  391. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  392. package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
  393. package/dist/src/kernel/base-command.d.ts.map +1 -1
  394. package/dist/src/kernel/base-command.js.map +1 -1
  395. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  396. package/dist/src/kernel/bootstrap.js +3 -2
  397. package/dist/src/kernel/bootstrap.js.map +1 -1
  398. package/dist/src/kernel/command-index-cache.d.ts +29 -0
  399. package/dist/src/kernel/command-index-cache.d.ts.map +1 -0
  400. package/dist/src/kernel/command-index-cache.js +89 -0
  401. package/dist/src/kernel/command-index-cache.js.map +1 -0
  402. package/dist/src/kernel/command-registry.d.ts +28 -0
  403. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  404. package/dist/src/kernel/command-registry.js +89 -18
  405. package/dist/src/kernel/command-registry.js.map +1 -1
  406. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  407. package/dist/src/kernel/command-runner.js.map +1 -1
  408. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  409. package/dist/src/kernel/command-scope-utils.js.map +1 -1
  410. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  411. package/dist/src/kernel/flag-utils.js.map +1 -1
  412. package/dist/src/kernel/hooks.d.ts.map +1 -1
  413. package/dist/src/kernel/hooks.js.map +1 -1
  414. package/dist/src/kernel/logger.d.ts.map +1 -1
  415. package/dist/src/kernel/logger.js.map +1 -1
  416. package/dist/src/kernel/types.d.ts.map +1 -1
  417. package/dist/src/kernel/types.js.map +1 -1
  418. package/dist/src/main.d.ts.map +1 -1
  419. package/dist/src/main.js.map +1 -1
  420. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  421. package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
  422. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
  423. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
  424. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
  425. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
  426. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  427. package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
  428. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  429. package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
  430. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  431. package/dist/src/modules/domain/environment/module.types.js.map +1 -1
  432. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  433. package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
  434. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  435. package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
  436. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  437. package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
  438. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  439. package/dist/src/modules/domain/module.types.js.map +1 -1
  440. package/dist/src/services/application/app-bootstrap.service.d.ts +26 -5
  441. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  442. package/dist/src/services/application/app-bootstrap.service.js +39 -13
  443. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  444. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  445. package/dist/src/services/application/app-env.service.js.map +1 -1
  446. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  447. package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
  448. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  449. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  450. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  451. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
  452. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  453. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  454. package/dist/src/services/application/application-browser-smoke.service.d.ts +77 -0
  455. package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -0
  456. package/dist/src/services/application/application-browser-smoke.service.js +195 -0
  457. package/dist/src/services/application/application-browser-smoke.service.js.map +1 -0
  458. package/dist/src/services/application/application-creation-readiness.service.d.ts +107 -0
  459. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
  460. package/dist/src/services/application/application-creation-readiness.service.js +278 -18
  461. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  462. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  463. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  464. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  465. package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
  466. package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -3
  467. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  468. package/dist/src/services/application/application-initialization-verification.service.js +8 -3
  469. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
  470. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  471. package/dist/src/services/application/application-root.utils.js.map +1 -1
  472. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +2 -0
  473. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  474. package/dist/src/services/application/application-runtime-bootstrap.service.js +26 -0
  475. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  476. package/dist/src/services/application/backend-config.paths.d.ts +8 -0
  477. package/dist/src/services/application/backend-config.paths.d.ts.map +1 -0
  478. package/dist/src/services/application/backend-config.paths.js +9 -0
  479. package/dist/src/services/application/backend-config.paths.js.map +1 -0
  480. package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
  481. package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
  482. package/dist/src/services/application/creation-host-readiness.service.d.ts +61 -0
  483. package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -0
  484. package/dist/src/services/application/creation-host-readiness.service.js +167 -0
  485. package/dist/src/services/application/creation-host-readiness.service.js.map +1 -0
  486. package/dist/src/services/application/creation-preflight.service.d.ts +46 -0
  487. package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -0
  488. package/dist/src/services/application/creation-preflight.service.js +87 -0
  489. package/dist/src/services/application/creation-preflight.service.js.map +1 -0
  490. package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts +79 -0
  491. package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -0
  492. package/dist/src/services/application/degraded-registration-declaration-convergence.service.js +110 -0
  493. package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -0
  494. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  495. package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
  496. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  497. package/dist/src/services/application/dev-schema-drift.service.js +2 -1
  498. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  499. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
  500. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
  501. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  502. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
  503. package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
  504. package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
  505. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
  506. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
  507. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  508. package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
  509. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  510. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  511. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  512. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  513. package/dist/src/services/application/provider-runtime-sync.service.d.ts +70 -10
  514. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  515. package/dist/src/services/application/provider-runtime-sync.service.js +100 -11
  516. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  517. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  518. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  519. package/dist/src/services/application/saas-skeleton.service.d.ts +12 -0
  520. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  521. package/dist/src/services/application/saas-skeleton.service.js +27 -2
  522. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  523. package/dist/src/services/application/stored-declaration-currency.service.d.ts +46 -0
  524. package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -0
  525. package/dist/src/services/application/stored-declaration-currency.service.js +76 -0
  526. package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -0
  527. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
  528. package/dist/src/services/application/systems-of-record-library.service.js +3 -1
  529. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
  530. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  531. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  532. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  533. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  534. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  535. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  536. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
  537. package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
  538. package/dist/src/services/companion/build-console.service.d.ts +115 -5
  539. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  540. package/dist/src/services/companion/build-console.service.js +163 -12
  541. package/dist/src/services/companion/build-console.service.js.map +1 -1
  542. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  543. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  544. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  545. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  546. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
  547. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
  548. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  549. package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
  550. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  551. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  552. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  553. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  554. package/dist/src/services/companion/console-fast-path.d.ts +21 -3
  555. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
  556. package/dist/src/services/companion/console-fast-path.js +57 -12
  557. package/dist/src/services/companion/console-fast-path.js.map +1 -1
  558. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
  559. package/dist/src/services/companion/console-verb.utils.js.map +1 -1
  560. package/dist/src/services/companion/creation-console.service.d.ts +101 -1
  561. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  562. package/dist/src/services/companion/creation-console.service.js +196 -12
  563. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  564. package/dist/src/services/companion/creation-run-report.models.d.ts +97 -0
  565. package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -0
  566. package/dist/src/services/companion/creation-run-report.models.js +1 -0
  567. package/dist/src/services/companion/creation-run-report.models.js.map +1 -0
  568. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  569. package/dist/src/services/companion/git-helper.service.js.map +1 -1
  570. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  571. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  572. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  573. package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
  574. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  575. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  576. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
  577. package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
  578. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +5 -4
  579. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
  580. package/dist/src/services/compliance/generated-compliance-module-wiring.js +5 -3
  581. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  582. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +0 -2
  583. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
  584. package/dist/src/services/compliance/governed-document-releases.generator.js +2 -5
  585. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
  586. package/dist/src/services/compliance/legal-notice.generator.d.ts +45 -0
  587. package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -0
  588. package/dist/src/services/compliance/legal-notice.generator.js +97 -0
  589. package/dist/src/services/compliance/legal-notice.generator.js.map +1 -0
  590. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
  591. package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
  592. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
  593. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
  594. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  595. package/dist/src/services/context/context-manager.service.js +3 -0
  596. package/dist/src/services/context/context-manager.service.js.map +1 -1
  597. package/dist/src/services/context/context.schemas.d.ts +8 -3
  598. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  599. package/dist/src/services/context/context.schemas.js.map +1 -1
  600. package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
  601. package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
  602. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  603. package/dist/src/services/context/state-manager.service.js.map +1 -1
  604. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
  605. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
  606. package/dist/src/services/credentials/application-secrets.service.d.ts +14 -0
  607. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  608. package/dist/src/services/credentials/application-secrets.service.js +76 -7
  609. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  610. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  611. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  612. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  613. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  614. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  615. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  616. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  617. package/dist/src/services/credentials/credentials.service.js.map +1 -1
  618. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  619. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  620. package/dist/src/services/credentials/local-defaults.service.d.ts +42 -11
  621. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
  622. package/dist/src/services/credentials/local-defaults.service.js +75 -10
  623. package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
  624. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
  625. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
  626. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  627. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  628. package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
  629. package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
  630. package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
  631. package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
  632. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  633. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  634. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  635. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
  636. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  637. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  638. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  639. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  640. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  641. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  642. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  643. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  644. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  645. package/dist/src/services/data-services/data-services.service.js.map +1 -1
  646. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  647. package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
  648. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  649. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  650. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  651. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  652. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  653. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  654. package/dist/src/services/deployment/docker/compose-service-health.d.ts +5 -0
  655. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
  656. package/dist/src/services/deployment/docker/compose-service-health.js +5 -0
  657. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
  658. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  659. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  660. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +136 -2
  661. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  662. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +360 -32
  663. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  664. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  665. package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
  666. package/dist/src/services/deployment/docker/docker.service.d.ts +28 -0
  667. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  668. package/dist/src/services/deployment/docker/docker.service.js +53 -1
  669. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  670. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
  671. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
  672. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  673. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  674. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  675. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  676. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
  677. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -1
  678. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  679. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  680. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  681. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
  682. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  683. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  684. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  685. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  686. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  687. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
  688. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  689. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  690. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  691. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
  692. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  693. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  694. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  695. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -1
  696. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  697. package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
  698. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  699. package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
  700. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  701. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  702. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  703. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
  704. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  705. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  706. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  707. package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -1
  708. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +16 -0
  709. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  710. package/dist/src/services/deployment/local-precondition-checks.service.js +37 -1
  711. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  712. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  713. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +1 -1
  714. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  715. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  716. package/dist/src/services/deployment/platform-lifecycle.service.js +20 -8
  717. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
  718. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  719. package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
  720. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  721. package/dist/src/services/deployment/version-compare.utils.js.map +1 -1
  722. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  723. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
  724. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  725. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
  726. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  727. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
  728. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  729. package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -1
  730. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  731. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
  732. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  733. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
  734. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  735. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
  736. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
  737. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
  738. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  739. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  740. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  741. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  742. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  743. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  744. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  745. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  746. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  747. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  748. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  749. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  750. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  751. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  752. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  753. package/dist/src/services/environment/environment-registry.service.js.map +1 -1
  754. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  755. package/dist/src/services/environment/environment-setup.service.js +19 -9
  756. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  757. package/dist/src/services/environment/environment.schemas.d.ts +5 -2
  758. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  759. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  760. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  761. package/dist/src/services/environment/environment.service.js.map +1 -1
  762. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
  763. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
  764. package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
  765. package/dist/src/services/environment/infrastructure-host.service.js +1 -1
  766. package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
  767. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  768. package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
  769. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  770. package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
  771. package/dist/src/services/environment/platform-runtime.schemas.d.ts +9 -0
  772. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  773. package/dist/src/services/environment/platform-runtime.schemas.js +11 -0
  774. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  775. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  776. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  777. package/dist/src/services/framework/application-claude-settings.d.ts +39 -5
  778. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
  779. package/dist/src/services/framework/application-claude-settings.js +101 -26
  780. package/dist/src/services/framework/application-claude-settings.js.map +1 -1
  781. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  782. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  783. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
  784. package/dist/src/services/framework/claude-plugin-compiler.js +3 -2
  785. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
  786. package/dist/src/services/framework/dev-compile-status.paths.d.ts +9 -0
  787. package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -0
  788. package/dist/src/services/framework/dev-compile-status.paths.js +10 -0
  789. package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -0
  790. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  791. package/dist/src/services/framework/framework-development-skills-sync.service.js +1 -1
  792. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  793. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  794. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  795. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  796. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -1
  797. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  798. package/dist/src/services/framework/framework-knowledge-audit.service.js +3 -1
  799. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  800. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  801. package/dist/src/services/framework/framework-knowledge-generation.service.js +8 -0
  802. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  803. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  804. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  805. package/dist/src/services/framework/framework-npm-publish.service.d.ts +20 -5
  806. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  807. package/dist/src/services/framework/framework-npm-publish.service.js +88 -7
  808. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  809. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  810. package/dist/src/services/framework/framework-publish-manifest.service.js +43 -5
  811. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  812. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  813. package/dist/src/services/framework/framework-release.service.js.map +1 -1
  814. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  815. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  816. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  817. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  818. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
  819. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
  820. package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
  821. package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
  822. package/dist/src/services/framework/installed-framework-assets.service.d.ts +20 -2
  823. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  824. package/dist/src/services/framework/installed-framework-assets.service.js +24 -1
  825. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
  826. package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
  827. package/dist/src/services/framework/npm-registry-output.js.map +1 -1
  828. package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
  829. package/dist/src/services/framework/package-install.service.js.map +1 -1
  830. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  831. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  832. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
  833. package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
  834. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
  835. package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
  836. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
  837. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  838. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
  839. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
  840. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  841. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  842. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  843. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  844. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  845. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  846. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
  847. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
  848. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
  849. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
  850. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
  851. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
  852. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  853. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  854. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  855. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  856. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  857. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  858. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  859. package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
  860. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  861. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  862. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  863. package/dist/src/services/generation/domain-generator.service.js.map +1 -1
  864. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  865. package/dist/src/services/generation/generator.schemas.js.map +1 -1
  866. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  867. package/dist/src/services/generation/operation-generator.service.js.map +1 -1
  868. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  869. package/dist/src/services/generation/resource-generator.service.js.map +1 -1
  870. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  871. package/dist/src/services/generation/template-registry.service.js.map +1 -1
  872. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  873. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
  874. package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
  875. package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
  876. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  877. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  878. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
  879. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
  880. package/dist/src/services/registry/index.d.ts.map +1 -1
  881. package/dist/src/services/registry/index.js.map +1 -1
  882. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  883. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  884. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
  885. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
  886. package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
  887. package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
  888. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
  889. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
  890. package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
  891. package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
  892. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
  893. package/dist/src/services/registry/module-registration.service.js.map +1 -1
  894. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
  895. package/dist/src/services/registry/module-requirements.service.js.map +1 -1
  896. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
  897. package/dist/src/services/registry/provider-install-step.js.map +1 -1
  898. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
  899. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
  900. package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
  901. package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
  902. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
  903. package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
  904. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  905. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  906. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  907. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
  908. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  909. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  910. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  911. package/dist/src/services/registry/saas-root-required.error.js.map +1 -1
  912. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  913. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  914. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  915. package/dist/src/services/tools/utility-tools.service.js.map +1 -1
  916. package/dist/src/services/tracker/creation-run-tracker.service.d.ts +46 -0
  917. package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -0
  918. package/dist/src/services/tracker/creation-run-tracker.service.js +66 -0
  919. package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -0
  920. package/dist/src/services/website/website-label-pack-audit.service.d.ts +11 -1
  921. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
  922. package/dist/src/services/website/website-label-pack-audit.service.js +14 -2
  923. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
  924. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  925. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  926. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
  927. package/dist/src/services/website/website-workspace.service.js.map +1 -1
  928. package/dist/tsconfig.build.tsbuildinfo +1 -1
  929. package/dist/tsconfig.tsbuildinfo +1 -0
  930. package/package.json +20 -17
  931. package/scripts/dev-orchestrator/compile-diagnostic-protocol.mjs +189 -0
  932. package/scripts/dev-orchestrator/local-dev-protocol.mjs +683 -0
  933. package/scripts/dev-orchestrator/local-dev-status.mjs +1234 -0
  934. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +8 -0
  935. package/templates/saas/i18n/email/email-template-definitions.ts +5 -1
  936. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +21 -1
  937. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +1 -0
  938. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +1 -0
  939. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +9 -19
  940. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +6 -2
  941. package/templates/saas/scenarios/add-module/scenario.json +5 -0
  942. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
  943. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +117 -8
  944. package/templates/saas/scenarios/add-technical-doc/scenario.json +3 -0
  945. package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +14 -6
  946. package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +3 -3
  947. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -0
  948. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
  949. package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +3 -1
  950. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +7 -17
  951. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +9 -2
  952. package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +14 -0
  953. package/templates/saas/scenarios/add-website/scenario.json +2 -0
  954. package/templates/saas/skeleton/CLAUDE.md.hbs +4 -1
  955. package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +5 -1
  956. package/templates/saas/skeleton/frontend/tsconfig.json.hbs +6 -3
  957. package/templates/saas/skeleton/frontend/tsconfig.node.json +18 -3
  958. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +247 -0
  959. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +31 -15
  960. package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +10 -2
  961. package/templates/saas/skeleton/specifications/src/brand/resolved-assets.generated.ts +10 -0
  962. package/templates/saas/skeleton/specifications/src/companion-exports.ts +28 -3
  963. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +20 -6
  964. package/wildo-framework.info.json +1 -1
  965. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +0 -8
  966. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +0 -1
  967. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +0 -54
  968. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +0 -1
  969. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +0 -2
  970. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +0 -1
  971. package/dist/src/commands/__tests__/compose-dependency-preview.test.js +0 -271
  972. package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +0 -1
  973. package/dist/src/commands/__tests__/init-application-repository.test.d.ts +0 -2
  974. package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +0 -1
  975. package/dist/src/commands/__tests__/init-application-repository.test.js +0 -125
  976. package/dist/src/commands/__tests__/init-application-repository.test.js.map +0 -1
  977. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +0 -2
  978. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +0 -1
  979. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +0 -51
  980. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +0 -1
  981. package/dist/src/commands/__tests__/update.command.test.d.ts +0 -2
  982. package/dist/src/commands/__tests__/update.command.test.d.ts.map +0 -1
  983. package/dist/src/commands/__tests__/update.command.test.js +0 -249
  984. package/dist/src/commands/__tests__/update.command.test.js.map +0 -1
  985. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +0 -2
  986. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +0 -1
  987. package/dist/src/commands/acp/__tests__/probe.command.test.js +0 -36
  988. package/dist/src/commands/acp/__tests__/probe.command.test.js.map +0 -1
  989. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +0 -2
  990. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +0 -1
  991. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +0 -259
  992. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +0 -1
  993. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +0 -22
  994. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +0 -1
  995. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +0 -268
  996. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +0 -1
  997. package/dist/src/commands/config/__tests__/sync.command.test.d.ts +0 -2
  998. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +0 -1
  999. package/dist/src/commands/config/__tests__/sync.command.test.js +0 -1591
  1000. package/dist/src/commands/config/__tests__/sync.command.test.js.map +0 -1
  1001. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +0 -2
  1002. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +0 -1
  1003. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +0 -134
  1004. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +0 -1
  1005. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +0 -2
  1006. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +0 -1
  1007. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +0 -106
  1008. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +0 -1
  1009. package/dist/src/commands/config/__tests__/validate.command.test.d.ts +0 -14
  1010. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +0 -1
  1011. package/dist/src/commands/config/__tests__/validate.command.test.js +0 -1076
  1012. package/dist/src/commands/config/__tests__/validate.command.test.js.map +0 -1
  1013. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +0 -2
  1014. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +0 -1
  1015. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +0 -63
  1016. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +0 -1
  1017. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +0 -2
  1018. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +0 -1
  1019. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +0 -118
  1020. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +0 -1
  1021. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +0 -2
  1022. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +0 -1
  1023. package/dist/src/commands/context/__tests__/default-service-key.test.js +0 -103
  1024. package/dist/src/commands/context/__tests__/default-service-key.test.js.map +0 -1
  1025. package/dist/src/commands/context/__tests__/elements.command.test.d.ts +0 -2
  1026. package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +0 -1
  1027. package/dist/src/commands/context/__tests__/elements.command.test.js +0 -82
  1028. package/dist/src/commands/context/__tests__/elements.command.test.js.map +0 -1
  1029. package/dist/src/commands/context/__tests__/info.command.test.d.ts +0 -2
  1030. package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +0 -1
  1031. package/dist/src/commands/context/__tests__/info.command.test.js +0 -321
  1032. package/dist/src/commands/context/__tests__/info.command.test.js.map +0 -1
  1033. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +0 -2
  1034. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +0 -1
  1035. package/dist/src/commands/context/__tests__/journey-application-line.test.js +0 -71
  1036. package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +0 -1
  1037. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +0 -2
  1038. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +0 -1
  1039. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +0 -27
  1040. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +0 -1
  1041. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +0 -19
  1042. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +0 -1
  1043. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +0 -106
  1044. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +0 -1
  1045. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +0 -2
  1046. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +0 -1
  1047. package/dist/src/commands/context/__tests__/pipelines.command.test.js +0 -136
  1048. package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +0 -1
  1049. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +0 -2
  1050. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +0 -1
  1051. package/dist/src/commands/context/__tests__/workspace.command.test.js +0 -78
  1052. package/dist/src/commands/context/__tests__/workspace.command.test.js.map +0 -1
  1053. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +0 -2
  1054. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +0 -1
  1055. package/dist/src/commands/creation/__tests__/creation.commands.test.js +0 -294
  1056. package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +0 -1
  1057. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +0 -2
  1058. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +0 -1
  1059. package/dist/src/commands/creation/__tests__/revert.command.test.js +0 -62
  1060. package/dist/src/commands/creation/__tests__/revert.command.test.js.map +0 -1
  1061. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +0 -2
  1062. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +0 -1
  1063. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +0 -99
  1064. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +0 -1
  1065. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +0 -2
  1066. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +0 -1
  1067. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +0 -68
  1068. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +0 -1
  1069. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +0 -2
  1070. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +0 -1
  1071. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +0 -202
  1072. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +0 -1
  1073. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +0 -2
  1074. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +0 -1
  1075. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +0 -69
  1076. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +0 -1
  1077. package/dist/src/commands/dev/__tests__/start.command.test.d.ts +0 -2
  1078. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +0 -1
  1079. package/dist/src/commands/dev/__tests__/start.command.test.js +0 -475
  1080. package/dist/src/commands/dev/__tests__/start.command.test.js.map +0 -1
  1081. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +0 -2
  1082. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +0 -1
  1083. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +0 -132
  1084. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +0 -1
  1085. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +0 -2
  1086. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +0 -1
  1087. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +0 -88
  1088. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +0 -1
  1089. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +0 -2
  1090. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +0 -1
  1091. package/dist/src/commands/dev/__tests__/stop.command.test.js +0 -72
  1092. package/dist/src/commands/dev/__tests__/stop.command.test.js.map +0 -1
  1093. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +0 -2
  1094. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +0 -1
  1095. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +0 -198
  1096. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +0 -1
  1097. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +0 -2
  1098. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +0 -1
  1099. package/dist/src/commands/docs/__tests__/publish.command.test.js +0 -124
  1100. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +0 -1
  1101. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +0 -2
  1102. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +0 -1
  1103. package/dist/src/commands/frontend/__tests__/publish.command.test.js +0 -70
  1104. package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +0 -1
  1105. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +0 -2
  1106. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +0 -1
  1107. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +0 -79
  1108. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +0 -1
  1109. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +0 -2
  1110. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +0 -1
  1111. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +0 -119
  1112. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +0 -1
  1113. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +0 -2
  1114. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +0 -1
  1115. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +0 -308
  1116. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +0 -1
  1117. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +0 -2
  1118. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +0 -1
  1119. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -96
  1120. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +0 -1
  1121. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +0 -2
  1122. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +0 -1
  1123. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +0 -46
  1124. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +0 -1
  1125. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +0 -2
  1126. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +0 -1
  1127. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +0 -33
  1128. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +0 -1
  1129. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +0 -2
  1130. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +0 -1
  1131. package/dist/src/commands/local/__tests__/dev-status.command.test.js +0 -58
  1132. package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +0 -1
  1133. package/dist/src/commands/local/__tests__/dev.command.test.d.ts +0 -2
  1134. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +0 -1
  1135. package/dist/src/commands/local/__tests__/dev.command.test.js +0 -467
  1136. package/dist/src/commands/local/__tests__/dev.command.test.js.map +0 -1
  1137. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +0 -2
  1138. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +0 -1
  1139. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +0 -164
  1140. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +0 -1
  1141. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +0 -2
  1142. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +0 -1
  1143. package/dist/src/commands/local/__tests__/doctor.command.test.js +0 -285
  1144. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +0 -1
  1145. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +0 -2
  1146. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +0 -1
  1147. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +0 -111
  1148. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +0 -1
  1149. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +0 -2
  1150. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +0 -1
  1151. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +0 -136
  1152. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +0 -1
  1153. package/dist/src/commands/local/__tests__/init.command.test.d.ts +0 -2
  1154. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +0 -1
  1155. package/dist/src/commands/local/__tests__/init.command.test.js +0 -110
  1156. package/dist/src/commands/local/__tests__/init.command.test.js.map +0 -1
  1157. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +0 -2
  1158. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +0 -1
  1159. package/dist/src/commands/local/__tests__/reinit.command.test.js +0 -186
  1160. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +0 -1
  1161. package/dist/src/commands/local/__tests__/reset.command.test.d.ts +0 -2
  1162. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +0 -1
  1163. package/dist/src/commands/local/__tests__/reset.command.test.js +0 -308
  1164. package/dist/src/commands/local/__tests__/reset.command.test.js.map +0 -1
  1165. package/dist/src/commands/local/__tests__/up.command.test.d.ts +0 -2
  1166. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +0 -1
  1167. package/dist/src/commands/local/__tests__/up.command.test.js +0 -225
  1168. package/dist/src/commands/local/__tests__/up.command.test.js.map +0 -1
  1169. package/dist/src/commands/lock/__tests__/check.command.test.d.ts +0 -11
  1170. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +0 -1
  1171. package/dist/src/commands/lock/__tests__/check.command.test.js +0 -140
  1172. package/dist/src/commands/lock/__tests__/check.command.test.js.map +0 -1
  1173. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +0 -35
  1174. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +0 -1
  1175. package/dist/src/commands/lock/__tests__/check.live.contract.test.js +0 -122
  1176. package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +0 -1
  1177. package/dist/src/commands/market/__tests__/generate.command.test.d.ts +0 -2
  1178. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +0 -1
  1179. package/dist/src/commands/market/__tests__/generate.command.test.js +0 -217
  1180. package/dist/src/commands/market/__tests__/generate.command.test.js.map +0 -1
  1181. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +0 -2
  1182. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +0 -1
  1183. package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -148
  1184. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +0 -1
  1185. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +0 -2
  1186. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +0 -1
  1187. package/dist/src/commands/providers/__tests__/required-inputs.test.js +0 -35
  1188. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +0 -1
  1189. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +0 -10
  1190. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +0 -1
  1191. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +0 -232
  1192. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +0 -1
  1193. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +0 -11
  1194. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +0 -1
  1195. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +0 -450
  1196. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +0 -1
  1197. package/dist/src/commands/registry/__tests__/publish.test.d.ts +0 -2
  1198. package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +0 -1
  1199. package/dist/src/commands/registry/__tests__/publish.test.js +0 -196
  1200. package/dist/src/commands/registry/__tests__/publish.test.js.map +0 -1
  1201. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +0 -2
  1202. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +0 -1
  1203. package/dist/src/commands/registry/__tests__/repair-contract.test.js +0 -168
  1204. package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +0 -1
  1205. package/dist/src/commands/registry/__tests__/requirements.test.d.ts +0 -2
  1206. package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +0 -1
  1207. package/dist/src/commands/registry/__tests__/requirements.test.js +0 -500
  1208. package/dist/src/commands/registry/__tests__/requirements.test.js.map +0 -1
  1209. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +0 -2
  1210. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +0 -1
  1211. package/dist/src/commands/registry/__tests__/version-resolution.test.js +0 -87
  1212. package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +0 -1
  1213. package/dist/src/commands/registry/__tests__/yank.test.d.ts +0 -9
  1214. package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +0 -1
  1215. package/dist/src/commands/registry/__tests__/yank.test.js +0 -92
  1216. package/dist/src/commands/registry/__tests__/yank.test.js.map +0 -1
  1217. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +0 -2
  1218. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +0 -1
  1219. package/dist/src/commands/remote/__tests__/remote-commands.test.js +0 -100
  1220. package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +0 -1
  1221. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +0 -2
  1222. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +0 -1
  1223. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +0 -61
  1224. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +0 -1
  1225. package/dist/src/commands/website/__tests__/audit.command.test.d.ts +0 -2
  1226. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +0 -1
  1227. package/dist/src/commands/website/__tests__/audit.command.test.js +0 -163
  1228. package/dist/src/commands/website/__tests__/audit.command.test.js.map +0 -1
  1229. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +0 -2
  1230. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +0 -1
  1231. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +0 -51
  1232. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +0 -1
  1233. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +0 -2
  1234. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +0 -1
  1235. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +0 -59
  1236. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +0 -1
  1237. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +0 -2
  1238. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +0 -1
  1239. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +0 -138
  1240. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +0 -1
  1241. package/dist/src/kernel/__tests__/bootstrap.test.d.ts +0 -2
  1242. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +0 -1
  1243. package/dist/src/kernel/__tests__/bootstrap.test.js +0 -88
  1244. package/dist/src/kernel/__tests__/bootstrap.test.js.map +0 -1
  1245. package/dist/src/kernel/__tests__/command-registry.test.d.ts +0 -2
  1246. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +0 -1
  1247. package/dist/src/kernel/__tests__/command-registry.test.js +0 -197
  1248. package/dist/src/kernel/__tests__/command-registry.test.js.map +0 -1
  1249. package/dist/src/kernel/__tests__/command-runner.test.d.ts +0 -2
  1250. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +0 -1
  1251. package/dist/src/kernel/__tests__/command-runner.test.js +0 -285
  1252. package/dist/src/kernel/__tests__/command-runner.test.js.map +0 -1
  1253. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +0 -2
  1254. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +0 -1
  1255. package/dist/src/kernel/__tests__/command-scope-utils.test.js +0 -46
  1256. package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +0 -1
  1257. package/dist/src/kernel/__tests__/flag-utils.test.d.ts +0 -2
  1258. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +0 -1
  1259. package/dist/src/kernel/__tests__/flag-utils.test.js +0 -38
  1260. package/dist/src/kernel/__tests__/flag-utils.test.js.map +0 -1
  1261. package/dist/src/kernel/__tests__/hooks.test.d.ts +0 -2
  1262. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +0 -1
  1263. package/dist/src/kernel/__tests__/hooks.test.js +0 -72
  1264. package/dist/src/kernel/__tests__/hooks.test.js.map +0 -1
  1265. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +0 -2
  1266. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +0 -1
  1267. package/dist/src/kernel/__tests__/machine-preference-answers.test.js +0 -118
  1268. package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +0 -1
  1269. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +0 -2
  1270. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +0 -1
  1271. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +0 -88
  1272. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +0 -1
  1273. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +0 -2
  1274. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +0 -1
  1275. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +0 -154
  1276. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +0 -1
  1277. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +0 -2
  1278. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +0 -1
  1279. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +0 -89
  1280. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +0 -1
  1281. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +0 -2
  1282. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +0 -1
  1283. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +0 -112
  1284. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +0 -1
  1285. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +0 -2
  1286. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +0 -1
  1287. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +0 -91
  1288. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +0 -1
  1289. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +0 -2
  1290. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +0 -1
  1291. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +0 -140
  1292. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +0 -1
  1293. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +0 -2
  1294. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +0 -1
  1295. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +0 -220
  1296. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +0 -1
  1297. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +0 -2
  1298. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +0 -1
  1299. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +0 -114
  1300. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +0 -1
  1301. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +0 -2
  1302. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +0 -1
  1303. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +0 -884
  1304. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +0 -1
  1305. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +0 -2
  1306. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +0 -1
  1307. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +0 -254
  1308. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +0 -1
  1309. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +0 -2
  1310. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +0 -1
  1311. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +0 -263
  1312. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +0 -1
  1313. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +0 -2
  1314. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +0 -1
  1315. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +0 -51
  1316. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +0 -1
  1317. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +0 -2
  1318. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +0 -1
  1319. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +0 -160
  1320. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +0 -1
  1321. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +0 -2
  1322. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +0 -1
  1323. package/dist/src/services/application/__tests__/application-creation-readiness.test.js +0 -152
  1324. package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +0 -1
  1325. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +0 -2
  1326. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +0 -1
  1327. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +0 -233
  1328. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +0 -1
  1329. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +0 -2
  1330. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +0 -1
  1331. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +0 -29
  1332. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +0 -1
  1333. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +0 -2
  1334. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +0 -1
  1335. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +0 -159
  1336. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +0 -1
  1337. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +0 -2
  1338. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +0 -1
  1339. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +0 -143
  1340. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +0 -1
  1341. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +0 -2
  1342. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +0 -1
  1343. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +0 -41
  1344. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +0 -1
  1345. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +0 -2
  1346. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +0 -1
  1347. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +0 -65
  1348. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +0 -1
  1349. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +0 -2
  1350. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +0 -1
  1351. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +0 -46
  1352. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +0 -1
  1353. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +0 -10
  1354. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +0 -1
  1355. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +0 -156
  1356. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +0 -1
  1357. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +0 -2
  1358. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +0 -1
  1359. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +0 -60
  1360. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +0 -1
  1361. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +0 -2
  1362. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +0 -1
  1363. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -298
  1364. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +0 -1
  1365. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +0 -2
  1366. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +0 -1
  1367. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +0 -118
  1368. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +0 -1
  1369. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +0 -2
  1370. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +0 -1
  1371. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +0 -175
  1372. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +0 -1
  1373. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +0 -2
  1374. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +0 -1
  1375. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +0 -31
  1376. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +0 -1
  1377. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +0 -2
  1378. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +0 -1
  1379. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +0 -82
  1380. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +0 -1
  1381. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +0 -2
  1382. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +0 -1
  1383. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +0 -383
  1384. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +0 -1
  1385. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +0 -2
  1386. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +0 -1
  1387. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +0 -98
  1388. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +0 -1
  1389. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +0 -2
  1390. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +0 -1
  1391. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +0 -138
  1392. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +0 -1
  1393. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +0 -2
  1394. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +0 -1
  1395. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +0 -129
  1396. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +0 -1
  1397. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +0 -2
  1398. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +0 -1
  1399. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +0 -76
  1400. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +0 -1
  1401. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +0 -2
  1402. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +0 -1
  1403. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +0 -284
  1404. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +0 -1
  1405. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +0 -2
  1406. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +0 -1
  1407. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +0 -40
  1408. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +0 -1
  1409. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +0 -2
  1410. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +0 -1
  1411. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +0 -946
  1412. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +0 -1
  1413. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +0 -19
  1414. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +0 -1
  1415. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -188
  1416. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +0 -1
  1417. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +0 -2
  1418. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +0 -1
  1419. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +0 -29
  1420. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +0 -1
  1421. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +0 -2
  1422. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +0 -1
  1423. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +0 -860
  1424. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +0 -1
  1425. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +0 -2
  1426. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +0 -1
  1427. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +0 -180
  1428. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +0 -1
  1429. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +0 -2
  1430. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +0 -1
  1431. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +0 -79
  1432. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +0 -1
  1433. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +0 -2
  1434. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +0 -1
  1435. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +0 -93
  1436. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +0 -1
  1437. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +0 -2
  1438. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +0 -1
  1439. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +0 -89
  1440. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +0 -1
  1441. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +0 -2
  1442. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +0 -1
  1443. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +0 -172
  1444. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +0 -1
  1445. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +0 -2
  1446. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +0 -1
  1447. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +0 -152
  1448. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +0 -1
  1449. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +0 -2
  1450. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +0 -1
  1451. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +0 -123
  1452. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +0 -1
  1453. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +0 -10
  1454. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +0 -1
  1455. package/dist/src/services/companion/__tests__/companion-client.service.test.js +0 -241
  1456. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +0 -1
  1457. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +0 -2
  1458. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +0 -1
  1459. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +0 -25
  1460. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +0 -1
  1461. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +0 -2
  1462. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +0 -1
  1463. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +0 -74
  1464. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +0 -1
  1465. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +0 -2
  1466. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +0 -1
  1467. package/dist/src/services/companion/__tests__/console-fast-path.test.js +0 -138
  1468. package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +0 -1
  1469. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +0 -2
  1470. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +0 -1
  1471. package/dist/src/services/companion/__tests__/creation-watch.test.js +0 -86
  1472. package/dist/src/services/companion/__tests__/creation-watch.test.js.map +0 -1
  1473. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +0 -2
  1474. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +0 -1
  1475. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +0 -14
  1476. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +0 -1
  1477. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +0 -2
  1478. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +0 -1
  1479. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +0 -51
  1480. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +0 -1
  1481. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +0 -2
  1482. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +0 -1
  1483. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +0 -71
  1484. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +0 -1
  1485. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +0 -2
  1486. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +0 -1
  1487. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +0 -85
  1488. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +0 -1
  1489. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +0 -2
  1490. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +0 -1
  1491. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +0 -289
  1492. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +0 -1
  1493. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +0 -2
  1494. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +0 -1
  1495. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +0 -78
  1496. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +0 -1
  1497. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +0 -2
  1498. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +0 -1
  1499. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +0 -67
  1500. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +0 -1
  1501. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +0 -2
  1502. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +0 -1
  1503. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +0 -109
  1504. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +0 -1
  1505. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +0 -2
  1506. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +0 -1
  1507. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +0 -54
  1508. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +0 -1
  1509. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +0 -2
  1510. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +0 -1
  1511. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +0 -56
  1512. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +0 -1
  1513. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +0 -2
  1514. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +0 -1
  1515. package/dist/src/services/context/__tests__/context-manager.service.test.js +0 -119
  1516. package/dist/src/services/context/__tests__/context-manager.service.test.js.map +0 -1
  1517. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +0 -2
  1518. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +0 -1
  1519. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +0 -138
  1520. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +0 -1
  1521. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +0 -2
  1522. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +0 -1
  1523. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +0 -201
  1524. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +0 -1
  1525. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +0 -28
  1526. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +0 -1
  1527. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +0 -239
  1528. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +0 -1
  1529. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +0 -2
  1530. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +0 -1
  1531. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +0 -328
  1532. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +0 -1
  1533. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +0 -2
  1534. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +0 -1
  1535. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +0 -52
  1536. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +0 -1
  1537. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +0 -2
  1538. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +0 -1
  1539. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +0 -89
  1540. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +0 -1
  1541. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +0 -14
  1542. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +0 -1
  1543. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +0 -284
  1544. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +0 -1
  1545. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +0 -2
  1546. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +0 -1
  1547. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +0 -56
  1548. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +0 -1
  1549. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +0 -2
  1550. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +0 -1
  1551. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +0 -95
  1552. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +0 -1
  1553. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +0 -2
  1554. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +0 -1
  1555. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +0 -113
  1556. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +0 -1
  1557. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +0 -2
  1558. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +0 -1
  1559. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +0 -271
  1560. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +0 -1
  1561. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +0 -2
  1562. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +0 -1
  1563. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +0 -277
  1564. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +0 -1
  1565. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +0 -2
  1566. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +0 -1
  1567. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +0 -54
  1568. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +0 -1
  1569. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +0 -2
  1570. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +0 -1
  1571. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +0 -61
  1572. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +0 -1
  1573. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +0 -2
  1574. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +0 -1
  1575. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +0 -64
  1576. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +0 -1
  1577. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +0 -2
  1578. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +0 -1
  1579. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +0 -90
  1580. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +0 -1
  1581. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +0 -2
  1582. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +0 -1
  1583. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +0 -369
  1584. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +0 -1
  1585. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +0 -2
  1586. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +0 -1
  1587. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +0 -51
  1588. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +0 -1
  1589. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +0 -2
  1590. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +0 -1
  1591. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +0 -148
  1592. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +0 -1
  1593. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +0 -2
  1594. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +0 -1
  1595. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +0 -47
  1596. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +0 -1
  1597. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +0 -2
  1598. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +0 -1
  1599. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +0 -799
  1600. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +0 -1
  1601. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +0 -20
  1602. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +0 -1
  1603. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +0 -348
  1604. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +0 -1
  1605. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +0 -2
  1606. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +0 -1
  1607. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +0 -83
  1608. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +0 -1
  1609. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +0 -2
  1610. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +0 -1
  1611. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +0 -211
  1612. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +0 -1
  1613. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +0 -2
  1614. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +0 -1
  1615. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +0 -68
  1616. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +0 -1
  1617. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +0 -2
  1618. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +0 -1
  1619. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +0 -97
  1620. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +0 -1
  1621. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +0 -2
  1622. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +0 -1
  1623. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +0 -258
  1624. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +0 -1
  1625. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +0 -2
  1626. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +0 -1
  1627. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +0 -336
  1628. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +0 -1
  1629. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +0 -2
  1630. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +0 -1
  1631. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +0 -100
  1632. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +0 -1
  1633. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +0 -2
  1634. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +0 -1
  1635. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +0 -79
  1636. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +0 -1
  1637. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +0 -11
  1638. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +0 -1
  1639. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +0 -494
  1640. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +0 -1
  1641. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +0 -2
  1642. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +0 -1
  1643. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +0 -229
  1644. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +0 -1
  1645. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +0 -2
  1646. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +0 -1
  1647. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +0 -145
  1648. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +0 -1
  1649. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +0 -2
  1650. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +0 -1
  1651. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +0 -100
  1652. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +0 -1
  1653. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +0 -2
  1654. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +0 -1
  1655. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +0 -245
  1656. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +0 -1
  1657. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +0 -2
  1658. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +0 -1
  1659. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +0 -27
  1660. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +0 -1
  1661. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +0 -2
  1662. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +0 -1
  1663. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +0 -88
  1664. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +0 -1
  1665. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +0 -2
  1666. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +0 -1
  1667. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +0 -339
  1668. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +0 -1
  1669. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +0 -2
  1670. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +0 -1
  1671. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +0 -45
  1672. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +0 -1
  1673. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +0 -2
  1674. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +0 -1
  1675. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +0 -81
  1676. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +0 -1
  1677. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +0 -2
  1678. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +0 -1
  1679. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +0 -151
  1680. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +0 -1
  1681. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +0 -2
  1682. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +0 -1
  1683. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +0 -1183
  1684. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +0 -1
  1685. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +0 -2
  1686. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +0 -1
  1687. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +0 -156
  1688. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +0 -1
  1689. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +0 -2
  1690. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +0 -1
  1691. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +0 -199
  1692. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +0 -1
  1693. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +0 -2
  1694. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +0 -1
  1695. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +0 -81
  1696. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +0 -1
  1697. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +0 -2
  1698. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +0 -1
  1699. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +0 -62
  1700. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +0 -1
  1701. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +0 -2
  1702. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +0 -1
  1703. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +0 -265
  1704. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +0 -1
  1705. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +0 -2
  1706. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +0 -1
  1707. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +0 -77
  1708. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +0 -1
  1709. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +0 -2
  1710. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +0 -1
  1711. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +0 -1087
  1712. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +0 -1
  1713. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +0 -2
  1714. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +0 -1
  1715. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +0 -39
  1716. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +0 -1
  1717. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +0 -2
  1718. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +0 -1
  1719. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +0 -235
  1720. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +0 -1
  1721. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +0 -2
  1722. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +0 -1
  1723. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +0 -71
  1724. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +0 -1
  1725. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +0 -2
  1726. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +0 -1
  1727. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +0 -307
  1728. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +0 -1
  1729. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +0 -2
  1730. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +0 -1
  1731. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +0 -47
  1732. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +0 -1
  1733. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +0 -2
  1734. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +0 -1
  1735. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +0 -22
  1736. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +0 -1
  1737. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +0 -2
  1738. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +0 -1
  1739. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +0 -52
  1740. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +0 -1
  1741. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +0 -2
  1742. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +0 -1
  1743. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +0 -112
  1744. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +0 -1
  1745. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +0 -2
  1746. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +0 -1
  1747. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +0 -105
  1748. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +0 -1
  1749. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +0 -2
  1750. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +0 -1
  1751. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +0 -86
  1752. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +0 -1
  1753. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +0 -2
  1754. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +0 -1
  1755. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +0 -571
  1756. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +0 -1
  1757. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +0 -2
  1758. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +0 -1
  1759. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +0 -80
  1760. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +0 -1
  1761. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +0 -2
  1762. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +0 -1
  1763. package/dist/src/services/environment/__tests__/env-sync.service.test.js +0 -195
  1764. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +0 -1
  1765. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +0 -2
  1766. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +0 -1
  1767. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +0 -1896
  1768. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +0 -1
  1769. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +0 -22
  1770. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +0 -1
  1771. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +0 -110
  1772. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +0 -1
  1773. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +0 -2
  1774. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +0 -1
  1775. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +0 -82
  1776. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +0 -1
  1777. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +0 -2
  1778. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +0 -1
  1779. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +0 -116
  1780. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +0 -1
  1781. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +0 -2
  1782. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +0 -1
  1783. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +0 -128
  1784. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +0 -1
  1785. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +0 -2
  1786. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +0 -1
  1787. package/dist/src/services/environment/__tests__/environment-paths.service.test.js +0 -18
  1788. package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +0 -1
  1789. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +0 -2
  1790. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +0 -1
  1791. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +0 -220
  1792. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +0 -1
  1793. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +0 -2
  1794. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +0 -1
  1795. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +0 -175
  1796. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +0 -1
  1797. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +0 -2
  1798. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +0 -1
  1799. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +0 -321
  1800. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +0 -1
  1801. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +0 -2
  1802. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +0 -1
  1803. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +0 -83
  1804. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +0 -1
  1805. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +0 -2
  1806. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +0 -1
  1807. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +0 -162
  1808. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +0 -1
  1809. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +0 -2
  1810. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +0 -1
  1811. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +0 -96
  1812. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +0 -1
  1813. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +0 -2
  1814. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +0 -1
  1815. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +0 -109
  1816. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +0 -1
  1817. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +0 -2
  1818. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +0 -1
  1819. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +0 -48
  1820. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +0 -1
  1821. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +0 -2
  1822. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +0 -1
  1823. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +0 -96
  1824. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +0 -1
  1825. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +0 -2
  1826. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +0 -1
  1827. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +0 -150
  1828. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +0 -1
  1829. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +0 -2
  1830. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +0 -1
  1831. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +0 -79
  1832. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +0 -1
  1833. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +0 -2
  1834. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +0 -1
  1835. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +0 -108
  1836. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +0 -1
  1837. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +0 -2
  1838. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +0 -1
  1839. package/dist/src/services/framework/__tests__/application-claude-settings.test.js +0 -174
  1840. package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +0 -1
  1841. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +0 -2
  1842. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +0 -1
  1843. package/dist/src/services/framework/__tests__/application-rule-imports.test.js +0 -58
  1844. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +0 -1
  1845. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +0 -2
  1846. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +0 -1
  1847. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +0 -152
  1848. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +0 -1
  1849. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +0 -2
  1850. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +0 -1
  1851. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +0 -81
  1852. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +0 -1
  1853. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +0 -2
  1854. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +0 -1
  1855. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +0 -66
  1856. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +0 -1
  1857. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +0 -2
  1858. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +0 -1
  1859. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +0 -58
  1860. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +0 -1
  1861. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +0 -14
  1862. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +0 -1
  1863. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +0 -65
  1864. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +0 -1
  1865. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +0 -2
  1866. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +0 -1
  1867. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +0 -41
  1868. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +0 -1
  1869. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +0 -2
  1870. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +0 -1
  1871. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +0 -38
  1872. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +0 -1
  1873. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +0 -2
  1874. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +0 -1
  1875. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +0 -181
  1876. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +0 -1
  1877. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +0 -2
  1878. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +0 -1
  1879. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +0 -415
  1880. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +0 -1
  1881. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +0 -2
  1882. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +0 -1
  1883. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +0 -100
  1884. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +0 -1
  1885. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +0 -2
  1886. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +0 -1
  1887. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +0 -270
  1888. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +0 -1
  1889. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +0 -2
  1890. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +0 -1
  1891. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +0 -1731
  1892. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +0 -1
  1893. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +0 -2
  1894. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +0 -1
  1895. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +0 -1211
  1896. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +0 -1
  1897. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +0 -2
  1898. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +0 -1
  1899. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +0 -783
  1900. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +0 -1
  1901. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +0 -2
  1902. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +0 -1
  1903. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +0 -545
  1904. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +0 -1
  1905. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +0 -2
  1906. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +0 -1
  1907. package/dist/src/services/framework/__tests__/framework-release.service.test.js +0 -96
  1908. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +0 -1
  1909. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +0 -2
  1910. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +0 -1
  1911. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +0 -64
  1912. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +0 -1
  1913. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +0 -2
  1914. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +0 -1
  1915. package/dist/src/services/framework/__tests__/framework-update.service.test.js +0 -348
  1916. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +0 -1
  1917. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +0 -2
  1918. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +0 -1
  1919. package/dist/src/services/framework/__tests__/framework-version.service.test.js +0 -105
  1920. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +0 -1
  1921. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +0 -2
  1922. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +0 -1
  1923. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +0 -200
  1924. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +0 -1
  1925. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +0 -2
  1926. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +0 -1
  1927. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +0 -60
  1928. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +0 -1
  1929. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +0 -2
  1930. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +0 -1
  1931. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +0 -20
  1932. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +0 -1
  1933. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +0 -2
  1934. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +0 -1
  1935. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +0 -28
  1936. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +0 -1
  1937. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +0 -2
  1938. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +0 -1
  1939. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +0 -60
  1940. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +0 -1
  1941. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +0 -2
  1942. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +0 -1
  1943. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +0 -57
  1944. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +0 -1
  1945. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +0 -2
  1946. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +0 -1
  1947. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +0 -100
  1948. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +0 -1
  1949. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +0 -2
  1950. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +0 -1
  1951. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +0 -92
  1952. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +0 -1
  1953. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +0 -2
  1954. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +0 -1
  1955. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +0 -95
  1956. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +0 -1
  1957. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +0 -2
  1958. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +0 -1
  1959. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +0 -255
  1960. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +0 -1
  1961. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +0 -2
  1962. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +0 -1
  1963. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +0 -83
  1964. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +0 -1
  1965. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +0 -2
  1966. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +0 -1
  1967. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +0 -114
  1968. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +0 -1
  1969. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +0 -2
  1970. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +0 -1
  1971. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +0 -905
  1972. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +0 -1
  1973. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +0 -2
  1974. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +0 -1
  1975. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +0 -228
  1976. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +0 -1
  1977. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +0 -2
  1978. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +0 -1
  1979. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +0 -310
  1980. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +0 -1
  1981. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +0 -2
  1982. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +0 -1
  1983. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +0 -351
  1984. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +0 -1
  1985. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +0 -2
  1986. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +0 -1
  1987. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +0 -363
  1988. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +0 -1
  1989. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +0 -2
  1990. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +0 -1
  1991. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +0 -226
  1992. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +0 -1
  1993. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +0 -2
  1994. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +0 -1
  1995. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +0 -399
  1996. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +0 -1
  1997. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +0 -2
  1998. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +0 -1
  1999. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +0 -177
  2000. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +0 -1
  2001. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +0 -2
  2002. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +0 -1
  2003. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +0 -48
  2004. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +0 -1
  2005. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +0 -2
  2006. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +0 -1
  2007. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +0 -818
  2008. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +0 -1
  2009. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +0 -9
  2010. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +0 -1
  2011. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +0 -77
  2012. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +0 -1
  2013. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +0 -2
  2014. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +0 -1
  2015. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +0 -221
  2016. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +0 -1
  2017. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +0 -2
  2018. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +0 -1
  2019. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +0 -144
  2020. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +0 -1
  2021. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +0 -2
  2022. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +0 -1
  2023. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +0 -70
  2024. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +0 -1
  2025. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +0 -2
  2026. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +0 -1
  2027. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +0 -52
  2028. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +0 -1
  2029. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +0 -2
  2030. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +0 -1
  2031. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +0 -135
  2032. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +0 -1
  2033. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +0 -2
  2034. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +0 -1
  2035. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +0 -85
  2036. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +0 -1
  2037. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +0 -2
  2038. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +0 -1
  2039. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +0 -159
  2040. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +0 -1
  2041. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +0 -8
  2042. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +0 -1
  2043. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +0 -148
  2044. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +0 -1
  2045. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +0 -2
  2046. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +0 -1
  2047. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +0 -50
  2048. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +0 -1
  2049. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +0 -2
  2050. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +0 -1
  2051. package/dist/src/services/registry/__tests__/module-registration.service.test.js +0 -302
  2052. package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +0 -1
  2053. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +0 -2
  2054. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +0 -1
  2055. package/dist/src/services/registry/__tests__/module-requirements.service.test.js +0 -138
  2056. package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +0 -1
  2057. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +0 -2
  2058. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +0 -1
  2059. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +0 -68
  2060. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +0 -1
  2061. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +0 -2
  2062. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +0 -1
  2063. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +0 -91
  2064. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +0 -1
  2065. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +0 -2
  2066. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +0 -1
  2067. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +0 -67
  2068. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +0 -1
  2069. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +0 -67
  2070. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +0 -1
  2071. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +0 -229
  2072. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +0 -1
  2073. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +0 -2
  2074. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +0 -1
  2075. package/dist/src/services/security/__tests__/csp-boundary.test.js +0 -103
  2076. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +0 -1
  2077. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +0 -2
  2078. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +0 -1
  2079. package/dist/src/services/security/__tests__/csp-sync.service.test.js +0 -617
  2080. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +0 -1
  2081. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +0 -2
  2082. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +0 -1
  2083. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +0 -117
  2084. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +0 -1
  2085. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +0 -21
  2086. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +0 -1
  2087. package/dist/src/test-utils/certificate-fixtures.test.utils.js +0 -57
  2088. package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +0 -1
  2089. package/dist/src/test-utils/resolved-homes.test.utils.d.ts +0 -4
  2090. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +0 -1
  2091. package/dist/src/test-utils/resolved-homes.test.utils.js +0 -18
  2092. package/dist/src/test-utils/resolved-homes.test.utils.js.map +0 -1
@@ -1,1896 +0,0 @@
1
- import { describe, expect, it, vi } from 'vitest';
2
- import { declaredProviderScope } from '../../../services/credentials/provider-env-vars.utils.js';
3
- import { ApplicationBackendBootstrapEnvKeys, ApplicationBackendDataEnvKeys, BackingServiceKind, BackingServiceSource, BOOTSTRAP_PLATFORM_SERVICES, DatabaseEngine, PLATFORM_POSTGRES_DATABASE, PLATFORM_POSTGRES_MAINTENANCE_DATABASE, PlatformInfrastructureEnvKeys, PlatformProcessEnvKeys, PlatformSecurityEnvKeys, PlatformWildoServices, STORAGE_DEFAULTS, WildoDeploymentRuntime, WildoLocationType, } from '@wildo-ai/platform-config-lib';
4
- import { ApplicationBackendRuntimeEnvKeys, ApplicationWorkerBootstrapEnvKeys, ApplicationWorkerHttpSurfaceEnvKeys, ApplicationWorkerRuntimeEnvKeys, HttpServerEnvKey, } from '@wildo-ai/platform-core-shared';
5
- import { EngineCapability, RuntimeEnvironment } from '@wildo-ai/saas-models';
6
- import { PlatformEnvVarsBuilder, assertNoStorageSecretInGeneratedEnv, assertNoPlatformCredentialInGeneratedEnv } from '../../../services/environment/env-vars-builder.service.js';
7
- import { IMMUDB_CREDENTIAL_ENV_KEYS } from '../../../services/data-services/data-services.schemas.js';
8
- import { PlatformEnvOperatingSystem, SetupStatus, } from '../../../services/environment/environment.schemas.js';
9
- const credentials = {
10
- mongodb: {
11
- rootUser: 'mongo',
12
- rootPassword: 'mongo-password',
13
- },
14
- valkey: {
15
- adminUser: 'default',
16
- adminPassword: 'valkey-password',
17
- },
18
- postgresql: {
19
- adminUser: 'postgres',
20
- adminPassword: 'postgres-password',
21
- },
22
- rabbitmq: {
23
- adminUsername: 'rabbit',
24
- adminPassword: 'rabbit-password',
25
- erlangCookie: 'rabbit-cookie',
26
- },
27
- storage: {
28
- accessKey: 'minio',
29
- secretKey: 'minio-secret',
30
- },
31
- platform: {
32
- // NOT a substring of any legitimately-emitted app-tier value (the leak guard matches by
33
- // CONTAINMENT since the 5.3 review — a URL-embedded credential is as leaked as a bare one —
34
- // and the previous 'primary-secret' was accidentally contained in the app bootstrap fixture's
35
- // own 'platform-primary-secret', which production's independently-minted secrets cannot do).
36
- primarySecret: 'platform-tier-root-primary-secret-9f3a',
37
- adminSecret: 'admin-secret',
38
- appsManager: {
39
- privateKey: 'private-key',
40
- publicKey: 'public-key',
41
- },
42
- // Crontabs P2P signing keypair — required since the scheduled-cron JWT fix
43
- // (`buildAppsManagerFullEnv` fail-louds when absent). Mirrors `appsManager`.
44
- crontabsBatchesManager: {
45
- privateKey: 'crontabs-private-key',
46
- publicKey: 'crontabs-public-key',
47
- },
48
- },
49
- admin: {
50
- email: 'admin@example.com',
51
- password: 'admin-password',
52
- firstName: 'Ada',
53
- lastName: 'Lovelace',
54
- },
55
- };
56
- const appBootstrapCredentials = {
57
- APPLICATION_ID: 'app-123',
58
- PLATFORM_APPLICATION_PRIMARY_SECRET: 'platform-primary-secret',
59
- PLATFORM_APPS_MANAGER_URL: 'https://apps-manager.example.com',
60
- APPLICATION_ENV: RuntimeEnvironment.STAGING,
61
- APPLICATION_SLUG: 'wonder-todos',
62
- };
63
- const addresses = {
64
- infra: {
65
- mongodb: { host: 'mongo', port: 27017, url: 'http://mongo:27017' },
66
- valkey: { host: 'valkey', port: 6379, url: 'http://valkey:6379' },
67
- rabbitmq: { host: 'rabbitmq', port: 5672, url: 'http://rabbitmq:5672' },
68
- rabbitmqManagement: { host: 'rabbitmq', port: 15672, url: 'http://rabbitmq:15672' },
69
- minio: { host: 'minio', port: 9000, url: 'http://minio:9000' },
70
- postgresql: { host: 'postgresql', port: 5432, url: 'http://postgresql:5432' },
71
- clamav: { host: 'clamav', port: 3310, url: 'http://clamav:3310' },
72
- immudb: { host: 'immudb', port: 3322, url: 'http://immudb:3322' },
73
- },
74
- platform: {
75
- appsManager: { host: 'apps-manager', port: 3000, url: 'https://apps-manager.example.com' },
76
- crontabsBatchesManager: { host: 'crontabs', port: 3002, url: 'https://crontabs.example.com' },
77
- moduleRegistry: { host: 'module-registry', port: 3003, url: 'https://module-registry.example.com' },
78
- },
79
- };
80
- function createEnvironment(overrides = {}) {
81
- return {
82
- name: 'preview-eu',
83
- locationType: WildoLocationType.REMOTE,
84
- runtime: WildoDeploymentRuntime.KUBERNETES,
85
- runtimeEnvironment: RuntimeEnvironment.STAGING,
86
- os: PlatformEnvOperatingSystem.LINUX,
87
- secretsPath: '',
88
- configPath: '',
89
- infraPath: '',
90
- database: {
91
- engine: DatabaseEngine.MONGODB,
92
- source: BackingServiceSource.SELF,
93
- },
94
- publicDomain: 'preview-eu.wildo.ai',
95
- kubernetes: {
96
- namespace: 'preview-eu',
97
- },
98
- remoteProvider: {
99
- provider: 'scaleway',
100
- registryEndpoint: 'rg.fr-par.scw.cloud/demo',
101
- },
102
- setupStatus: SetupStatus.NOT_STARTED,
103
- createdAt: new Date().toISOString(),
104
- updatedAt: new Date().toISOString(),
105
- ...overrides,
106
- };
107
- }
108
- function createConfig(overrides = {}) {
109
- return {
110
- type: WildoLocationType.REMOTE,
111
- runtime: WildoDeploymentRuntime.KUBERNETES,
112
- runtimeEnvironment: RuntimeEnvironment.STAGING,
113
- database: {
114
- engine: DatabaseEngine.MONGODB,
115
- source: BackingServiceSource.SELF,
116
- },
117
- // Explicit, because an absent applicationDatabase now selects PostgreSQL (#1571) and these
118
- // fixtures describe a MongoDB application unless a case overrides it.
119
- applicationDatabase: { engine: DatabaseEngine.MONGODB },
120
- infrastructure: {
121
- storage: {
122
- provider: 'minio',
123
- useSsl: false,
124
- bucket: 'bucket',
125
- },
126
- postgresql: {
127
- database: 'postgres',
128
- sslMode: 'disable',
129
- },
130
- },
131
- publicDomain: 'preview-eu.wildo.ai',
132
- kubernetes: {
133
- namespace: 'preview-eu',
134
- },
135
- remoteProvider: {
136
- provider: 'scaleway',
137
- registryEndpoint: 'rg.fr-par.scw.cloud/demo',
138
- },
139
- ...overrides,
140
- };
141
- }
142
- describe('PlatformEnvVarsBuilder', () => {
143
- it('emits explicit runtime semantics and ingress settings for remote apps-manager env', () => {
144
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment());
145
- expect(env.APPLICATION_ENV).toBe(RuntimeEnvironment.STAGING);
146
- expect(env.K8S_NAMESPACE).toBe('preview-eu');
147
- });
148
- it('fails when env generation is missing explicit runtime semantics', () => {
149
- expect(() => PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({ runtimeEnvironment: undefined }), createEnvironment({ runtimeEnvironment: undefined }))).toThrow(/missing explicit runtime semantics/);
150
- });
151
- it('does not emit PostgreSQL bootstrap variables when the selected engine is MongoDB', () => {
152
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
153
- database: {
154
- engine: DatabaseEngine.MONGODB,
155
- source: BackingServiceSource.SELF,
156
- },
157
- }), createEnvironment({
158
- database: {
159
- engine: DatabaseEngine.MONGODB,
160
- source: BackingServiceSource.SELF,
161
- },
162
- }));
163
- expect(env.PG_HOST).toBeUndefined();
164
- expect(env.PG_ADMIN_USER).toBeUndefined();
165
- expect(env.PG_SSL_MODE).toBeUndefined();
166
- });
167
- it('emits OTEL_* telemetry env for the apps-manager when observability is enabled (Slice 2 Phase 5b platform-host spread)', () => {
168
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({ observability: { enabled: true, endpoint: 'http://localhost:4318' } }), createEnvironment(), { serviceVersion: '9.9.9' });
169
- expect(env.OTEL_ENABLED).toBe('true');
170
- expect(env.OTEL_EXPORTER_OTLP_ENDPOINT).toBe('http://localhost:4318');
171
- // Platform service identity (PlatformApplicationType.PLATFORM_APPS_MANAGER).
172
- expect(env.OTEL_SERVICE_NAME).toBeTruthy();
173
- expect(env.OTEL_RESOURCE_ATTRIBUTES).toContain('deployment.environment=');
174
- // service.version threaded from the host's package.json version (audit A-10 platform-host parity).
175
- expect(env.OTEL_RESOURCE_ATTRIBUTES).toContain('service.version=9.9.9');
176
- // Localhost dev endpoint → no auth header (no telemetryProvider threaded).
177
- expect(env.OTEL_EXPORTER_OTLP_HEADERS).toBeUndefined();
178
- });
179
- it('omits OTEL_* for the apps-manager when observability is disabled', () => {
180
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({ observability: { enabled: false } }), createEnvironment());
181
- expect(env.OTEL_ENABLED).toBeUndefined();
182
- expect(env.OTEL_EXPORTER_OTLP_ENDPOINT).toBeUndefined();
183
- });
184
- it('emits WILDO_LLM_OBS_* from observability.llmObservability INDEPENDENTLY of the OTLP enabled gate', () => {
185
- // OTLP telemetry OFF + LLM-obs content capture ON: the two signals are
186
- // separate — LLM-obs activation is provider-selection-driven, not
187
- // OTEL_ENABLED-driven, so the projection must not sit behind the gate.
188
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
189
- observability: {
190
- enabled: false,
191
- llmObservability: {
192
- captureContent: true,
193
- sampleRate: 0.5,
194
- providerEnv: { POSTHOG_HOST: 'https://eu.i.posthog.com', POSTHOG_PROJECT_ID: '42' },
195
- },
196
- },
197
- }), createEnvironment());
198
- expect(env.OTEL_ENABLED).toBeUndefined();
199
- expect(env.WILDO_LLM_OBS_CAPTURE_CONTENT).toBe('true');
200
- expect(env.WILDO_LLM_OBS_SAMPLE_RATE).toBe('0.5');
201
- // Non-secret provider connection env authored in checked-in config.
202
- expect(env.POSTHOG_HOST).toBe('https://eu.i.posthog.com');
203
- expect(env.POSTHOG_PROJECT_ID).toBe('42');
204
- });
205
- it('omits WILDO_LLM_OBS_* when llmObservability is absent or captureContent is false', () => {
206
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
207
- observability: { enabled: true, llmObservability: { captureContent: false } },
208
- }), createEnvironment());
209
- expect(env.WILDO_LLM_OBS_CAPTURE_CONTENT).toBeUndefined();
210
- expect(env.WILDO_LLM_OBS_SAMPLE_RATE).toBeUndefined();
211
- });
212
- it('emits service.version for a bootstrap platform service (module-registry) when observability is enabled', () => {
213
- const env = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.MODULE_REGISTRY, credentials, addresses, createConfig({ observability: { enabled: true, endpoint: 'http://localhost:4318' } }), createEnvironment(), '0.1.0');
214
- expect(env.OTEL_ENABLED).toBe('true');
215
- expect(env.OTEL_RESOURCE_ATTRIBUTES).toContain('service.version=0.1.0');
216
- });
217
- it('can omit bootstrap admin credentials from steady-state apps-manager env', () => {
218
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment(), {
219
- includeBootstrapAdminCredentials: false,
220
- });
221
- expect(env.ADMIN_EMAIL).toBeUndefined();
222
- expect(env.ADMIN_PASSWORD).toBeUndefined();
223
- expect(env.ADMIN_FIRST_NAME).toBeUndefined();
224
- expect(env.ADMIN_LAST_NAME).toBeUndefined();
225
- });
226
- it('fails closed when external storage wiring is authored', () => {
227
- expect(() => PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
228
- externalEndpoints: {
229
- storage: {
230
- endpoint: 's3.example.com',
231
- port: 443,
232
- },
233
- },
234
- }), createEnvironment())).toThrow(/External storage wiring is not supported yet/);
235
- });
236
- it('accepts managed MinIO storage provider metadata in externalServices', () => {
237
- expect(() => PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
238
- type: WildoLocationType.LOCAL,
239
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
240
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
241
- externalServices: {
242
- mongodb: { provider: 'self-managed' },
243
- valkey: { provider: 'valkey-self' },
244
- storage: { provider: 'minio' },
245
- rabbitmq: { provider: 'self-managed' },
246
- },
247
- }), createEnvironment({
248
- name: 'local',
249
- locationType: WildoLocationType.LOCAL,
250
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
251
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
252
- }))).not.toThrow();
253
- });
254
- /**
255
- * #1910: a backend is handed the scanner at the address it reaches it on, and only when the environment declares
256
- * one. Without CLAMAV_HOST the engine scans nothing — every required scan ends `scan_failed` — which is what a
257
- * `wildo local dev` backend ran with, beside a healthy `clamav` container, until this was emitted.
258
- */
259
- it('gives an application backend the virus scanner the environment declares, and none when it declares none', () => {
260
- const build = (backingServices) => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({ backingServices }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
261
- const declared = build({ [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF } });
262
- expect(declared[ApplicationBackendDataEnvKeys.CLAMAV_HOST]).toBe('clamav');
263
- expect(declared[ApplicationBackendDataEnvKeys.CLAMAV_PORT]).toBe('3310');
264
- const undeclared = build(undefined);
265
- expect(undeclared[ApplicationBackendDataEnvKeys.CLAMAV_HOST]).toBeUndefined();
266
- expect(undeclared[ApplicationBackendDataEnvKeys.CLAMAV_PORT]).toBeUndefined();
267
- });
268
- it('emits Mongo direct-connection runtime material for local application backends', () => {
269
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
270
- database: {
271
- engine: DatabaseEngine.MONGODB,
272
- source: BackingServiceSource.SELF,
273
- },
274
- }), 'local', declaredProviderScope([]), {
275
- deploymentLocationType: WildoLocationType.LOCAL,
276
- appDatabaseName: 'wonder_todos',
277
- mongodbDirectConnection: true,
278
- });
279
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DIRECT_CONNECTION]).toBe('true');
280
- });
281
- it('emits deployment location as an explicit topology authority instead of inferring it from application behavior mode', () => {
282
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'preview-eu', declaredProviderScope([]), {
283
- applicationEnv: RuntimeEnvironment.DEVELOPMENT,
284
- deploymentLocationType: WildoLocationType.REMOTE,
285
- });
286
- expect(env[ApplicationBackendBootstrapEnvKeys.APPLICATION_ENV]).toBe(RuntimeEnvironment.DEVELOPMENT);
287
- expect(env[ApplicationBackendBootstrapEnvKeys.DEPLOYMENT_LOCATION_TYPE]).toBe(WildoLocationType.REMOTE);
288
- expect(env[ApplicationBackendRuntimeEnvKeys.APPLICATION_RUNTIME_SIGNALS_HOME]).toBeUndefined();
289
- });
290
- it.each([
291
- [WildoLocationType.REMOTE, 'preview-eu', '1'],
292
- [WildoLocationType.LOCAL, 'local', undefined],
293
- ])('declares the reverse proxies in front of a %s backend: one Traefik remotely, none locally (#1788)', (location, environmentId, expected) => {
294
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), environmentId, declaredProviderScope([]), { deploymentLocationType: location });
295
- expect(env[HttpServerEnvKey.HTTP_TRUSTED_PROXY_HOPS]).toBe(expected);
296
- });
297
- it('gives a MINION no proxy hop count, though it delegates to the backend builder that emits one (#1788)', () => {
298
- const env = PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'lead-enricher', credentials, addresses, createConfig(), 'preview-eu', declaredProviderScope([]), { resourceAccess: {} }, { deploymentLocationType: WildoLocationType.REMOTE });
299
- expect(env[HttpServerEnvKey.HTTP_TRUSTED_PROXY_HOPS]).toBeUndefined();
300
- });
301
- it('emits an explicit app-owned runtime-signals home only when supplied by local deployment composition', () => {
302
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), {
303
- deploymentLocationType: WildoLocationType.LOCAL,
304
- runtimeSignalsHome: '/srv/wonder-todos/.wildo-saas/runtime-signals',
305
- });
306
- expect(env[ApplicationBackendRuntimeEnvKeys.APPLICATION_RUNTIME_SIGNALS_HOME]).toBe('/srv/wonder-todos/.wildo-saas/runtime-signals');
307
- });
308
- it('rejects a local filesystem authority under remote deployment topology', () => {
309
- expect(() => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'production', declaredProviderScope([]), {
310
- deploymentLocationType: WildoLocationType.REMOTE,
311
- runtimeSignalsHome: '/srv/wonder-todos/.wildo-saas/runtime-signals',
312
- })).toThrow('only be emitted for explicit local deployment topology');
313
- });
314
- it('emits storage env vars for application backends', () => {
315
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
316
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_PROVIDER]).toBe('minio');
317
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_ENDPOINT]).toBe('minio');
318
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_PORT]).toBe('9000');
319
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_USE_SSL]).toBe('false');
320
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET]).toBe('bucket');
321
- // The credential half is deliberately ABSENT. `STORAGE_ACCESS_KEY` /
322
- // `STORAGE_SECRET_KEY` are the object store's ROOT credential — the same pair
323
- // MinIO's own container runs as — and emitting them here handed root to every
324
- // application backend, minion and worker. Applications now fetch short-lived,
325
- // prefix-confined session credentials from apps-manager at runtime.
326
- // See `.claude/plans/object-storage-root-credential-distribution.md`.
327
- // Asserted by raw key NAME, not through the enum: those members have since
328
- // been removed from `ApplicationBackendDataEnvKey` entirely, so an
329
- // enum-based assertion would no longer compile — and the raw name is the
330
- // stronger check anyway, proving absence from the emitted env regardless of
331
- // what the contract type happens to declare.
332
- expect(env['STORAGE_ACCESS_KEY']).toBeUndefined();
333
- expect(env['STORAGE_SECRET_KEY']).toBeUndefined();
334
- });
335
- it('emits WILDO_WORKER_<NAME>_URL for each declared worker dispatch URL (G-8 / MW4)', () => {
336
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'staging', declaredProviderScope([]), {
337
- deploymentLocationType: WildoLocationType.REMOTE,
338
- workerUrls: {
339
- // camelCase bucket key; the HOST is the normalized DNS name the CLI
340
- // computes via `buildWorkerInternalUrl` (matches the deployed Service).
341
- myNodeWorker: 'http://wonder-todos-worker-my-node-worker:8081',
342
- // kebab-case bucket key — both normalize to the same UPPER_SNAKE env key
343
- 'my-rust-worker': 'http://wonder-todos-worker-my-rust-worker:8080',
344
- },
345
- });
346
- // The env-key normalization (camelCase + kebab → UPPER_SNAKE) is shared with
347
- // the backend read-side (`wildoWorkerUrlEnvKey`), so emit and read cannot drift.
348
- expect(env.WILDO_WORKER_MY_NODE_WORKER_URL).toBe('http://wonder-todos-worker-my-node-worker:8081');
349
- expect(env.WILDO_WORKER_MY_RUST_WORKER_URL).toBe('http://wonder-todos-worker-my-rust-worker:8080');
350
- });
351
- it('omits worker dispatch URLs when none are provided (local / no declared workers)', () => {
352
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
353
- expect(Object.keys(env).some((key) => key.startsWith('WILDO_WORKER_'))).toBe(false);
354
- });
355
- it('builds a minimal env-driven contract for application workers', () => {
356
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentials, createConfig(), 'local', declaredProviderScope([]), {
357
- runtimeEndpoints: {
358
- 'wonder-todos-api': {
359
- publicUrl: 'http://localhost:4241',
360
- internalUrl: 'http://localhost:4241',
361
- },
362
- },
363
- });
364
- expect(env[ApplicationWorkerBootstrapEnvKeys.APPLICATION_ID]).toBe('app-123');
365
- // Worker identity — the canonical `APP_OWNED_SERVICE_*` pair. `..._NAME` is the
366
- // `workers` bucket key (the apps-manager worker-bootstrap path segment); `..._KIND`
367
- // pins it as a worker. `SERVICE_NAME` stays the separate process/observability name.
368
- expect(env[ApplicationWorkerBootstrapEnvKeys.APP_OWNED_SERVICE_KIND]).toBe('worker');
369
- expect(env[ApplicationWorkerBootstrapEnvKeys.APP_OWNED_SERVICE_NAME]).toBe('rustWorker');
370
- expect(env[ApplicationWorkerBootstrapEnvKeys.SERVICE_NAME]).toBe('my-rust-worker');
371
- expect(env[ApplicationWorkerBootstrapEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET]).toBe('platform-primary-secret');
372
- expect(env[ApplicationWorkerRuntimeEnvKeys.APPLICATION_RUNTIME_ENDPOINTS]).toContain('wonder-todos-api');
373
- expect(env.MONGODB_HOST).toBeUndefined();
374
- expect(env.RABBITMQ_HOST).toBeUndefined();
375
- expect(env.STORAGE_ACCESS_KEY).toBeUndefined();
376
- });
377
- it('projects the authored HTTP surface into the worker env (WORKER_HTTP_PORT + probe paths)', () => {
378
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentials, createConfig(), 'local', declaredProviderScope([]), {
379
- http: { port: 8081, healthPath: '/healthz', readyPath: '/readyz' },
380
- });
381
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_HTTP_PORT]).toBe('8081');
382
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_HEALTH_PATH]).toBe('/healthz');
383
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_READY_PATH]).toBe('/readyz');
384
- // metricsPath is optional (Prometheus opt-in) — omitted when not authored.
385
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_METRICS_PATH]).toBeUndefined();
386
- });
387
- it('emits WORKER_METRICS_PATH only when the worker opts into a scrape surface', () => {
388
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentials, createConfig(), 'local', declaredProviderScope([]), {
389
- http: { port: 9090, healthPath: '/health', readyPath: '/ready', metricsPath: '/metrics' },
390
- });
391
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_HTTP_PORT]).toBe('9090');
392
- expect(env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_METRICS_PATH]).toBe('/metrics');
393
- });
394
- /*
395
- * Issue #94. The companion was a deliberate N/A for the platform PostgreSQL env — correctly,
396
- * while its startup could not honor those keys. Now that it derives its adapter from
397
- * DATABASE_DEFAULT_ADAPTER and pre-connects PG_CONNECT_URL, withholding them is what would
398
- * lie: the companion would read platform rows from a Mongo database the platform stopped
399
- * using and report every application as unregistered.
400
- */
401
- it('emits the platform PostgreSQL env into the companion on a PostgreSQL-engined platform', () => {
402
- const env = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentials, addresses, createConfig({
403
- type: WildoLocationType.LOCAL,
404
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
405
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
406
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
407
- }), createEnvironment({
408
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
409
- backingServices: {
410
- [BackingServiceKind.MONGODB]: { source: BackingServiceSource.SELF },
411
- },
412
- }), { host: '0.0.0.0', port: 4341, runtimeEndpoints: {} });
413
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toContain('/wildo_platform');
414
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBe('postgresql');
415
- });
416
- it('writes NEITHER PostgreSQL key into the companion env on a MongoDB-engined platform', () => {
417
- // The no-op half: existing companion `.env` material stays byte-identical, and an adapter
418
- // selection is never emitted for a platform that did not declare one.
419
- const env = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentials, addresses, createConfig({
420
- type: WildoLocationType.LOCAL,
421
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
422
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
423
- }), createEnvironment({
424
- name: 'local',
425
- locationType: WildoLocationType.LOCAL,
426
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
427
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
428
- }), { host: '0.0.0.0', port: 4341, runtimeEndpoints: {} });
429
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBeUndefined();
430
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBeUndefined();
431
- });
432
- it('emits platform-focused database and service wiring for companion api env', () => {
433
- const env = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentials, addresses, createConfig({
434
- type: WildoLocationType.LOCAL,
435
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
436
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
437
- }), createEnvironment({
438
- name: 'local',
439
- locationType: WildoLocationType.LOCAL,
440
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
441
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
442
- }), {
443
- host: '0.0.0.0',
444
- port: 4341,
445
- runtimeEndpoints: {
446
- 'wonder-todos-api': {
447
- publicUrl: 'http://localhost:4241',
448
- internalUrl: 'http://localhost:4241',
449
- },
450
- },
451
- });
452
- expect(env[PlatformProcessEnvKeys.SERVICE_NAME]).toBe('wonder-todos-dev-companion');
453
- expect(env[PlatformProcessEnvKeys.HOST]).toBe('0.0.0.0');
454
- expect(env[PlatformProcessEnvKeys.PORT]).toBe('4341');
455
- expect(env[PlatformInfrastructureEnvKeys.MONGO_CONNECT_URL]).toContain('/wildo_platform');
456
- expect(env[PlatformInfrastructureEnvKeys.REDIS_ADMIN_PASSWORD]).toBe('valkey-password');
457
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_ADMIN_PASSWORD]).toBe('rabbit-password');
458
- expect(env[PlatformSecurityEnvKeys.PLATFORM_APPS_MANAGER_PUBLIC_KEY]).toBe('public-key');
459
- expect(env.APPLICATION_RUNTIME_ENDPOINTS).toContain('platform_crontabs_batches_manager');
460
- expect(env.APPLICATION_RUNTIME_ENDPOINTS).toContain('wonder-todos-dev-companion');
461
- /**
462
- * The companion also needs the APPLICATION's PostgreSQL ADDRESS, and the reason is not symmetry.
463
- * It loads the application's resource registry, which REFUSES to initialize when a resource
464
- * declares `persistenceAdapter: 'postgresql'` while `database.postgresql` is absent — and the
465
- * app-configuration loader builds that branch only when a HOST arrives. Without these keys the
466
- * companion crash-looped on "PostgreSQL is not enabled in database config" while the backend and
467
- * the minions, which DO receive them, booted the same registry fine (measured 2026-08-27).
468
- *
469
- * Address only, under the APPLICATION-backend keys the loader reads. Credentials travel through
470
- * `secrets.database.postgresql`; selection stays `DATABASE_DEFAULT_ADAPTER`.
471
- */
472
- expect(env[ApplicationBackendDataEnvKeys.POSTGRESQL_HOST]).toBe('postgresql');
473
- expect(env[ApplicationBackendDataEnvKeys.POSTGRESQL_PORT]).toBe('5432');
474
- });
475
- it('gives the companion storage TOPOLOGY but omits the object storage ROOT credential', () => {
476
- // The companion stays platform-tier for Mongo/Redis/RabbitMQ — the assertions in
477
- // the test above pin that, and the blanket platform-credential guard is
478
- // deliberately NOT applied to this builder for that reason. Storage is the one
479
- // axis where it is app-tier: it runs the same `WildoManagedStorageProvider` as
480
- // backend-api and fetches short-lived, prefix-confined STS sessions using the
481
- // bootstrap contract. The root pair it used to receive was NEVER READ — its only
482
- // effect was to park the object store's root credential in a `.env` on a
483
- // developer's disk for the lifetime of the dev stack.
484
- //
485
- // Topology is asserted alongside the absence deliberately: a builder that
486
- // dropped storage wiring wholesale would also satisfy a pure absence check, and
487
- // that would break the companion's file operations while looking like a fix.
488
- const env = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentials, addresses, createConfig(), createEnvironment());
489
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_ENDPOINT]).toBe('minio');
490
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe('bucket');
491
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_ACCESS_KEY]).toBeUndefined();
492
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_SECRET_KEY]).toBeUndefined();
493
- // Value-level, not key-level: a future builder that emitted the same secret
494
- // under a different key would defeat the two assertions above.
495
- expect(Object.values(env)).not.toContain(credentials.storage.secretKey);
496
- });
497
- it.each([PlatformWildoServices.CRONTABS_BATCHES_MANAGER, PlatformWildoServices.MODULE_REGISTRY])('emits the storage ADDRESS for bootstrap service %s, and never the root credential (#1761)', (service) => {
498
- const env = PlatformEnvVarsBuilder.buildBootstrapEnv(service, credentials, addresses, createConfig(), createEnvironment());
499
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_PROVIDER]).toBe('minio');
500
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_ENDPOINT]).toBe('minio');
501
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_PORT]).toBe('9000');
502
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_USE_SSL]).toBe('false');
503
- // The PLATFORM bucket (#1112), never the application config's `infrastructure.storage.bucket` ('bucket').
504
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe(STORAGE_DEFAULTS.BUCKET);
505
- // Both services resolve storage through apps-manager's STS, with no env fallback; the root pair was
506
- // emitted and never read. Asserted by VALUE too, so the secret cannot survive under another key.
507
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_ACCESS_KEY]).toBeUndefined();
508
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_SECRET_KEY]).toBeUndefined();
509
- expect(Object.values(env)).not.toContain(credentials.storage.secretKey);
510
- });
511
- it('emits Redis and RabbitMQ topology for the crontabs bootstrap service', () => {
512
- const env = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.CRONTABS_BATCHES_MANAGER, credentials, addresses, createConfig(), createEnvironment());
513
- expect(env[PlatformInfrastructureEnvKeys.REDIS_HOST]).toBe('valkey');
514
- expect(env[PlatformInfrastructureEnvKeys.REDIS_PORT]).toBe('6379');
515
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_HOST]).toBe('rabbitmq');
516
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_PORT]).toBe('5672');
517
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_MANAGEMENT_PORT]).toBe('15672');
518
- });
519
- it('emits MONGO_CONNECT_URL for the module-registry bootstrap service ONLY (crontabs bridges platform config)', () => {
520
- const registryEnv = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.MODULE_REGISTRY, credentials, addresses, createConfig(), createEnvironment());
521
- const crontabsEnv = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.CRONTABS_BATCHES_MANAGER, credentials, addresses, createConfig(), createEnvironment());
522
- // module-registry rides the framework's `StartApplicationBackendService`, which opens the
523
- // PLATFORM_MANAGEMENT connection from `MONGO_CONNECT_URL` → it MUST be provisioned.
524
- expect(registryEnv[PlatformInfrastructureEnvKeys.MONGO_CONNECT_URL]).toContain('/wildo_platform');
525
- expect(registryEnv[PlatformInfrastructureEnvKeys.MONGO_PLATFORM_URL]).toContain('/wildo_platform');
526
- // crontabs uses a custom two-phase startup that bridges platform config for its Mongo access and
527
- // never reads `MONGO_CONNECT_URL`, so the emission is scoped OUT of it.
528
- expect(crontabsEnv[PlatformInfrastructureEnvKeys.MONGO_CONNECT_URL]).toBeUndefined();
529
- });
530
- // ==========================================================================
531
- // Authored backingServices propagation (Slice 3.2 — F-23)
532
- // ==========================================================================
533
- describe('backingServices overrides', () => {
534
- it('emits REDIS_DATABASE for apps-manager when authored, and never the application\'s RABBITMQ_VHOST (#1112)', () => {
535
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
536
- backingServices: {
537
- [BackingServiceKind.REDIS]: {
538
- source: BackingServiceSource.SELF,
539
- database: 3,
540
- },
541
- [BackingServiceKind.RABBITMQ]: {
542
- source: BackingServiceSource.SELF,
543
- vhost: '/wonder',
544
- },
545
- },
546
- }), createEnvironment());
547
- expect(env[PlatformInfrastructureEnvKeys.REDIS_DATABASE]).toBe('3');
548
- // An application's vhost is not the platform's: it travels with that application's registration (#1107).
549
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_VHOST]).toBeUndefined();
550
- });
551
- it('omits REDIS_DATABASE / RABBITMQ_VHOST when not authored', () => {
552
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment());
553
- expect(env[PlatformInfrastructureEnvKeys.REDIS_DATABASE]).toBeUndefined();
554
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_VHOST]).toBeUndefined();
555
- });
556
- it('uses authored mongodb.database as application MONGODB_DATABASE when no override is supplied', () => {
557
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
558
- backingServices: {
559
- [BackingServiceKind.MONGODB]: {
560
- source: BackingServiceSource.SELF,
561
- database: 'wonder-todos-db',
562
- },
563
- [BackingServiceKind.REDIS]: {
564
- source: BackingServiceSource.SELF,
565
- database: 5,
566
- },
567
- [BackingServiceKind.RABBITMQ]: {
568
- source: BackingServiceSource.SELF,
569
- vhost: '/wonder',
570
- },
571
- },
572
- }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
573
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE]).toBe('wonder-todos-db');
574
- expect(env[ApplicationBackendDataEnvKeys.REDIS_DATABASE]).toBe('5');
575
- expect(env[ApplicationBackendDataEnvKeys.RABBITMQ_VHOST]).toBe('/wonder');
576
- });
577
- it('lets explicit appDatabaseName override the authored mongodb.database', () => {
578
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
579
- backingServices: {
580
- [BackingServiceKind.MONGODB]: {
581
- source: BackingServiceSource.SELF,
582
- database: 'wonder-todos-db',
583
- },
584
- },
585
- }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'explicit_app' });
586
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE]).toBe('explicit_app');
587
- });
588
- // ========================================================================
589
- // Slice 3.6 — `wildo.saas.config.dataServices` projection (F-43)
590
- //
591
- // These tests pin the contract for the three `dataServices` fields wired
592
- // end-to-end in Slice 3.6:
593
- // - `dataServices.redis.keyPrefix` → REDIS_KEY_PREFIX env (REPLACE
594
- // semantics for the legacy username-derived prefix in RedisService)
595
- // - `dataServices.s3.bucketPrefix` → STORAGE_BUCKET_PREFIX env
596
- // (PREPEND semantics for object keys in WildoManagedStorageProvider)
597
- // - `dataServices.rabbitmq.vhost` → DELETED (vhost is an
598
- // infra/topology concern; only the infra-side seam emits the env)
599
- //
600
- // The fields are caller-supplied options (the env builder does not
601
- // import `WildoSaasConfig` — they are threaded by `app-bootstrap.service`
602
- // from `NormalizedSaasRuntimeDescriptor`).
603
- // ========================================================================
604
- it('emits REDIS_KEY_PREFIX when dataServices.redis.keyPrefix is authored', () => {
605
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, redisKeyPrefix: 'wonder-todos:' });
606
- expect(env[ApplicationBackendDataEnvKeys.REDIS_KEY_PREFIX]).toBe('wonder-todos:');
607
- });
608
- it('omits REDIS_KEY_PREFIX when dataServices.redis.keyPrefix is unset', () => {
609
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
610
- expect(env[ApplicationBackendDataEnvKeys.REDIS_KEY_PREFIX]).toBeUndefined();
611
- });
612
- it('emits STORAGE_BUCKET_PREFIX when dataServices.s3.bucketPrefix is authored', () => {
613
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, storageBucketPrefix: 'wonder-todos' });
614
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET_PREFIX]).toBe('wonder-todos');
615
- });
616
- it('omits STORAGE_BUCKET_PREFIX when dataServices.s3.bucketPrefix is unset', () => {
617
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
618
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET_PREFIX]).toBeUndefined();
619
- });
620
- it('emits both REDIS_KEY_PREFIX and STORAGE_BUCKET_PREFIX side-by-side without conflict', () => {
621
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), {
622
- deploymentLocationType: WildoLocationType.LOCAL,
623
- redisKeyPrefix: 'wonder-todos:',
624
- storageBucketPrefix: 'wonder-todos',
625
- appDatabaseName: 'wonder-todos',
626
- });
627
- expect(env[ApplicationBackendDataEnvKeys.REDIS_KEY_PREFIX]).toBe('wonder-todos:');
628
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET_PREFIX]).toBe('wonder-todos');
629
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE]).toBe('wonder-todos');
630
- });
631
- it('emits REDIS_KEY_PREFIX even when no valkey infra address is wired (dataServices is independent of infra)', () => {
632
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, { ...addresses, infra: { ...addresses.infra, valkey: null } }, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, redisKeyPrefix: 'wonder-todos:' });
633
- expect(env[ApplicationBackendDataEnvKeys.REDIS_HOST]).toBeUndefined();
634
- expect(env[ApplicationBackendDataEnvKeys.REDIS_KEY_PREFIX]).toBe('wonder-todos:');
635
- });
636
- it('emits STORAGE_BUCKET_PREFIX even when no minio infra address is wired (dataServices is independent of infra)', () => {
637
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, { ...addresses, infra: { ...addresses.infra, minio: null } }, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, storageBucketPrefix: 'wonder-todos' });
638
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_PROVIDER]).toBeUndefined();
639
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET_PREFIX]).toBe('wonder-todos');
640
- });
641
- it('emits REDIS_DATABASE for the crontabs bootstrap service when authored, and no RABBITMQ_VHOST (#1112)', () => {
642
- const env = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.CRONTABS_BATCHES_MANAGER, credentials, addresses, createConfig({
643
- backingServices: {
644
- [BackingServiceKind.REDIS]: {
645
- source: BackingServiceSource.SELF,
646
- database: 7,
647
- },
648
- [BackingServiceKind.RABBITMQ]: {
649
- source: BackingServiceSource.SELF,
650
- vhost: '/crontabs',
651
- },
652
- },
653
- }), createEnvironment());
654
- expect(env[PlatformInfrastructureEnvKeys.REDIS_DATABASE]).toBe('7');
655
- // crontabs-manager never read it: its connection's vhost comes from its platform secret.
656
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_VHOST]).toBeUndefined();
657
- });
658
- it('renders the SAME platform bucket for apps-manager and module-registry, whatever the application authors (#1112)', () => {
659
- const config = createConfig({ backingServices: { [BackingServiceKind.S3]: { source: BackingServiceSource.SELF, bucket: 'some-app-local' } } });
660
- const appsManager = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, config, createEnvironment());
661
- const registry = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.MODULE_REGISTRY, credentials, addresses, config, createEnvironment());
662
- const infra = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, createEnvironment());
663
- expect(appsManager[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe(STORAGE_DEFAULTS.BUCKET);
664
- expect(registry[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe(STORAGE_DEFAULTS.BUCKET);
665
- expect(infra.STORAGE_BUCKET).toBe(STORAGE_DEFAULTS.BUCKET);
666
- });
667
- it('renders an authored remote platformStorage bucket for every platform service (#1112)', () => {
668
- const config = createConfig({ platformStorage: { bucket: 'acme-wildo-platform-prod' } });
669
- const appsManager = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, config, createEnvironment());
670
- const registry = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.MODULE_REGISTRY, credentials, addresses, config, createEnvironment());
671
- expect(appsManager[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe('acme-wildo-platform-prod');
672
- expect(registry[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe('acme-wildo-platform-prod');
673
- });
674
- });
675
- // ==========================================================================
676
- // Wonder-todos infra snapshot — end-to-end propagation (Slice 3.2 — F-23)
677
- //
678
- // This test pins the contract by mirroring the authored fields of
679
- // `examples/wonder-todos/infrastructure/local/wildo.infra.local.config.ts`
680
- // and asserting they all land in the runtime env vars produced for the
681
- // application backend AND the platform-init / apps-manager surfaces.
682
- //
683
- // We reproduce the projection that `sync.command.buildConfigJsonFromInfraEnvConfig`
684
- // performs (the function is module-private so we cannot import it directly):
685
- // - `infrastructure.storage.bucket` <= `backingServices.s3.bucket`
686
- // - `backingServices` is persisted as-is into the snapshot.
687
- // ==========================================================================
688
- describe('wonder-todos local infra snapshot (end-to-end)', () => {
689
- const wonderTodosBackingServices = {
690
- [BackingServiceKind.MONGODB]: {
691
- source: BackingServiceSource.SELF,
692
- database: 'wonder-todos-db',
693
- host: 'localhost',
694
- port: 27017,
695
- },
696
- [BackingServiceKind.REDIS]: {
697
- source: BackingServiceSource.SELF,
698
- host: 'localhost',
699
- port: 6379,
700
- database: 0,
701
- },
702
- [BackingServiceKind.RABBITMQ]: {
703
- source: BackingServiceSource.SELF,
704
- host: 'localhost',
705
- port: 5672,
706
- vhost: 'wonder-todos',
707
- },
708
- [BackingServiceKind.S3]: {
709
- source: BackingServiceSource.SELF,
710
- provider: 'minio',
711
- endpoint: 'http://localhost:9000',
712
- bucket: 'wonder-todos-local',
713
- },
714
- [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },
715
- };
716
- function makeWonderTodosConfig(overrides = {}) {
717
- return createConfig({
718
- type: WildoLocationType.LOCAL,
719
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
720
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
721
- infrastructure: {
722
- storage: {
723
- provider: 'minio',
724
- useSsl: false,
725
- bucket: 'wonder-todos-local',
726
- },
727
- postgresql: {
728
- database: 'wonder-todos',
729
- sslMode: 'disable',
730
- },
731
- },
732
- backingServices: wonderTodosBackingServices,
733
- kubernetes: undefined,
734
- remoteProvider: undefined,
735
- ...overrides,
736
- });
737
- }
738
- function makeWonderTodosEnv() {
739
- return createEnvironment({
740
- name: 'local',
741
- locationType: WildoLocationType.LOCAL,
742
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
743
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
744
- kubernetes: undefined,
745
- remoteProvider: undefined,
746
- backingServices: wonderTodosBackingServices,
747
- });
748
- }
749
- it('propagates every authored backingServices field to the application backend env', () => {
750
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, makeWonderTodosConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
751
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE]).toBe('wonder-todos-db');
752
- expect(env[ApplicationBackendDataEnvKeys.REDIS_DATABASE]).toBe('0');
753
- expect(env[ApplicationBackendDataEnvKeys.RABBITMQ_VHOST]).toBe('wonder-todos');
754
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET]).toBe('wonder-todos-local');
755
- expect(env[ApplicationBackendDataEnvKeys.STORAGE_PROVIDER]).toBe('minio');
756
- });
757
- it('propagates authored redis-db to the apps-manager env, but not the application\'s vhost or bucket (#1112)', () => {
758
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, makeWonderTodosConfig(), makeWonderTodosEnv());
759
- expect(env[PlatformInfrastructureEnvKeys.RABBITMQ_VHOST]).toBeUndefined();
760
- expect(env[PlatformInfrastructureEnvKeys.REDIS_DATABASE]).toBe('0');
761
- expect(env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET]).toBe(STORAGE_DEFAULTS.BUCKET);
762
- });
763
- it('propagates authored redis-db to the crontabs bootstrap env, and no vhost (#1112)', () => {
764
- const crontabsEnv = PlatformEnvVarsBuilder.buildBootstrapEnv(PlatformWildoServices.CRONTABS_BATCHES_MANAGER, credentials, addresses, makeWonderTodosConfig(), makeWonderTodosEnv());
765
- expect(crontabsEnv[PlatformInfrastructureEnvKeys.RABBITMQ_VHOST]).toBeUndefined();
766
- expect(crontabsEnv[PlatformInfrastructureEnvKeys.REDIS_DATABASE]).toBe('0');
767
- });
768
- });
769
- /**
770
- * Slice 3.5 — `infra.logging.*` projection.
771
- *
772
- * Pins the middle of the data flow:
773
- *
774
- * `WildoInfraEnvConfig.logging` → `PlatformEnvConfigJson.logging`
775
- * (persisted) → `emitLoggingEnv` (HERE) → `LOG_LEVEL` /
776
- * `LOG_FORMATTED_CONSOLE_ERRORS` env vars → `LoggerService`.
777
- *
778
- * The schema-side round-trip is pinned by
779
- * `define-infra-env-config.unimplemented.test.ts`; the consumer-side
780
- * read is pinned by `logger.service.env-wiring.test.ts`. This block
781
- * pins the projection step that is invisible to those two tests.
782
- */
783
- describe('Slice 3.5 — logging env projection', () => {
784
- it('emits LOG_LEVEL and LOG_FORMATTED_CONSOLE_ERRORS for apps-manager when authored', () => {
785
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
786
- logging: {
787
- level: 'warn',
788
- formattedConsoleErrors: true,
789
- },
790
- }), createEnvironment());
791
- expect(env.LOG_LEVEL).toBe('warn');
792
- expect(env.LOG_FORMATTED_CONSOLE_ERRORS).toBe('true');
793
- });
794
- it('omits LOG_LEVEL / LOG_FORMATTED_CONSOLE_ERRORS when logging block is absent (no false defaults)', () => {
795
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment());
796
- expect(env.LOG_LEVEL).toBeUndefined();
797
- expect(env.LOG_FORMATTED_CONSOLE_ERRORS).toBeUndefined();
798
- });
799
- it('also emits the logging vars on the application-backend surface', () => {
800
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
801
- logging: {
802
- level: 'debug',
803
- formattedConsoleErrors: false,
804
- },
805
- }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
806
- expect(env.LOG_LEVEL).toBe('debug');
807
- expect(env.LOG_FORMATTED_CONSOLE_ERRORS).toBe('false');
808
- });
809
- });
810
- /**
811
- * Per-env provider selection override — `infra.providerSelection` →
812
- * `PlatformEnvConfigJson.providerSelection` → `emitProviderSelectionEnv`
813
- * (serialized JSON) → `WILDO_PROVIDER_SELECTION_OVERRIDES`, read by
814
- * `ExternalProvidersRegistryBackendService` to override the app-wide
815
- * `wildo.saas.config.ts` selection per environment.
816
- */
817
- /**
818
- * Per-env documentation-site origins — `infra.documentationSite` →
819
- * `PlatformEnvConfigJson.documentationSite` → `emitDocumentationSiteEnv` → the three
820
- * `WILDO_DOCS_*` vars, read by the application's `docusaurus.config.ts`.
821
- *
822
- * Emitted as three scalars rather than one serialized payload (the `providerSelection`
823
- * shape): the docs config reads each directly, and a JSON blob would force it to parse a
824
- * payload to recover three strings.
825
- */
826
- describe('per-env documentation-site origins (WILDO_DOCS_*) projection', () => {
827
- it('emits each authored origin under its own var', () => {
828
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
829
- documentationSite: {
830
- apiBaseUrl: 'https://api.example.com',
831
- appUrl: 'https://app.example.com',
832
- frontendServiceName: 'wonder-todos-docs',
833
- },
834
- }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
835
- expect(env.WILDO_DOCS_API_BASE_URL).toBe('https://api.example.com');
836
- expect(env.WILDO_DOCS_APP_URL).toBe('https://app.example.com');
837
- expect(env.WILDO_DOCS_FRONTEND_SERVICE_NAME).toBe('wonder-todos-docs');
838
- });
839
- it('omits every var when documentationSite is absent (no false default)', () => {
840
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
841
- expect(env.WILDO_DOCS_API_BASE_URL).toBeUndefined();
842
- expect(env.WILDO_DOCS_APP_URL).toBeUndefined();
843
- expect(env.WILDO_DOCS_FRONTEND_SERVICE_NAME).toBeUndefined();
844
- });
845
- it('emits ONLY the authored members, leaving the rest to the docs config defaults', () => {
846
- // A partially-authored block is the realistic case: an environment may pin the API
847
- // origin while the others stay local. Emitting an empty string for the unauthored
848
- // ones would be worse than omitting them — the docs config treats PRESENCE as an
849
- // explicit binding and would compile an empty origin into the bundle.
850
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({ documentationSite: { apiBaseUrl: 'https://api.example.com' } }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
851
- expect(env.WILDO_DOCS_API_BASE_URL).toBe('https://api.example.com');
852
- expect(env.WILDO_DOCS_APP_URL).toBeUndefined();
853
- expect(env.WILDO_DOCS_FRONTEND_SERVICE_NAME).toBeUndefined();
854
- });
855
- });
856
- describe('per-env provider selection override (WILDO_PROVIDER_SELECTION_OVERRIDES) projection', () => {
857
- it('emits the serialized override on the application-backend surface when authored', () => {
858
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({
859
- providerSelection: {
860
- [EngineCapability.EMAIL_TRANSACTIONAL]: { primary: 'email-preview' },
861
- },
862
- }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
863
- expect(env.WILDO_PROVIDER_SELECTION_OVERRIDES).toBeDefined();
864
- expect(JSON.parse(env.WILDO_PROVIDER_SELECTION_OVERRIDES)).toEqual({
865
- [EngineCapability.EMAIL_TRANSACTIONAL]: { primary: 'email-preview' },
866
- });
867
- });
868
- it('omits the var when providerSelection is absent (no false default)', () => {
869
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
870
- expect(env.WILDO_PROVIDER_SELECTION_OVERRIDES).toBeUndefined();
871
- });
872
- it('omits the var when providerSelection is an empty object', () => {
873
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({ providerSelection: {} }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
874
- expect(env.WILDO_PROVIDER_SELECTION_OVERRIDES).toBeUndefined();
875
- });
876
- });
877
- /**
878
- * Slice 2 Phase 5 — `infra.observability.*` → `OTEL_*` projection.
879
- *
880
- * `WildoInfraEnvConfig.observability` → `PlatformEnvConfigJson.observability`
881
- * → `emitObservabilityEnv` (HERE) → `OTEL_ENABLED` / `OTEL_EXPORTER_OTLP_ENDPOINT`
882
- * / `OTEL_SERVICE_NAME` / `OTEL_RESOURCE_ATTRIBUTES`, read by the `otel-preload`.
883
- *
884
- * The auth-header cases (Phase 5b) exercise the provider-agnostic resolver: the
885
- * provisioned telemetry token in `providerEnv` identifies the OBSERVABILITY_TELEMETRY
886
- * provider (betterstack, registered with `otlpAuth: Bearer {token}`) and is formatted
887
- * into `OTEL_EXPORTER_OTLP_HEADERS` — no provider named in the CLI.
888
- */
889
- describe('Slice 2 Phase 5 — observability (OTEL_*) env projection', () => {
890
- it('emits OTEL_* on the application-backend surface when the observability block is enabled', () => {
891
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({ observability: { enabled: true, endpoint: 'http://localhost:4318' } }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
892
- expect(env.OTEL_ENABLED).toBe('true');
893
- expect(env.OTEL_EXPORTER_OTLP_ENDPOINT).toBe('http://localhost:4318');
894
- expect(env.OTEL_SERVICE_NAME).toBe('wonder-todos-api');
895
- expect(env.OTEL_RESOURCE_ATTRIBUTES).toContain('deployment.environment=');
896
- });
897
- it('omits OTEL_* when the observability block is absent or disabled (no false defaults)', () => {
898
- const absent = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig(), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
899
- expect(absent.OTEL_ENABLED).toBeUndefined();
900
- const disabled = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({ observability: { enabled: false } }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
901
- expect(disabled.OTEL_ENABLED).toBeUndefined();
902
- });
903
- it('emits OTEL_EXPORTER_OTLP_HEADERS from a provisioned telemetry provider token (Phase 5b)', () => {
904
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: { BETTERSTACK_SOURCE_TOKEN: 'tok_test_123' } }, addresses, createConfig({ observability: { enabled: true, endpoint: 'http://localhost:4318' } }), 'local',
905
- // DECLARES the telemetry provider. This argument was `[]` until #360 and the header was
906
- // emitted anyway — that is the defect, pinned from both directions in the dedicated
907
- // describe below. Kept here as the positive case for the Phase-5b resolver itself.
908
- declaredProviderScope(['betterstack']), { deploymentLocationType: WildoLocationType.LOCAL });
909
- expect(env.OTEL_EXPORTER_OTLP_HEADERS).toBe('Authorization=Bearer tok_test_123');
910
- });
911
- it('omits OTEL_EXPORTER_OTLP_HEADERS when no telemetry token is provisioned (no-auth collector)', () => {
912
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: {} }, addresses, createConfig({ observability: { enabled: true, endpoint: 'http://localhost:4318' } }), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
913
- expect(env.OTEL_EXPORTER_OTLP_HEADERS).toBeUndefined();
914
- });
915
- });
916
- /**
917
- * `credentials.providerEnv` is read at runtime via
918
- * `ExternalProvidersRegistryBackendService.getProviderSecret/getProviderApiKey`
919
- * (in `saas-backend-lib`), which calls `process.env[envVarName]`. Application
920
- * backends, env-driven workers, and the dev companion call those methods;
921
- * apps-manager does not. The keys therefore MUST NOT appear in apps-manager env.
922
- */
923
- describe('provider env canonical sinks', () => {
924
- const credentialsWithProviders = {
925
- ...credentials,
926
- providerEnv: {
927
- OPENAI_API_KEY: 'sk-openai-test',
928
- ANTHROPIC_API_KEY: 'sk-ant-test',
929
- RESEND_API_KEY: 're_test',
930
- },
931
- };
932
- const PROVIDER_KEYS = ['OPENAI_API_KEY', 'ANTHROPIC_API_KEY', 'RESEND_API_KEY'];
933
- /**
934
- * The provider REFS whose secrets those keys are.
935
- *
936
- * Application-tier builders now require a declared scope and fail CLOSED
937
- * without one, so these tests supply it explicitly. That does not weaken the
938
- * invariant they exist for — which is NEGATIVE: provider secrets must never
939
- * reach apps-manager or a bootstrap service. It narrows the positive half
940
- * from "every application runtime gets every key" to "a runtime gets the keys
941
- * it DECLARED", which is the point of `providers.scopes.*`.
942
- */
943
- const PROVIDER_REFS = ['openai', 'anthropic', 'resend'];
944
- it('does NOT emit any provider env key in apps-manager full env', () => {
945
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentialsWithProviders, addresses, createConfig(), createEnvironment());
946
- for (const key of PROVIDER_KEYS) {
947
- expect(env[key]).toBeUndefined();
948
- }
949
- });
950
- it.each(BOOTSTRAP_PLATFORM_SERVICES)('does NOT emit any provider env key in bootstrap service env (%s)', (service) => {
951
- const env = PlatformEnvVarsBuilder.buildBootstrapEnv(service, credentialsWithProviders, addresses, createConfig(), createEnvironment());
952
- for (const key of PROVIDER_KEYS) {
953
- expect(env[key]).toBeUndefined();
954
- }
955
- });
956
- it('emits every provider env key in application backend env (canonical sink)', () => {
957
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentialsWithProviders, addresses, createConfig(), 'local', declaredProviderScope(PROVIDER_REFS), { deploymentLocationType: WildoLocationType.LOCAL });
958
- expect(env.OPENAI_API_KEY).toBe('sk-openai-test');
959
- expect(env.ANTHROPIC_API_KEY).toBe('sk-ant-test');
960
- expect(env.RESEND_API_KEY).toBe('re_test');
961
- });
962
- it('emits every provider env key in companion api env (canonical sink — companion runs ExternalProvidersRegistryBackendService)', () => {
963
- const env = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentialsWithProviders, addresses, createConfig({
964
- type: WildoLocationType.LOCAL,
965
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
966
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
967
- }), createEnvironment({
968
- name: 'local',
969
- locationType: WildoLocationType.LOCAL,
970
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
971
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
972
- }));
973
- expect(env.OPENAI_API_KEY).toBe('sk-openai-test');
974
- expect(env.ANTHROPIC_API_KEY).toBe('sk-ant-test');
975
- expect(env.RESEND_API_KEY).toBe('re_test');
976
- });
977
- it('emits every provider env key in application worker env (canonical sink for non-Node workers)', () => {
978
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentialsWithProviders, createConfig(), 'local', declaredProviderScope(PROVIDER_REFS), {});
979
- expect(env.OPENAI_API_KEY).toBe('sk-openai-test');
980
- expect(env.ANTHROPIC_API_KEY).toBe('sk-ant-test');
981
- expect(env.RESEND_API_KEY).toBe('re_test');
982
- });
983
- it('materializes each provider key in exactly three sinks (backend + worker + companion) across every platform/bootstrap surface', () => {
984
- const appsMgrEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentialsWithProviders, addresses, createConfig(), createEnvironment());
985
- const bootstrapEnvs = BOOTSTRAP_PLATFORM_SERVICES.map((service) => PlatformEnvVarsBuilder.buildBootstrapEnv(service, credentialsWithProviders, addresses, createConfig(), createEnvironment()));
986
- const backendEnv = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentialsWithProviders, addresses, createConfig(), 'local', declaredProviderScope(PROVIDER_REFS), { deploymentLocationType: WildoLocationType.LOCAL });
987
- const workerEnv = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentialsWithProviders, createConfig(), 'local', declaredProviderScope(PROVIDER_REFS), {});
988
- const companionEnv = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentialsWithProviders, addresses, createConfig({
989
- type: WildoLocationType.LOCAL,
990
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
991
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
992
- }), createEnvironment({
993
- name: 'local',
994
- locationType: WildoLocationType.LOCAL,
995
- runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
996
- runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
997
- }));
998
- for (const key of PROVIDER_KEYS) {
999
- const sinks = [
1000
- appsMgrEnv[key],
1001
- ...bootstrapEnvs.map((env) => env[key]),
1002
- backendEnv[key],
1003
- workerEnv[key],
1004
- companionEnv[key],
1005
- ].filter((value) => value !== undefined);
1006
- expect(sinks.length, `Provider key '${key}' must materialize in exactly THREE sinks (backend + worker + companion). Got: ${sinks.length}.`).toBe(3);
1007
- }
1008
- });
1009
- });
1010
- /**
1011
- * immudb state-signature pinning — the audit client pins `IMMUDB_STATE_PUBLIC_KEY` to
1012
- * cryptographically reject a whole-server substitution. The key is FRAMEWORK-GENERATED
1013
- * (`credentials.immudb.stateSigningPublicKey`, never operator-typed), so `env-vars-builder`
1014
- * injects it into every backend runtime's env — but ONLY when the immudb audit provider is
1015
- * configured (its `IMMUDB_HOST` is present in providerEnv), and NEVER the private half.
1016
- */
1017
- describe('immudb state-signing public-key delivery', () => {
1018
- const PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----\nMFkwEwexamplepub\n-----END PUBLIC KEY-----\n';
1019
- const PRIVATE_KEY = '-----BEGIN EC PRIVATE KEY-----\nMHcCAQEEexamplepriv\n-----END EC PRIVATE KEY-----\n';
1020
- const credentialsWithImmudb = (providerEnv) => ({
1021
- ...credentials,
1022
- immudb: { stateSigningPrivateKey: PRIVATE_KEY, stateSigningPublicKey: PUBLIC_KEY },
1023
- providerEnv,
1024
- });
1025
- it('injects IMMUDB_STATE_PUBLIC_KEY (public half only) into the app backend env when immudb is configured', () => {
1026
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentialsWithImmudb({ [IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.HOST]: 'immudb', [IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD]: 'pw' }), addresses, createConfig(), 'local',
1027
- // `immudb` must be in scope for its state-signing PUBLIC key to be
1028
- // delivered — the key is attributable to that provider, so a runtime that
1029
- // does not declare immudb correctly receives nothing for it.
1030
- declaredProviderScope(['immudb']), { deploymentLocationType: WildoLocationType.LOCAL });
1031
- expect(env[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY]).toBe(PUBLIC_KEY);
1032
- // The PRIVATE key is SERVER-side only — it must NEVER surface in an app runtime's env.
1033
- expect(env[IMMUDB_CREDENTIAL_ENV_KEYS.SERVER.STATE_SIGNING_KEY]).toBeUndefined();
1034
- expect(Object.values(env)).not.toContain(PRIVATE_KEY);
1035
- });
1036
- it('also delivers the public key to the companion and worker runtimes', () => {
1037
- const providerEnv = { [IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.HOST]: 'immudb' };
1038
- const workerEnv = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'rustWorker', 'my-rust-worker', credentialsWithImmudb(providerEnv), createConfig(), 'local', declaredProviderScope(['immudb']), {});
1039
- const companionEnv = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(appBootstrapCredentials, 'wonder-todos-dev-companion', credentialsWithImmudb(providerEnv), addresses, createConfig({ type: WildoLocationType.LOCAL, runtime: WildoDeploymentRuntime.DOCKER_COMPOSE, runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT }), createEnvironment({ name: 'local', locationType: WildoLocationType.LOCAL, runtime: WildoDeploymentRuntime.DOCKER_COMPOSE, runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT }));
1040
- expect(workerEnv[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY]).toBe(PUBLIC_KEY);
1041
- expect(companionEnv[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY]).toBe(PUBLIC_KEY);
1042
- });
1043
- it('does NOT inject the public key when the immudb provider is not configured (no IMMUDB_HOST)', () => {
1044
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentialsWithImmudb({ OPENAI_API_KEY: 'sk-openai-test' }), addresses, createConfig(), 'local',
1045
- // `immudb` must be in scope for its state-signing PUBLIC key to be
1046
- // delivered — the key is attributable to that provider, so a runtime that
1047
- // does not declare immudb correctly receives nothing for it.
1048
- declaredProviderScope(['immudb']), { deploymentLocationType: WildoLocationType.LOCAL });
1049
- expect(env[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY]).toBeUndefined();
1050
- });
1051
- });
1052
- /**
1053
- * `buildRuntimeProviderEnv` is the public projection of the SAME provider-env
1054
- * map merged into every backend/companion/worker runtime — the authority
1055
- * `wildo config sync` reuses to emit the standalone provider-secrets sink.
1056
- * These pins guarantee the sink stays byte-identical to the runtime provider
1057
- * env (authored `providerEnv` verbatim + the framework-injected immudb key),
1058
- * so a future refactor cannot let the sink drift from what the backend gets.
1059
- */
1060
- describe('buildRuntimeProviderEnv (provider-secrets sink authority)', () => {
1061
- const PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----\nMFkwEwexamplepub\n-----END PUBLIC KEY-----\n';
1062
- it('returns the authored providerEnv verbatim (incl. base64-ish API keys)', () => {
1063
- const providerEnv = { ANTHROPIC_API_KEY: 'sk-ant-abc==', OPENAI_API_KEY: 'sk-openai-xyz' };
1064
- const result = PlatformEnvVarsBuilder.buildRuntimeProviderEnv({ ...credentials, providerEnv });
1065
- expect(result).toEqual(providerEnv);
1066
- });
1067
- it('does not mutate the source credentials.providerEnv', () => {
1068
- const providerEnv = { ANTHROPIC_API_KEY: 'sk-ant-abc' };
1069
- const result = PlatformEnvVarsBuilder.buildRuntimeProviderEnv({ ...credentials, providerEnv });
1070
- result.INJECTED = 'x';
1071
- expect(providerEnv).toEqual({ ANTHROPIC_API_KEY: 'sk-ant-abc' });
1072
- });
1073
- it('injects the framework-generated immudb state key when immudb is configured (a naive providerEnv copy would drop it)', () => {
1074
- const result = PlatformEnvVarsBuilder.buildRuntimeProviderEnv({
1075
- ...credentials,
1076
- immudb: { stateSigningPrivateKey: 'priv', stateSigningPublicKey: PUBLIC_KEY },
1077
- providerEnv: { [IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.HOST]: 'immudb', ANTHROPIC_API_KEY: 'sk-ant' },
1078
- });
1079
- expect(result[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY]).toBe(PUBLIC_KEY);
1080
- expect(result.ANTHROPIC_API_KEY).toBe('sk-ant');
1081
- });
1082
- it('returns an empty map when no providers are authored', () => {
1083
- expect(PlatformEnvVarsBuilder.buildRuntimeProviderEnv({ ...credentials, providerEnv: {} })).toEqual({});
1084
- });
1085
- });
1086
- });
1087
- // The storage values in the shared `credentials` fixture above. Named here so the
1088
- // assertions below can prove the guard never prints them.
1089
- const TEST_STORAGE_ACCESS_KEY = 'minio';
1090
- const TEST_STORAGE_SECRET_KEY = 'minio-secret';
1091
- /** Build an application-tier env through the real builder. */
1092
- function buildBackendEnvForTest() {
1093
- return PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, addresses, createConfig({}), 'local', declaredProviderScope([]), {
1094
- deploymentLocationType: WildoLocationType.LOCAL,
1095
- appDatabaseName: 'wonder_todos',
1096
- });
1097
- }
1098
- describe('PlatformEnvVarsBuilder — object storage ROOT credential is not distributed (storage plan R5)', () => {
1099
- it('omits STORAGE_ACCESS_KEY / STORAGE_SECRET_KEY from application-tier env', () => {
1100
- // Those two are the object store's ROOT credential — the same pair assigned
1101
- // to MINIO_ROOT_USER / MINIO_ROOT_PASSWORD. Applications now obtain
1102
- // short-lived, prefix-confined session credentials from apps-manager.
1103
- const env = buildBackendEnvForTest();
1104
- expect(env.STORAGE_ACCESS_KEY).toBeUndefined();
1105
- expect(env.STORAGE_SECRET_KEY).toBeUndefined();
1106
- });
1107
- it('still emits the NON-secret storage wiring the adapter needs', () => {
1108
- // The removal must be surgical: endpoint/bucket/provider are not secrets and
1109
- // the storage adapter cannot address the store without them. Deleting them
1110
- // too would disable file storage rather than secure it.
1111
- const env = buildBackendEnvForTest();
1112
- expect(env.STORAGE_ENDPOINT).toBeDefined();
1113
- expect(env.STORAGE_BUCKET).toBeDefined();
1114
- expect(env.STORAGE_PROVIDER).toBeDefined();
1115
- });
1116
- it('THROWS if the root SECRET reaches application env under ANY key name', () => {
1117
- // The regression gate, tested against the guard directly because there is
1118
- // deliberately no production path that leaks — which is the point.
1119
- //
1120
- // The leak uses a DIFFERENT key name on purpose: a key-name check would be
1121
- // defeated exactly this way, so the guard compares VALUES.
1122
- expect(() => assertNoStorageSecretInGeneratedEnv({ SOME_UNRELATED_KEY: TEST_STORAGE_SECRET_KEY }, credentials, 'testBuilder')).toThrow(/emitted platform-tier credentials/);
1123
- });
1124
- it('passes a clean env, so the guard is not vacuously green', () => {
1125
- // Without this, a guard that threw on everything — or on nothing — would look
1126
- // identical to a working one in the test above.
1127
- expect(() => assertNoStorageSecretInGeneratedEnv({ STORAGE_ENDPOINT: 'minio', STORAGE_BUCKET: 'bucket' }, credentials, 'testBuilder')).not.toThrow();
1128
- });
1129
- it('never puts the secret VALUE in the error message', () => {
1130
- // An error containing the secret would write it into CI logs — a worse place
1131
- // than the env file it was caught in.
1132
- try {
1133
- assertNoStorageSecretInGeneratedEnv({ SOME_UNRELATED_KEY: TEST_STORAGE_SECRET_KEY }, credentials, 'testBuilder');
1134
- throw new Error('expected the guard to throw');
1135
- }
1136
- catch (error) {
1137
- const message = error.message;
1138
- expect(message).not.toContain(TEST_STORAGE_ACCESS_KEY);
1139
- expect(message).not.toContain(TEST_STORAGE_SECRET_KEY);
1140
- // …but it must name the offending KEY, or the failure is unactionable.
1141
- expect(message).toContain('SOME_UNRELATED_KEY');
1142
- }
1143
- });
1144
- });
1145
- describe('assertNoStorageSecretInGeneratedEnv — the forbidden set is the SECRET only, and has no key exemptions', () => {
1146
- it('does NOT fire on the access key, which is an identifier rather than a credential', () => {
1147
- // The access key is the principal's NAME: for MinIO conventionally the literal
1148
- // `minio` (also the provider name and the compose hostname), and in this
1149
- // repository's generated secrets a short shared admin username that is
1150
- // byte-identical to `mongodb.rootUser` and `rabbitmq.adminUsername`. It grants
1151
- // nothing on its own.
1152
- //
1153
- // It used to be in the forbidden set, and that forced an exemption list of env
1154
- // KEY NAMES to suppress the resulting false positives — re-introducing a
1155
- // by-name escape hatch into a guard whose entire premise is that names are
1156
- // defeatable. Dropping the access key removed the false positives and the
1157
- // escape hatch together.
1158
- expect(() => assertNoStorageSecretInGeneratedEnv({
1159
- STORAGE_PROVIDER: TEST_STORAGE_ACCESS_KEY,
1160
- STORAGE_ENDPOINT: TEST_STORAGE_ACCESS_KEY,
1161
- SOME_OTHER_KEY: TEST_STORAGE_ACCESS_KEY,
1162
- }, credentials, 'testBuilder')).not.toThrow();
1163
- });
1164
- it('fires on the SECRET even under a key that used to be exempt', () => {
1165
- // The load-bearing consequence of removing the exemption list. Previously
1166
- // `STORAGE_ENDPOINT` was skipped entirely, so a secret emitted under it would
1167
- // have passed. No key is skipped now.
1168
- expect(() => assertNoStorageSecretInGeneratedEnv({ STORAGE_ENDPOINT: TEST_STORAGE_SECRET_KEY }, credentials, 'testBuilder')).toThrow(/STORAGE_ENDPOINT/);
1169
- });
1170
- it('fires on the SECRET under its own canonical key name', () => {
1171
- expect(() => assertNoStorageSecretInGeneratedEnv({ STORAGE_SECRET_KEY: TEST_STORAGE_SECRET_KEY }, credentials, 'testBuilder')).toThrow(/STORAGE_SECRET_KEY/);
1172
- });
1173
- });
1174
- describe('assertNoStorageSecretInGeneratedEnv — every application-tier builder is a call site', () => {
1175
- // `buildApplicationBackendEnv` and `buildApplicationWorkerEnv` each build an env
1176
- // from scratch and so each need the guard; `buildApplicationMinionEnv` delegates
1177
- // to the backend builder and inherits it. The worker was missed when the guard
1178
- // first landed — it emits no STORAGE_* today, but `resolveRuntimeProviderEnv`
1179
- // fans values out of the same `credentials` object the root pair lives in.
1180
- // See `.claude/rules/invariant-call-site-enumeration.md`.
1181
- const buildWorkerEnv = (workerCredentials, scopedProviderRefs) => PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'myRustWorker', 'wonder-todos-my-rust-worker', workerCredentials, createConfig({}), 'local', declaredProviderScope(scopedProviderRefs), {});
1182
- it('the worker builder produces a clean env today', () => {
1183
- // Positive control: without this, the throwing test below could not be
1184
- // distinguished from a builder that fails for any input.
1185
- expect(() => buildWorkerEnv(credentials, [])).not.toThrow();
1186
- });
1187
- it('the worker builder REFUSES when the storage secret reaches its env through a provider value', () => {
1188
- // Drives the guard through the only channel by which the worker env can
1189
- // currently carry arbitrary values out of `credentials` — the scoped provider
1190
- // fan-out. Asserting the OUTPUT instead would pass whether or not the guard is
1191
- // wired, which is precisely the mistake that let the worker call site go
1192
- // missing in the first place.
1193
- const leaking = {
1194
- ...credentials,
1195
- providerEnv: { OPENAI_API_KEY: TEST_STORAGE_SECRET_KEY },
1196
- };
1197
- expect(() => buildWorkerEnv(leaking, ['openai'])).toThrow(/buildApplicationWorkerEnv emitted platform-tier credentials/);
1198
- });
1199
- });
1200
- describe('PlatformEnvVarsBuilder — provider secrets are scoped to the declared providers (minions plan R6 / F19)', () => {
1201
- const PROVIDER_ENV = {
1202
- OPENAI_API_KEY: 'sk-openai-xxxxxxxx',
1203
- ANTHROPIC_API_KEY: 'sk-anthropic-xxxxxxxx',
1204
- STRIPE_SECRET_KEY: 'sk-stripe-xxxxxxxx',
1205
- RESEND_API_KEY: 're-resend-xxxxxxxx',
1206
- };
1207
- function buildScoped(scopedProviderRefs) {
1208
- return PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: PROVIDER_ENV }, addresses, createConfig({}), 'local', declaredProviderScope(scopedProviderRefs), { deploymentLocationType: WildoLocationType.LOCAL });
1209
- }
1210
- it('gives a runtime scoped to openai ONLY the openai key', () => {
1211
- // The finding in one assertion: a marketing-scraper minion declared with
1212
- // `openai` was receiving the application's Stripe secret key.
1213
- const env = buildScoped(['openai']);
1214
- expect(env.OPENAI_API_KEY).toBe(PROVIDER_ENV.OPENAI_API_KEY);
1215
- expect(env.STRIPE_SECRET_KEY).toBeUndefined();
1216
- expect(env.ANTHROPIC_API_KEY).toBeUndefined();
1217
- expect(env.RESEND_API_KEY).toBeUndefined();
1218
- });
1219
- it('gives a runtime declaring NO providers no provider secrets at all', () => {
1220
- // `myRustWorker` declares `providers: {}` and previously received every key.
1221
- const env = buildScoped([]);
1222
- for (const key of Object.keys(PROVIDER_ENV)) {
1223
- expect(env[key], key).toBeUndefined();
1224
- }
1225
- });
1226
- it('FAILS CLOSED when the scope is omitted entirely', () => {
1227
- // The load-bearing default. "Omitted" must mean NONE, not ALL — the opposite
1228
- // default is exactly how every minion came to hold every provider secret.
1229
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: PROVIDER_ENV }, addresses, createConfig({}), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL });
1230
- expect(env.STRIPE_SECRET_KEY).toBeUndefined();
1231
- expect(env.OPENAI_API_KEY).toBeUndefined();
1232
- });
1233
- it('still gives a broadly-scoped runtime everything it declared', () => {
1234
- // The filter must not be a blunt instrument: the backend declares most
1235
- // providers and must keep them, or storage/AI/billing all break.
1236
- const env = buildScoped(['openai', 'anthropic', 'stripe', 'resend']);
1237
- expect(env.OPENAI_API_KEY).toBe(PROVIDER_ENV.OPENAI_API_KEY);
1238
- expect(env.ANTHROPIC_API_KEY).toBe(PROVIDER_ENV.ANTHROPIC_API_KEY);
1239
- expect(env.STRIPE_SECRET_KEY).toBe(PROVIDER_ENV.STRIPE_SECRET_KEY);
1240
- expect(env.RESEND_API_KEY).toBe(PROVIDER_ENV.RESEND_API_KEY);
1241
- });
1242
- it('DROPS a key no provider claims, and says so, instead of passing it as configuration (#329)', () => {
1243
- /*
1244
- * INVERTED by #329, and the inversion is the security fix rather than a taste change.
1245
- *
1246
- * This pin used to assert the opposite — "a key no provider claims is config (a hostname, a
1247
- * database name), dropping it would break runtimes for a reason unrelated to credentials".
1248
- * That reasoning held only while every provider was engine-shipped. The moment a provider can
1249
- * ship as its own package, "no provider claims it" stops meaning "it is not a secret" and
1250
- * starts meaning "the CLI cannot SEE the provider that owns it" — so the rule delivered a
1251
- * package-shipped provider's API key into every worker and minion environment, silently, which
1252
- * is exactly what the confinement exists to prevent.
1253
- *
1254
- * The premise was also wrong on its own terms: a provider whose configuration is a hostname or
1255
- * a database name puts THAT in its own secrets contract — immudb and odoo both do — and every
1256
- * framework writer of `providerEnv` fills it straight from those contracts. Measured when this
1257
- * was inverted: both dogfood applications' live `providerEnv` holds 13 keys and every one is
1258
- * attributable, so failing closed drops nothing that exists today.
1259
- */
1260
- const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
1261
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: { ...PROVIDER_ENV, SOME_PLAIN_CONFIG: 'not-a-provider-secret' } }, addresses, createConfig({}), 'local', declaredProviderScope(['openai']), { deploymentLocationType: WildoLocationType.LOCAL });
1262
- expect(env.SOME_PLAIN_CONFIG).toBeUndefined();
1263
- expect(env.STRIPE_SECRET_KEY).toBeUndefined();
1264
- // A refusal nobody can see is the failure mode this whole slice is about, so the drop names
1265
- // the key. Asserting the report — not only the absence — is what stops a future "simplify"
1266
- // from turning the fix back into a silent one.
1267
- expect(warn).toHaveBeenCalledWith(expect.stringContaining('SOME_PLAIN_CONFIG'));
1268
- warn.mockRestore();
1269
- // The provider it DID declare still arrives — the filter is not a blunt instrument.
1270
- expect(env.OPENAI_API_KEY).toBe(PROVIDER_ENV.OPENAI_API_KEY);
1271
- });
1272
- /*
1273
- * #1637. One `config sync` builds every runtime's env, and the same orphaned key was reported once PER
1274
- * runtime. It is dropped from each, reported once within the report window, and the report names where it
1275
- * is removed — and that the dev companion still carries it (it receives every provider key).
1276
- */
1277
- it('reports an orphaned key ONCE however many runtimes drop it, naming how to remove it', () => {
1278
- const warn = vi.spyOn(console, 'warn').mockImplementation(() => { });
1279
- const build = () => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', { ...credentials, providerEnv: { ...PROVIDER_ENV, RETIRED_VENDOR_BASE_URL: 'https://retired.example' } }, addresses, createConfig({}), 'local', declaredProviderScope(['openai']), { deploymentLocationType: WildoLocationType.LOCAL });
1280
- expect(build().RETIRED_VENDOR_BASE_URL).toBeUndefined();
1281
- expect(build().RETIRED_VENDOR_BASE_URL).toBeUndefined();
1282
- const reports = warn.mock.calls.map(([message]) => String(message)).filter((message) => message.includes('RETIRED_VENDOR_BASE_URL'));
1283
- warn.mockRestore();
1284
- expect(reports).toHaveLength(1);
1285
- expect(reports[0]).toContain('wildo secrets unset <NAME>');
1286
- expect(reports[0]).toContain('only the dev companion, which receives every provider key, still carries them');
1287
- });
1288
- });
1289
- describe('PlatformEnvVarsBuilder — a minion receives the providers it DECLARED (F-F)', () => {
1290
- // `providers.scopes.minions.<name>` is the authored boundary. Two ways to get it
1291
- // wrong, and the minion path has been on both sides: inheriting the whole
1292
- // application bag (a minion scoped to `openai` holding STRIPE_SECRET_KEY), or
1293
- // fail-closing to nothing (the same minion losing the `openai` key it declared
1294
- // and needs). Only the DECLARED set is correct.
1295
- const credentialsWithProviders = {
1296
- ...credentials,
1297
- providerEnv: {
1298
- OPENAI_API_KEY: 'sk-openai-test',
1299
- STRIPE_SECRET_KEY: 'sk-stripe-test',
1300
- RESEND_API_KEY: 're_test',
1301
- },
1302
- };
1303
- // The scope is a POSITIONAL argument, which is what makes this helper honest. While it was an
1304
- // optional field on `options`, an earlier version compiled cleanly through a conditional spread
1305
- // (a spread suppresses TypeScript's excess-property check) even though the builder's options type
1306
- // did not declare the field at all — the test exercised the runtime and hid the very type gap
1307
- // that kept the generator from passing it. A positional parameter has no such escape: this helper
1308
- // cannot call the builder without stating a scope, and neither can production code.
1309
- // The access declaration is a PARAMETER here for the same reason the scope is:
1310
- // a helper that hard-coded one would let a caller omit the distinction between
1311
- // "declared nothing" and "declared empty", which is the distinction that decides
1312
- // whether a minion receives database topology at all.
1313
- const buildMinionEnv = (scopedProviderRefs, accessDeclaration = { resourceAccess: {} }) => PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'wonder-todos-marketing-scrapper', credentialsWithProviders, addresses, createConfig({}), 'local', declaredProviderScope(scopedProviderRefs), accessDeclaration, {
1314
- deploymentLocationType: WildoLocationType.LOCAL,
1315
- appDatabaseName: 'wonder_todos',
1316
- });
1317
- /**
1318
- * R-COHERENCE (Step 5-egress): a minion that may not REACH a backing service
1319
- * must not receive that service's topology either.
1320
- *
1321
- * The failure these prevent is not a refusal — it is that `isConfigured()`
1322
- * reports true, a probe or a first use runs, and an unroutable host fails as a
1323
- * timeout, reading as "the service is down" for a runtime that was never
1324
- * supposed to have it.
1325
- */
1326
- it('a minion that DECLARED NO resourceAccess receives no database or storage topology', () => {
1327
- const env = buildMinionEnv(['openai'], {});
1328
- expect(env.MONGODB_HOST).toBeUndefined();
1329
- expect(env.POSTGRESQL_HOST).toBeUndefined();
1330
- expect(env.STORAGE_ENDPOINT).toBeUndefined();
1331
- });
1332
- it('…but STILL receives queue and cache topology, whose credentials are always minted', () => {
1333
- // Withholding these would strand a credential apps-manager issues to every
1334
- // minion — the same incoherence from the other direction.
1335
- const env = buildMinionEnv(['openai'], {});
1336
- expect(env.RABBITMQ_HOST).toBeDefined();
1337
- expect(env.REDIS_HOST).toBeDefined();
1338
- });
1339
- it('a minion that DECLARED resourceAccess receives database topology', () => {
1340
- // Declared-but-empty counts as declared. If this reddens while the pin above
1341
- // stays green, presence was replaced by truthiness.
1342
- const env = buildMinionEnv(['openai'], { resourceAccess: {} });
1343
- expect(env.MONGODB_HOST).toBeDefined();
1344
- });
1345
- it('the APPLICATION BACKEND is unaffected by the minion gate', () => {
1346
- // The builder the minion delegates to is the backend's own. This is the pin
1347
- // that reddens if the gate is applied inside it without a per-runtime input —
1348
- // narrowing the backend while believing only a minion was narrowed.
1349
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-backend', credentialsWithProviders, addresses, createConfig({}), 'local', declaredProviderScope(['openai']), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1350
- expect(env.MONGODB_HOST).toBeDefined();
1351
- expect(env.STORAGE_ENDPOINT).toBeDefined();
1352
- });
1353
- it('receives the DECLARED provider key', () => {
1354
- expect(buildMinionEnv(['openai']).OPENAI_API_KEY).toBe('sk-openai-test');
1355
- });
1356
- it('does NOT receive provider keys it did not declare', () => {
1357
- const env = buildMinionEnv(['openai']);
1358
- expect(env.STRIPE_SECRET_KEY).toBeUndefined();
1359
- expect(env.RESEND_API_KEY).toBeUndefined();
1360
- });
1361
- it('receives NO provider secrets when it declares none (fail-closed)', () => {
1362
- const env = buildMinionEnv([]);
1363
- expect(env.OPENAI_API_KEY).toBeUndefined();
1364
- expect(env.STRIPE_SECRET_KEY).toBeUndefined();
1365
- });
1366
- });
1367
- /**
1368
- * #360 — the confinement invariant's SECOND delivery path.
1369
- *
1370
- * The per-key fan-out was scoped; `OTEL_EXPORTER_OTLP_HEADERS` was composed from the raw
1371
- * `credentials.providerEnv`, so the token a runtime was correctly refused arrived on the next
1372
- * line, inside a header. One invariant, two paths, one of them open.
1373
- *
1374
- * Every assertion below is a PAIR — withheld on one side, delivered on the other — because a
1375
- * one-sided pin cannot distinguish "the confinement works" from "the header is broken for
1376
- * everyone". `betterstack` is the engine's only `otlpAuth` provider, so it is the only ref that
1377
- * can exercise this path at all.
1378
- */
1379
- describe('PlatformEnvVarsBuilder — a telemetry secret does not bypass the scope inside the OTLP header (#360)', () => {
1380
- const TELEMETRY_TOKEN = 'bs-secret-token';
1381
- const observabilityCredentials = {
1382
- ...credentials,
1383
- providerEnv: { BETTERSTACK_SOURCE_TOKEN: TELEMETRY_TOKEN },
1384
- };
1385
- const telemetryEnabledConfig = () => createConfig({ observability: { enabled: true, endpoint: 'https://in.betterstack.com' } });
1386
- const buildBackend = (scopedProviderRefs) => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', observabilityCredentials, addresses, telemetryEnabledConfig(), 'local', declaredProviderScope(scopedProviderRefs), { deploymentLocationType: WildoLocationType.LOCAL });
1387
- // The worker builds its env from scratch instead of delegating, so it is a SEPARATE call site
1388
- // for the same invariant — the shape that produced this defect's fourteen predecessors
1389
- // (`.claude/rules/invariant-call-site-enumeration.md`). Pinning only the backend would leave
1390
- // the worker free to regress on its own.
1391
- const buildWorker = (scopedProviderRefs) => PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'myRustWorker', 'wonder-todos-my-rust-worker', observabilityCredentials, telemetryEnabledConfig(), 'local', declaredProviderScope(scopedProviderRefs), {});
1392
- const buildMinion = (scopedProviderRefs) => PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'wonder-todos-marketing-scrapper', observabilityCredentials, addresses, telemetryEnabledConfig(), 'local', declaredProviderScope(scopedProviderRefs), { resourceAccess: {} }, { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1393
- describe.each([
1394
- ['backend', buildBackend],
1395
- ['worker', buildWorker],
1396
- ['minion', buildMinion],
1397
- ])('%s', (_label, build) => {
1398
- it('receives the telemetry token by NO path when its scope excludes the provider', () => {
1399
- const env = build([]);
1400
- // The path the confinement already covered…
1401
- expect(env.BETTERSTACK_SOURCE_TOKEN).toBeUndefined();
1402
- // …and the one it did not. Asserting absence of the HEADER is not enough on its own: the
1403
- // value is what leaked, so the token itself must appear nowhere in the emitted env.
1404
- expect(env.OTEL_EXPORTER_OTLP_HEADERS).toBeUndefined();
1405
- expect(Object.values(env).some((value) => value.includes(TELEMETRY_TOKEN))).toBe(false);
1406
- });
1407
- it('still exports telemetry, unauthenticated, when the scope excludes the provider', () => {
1408
- // The decision's stated cost, pinned so it stays the cost. Withholding the header must not
1409
- // silently disable telemetry — that would turn a credential decision into an observability
1410
- // outage, and the runtime would go dark rather than export anonymously.
1411
- const env = build([]);
1412
- expect(env.OTEL_ENABLED).toBe('true');
1413
- expect(env.OTEL_EXPORTER_OTLP_ENDPOINT).toBe('https://in.betterstack.com');
1414
- });
1415
- it('receives the header when it DOES declare the telemetry provider', () => {
1416
- // Without this the pins above are satisfied by a builder that never emits a header at all.
1417
- const env = build(['betterstack']);
1418
- expect(env.OTEL_EXPORTER_OTLP_HEADERS).toBe(`Authorization=Bearer ${TELEMETRY_TOKEN}`);
1419
- expect(env.BETTERSTACK_SOURCE_TOKEN).toBe(TELEMETRY_TOKEN);
1420
- });
1421
- });
1422
- });
1423
- describe('assertNoPlatformCredentialInGeneratedEnv — the whole platform credential set, not just storage', () => {
1424
- // Storage was found by reading code, not by a check. The other backing services
1425
- // are absent from app env only because each mints per-application credentials —
1426
- // a property of how they happen to be wired, enforced nowhere. A future provider
1427
- // that skips minting (exactly what the MinIO module did) would reproduce the
1428
- // same exposure against a different service with nothing to catch it.
1429
- const cases = [
1430
- ['the MongoDB root password', credentials.mongodb.rootPassword],
1431
- ['the RabbitMQ admin password', credentials.rabbitmq.adminPassword],
1432
- ['the RabbitMQ Erlang cookie', credentials.rabbitmq.erlangCookie],
1433
- ['the object storage ROOT credential', TEST_STORAGE_SECRET_KEY],
1434
- ];
1435
- for (const [label, value] of cases) {
1436
- it(`refuses ${label} under an arbitrary key`, () => {
1437
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ INNOCENT_LOOKING_KEY: value }, credentials, 'testBuilder')).toThrow(/emitted platform-tier credentials/);
1438
- });
1439
- }
1440
- it('refuses a credential EMBEDDED inside a connection URL — raw or percent-encoded (containment, 5.3 review F6)', () => {
1441
- // A URL-embedded credential is exactly as leaked as a bare one. The exact-value comparison
1442
- // was blind to it — and `PG_CONNECT_URL` now legitimately carries the encoded admin password
1443
- // on the PLATFORM tier, so a future app-tier builder copying that URL is the live scenario.
1444
- const rawEmbedded = `postgresql://wildo_admin:${credentials.postgresql.adminPassword}@host:5432/db`;
1445
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ SOME_URL: rawEmbedded }, credentials, 'testBuilder')).toThrow(/emitted platform-tier credentials/);
1446
- const specialCharCredentials = {
1447
- ...credentials,
1448
- postgresql: { adminUser: 'wildo_admin', adminPassword: 'p@ss:w#rd-long-generated-value' },
1449
- };
1450
- const encodedEmbedded = `postgresql://wildo_admin:${encodeURIComponent('p@ss:w#rd-long-generated-value')}@host:5432/db`;
1451
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ SOME_URL: encodedEmbedded }, specialCharCredentials, 'testBuilder')).toThrow(/emitted platform-tier credentials/);
1452
- });
1453
- it('names every distinct credential it found, so one fix does not mask another', () => {
1454
- try {
1455
- assertNoPlatformCredentialInGeneratedEnv({ A_KEY: credentials.mongodb.rootPassword, B_KEY: TEST_STORAGE_SECRET_KEY }, credentials, 'testBuilder');
1456
- throw new Error('expected the guard to throw');
1457
- }
1458
- catch (error) {
1459
- const message = error.message;
1460
- expect(message).toContain('A_KEY');
1461
- expect(message).toContain('B_KEY');
1462
- // …and still never the values themselves.
1463
- expect(message).not.toContain(credentials.mongodb.rootPassword);
1464
- expect(message).not.toContain(TEST_STORAGE_SECRET_KEY);
1465
- }
1466
- });
1467
- it('does NOT fire on an IDENTIFIER — usernames collide with hostnames and provider ids', () => {
1468
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ SOME_KEY: credentials.mongodb.rootUser, OTHER: TEST_STORAGE_ACCESS_KEY }, credentials, 'testBuilder')).not.toThrow();
1469
- });
1470
- it('passes a clean env, so the widened guard is not vacuously green', () => {
1471
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ STORAGE_ENDPOINT: 'minio', MONGODB_HOST: 'mongodb' }, credentials, 'testBuilder')).not.toThrow();
1472
- });
1473
- });
1474
- /**
1475
- * The postgres credential-emission UNION rule (2026-08-11 regression pins).
1476
- *
1477
- * `shouldProvisionPostgreSQL` used to test ONLY `config.database.engine === POSTGRESQL`, while the
1478
- * compose generator rendered the postgres SERVICE from the wider `needsLocalPostgreSQL` rule
1479
- * (engine OR an author-declared SELF backing service). A MongoDB-platform app with
1480
- * `backingServices.postgresql: SELF` therefore got a compose service with a BLANK
1481
- * `POSTGRES_ADMIN_PASSWORD` — the container refuses to initialize and crash-loops, failing
1482
- * `wildo local dev` at infrastructure readiness. These pins hold the two gates to one rule.
1483
- */
1484
- describe('buildInfraCredentialEnv — postgres union rule', () => {
1485
- it('emits postgres admin credentials for a MongoDB-platform env whose author declared a SELF postgres backing service', () => {
1486
- const env = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, createConfig(), createEnvironment({
1487
- backingServices: {
1488
- [BackingServiceKind.POSTGRESQL]: { source: BackingServiceSource.SELF, host: 'localhost', port: 5432 },
1489
- },
1490
- }));
1491
- expect(env.POSTGRES_ADMIN_USER).toBe('postgres');
1492
- expect(env.POSTGRES_ADMIN_PASSWORD).toBe('postgres-password');
1493
- expect(env.POSTGRES_ADMIN_DATABASE).toBe('postgres');
1494
- });
1495
- it('emits no postgres credentials when neither the engine nor a SELF backing service asks for them', () => {
1496
- const env = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, createConfig(), createEnvironment());
1497
- expect(Object.keys(env).filter((key) => key.startsWith('POSTGRES'))).toEqual([]);
1498
- });
1499
- it('fails LOUDLY, naming the remedy, when postgres is included but secrets carry no postgresql credentials', () => {
1500
- const { postgresql: _omitted, ...withoutPostgres } = credentials;
1501
- expect(() => PlatformEnvVarsBuilder.buildInfraCredentialEnv(withoutPostgres, createConfig(), createEnvironment({
1502
- backingServices: {
1503
- [BackingServiceKind.POSTGRESQL]: { source: BackingServiceSource.SELF, host: 'localhost', port: 5432 },
1504
- },
1505
- }))).toThrow(/wildo -y setup/);
1506
- });
1507
- });
1508
- describe("emitPlatformPostgresEnv — the platform's OWN PostgreSQL (Phase 5.3, D7)", () => {
1509
- it('a Mongo-engined platform emits NEITHER key — existing .env material stays byte-identical', () => {
1510
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment());
1511
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBeUndefined();
1512
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBeUndefined();
1513
- });
1514
- /**
1515
- * The transition-legal environment shape: platform engine POSTGRESQL + an AUTHORED mongodb
1516
- * backing service (the 5.1 union's second half). A PG-engined platform without it is REFUSED
1517
- * at generation time — see the dedicated pin below.
1518
- */
1519
- const postgresEngineEnvironment = () => createEnvironment({
1520
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1521
- backingServices: {
1522
- [BackingServiceKind.MONGODB]: { source: BackingServiceSource.SELF },
1523
- },
1524
- });
1525
- it('a self-hosted PostgreSQL-engined platform gets the initdb-database URL + the adapter selection', () => {
1526
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1527
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1528
- }), postgresEngineEnvironment());
1529
- // The URL targets the PLATFORM's OWN database — never `infrastructure.postgresql.database`,
1530
- // which names the APPLICATION's database (see the distinctness pin below).
1531
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBe('postgresql://postgres:postgres-password@postgresql:5432/wildo_platform?sslmode=disable');
1532
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBe('postgresql');
1533
- });
1534
- it('the platform database is DISTINCT from the application database — the collision that would have shared tables', () => {
1535
- /**
1536
- * `infrastructure.postgresql.database` is mirrored from the author's
1537
- * `backingServices.postgresql.database` — the APPLICATION's database, and also the compose
1538
- * container's initdb database (for Wonder Todos local, literally `wonder-todos-db`). Pointing
1539
- * the platform there put its ~94 tables — `users`, `organizations`, `applications` among them
1540
- * — inside the application's database; and since every generated statement is
1541
- * `create table if not exists`, an application provisioning its own schema afterwards would
1542
- * SILENTLY ADOPT the platform's tables rather than fail. Two tenancy planes, one table set,
1543
- * no diagnostic. This pin fixes the separation as a property, not a convention.
1544
- */
1545
- const applicationDatabase = 'wonder-todos-db';
1546
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1547
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1548
- infrastructure: {
1549
- storage: { provider: 'minio', useSsl: false, bucket: 'bucket' },
1550
- postgresql: { database: applicationDatabase, sslMode: 'disable' },
1551
- },
1552
- }), postgresEngineEnvironment());
1553
- const platformUrl = env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL];
1554
- expect(platformUrl).not.toContain(applicationDatabase);
1555
- expect(platformUrl?.endsWith('/wildo_platform?sslmode=disable')).toBe(true);
1556
- /**
1557
- * …and the ADMIN key is the third name again — the MAINTENANCE database.
1558
- *
1559
- * This assertion previously read `toBe(applicationDatabase)`, explained by a comment claiming
1560
- * the key carried "the container's initdb database". It does not, and never did: initdb is fed
1561
- * by `POSTGRES_ADMIN_DATABASE` on a different transport (see the sibling pin below). What
1562
- * `PG_ADMIN_DATABASE` actually addresses is where the admin pool CONNECTS to run
1563
- * `CREATE DATABASE` — so pointing it at a database that pool is meant to CREATE made admin
1564
- * init fail on every machine where it did not exist yet, disabling PostgreSQL provisioning for
1565
- * the whole process behind a 200 `/health/ready`.
1566
- */
1567
- expect(env[PlatformInfrastructureEnvKeys.PG_ADMIN_DATABASE]).toBe(PLATFORM_POSTGRES_MAINTENANCE_DATABASE);
1568
- expect(env[PlatformInfrastructureEnvKeys.PG_ADMIN_DATABASE]).not.toBe(applicationDatabase);
1569
- });
1570
- /**
1571
- * The three names are pinned TOGETHER because the defect was never visible in any one of them —
1572
- * each value is individually plausible, and only their relationship is wrong. A regression that
1573
- * re-derives any of the three from another reddens here.
1574
- */
1575
- it('the three PostgreSQL database names stay mutually distinct — admin ≠ application ≠ platform', () => {
1576
- const applicationDatabase = 'wonder-todos-db';
1577
- const config = createConfig({
1578
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1579
- infrastructure: {
1580
- storage: { provider: 'minio', useSsl: false, bucket: 'bucket' },
1581
- postgresql: { database: applicationDatabase, sslMode: 'disable' },
1582
- },
1583
- });
1584
- const environment = postgresEngineEnvironment();
1585
- const appsManagerEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, config, environment);
1586
- const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, environment);
1587
- // 1. Where the admin pool CONNECTS to provision — a database it never provisions itself.
1588
- expect(appsManagerEnv[PlatformInfrastructureEnvKeys.PG_ADMIN_DATABASE]).toBe('postgres');
1589
- // 2. The container's initdb database — a DIFFERENT key, and the one that genuinely follows the author.
1590
- expect(infraEnv.POSTGRES_ADMIN_DATABASE).toBe(applicationDatabase);
1591
- // 3. Where the platform's own tables live.
1592
- expect(appsManagerEnv[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toContain('/wildo_platform?');
1593
- expect(new Set([
1594
- appsManagerEnv[PlatformInfrastructureEnvKeys.PG_ADMIN_DATABASE],
1595
- infraEnv.POSTGRES_ADMIN_DATABASE,
1596
- PLATFORM_POSTGRES_DATABASE,
1597
- ]).size).toBe(3);
1598
- });
1599
- it('URL-encodes admin credentials — an @/:/# in the password must not corrupt the authority section', () => {
1600
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv({
1601
- ...credentials,
1602
- postgresql: { adminUser: 'wildo admin', adminPassword: 'p@ss:w#rd' },
1603
- }, addresses, createConfig({
1604
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1605
- }), postgresEngineEnvironment());
1606
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBe('postgresql://wildo%20admin:p%40ss%3Aw%23rd@postgresql:5432/wildo_platform?sslmode=disable');
1607
- });
1608
- it('an EXOTIC authored database name cannot leak into the platform URL — nor corrupt it', () => {
1609
- /**
1610
- * This pin used to assert that the AUTHORED name was percent-encoded into the platform URL.
1611
- * That premise is gone: the platform now always targets its own `wildo_platform` database
1612
- * (the collision fix), so an authored name — however hostile — must not appear at all. The
1613
- * adversarial input is kept because it proves BOTH halves at once: no leak, and no truncation
1614
- * of the URL by a `?` that would otherwise start a query string. The builder still encodes its
1615
- * path segment defensively, which is what keeps that true if the name ever becomes derived.
1616
- */
1617
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1618
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1619
- infrastructure: {
1620
- storage: { provider: 'minio', useSsl: false, bucket: 'bucket' },
1621
- postgresql: { database: 'my db?x', sslMode: 'disable' },
1622
- },
1623
- }), postgresEngineEnvironment());
1624
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBe('postgresql://postgres:postgres-password@postgresql:5432/wildo_platform?sslmode=disable');
1625
- });
1626
- it('an app-authored `backingServices.postgresql: SELF` on a Mongo platform does NOT emit — the gate is the platform ENGINE, not the provisioning union', () => {
1627
- /**
1628
- * The union predicate (`shouldProvisionPostgreSQL`) correctly renders the container and its
1629
- * admin credentials for an APPLICATION's PostgreSQL resources. Handing the PLATFORM a connect
1630
- * URL — let alone flipping its default adapter — off that same signal would point the control
1631
- * plane at a database that belongs to an application. The two halves must stay apart.
1632
- */
1633
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig(), createEnvironment({
1634
- backingServices: {
1635
- [BackingServiceKind.POSTGRESQL]: { source: BackingServiceSource.SELF },
1636
- },
1637
- }));
1638
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBeUndefined();
1639
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBeUndefined();
1640
- // …while the provisioning half still does its job for the application's container.
1641
- expect(env[PlatformInfrastructureEnvKeys.PG_HOST]).toBe('postgresql');
1642
- });
1643
- it('a MANAGED PostgreSQL platform passes the external connectionUrl through verbatim (the Atlas mirror)', () => {
1644
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1645
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.MANAGED, provider: 'neon' },
1646
- externalEndpoints: {
1647
- postgresql: { connectionUrl: 'postgresql://neon-user:neon-pass@ep.neon.tech/wildo_platform?sslmode=require' },
1648
- },
1649
- }), createEnvironment({
1650
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.MANAGED },
1651
- backingServices: {
1652
- [BackingServiceKind.MONGODB]: { source: BackingServiceSource.SELF },
1653
- },
1654
- }));
1655
- expect(env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL]).toBe('postgresql://neon-user:neon-pass@ep.neon.tech/wildo_platform?sslmode=require');
1656
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBe('postgresql');
1657
- });
1658
- it('REFUSES a MANAGED PostgreSQL platform with no externalEndpoints.postgresql — at generation, naming the remedy', () => {
1659
- // Without this, the emitter wrote PG_CONNECT_URL= (empty) and the failure surfaced as an
1660
- // opaque "Invalid URL" inside boot-time env validation, three layers from the cause — and the
1661
- // slot has no wizard authoring path, so EVERY managed-PG env would hit it.
1662
- expect(() => PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1663
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.MANAGED, provider: 'neon' },
1664
- }), createEnvironment({
1665
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.MANAGED },
1666
- backingServices: {
1667
- [BackingServiceKind.MONGODB]: { source: BackingServiceSource.SELF },
1668
- },
1669
- }))).toThrow(/externalEndpoints\.postgresql/);
1670
- });
1671
- it('ACCEPTS a PostgreSQL-engined platform whose environment renders NO mongod', () => {
1672
- /**
1673
- * The inverse of what this asserted until 2026-08-28, when the requirement retired along with
1674
- * its schema-side twin in `define-infra-env-config.ts`.
1675
- *
1676
- * The refusal was written for a real trap — a `MONGO_CONNECT_URL` pointing at a container no
1677
- * transport renders — but the trap was downstream of `MONGO_CONNECT_URL` being an
1678
- * unconditionally REQUIRED key on the apps-manager env schema. It is now optional and
1679
- * empty-means-absent, exactly like `PG_CONNECT_URL`, so an unrendered mongod produces an ABSENT
1680
- * key rather than a dangling address. The generator emits an empty string here and always did;
1681
- * what changed is that the consumer now reads that as "not MongoDB-engined".
1682
- *
1683
- * The invariant that survives — a platform must render AT LEAST ONE store — lives on the env
1684
- * schema, beside the keys it is about, where a hand-edited env file is also subject to it.
1685
- */
1686
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, createConfig({
1687
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1688
- }), createEnvironment({
1689
- database: { engine: DatabaseEngine.POSTGRESQL, source: BackingServiceSource.SELF },
1690
- }));
1691
- // Emitted EMPTY, not omitted — the compose interpolation contract, and what the schema's
1692
- // `z.preprocess` reads as absent.
1693
- expect(env.MONGO_CONNECT_URL).toBe('');
1694
- expect(env.PG_CONNECT_URL).toBeTruthy();
1695
- });
1696
- });
1697
- /**
1698
- * Systems of record (#1055 §2, D2, R7) — the backend gets the instance's address and credential, and
1699
- * nothing else does.
1700
- *
1701
- * The variable names are DERIVED from the instance name rather than authored anywhere, so what these
1702
- * pin is a chain: the environment's authored address, the operator's secret, and the runtime that may
1703
- * hold either. The exclusion half is asserted rather than assumed because "nothing" is NOT what a
1704
- * minion or a worker gets by default — both receive provider keys today, and this section escapes
1705
- * `filterProviderEnvToScope` entirely, a system of record deliberately not being a provider.
1706
- */
1707
- describe('system-of-record delivery', () => {
1708
- const declaredOdoo = {
1709
- systemsOfRecord: {
1710
- odoo: {
1711
- address: {
1712
- baseUrl: 'https://acme.odoo.com',
1713
- database: 'acme',
1714
- login: 'bot@acme.com',
1715
- },
1716
- },
1717
- },
1718
- };
1719
- const credentialsWithInstanceSecret = {
1720
- ...credentials,
1721
- systemsOfRecordEnv: { WILDO_SOR_ODOO__API_KEY: 'odoo-api-key' },
1722
- };
1723
- const buildBackendEnv = (config, secrets = credentialsWithInstanceSecret) => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', secrets, addresses, createConfig(config), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1724
- it('carries every authored address slot to the backend, under its derived name', () => {
1725
- const env = buildBackendEnv(declaredOdoo);
1726
- expect(env.WILDO_SOR_ODOO__BASE_URL).toBe('https://acme.odoo.com');
1727
- expect(env.WILDO_SOR_ODOO__DATABASE).toBe('acme');
1728
- expect(env.WILDO_SOR_ODOO__LOGIN).toBe('bot@acme.com');
1729
- });
1730
- it('carries the instance credential, which secrets.json already keys by the derived name', () => {
1731
- expect(buildBackendEnv(declaredOdoo).WILDO_SOR_ODOO__API_KEY).toBe('odoo-api-key');
1732
- });
1733
- /*
1734
- * E3 — an environment with no ERP declares it, and that declaration must REACH the backend, because
1735
- * its presence is what separates "no access here" (boot, refuse reads with a code) from "somebody
1736
- * forgot" (refuse at boot). Silence cannot mean either.
1737
- */
1738
- it('emits the ENABLED marker for an instance this environment declares absent', () => {
1739
- const env = buildBackendEnv({
1740
- systemsOfRecord: { odoo: { enabled: false } },
1741
- });
1742
- expect(env.WILDO_SOR_ODOO__ENABLED).toBe('false');
1743
- expect(env.WILDO_SOR_ODOO__BASE_URL).toBeUndefined();
1744
- });
1745
- it('drops a credential naming an instance this environment does not declare', () => {
1746
- const env = buildBackendEnv(declaredOdoo, {
1747
- ...credentials,
1748
- systemsOfRecordEnv: { 'WILDO_SOR_SAP__API_KEY': 'stale-key', 'WILDO_SOR_ODOO__API_KEY': 'live' },
1749
- });
1750
- expect(env.WILDO_SOR_SAP__API_KEY).toBeUndefined();
1751
- // The positive control: without it this would pass on a builder that delivers nothing at all.
1752
- expect(env.WILDO_SOR_ODOO__API_KEY).toBe('live');
1753
- });
1754
- it('gives a MINION none of it, even though it delegates to the builder that emits it', () => {
1755
- const env = PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'wonder-todos-marketing-scrapper', credentialsWithInstanceSecret, addresses, createConfig(declaredOdoo), 'local', declaredProviderScope([]), { resourceAccess: {} }, { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1756
- expect(Object.keys(env).filter((key) => key.startsWith('WILDO_SOR_'))).toEqual([]);
1757
- // Positive control: the same delegation still produces a working minion env, so the assertion
1758
- // above is about the system-of-record keys rather than about an empty result.
1759
- expect(env.APPLICATION_ID).toBeTruthy();
1760
- });
1761
- it('gives a WORKER none of it', () => {
1762
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'myRustWorker', 'wonder-todos-my-rust-worker', credentialsWithInstanceSecret, createConfig(declaredOdoo), 'local', declaredProviderScope([]), {});
1763
- expect(Object.keys(env).filter((key) => key.startsWith('WILDO_SOR_'))).toEqual([]);
1764
- expect(env.APPLICATION_ID).toBeTruthy();
1765
- });
1766
- });
1767
- /**
1768
- * Inbound endpoint secrets (#1596) — the backend mounts `/webhooks/app/{endpointKey}` and gets the secret
1769
- * under the name it reads (`WILDO_INBOUND_<ENDPOINT_KEY>__SECRET`); no minion or worker gets it.
1770
- */
1771
- describe('inbound endpoint secret delivery', () => {
1772
- const withInboundSecret = {
1773
- ...credentials,
1774
- inboundEndpointEnv: { WILDO_INBOUND_TODO_INTAKE__SECRET: 'whsec_dGVzdA==', TODO_INTAKE_SECRET: 'misnamed' },
1775
- };
1776
- it('delivers a well-named secret to the backend and drops a key that is not one (mutation: skip the loop → red)', () => {
1777
- const env = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', withInboundSecret, addresses, createConfig({}), 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1778
- expect(env.WILDO_INBOUND_TODO_INTAKE__SECRET).toBe('whsec_dGVzdA==');
1779
- expect(env.TODO_INTAKE_SECRET).toBeUndefined();
1780
- });
1781
- it('gives a MINION none of it, though it delegates to the builder that emits it (mutation: drop the strip → red)', () => {
1782
- const env = PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'wonder-todos-marketing-scrapper', withInboundSecret, addresses, createConfig({}), 'local', declaredProviderScope([]), { resourceAccess: {} }, { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1783
- expect(Object.keys(env).filter((key) => key.startsWith('WILDO_INBOUND_'))).toEqual([]);
1784
- expect(env.APPLICATION_ID).toBeTruthy();
1785
- });
1786
- it('gives a WORKER none of it', () => {
1787
- const env = PlatformEnvVarsBuilder.buildApplicationWorkerEnv(appBootstrapCredentials, 'myRustWorker', 'wonder-todos-my-rust-worker', withInboundSecret, createConfig({}), 'local', declaredProviderScope([]), {});
1788
- expect(Object.keys(env).filter((key) => key.startsWith('WILDO_INBOUND_'))).toEqual([]);
1789
- expect(env.APPLICATION_ID).toBeTruthy();
1790
- });
1791
- });
1792
- describe('PlatformEnvVarsBuilder — the application store selection (#1571)', () => {
1793
- const backendEnv = (config, resolved = addresses) => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, resolved, config, 'local', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1794
- it('selects PostgreSQL when the environment authors no applicationDatabase', () => {
1795
- const env = backendEnv(createConfig({ applicationDatabase: undefined }));
1796
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBe('postgresql');
1797
- });
1798
- it('writes MongoDB explicitly when it is declared, so the backend never falls through to the env default', () => {
1799
- const env = backendEnv(createConfig({ applicationDatabase: { engine: DatabaseEngine.MONGODB } }));
1800
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBe('mongodb');
1801
- });
1802
- it('refuses a silent application whose environment resolves no PostgreSQL address', () => {
1803
- const withoutPostgres = { ...addresses, infra: { ...addresses.infra, postgresql: undefined } };
1804
- expect(() => backendEnv(createConfig({ applicationDatabase: undefined }), withoutPostgres)).toThrow(/selected because applicationDatabase is absent/);
1805
- });
1806
- it('gives a runtime that may not reach a database NO selection, rather than refusing it', () => {
1807
- // A minion with no resourceAccess has no database. Before the selection was gated on reachability,
1808
- // a PostgreSQL application made this throw, because the address was withheld from a runtime that
1809
- // was never meant to have one.
1810
- const env = PlatformEnvVarsBuilder.buildApplicationMinionEnv(appBootstrapCredentials, 'wonder-todos-marketing-scrapper', credentials, addresses, createConfig({ applicationDatabase: undefined }), 'local', declaredProviderScope([]), {}, // declared NO resourceAccess — the same shape the F-F pins use for "no database"
1811
- { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1812
- expect(env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER]).toBeUndefined();
1813
- expect(env[ApplicationBackendDataEnvKeys.POSTGRESQL_HOST]).toBeUndefined();
1814
- });
1815
- });
1816
- /**
1817
- * #1696 — the self-hosted immudb server's sysadmin reaches apps-manager ONLY, and only where the environment runs one.
1818
- *
1819
- * apps-manager uses it to give each application its own database and `READ_WRITE` user; before #1696 the server's admin
1820
- * password was the owning application's `providerEnv.IMMUDB_PASSWORD`, i.e. an application credential.
1821
- */
1822
- describe('PlatformEnvVarsBuilder — the immudb sysadmin is apps-manager\'s alone (#1696)', () => {
1823
- const IMMUDB_ADMIN_PASSWORD = 'immudb-sysadmin-generated-7c2dAa1-';
1824
- const withImmudbAdmin = {
1825
- ...credentials,
1826
- immudb: { stateSigningPrivateKey: 'sk', stateSigningPublicKey: 'pk', adminPassword: IMMUDB_ADMIN_PASSWORD },
1827
- };
1828
- const selfHosted = createEnvironment({
1829
- backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },
1830
- });
1831
- it('gives apps-manager the server address and the sysadmin password when the environment self-hosts immudb', () => {
1832
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(withImmudbAdmin, addresses, createConfig(), selfHosted);
1833
- expect(env[PlatformInfrastructureEnvKeys.IMMUDB_ADMIN_HOST]).toBe('immudb');
1834
- expect(env[PlatformInfrastructureEnvKeys.IMMUDB_ADMIN_PORT]).toBe('3322');
1835
- expect(env[PlatformInfrastructureEnvKeys.IMMUDB_ADMIN_PASSWORD]).toBe(IMMUDB_ADMIN_PASSWORD);
1836
- });
1837
- it('emits nothing when the environment runs no immudb, or holds no admin material', () => {
1838
- const managed = createEnvironment({
1839
- backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.MANAGED } },
1840
- });
1841
- for (const [secrets, environment] of [
1842
- [withImmudbAdmin, createEnvironment()],
1843
- [withImmudbAdmin, managed],
1844
- [credentials, selfHosted],
1845
- ]) {
1846
- const env = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(secrets, addresses, createConfig(), environment);
1847
- expect(env[PlatformInfrastructureEnvKeys.IMMUDB_ADMIN_HOST]).toBeUndefined();
1848
- expect(env[PlatformInfrastructureEnvKeys.IMMUDB_ADMIN_PASSWORD]).toBeUndefined();
1849
- }
1850
- });
1851
- it('never reaches an application backend, and is refused if any application-tier builder ever emits it', () => {
1852
- const backend = PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', withImmudbAdmin, addresses, createConfig({ backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } } }), 'local', declaredProviderScope(['immudb']), { deploymentLocationType: WildoLocationType.LOCAL, appDatabaseName: 'wonder_todos' });
1853
- expect(Object.values(backend).some((value) => value.includes(IMMUDB_ADMIN_PASSWORD))).toBe(false);
1854
- expect(() => assertNoPlatformCredentialInGeneratedEnv({ IMMUDB_PASSWORD: IMMUDB_ADMIN_PASSWORD }, withImmudbAdmin, 'testBuilder'))
1855
- .toThrow(/the immudb server administrator password under: IMMUDB_PASSWORD/);
1856
- });
1857
- });
1858
- /**
1859
- * #2000 — an application backend pointed at an Atlas cluster with no SRV address. Its authored
1860
- * `externalEndpoints.mongodb.connectionUrl` is then the cluster's `mongoURIWithOptions`: a comma-separated seed list
1861
- * carrying `ssl=true` and `replicaSet`. `new URL(...)` threw on it, so no env could be generated, and the env contract
1862
- * had no key to carry the TLS or the replica set even for a string that did parse.
1863
- */
1864
- describe('PlatformEnvVarsBuilder — an external MongoDB seed list reaches the backend whole (#2000)', () => {
1865
- const ATLAS_SEED_LIST = 'mongodb://c0-shard-00-00.fx.mongodb.net:27017,c0-shard-00-01.fx.mongodb.net:27017/'
1866
- + '?ssl=true&authSource=admin&replicaSet=atlas-fx-shard-0';
1867
- const managedAddresses = { ...addresses, infra: { ...addresses.infra, mongodb: null } };
1868
- const build = (connectionUrl) => PlatformEnvVarsBuilder.buildApplicationBackendEnv(appBootstrapCredentials, 'wonder-todos-api', credentials, managedAddresses, createConfig({
1869
- database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.MANAGED, provider: 'atlas' },
1870
- externalEndpoints: { mongodb: { connectionUrl } },
1871
- }), 'preview-eu', declaredProviderScope([]), { deploymentLocationType: WildoLocationType.REMOTE, appDatabaseName: 'wonder_todos' });
1872
- it('writes the whole host list, TLS and the replica set for a seed list', () => {
1873
- const env = build(ATLAS_SEED_LIST);
1874
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_HOST]).toBe('c0-shard-00-00.fx.mongodb.net:27017,c0-shard-00-01.fx.mongodb.net:27017');
1875
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_PROTOCOL]).toBe('mongodb');
1876
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE]).toBe('wonder_todos');
1877
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_TLS]).toBe('true');
1878
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_REPLICA_SET]).toBe('atlas-fx-shard-0');
1879
- });
1880
- it('leaves an SRV address as it was: its host and protocol, and no TLS or replica-set key it does not state', () => {
1881
- const env = build('mongodb+srv://user:s3cr3t-atlas-pw@cluster0.fx.mongodb.net/app_db?retryWrites=true');
1882
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_HOST]).toBe('cluster0.fx.mongodb.net');
1883
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_PROTOCOL]).toBe('mongodb+srv');
1884
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_TLS]).toBeUndefined();
1885
- expect(env[ApplicationBackendDataEnvKeys.MONGODB_REPLICA_SET]).toBeUndefined();
1886
- // The URL's credentials never reach the env: the backend reads them from its secrets.
1887
- expect(Object.values(env).some((value) => value.includes('s3cr3t-atlas-pw'))).toBe(false);
1888
- });
1889
- it('refuses, naming the field, a connection URL that names no MongoDB host', () => {
1890
- expect(() => build('postgresql://u:p@pg/db')).toThrow(/externalEndpoints\.mongodb\.connectionUrl/);
1891
- });
1892
- it('refuses a TLS value that is neither true nor false, rather than writing MONGODB_TLS=false (#2000 review)', () => {
1893
- expect(() => build(ATLAS_SEED_LIST.replace('ssl=true', 'ssl=yes'))).toThrow(/externalEndpoints\.mongodb\.connectionUrl/);
1894
- });
1895
- });
1896
- //# sourceMappingURL=env-vars-builder.service.test.js.map