@wildo-ai/wildo-cli 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1699) hide show
  1. package/bin/wildo.ts +12 -1
  2. package/dist/bin/wildo.js +13 -1
  3. package/dist/bin/wildo.js.map +1 -1
  4. package/dist/src/commands/__tests__/update.command.test.js +16 -2
  5. package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
  6. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  7. package/dist/src/commands/acp/probe.command.js +19 -1
  8. package/dist/src/commands/acp/probe.command.js.map +1 -1
  9. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  10. package/dist/src/commands/align-deps.command.js +3 -0
  11. package/dist/src/commands/align-deps.command.js.map +1 -1
  12. package/dist/src/commands/brand/propagate.command.d.ts +18 -38
  13. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  14. package/dist/src/commands/brand/propagate.command.js +32 -106
  15. package/dist/src/commands/brand/propagate.command.js.map +1 -1
  16. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
  17. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
  18. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
  19. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
  20. package/dist/src/commands/build/accept.command.d.ts +16 -0
  21. package/dist/src/commands/build/accept.command.d.ts.map +1 -0
  22. package/dist/src/commands/build/accept.command.js +37 -0
  23. package/dist/src/commands/build/accept.command.js.map +1 -0
  24. package/dist/src/commands/build/dispatches.command.d.ts +8 -0
  25. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
  26. package/dist/src/commands/build/dispatches.command.js +26 -0
  27. package/dist/src/commands/build/dispatches.command.js.map +1 -0
  28. package/dist/src/commands/build/next.command.d.ts +8 -0
  29. package/dist/src/commands/build/next.command.d.ts.map +1 -0
  30. package/dist/src/commands/build/next.command.js +31 -0
  31. package/dist/src/commands/build/next.command.js.map +1 -0
  32. package/dist/src/commands/build/rearm.command.d.ts +16 -0
  33. package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
  34. package/dist/src/commands/build/rearm.command.js +48 -0
  35. package/dist/src/commands/build/rearm.command.js.map +1 -0
  36. package/dist/src/commands/build/run.command.d.ts +15 -0
  37. package/dist/src/commands/build/run.command.d.ts.map +1 -0
  38. package/dist/src/commands/build/run.command.js +41 -0
  39. package/dist/src/commands/build/run.command.js.map +1 -0
  40. package/dist/src/commands/build/tasks.command.d.ts +8 -0
  41. package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
  42. package/dist/src/commands/build/tasks.command.js +24 -0
  43. package/dist/src/commands/build/tasks.command.js.map +1 -0
  44. package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
  45. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
  46. package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
  47. package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
  48. package/dist/src/commands/config/data-retention.command.d.ts +17 -0
  49. package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
  50. package/dist/src/commands/config/data-retention.command.js +58 -0
  51. package/dist/src/commands/config/data-retention.command.js.map +1 -0
  52. package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
  53. package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
  54. package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
  55. package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
  56. package/dist/src/commands/config/sync.command.d.ts +18 -5
  57. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  58. package/dist/src/commands/config/sync.command.js +132 -18
  59. package/dist/src/commands/config/sync.command.js.map +1 -1
  60. package/dist/src/commands/config/validate.command.d.ts +39 -2
  61. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  62. package/dist/src/commands/config/validate.command.js +186 -8
  63. package/dist/src/commands/config/validate.command.js.map +1 -1
  64. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
  65. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
  66. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
  67. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
  68. package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
  69. package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
  70. package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
  71. package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
  72. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
  73. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
  74. package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
  75. package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
  76. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
  77. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
  78. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
  79. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
  80. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
  81. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
  82. package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
  83. package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
  84. package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
  85. package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
  86. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
  87. package/dist/src/commands/context/assurance-basis.command.js +3 -2
  88. package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
  89. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  90. package/dist/src/commands/context/coherence.command.js +7 -5
  91. package/dist/src/commands/context/coherence.command.js.map +1 -1
  92. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  93. package/dist/src/commands/context/context-command.utils.js +9 -10
  94. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  95. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  96. package/dist/src/commands/context/health.command.js +7 -2
  97. package/dist/src/commands/context/health.command.js.map +1 -1
  98. package/dist/src/commands/context/journey.command.d.ts +123 -0
  99. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  100. package/dist/src/commands/context/journey.command.js +149 -33
  101. package/dist/src/commands/context/journey.command.js.map +1 -1
  102. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
  103. package/dist/src/commands/context/jurisdictions.command.js +2 -1
  104. package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
  105. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  106. package/dist/src/commands/context/list.command.js +6 -3
  107. package/dist/src/commands/context/list.command.js.map +1 -1
  108. package/dist/src/commands/context/pipelines.command.d.ts +25 -0
  109. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
  110. package/dist/src/commands/context/pipelines.command.js +149 -0
  111. package/dist/src/commands/context/pipelines.command.js.map +1 -0
  112. package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
  113. package/dist/src/commands/context/workspace.command.js +6 -4
  114. package/dist/src/commands/context/workspace.command.js.map +1 -1
  115. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
  116. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
  117. package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
  118. package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
  119. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
  120. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
  121. package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
  122. package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
  123. package/dist/src/commands/creation/accept.command.d.ts +12 -0
  124. package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
  125. package/dist/src/commands/creation/accept.command.js +34 -0
  126. package/dist/src/commands/creation/accept.command.js.map +1 -0
  127. package/dist/src/commands/creation/answer.command.d.ts +30 -0
  128. package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
  129. package/dist/src/commands/creation/answer.command.js +154 -0
  130. package/dist/src/commands/creation/answer.command.js.map +1 -0
  131. package/dist/src/commands/creation/brief.command.d.ts +16 -0
  132. package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
  133. package/dist/src/commands/creation/brief.command.js +50 -0
  134. package/dist/src/commands/creation/brief.command.js.map +1 -0
  135. package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
  136. package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
  137. package/dist/src/commands/creation/deliberate.command.js +55 -0
  138. package/dist/src/commands/creation/deliberate.command.js.map +1 -0
  139. package/dist/src/commands/creation/diff.command.d.ts +12 -0
  140. package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
  141. package/dist/src/commands/creation/diff.command.js +33 -0
  142. package/dist/src/commands/creation/diff.command.js.map +1 -0
  143. package/dist/src/commands/creation/feed.command.d.ts +21 -0
  144. package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
  145. package/dist/src/commands/creation/feed.command.js +135 -0
  146. package/dist/src/commands/creation/feed.command.js.map +1 -0
  147. package/dist/src/commands/creation/loop.command.d.ts +19 -0
  148. package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
  149. package/dist/src/commands/creation/loop.command.js +52 -0
  150. package/dist/src/commands/creation/loop.command.js.map +1 -0
  151. package/dist/src/commands/creation/persona.command.d.ts +16 -0
  152. package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
  153. package/dist/src/commands/creation/persona.command.js +54 -0
  154. package/dist/src/commands/creation/persona.command.js.map +1 -0
  155. package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
  156. package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
  157. package/dist/src/commands/creation/prompt-hook.command.js +24 -0
  158. package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
  159. package/dist/src/commands/creation/pulse.command.d.ts +14 -0
  160. package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
  161. package/dist/src/commands/creation/pulse.command.js +25 -0
  162. package/dist/src/commands/creation/pulse.command.js.map +1 -0
  163. package/dist/src/commands/creation/questions.command.d.ts +16 -0
  164. package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
  165. package/dist/src/commands/creation/questions.command.js +57 -0
  166. package/dist/src/commands/creation/questions.command.js.map +1 -0
  167. package/dist/src/commands/creation/revert.command.d.ts +15 -0
  168. package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
  169. package/dist/src/commands/creation/revert.command.js +41 -0
  170. package/dist/src/commands/creation/revert.command.js.map +1 -0
  171. package/dist/src/commands/creation/run.command.d.ts +15 -0
  172. package/dist/src/commands/creation/run.command.d.ts.map +1 -0
  173. package/dist/src/commands/creation/run.command.js +64 -0
  174. package/dist/src/commands/creation/run.command.js.map +1 -0
  175. package/dist/src/commands/creation/statusline.command.d.ts +14 -0
  176. package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
  177. package/dist/src/commands/creation/statusline.command.js +24 -0
  178. package/dist/src/commands/creation/statusline.command.js.map +1 -0
  179. package/dist/src/commands/creation/watch.command.d.ts +20 -0
  180. package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
  181. package/dist/src/commands/creation/watch.command.js +54 -0
  182. package/dist/src/commands/creation/watch.command.js.map +1 -0
  183. package/dist/src/commands/creation/why.command.d.ts +15 -0
  184. package/dist/src/commands/creation/why.command.d.ts.map +1 -0
  185. package/dist/src/commands/creation/why.command.js +45 -0
  186. package/dist/src/commands/creation/why.command.js.map +1 -0
  187. package/dist/src/commands/creation/writes.command.d.ts +8 -0
  188. package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
  189. package/dist/src/commands/creation/writes.command.js +29 -0
  190. package/dist/src/commands/creation/writes.command.js.map +1 -0
  191. package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
  192. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  193. package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
  194. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  195. package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
  196. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  197. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
  198. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  199. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  200. package/dist/src/commands/dev/start.command.js +3 -1
  201. package/dist/src/commands/dev/start.command.js.map +1 -1
  202. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  203. package/dist/src/commands/dev/sync-csp.command.js +8 -4
  204. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  205. package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
  206. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
  207. package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
  208. package/dist/src/commands/docs/publish.command.js +3 -1
  209. package/dist/src/commands/docs/publish.command.js.map +1 -1
  210. package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
  211. package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
  212. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  213. package/dist/src/commands/frontend/publish.command.js +6 -2
  214. package/dist/src/commands/frontend/publish.command.js.map +1 -1
  215. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
  216. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  217. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +62 -7
  218. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
  219. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  220. package/dist/src/commands/fwk/dev-skills.command.js +8 -0
  221. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  222. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  223. package/dist/src/commands/fwk/generate-docs.command.js +1 -0
  224. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
  225. package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
  226. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
  227. package/dist/src/commands/fwk/generate-providers.command.js +19 -8
  228. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  229. package/dist/src/commands/fwk/publish-all.command.d.ts +35 -4
  230. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  231. package/dist/src/commands/fwk/publish-all.command.js +63 -9
  232. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  233. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
  234. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  235. package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
  236. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  237. package/dist/src/commands/generate/labelling-command.utils.js +70 -0
  238. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  239. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  240. package/dist/src/commands/generate/labels-plan.command.js +19 -1
  241. package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
  242. package/dist/src/commands/generate/translate.command.d.ts +6 -0
  243. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  244. package/dist/src/commands/generate/translate.command.js +8 -2
  245. package/dist/src/commands/generate/translate.command.js.map +1 -1
  246. package/dist/src/commands/init.command.d.ts +5 -0
  247. package/dist/src/commands/init.command.d.ts.map +1 -1
  248. package/dist/src/commands/init.command.js +47 -3
  249. package/dist/src/commands/init.command.js.map +1 -1
  250. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  251. package/dist/src/commands/local/deregister.command.js +19 -7
  252. package/dist/src/commands/local/deregister.command.js.map +1 -1
  253. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  254. package/dist/src/commands/local/dev.command.js +15 -1
  255. package/dist/src/commands/local/dev.command.js.map +1 -1
  256. package/dist/src/commands/local/doctor.command.d.ts +1 -1
  257. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  258. package/dist/src/commands/local/doctor.command.js +21 -3
  259. package/dist/src/commands/local/doctor.command.js.map +1 -1
  260. package/dist/src/commands/local/restore.command.d.ts.map +1 -1
  261. package/dist/src/commands/local/restore.command.js +11 -7
  262. package/dist/src/commands/local/restore.command.js.map +1 -1
  263. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  264. package/dist/src/commands/lock/check.command.js +21 -24
  265. package/dist/src/commands/lock/check.command.js.map +1 -1
  266. package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
  267. package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
  268. package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
  269. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  270. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  271. package/dist/src/commands/market/generate.command.js +18 -2
  272. package/dist/src/commands/market/generate.command.js.map +1 -1
  273. package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
  274. package/dist/src/commands/prefs/set.command.js +13 -24
  275. package/dist/src/commands/prefs/set.command.js.map +1 -1
  276. package/dist/src/commands/providers/show.command.d.ts +21 -14
  277. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  278. package/dist/src/commands/providers/show.command.js +44 -24
  279. package/dist/src/commands/providers/show.command.js.map +1 -1
  280. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
  281. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
  282. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
  283. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
  284. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
  285. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
  286. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
  287. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
  288. package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
  289. package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
  290. package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
  291. package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
  292. package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
  293. package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
  294. package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
  295. package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
  296. package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
  297. package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
  298. package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
  299. package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
  300. package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
  301. package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
  302. package/dist/src/commands/registry/add.command.d.ts +4 -0
  303. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  304. package/dist/src/commands/registry/add.command.js +196 -116
  305. package/dist/src/commands/registry/add.command.js.map +1 -1
  306. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  307. package/dist/src/commands/registry/info.command.js +17 -4
  308. package/dist/src/commands/registry/info.command.js.map +1 -1
  309. package/dist/src/commands/registry/key.command.d.ts +32 -0
  310. package/dist/src/commands/registry/key.command.d.ts.map +1 -0
  311. package/dist/src/commands/registry/key.command.js +129 -0
  312. package/dist/src/commands/registry/key.command.js.map +1 -0
  313. package/dist/src/commands/registry/login.command.d.ts +5 -0
  314. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  315. package/dist/src/commands/registry/login.command.js +7 -2
  316. package/dist/src/commands/registry/login.command.js.map +1 -1
  317. package/dist/src/commands/registry/outdated.command.d.ts +21 -0
  318. package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
  319. package/dist/src/commands/registry/outdated.command.js +81 -0
  320. package/dist/src/commands/registry/outdated.command.js.map +1 -0
  321. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  322. package/dist/src/commands/registry/publish.command.js +95 -20
  323. package/dist/src/commands/registry/publish.command.js.map +1 -1
  324. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  325. package/dist/src/commands/registry/remove.command.js +155 -42
  326. package/dist/src/commands/registry/remove.command.js.map +1 -1
  327. package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
  328. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  329. package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
  330. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  331. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  332. package/dist/src/commands/registry/search.command.js +51 -9
  333. package/dist/src/commands/registry/search.command.js.map +1 -1
  334. package/dist/src/commands/registry/status.command.d.ts +15 -0
  335. package/dist/src/commands/registry/status.command.d.ts.map +1 -0
  336. package/dist/src/commands/registry/status.command.js +61 -0
  337. package/dist/src/commands/registry/status.command.js.map +1 -0
  338. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  339. package/dist/src/commands/registry/update.command.js +307 -179
  340. package/dist/src/commands/registry/update.command.js.map +1 -1
  341. package/dist/src/commands/registry/yank.command.d.ts +19 -0
  342. package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
  343. package/dist/src/commands/registry/yank.command.js +80 -0
  344. package/dist/src/commands/registry/yank.command.js.map +1 -0
  345. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
  346. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
  347. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
  348. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
  349. package/dist/src/commands/secrets/github.command.d.ts +7 -0
  350. package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
  351. package/dist/src/commands/secrets/github.command.js +89 -0
  352. package/dist/src/commands/secrets/github.command.js.map +1 -0
  353. package/dist/src/commands/secrets/list.command.d.ts +14 -0
  354. package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
  355. package/dist/src/commands/secrets/list.command.js +154 -0
  356. package/dist/src/commands/secrets/list.command.js.map +1 -0
  357. package/dist/src/commands/secrets/set.command.d.ts +44 -0
  358. package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
  359. package/dist/src/commands/secrets/set.command.js +131 -0
  360. package/dist/src/commands/secrets/set.command.js.map +1 -0
  361. package/dist/src/commands/secrets/unset.command.d.ts +7 -0
  362. package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
  363. package/dist/src/commands/secrets/unset.command.js +42 -0
  364. package/dist/src/commands/secrets/unset.command.js.map +1 -0
  365. package/dist/src/commands/update.command.js +10 -12
  366. package/dist/src/commands/update.command.js.map +1 -1
  367. package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
  368. package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
  369. package/dist/src/commands/website/audit.command.d.ts +8 -0
  370. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  371. package/dist/src/commands/website/audit.command.js +39 -2
  372. package/dist/src/commands/website/audit.command.js.map +1 -1
  373. package/dist/src/commands/workbench/open.command.d.ts +8 -0
  374. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  375. package/dist/src/commands/workbench/open.command.js +29 -3
  376. package/dist/src/commands/workbench/open.command.js.map +1 -1
  377. package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
  378. package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
  379. package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
  380. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  381. package/dist/src/kernel/bootstrap.js +4 -1
  382. package/dist/src/kernel/bootstrap.js.map +1 -1
  383. package/dist/src/kernel/hooks.d.ts.map +1 -1
  384. package/dist/src/kernel/hooks.js +7 -1
  385. package/dist/src/kernel/hooks.js.map +1 -1
  386. package/dist/src/kernel/types.d.ts +7 -0
  387. package/dist/src/kernel/types.d.ts.map +1 -1
  388. package/dist/src/kernel/types.js.map +1 -1
  389. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
  390. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
  391. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
  392. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
  393. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
  394. package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
  395. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
  396. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
  397. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
  398. package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
  399. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
  400. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
  401. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
  402. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  403. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
  404. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  405. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
  406. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  407. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
  408. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
  409. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
  410. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
  411. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
  412. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
  413. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
  414. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
  415. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
  416. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
  417. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
  418. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
  419. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
  420. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
  421. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
  422. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
  423. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
  424. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
  425. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
  426. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
  427. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
  428. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
  429. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
  430. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  431. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
  432. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  433. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
  434. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
  435. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
  436. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
  437. package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
  438. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  439. package/dist/src/services/application/app-bootstrap.service.js +72 -40
  440. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  441. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  442. package/dist/src/services/application/application-assets-delivery.service.js +5 -2
  443. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  444. package/dist/src/services/application/application-creation-readiness.service.js +2 -2
  445. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  446. package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
  447. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  448. package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
  449. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  450. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
  451. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
  452. package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
  453. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
  454. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  455. package/dist/src/services/application/local-application-initialization.service.js +25 -19
  456. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  457. package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
  458. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  459. package/dist/src/services/application/provider-package-links.service.js +140 -41
  460. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  461. package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
  462. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  463. package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
  464. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  465. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  466. package/dist/src/services/application/saas-skeleton.service.js +20 -11
  467. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  468. package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
  469. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
  470. package/dist/src/services/application/systems-of-record-library.service.js +96 -0
  471. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
  472. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
  473. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
  474. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
  475. package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
  476. package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
  477. package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
  478. package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
  479. package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
  480. package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
  481. package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
  482. package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
  483. package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
  484. package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
  485. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
  486. package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
  487. package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
  488. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
  489. package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
  490. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
  491. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
  492. package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
  493. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
  494. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
  495. package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
  496. package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
  497. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
  498. package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
  499. package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
  500. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
  501. package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
  502. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
  503. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  504. package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
  505. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  506. package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
  507. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  508. package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
  509. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  510. package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
  511. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  512. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
  513. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
  514. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
  515. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  516. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
  517. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  518. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
  519. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
  520. package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
  521. package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
  522. package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
  523. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  524. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
  525. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
  526. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
  527. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
  528. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
  529. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
  530. package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
  531. package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
  532. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
  533. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
  534. package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
  535. package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
  536. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
  537. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
  538. package/dist/src/services/companion/build-console.service.d.ts +84 -0
  539. package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
  540. package/dist/src/services/companion/build-console.service.js +64 -0
  541. package/dist/src/services/companion/build-console.service.js.map +1 -0
  542. package/dist/src/services/companion/companion-client.service.d.ts +28 -0
  543. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  544. package/dist/src/services/companion/companion-client.service.js +54 -6
  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 +23 -0
  547. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
  548. package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
  549. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
  550. package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
  551. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  552. package/dist/src/services/companion/companion-local-token.utils.js +19 -1
  553. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  554. package/dist/src/services/companion/console-fast-path.d.ts +104 -0
  555. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
  556. package/dist/src/services/companion/console-fast-path.js +281 -0
  557. package/dist/src/services/companion/console-fast-path.js.map +1 -0
  558. package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
  559. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
  560. package/dist/src/services/companion/console-verb.utils.js +41 -0
  561. package/dist/src/services/companion/console-verb.utils.js.map +1 -0
  562. package/dist/src/services/companion/creation-console.service.d.ts +173 -0
  563. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
  564. package/dist/src/services/companion/creation-console.service.js +377 -0
  565. package/dist/src/services/companion/creation-console.service.js.map +1 -0
  566. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
  567. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
  568. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
  569. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
  570. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
  571. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
  572. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
  573. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
  574. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
  575. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
  576. package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
  577. package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
  578. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
  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 +6 -1
  581. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  582. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
  583. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
  584. package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
  585. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
  586. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  587. package/dist/src/services/context/context-manager.service.js +1 -0
  588. package/dist/src/services/context/context-manager.service.js.map +1 -1
  589. package/dist/src/services/context/context.schemas.d.ts +8 -0
  590. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  591. package/dist/src/services/context/context.schemas.js.map +1 -1
  592. package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
  593. package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
  594. package/dist/src/services/context/machine-preferences.writer.js +30 -0
  595. package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
  596. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
  597. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
  598. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
  599. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
  600. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
  601. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
  602. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
  603. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
  604. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
  605. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
  606. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
  607. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
  608. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
  609. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
  610. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
  611. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
  612. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
  613. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
  614. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
  615. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
  616. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
  617. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
  618. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
  619. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
  620. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
  621. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
  622. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
  623. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
  624. package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
  625. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
  626. package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
  627. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
  628. package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
  629. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
  630. package/dist/src/services/credentials/application-secrets.service.js +314 -0
  631. package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
  632. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
  633. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  634. package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
  635. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  636. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
  637. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  638. package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
  639. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  640. package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
  641. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  642. package/dist/src/services/credentials/credentials.schemas.js +33 -0
  643. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  644. package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
  645. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  646. package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
  647. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  648. package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
  649. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
  650. package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
  651. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
  652. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
  653. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  654. package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
  655. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  656. package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
  657. package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
  658. package/dist/src/services/credentials/provider-secret-format.js +24 -0
  659. package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
  660. package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
  661. package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
  662. package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
  663. package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
  664. package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
  665. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
  666. package/dist/src/services/credentials/secret-requirements.service.js +402 -0
  667. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
  668. package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
  669. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  670. package/dist/src/services/credentials/secrets-reader.service.js +6 -1
  671. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  672. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  673. package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
  674. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  675. package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
  676. package/dist/src/services/data-services/data-services.schemas.js +15 -15
  677. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  678. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
  679. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
  680. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
  681. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
  682. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
  683. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
  684. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
  685. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
  686. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
  687. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  688. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
  689. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
  690. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
  691. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
  692. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
  693. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
  694. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
  695. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  696. package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
  697. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  698. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
  699. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
  700. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
  701. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  702. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
  703. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
  704. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
  705. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  706. package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
  707. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  708. package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
  709. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
  710. package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
  711. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
  712. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
  713. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  714. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
  715. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  716. package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
  717. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  718. package/dist/src/services/deployment/docker/docker.service.js +50 -0
  719. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  720. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
  721. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
  722. package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
  723. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
  724. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
  725. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
  726. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
  727. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
  728. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
  729. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  730. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
  731. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  732. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
  733. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
  734. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
  735. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
  736. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  737. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
  738. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  739. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
  740. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  741. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
  742. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  743. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
  744. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  745. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
  746. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  747. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  748. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
  749. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  750. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
  751. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  752. package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
  753. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  754. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
  755. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  756. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
  757. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  758. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
  759. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  760. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
  761. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
  762. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
  763. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  764. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
  765. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
  766. package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
  767. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
  768. package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
  769. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  770. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  771. package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
  772. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  773. package/dist/src/services/environment/env-vars-builder.service.js +201 -24
  774. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  775. package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
  776. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  777. package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
  778. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  779. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  780. package/dist/src/services/environment/environment-setup.service.js +23 -10
  781. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  782. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
  783. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
  784. package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
  785. package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
  786. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
  787. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
  788. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
  789. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
  790. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
  791. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
  792. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
  793. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
  794. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
  795. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
  796. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
  797. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
  798. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
  799. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  800. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
  801. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  802. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
  803. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  804. package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
  805. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
  806. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
  807. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
  808. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
  809. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
  810. package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
  811. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
  812. package/dist/src/services/framework/application-claude-settings.js +284 -0
  813. package/dist/src/services/framework/application-claude-settings.js.map +1 -0
  814. package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
  815. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
  816. package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
  817. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
  818. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
  819. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  820. package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
  821. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  822. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
  823. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  824. package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
  825. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  826. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
  827. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  828. package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
  829. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  830. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
  831. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  832. package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
  833. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  834. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
  835. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  836. package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
  837. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  838. package/dist/src/services/framework/framework-update.service.d.ts +35 -5
  839. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  840. package/dist/src/services/framework/framework-update.service.js +41 -6
  841. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  842. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
  843. package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
  844. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
  845. package/dist/src/services/framework/package-install.service.d.ts +6 -0
  846. package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
  847. package/dist/src/services/framework/package-install.service.js +18 -0
  848. package/dist/src/services/framework/package-install.service.js.map +1 -0
  849. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
  850. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
  851. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
  852. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
  853. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
  854. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
  855. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
  856. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
  857. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
  858. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
  859. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
  860. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
  861. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
  862. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
  863. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
  864. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
  865. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
  866. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
  867. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
  868. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
  869. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
  870. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
  871. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
  872. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
  873. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
  874. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
  875. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
  876. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
  877. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
  878. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
  879. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  880. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
  881. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  882. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
  883. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  884. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
  885. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  886. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
  887. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  888. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  889. package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
  890. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  891. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
  892. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  893. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
  894. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  895. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
  896. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
  897. package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
  898. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
  899. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
  900. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
  901. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
  902. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
  903. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
  904. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  905. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  906. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
  907. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  908. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  909. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
  910. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
  911. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
  912. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
  913. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
  914. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
  915. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
  916. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
  917. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
  918. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
  919. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
  920. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
  921. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
  922. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
  923. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
  924. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
  925. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
  926. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
  927. package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
  928. package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
  929. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
  930. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
  931. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
  932. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
  933. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
  934. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
  935. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
  936. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
  937. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
  938. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
  939. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
  940. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
  941. package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
  942. package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
  943. package/dist/src/services/registry/artifact-trust.utils.js +46 -0
  944. package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
  945. package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
  946. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  947. package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
  948. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  949. package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
  950. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
  951. package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
  952. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
  953. package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
  954. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
  955. package/dist/src/services/registry/installed-file-state.utils.js +209 -0
  956. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
  957. package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
  958. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
  959. package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
  960. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
  961. package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
  962. package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
  963. package/dist/src/services/registry/migration-obligation.utils.js +77 -0
  964. package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
  965. package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
  966. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
  967. package/dist/src/services/registry/module-acquisition.utils.js +78 -0
  968. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
  969. package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
  970. package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
  971. package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
  972. package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
  973. package/dist/src/services/registry/module-registration.service.d.ts +171 -0
  974. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
  975. package/dist/src/services/registry/module-registration.service.js +788 -0
  976. package/dist/src/services/registry/module-registration.service.js.map +1 -0
  977. package/dist/src/services/registry/provider-install-step.d.ts +23 -0
  978. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
  979. package/dist/src/services/registry/provider-install-step.js +21 -0
  980. package/dist/src/services/registry/provider-install-step.js.map +1 -0
  981. package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
  982. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
  983. package/dist/src/services/registry/provider-module-checks.service.js +194 -0
  984. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
  985. package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
  986. package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
  987. package/dist/src/services/registry/provider-module-identity.service.js +146 -0
  988. package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
  989. package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
  990. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
  991. package/dist/src/services/registry/provider-wiring.service.js +164 -0
  992. package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
  993. package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
  994. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  995. package/dist/src/services/registry/registry-command.utils.js +75 -2
  996. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  997. package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
  998. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  999. package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
  1000. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
  1001. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  1002. package/dist/src/services/registry/registry-credentials.service.js +5 -2
  1003. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  1004. package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
  1005. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  1006. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  1007. package/dist/src/services/security/csp-sync.service.js +5 -9
  1008. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  1009. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
  1010. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
  1011. package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
  1012. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
  1013. package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
  1014. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
  1015. package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
  1016. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  1017. package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
  1018. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  1019. package/dist/src/services/website/website-workspace.service.d.ts +15 -0
  1020. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
  1021. package/dist/src/services/website/website-workspace.service.js +26 -0
  1022. package/dist/src/services/website/website-workspace.service.js.map +1 -0
  1023. package/framework-root-package.json +7 -1
  1024. package/package.json +24 -18
  1025. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
  1026. package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
  1027. package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
  1028. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
  1029. package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
  1030. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
  1031. package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
  1032. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
  1033. package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
  1034. package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
  1035. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
  1036. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
  1037. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
  1038. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
  1039. package/templates/saas/engine-peer-closure.json +15 -3
  1040. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
  1041. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
  1042. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
  1043. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
  1044. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
  1045. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
  1046. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
  1047. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
  1048. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
  1049. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
  1050. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
  1051. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
  1052. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
  1053. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
  1054. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
  1055. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
  1056. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
  1057. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
  1058. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
  1059. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
  1060. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
  1061. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
  1062. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
  1063. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
  1064. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
  1065. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
  1066. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
  1067. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
  1068. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
  1069. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
  1070. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
  1071. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
  1072. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
  1073. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
  1074. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
  1075. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
  1076. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
  1077. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
  1078. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
  1079. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
  1080. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
  1081. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
  1082. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
  1083. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
  1084. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
  1085. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
  1086. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
  1087. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
  1088. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
  1089. package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
  1090. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
  1091. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
  1092. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
  1093. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
  1094. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
  1095. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
  1096. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
  1097. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
  1098. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
  1099. package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
  1100. package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
  1101. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
  1102. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
  1103. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
  1104. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
  1105. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
  1106. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
  1107. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
  1108. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
  1109. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
  1110. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
  1111. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
  1112. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
  1113. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
  1114. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
  1115. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
  1116. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
  1117. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
  1118. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
  1119. package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
  1120. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
  1121. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
  1122. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
  1123. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
  1124. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
  1125. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
  1126. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
  1127. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
  1128. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
  1129. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
  1130. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
  1131. package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
  1132. package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
  1133. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
  1134. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
  1135. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
  1136. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
  1137. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
  1138. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
  1139. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
  1140. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
  1141. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
  1142. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
  1143. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
  1144. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
  1145. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
  1146. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
  1147. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
  1148. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
  1149. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
  1150. package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
  1151. package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
  1152. package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
  1153. package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
  1154. package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
  1155. package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
  1156. package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
  1157. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
  1158. package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
  1159. package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
  1160. package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
  1161. package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
  1162. package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
  1163. package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
  1164. package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
  1165. package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
  1166. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
  1167. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
  1168. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
  1169. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
  1170. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
  1171. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
  1172. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
  1173. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
  1174. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
  1175. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
  1176. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
  1177. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
  1178. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
  1179. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
  1180. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
  1181. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
  1182. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
  1183. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
  1184. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
  1185. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
  1186. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
  1187. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
  1188. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
  1189. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
  1190. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
  1191. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
  1192. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
  1193. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
  1194. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
  1195. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
  1196. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
  1197. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
  1198. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
  1199. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
  1200. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
  1201. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
  1202. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
  1203. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
  1204. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
  1205. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
  1206. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
  1207. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
  1208. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
  1209. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
  1210. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
  1211. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
  1212. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
  1213. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
  1214. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
  1215. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
  1216. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
  1217. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
  1218. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
  1219. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
  1220. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
  1221. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
  1222. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
  1223. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
  1224. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
  1225. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
  1226. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
  1227. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
  1228. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
  1229. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
  1230. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
  1231. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
  1232. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
  1233. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
  1234. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
  1235. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
  1236. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
  1237. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
  1238. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
  1239. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
  1240. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
  1241. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
  1242. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
  1243. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
  1244. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
  1245. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
  1246. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
  1247. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
  1248. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
  1249. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
  1250. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
  1251. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
  1252. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
  1253. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
  1254. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
  1255. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
  1256. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
  1257. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
  1258. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
  1259. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
  1260. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
  1261. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
  1262. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
  1263. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
  1264. package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
  1265. package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
  1266. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
  1267. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
  1268. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
  1269. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
  1270. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
  1271. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
  1272. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
  1273. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
  1274. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
  1275. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
  1276. package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
  1277. package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
  1278. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
  1279. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
  1280. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
  1281. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
  1282. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
  1283. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
  1284. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
  1285. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
  1286. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
  1287. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
  1288. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
  1289. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
  1290. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
  1291. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
  1292. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
  1293. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
  1294. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
  1295. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
  1296. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
  1297. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
  1298. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
  1299. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
  1300. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
  1301. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
  1302. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
  1303. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
  1304. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
  1305. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
  1306. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
  1307. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
  1308. package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
  1309. package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
  1310. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
  1311. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
  1312. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
  1313. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
  1314. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
  1315. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
  1316. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
  1317. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
  1318. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
  1319. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
  1320. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
  1321. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
  1322. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
  1323. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
  1324. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
  1325. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
  1326. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
  1327. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
  1328. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
  1329. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
  1330. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
  1331. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
  1332. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
  1333. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
  1334. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
  1335. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
  1336. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
  1337. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
  1338. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
  1339. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
  1340. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
  1341. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
  1342. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
  1343. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
  1344. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
  1345. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
  1346. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
  1347. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
  1348. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
  1349. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
  1350. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
  1351. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
  1352. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
  1353. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
  1354. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
  1355. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
  1356. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
  1357. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
  1358. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
  1359. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
  1360. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
  1361. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
  1362. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
  1363. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
  1364. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
  1365. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
  1366. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
  1367. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
  1368. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
  1369. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
  1370. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
  1371. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
  1372. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
  1373. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
  1374. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
  1375. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
  1376. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
  1377. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
  1378. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
  1379. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
  1380. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
  1381. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
  1382. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
  1383. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
  1384. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
  1385. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
  1386. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
  1387. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
  1388. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
  1389. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
  1390. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
  1391. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
  1392. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
  1393. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
  1394. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
  1395. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
  1396. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
  1397. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
  1398. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
  1399. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
  1400. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
  1401. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
  1402. package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
  1403. package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
  1404. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
  1405. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
  1406. package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
  1407. package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
  1408. package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
  1409. package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
  1410. package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
  1411. package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
  1412. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
  1413. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
  1414. package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
  1415. package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
  1416. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
  1417. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
  1418. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
  1419. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
  1420. package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
  1421. package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
  1422. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
  1423. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
  1424. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
  1425. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
  1426. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
  1427. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
  1428. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
  1429. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
  1430. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
  1431. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
  1432. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
  1433. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
  1434. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
  1435. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
  1436. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
  1437. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
  1438. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
  1439. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
  1440. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
  1441. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
  1442. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
  1443. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
  1444. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
  1445. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
  1446. package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
  1447. package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
  1448. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
  1449. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
  1450. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
  1451. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
  1452. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
  1453. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
  1454. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
  1455. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
  1456. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
  1457. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
  1458. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
  1459. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
  1460. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
  1461. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
  1462. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
  1463. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
  1464. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
  1465. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
  1466. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
  1467. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
  1468. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
  1469. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
  1470. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
  1471. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
  1472. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
  1473. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
  1474. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
  1475. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
  1476. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
  1477. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
  1478. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
  1479. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
  1480. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
  1481. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
  1482. package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
  1483. package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
  1484. package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
  1485. package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
  1486. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
  1487. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
  1488. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
  1489. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
  1490. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
  1491. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
  1492. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
  1493. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
  1494. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
  1495. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
  1496. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
  1497. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
  1498. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
  1499. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
  1500. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
  1501. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
  1502. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
  1503. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
  1504. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
  1505. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
  1506. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
  1507. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
  1508. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
  1509. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
  1510. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
  1511. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
  1512. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
  1513. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
  1514. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
  1515. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
  1516. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
  1517. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
  1518. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
  1519. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
  1520. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
  1521. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
  1522. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
  1523. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
  1524. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
  1525. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
  1526. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
  1527. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
  1528. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
  1529. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
  1530. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
  1531. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
  1532. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
  1533. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
  1534. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
  1535. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
  1536. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
  1537. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
  1538. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
  1539. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
  1540. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
  1541. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
  1542. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
  1543. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
  1544. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
  1545. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
  1546. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
  1547. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
  1548. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
  1549. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
  1550. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
  1551. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
  1552. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
  1553. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
  1554. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
  1555. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
  1556. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
  1557. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
  1558. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
  1559. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
  1560. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
  1561. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
  1562. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
  1563. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
  1564. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
  1565. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
  1566. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
  1567. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
  1568. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
  1569. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
  1570. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
  1571. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
  1572. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
  1573. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
  1574. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
  1575. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
  1576. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
  1577. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
  1578. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
  1579. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
  1580. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
  1581. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
  1582. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
  1583. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
  1584. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
  1585. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
  1586. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
  1587. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
  1588. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
  1589. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
  1590. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
  1591. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
  1592. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
  1593. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
  1594. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
  1595. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
  1596. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
  1597. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
  1598. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
  1599. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
  1600. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
  1601. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
  1602. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
  1603. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
  1604. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
  1605. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
  1606. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
  1607. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
  1608. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
  1609. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
  1610. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
  1611. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
  1612. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
  1613. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
  1614. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
  1615. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
  1616. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
  1617. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
  1618. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
  1619. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
  1620. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
  1621. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
  1622. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
  1623. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
  1624. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
  1625. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
  1626. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
  1627. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
  1628. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
  1629. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
  1630. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
  1631. package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
  1632. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
  1633. package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
  1634. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
  1635. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
  1636. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
  1637. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
  1638. package/templates/saas/scenarios/add-module/scenario.json +8 -1
  1639. package/templates/saas/scenarios/add-provider/scenario.json +10 -16
  1640. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
  1641. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
  1642. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
  1643. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
  1644. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
  1645. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
  1646. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
  1647. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
  1648. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
  1649. package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
  1650. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
  1651. package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
  1652. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
  1653. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
  1654. package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
  1655. package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
  1656. package/templates/saas/scenarios/add-website/scenario.json +3 -4
  1657. package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
  1658. package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
  1659. package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
  1660. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
  1661. package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
  1662. package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
  1663. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
  1664. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
  1665. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
  1666. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
  1667. package/templates/saas/skeleton/gitignore +4 -0
  1668. package/templates/saas/skeleton/prettierignore +7 -0
  1669. package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
  1670. package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
  1671. package/wildo-framework.info.json +1 -1
  1672. package/dist/src/commands/workbench/rearm-task.command.js +0 -61
  1673. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
  1674. package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
  1675. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
  1676. package/dist/src/services/brand/brand-asset-projection.js +0 -68
  1677. package/dist/src/services/brand/brand-destination-utils.js +0 -227
  1678. package/dist/src/services/brand/brand-propagation.types.js +0 -22
  1679. package/dist/src/services/brand/brand-ssot-reader.js +0 -146
  1680. package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
  1681. package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
  1682. package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
  1683. package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
  1684. package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
  1685. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
  1686. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
  1687. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
  1688. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
  1689. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
  1690. package/dist/tsconfig.build.tsbuildinfo +0 -1
  1691. package/dist/tsconfig.tsbuildinfo +0 -1
  1692. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
  1693. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
  1694. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
  1695. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
  1696. package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
  1697. /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
  1698. /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
  1699. /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-template-contracts.test.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/deployment-template-contracts.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE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readdirSync } from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport { fileURLToPath } from 'url';\nimport { APP_RUNTIME_SUBDIR_NAMES, AppFrontendType, WORKSPACE_HOME_NAMES, WildoDeploymentRuntime, WildoImageTagStrategy } from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport {\n SERVICE_IMAGE_BUILD_ARG_NAMES,\n generateWorkflow,\n resolveServiceImageBuildArgs,\n resolveServiceImageDockerfilePath,\n} from '../ci-workflow-generator.service';\nimport { TemplateProcessor } from '../../../infrastructure/io/template-processor';\n\nconst repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../..');\n\n/**\n * Repo-root-relative deploy zone as the generated workflows must address it.\n *\n * Rebuilt from the SAME layout constants\n * (`EnvironmentPaths.resolveScopedDeployArtifactsDir` composes\n * `WORKSPACE_HOME_NAMES.APP_RUNTIME_HOME` + `APP_RUNTIME_SUBDIR_NAMES.DEPLOY`),\n * so relocating the zone in the layout vocabulary without updating the `.hbs`\n * templates fails here instead of shipping a workflow that `kubectl apply`s a\n * path nothing renders to.\n */\nconst DEPLOY_ZONE_RELATIVE_PATH = `${WORKSPACE_HOME_NAMES.APP_RUNTIME_HOME}/${APP_RUNTIME_SUBDIR_NAMES.DEPLOY}`;\n\ndescribe('deployment template contracts', () => {\n /*\n * #984: the generated deploy workflow built every service from `<path>/Dockerfile`, and nothing\n * created most of them — the backend's, the website's, the technical doc's. The templates' own\n * header said each service \"has its own Dockerfile\", so the first deploy of a generated application\n * failed at the build step of the one image every application has, and the generator's tests only\n * ever exercised the rendered YAML.\n *\n * This holds every service path the shipped templates DECLARE — the skeleton's `services` block and\n * every scenario's `ts-object-append` entry that carries a `path` — to a Dockerfile at exactly the\n * location `resolveServiceImageDockerfilePath` maps it to, which is the mapping `wildo config sync\n * --domain cicd` uses. A service kind added tomorrow without one fails here, not on a deploy VM.\n */\n it('ships a Dockerfile at the path the deploy workflow builds, for every service path the templates declare (#984)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n const missing: string[] = [];\n let declared = 0;\n\n // The skeleton: its init config declares the backend and the frontend.\n const skeletonRoot = join(templatesRoot, 'skeleton');\n const initConfig = readFileSync(join(skeletonRoot, 'wildo.saas.config.ts.init.hbs'), 'utf8');\n // The `services` object only — `libraries` and `specifications` declare paths too, and those are\n // not images. The object closes at the first `\\n },` after its opening (two-space top-level indent).\n const servicesStart = initConfig.indexOf('services: {');\n const servicesEnd = initConfig.indexOf('\\n },', servicesStart);\n expect(servicesStart).toBeGreaterThan(-1);\n expect(servicesEnd).toBeGreaterThan(servicesStart);\n const servicesBlock = initConfig.slice(servicesStart, servicesEnd);\n const skeletonPaths = [...servicesBlock.matchAll(/path: '(\\.\\/[^']+)'/g)].map((match) => match[1]);\n expect(skeletonPaths).toEqual(['./backend-api', './frontend']); // the two scaffold images, and nothing that is not one\n for (const servicePath of skeletonPaths) {\n declared += 1;\n const dockerfile = resolveServiceImageDockerfilePath(servicePath);\n if (!existsSync(join(skeletonRoot, dockerfile))) missing.push(`skeleton: ${dockerfile}`);\n }\n // And the context the frontend's and backend's `COPY . .` depend on.\n if (!existsSync(join(skeletonRoot, 'dockerignore'))) missing.push('skeleton: dockerignore (rendered as .dockerignore)');\n\n // Every scenario that appends a service / minion / worker entry with a `path`. `{{var}}` in the\n // authored path is `__var__` in the scenario's files tree (Nx filename interpolation), and the\n // Dockerfile may be authored plain or as a `.hbs` template.\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n if (edit.kind !== 'ts-object-append' || typeof edit.entry !== 'string') continue;\n const pathMatch = /path: '(\\.\\/[^']+)'/.exec(edit.entry);\n if (!pathMatch) continue;\n declared += 1;\n const filesRelative = resolveServiceImageDockerfilePath(pathMatch[1]).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__');\n const authored = join(scenariosRoot, scenarioDir.name, 'files', filesRelative);\n if (!existsSync(authored) && !existsSync(`${authored}.hbs`)) missing.push(`${scenarioDir.name}: ${filesRelative}`);\n }\n }\n\n // Guard the guard: the two scaffold services plus website, technical doc, minion, two workers.\n expect(declared).toBeGreaterThanOrEqual(7);\n expect(missing).toEqual([]);\n });\n\n /*\n * #1190: the generated deploy workflow builds EVERY image with the application root as its context (`context: .`,\n * `file: <path>/Dockerfile`), and the Rust worker's Dockerfile was written for its crate directory (`COPY Cargo.toml\n * ./`). The file existed where #984 looks for it and the step still could not find its sources. This reads every\n * `COPY` a shipped Dockerfile makes from the build context and holds its source to the application root: the whole\n * context (`.`), or a path inside the service's own directory.\n */\n it('addresses every COPY source from the application root, the context the deploy workflow builds with (#1190)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n const dockerfiles: Array<{ id: string; file: string; servicePath: string }> = [];\n for (const servicePath of ['./backend-api', './frontend']) {\n dockerfiles.push({ id: `skeleton${servicePath.slice(1)}`, file: join(templatesRoot, 'skeleton', resolveServiceImageDockerfilePath(servicePath)), servicePath });\n }\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n if (edit.kind !== 'ts-object-append' || typeof edit.entry !== 'string') continue;\n const pathMatch = /path: '(\\.\\/[^']+)'/.exec(edit.entry);\n if (!pathMatch) continue;\n const authored = join(scenariosRoot, scenarioDir.name, 'files', resolveServiceImageDockerfilePath(pathMatch[1]).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__'));\n const file = existsSync(authored) ? authored : `${authored}.hbs`;\n if (existsSync(file)) dockerfiles.push({ id: scenarioDir.name, file, servicePath: pathMatch[1] });\n }\n }\n\n const outsideContext: string[] = [];\n let copies = 0;\n for (const { id, file, servicePath } of dockerfiles) {\n const ownDirectory = `${servicePath.slice(2)}/`;\n for (const line of readFileSync(file, 'utf8').split('\\n')) {\n const copy = /^\\s*(?:COPY|ADD)\\s+(.*)$/.exec(line);\n if (!copy || /--from=/.test(copy[1])) continue;\n const words = copy[1].split(/\\s+/).filter((word) => word.length > 0 && !word.startsWith('--'));\n for (const source of words.slice(0, -1)) {\n copies += 1;\n if (source !== '.' && !source.startsWith(ownDirectory)) outsideContext.push(`${id}: COPY ${source} (not '.' and not under ${ownDirectory})`);\n }\n }\n }\n\n // Guard the guard: the two scaffold images plus website, technical doc, minion and both workers each copy something.\n expect(dockerfiles.length).toBeGreaterThanOrEqual(7);\n expect(copies).toBeGreaterThanOrEqual(dockerfiles.length);\n expect(outsideContext).toEqual([]);\n });\n\n /*\n * #1125: a frontend-shaped image bakes its origins in at BUILD time and the build context excludes every `.env*`,\n * so a deploy build that passes no build-args ships a frontend with empty origins while the workflow stays green.\n * This reads every service the shipped templates declare — its kind from the declaration's `frontendType`, its\n * build-time `ARG`s (those with no default) from the Dockerfile it builds — and holds the two ends together: the\n * resolver names exactly those args for that kind, and BOTH rendered workflows pass every one of them to the step\n * that builds that Dockerfile.\n */\n it('passes every build-time ARG a shipped Dockerfile declares, from the deploy workflow step that builds it (#1125)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n type TemplateService = { readonly id: string; readonly frontendType: AppFrontendType | undefined; readonly declaredArgs: readonly string[] };\n const services: TemplateService[] = [];\n const frontendTypeOf = (declaration: string): AppFrontendType | undefined => {\n const member = /frontendType: AppFrontendType\\.(\\w+)/.exec(declaration)?.[1];\n if (member === undefined) return undefined;\n const value = AppFrontendType[member as keyof typeof AppFrontendType];\n expect(value, `the templates name AppFrontendType.${member}, which does not exist`).toBeDefined();\n return value;\n };\n const argsDeclaredBy = (dockerfile: string): string[] => {\n const source = existsSync(dockerfile) ? readFileSync(dockerfile, 'utf8') : readFileSync(`${dockerfile}.hbs`, 'utf8');\n // An `ARG NAME=default` carries its own value (the base image); only a default-less ARG must be passed.\n return [...source.matchAll(/^ARG ([A-Z][A-Z0-9_]*)\\s*$/gm)].map((match) => match[1]).sort();\n };\n\n const skeletonRoot = join(templatesRoot, 'skeleton');\n const initConfig = readFileSync(join(skeletonRoot, 'wildo.saas.config.ts.init.hbs'), 'utf8');\n const servicesStart = initConfig.indexOf('services: {');\n const servicesBlock = initConfig.slice(servicesStart, initConfig.indexOf('\\n },', servicesStart));\n for (const [, key, body] of servicesBlock.matchAll(/\\n {4}(\\w+): \\{([\\s\\S]*?)\\n {4}\\},/g)) {\n const servicePath = /path: '(\\.\\/[^']+)'/.exec(body)![1];\n services.push({ id: `skeleton-${key}`, frontendType: frontendTypeOf(body), declaredArgs: argsDeclaredBy(join(skeletonRoot, resolveServiceImageDockerfilePath(servicePath))) });\n }\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n const servicePath = edit.kind === 'ts-object-append' && typeof edit.entry === 'string' ? /path: '(\\.\\/[^']+)'/.exec(edit.entry)?.[1] : undefined;\n if (servicePath === undefined) continue;\n const dockerfile = join(scenariosRoot, scenarioDir.name, 'files', resolveServiceImageDockerfilePath(servicePath).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__'));\n services.push({ id: scenarioDir.name, frontendType: frontendTypeOf(edit.entry!), declaredArgs: argsDeclaredBy(dockerfile) });\n }\n }\n // Guard the guard: the population, and every frontend kind represented.\n expect(services.length).toBeGreaterThanOrEqual(7);\n expect(new Set(services.map((service) => service.frontendType).filter(Boolean))).toEqual(new Set(Object.values(AppFrontendType)));\n\n // End one: the resolver names exactly what each kind's Dockerfile declares.\n const nameMismatches = services\n .map((service) => ({ service, expected: [...(service.frontendType ? SERVICE_IMAGE_BUILD_ARG_NAMES[service.frontendType] : [])].sort() }))\n .filter(({ service, expected }) => JSON.stringify(service.declaredArgs) !== JSON.stringify(expected))\n .map(({ service, expected }) => `${service.id}: Dockerfile declares ${JSON.stringify(service.declaredArgs)}, the resolver names ${JSON.stringify(expected)}`);\n expect(nameMismatches).toEqual([]);\n\n // End two: both rendered workflows pass every declared arg to the step building that service.\n const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'ci'));\n const workflowServices = services.map((service) => {\n const { buildArgs, unresolved } = resolveServiceImageBuildArgs({\n frontendType: service.frontendType, serviceName: service.id, appDisplayName: \"Acme's App\", envName: 'production',\n runtimeEnvironment: RuntimeEnvironment.PRODUCTION, publicDomain: 'acme.example',\n serviceHosts: { app: 'app', docs: 'docs', website: '', backendApi: 'api' }, mainBackendApiServiceKey: 'backendApi', saasAppServiceKey: 'app',\n });\n expect(unresolved, `${service.id} left args unresolved in a fully declared environment`).toEqual([]);\n return { serviceName: service.id, dockerfile: `${service.id}/Dockerfile`, buildArgs, unresolvedBuildArgs: unresolved };\n });\n for (const runtime of [WildoDeploymentRuntime.DOCKER_COMPOSE, WildoDeploymentRuntime.KUBERNETES]) {\n const workflow = generateWorkflow({\n envName: 'production', appName: 'acme', services: workflowServices,\n deployment: { branch: 'main', runtime, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA, ...(runtime === WildoDeploymentRuntime.KUBERNETES ? { namespace: 'acme' } : {}) } as never,\n }, tp);\n for (const service of services) {\n const stepStart = workflow.search(new RegExp(`- name: Build (and push )?${service.id}\\\\n`));\n expect(stepStart, `${runtime}: no build step for ${service.id}`).toBeGreaterThan(-1);\n const nextStep = workflow.indexOf('\\n - name:', stepStart + 1);\n const step = workflow.slice(stepStart, nextStep === -1 ? undefined : nextStep);\n for (const arg of service.declaredArgs) {\n expect(step, `${runtime}: the step building ${service.id} does not pass ${arg}`).toMatch(new RegExp(`(^|[\\\\s'])${arg}=`, 'm'));\n }\n if (service.declaredArgs.length === 0) expect(step).not.toMatch(/build-args:|--build-arg/);\n }\n // A value is rendered verbatim into the build step — the website of a PRODUCTION environment opts into indexing.\n expect(workflow).toMatch(/PUBLIC_ALLOW_INDEXING=true/);\n expect(workflow).toMatch(/VITE_API_BASE_URL=https:\\/\\/api\\.acme\\.example/);\n // A frontend image bakes its CSP from the checkout, so the checkout must be synced for THIS environment before\n // the first image is built — not left at whichever environment a developer last synced (usually `local`).\n const cspSync = workflow.indexOf('npx wildo dev sync-csp --env=production');\n expect(cspSync, `${runtime}: the workflow never syncs the frontend CSP for its environment`).toBeGreaterThan(-1);\n // The first IMAGE build, found by the Docker markers rather than by a step NAME: the workflows also carry a\n // non-image `Build application packages` step (the CLI needs the application's dist), and a name-shaped\n // marker silently matched it.\n const firstImageBuild = [workflow.indexOf('uses: docker/build-push-action'), workflow.indexOf('run: docker build')]\n .filter((index) => index > -1);\n expect(firstImageBuild, `${runtime}: the workflow builds no image`).not.toEqual([]);\n expect(cspSync, `${runtime}: the CSP is synced after an image was already built`).toBeLessThan(Math.min(...firstImageBuild));\n }\n });\n\n /*\n * #1165: both rendered workflows push to the registry the manifests pull from. A Compose workflow used to build and never\n * push, and a Kubernetes workflow pushed to `deployment.registry`/GHCR while the cluster pulled from the endpoint.\n */\n it('pushes every image to the environment registry endpoint the deploy manifests pull from', () => {\n const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'ci'));\n const services = [{ serviceName: 'acme-app', dockerfile: 'frontend/Dockerfile', buildArgs: [], unresolvedBuildArgs: [] }];\n for (const runtime of [WildoDeploymentRuntime.DOCKER_COMPOSE, WildoDeploymentRuntime.KUBERNETES]) {\n const workflow = generateWorkflow({\n envName: 'staging', appName: 'acme', services, registryEndpoint: 'rg.fr-par.scw.cloud/acme',\n deployment: { branch: 'staging', runtime, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA } as never,\n }, tp);\n expect(workflow, `${runtime}: never logs in to the endpoint`).toMatch(/docker\\/login-action@v3/);\n expect(workflow, `${runtime}: does not push`).toMatch(/push: true/);\n expect(workflow, `${runtime}: pushes somewhere other than the endpoint`).toMatch(/rg\\.fr-par\\.scw\\.cloud\\/acme/);\n expect(workflow).not.toMatch(/ghcr\\.io/);\n // The GitHub-token login fallback can only push with package write permission, on either runtime.\n expect(workflow, `${runtime}: the job cannot push with the GitHub token`).toMatch(/permissions:\\n\\s+contents: read\\n\\s+packages: write/);\n }\n // A Compose environment with no registry says, beside its builds, that it publishes nothing.\n const unpublished = generateWorkflow({\n envName: 'staging', appName: 'acme', services,\n deployment: { branch: 'staging', runtime: WildoDeploymentRuntime.DOCKER_COMPOSE, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA } as never,\n }, tp);\n expect(unpublished).toMatch(/# NOT published: `docker-compose\\.app\\.yml` has no registry to pull them from/);\n expect(unpublished).not.toMatch(/push: true/);\n });\n\n /*\n * #1166: CI passes each environment's app origin as `PUBLIC_APP_ORIGIN`, and a Dockerfile declaring the ARG proves\n * nothing if the website config never reads it — a literal `appOrigin` would silently link every environment to one\n * app again. So every website config the framework ships or dogfoods must take `appOrigin` from the variable first.\n */\n it('reads the per-environment app origin in every website config, template and examples', () => {\n const configs = [join(repoRoot, 'templates', 'saas', 'scenarios', 'add-website', 'files', 'website', 'wildo.website.config.ts.hbs')];\n const examplesRoot = join(repoRoot, 'examples');\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const configPath = join(examplesRoot, app.name, 'wildo.saas.config.ts');\n if (!existsSync(configPath)) continue;\n for (const [, servicePath] of readFileSync(configPath, 'utf8').matchAll(/path: '(\\.\\/[^']+)',[^}]*?frontendType: AppFrontendType\\.STATIC_WEBSITE/g)) {\n configs.push(join(examplesRoot, app.name, servicePath, 'wildo.website.config.ts'));\n }\n }\n // Guard the guard: the template and Wonder Todos' website at least.\n expect(configs.length).toBeGreaterThanOrEqual(2);\n for (const config of configs) {\n expect(readFileSync(config, 'utf8'), config).toMatch(/appOrigin:\\s*process\\.env\\.PUBLIC_APP_ORIGIN\\s*\\|\\|/);\n }\n });\n\n /*\n * The example applications carry their OWN Dockerfiles (monorepo-rooted builds), and the template contract above never\n * read them — which is how three drifted: a docs image that did not declare `WILDO_DOCS_FRONTEND_SERVICE_NAME` (so\n * Docker dropped the arg CI passed), a website reading `PUBLIC_WT_*` names nothing passed, and two images that ran\n * `sync-csp` with no environment and baked the local policy into a remote build. Held to the same rule as the\n * templates: a frontend Dockerfile declares exactly the args the resolver passes for its kind, and one that syncs its\n * CSP in-image declares the environment it syncs for.\n */\n it('holds every example application frontend Dockerfile to the build args its deploy workflow passes', () => {\n const examplesRoot = join(repoRoot, 'examples');\n const checked: string[] = [];\n const mismatches: string[] = [];\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const configPath = join(examplesRoot, app.name, 'wildo.saas.config.ts');\n if (!existsSync(configPath)) continue;\n const config = readFileSync(configPath, 'utf8');\n // `path` and `frontendType` sit in the same object literal, with no closing brace between them.\n for (const [, servicePath, member] of config.matchAll(/path: '(\\.\\/[^']+)',[^}]*?frontendType: AppFrontendType\\.(\\w+)/g)) {\n const frontendType = AppFrontendType[member as keyof typeof AppFrontendType];\n expect(frontendType, `${app.name} names AppFrontendType.${member}, which does not exist`).toBeDefined();\n const dockerfile = join(examplesRoot, app.name, resolveServiceImageDockerfilePath(servicePath));\n // A missing Dockerfile is a different defect (the service cannot be built at all), not an arg mismatch.\n if (!existsSync(dockerfile)) continue;\n const source = readFileSync(dockerfile, 'utf8');\n const declared = [...source.matchAll(/^ARG ([A-Z][A-Z0-9_]*)\\s*$/gm)].map((match) => match[1]).sort();\n const expected = [...SERVICE_IMAGE_BUILD_ARG_NAMES[frontendType]].sort();\n const id = `${app.name}/${servicePath.replace(/^\\.\\//, '')}`;\n checked.push(id);\n if (JSON.stringify(declared) !== JSON.stringify(expected)) {\n mismatches.push(`${id}: Dockerfile declares ${JSON.stringify(declared)}, the deploy workflow passes ${JSON.stringify(expected)}`);\n }\n if (/^RUN .*\\bsync-csp\\b/m.test(source) && !declared.includes('WILDO_INFRA_ENV')) {\n mismatches.push(`${id}: runs sync-csp in the image without declaring WILDO_INFRA_ENV, so it syncs for 'local'`);\n }\n }\n }\n // Guard the guard: Wonder Todos alone ships three frontend Dockerfiles.\n expect(checked).toEqual(expect.arrayContaining(['wonder-todos/frontend', 'wonder-todos/website', 'wonder-todos/technical-doc']));\n expect(mismatches).toEqual([]);\n });\n\n it('keeps local env and runtime-signal material outside application image build contexts', () => {\n const dockerIgnore = readFileSync(join(repoRoot, '.dockerignore'), 'utf8');\n const backendEntrypoint = readFileSync(join(repoRoot, 'examples', 'wonder-todos', 'backend-api', 'src', 'index.ts'), 'utf8');\n\n expect(dockerIgnore).toContain('**/.env*');\n expect(dockerIgnore).toContain('**/.wildo-saas/runtime-signals');\n // The deploy zone must be excluded BY DIRECTORY, not left to `**/.env*`:\n // its per-service files are named `<service>.env` (e.g.\n // `demo-app-backend-api.env`), which does NOT start with `.env` and so\n // slips past that pattern — while carrying the full backend runtime env.\n // Asserted on both the monorepo-rooted context and the application image\n // context, since app images build from a workspace root that contains the\n // rendered zone.\n expect(dockerIgnore).toContain('**/.wildo-saas/deploy');\n const applicationImageDockerIgnore = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'application', '.dockerignore'),\n 'utf8',\n );\n expect(applicationImageDockerIgnore).toContain('**/.wildo-saas/deploy');\n expect(backendEntrypoint).toContain('override: false');\n expect(backendEntrypoint).not.toContain('override: true');\n });\n\n it('wires required steady-state env into the docker-compose apps-manager service', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n expect(composeTemplate).toContain('PLATFORM_ENVIRONMENT_ID: ${PLATFORM_ENVIRONMENT_ID}');\n expect(composeTemplate).toContain('APPLICATION_ENV: ${APPLICATION_ENV}');\n expect(composeTemplate).toContain('PLATFORM_ADMIN_SECRET: ${PLATFORM_ADMIN_SECRET}');\n // All platform service blocks (`apps_manager-init`, `apps_manager-normal`,\n // `crontabs_batches_manager`) wire the env. Pinned at >= 3 to match the\n // current platform-service catalog; bump if a new platform service joins.\n expect(\n composeTemplate.match(/PLATFORM_ENVIRONMENT_ID: \\$\\{PLATFORM_ENVIRONMENT_ID\\}/g)?.length,\n ).toBeGreaterThanOrEqual(3);\n });\n\n it('does not reference the deleted platform-infra-secret in the live app template', () => {\n const applicationTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n\n expect(applicationTemplate).not.toContain('platform-infra-secret');\n });\n\n it('generates runtime source modules before Docker image build in deploy workflows', () => {\n const k8sWorkflow = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-k8s.yml.hbs'),\n 'utf8',\n );\n const composeWorkflow = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-docker-compose.yml.hbs'),\n 'utf8',\n );\n\n // Per-service model builds one image per service (`{{#each services}}`), so\n // assert against the stable Docker-build markers rather than a step name.\n expect(k8sWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n k8sWorkflow.indexOf('docker/build-push-action'),\n );\n expect(composeWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n composeWorkflow.indexOf('docker/build-push-action'),\n );\n // `run: docker build`, not `docker build -f`: the build-arg flags (#1125) now sit between the command and `-f`.\n expect(composeWorkflow.indexOf('run: docker build')).toBeGreaterThan(-1);\n expect(composeWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n composeWorkflow.indexOf('run: docker build'),\n );\n });\n\n /*\n * Measured 2026-09-15 (#1167), running these steps for real: the workflow installed, then called the CLI, and the\n * CLI died with `No \"exports\" main defined in .../@<slug>/shared-lib/package.json`. An application's OWN packages\n * are resolved through their published `exports`, which point at `dist/`; only FRAMEWORK packages are\n * source-aliased by the config loader (`buildDeclaredPackageSourceAliases`). A clean CI checkout has no `dist`,\n * so every deploy of every generated application failed at its first CLI step until the application was built.\n */\n /*\n * #1201: the deploy workflows passed no `platforms:`, so each image was built for whatever architecture the\n * runner happened to be and published as THE image. Measured on a real run: the pushed app image was\n * amd64-only, and `docker pull` from an arm64 host answered `no matching manifest for linux/arm64/v8`.\n * Paul's standing rule (2026-09-03) is that the architecture comes from the BUILD LANE, never from a\n * `FROM --platform` inside a Dockerfile, and that every image the framework builds serves both.\n */\n /*\n * A hosted runner starts at ~9.4 GB free of 72 GB and each frontend image costs ~5 GB, so a several-service\n * application runs the disk out partway through — and the failure has no error in it: the runner dies, the\n * step stays \"in progress\", the job ends with no log (measured on run 35067538433, on its third image).\n */\n it('reclaims runner disk before building any image', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const reclaim = workflow.indexOf('Free disk before building images');\n const firstImageBuild = [workflow.indexOf('uses: docker/build-push-action'), workflow.indexOf('run: docker build')].filter(index => index > -1);\n expect(reclaim, `${template}: nothing reclaims disk before the image builds`).toBeGreaterThan(-1);\n expect(reclaim, `${template}: disk is reclaimed after an image was already built`).toBeLessThan(Math.min(...firstImageBuild));\n }\n });\n\n it('builds every pushed image for both architectures, with QEMU registered before buildx (#1201)', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const qemu = workflow.indexOf('docker/setup-qemu-action');\n const buildx = workflow.indexOf('docker/setup-buildx-action');\n expect(qemu, `${template}: arm64 is emulated on an amd64 runner and needs QEMU`).toBeGreaterThan(-1);\n expect(qemu, `${template}: QEMU is registered after buildx`).toBeLessThan(buildx);\n // Every pushing build step declares both architectures — `push: true` marks one.\n const pushSteps = workflow.split('push: true').length - 1;\n const platformLines = workflow.split('platforms: linux/amd64,linux/arm64').length - 1;\n expect(pushSteps, `${template}: no pushing build step`).toBeGreaterThan(0);\n expect(platformLines, `${template}: a pushed image is built for one architecture`).toBe(pushSteps);\n }\n });\n\n it('builds the application packages before the first CLI step, which loads them through their dist exports', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const build = workflow.indexOf('run: pnpm run build');\n const install = workflow.indexOf('run: pnpm install --frozen-lockfile');\n const firstCliStep = workflow.indexOf('npx wildo');\n expect(build, `${template}: no application build step`).toBeGreaterThan(-1);\n expect(install, `${template}: no install step`).toBeGreaterThan(-1);\n expect(install, `${template}: builds before installing`).toBeLessThan(build);\n expect(build, `${template}: calls the CLI before building the application`).toBeLessThan(firstCliStep);\n }\n });\n\n /*\n * Measured 2026-09-16 (#1167): the Wonder Todos website and technical-doc images both copied\n * `engine/external-connectors`, a package that had been split into `-models` / `-private` / `-public`,\n * so `docker build` failed at that COPY — \"failed to compute cache key ... /engine/external-connectors\".\n * Neither image had been buildable since the split, and nothing said so: an example Dockerfile is read by\n * no typecheck and no test. This holds every literal source an example Dockerfile copies from its build\n * context to a path that exists.\n */\n it('copies only paths that exist, in every example application Dockerfile (#1167)', () => {\n const examplesRoot = join(repoRoot, 'examples');\n const dockerfiles: string[] = [];\n const walk = (directory: string, depth: number) => {\n for (const entry of readdirSync(directory, { withFileTypes: true })) {\n if (entry.name === 'node_modules' || entry.name.startsWith('.')) continue;\n const full = join(directory, entry.name);\n if (entry.isDirectory() && depth > 0) walk(full, depth - 1);\n else if (entry.isFile() && entry.name === 'Dockerfile') dockerfiles.push(full);\n }\n };\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter(entry => entry.isDirectory() && !entry.name.startsWith('.'))) {\n walk(join(examplesRoot, app.name), 3);\n }\n\n const missing: string[] = [];\n let copied = 0;\n for (const dockerfile of dockerfiles) {\n // The example images are built with the REPOSITORY root as their context (they copy `engine/`, `platform/`).\n const body = readFileSync(dockerfile, 'utf8').replace(/\\\\\\n/g, ' ');\n for (const line of body.split('\\n')) {\n const copy = /^\\s*COPY\\s+(.*)$/.exec(line);\n if (!copy || /--from=/.test(copy[1])) continue;\n const words = copy[1].split(/\\s+/).filter(word => word.length > 0 && !word.startsWith('--'));\n for (const source of words.slice(0, -1)) {\n if (source.includes('*') || source.includes('?')) continue; // a glob's emptiness is a different question\n copied += 1;\n if (!existsSync(join(repoRoot, source))) missing.push(`${dockerfile.slice(repoRoot.length + 1)}: COPY ${source}`);\n }\n }\n }\n\n // Guard the guard: Wonder Todos alone ships six images, and they copy far more than one path each.\n expect(dockerfiles.length).toBeGreaterThanOrEqual(6);\n expect(copied).toBeGreaterThan(40);\n expect(missing).toEqual([]);\n });\n\n /**\n * Pins the canonical-sink contract enforced by `k8s-secrets-generator.service.ts`\n * for the framework application deployment template (Phase 8 — now\n * PARAMETERIZED per-app, `{{appName}}` = appSlug):\n * - Per-RUNTIME env lives in ONE Secret `{{runtimeEnvSecretName}}` (#377) — emit-name ==\n * mount-name (the §5 emit keys on the SAME appSlug; see the\n * `emit-name == {appSlug}-secret mount` contract test in\n * `k8s-secrets-generator.service.test.ts`). The historical bug mounted a\n * hardcoded `wildo-ai-application-secret` that the `${serviceName}-secret`\n * emit never produced → fail-closed boot.\n * - Provider env vars live in this runtime's OWN `{{providersSecretName}}`, `optional: true`.\n * REPLACED the sole shared `providers-secret` (#369): one cluster Secret held the whole\n * `providerEnv` and was `envFrom`-mounted by the backend, every minion AND every worker, so\n * a worker authoring `providers: {}` received every provider key the application had. The\n * name is now resolved by `k8sRuntimeProvidersSecretName` on BOTH sides and threaded in as a\n * template variable — never composed in the template, which is what keeps emit-name ==\n * mount-name a single decision.\n * - The pod is never handed the cluster-wide infra ADMIN SECRETS — i.e. the\n * Mongo/Redis/RabbitMQ/Postgres admin material, which is genuinely minted\n * per-app (Phase 8 S2). ⚠️ QUALIFIED 2026-08-05: this is NOT the same as\n * \"no cluster-wide credential reaches the pod\". `{appName}-secret` carries\n * STORAGE_ACCESS_KEY / STORAGE_SECRET_KEY, which are the SAME values as\n * MinIO's MINIO_ROOT_USER / MINIO_ROOT_PASSWORD — object storage is the one\n * backing service with no per-app minting, so every app/minion/worker holds\n * its root credential. Tracked in\n * `.claude/plans/object-storage-root-credential-distribution.md`. The\n * assertions below are correct as written; only the blanket phrasing was.\n * the git-clone-lane relic env is gone (Phase 8 R4).\n */\n it('the K8s app BACKEND deployment template mounts {{runtimeEnvSecretName}} + its OWN {{providersSecretName}} { optional: true }, no infra ADMIN SECRETS, no relics', () => {\n const frameworkAppTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n\n // Per-runtime env Secret mount — FAIL-CLOSED (no optional): a pod cannot boot without its\n // environment. The name is RESOLVED and threaded in, not composed here as `{{appName}}-secret`\n // (#377), so no template in this lane builds a Secret name any more — the failure this file\n // was written for, from the era when a template hardcoded a name the emit never produced.\n expect(frameworkAppTemplate).toMatch(/envFrom:[\\s\\S]*?secretRef:[\\s\\S]*?name: \\{\\{runtimeEnvSecretName\\}\\}/);\n expect(frameworkAppTemplate).not.toMatch(\n /secretRef:\\s*\\n\\s*name: \\{\\{runtimeEnvSecretName\\}\\}\\s*\\n\\s*optional: true/,\n );\n expect(frameworkAppTemplate).not.toContain('name: {{appName}}-secret');\n\n // This runtime's OWN provider Secret — `optional: true` REQUIRED, because a backend that\n // declares no providers emits no Secret and must still start (#369).\n expect(frameworkAppTemplate).toMatch(\n /secretRef:\\s*\\n\\s*name: \\{\\{providersSecretName\\}\\}\\s*\\n\\s*optional: true/,\n );\n // And the shared bag is GONE. Asserted as an absence at the MOUNT line (`name:` followed by\n // the bare literal) rather than anywhere in the file, so the historical note in the comment\n // above this template's envFrom block does not trip it.\n expect(frameworkAppTemplate).not.toMatch(/name: providers-secret$/m);\n\n // ZERO ConfigMap mounts (single Secret per app).\n expect(frameworkAppTemplate).not.toMatch(/configMapRef:/);\n\n // S2 — the app pod is NEVER injected cluster-wide infra ADMIN creds. The\n // admin secret refs (valkey-secret / rabbitmq-secret) must not appear.\n expect(frameworkAppTemplate).not.toContain('valkey-secret');\n expect(frameworkAppTemplate).not.toContain('rabbitmq-secret');\n expect(frameworkAppTemplate).not.toContain('REDIS_ADMIN_PASSWORD');\n expect(frameworkAppTemplate).not.toContain('RABBITMQ_ADMIN');\n\n // R4 — no git-clone-lane relic env DECLARATIONS (assert the `- name:`\n // form so the explanatory comment listing them doesn't trip this).\n expect(frameworkAppTemplate).not.toMatch(/- name: SKIP_GIT_CLONE/);\n expect(frameworkAppTemplate).not.toMatch(/- name: APP_MODE/);\n expect(frameworkAppTemplate).not.toMatch(/- name: ENABLED_SERVICES/);\n });\n\n it('renders per-service images + identity (serviceName) for backend AND frontends, not one hardcoded app image', () => {\n const backendTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n const frontendTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'frontend.deployment.yaml.hbs'),\n 'utf8',\n );\n const applicationIngressTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'ingress.yaml.hbs'),\n 'utf8',\n );\n\n // Per-SERVICE image + identity (serviceName, e.g. `{app}-backend-api` /\n // `{app}-app`), NOT one shared `{{appName}}` image.\n expect(backendTemplate).toContain('image: {{imageRegistry}}/{{serviceName}}:{{imageTag}}');\n expect(frontendTemplate).toContain('image: {{imageRegistry}}/{{serviceName}}:{{imageTag}}');\n expect(backendTemplate).toMatch(/name: \\{\\{serviceName\\}\\}/);\n expect(frontendTemplate).toMatch(/name: \\{\\{serviceName\\}\\}/);\n // The backend mounts its own RESOLVED env Secret (#377 — the name is threaded in, not\n // composed from `{{appName}}` here); the frontend (static nginx) has NO secret mount at all\n // (config is baked at build time).\n expect(backendTemplate).toMatch(/name: \\{\\{runtimeEnvSecretName\\}\\}/);\n expect(frontendTemplate).not.toMatch(/secretRef:/);\n for (const t of [backendTemplate, frontendTemplate]) {\n expect(t).not.toContain('wildo-ai-dev');\n expect(t).not.toContain('isDevMode');\n expect(t).not.toContain('hostPath:');\n }\n expect(applicationIngressTemplate).not.toContain('isDevMode');\n expect(applicationIngressTemplate).not.toContain('lifecycle-wildo-ai-application');\n });\n\n it('compose template pins the RabbitMQ node name, because the broker keys its whole definitions database by it', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n /*\n * RabbitMQ stores vhosts, users, permissions and queues under `rabbit@<hostname>`. A compose\n * service with no fixed `hostname:` gets a random container id on every recreation, so the broker\n * boots an EMPTY node beside the previous one's data. Measured 2026-09-22: every vhost minted for a\n * hosted application (wonder-crm + three scratch apps) was orphaned in the previous node's directory\n * after one `wildo local up`, and the crontabs manager was refused by vhosts that had existed the day\n * before. The k8s lane is a StatefulSet and never had the problem. Pinned on the SERVICE block so a\n * `hostname:` on some other service cannot satisfy it.\n */\n const rabbitmqBlock = composeTemplate.slice(composeTemplate.indexOf('\\n rabbitmq:\\n'));\n const rabbitmqService = rabbitmqBlock.slice(0, rabbitmqBlock.indexOf('\\n minio:\\n') > 0 ? rabbitmqBlock.indexOf('\\n minio:\\n') : undefined);\n expect(rabbitmqService).toMatch(/^\\s+container_name: wildo-rabbitmq$/m);\n expect(rabbitmqService).toMatch(/^\\s+hostname: wildo-rabbitmq$/m);\n });\n\n it('compose template takes every data mount from the derived source map, and declares the volumes it mounts', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n /*\n * Each stateful service takes its data mount SOURCE from `{{localDataSources.<key>}}`, which the\n * generator resolves to either a named volume or an absolute host path under `{{localDataPath}}`\n * depending on the environment's `localDataStorage`. Pinned as the uniform SHAPE rather than as\n * one mode's spelling: the mode is one decision taken in the generator, and a mount that hard-codes\n * either form is a mount that cannot follow it.\n *\n * (Before 2026-09-22 every one of these was a literal `{{localDataPath}}/<svc>` bind. That cost a\n * measured ~4 CPU cores on macOS, where a host bind mount crosses the VM's filesystem bridge —\n * see the `volumes:` section of the template for the measurement.)\n *\n * MongoDB is deliberately the exception to the one-mount-per-service shape: `mongo:8.2` declares\n * child image volumes at `/data/db` and `/data/configdb`, so both exact child paths must be\n * mounted or Docker shadows a parent `/data` mount with anonymous volumes.\n */\n expect(composeTemplate).toContain('- {{localDataSources.mongodbDb}}:/data/db');\n expect(composeTemplate).toContain('- {{localDataSources.mongodbConfigdb}}:/data/configdb');\n expect(composeTemplate).not.toMatch(/- \\{\\{localDataSources\\.mongodb\\}\\}:\\/data\\b/);\n // The literal form is what the source map replaced; a mount that reintroduces it opts out of the\n // storage mode silently, and on macOS/Windows that is the whole cost back.\n expect(composeTemplate).not.toMatch(/^\\s+- \\{\\{localDataPath\\}\\}\\/(mongodb|mongot|valkey|rabbitmq|minio|postgresql|clamav|immudb)/m);\n /*\n * mongod runs AS `mongodb`, and that is load-bearing rather than cosmetic.\n *\n * Started as root, the image chowns `/data/db` and gosu's to uid 999 — but on Docker Desktop's\n * gRPC FUSE a bind-mounted file presents as root:root 0600 whatever the host says, so that chown\n * cannot stick and uid 999 cannot reopen its own database. The first start works and every start\n * after it dies with EPERM on `WiredTiger.wt` and fatal assertion 28595, which reads as data\n * corruption and is an ownership mismatch. Naming the user makes `id -u` non-zero, so the image\n * skips both the gosu drop and the ineffective chown.\n *\n * A named volume does not have that problem (it is an ordinary Linux directory inside the VM), but\n * the pin STAYS: `HOST_PATH` is still the REMOTE default and still authorable locally, so the trap\n * is one config line away rather than gone.\n */\n expect(composeTemplate).toContain('user: \"mongodb\"');\n // Issue #74 — mongot is the second stateful service in the MongoDB lane, and it is the\n // SINGLE-mount shape, not mongod's two-child one: its image declares no `VOLUME` at all, so\n // there is nothing for Docker to shadow. Pinned here so `INFRA_SERVICE_DATA_SUBDIRS`, the\n // generator's `LOCAL_DATA_MOUNTS` table and this template cannot drift apart in any direction.\n expect(composeTemplate).toContain('- {{localDataSources.mongot}}:{{mongotDataPath}}');\n expect(composeTemplate).toContain('- {{localDataSources.valkey}}:/data');\n expect(composeTemplate).toContain('- {{localDataSources.rabbitmq}}:/var/lib/rabbitmq');\n expect(composeTemplate).toContain('- {{localDataSources.minio}}:/data');\n expect(composeTemplate).toContain('- {{localDataSources.postgresql}}:/var/lib/postgresql/data');\n expect(composeTemplate).toContain('- {{localDataSources.clamav}}:/var/lib/clamav');\n expect(composeTemplate).toContain('- {{localDataSources.immudb}}:/var/lib/immudb');\n\n /*\n * The two read-only secret FILES stay HOST mounts under every storage mode — they are\n * materialized from `secrets.json` and a volume has no way to receive them. Pinned because\n * sweeping them into the source map is the plausible \"finish the job\" edit, and its symptom is an\n * immudb running UNSIGNED and a mongot that cannot authenticate, neither of which names the\n * compose file.\n */\n expect(composeTemplate).toContain('- {{immudbSigningKeyHostPath}}:/etc/immudb/state-signing.key:ro');\n expect(composeTemplate).toContain('- {{mongotPasswordHostPath}}:{{mongotPasswordFilePath}}:ro');\n\n /*\n * The top-level `volumes:` block is DERIVED and CONDITIONAL: rendered from `localDataVolumes`,\n * which the generator builds from the same table as the mount sources and leaves empty under\n * `HOST_PATH` — compose rejects an empty mapping, so the block must disappear entirely rather\n * than render bare. A hand-written entry would be a second list that can drift from what is\n * actually mounted, which compose only reports at `up` time.\n */\n expect(composeTemplate).toContain('{{#if localDataVolumes.length}}');\n expect(composeTemplate).toMatch(/\\{\\{#each localDataVolumes\\}\\}/);\n expect(composeTemplate).not.toMatch(/^\\s*[a-z]+_data:\\s*\\n\\s+driver: local/m);\n\n // Mongo and ClamAV blocks are conditional — the {{#if}} guards must\n // remain so MANAGED-source environments don't spawn redundant local\n // containers.\n expect(composeTemplate).toContain('{{#if includeLocalMongoDB}}');\n expect(composeTemplate).toContain('{{#if includeLocalClamAV}}');\n });\n\n it('Slice 4 — K8s mongodb + clamav internal manifests + PV declarations exist', () => {\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'mongodb', 'service.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'mongodb', 'deployment.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'clamav', 'service.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'clamav', 'deployment.yaml.hbs')),\n ).toBe(true);\n\n const pvTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'storage', 'local', 'persistent-volumes.yaml.hbs'),\n 'utf8',\n );\n // Both K8s PVs are gated on the same predicates the Compose template\n // uses (Slice 4.7 / 4.8) so an env that opts out of MANAGED MongoDB or\n // SELF ClamAV doesn't carry an unbound PV in its rendered manifests.\n expect(pvTemplate).toContain('{{#if includeLocalMongoDB}}');\n expect(pvTemplate).toContain('{{#if includeLocalClamAV}}');\n expect(pvTemplate).toContain('/mnt/local-data/mongodb');\n expect(pvTemplate).toContain('/mnt/local-data/clamav');\n });\n\n it('Slice 4 / D7 — dead static docker-compose.yml is deleted (single source of truth = .hbs)', () => {\n // The legacy hand-edited `docker-compose.yml` in the same dir as the\n // `.hbs` template has zero live consumers (the CLI's `composeFile`\n // resolution always points at `docker-compose.wildo-platform.yml`,\n // rendered from the template). Re-introducing it would re-create the\n // parallel-topology trap that once hid optional sidecar services (YARA,\n // and the since-deleted Weaviate vector store) from the catalog.\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.yml')),\n ).toBe(false);\n });\n\n /**\n * Pins the Slice 9 invariants on the two CI deploy workflow templates\n * (`deploy-k8s.yml.hbs` + `deploy-docker-compose.yml.hbs`). These are\n * the actual `.hbs` files shipped to customers — the existing\n * `ci-workflow-generator.service.test.ts` only exercises a synthetic\n * one-line template and would NOT catch a regression where the real\n * templates drift back to `wildo deploy generate` (a phantom command\n * that was never registered in the CLI) or where the K8s template's\n * `kubectl apply` path drops the env-suffix and silently applies the\n * wrong env's manifests.\n *\n * Slice 9 invariants asserted here:\n * 1. The artifact-generation step calls `wildo config sync` (the real\n * command) and NOT the phantom `wildo deploy generate`.\n * 2. The `--domain config` filter is present so the deploy job does\n * not also re-render workflow YAMLs (`cicd` domain) and per-service\n * `.env` files (`env-files` domain) — both pointless work in CI.\n * 3. The K8s template's `kubectl apply` path is env-scoped\n * (`.wildo-saas/deploy/{{envName}}/k8s/`) — matching the env-scoped\n * output dir of `generateCiDeployArtifacts`. A drift to a path with\n * no env segment would silently apply a stale or empty directory, and\n * a drift back to the pre-relocation app-root `.wildo-deploy/` would\n * escape the deploy zone's ignore guard and leak credentials.\n * 4. The framing comment crediting `wildo config sync --domain cicd`\n * as the generator (NOT `wildo deploy ci-init`) is preserved.\n * 5. The literal phantom command strings (`wildo deploy generate`,\n * `wildo deploy ci-init`) NEVER appear — only the explicit\n * \"intentionally no `wildo deploy` command surface\" framing\n * comment is allowed.\n * 6. Both templates build per-service images from each service's OWN\n * Dockerfile (`file: {{this.dockerfile}}` under `{{#each services}}`) —\n * customer-authored assets the framework does not generate. Per-service\n * deploy (Phase 9) replaced the single `Dockerfile.app` app image.\n */\n it('Slice 9 — CI deploy templates call `wildo config sync --domain config`, never the phantom `wildo deploy`', () => {\n const k8sTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-k8s.yml.hbs'),\n 'utf8',\n );\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-docker-compose.yml.hbs'),\n 'utf8',\n );\n\n // (1) + (2) — real command, narrow domain filter.\n const expectedRun = 'run: npx wildo config sync --ci --env={{envName}} --domain config';\n expect(k8sTemplate).toContain(expectedRun);\n expect(composeTemplate).toContain(expectedRun);\n\n // (3) — env-scoped kubectl path (K8s template only), addressed inside the\n // app runtime home so the secret-bearing render is covered by the deploy\n // zone's ignore guard.\n expect(k8sTemplate).toContain(\n `kubectl apply -f ${DEPLOY_ZONE_RELATIVE_PATH}/{{envName}}/k8s/`,\n );\n expect(k8sTemplate).not.toContain(`kubectl apply -f ${DEPLOY_ZONE_RELATIVE_PATH}/k8s/`);\n // The pre-relocation app-root zone must not resurface in either template.\n expect(k8sTemplate).not.toContain('.wildo-deploy');\n expect(composeTemplate).not.toContain('.wildo-deploy');\n\n // (4) — generator credit comment.\n expect(k8sTemplate).toContain('# Generated by: wildo config sync --domain cicd');\n expect(composeTemplate).toContain('# Generated by: wildo config sync --domain cicd');\n\n // (5) — phantom command strings are forbidden anywhere except the\n // single allow-listed framing comment that explicitly documents\n // their non-existence. We strip the framing block first and then\n // assert no `wildo deploy` substring survives.\n const stripFramingComment = (s: string): string =>\n s.replace(\n /# This workflow builds one image PER SERVICE[\\s\\S]*?`wildo deploy` command surface\\.\\n/,\n '',\n );\n const k8sStripped = stripFramingComment(k8sTemplate);\n const composeStripped = stripFramingComment(composeTemplate);\n expect(k8sStripped).not.toContain('wildo deploy');\n expect(composeStripped).not.toContain('wildo deploy');\n expect(k8sStripped).not.toContain('wildo deploy generate');\n expect(composeStripped).not.toContain('wildo deploy generate');\n expect(k8sStripped).not.toContain('wildo deploy ci-init');\n expect(composeStripped).not.toContain('wildo deploy ci-init');\n\n // (6) — per-service build steps reference each service's own Dockerfile.\n expect(k8sTemplate).toContain('file: {{this.dockerfile}}');\n expect(composeTemplate).toContain('file: {{this.dockerfile}}');\n });\n\n it('does not ship the deleted local k8s e2e compatibility lane', () => {\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'jobs', 'local', 'run-e2e-tests.yaml.hbs'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'cronjobs', 'local', 'nightly-e2e-tests.yaml.hbs'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'e2e', 'Dockerfile.e2e-runner'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'e2e', 'Dockerfile.e2e-dev'),\n )).toBe(false);\n });\n\n /**\n * Audit Phase 2 — the self-hosted immudb templates must start the server with `--signingKey`\n * (the whole-server-substitution defense) so the audit client's pinned `IMMUDB_STATE_PUBLIC_KEY`\n * can verify a real signature. Both the mount and the flag are GATED on a provisioned key\n * (compose: the materialized key path; k8s: the secret-name template var), so an env without a\n * keypair renders no `--signingKey` and immudb runs unsigned (client warns) rather than\n * crash-looping — graceful degradation. The immudb ENTRYPOINT is the binary, so the flag rides\n * `command`/`args`.\n */\n it('Audit Phase 2 — self-hosted immudb templates pass --signingKey (state-signature defense), gated on a provisioned key', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n const immudbK8sTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'immudb', 'deployment.yaml.hbs'),\n 'utf8',\n );\n\n // Compose: the private key file (materialized under local_data) is bind-mounted read-only and\n // passed to `--signingKey`, all gated on the resolved host path.\n expect(composeTemplate).toContain('{{#if immudbSigningKeyHostPath}}');\n expect(composeTemplate).toContain('command: [\"--signingKey\", \"/etc/immudb/state-signing.key\"]');\n expect(composeTemplate).toContain('{{immudbSigningKeyHostPath}}:/etc/immudb/state-signing.key:ro');\n\n // K8s: the private key is projected from `immudb-secret` as a single file and passed to\n // `--signingKey`, gated on the secret-name var (set only for the self-hosted immudb service).\n expect(immudbK8sTemplate).toContain('{{#if immudbStateSigningKeySecretName}}');\n expect(immudbK8sTemplate).toContain('args: [\"--signingKey\", \"/etc/immudb/signing/state-signing.key\"]');\n expect(immudbK8sTemplate).toContain('key: IMMUDB_STATE_SIGNING_KEY');\n expect(immudbK8sTemplate).toContain('secretName: {{immudbStateSigningKeySecretName}}');\n });\n});\n"]}
1
+ {"version":3,"file":"deployment-template-contracts.test.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/__tests__/deployment-template-contracts.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC/J,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,6BAA6B,EAC7B,gBAAgB,EAChB,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAE1F;;;;;;;;;GASG;AACH,MAAM,yBAAyB,GAAG,GAAG,oBAAoB,CAAC,gBAAgB,IAAI,wBAAwB,CAAC,MAAM,EAAE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C,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;QAC3F,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEnF,mGAAmG;QACnG,gGAAgG;QAChG,MAAM,aAAa,GAAG,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,0BAA0B,CAAC,EAAE,MAAM,CAAC,CAAC;QAC1I,MAAM,WAAW,GAAG,CAAC,GAAG,aAAa,CAAC,QAAQ,CAAC,oFAAoF,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/J,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { describe, expect, it } from 'vitest';\nimport { existsSync, readFileSync, readdirSync } from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport { fileURLToPath } from 'url';\nimport { APP_RUNTIME_SUBDIR_NAMES, AppFrontendType, WORKSPACE_HOME_NAMES, WildoDeploymentRuntime, WildoImageTagStrategy } from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport {\n SERVICE_IMAGE_BUILD_ARG_NAMES,\n generateWorkflow,\n resolveServiceImageBuildArgs,\n resolveServiceImageDockerfilePath,\n} from '../ci-workflow-generator.service';\nimport { TemplateProcessor } from '../../../infrastructure/io/template-processor';\n\nconst repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../..');\n\n/**\n * Repo-root-relative deploy zone as the generated workflows must address it.\n *\n * Rebuilt from the SAME layout constants\n * (`EnvironmentPaths.resolveScopedDeployArtifactsDir` composes\n * `WORKSPACE_HOME_NAMES.APP_RUNTIME_HOME` + `APP_RUNTIME_SUBDIR_NAMES.DEPLOY`),\n * so relocating the zone in the layout vocabulary without updating the `.hbs`\n * templates fails here instead of shipping a workflow that `kubectl apply`s a\n * path nothing renders to.\n */\nconst DEPLOY_ZONE_RELATIVE_PATH = `${WORKSPACE_HOME_NAMES.APP_RUNTIME_HOME}/${APP_RUNTIME_SUBDIR_NAMES.DEPLOY}`;\n\ndescribe('deployment template contracts', () => {\n /*\n * #984: the generated deploy workflow built every service from `<path>/Dockerfile`, and nothing\n * created most of them — the backend's, the website's, the technical doc's. The templates' own\n * header said each service \"has its own Dockerfile\", so the first deploy of a generated application\n * failed at the build step of the one image every application has, and the generator's tests only\n * ever exercised the rendered YAML.\n *\n * This holds every service path the shipped templates DECLARE — the skeleton's `services` block and\n * every scenario's `ts-object-append` entry that carries a `path` — to a Dockerfile at exactly the\n * location `resolveServiceImageDockerfilePath` maps it to, which is the mapping `wildo config sync\n * --domain cicd` uses. A service kind added tomorrow without one fails here, not on a deploy VM.\n */\n it('ships a Dockerfile at the path the deploy workflow builds, for every service path the templates declare (#984)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n const missing: string[] = [];\n let declared = 0;\n\n // The skeleton: its init config declares the backend and the frontend.\n const skeletonRoot = join(templatesRoot, 'skeleton');\n const initConfig = readFileSync(join(skeletonRoot, 'wildo.saas.config.ts.init.hbs'), 'utf8');\n // The `services` object only — `libraries` and `specifications` declare paths too, and those are\n // not images. The object closes at the first `\\n },` after its opening (two-space top-level indent).\n const servicesStart = initConfig.indexOf('services: {');\n const servicesEnd = initConfig.indexOf('\\n },', servicesStart);\n expect(servicesStart).toBeGreaterThan(-1);\n expect(servicesEnd).toBeGreaterThan(servicesStart);\n const servicesBlock = initConfig.slice(servicesStart, servicesEnd);\n const skeletonPaths = [...servicesBlock.matchAll(/path: '(\\.\\/[^']+)'/g)].map((match) => match[1]);\n expect(skeletonPaths).toEqual(['./backend-api', './frontend']); // the two scaffold images, and nothing that is not one\n for (const servicePath of skeletonPaths) {\n declared += 1;\n const dockerfile = resolveServiceImageDockerfilePath(servicePath);\n if (!existsSync(join(skeletonRoot, dockerfile))) missing.push(`skeleton: ${dockerfile}`);\n }\n // And the context the frontend's and backend's `COPY . .` depend on.\n if (!existsSync(join(skeletonRoot, 'dockerignore'))) missing.push('skeleton: dockerignore (rendered as .dockerignore)');\n\n // Every scenario that appends a service / minion / worker entry with a `path`. `{{var}}` in the\n // authored path is `__var__` in the scenario's files tree (Nx filename interpolation), and the\n // Dockerfile may be authored plain or as a `.hbs` template.\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n if (edit.kind !== 'ts-object-append' || typeof edit.entry !== 'string') continue;\n const pathMatch = /path: '(\\.\\/[^']+)'/.exec(edit.entry);\n if (!pathMatch) continue;\n declared += 1;\n const filesRelative = resolveServiceImageDockerfilePath(pathMatch[1]).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__');\n const authored = join(scenariosRoot, scenarioDir.name, 'files', filesRelative);\n if (!existsSync(authored) && !existsSync(`${authored}.hbs`)) missing.push(`${scenarioDir.name}: ${filesRelative}`);\n }\n }\n\n // Guard the guard: the two scaffold services plus website, technical doc, minion, two workers.\n expect(declared).toBeGreaterThanOrEqual(7);\n expect(missing).toEqual([]);\n });\n\n /*\n * #1190: the generated deploy workflow builds EVERY image with the application root as its context (`context: .`,\n * `file: <path>/Dockerfile`), and the Rust worker's Dockerfile was written for its crate directory (`COPY Cargo.toml\n * ./`). The file existed where #984 looks for it and the step still could not find its sources. This reads every\n * `COPY` a shipped Dockerfile makes from the build context and holds its source to the application root: the whole\n * context (`.`), or a path inside the service's own directory.\n */\n it('addresses every COPY source from the application root, the context the deploy workflow builds with (#1190)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n const dockerfiles: Array<{ id: string; file: string; servicePath: string }> = [];\n for (const servicePath of ['./backend-api', './frontend']) {\n dockerfiles.push({ id: `skeleton${servicePath.slice(1)}`, file: join(templatesRoot, 'skeleton', resolveServiceImageDockerfilePath(servicePath)), servicePath });\n }\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n if (edit.kind !== 'ts-object-append' || typeof edit.entry !== 'string') continue;\n const pathMatch = /path: '(\\.\\/[^']+)'/.exec(edit.entry);\n if (!pathMatch) continue;\n const authored = join(scenariosRoot, scenarioDir.name, 'files', resolveServiceImageDockerfilePath(pathMatch[1]).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__'));\n const file = existsSync(authored) ? authored : `${authored}.hbs`;\n if (existsSync(file)) dockerfiles.push({ id: scenarioDir.name, file, servicePath: pathMatch[1] });\n }\n }\n\n const outsideContext: string[] = [];\n let copies = 0;\n for (const { id, file, servicePath } of dockerfiles) {\n const ownDirectory = `${servicePath.slice(2)}/`;\n for (const line of readFileSync(file, 'utf8').split('\\n')) {\n const copy = /^\\s*(?:COPY|ADD)\\s+(.*)$/.exec(line);\n if (!copy || /--from=/.test(copy[1])) continue;\n const words = copy[1].split(/\\s+/).filter((word) => word.length > 0 && !word.startsWith('--'));\n for (const source of words.slice(0, -1)) {\n copies += 1;\n if (source !== '.' && !source.startsWith(ownDirectory)) outsideContext.push(`${id}: COPY ${source} (not '.' and not under ${ownDirectory})`);\n }\n }\n }\n\n // Guard the guard: the two scaffold images plus website, technical doc, minion and both workers each copy something.\n expect(dockerfiles.length).toBeGreaterThanOrEqual(7);\n expect(copies).toBeGreaterThanOrEqual(dockerfiles.length);\n expect(outsideContext).toEqual([]);\n });\n\n /*\n * #1125: a frontend-shaped image bakes its origins in at BUILD time and the build context excludes every `.env*`,\n * so a deploy build that passes no build-args ships a frontend with empty origins while the workflow stays green.\n * This reads every service the shipped templates declare — its kind from the declaration's `frontendType`, its\n * build-time `ARG`s (those with no default) from the Dockerfile it builds — and holds the two ends together: the\n * resolver names exactly those args for that kind, and BOTH rendered workflows pass every one of them to the step\n * that builds that Dockerfile.\n */\n it('passes every build-time ARG a shipped Dockerfile declares, from the deploy workflow step that builds it (#1125)', () => {\n const templatesRoot = join(repoRoot, 'templates', 'saas');\n type TemplateService = { readonly id: string; readonly frontendType: AppFrontendType | undefined; readonly declaredArgs: readonly string[] };\n const services: TemplateService[] = [];\n const frontendTypeOf = (declaration: string): AppFrontendType | undefined => {\n const member = /frontendType: AppFrontendType\\.(\\w+)/.exec(declaration)?.[1];\n if (member === undefined) return undefined;\n const value = AppFrontendType[member as keyof typeof AppFrontendType];\n expect(value, `the templates name AppFrontendType.${member}, which does not exist`).toBeDefined();\n return value;\n };\n const argsDeclaredBy = (dockerfile: string): string[] => {\n const source = existsSync(dockerfile) ? readFileSync(dockerfile, 'utf8') : readFileSync(`${dockerfile}.hbs`, 'utf8');\n // An `ARG NAME=default` carries its own value (the base image); only a default-less ARG must be passed.\n return [...source.matchAll(/^ARG ([A-Z][A-Z0-9_]*)\\s*$/gm)].map((match) => match[1]).sort();\n };\n\n const skeletonRoot = join(templatesRoot, 'skeleton');\n const initConfig = readFileSync(join(skeletonRoot, 'wildo.saas.config.ts.init.hbs'), 'utf8');\n const servicesStart = initConfig.indexOf('services: {');\n const servicesBlock = initConfig.slice(servicesStart, initConfig.indexOf('\\n },', servicesStart));\n for (const [, key, body] of servicesBlock.matchAll(/\\n {4}(\\w+): \\{([\\s\\S]*?)\\n {4}\\},/g)) {\n const servicePath = /path: '(\\.\\/[^']+)'/.exec(body)![1];\n services.push({ id: `skeleton-${key}`, frontendType: frontendTypeOf(body), declaredArgs: argsDeclaredBy(join(skeletonRoot, resolveServiceImageDockerfilePath(servicePath))) });\n }\n const scenariosRoot = join(templatesRoot, 'scenarios');\n for (const scenarioDir of readdirSync(scenariosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const manifestPath = join(scenariosRoot, scenarioDir.name, 'scenario.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { edits?: Array<{ kind: string; entry?: string }> };\n for (const edit of manifest.edits ?? []) {\n const servicePath = edit.kind === 'ts-object-append' && typeof edit.entry === 'string' ? /path: '(\\.\\/[^']+)'/.exec(edit.entry)?.[1] : undefined;\n if (servicePath === undefined) continue;\n const dockerfile = join(scenariosRoot, scenarioDir.name, 'files', resolveServiceImageDockerfilePath(servicePath).replace(/\\{\\{(\\w+)\\}\\}/g, '__$1__'));\n services.push({ id: scenarioDir.name, frontendType: frontendTypeOf(edit.entry!), declaredArgs: argsDeclaredBy(dockerfile) });\n }\n }\n // Guard the guard: the population, and every frontend kind represented.\n expect(services.length).toBeGreaterThanOrEqual(7);\n expect(new Set(services.map((service) => service.frontendType).filter(Boolean))).toEqual(new Set(Object.values(AppFrontendType)));\n\n // End one: the resolver names exactly what each kind's Dockerfile declares.\n const nameMismatches = services\n .map((service) => ({ service, expected: [...(service.frontendType ? SERVICE_IMAGE_BUILD_ARG_NAMES[service.frontendType] : [])].sort() }))\n .filter(({ service, expected }) => JSON.stringify(service.declaredArgs) !== JSON.stringify(expected))\n .map(({ service, expected }) => `${service.id}: Dockerfile declares ${JSON.stringify(service.declaredArgs)}, the resolver names ${JSON.stringify(expected)}`);\n expect(nameMismatches).toEqual([]);\n\n // End two: both rendered workflows pass every declared arg to the step building that service.\n const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'ci'));\n const workflowServices = services.map((service) => {\n const { buildArgs, unresolved } = resolveServiceImageBuildArgs({\n frontendType: service.frontendType, serviceName: service.id, appDisplayName: \"Acme's App\", envName: 'production',\n runtimeEnvironment: RuntimeEnvironment.PRODUCTION, publicDomain: 'acme.example',\n serviceHosts: { app: 'app', docs: 'docs', website: '', backendApi: 'api' }, mainBackendApiServiceKey: 'backendApi', saasAppServiceKey: 'app',\n });\n expect(unresolved, `${service.id} left args unresolved in a fully declared environment`).toEqual([]);\n return { serviceName: service.id, dockerfile: `${service.id}/Dockerfile`, buildArgs, unresolvedBuildArgs: unresolved };\n });\n for (const runtime of [WildoDeploymentRuntime.DOCKER_COMPOSE, WildoDeploymentRuntime.KUBERNETES]) {\n const workflow = generateWorkflow({\n envName: 'production', appName: 'acme', services: workflowServices,\n deployment: { branch: 'main', runtime, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA, ...(runtime === WildoDeploymentRuntime.KUBERNETES ? { namespace: 'acme' } : {}) } as never,\n }, tp);\n for (const service of services) {\n const stepStart = workflow.search(new RegExp(`- name: Build (and push )?${service.id}\\\\n`));\n expect(stepStart, `${runtime}: no build step for ${service.id}`).toBeGreaterThan(-1);\n const nextStep = workflow.indexOf('\\n - name:', stepStart + 1);\n const step = workflow.slice(stepStart, nextStep === -1 ? undefined : nextStep);\n for (const arg of service.declaredArgs) {\n expect(step, `${runtime}: the step building ${service.id} does not pass ${arg}`).toMatch(new RegExp(`(^|[\\\\s'])${arg}=`, 'm'));\n }\n if (service.declaredArgs.length === 0) expect(step).not.toMatch(/build-args:|--build-arg/);\n }\n // A value is rendered verbatim into the build step — the website of a PRODUCTION environment opts into indexing.\n expect(workflow).toMatch(/PUBLIC_ALLOW_INDEXING=true/);\n expect(workflow).toMatch(/VITE_API_BASE_URL=https:\\/\\/api\\.acme\\.example/);\n // A frontend image bakes its CSP from the checkout, so the checkout must be synced for THIS environment before\n // the first image is built — not left at whichever environment a developer last synced (usually `local`).\n const cspSync = workflow.indexOf('npx wildo dev sync-csp --env=production');\n expect(cspSync, `${runtime}: the workflow never syncs the frontend CSP for its environment`).toBeGreaterThan(-1);\n // The first IMAGE build, found by the Docker markers rather than by a step NAME: the workflows also carry a\n // non-image `Build application packages` step (the CLI needs the application's dist), and a name-shaped\n // marker silently matched it.\n const firstImageBuild = [workflow.indexOf('uses: docker/build-push-action'), workflow.indexOf('run: docker build')]\n .filter((index) => index > -1);\n expect(firstImageBuild, `${runtime}: the workflow builds no image`).not.toEqual([]);\n expect(cspSync, `${runtime}: the CSP is synced after an image was already built`).toBeLessThan(Math.min(...firstImageBuild));\n }\n });\n\n /*\n * #1165: both rendered workflows push to the registry the manifests pull from. A Compose workflow used to build and never\n * push, and a Kubernetes workflow pushed to `deployment.registry`/GHCR while the cluster pulled from the endpoint.\n */\n it('pushes every image to the environment registry endpoint the deploy manifests pull from', () => {\n const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'ci'));\n const services = [{ serviceName: 'acme-app', dockerfile: 'frontend/Dockerfile', buildArgs: [], unresolvedBuildArgs: [] }];\n for (const runtime of [WildoDeploymentRuntime.DOCKER_COMPOSE, WildoDeploymentRuntime.KUBERNETES]) {\n const workflow = generateWorkflow({\n envName: 'staging', appName: 'acme', services, registryEndpoint: 'rg.fr-par.scw.cloud/acme',\n deployment: { branch: 'staging', runtime, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA } as never,\n }, tp);\n expect(workflow, `${runtime}: never logs in to the endpoint`).toMatch(/docker\\/login-action@v3/);\n expect(workflow, `${runtime}: does not push`).toMatch(/push: true/);\n expect(workflow, `${runtime}: pushes somewhere other than the endpoint`).toMatch(/rg\\.fr-par\\.scw\\.cloud\\/acme/);\n expect(workflow).not.toMatch(/ghcr\\.io/);\n // The GitHub-token login fallback can only push with package write permission, on either runtime.\n expect(workflow, `${runtime}: the job cannot push with the GitHub token`).toMatch(/permissions:\\n\\s+contents: read\\n\\s+packages: write/);\n }\n // A Compose environment with no registry says, beside its builds, that it publishes nothing.\n const unpublished = generateWorkflow({\n envName: 'staging', appName: 'acme', services,\n deployment: { branch: 'staging', runtime: WildoDeploymentRuntime.DOCKER_COMPOSE, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA } as never,\n }, tp);\n expect(unpublished).toMatch(/# NOT published: `docker-compose\\.app\\.yml` has no registry to pull them from/);\n expect(unpublished).not.toMatch(/push: true/);\n });\n\n /*\n * #1166: CI passes each environment's app origin as `PUBLIC_APP_ORIGIN`, and a Dockerfile declaring the ARG proves\n * nothing if the website config never reads it — a literal `appOrigin` would silently link every environment to one\n * app again. So every website config the framework ships or dogfoods must take `appOrigin` from the variable first.\n */\n it('reads the per-environment app origin in every website config, template and examples', () => {\n const configs = [join(repoRoot, 'templates', 'saas', 'scenarios', 'add-website', 'files', 'website', 'wildo.website.config.ts.hbs')];\n const examplesRoot = join(repoRoot, 'examples');\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const configPath = join(examplesRoot, app.name, 'wildo.saas.config.ts');\n if (!existsSync(configPath)) continue;\n for (const [, servicePath] of readFileSync(configPath, 'utf8').matchAll(/path: '(\\.\\/[^']+)',[^}]*?frontendType: AppFrontendType\\.STATIC_WEBSITE/g)) {\n configs.push(join(examplesRoot, app.name, servicePath, 'wildo.website.config.ts'));\n }\n }\n // Guard the guard: the template and Wonder Todos' website at least.\n expect(configs.length).toBeGreaterThanOrEqual(2);\n for (const config of configs) {\n expect(readFileSync(config, 'utf8'), config).toMatch(/appOrigin:\\s*process\\.env\\.PUBLIC_APP_ORIGIN\\s*\\|\\|/);\n }\n });\n\n /*\n * The example applications carry their OWN Dockerfiles (monorepo-rooted builds), and the template contract above never\n * read them — which is how three drifted: a docs image that did not declare `WILDO_DOCS_FRONTEND_SERVICE_NAME` (so\n * Docker dropped the arg CI passed), a website reading `PUBLIC_WT_*` names nothing passed, and two images that ran\n * `sync-csp` with no environment and baked the local policy into a remote build. Held to the same rule as the\n * templates: a frontend Dockerfile declares exactly the args the resolver passes for its kind, and one that syncs its\n * CSP in-image declares the environment it syncs for.\n */\n it('holds every example application frontend Dockerfile to the build args its deploy workflow passes', () => {\n const examplesRoot = join(repoRoot, 'examples');\n const checked: string[] = [];\n const mismatches: string[] = [];\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory())) {\n const configPath = join(examplesRoot, app.name, 'wildo.saas.config.ts');\n if (!existsSync(configPath)) continue;\n const config = readFileSync(configPath, 'utf8');\n // `path` and `frontendType` sit in the same object literal, with no closing brace between them.\n for (const [, servicePath, member] of config.matchAll(/path: '(\\.\\/[^']+)',[^}]*?frontendType: AppFrontendType\\.(\\w+)/g)) {\n const frontendType = AppFrontendType[member as keyof typeof AppFrontendType];\n expect(frontendType, `${app.name} names AppFrontendType.${member}, which does not exist`).toBeDefined();\n const dockerfile = join(examplesRoot, app.name, resolveServiceImageDockerfilePath(servicePath));\n // A missing Dockerfile is a different defect (the service cannot be built at all), not an arg mismatch.\n if (!existsSync(dockerfile)) continue;\n const source = readFileSync(dockerfile, 'utf8');\n const declared = [...source.matchAll(/^ARG ([A-Z][A-Z0-9_]*)\\s*$/gm)].map((match) => match[1]).sort();\n const expected = [...SERVICE_IMAGE_BUILD_ARG_NAMES[frontendType]].sort();\n const id = `${app.name}/${servicePath.replace(/^\\.\\//, '')}`;\n checked.push(id);\n if (JSON.stringify(declared) !== JSON.stringify(expected)) {\n mismatches.push(`${id}: Dockerfile declares ${JSON.stringify(declared)}, the deploy workflow passes ${JSON.stringify(expected)}`);\n }\n if (/^RUN .*\\bsync-csp\\b/m.test(source) && !declared.includes('WILDO_INFRA_ENV')) {\n mismatches.push(`${id}: runs sync-csp in the image without declaring WILDO_INFRA_ENV, so it syncs for 'local'`);\n }\n }\n }\n // Guard the guard: Wonder Todos alone ships three frontend Dockerfiles.\n expect(checked).toEqual(expect.arrayContaining(['wonder-todos/frontend', 'wonder-todos/website', 'wonder-todos/technical-doc']));\n expect(mismatches).toEqual([]);\n });\n\n it('keeps local env and runtime-signal material outside application image build contexts', () => {\n const dockerIgnore = readFileSync(join(repoRoot, '.dockerignore'), 'utf8');\n const backendEntrypoint = readFileSync(join(repoRoot, 'examples', 'wonder-todos', 'backend-api', 'src', 'index.ts'), 'utf8');\n\n expect(dockerIgnore).toContain('**/.env*');\n expect(dockerIgnore).toContain('**/.wildo-saas/runtime-signals');\n // The deploy zone must be excluded BY DIRECTORY, not left to `**/.env*`:\n // its per-service files are named `<service>.env` (e.g.\n // `demo-app-backend-api.env`), which does NOT start with `.env` and so\n // slips past that pattern — while carrying the full backend runtime env.\n // Asserted on both the monorepo-rooted context and the application image\n // context, since app images build from a workspace root that contains the\n // rendered zone.\n expect(dockerIgnore).toContain('**/.wildo-saas/deploy');\n const applicationImageDockerIgnore = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'application', '.dockerignore'),\n 'utf8',\n );\n expect(applicationImageDockerIgnore).toContain('**/.wildo-saas/deploy');\n expect(backendEntrypoint).toContain('override: false');\n expect(backendEntrypoint).not.toContain('override: true');\n });\n\n it('wires required steady-state env into the docker-compose apps-manager service', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n expect(composeTemplate).toContain('PLATFORM_ENVIRONMENT_ID: ${PLATFORM_ENVIRONMENT_ID}');\n expect(composeTemplate).toContain('APPLICATION_ENV: ${APPLICATION_ENV}');\n expect(composeTemplate).toContain('PLATFORM_ADMIN_SECRET: ${PLATFORM_ADMIN_SECRET}');\n // All platform service blocks (`apps_manager-init`, `apps_manager-normal`,\n // `crontabs_batches_manager`) wire the env. Pinned at >= 3 to match the\n // current platform-service catalog; bump if a new platform service joins.\n expect(\n composeTemplate.match(/PLATFORM_ENVIRONMENT_ID: \\$\\{PLATFORM_ENVIRONMENT_ID\\}/g)?.length,\n ).toBeGreaterThanOrEqual(3);\n });\n\n it('does not reference the deleted platform-infra-secret in the live app template', () => {\n const applicationTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n\n expect(applicationTemplate).not.toContain('platform-infra-secret');\n });\n\n it('generates runtime source modules before Docker image build in deploy workflows', () => {\n const k8sWorkflow = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-k8s.yml.hbs'),\n 'utf8',\n );\n const composeWorkflow = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-docker-compose.yml.hbs'),\n 'utf8',\n );\n\n // Per-service model builds one image per service (`{{#each services}}`), so\n // assert against the stable Docker-build markers rather than a step name.\n expect(k8sWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n k8sWorkflow.indexOf('docker/build-push-action'),\n );\n expect(composeWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n composeWorkflow.indexOf('docker/build-push-action'),\n );\n // `run: docker build`, not `docker build -f`: the build-arg flags (#1125) now sit between the command and `-f`.\n expect(composeWorkflow.indexOf('run: docker build')).toBeGreaterThan(-1);\n expect(composeWorkflow.indexOf('npx wildo config sync --ci')).toBeLessThan(\n composeWorkflow.indexOf('run: docker build'),\n );\n });\n\n /*\n * Measured 2026-09-15 (#1167), running these steps for real: the workflow installed, then called the CLI, and the\n * CLI died with `No \"exports\" main defined in .../@<slug>/shared-lib/package.json`. An application's OWN packages\n * are resolved through their published `exports`, which point at `dist/`; only FRAMEWORK packages are\n * source-aliased by the config loader (`buildDeclaredPackageSourceAliases`). A clean CI checkout has no `dist`,\n * so every deploy of every generated application failed at its first CLI step until the application was built.\n */\n /*\n * #1201: the deploy workflows passed no `platforms:`, so each image was built for whatever architecture the\n * runner happened to be and published as THE image. Measured on a real run: the pushed app image was\n * amd64-only, and `docker pull` from an arm64 host answered `no matching manifest for linux/arm64/v8`.\n * Paul's standing rule (2026-09-03) is that the architecture comes from the BUILD LANE, never from a\n * `FROM --platform` inside a Dockerfile, and that every image the framework builds serves both.\n */\n /*\n * A hosted runner starts at ~9.4 GB free of 72 GB and each frontend image costs ~5 GB, so a several-service\n * application runs the disk out partway through — and the failure has no error in it: the runner dies, the\n * step stays \"in progress\", the job ends with no log (measured on run 35067538433, on its third image).\n */\n it('reclaims runner disk before building any image', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const reclaim = workflow.indexOf('Free disk before building images');\n const firstImageBuild = [workflow.indexOf('uses: docker/build-push-action'), workflow.indexOf('run: docker build')].filter(index => index > -1);\n expect(reclaim, `${template}: nothing reclaims disk before the image builds`).toBeGreaterThan(-1);\n expect(reclaim, `${template}: disk is reclaimed after an image was already built`).toBeLessThan(Math.min(...firstImageBuild));\n }\n });\n\n it('builds every pushed image for both architectures, with QEMU registered before buildx (#1201)', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const qemu = workflow.indexOf('docker/setup-qemu-action');\n const buildx = workflow.indexOf('docker/setup-buildx-action');\n expect(qemu, `${template}: arm64 is emulated on an amd64 runner and needs QEMU`).toBeGreaterThan(-1);\n expect(qemu, `${template}: QEMU is registered after buildx`).toBeLessThan(buildx);\n // Every pushing build step declares both architectures — `push: true` marks one.\n const pushSteps = workflow.split('push: true').length - 1;\n const platformLines = workflow.split('platforms: linux/amd64,linux/arm64').length - 1;\n expect(pushSteps, `${template}: no pushing build step`).toBeGreaterThan(0);\n expect(platformLines, `${template}: a pushed image is built for one architecture`).toBe(pushSteps);\n }\n });\n\n it('builds the application packages before the first CLI step, which loads them through their dist exports', () => {\n for (const template of ['deploy-k8s.yml.hbs', 'deploy-docker-compose.yml.hbs']) {\n const workflow = readFileSync(join(repoRoot, 'templates', 'infra', 'ci', template), 'utf8');\n const build = workflow.indexOf('run: pnpm run build');\n const install = workflow.indexOf('run: pnpm install --frozen-lockfile');\n const firstCliStep = workflow.indexOf('npx wildo');\n expect(build, `${template}: no application build step`).toBeGreaterThan(-1);\n expect(install, `${template}: no install step`).toBeGreaterThan(-1);\n expect(install, `${template}: builds before installing`).toBeLessThan(build);\n expect(build, `${template}: calls the CLI before building the application`).toBeLessThan(firstCliStep);\n }\n });\n\n /*\n * Measured 2026-09-16 (#1167): the Wonder Todos website and technical-doc images both copied\n * `engine/external-connectors`, a package that had been split into `-models` / `-private` / `-public`,\n * so `docker build` failed at that COPY — \"failed to compute cache key ... /engine/external-connectors\".\n * Neither image had been buildable since the split, and nothing said so: an example Dockerfile is read by\n * no typecheck and no test. This holds every literal source an example Dockerfile copies from its build\n * context to a path that exists.\n */\n it('copies only paths that exist, in every example application Dockerfile (#1167)', () => {\n const examplesRoot = join(repoRoot, 'examples');\n const dockerfiles: string[] = [];\n const walk = (directory: string, depth: number) => {\n for (const entry of readdirSync(directory, { withFileTypes: true })) {\n if (entry.name === 'node_modules' || entry.name.startsWith('.')) continue;\n const full = join(directory, entry.name);\n if (entry.isDirectory() && depth > 0) walk(full, depth - 1);\n else if (entry.isFile() && entry.name === 'Dockerfile') dockerfiles.push(full);\n }\n };\n for (const app of readdirSync(examplesRoot, { withFileTypes: true }).filter(entry => entry.isDirectory() && !entry.name.startsWith('.'))) {\n walk(join(examplesRoot, app.name), 3);\n }\n\n const missing: string[] = [];\n let copied = 0;\n for (const dockerfile of dockerfiles) {\n // The example images are built with the REPOSITORY root as their context (they copy `engine/`, `platform/`).\n const body = readFileSync(dockerfile, 'utf8').replace(/\\\\\\n/g, ' ');\n for (const line of body.split('\\n')) {\n const copy = /^\\s*COPY\\s+(.*)$/.exec(line);\n if (!copy || /--from=/.test(copy[1])) continue;\n const words = copy[1].split(/\\s+/).filter(word => word.length > 0 && !word.startsWith('--'));\n for (const source of words.slice(0, -1)) {\n if (source.includes('*') || source.includes('?')) continue; // a glob's emptiness is a different question\n copied += 1;\n if (!existsSync(join(repoRoot, source))) missing.push(`${dockerfile.slice(repoRoot.length + 1)}: COPY ${source}`);\n }\n }\n }\n\n // Guard the guard: Wonder Todos alone ships six images, and they copy far more than one path each.\n expect(dockerfiles.length).toBeGreaterThanOrEqual(6);\n expect(copied).toBeGreaterThan(40);\n expect(missing).toEqual([]);\n });\n\n /**\n * Pins the canonical-sink contract enforced by `k8s-secrets-generator.service.ts`\n * for the framework application deployment template (Phase 8 — now\n * PARAMETERIZED per-app, `{{appName}}` = appSlug):\n * - Per-RUNTIME env lives in ONE Secret `{{runtimeEnvSecretName}}` (#377) — emit-name ==\n * mount-name (the §5 emit keys on the SAME appSlug; see the\n * `emit-name == {appSlug}-secret mount` contract test in\n * `k8s-secrets-generator.service.test.ts`). The historical bug mounted a\n * hardcoded `wildo-ai-application-secret` that the `${serviceName}-secret`\n * emit never produced → fail-closed boot.\n * - Provider env vars live in this runtime's OWN `{{providersSecretName}}`, `optional: true`.\n * REPLACED the sole shared `providers-secret` (#369): one cluster Secret held the whole\n * `providerEnv` and was `envFrom`-mounted by the backend, every minion AND every worker, so\n * a worker authoring `providers: {}` received every provider key the application had. The\n * name is now resolved by `k8sRuntimeProvidersSecretName` on BOTH sides and threaded in as a\n * template variable — never composed in the template, which is what keeps emit-name ==\n * mount-name a single decision.\n * - The pod is never handed the cluster-wide infra ADMIN SECRETS — i.e. the\n * Mongo/Redis/RabbitMQ/Postgres admin material, which is genuinely minted\n * per-app (Phase 8 S2). ⚠️ QUALIFIED 2026-08-05: this is NOT the same as\n * \"no cluster-wide credential reaches the pod\". `{appName}-secret` carries\n * STORAGE_ACCESS_KEY / STORAGE_SECRET_KEY, which are the SAME values as\n * MinIO's MINIO_ROOT_USER / MINIO_ROOT_PASSWORD — object storage is the one\n * backing service with no per-app minting, so every app/minion/worker holds\n * its root credential. Tracked in\n * `.claude/plans/object-storage-root-credential-distribution.md`. The\n * assertions below are correct as written; only the blanket phrasing was.\n * the git-clone-lane relic env is gone (Phase 8 R4).\n */\n it('the K8s app BACKEND deployment template mounts {{runtimeEnvSecretName}} + its OWN {{providersSecretName}} { optional: true }, no infra ADMIN SECRETS, no relics', () => {\n const frameworkAppTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n\n // Per-runtime env Secret mount — FAIL-CLOSED (no optional): a pod cannot boot without its\n // environment. The name is RESOLVED and threaded in, not composed here as `{{appName}}-secret`\n // (#377), so no template in this lane builds a Secret name any more — the failure this file\n // was written for, from the era when a template hardcoded a name the emit never produced.\n expect(frameworkAppTemplate).toMatch(/envFrom:[\\s\\S]*?secretRef:[\\s\\S]*?name: \\{\\{runtimeEnvSecretName\\}\\}/);\n expect(frameworkAppTemplate).not.toMatch(\n /secretRef:\\s*\\n\\s*name: \\{\\{runtimeEnvSecretName\\}\\}\\s*\\n\\s*optional: true/,\n );\n expect(frameworkAppTemplate).not.toContain('name: {{appName}}-secret');\n\n // This runtime's OWN provider Secret — `optional: true` REQUIRED, because a backend that\n // declares no providers emits no Secret and must still start (#369).\n expect(frameworkAppTemplate).toMatch(\n /secretRef:\\s*\\n\\s*name: \\{\\{providersSecretName\\}\\}\\s*\\n\\s*optional: true/,\n );\n // And the shared bag is GONE. Asserted as an absence at the MOUNT line (`name:` followed by\n // the bare literal) rather than anywhere in the file, so the historical note in the comment\n // above this template's envFrom block does not trip it.\n expect(frameworkAppTemplate).not.toMatch(/name: providers-secret$/m);\n\n // ZERO ConfigMap mounts (single Secret per app).\n expect(frameworkAppTemplate).not.toMatch(/configMapRef:/);\n\n // S2 — the app pod is NEVER injected cluster-wide infra ADMIN creds. The\n // admin secret refs (valkey-secret / rabbitmq-secret) must not appear.\n expect(frameworkAppTemplate).not.toContain('valkey-secret');\n expect(frameworkAppTemplate).not.toContain('rabbitmq-secret');\n expect(frameworkAppTemplate).not.toContain('REDIS_ADMIN_PASSWORD');\n expect(frameworkAppTemplate).not.toContain('RABBITMQ_ADMIN');\n\n // R4 — no git-clone-lane relic env DECLARATIONS (assert the `- name:`\n // form so the explanatory comment listing them doesn't trip this).\n expect(frameworkAppTemplate).not.toMatch(/- name: SKIP_GIT_CLONE/);\n expect(frameworkAppTemplate).not.toMatch(/- name: APP_MODE/);\n expect(frameworkAppTemplate).not.toMatch(/- name: ENABLED_SERVICES/);\n });\n\n it('renders per-service images + identity (serviceName) for backend AND frontends, not one hardcoded app image', () => {\n const backendTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'),\n 'utf8',\n );\n const frontendTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'frontend.deployment.yaml.hbs'),\n 'utf8',\n );\n const applicationIngressTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'ingress.yaml.hbs'),\n 'utf8',\n );\n\n // Per-SERVICE image + identity (serviceName, e.g. `{app}-backend-api` /\n // `{app}-app`), NOT one shared `{{appName}}` image.\n expect(backendTemplate).toContain('image: {{imageRegistry}}/{{serviceName}}:{{imageTag}}');\n expect(frontendTemplate).toContain('image: {{imageRegistry}}/{{serviceName}}:{{imageTag}}');\n expect(backendTemplate).toMatch(/name: \\{\\{serviceName\\}\\}/);\n expect(frontendTemplate).toMatch(/name: \\{\\{serviceName\\}\\}/);\n // The backend mounts its own RESOLVED env Secret (#377 — the name is threaded in, not\n // composed from `{{appName}}` here); the frontend (static nginx) has NO secret mount at all\n // (config is baked at build time).\n expect(backendTemplate).toMatch(/name: \\{\\{runtimeEnvSecretName\\}\\}/);\n expect(frontendTemplate).not.toMatch(/secretRef:/);\n for (const t of [backendTemplate, frontendTemplate]) {\n expect(t).not.toContain('wildo-ai-dev');\n expect(t).not.toContain('isDevMode');\n expect(t).not.toContain('hostPath:');\n }\n expect(applicationIngressTemplate).not.toContain('isDevMode');\n expect(applicationIngressTemplate).not.toContain('lifecycle-wildo-ai-application');\n });\n\n it('compose template pins the RabbitMQ node name, because the broker keys its whole definitions database by it', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n /*\n * RabbitMQ stores vhosts, users, permissions and queues under `rabbit@<hostname>`. A compose\n * service with no fixed `hostname:` gets a random container id on every recreation, so the broker\n * boots an EMPTY node beside the previous one's data. Measured 2026-09-22: every vhost minted for a\n * hosted application (wonder-crm + three scratch apps) was orphaned in the previous node's directory\n * after one `wildo local up`, and the crontabs manager was refused by vhosts that had existed the day\n * before. The k8s lane is a StatefulSet and never had the problem. Pinned on the SERVICE block so a\n * `hostname:` on some other service cannot satisfy it.\n */\n const rabbitmqBlock = composeTemplate.slice(composeTemplate.indexOf('\\n rabbitmq:\\n'));\n const rabbitmqService = rabbitmqBlock.slice(0, rabbitmqBlock.indexOf('\\n minio:\\n') > 0 ? rabbitmqBlock.indexOf('\\n minio:\\n') : undefined);\n expect(rabbitmqService).toMatch(/^\\s+container_name: wildo-rabbitmq$/m);\n expect(rabbitmqService).toMatch(/^\\s+hostname: wildo-rabbitmq$/m);\n });\n\n it('compose template takes every data mount from the derived source map, and declares the volumes it mounts', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n\n /*\n * Each stateful service takes its data mount SOURCE from `{{localDataSources.<key>}}`, which the\n * generator resolves to either a named volume or an absolute host path under `{{localDataPath}}`\n * depending on the environment's `localDataStorage`. Pinned as the uniform SHAPE rather than as\n * one mode's spelling: the mode is one decision taken in the generator, and a mount that hard-codes\n * either form is a mount that cannot follow it.\n *\n * (Before 2026-09-22 every one of these was a literal `{{localDataPath}}/<svc>` bind. That cost a\n * measured ~4 CPU cores on macOS, where a host bind mount crosses the VM's filesystem bridge —\n * see the `volumes:` section of the template for the measurement.)\n *\n * MongoDB is deliberately the exception to the one-mount-per-service shape: `mongo:8.2` declares\n * child image volumes at `/data/db` and `/data/configdb`, so both exact child paths must be\n * mounted or Docker shadows a parent `/data` mount with anonymous volumes.\n */\n expect(composeTemplate).toContain('- {{localDataSources.mongodbDb}}:/data/db');\n expect(composeTemplate).toContain('- {{localDataSources.mongodbConfigdb}}:/data/configdb');\n expect(composeTemplate).not.toMatch(/- \\{\\{localDataSources\\.mongodb\\}\\}:\\/data\\b/);\n // The literal form is what the source map replaced; a mount that reintroduces it opts out of the\n // storage mode silently, and on macOS/Windows that is the whole cost back.\n expect(composeTemplate).not.toMatch(/^\\s+- \\{\\{localDataPath\\}\\}\\/(mongodb|mongot|valkey|rabbitmq|minio|postgresql|clamav|immudb)/m);\n /*\n * mongod runs AS `mongodb`, and that is load-bearing rather than cosmetic.\n *\n * Started as root, the image chowns `/data/db` and gosu's to uid 999 — but on Docker Desktop's\n * gRPC FUSE a bind-mounted file presents as root:root 0600 whatever the host says, so that chown\n * cannot stick and uid 999 cannot reopen its own database. The first start works and every start\n * after it dies with EPERM on `WiredTiger.wt` and fatal assertion 28595, which reads as data\n * corruption and is an ownership mismatch. Naming the user makes `id -u` non-zero, so the image\n * skips both the gosu drop and the ineffective chown.\n *\n * A named volume does not have that problem (it is an ordinary Linux directory inside the VM), but\n * the pin STAYS: `HOST_PATH` is still the REMOTE default and still authorable locally, so the trap\n * is one config line away rather than gone.\n */\n expect(composeTemplate).toContain('user: \"mongodb\"');\n // Issue #74 — mongot is the second stateful service in the MongoDB lane, and it is the\n // SINGLE-mount shape, not mongod's two-child one: its image declares no `VOLUME` at all, so\n // there is nothing for Docker to shadow. Pinned here so `INFRA_SERVICE_DATA_SUBDIRS`, the\n // generator's `LOCAL_DATA_MOUNTS` table and this template cannot drift apart in any direction.\n expect(composeTemplate).toContain('- {{localDataSources.mongot}}:{{mongotDataPath}}');\n expect(composeTemplate).toContain('- {{localDataSources.valkey}}:/data');\n expect(composeTemplate).toContain('- {{localDataSources.rabbitmq}}:/var/lib/rabbitmq');\n expect(composeTemplate).toContain('- {{localDataSources.minio}}:/data');\n expect(composeTemplate).toContain('- {{localDataSources.postgresql}}:/var/lib/postgresql/data');\n expect(composeTemplate).toContain('- {{localDataSources.clamav}}:/var/lib/clamav');\n expect(composeTemplate).toContain('- {{localDataSources.immudb}}:/var/lib/immudb');\n\n /*\n * The two read-only secret FILES stay HOST mounts under every storage mode — they are\n * materialized from `secrets.json` and a volume has no way to receive them. Pinned because\n * sweeping them into the source map is the plausible \"finish the job\" edit, and its symptom is an\n * immudb running UNSIGNED and a mongot that cannot authenticate, neither of which names the\n * compose file.\n */\n expect(composeTemplate).toContain('- {{immudbSigningKeyHostPath}}:/etc/immudb/state-signing.key:ro');\n expect(composeTemplate).toContain('- {{mongotPasswordHostPath}}:{{mongotPasswordFilePath}}:ro');\n\n /*\n * The top-level `volumes:` block is DERIVED and CONDITIONAL: rendered from `localDataVolumes`,\n * which the generator builds from the same table as the mount sources and leaves empty under\n * `HOST_PATH` — compose rejects an empty mapping, so the block must disappear entirely rather\n * than render bare. A hand-written entry would be a second list that can drift from what is\n * actually mounted, which compose only reports at `up` time.\n */\n expect(composeTemplate).toContain('{{#if localDataVolumes.length}}');\n expect(composeTemplate).toMatch(/\\{\\{#each localDataVolumes\\}\\}/);\n expect(composeTemplate).not.toMatch(/^\\s*[a-z]+_data:\\s*\\n\\s+driver: local/m);\n\n // Mongo and ClamAV blocks are conditional — the {{#if}} guards must\n // remain so MANAGED-source environments don't spawn redundant local\n // containers.\n expect(composeTemplate).toContain('{{#if includeLocalMongoDB}}');\n expect(composeTemplate).toContain('{{#if includeLocalClamAV}}');\n });\n\n it('Slice 4 — K8s mongodb + clamav internal manifests + PV declarations exist', () => {\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'mongodb', 'service.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'mongodb', 'deployment.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'clamav', 'service.yaml.hbs')),\n ).toBe(true);\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'clamav', 'deployment.yaml.hbs')),\n ).toBe(true);\n\n const pvTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'storage', 'local', 'persistent-volumes.yaml.hbs'),\n 'utf8',\n );\n // Both K8s PVs are gated on the same predicates the Compose template\n // uses (Slice 4.7 / 4.8) so an env that opts out of MANAGED MongoDB or\n // SELF ClamAV doesn't carry an unbound PV in its rendered manifests.\n expect(pvTemplate).toContain('{{#if includeLocalMongoDB}}');\n expect(pvTemplate).toContain('{{#if includeLocalClamAV}}');\n expect(pvTemplate).toContain('/mnt/local-data/mongodb');\n expect(pvTemplate).toContain('/mnt/local-data/clamav');\n });\n\n it('Slice 4 / D7 — dead static docker-compose.yml is deleted (single source of truth = .hbs)', () => {\n // The legacy hand-edited `docker-compose.yml` in the same dir as the\n // `.hbs` template has zero live consumers (the CLI's `composeFile`\n // resolution always points at `docker-compose.wildo-platform.yml`,\n // rendered from the template). Re-introducing it would re-create the\n // parallel-topology trap that once hid optional sidecar services (YARA,\n // and the since-deleted Weaviate vector store) from the catalog.\n expect(\n existsSync(join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.yml')),\n ).toBe(false);\n });\n\n /**\n * Pins the Slice 9 invariants on the two CI deploy workflow templates\n * (`deploy-k8s.yml.hbs` + `deploy-docker-compose.yml.hbs`). These are\n * the actual `.hbs` files shipped to customers — the existing\n * `ci-workflow-generator.service.test.ts` only exercises a synthetic\n * one-line template and would NOT catch a regression where the real\n * templates drift back to `wildo deploy generate` (a phantom command\n * that was never registered in the CLI) or where the K8s template's\n * `kubectl apply` path drops the env-suffix and silently applies the\n * wrong env's manifests.\n *\n * Slice 9 invariants asserted here:\n * 1. The artifact-generation step calls `wildo config sync` (the real\n * command) and NOT the phantom `wildo deploy generate`.\n * 2. The `--domain config` filter is present so the deploy job does\n * not also re-render workflow YAMLs (`cicd` domain) and per-service\n * `.env` files (`env-files` domain) — both pointless work in CI.\n * 3. The K8s template's `kubectl apply` path is env-scoped\n * (`.wildo-saas/deploy/{{envName}}/k8s/`) — matching the env-scoped\n * output dir of `generateCiDeployArtifacts`. A drift to a path with\n * no env segment would silently apply a stale or empty directory, and\n * a drift back to the pre-relocation app-root `.wildo-deploy/` would\n * escape the deploy zone's ignore guard and leak credentials.\n * 4. The framing comment crediting `wildo config sync --domain cicd`\n * as the generator (NOT `wildo deploy ci-init`) is preserved.\n * 5. The literal phantom command strings (`wildo deploy generate`,\n * `wildo deploy ci-init`) NEVER appear — only the explicit\n * \"intentionally no `wildo deploy` command surface\" framing\n * comment is allowed.\n * 6. Both templates build per-service images from each service's OWN\n * Dockerfile (`file: {{this.dockerfile}}` under `{{#each services}}`) —\n * customer-authored assets the framework does not generate. Per-service\n * deploy (Phase 9) replaced the single `Dockerfile.app` app image.\n */\n it('Slice 9 — CI deploy templates call `wildo config sync --domain config`, never the phantom `wildo deploy`', () => {\n const k8sTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-k8s.yml.hbs'),\n 'utf8',\n );\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'ci', 'deploy-docker-compose.yml.hbs'),\n 'utf8',\n );\n\n // (1) + (2) — real command, narrow domain filter.\n const expectedRun = 'run: npx wildo config sync --ci --env={{envName}} --domain config';\n expect(k8sTemplate).toContain(expectedRun);\n expect(composeTemplate).toContain(expectedRun);\n\n // (3) — env-scoped kubectl path (K8s template only), addressed inside the\n // app runtime home so the secret-bearing render is covered by the deploy\n // zone's ignore guard.\n expect(k8sTemplate).toContain(\n `kubectl apply -f ${DEPLOY_ZONE_RELATIVE_PATH}/{{envName}}/k8s/`,\n );\n expect(k8sTemplate).not.toContain(`kubectl apply -f ${DEPLOY_ZONE_RELATIVE_PATH}/k8s/`);\n // The pre-relocation app-root zone must not resurface in either template.\n expect(k8sTemplate).not.toContain('.wildo-deploy');\n expect(composeTemplate).not.toContain('.wildo-deploy');\n\n // (4) — generator credit comment.\n expect(k8sTemplate).toContain('# Generated by: wildo config sync --domain cicd');\n expect(composeTemplate).toContain('# Generated by: wildo config sync --domain cicd');\n\n // (5) — phantom command strings are forbidden anywhere except the\n // single allow-listed framing comment that explicitly documents\n // their non-existence. We strip the framing block first and then\n // assert no `wildo deploy` substring survives.\n const stripFramingComment = (s: string): string =>\n s.replace(\n /# This workflow builds one image PER SERVICE[\\s\\S]*?`wildo deploy` command surface\\.\\n/,\n '',\n );\n const k8sStripped = stripFramingComment(k8sTemplate);\n const composeStripped = stripFramingComment(composeTemplate);\n expect(k8sStripped).not.toContain('wildo deploy');\n expect(composeStripped).not.toContain('wildo deploy');\n expect(k8sStripped).not.toContain('wildo deploy generate');\n expect(composeStripped).not.toContain('wildo deploy generate');\n expect(k8sStripped).not.toContain('wildo deploy ci-init');\n expect(composeStripped).not.toContain('wildo deploy ci-init');\n\n // (6) — per-service build steps reference each service's own Dockerfile.\n expect(k8sTemplate).toContain('file: {{this.dockerfile}}');\n expect(composeTemplate).toContain('file: {{this.dockerfile}}');\n });\n\n it('does not ship the deleted local k8s e2e compatibility lane', () => {\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'jobs', 'local', 'run-e2e-tests.yaml.hbs'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'cronjobs', 'local', 'nightly-e2e-tests.yaml.hbs'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'e2e', 'Dockerfile.e2e-runner'),\n )).toBe(false);\n expect(existsSync(\n join(repoRoot, 'templates', 'infra', 'docker-images', 'e2e', 'Dockerfile.e2e-dev'),\n )).toBe(false);\n });\n\n /**\n * Audit Phase 2 — the self-hosted immudb templates must start the server with `--signingKey`\n * (the whole-server-substitution defense) so the audit client's pinned `IMMUDB_STATE_PUBLIC_KEY`\n * can verify a real signature. Both the mount and the flag are GATED on a provisioned key\n * (compose: the materialized key path; k8s: the secret-name template var), so an env without a\n * keypair renders no `--signingKey` and immudb runs unsigned (client warns) rather than\n * crash-looping — graceful degradation. The immudb ENTRYPOINT is the binary, so the flag rides\n * `command`/`args`.\n */\n it('Audit Phase 2 — self-hosted immudb templates pass --signingKey (state-signature defense), gated on a provisioned key', () => {\n const composeTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'),\n 'utf8',\n );\n const immudbK8sTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'k8s', 'internal', 'immudb', 'deployment.yaml.hbs'),\n 'utf8',\n );\n\n // Compose: the private key file (materialized under local_data) is bind-mounted read-only and\n // passed to `--signingKey`, all gated on the resolved host path.\n expect(composeTemplate).toContain('{{#if immudbSigningKeyHostPath}}');\n expect(composeTemplate).toContain('command: [\"--signingKey\", \"/etc/immudb/state-signing.key\"]');\n expect(composeTemplate).toContain('{{immudbSigningKeyHostPath}}:/etc/immudb/state-signing.key:ro');\n\n // K8s: the private key is projected from `immudb-secret` as a single file and passed to\n // `--signingKey`, gated on the secret-name var (set only for the self-hosted immudb service).\n expect(immudbK8sTemplate).toContain('{{#if immudbStateSigningKeySecretName}}');\n expect(immudbK8sTemplate).toContain('args: [\"--signingKey\", \"/etc/immudb/signing/state-signing.key\"]');\n expect(immudbK8sTemplate).toContain('key: IMMUDB_STATE_SIGNING_KEY');\n expect(immudbK8sTemplate).toContain('secretName: {{immudbStateSigningKeySecretName}}');\n });\n\n /*\n * #1760: the platform services' readiness probes called `/health` — liveness — so a module registry\n * that could not reach storage was marked Ready and sent traffic. Every service here runs the engine's\n * `HealthController`, whose `/health/ready` is the dependency check. Liveness stays `/health`: a\n * dependency outage must take a pod out of rotation, never restart it.\n *\n * Enumerated over the platform template DIRECTORY, so a service added tomorrow is held to it too.\n */\n it('probes readiness with /health/ready and liveness with /health, for every platform service and the application backend (#1760)', () => {\n const platformRoot = join(repoRoot, 'templates', 'infra', 'k8s', 'platform');\n const templates = readdirSync(platformRoot, { withFileTypes: true })\n .filter((entry) => entry.isDirectory() && existsSync(join(platformRoot, entry.name, 'deployment.yaml.hbs')))\n .map((entry) => join(platformRoot, entry.name, 'deployment.yaml.hbs'));\n templates.push(join(repoRoot, 'templates', 'infra', 'k8s', 'applications', 'wildo-ai-application', 'backend.deployment.yaml.hbs'));\n expect(templates.length).toBeGreaterThanOrEqual(4);\n for (const file of templates) {\n const source = readFileSync(file, 'utf8');\n const readiness = [...source.matchAll(/readinessProbe:\\s*httpGet:\\s*path: (\\S+)/g)].map((match) => match[1]);\n const liveness = [...source.matchAll(/livenessProbe:\\s*httpGet:\\s*path: (\\S+)/g)].map((match) => match[1]);\n expect({ file, readiness }).toEqual({ file, readiness: ['/health/ready'] });\n expect({ file, liveness }).toEqual({ file, liveness: ['/health'] });\n }\n\n const compose = readFileSync(join(repoRoot, 'templates', 'infra', 'docker-compose', 'docker-compose.wildo-platform.yml.hbs'), 'utf8');\n const platformChecks = [...compose.matchAll(/test: \\[\"CMD\", \"curl\", \"-f\", \"http:\\/\\/localhost:(\\d+)(\\/[^\"]*)\"\\]/g)].map((match) => ({ port: match[1], path: match[2] }));\n expect(platformChecks.map((check) => check.port).sort()).toEqual(['5151', '5152', '5154']);\n expect(platformChecks.every((check) => check.path === '/health/ready')).toBe(true);\n\n // The platform image's own HEALTHCHECK, which a compose service that omits `healthcheck:` inherits\n // (#1760 review: it still said `/health`, inert only because every service overrides it today).\n const platformImage = readFileSync(join(repoRoot, 'templates', 'infra', 'docker-images', 'platform', 'Dockerfile.platform-base'), 'utf8');\n const imageChecks = [...platformImage.matchAll(/HEALTHCHECK[^\\n]*\\\\\\n\\s*CMD curl -f \"http:\\/\\/localhost:\\$\\{PORT:-\\d+\\}(\\/[^\"]*)\"/g)].map((match) => match[1]);\n expect(imageChecks).toEqual(['/health/ready']);\n });\n});\n"]}
@@ -11,7 +11,10 @@ vi.mock('~wildo-cli/infrastructure/process/spawn.utils', () => ({
11
11
  terminateProcessTree: terminateProcessTreeMock,
12
12
  },
13
13
  }));
14
- import { commandReferencesScopedRoot, LocalRuntimeProcessCleanupService, parseWindowsProcessTable, validateCleanupRoots, } from '../local-runtime-process-cleanup.service.js';
14
+ import { mkdirSync, mkdtempSync, writeFileSync } from 'fs';
15
+ import { tmpdir } from 'os';
16
+ import { join } from 'path';
17
+ import { commandReferencesScopedRoot, findSiblingApplicationRoots, LocalRuntimeProcessCleanupService, selectLocalRuntimeProcessGroupCandidates, parseWindowsProcessTable, validateCleanupRoots, } from '../local-runtime-process-cleanup.service.js';
15
18
  const logger = {
16
19
  info: vi.fn(),
17
20
  success: vi.fn(),
@@ -186,4 +189,41 @@ describe('LocalRuntimeProcessCleanupService.collectCandidateProcessGroups', () =
186
189
  expect(candidate.leaderIsOrphaned).toBe(true);
187
190
  });
188
191
  });
192
+ /*
193
+ * Measured 2026-09-24/25: starting the platform-owning application's `wildo local dev` stopped the live
194
+ * compile watchers of another application's running stack in the same checkout, because every app lives
195
+ * under the framework root the first one had in scope.
196
+ */
197
+ describe('local-dev cleanup leaves a sibling application in the same checkout alone', () => {
198
+ function checkout() {
199
+ const framework = mkdtempSync(join(tmpdir(), 'cleanup-siblings-'));
200
+ writeFileSync(join(framework, 'wildo-framework.info.json'), '{}');
201
+ for (const app of ['owner-app', 'sibling-app']) {
202
+ mkdirSync(join(framework, 'examples', app), { recursive: true });
203
+ writeFileSync(join(framework, 'examples', app, 'wildo.saas.config.ts'), 'export default {};\n');
204
+ }
205
+ mkdirSync(join(framework, 'examples', 'not-an-app'), { recursive: true });
206
+ return { framework, owner: join(framework, 'examples', 'owner-app'), sibling: join(framework, 'examples', 'sibling-app') };
207
+ }
208
+ it('discovers the other applications of a framework checkout, and only those', () => {
209
+ const { framework, owner, sibling } = checkout();
210
+ expect(findSiblingApplicationRoots([framework, owner])).toEqual([sibling]);
211
+ expect(findSiblingApplicationRoots([owner])).toEqual([]);
212
+ });
213
+ it('selects the starting application\'s and the framework\'s watchers, never a sibling application\'s', () => {
214
+ const { framework, owner, sibling } = checkout();
215
+ const watcher = (pid, root) => [
216
+ { pid, parentPid: 1, processGroupId: pid, command: 'sh -c node ../../../scripts/dev-orchestrator/local-dev-compile-observer.mjs -- pnpm exec tsc-watch -p tsconfig.build.json' },
217
+ { pid: pid + 1, parentPid: pid, processGroupId: pid, command: `node ${root}/node_modules/typescript/bin/tsc --watch` },
218
+ ];
219
+ const processes = [
220
+ ...watcher(100, owner),
221
+ ...watcher(200, sibling),
222
+ { pid: 300, parentPid: 1, processGroupId: 300, command: `node ${framework}/node_modules/.bin/tsc-watch -p ${framework}/engine/saas-models/tsconfig.build.json` },
223
+ ];
224
+ const roots = [framework, owner];
225
+ const selected = selectLocalRuntimeProcessGroupCandidates(processes, roots, 'darwin', 1, findSiblingApplicationRoots(roots)).map((group) => group.processGroupId);
226
+ expect(selected.sort()).toEqual([100, 300]);
227
+ });
228
+ });
189
229
  //# sourceMappingURL=local-runtime-process-cleanup.service.test.js.map