@wildo-ai/wildo-cli 1.1.5 → 1.1.7

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 +100 -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 +50 -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 +104 -14
  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/kernel/bootstrap.d.ts.map +1 -1
  378. package/dist/src/kernel/bootstrap.js +4 -1
  379. package/dist/src/kernel/bootstrap.js.map +1 -1
  380. package/dist/src/kernel/hooks.d.ts.map +1 -1
  381. package/dist/src/kernel/hooks.js +7 -1
  382. package/dist/src/kernel/hooks.js.map +1 -1
  383. package/dist/src/kernel/types.d.ts +7 -0
  384. package/dist/src/kernel/types.d.ts.map +1 -1
  385. package/dist/src/kernel/types.js.map +1 -1
  386. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
  387. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
  388. package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
  389. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
  390. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
  391. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
  392. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
  393. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  394. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
  395. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  396. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
  397. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  398. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
  399. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
  400. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
  401. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
  402. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
  403. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
  404. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
  405. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
  406. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
  407. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
  408. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
  409. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
  410. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
  411. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
  412. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
  413. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
  414. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
  415. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
  416. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
  417. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
  418. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
  419. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
  420. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
  421. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  422. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
  423. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  424. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
  425. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
  426. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
  427. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
  428. package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
  429. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  430. package/dist/src/services/application/app-bootstrap.service.js +72 -40
  431. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  432. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  433. package/dist/src/services/application/application-assets-delivery.service.js +5 -2
  434. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  435. package/dist/src/services/application/application-creation-readiness.service.js +2 -2
  436. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  437. package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
  438. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  439. package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
  440. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  441. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
  442. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
  443. package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
  444. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
  445. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  446. package/dist/src/services/application/local-application-initialization.service.js +25 -19
  447. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  448. package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
  449. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  450. package/dist/src/services/application/provider-package-links.service.js +140 -41
  451. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  452. package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
  453. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  454. package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
  455. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  456. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  457. package/dist/src/services/application/saas-skeleton.service.js +20 -11
  458. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  459. package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
  460. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
  461. package/dist/src/services/application/systems-of-record-library.service.js +96 -0
  462. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
  463. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
  464. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  465. package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
  466. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  467. package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
  468. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  469. package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
  470. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  471. package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
  472. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  473. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
  474. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
  475. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
  476. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  477. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
  478. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  479. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
  480. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
  481. package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
  482. package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
  483. package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
  484. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  485. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
  486. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
  487. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
  488. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
  489. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
  490. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
  491. package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
  492. package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
  493. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
  494. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
  495. package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
  496. package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
  497. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
  498. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
  499. package/dist/src/services/companion/build-console.service.d.ts +84 -0
  500. package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
  501. package/dist/src/services/companion/build-console.service.js +64 -0
  502. package/dist/src/services/companion/build-console.service.js.map +1 -0
  503. package/dist/src/services/companion/companion-client.service.d.ts +28 -0
  504. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  505. package/dist/src/services/companion/companion-client.service.js +54 -6
  506. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  507. package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
  508. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
  509. package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
  510. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
  511. package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
  512. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  513. package/dist/src/services/companion/companion-local-token.utils.js +19 -1
  514. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  515. package/dist/src/services/companion/console-fast-path.d.ts +104 -0
  516. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
  517. package/dist/src/services/companion/console-fast-path.js +281 -0
  518. package/dist/src/services/companion/console-fast-path.js.map +1 -0
  519. package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
  520. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
  521. package/dist/src/services/companion/console-verb.utils.js +41 -0
  522. package/dist/src/services/companion/console-verb.utils.js.map +1 -0
  523. package/dist/src/services/companion/creation-console.service.d.ts +173 -0
  524. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
  525. package/dist/src/services/companion/creation-console.service.js +377 -0
  526. package/dist/src/services/companion/creation-console.service.js.map +1 -0
  527. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
  528. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
  529. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
  530. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
  531. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
  532. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
  533. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
  534. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
  535. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
  536. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
  537. package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
  538. package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
  539. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
  540. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
  541. package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
  542. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  543. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
  544. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
  545. package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
  546. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
  547. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  548. package/dist/src/services/context/context-manager.service.js +1 -0
  549. package/dist/src/services/context/context-manager.service.js.map +1 -1
  550. package/dist/src/services/context/context.schemas.d.ts +8 -0
  551. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  552. package/dist/src/services/context/context.schemas.js.map +1 -1
  553. package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
  554. package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
  555. package/dist/src/services/context/machine-preferences.writer.js +30 -0
  556. package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
  557. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
  558. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
  559. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
  560. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
  561. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
  562. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
  563. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
  564. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
  565. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
  566. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
  567. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
  568. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
  569. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
  570. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
  571. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
  572. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
  573. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
  574. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
  575. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
  576. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
  577. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
  578. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
  579. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
  580. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
  581. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
  582. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
  583. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
  584. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
  585. package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
  586. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
  587. package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
  588. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
  589. package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
  590. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
  591. package/dist/src/services/credentials/application-secrets.service.js +314 -0
  592. package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
  593. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
  594. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  595. package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
  596. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  597. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
  598. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  599. package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
  600. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  601. package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
  602. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  603. package/dist/src/services/credentials/credentials.schemas.js +33 -0
  604. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  605. package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
  606. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  607. package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
  608. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  609. package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
  610. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
  611. package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
  612. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
  613. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
  614. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  615. package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
  616. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  617. package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
  618. package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
  619. package/dist/src/services/credentials/provider-secret-format.js +24 -0
  620. package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
  621. package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
  622. package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
  623. package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
  624. package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
  625. package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
  626. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
  627. package/dist/src/services/credentials/secret-requirements.service.js +402 -0
  628. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
  629. package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
  630. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  631. package/dist/src/services/credentials/secrets-reader.service.js +6 -1
  632. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  633. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  634. package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
  635. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  636. package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
  637. package/dist/src/services/data-services/data-services.schemas.js +15 -15
  638. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  639. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
  640. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
  641. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
  642. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
  643. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
  644. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
  645. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
  646. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
  647. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
  648. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  649. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
  650. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
  651. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
  652. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
  653. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
  654. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
  655. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
  656. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  657. package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
  658. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  659. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
  660. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
  661. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
  662. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  663. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
  664. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
  665. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
  666. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  667. package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
  668. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  669. package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
  670. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
  671. package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
  672. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
  673. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
  674. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  675. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
  676. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  677. package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
  678. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  679. package/dist/src/services/deployment/docker/docker.service.js +50 -0
  680. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  681. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
  682. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
  683. package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
  684. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
  685. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
  686. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
  687. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
  688. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
  689. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
  690. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  691. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
  692. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  693. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
  694. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
  695. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
  696. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
  697. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  698. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
  699. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  700. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
  701. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  702. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
  703. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  704. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
  705. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  706. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
  707. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  708. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  709. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
  710. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  711. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
  712. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  713. package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
  714. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  715. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
  716. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  717. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
  718. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  719. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
  720. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  721. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
  722. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
  723. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
  724. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  725. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
  726. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
  727. package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
  728. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
  729. package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
  730. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  731. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  732. package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
  733. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  734. package/dist/src/services/environment/env-vars-builder.service.js +201 -24
  735. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  736. package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
  737. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  738. package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
  739. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  740. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  741. package/dist/src/services/environment/environment-setup.service.js +23 -10
  742. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  743. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
  744. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
  745. package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
  746. package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
  747. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
  748. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
  749. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
  750. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
  751. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
  752. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
  753. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
  754. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
  755. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
  756. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
  757. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
  758. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
  759. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
  760. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  761. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
  762. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  763. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
  764. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  765. package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
  766. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
  767. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
  768. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
  769. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
  770. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
  771. package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
  772. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
  773. package/dist/src/services/framework/application-claude-settings.js +284 -0
  774. package/dist/src/services/framework/application-claude-settings.js.map +1 -0
  775. package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
  776. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
  777. package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
  778. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
  779. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
  780. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  781. package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
  782. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  783. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
  784. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  785. package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
  786. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  787. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
  788. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  789. package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
  790. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  791. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
  792. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  793. package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
  794. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  795. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
  796. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  797. package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
  798. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  799. package/dist/src/services/framework/framework-update.service.d.ts +35 -5
  800. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  801. package/dist/src/services/framework/framework-update.service.js +41 -6
  802. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  803. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
  804. package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
  805. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
  806. package/dist/src/services/framework/package-install.service.d.ts +6 -0
  807. package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
  808. package/dist/src/services/framework/package-install.service.js +18 -0
  809. package/dist/src/services/framework/package-install.service.js.map +1 -0
  810. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
  811. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
  812. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
  813. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
  814. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
  815. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
  816. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
  817. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
  818. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
  819. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
  820. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
  821. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
  822. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
  823. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
  824. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
  825. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
  826. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
  827. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
  828. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
  829. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
  830. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
  831. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
  832. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
  833. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
  834. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
  835. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
  836. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
  837. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
  838. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
  839. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
  840. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  841. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
  842. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  843. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
  844. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  845. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
  846. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  847. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
  848. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  849. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  850. package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
  851. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  852. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
  853. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  854. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
  855. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  856. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
  857. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
  858. package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
  859. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
  860. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
  861. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
  862. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
  863. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
  864. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
  865. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  866. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  867. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
  868. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  869. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  870. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
  871. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
  872. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
  873. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
  874. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
  875. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
  876. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
  877. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
  878. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
  879. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
  880. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
  881. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
  882. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
  883. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
  884. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
  885. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
  886. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
  887. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
  888. package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
  889. package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
  890. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
  891. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
  892. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
  893. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
  894. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
  895. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
  896. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
  897. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
  898. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
  899. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
  900. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
  901. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
  902. package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
  903. package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
  904. package/dist/src/services/registry/artifact-trust.utils.js +46 -0
  905. package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
  906. package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
  907. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  908. package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
  909. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  910. package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
  911. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
  912. package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
  913. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
  914. package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
  915. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
  916. package/dist/src/services/registry/installed-file-state.utils.js +209 -0
  917. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
  918. package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
  919. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
  920. package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
  921. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
  922. package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
  923. package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
  924. package/dist/src/services/registry/migration-obligation.utils.js +77 -0
  925. package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
  926. package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
  927. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
  928. package/dist/src/services/registry/module-acquisition.utils.js +78 -0
  929. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
  930. package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
  931. package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
  932. package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
  933. package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
  934. package/dist/src/services/registry/module-registration.service.d.ts +171 -0
  935. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
  936. package/dist/src/services/registry/module-registration.service.js +788 -0
  937. package/dist/src/services/registry/module-registration.service.js.map +1 -0
  938. package/dist/src/services/registry/provider-install-step.d.ts +23 -0
  939. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
  940. package/dist/src/services/registry/provider-install-step.js +21 -0
  941. package/dist/src/services/registry/provider-install-step.js.map +1 -0
  942. package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
  943. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
  944. package/dist/src/services/registry/provider-module-checks.service.js +194 -0
  945. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
  946. package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
  947. package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
  948. package/dist/src/services/registry/provider-module-identity.service.js +146 -0
  949. package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
  950. package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
  951. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
  952. package/dist/src/services/registry/provider-wiring.service.js +164 -0
  953. package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
  954. package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
  955. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  956. package/dist/src/services/registry/registry-command.utils.js +75 -2
  957. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  958. package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
  959. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  960. package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
  961. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
  962. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  963. package/dist/src/services/registry/registry-credentials.service.js +5 -2
  964. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  965. package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
  966. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  967. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  968. package/dist/src/services/security/csp-sync.service.js +5 -9
  969. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  970. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
  971. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
  972. package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
  973. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
  974. package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
  975. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
  976. package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
  977. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  978. package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
  979. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  980. package/dist/src/services/website/website-workspace.service.d.ts +15 -0
  981. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
  982. package/dist/src/services/website/website-workspace.service.js +26 -0
  983. package/dist/src/services/website/website-workspace.service.js.map +1 -0
  984. package/dist/tsconfig.build.tsbuildinfo +1 -1
  985. package/framework-root-package.json +7 -1
  986. package/package.json +24 -18
  987. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
  988. package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
  989. package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
  990. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
  991. package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
  992. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
  993. package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
  994. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
  995. package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
  996. package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
  997. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
  998. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
  999. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
  1000. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
  1001. package/templates/saas/engine-peer-closure.json +15 -3
  1002. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
  1003. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
  1004. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
  1005. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
  1006. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
  1007. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
  1008. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
  1009. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
  1010. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
  1011. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
  1012. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
  1013. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
  1014. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
  1015. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
  1016. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
  1017. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
  1018. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
  1019. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
  1020. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
  1021. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
  1022. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
  1023. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
  1024. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
  1025. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
  1026. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
  1027. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
  1028. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
  1029. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
  1030. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
  1031. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
  1032. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
  1033. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
  1034. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
  1035. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
  1036. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
  1037. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
  1038. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
  1039. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
  1040. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
  1041. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
  1042. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
  1043. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
  1044. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
  1045. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
  1046. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
  1047. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
  1048. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
  1049. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
  1050. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
  1051. package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
  1052. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
  1053. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
  1054. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
  1055. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
  1056. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
  1057. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
  1058. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
  1059. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
  1060. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
  1061. package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
  1062. package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
  1063. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
  1064. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
  1065. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
  1066. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
  1067. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
  1068. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
  1069. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
  1070. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
  1071. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
  1072. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
  1073. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
  1074. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
  1075. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
  1076. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
  1077. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
  1078. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
  1079. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
  1080. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
  1081. package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
  1082. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
  1083. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
  1084. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
  1085. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
  1086. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
  1087. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
  1088. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
  1089. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
  1090. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
  1091. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
  1092. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
  1093. package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
  1094. package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
  1095. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
  1096. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
  1097. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
  1098. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
  1099. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
  1100. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
  1101. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
  1102. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
  1103. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
  1104. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
  1105. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
  1106. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
  1107. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
  1108. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
  1109. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
  1110. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
  1111. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
  1112. package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
  1113. package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
  1114. package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
  1115. package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
  1116. package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
  1117. package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
  1118. package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
  1119. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
  1120. package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
  1121. package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
  1122. package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
  1123. package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
  1124. package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
  1125. package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
  1126. package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
  1127. package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
  1128. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
  1129. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
  1130. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
  1131. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
  1132. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
  1133. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
  1134. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
  1135. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
  1136. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
  1137. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
  1138. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
  1139. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
  1140. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
  1141. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
  1142. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
  1143. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
  1144. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
  1145. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
  1146. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
  1147. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
  1148. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
  1149. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
  1150. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
  1151. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
  1152. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
  1153. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
  1154. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
  1155. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
  1156. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
  1157. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
  1158. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
  1159. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
  1160. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
  1161. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
  1162. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
  1163. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
  1164. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
  1165. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
  1166. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
  1167. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
  1168. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
  1169. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
  1170. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
  1171. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
  1172. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
  1173. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
  1174. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
  1175. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
  1176. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
  1177. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
  1178. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
  1179. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
  1180. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
  1181. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
  1182. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
  1183. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
  1184. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
  1185. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
  1186. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
  1187. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
  1188. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
  1189. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
  1190. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
  1191. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
  1192. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
  1193. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
  1194. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
  1195. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
  1196. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
  1197. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
  1198. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
  1199. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
  1200. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
  1201. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
  1202. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
  1203. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
  1204. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
  1205. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
  1206. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
  1207. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
  1208. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
  1209. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
  1210. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
  1211. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
  1212. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
  1213. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
  1214. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
  1215. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
  1216. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
  1217. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
  1218. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
  1219. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
  1220. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
  1221. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
  1222. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
  1223. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
  1224. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
  1225. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
  1226. package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
  1227. package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
  1228. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
  1229. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
  1230. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
  1231. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
  1232. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
  1233. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
  1234. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
  1235. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
  1236. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
  1237. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
  1238. package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
  1239. package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
  1240. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
  1241. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
  1242. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
  1243. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
  1244. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
  1245. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
  1246. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
  1247. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
  1248. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
  1249. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
  1250. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
  1251. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
  1252. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
  1253. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
  1254. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
  1255. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
  1256. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
  1257. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
  1258. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
  1259. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
  1260. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
  1261. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
  1262. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
  1263. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
  1264. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
  1265. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
  1266. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
  1267. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
  1268. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
  1269. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
  1270. package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
  1271. package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
  1272. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
  1273. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
  1274. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
  1275. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
  1276. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
  1277. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
  1278. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
  1279. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
  1280. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
  1281. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
  1282. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
  1283. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
  1284. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
  1285. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
  1286. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
  1287. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
  1288. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
  1289. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
  1290. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
  1291. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
  1292. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
  1293. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
  1294. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
  1295. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
  1296. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
  1297. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
  1298. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
  1299. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
  1300. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
  1301. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
  1302. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
  1303. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
  1304. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
  1305. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
  1306. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
  1307. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
  1308. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
  1309. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
  1310. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
  1311. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
  1312. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
  1313. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
  1314. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
  1315. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
  1316. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
  1317. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
  1318. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
  1319. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
  1320. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
  1321. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
  1322. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
  1323. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
  1324. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
  1325. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
  1326. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
  1327. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
  1328. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
  1329. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
  1330. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
  1331. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
  1332. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
  1333. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
  1334. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
  1335. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
  1336. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
  1337. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
  1338. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
  1339. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
  1340. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
  1341. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
  1342. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
  1343. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
  1344. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
  1345. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
  1346. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
  1347. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
  1348. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
  1349. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
  1350. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
  1351. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
  1352. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
  1353. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
  1354. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
  1355. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
  1356. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
  1357. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
  1358. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
  1359. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
  1360. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
  1361. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
  1362. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
  1363. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
  1364. package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
  1365. package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
  1366. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
  1367. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
  1368. package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
  1369. package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
  1370. package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
  1371. package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
  1372. package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
  1373. package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
  1374. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
  1375. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
  1376. package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
  1377. package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
  1378. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
  1379. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
  1380. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
  1381. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
  1382. package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
  1383. package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
  1384. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
  1385. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
  1386. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
  1387. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
  1388. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
  1389. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
  1390. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
  1391. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
  1392. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
  1393. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
  1394. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
  1395. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
  1396. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
  1397. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
  1398. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
  1399. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
  1400. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
  1401. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
  1402. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
  1403. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
  1404. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
  1405. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
  1406. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
  1407. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
  1408. package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
  1409. package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
  1410. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
  1411. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
  1412. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
  1413. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
  1414. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
  1415. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
  1416. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
  1417. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
  1418. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
  1419. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
  1420. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
  1421. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
  1422. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
  1423. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
  1424. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
  1425. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
  1426. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
  1427. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
  1428. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
  1429. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
  1430. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
  1431. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
  1432. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
  1433. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
  1434. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
  1435. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
  1436. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
  1437. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
  1438. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
  1439. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
  1440. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
  1441. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
  1442. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
  1443. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
  1444. package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
  1445. package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
  1446. package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
  1447. package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
  1448. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
  1449. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
  1450. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
  1451. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
  1452. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
  1453. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
  1454. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
  1455. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
  1456. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
  1457. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
  1458. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
  1459. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
  1460. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
  1461. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
  1462. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
  1463. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
  1464. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
  1465. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
  1466. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
  1467. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
  1468. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
  1469. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
  1470. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
  1471. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
  1472. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
  1473. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
  1474. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
  1475. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
  1476. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
  1477. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
  1478. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
  1479. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
  1480. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
  1481. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
  1482. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
  1483. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
  1484. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
  1485. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
  1486. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
  1487. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
  1488. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
  1489. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
  1490. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
  1491. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
  1492. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
  1493. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
  1494. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
  1495. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
  1496. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
  1497. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
  1498. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
  1499. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
  1500. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
  1501. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
  1502. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
  1503. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
  1504. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
  1505. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
  1506. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
  1507. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
  1508. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
  1509. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
  1510. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
  1511. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
  1512. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
  1513. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
  1514. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
  1515. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
  1516. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
  1517. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
  1518. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
  1519. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
  1520. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
  1521. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
  1522. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
  1523. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
  1524. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
  1525. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
  1526. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
  1527. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
  1528. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
  1529. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
  1530. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
  1531. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
  1532. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
  1533. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
  1534. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
  1535. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
  1536. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
  1537. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
  1538. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
  1539. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
  1540. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
  1541. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
  1542. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
  1543. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
  1544. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
  1545. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
  1546. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
  1547. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
  1548. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
  1549. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
  1550. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
  1551. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
  1552. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
  1553. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
  1554. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
  1555. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
  1556. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
  1557. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
  1558. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
  1559. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
  1560. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
  1561. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
  1562. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
  1563. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
  1564. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
  1565. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
  1566. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
  1567. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
  1568. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
  1569. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
  1570. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
  1571. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
  1572. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
  1573. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
  1574. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
  1575. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
  1576. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
  1577. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
  1578. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
  1579. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
  1580. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
  1581. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
  1582. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
  1583. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
  1584. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
  1585. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
  1586. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
  1587. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
  1588. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
  1589. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
  1590. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
  1591. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
  1592. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
  1593. package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
  1594. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
  1595. package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
  1596. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
  1597. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
  1598. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
  1599. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
  1600. package/templates/saas/scenarios/add-module/scenario.json +8 -1
  1601. package/templates/saas/scenarios/add-provider/scenario.json +10 -16
  1602. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
  1603. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
  1604. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
  1605. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
  1606. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
  1607. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
  1608. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
  1609. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
  1610. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
  1611. package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
  1612. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
  1613. package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
  1614. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
  1615. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
  1616. package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
  1617. package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
  1618. package/templates/saas/scenarios/add-website/scenario.json +3 -4
  1619. package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
  1620. package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
  1621. package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
  1622. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
  1623. package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
  1624. package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
  1625. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
  1626. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
  1627. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
  1628. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
  1629. package/templates/saas/skeleton/gitignore +4 -0
  1630. package/templates/saas/skeleton/prettierignore +7 -0
  1631. package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
  1632. package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
  1633. package/wildo-framework.info.json +1 -1
  1634. package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
  1635. package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
  1636. package/dist/src/commands/workbench/rearm-task.command.js +0 -61
  1637. package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
  1638. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
  1639. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
  1640. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
  1641. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
  1642. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
  1643. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
  1644. package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
  1645. package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
  1646. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
  1647. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
  1648. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
  1649. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
  1650. package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
  1651. package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
  1652. package/dist/src/services/brand/brand-asset-projection.js +0 -68
  1653. package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
  1654. package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
  1655. package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
  1656. package/dist/src/services/brand/brand-destination-utils.js +0 -227
  1657. package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
  1658. package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
  1659. package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
  1660. package/dist/src/services/brand/brand-propagation.types.js +0 -22
  1661. package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
  1662. package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
  1663. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
  1664. package/dist/src/services/brand/brand-ssot-reader.js +0 -146
  1665. package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
  1666. package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
  1667. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
  1668. package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
  1669. package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
  1670. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
  1671. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
  1672. package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
  1673. package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
  1674. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
  1675. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
  1676. package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
  1677. package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
  1678. package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
  1679. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
  1680. package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
  1681. package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
  1682. package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
  1683. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
  1684. package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
  1685. package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
  1686. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
  1687. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
  1688. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
  1689. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
  1690. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
  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":"k8s-manifest-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/k8s/k8s-manifest-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,EAC5B,kCAAkC,GAGnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAA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MAAM,GAAG,GAAG,gBAAgB,gBAAgB,IAAI,IAAI,EAAE,CAAC;YACvD,IAAI,UAAU,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC;gBACzC,QAAQ,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,GAAG,MAAM,CAAC,OAAO,IAAI,gBAAgB,IAAI,MAAM,EAAE;oBACvD,IAAI,EAAE,EAAE,CAAC,eAAe,CAAC,GAAG,EAAE,IAAI,CAAC;iBACpC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,6EAA6E;IAC7E,aAAa;IACb,6EAA6E;IAErE,MAAM,CAAC,6BAA6B,CAC1C,OAA8B;QAE9B,MAAM,OAAO,GAAG,wBAAwB,CAAC,OAA8E,CAAC,CAAC;QACzH,MAAM,QAAQ,GAAG,GAAG,gBAAgB,CAAC,OAAO,IAAI,OAAO,CAAC,SAAS,OAAO,CAAC;QAEzE,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,iBAAiB,EAAE,GAAG,gBAAgB,CAAC,OAAO,oCAAoC;YAClF,MAAM,EAAE;gBACN,UAAU,EAAE,GAAG,gBAAgB,CAAC,OAAO,0BAA0B;gBACjE,cAAc,EAAE,GAAG,gBAAgB,CAAC,OAAO,+BAA+B;gBAC1E,aAAa,EAAE,GAAG,gBAAgB,CAAC,OAAO,6BAA6B;gBACvE,wBAAwB,EAAE,GAAG,gBAAgB,CAAC,OAAO,yCAAyC;gBAC9F,uBAAuB,EAAE,GAAG,gBAAgB,CAAC,OAAO,wCAAwC;aAC7F;YACD,eAAe,EAAE,GAAG,gBAAgB,CAAC,UAAU,yBAAyB;YACxE,gBAAgB,EAAE,GAAG,gBAAgB,CAAC,UAAU,0BAA0B;SAC3E,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * K8s Manifest Generator — builds TemplateVariables contexts and renders\n * .yaml.hbs templates into deployable YAML manifests.\n *\n * Static stateless class (consistent with ServiceAddressResolver, PlatformEnvVarsBuilder).\n */\n\nimport { stringify as stringifyYaml } from 'yaml';\nimport {\n ApplicationRuntimePrincipalKind,\n buildRuntimeNetworkPodLabels,\n buildRuntimeNetworkPolicyDocuments,\n type ApplicationRuntimePrincipal,\n type RuntimeAccessDeclaration,\n} from '@wildo-ai/platform-config-lib';\nimport { join } from 'path';\nimport { existsSync, readFileSync, mkdirSync, rmSync, writeFileSync } from 'fs';\n\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { DEFAULT_PLATFORM_IMAGE_TAG, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n K8S_LOCAL_DEFAULTS,\n PUBLIC_DOMAIN_DEFAULTS,\n KIND_CLUSTER_DEFAULTS,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n WildoTlsIssuer,\n WildoKubernetesIngressClass,\n PlatformWildoServices,\n k8sServiceSecretName,\n k8sRuntimeProvidersSecretName,\n k8sRuntimeEnvSecretName,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n APP_BACKEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n INFRA_DEFAULT_PORTS,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { buildMinionServiceName, buildWorkerServiceName, normalizeServiceKeyToDnsName } from '@wildo-ai/platform-core-shared';\nimport { PlatformDataServices, IMMUDB_AUDIT_STATE_CONTAINER_DIR, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { PLATFORM_SERVICE_CATALOG, INFRA_SERVICE_CATALOG, getDeployableInfraServicesForK8s } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { KIND_MOUNT_PATHS } from '~wildo-cli/services/deployment/k8s/k8s.schemas';\nimport {\n TemplateVariables,\n PlatformServiceHostPaths,\n DEFAULT_PLATFORM_RESOURCES,\n DEFAULT_PLATFORM_DEV_RESOURCES,\n DEFAULT_INTERNAL_RESOURCES,\n DEFAULT_APP_PROD_RESOURCES,\n} from '~wildo-cli/services/deployment/k8s/k8s-manifest.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { InfrastructureHost, SharedInfrastructureAction } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\n\n// ============================================================================\n// Constants\n// ============================================================================\n\nconst LOCAL_TLS_SECRET_NAME = 'local-wildo-ai-tls';\nconst INGRESS_CLASS = WildoKubernetesIngressClass.TRAEFIK;\n\nenum NodeEnv {\n DEVELOPMENT = 'development',\n PRODUCTION = 'production',\n}\n\n// Per-env deployable list comes from `getDeployableInfraServicesForK8s(env)`,\n// which gates MongoDB on `EnvironmentUtils.needsLocalMongoDB` and (Slice 4.8)\n// ClamAV on `resolveIncludeLocalClamAV` so Atlas / managed environments do\n// NOT spawn redundant local workloads.\n\nconst DEFAULT_STORAGE_SIZES: Record<string, string> = {\n mongodb: '5Gi',\n // mongot (issue #74) — matched to `mongot-data-pv`'s 5Gi capacity in\n // `storage/local/persistent-volumes.yaml.hbs` and to the template's own\n // `{{default storageSize \"5Gi\"}}`. Keeping all three equal is the point: a PVC that\n // requests LESS than its static PV is the confusion the clamav note below records.\n mongot: '5Gi',\n valkey: '1Gi',\n rabbitmq: '1Gi',\n minio: '5Gi',\n postgresql: '5Gi',\n // Slice 4 second-pass-2 review fix (MEDIUM-1) — bumped to 2Gi to match\n // the static PV (`templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs`\n // — `clamav-data-pv` capacity 2Gi after Sizing M-5) AND the template's\n // `volumeClaimTemplates` default (`{{default storageSize \"2Gi\"}}`).\n // Previously this generator passed `1Gi` as `storageSize`, which won\n // over the template default and produced PVCs that requested LESS\n // than the static PV — confusing for any policy/tool that compares\n // requested vs allocated storage, and tight enough to risk ENOSPC\n // during freshclam's transient DB-double on signature refresh.\n // The PV, the template default, and this generator default are now\n // all 2Gi so the rendered PVC matches the bound PV exactly.\n clamav: '2Gi',\n // Audit Phase 2 — immudb append-only audit store. Local-dev default; the PV\n // (persistent-volumes.yaml.hbs), this size, and the StatefulSet's\n // volumeClaimTemplate default MUST all match (2Gi) so the pre-bound PVC binds.\n immudb: '2Gi',\n};\n\nconst APPLICATION_NAME = 'wildo-ai-application';\n\n/**\n * Per-ingress TLS secret for the framework `wildo-ai-application` ingress\n * under the HTTP-01 per-ingress strategy. cert-manager's ingress-shim issues\n * the enumerated-host certificate into this secret (one per ingress — the\n * shared wildcard secret is retired for remote). See `remote-k8s-tls-wiring.md`.\n */\nconst APPLICATION_TLS_SECRET_NAME = `${APPLICATION_NAME}-tls`;\n\n/**\n * Remote TLS template vars for the HTTP-01 per-ingress strategy. Empty for\n * LOCAL (self-signed wildcard preserved — `tls-config.yaml.hbs` keeps its\n * `TLSStore` default because `perIngressTls` stays unset). For REMOTE:\n * - `acmeEmail` → Let's Encrypt `ClusterIssuer` registration email.\n * - `issuerName` → the `ClusterIssuer` an ingress annotation points at\n * (`remoteProvider.tlsIssuer`, default `letsencrypt-prod` — a remote deploy\n * implies a real domain that browsers must trust; operators opt into\n * `letsencrypt-staging` while validating a new cluster).\n * - `perIngressTls: true` → each ingress owns its own `<name>-tls` secret and\n * the wildcard `TLSStore` default is suppressed (no wildcard secret backs it).\n */\nfunction resolveRemoteTlsVars(env: PlatformEnvironmentConfiguration): {\n acmeEmail?: string;\n issuerName?: string;\n perIngressTls?: boolean;\n} {\n if (env.locationType === WildoLocationType.LOCAL) return {};\n return {\n acmeEmail: env.remoteProvider?.acmeEmail,\n issuerName: env.remoteProvider?.tlsIssuer ?? WildoTlsIssuer.LETSENCRYPT_PROD,\n perIngressTls: true,\n };\n}\n\n/**\n * Container/service name of the self-hosted immudb audit store — the single\n * source of truth (from the infra catalog) used to (a) key its immudb-specific\n * resource profile and (b) select the `immudb-secret` admin-credential wiring\n * in `buildForInternalService`. Renders for both local Kind and self-hosted\n * prod/staging (`backingServices.immudb.source === SELF`); managed/external\n * immudb never enters the deployable list so no StatefulSet is emitted.\n */\nconst IMMUDB_INTERNAL_SERVICE_NAME = INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName;\n\nfunction resolveManifestKubernetesRuntime(\n env: PlatformEnvironmentConfiguration,\n): {\n namespace: string;\n publicDomain: string;\n imageRegistry: string;\n applicationEnv: RuntimeEnvironment;\n} {\n if (env.locationType === WildoLocationType.LOCAL) {\n return {\n namespace: env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,\n publicDomain: env.publicDomain ?? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S,\n imageRegistry: env.kubernetes?.imageRegistry ?? `localhost:${KIND_CLUSTER_DEFAULTS.REGISTRY_PORT}`,\n applicationEnv: env.runtimeEnvironment ?? RuntimeEnvironment.DEVELOPMENT,\n };\n }\n\n const namespace = env.kubernetes?.namespace;\n const publicDomain = env.publicDomain;\n const imageRegistry = env.kubernetes?.imageRegistry ?? env.remoteProvider?.registryEndpoint;\n const applicationEnv = env.runtimeEnvironment;\n\n if (!namespace || !publicDomain || !imageRegistry || !applicationEnv) {\n throw new Error(\n `Environment '${env.name}' is missing explicit remote Kubernetes namespace, top-level publicDomain, imageRegistry, or runtimeEnvironment metadata.`,\n );\n }\n\n return {\n namespace,\n publicDomain,\n imageRegistry,\n applicationEnv,\n };\n}\n\n// ============================================================================\n// K8s Manifest Generator\n// ============================================================================\n\n/**\n * Derive the `{name, path}` pairs the Deployment templates render as `volumes:`\n * + `volumeMounts:`, prepending the mandatory scratch mount.\n *\n * ONE definition for all four app-owned container kinds (minion, worker, app\n * backend, frontend). It was two copies for a day and would have been four: the\n * name derivation has to agree between the `volumes:` block and the\n * `volumeMounts:` block of the SAME pod, and a pod whose two lists disagree is\n * rejected at admission with an error naming neither.\n *\n * Volume names are RFC1123 (lowercase alphanumerics and `-`). Deriving them from\n * the path rather than an index keeps a manifest diff readable when a path is\n * inserted in the middle of the list.\n */\nfunction buildWritableMounts(additionalPaths: readonly string[] = []): Array<{ path: string; name: string }> {\n return [RUNTIME_MANDATORY_WRITABLE_PATH, ...additionalPaths].map((path) => ({\n path,\n name: `scratch-${path.replace(/^\\/+/, '').replace(/[^a-zA-Z0-9]+/g, '-').toLowerCase() || 'root'}`,\n }));\n}\n\nexport class K8sManifestGenerator {\n private static resolveK8sTemplatesRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).k8sTemplatesHome;\n }\n\n\n // --------------------------------------------------------------------------\n // Variable builders\n // --------------------------------------------------------------------------\n\n /**\n * Build TemplateVariables for a platform service deployment.\n * @param replicaOverride — from infra config `services.<key>.replicas`, falls back to 1.\n */\n static buildForPlatformService(\n service: PlatformWildoServices,\n env: PlatformEnvironmentConfiguration,\n imageTag?: string,\n replicaOverride?: number,\n isFrameworkDeveloper = false,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const isDevMode = isLocal;\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG,\n imagePullPolicy: 'Always',\n /*\n * The PLATFORM image is resolved by the LANE, never composed from this environment's\n * registry (#349). `imageRegistry` above is the APPLICATION's registry — the Kind registry\n * locally, the operator's own registry remotely — and it is the right answer for the app's\n * own backend/frontend/minion/worker images, which are built from the app's source. It is\n * the wrong answer for the platform image, which the framework publishes: composing\n * `<operator registry>/wildo-platform:latest` names an image that exists nowhere, the same\n * defect the compose lane carried until 2026-09-03.\n *\n * On Kubernetes the answer is the PUBLISHED `docker.io/wildoai/wildo-platform:<framework\n * version>` for every lane that renders here. A LOCAL framework developer never reaches this\n * builder (their platform runs natively); an app creator has no checkout to build from; and a\n * REMOTE framework developer pulls the published image by decision (#969) — until then it was\n * named `<cluster registry>/wildo-platform:latest`, which nothing pushed there. See\n * `platformImageIsBuiltLocally` for the reasoning and the consequence. `k8s-bootstrap`\n * accordingly builds no platform image at all.\n */\n platformImageRef: resolvePlatformImageRef({\n isFrameworkDeveloper,\n runtime: WildoDeploymentRuntime.KUBERNETES,\n frameworkVersion: readVersion(),\n imageTag,\n }),\n\n nodeEnv: isDevMode ? NodeEnv.DEVELOPMENT : NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : undefined,\n tlsEnabled: true,\n\n resources: isDevMode ? DEFAULT_PLATFORM_DEV_RESOURCES : DEFAULT_PLATFORM_RESOURCES,\n replicas: replicaOverride ?? 1,\n\n isDevMode,\n\n port: catalog.defaultPort,\n hostPaths: isDevMode ? K8sManifestGenerator.buildPlatformServiceHostPaths(service) : undefined,\n useHostPath: isDevMode,\n\n useStaticPV: false,\n };\n }\n\n /**\n * Build TemplateVariables for an internal (infra) service.\n */\n static buildForInternalService(\n serviceName: string,\n env: PlatformEnvironmentConfiguration,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: 'latest',\n imagePullPolicy: 'IfNotPresent',\n\n nodeEnv: NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : undefined,\n tlsEnabled: true,\n\n resources: DEFAULT_INTERNAL_RESOURCES[serviceName] ?? DEFAULT_PLATFORM_RESOURCES,\n replicas: 1,\n\n isDevMode: false,\n useHostPath: false,\n\n useStaticPV: isLocal,\n storageClassName: isLocal ? 'wildo-local-storage' : undefined,\n storageSize: DEFAULT_STORAGE_SIZES[serviceName] ?? '1Gi',\n\n // Self-hosted immudb only: wire the StatefulSet's admin password from the\n // `immudb-secret` (emitted by `generateK8sSecrets` §3 from the operator's\n // `IMMUDB_PASSWORD` provider secret). The `secretKeyRef` is `optional` so\n // an un-provisioned secret degrades to immudb's packaged default admin\n // rather than crash-looping the pod. `undefined` for every other internal\n // service (they ignore the var). Prod/staging and local Kind both use it;\n // managed/external immudb never renders a StatefulSet.\n immudbAdminPasswordSecretName:\n serviceName === IMMUDB_INTERNAL_SERVICE_NAME\n ? k8sServiceSecretName(IMMUDB_INTERNAL_SERVICE_NAME)\n : undefined,\n\n // Self-hosted immudb only: mount the state-signing PRIVATE key from the same\n // `immudb-secret` (emitted by `generateK8sSecrets` §3 from `credentials.immudb`) as a file\n // and pass `--signingKey`, so immudb signs its state and the audit client can pin the public\n // key to detect a whole-server substitution. The keypair is provisioned from the\n // `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry — at setup for a new env and by the idempotent\n // self-heal for an existing one — so `source === SELF` ⇒ the key is present; an env lacking it\n // would surface loudly (immudb fails to load a missing `--signingKey` file) rather than\n // silently run unsigned — the correct posture for a security control. `undefined` for every\n // other internal service and for managed/external immudb (no StatefulSet).\n immudbStateSigningKeySecretName:\n serviceName === IMMUDB_INTERNAL_SERVICE_NAME\n ? k8sServiceSecretName(IMMUDB_INTERNAL_SERVICE_NAME)\n : undefined,\n\n // Slice 4 — gating flags for cross-service templates (storage PVs).\n // Single source of truth: `EnvironmentUtils.selfHostsBackingService` is the SAME total\n // predicate `getDeployableInfraServicesForK8s` gates the StatefulSets on, so a PV and the\n // workload that claims it cannot drift. The four below joined the gated set when the\n // managed-selection defect was fixed: `valkey`, `rabbitmq`, `minio` and `postgresql` PVs were\n // rendered for every environment — including ones whose StatefulSet is now (and, for\n // postgresql, effectively always was) absent, leaving an unbound PV holding a hostPath claim.\n includeLocalMongoDB: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.MONGODB),\n includeLocalValkey: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS),\n includeLocalRabbitMQ: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ),\n includeLocalMinIO: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3),\n includePostgreSQL: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.POSTGRESQL),\n includeLocalClamAV: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV),\n includeLocalImmudb: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB),\n\n // Issue #74 — mongot wiring, supplied to EVERY internal service render rather than\n // only to the mongot one, because two workloads consume it: the mongot templates,\n // and the mongod StatefulSet whose `--setParameter mongotHost=` must name the same\n // gRPC port. Passing it once from here is what keeps those two in agreement; a\n // literal repeated per template is the two-lane drift `mongot` was added to avoid.\n mongotGrpcPort: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealthPort: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetricsPort: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n };\n }\n\n /**\n * Build TemplateVariables for the remote wildo-ai-application deployment.\n * Local application development now runs directly on the machine, so local\n * Kind runtimes no longer manage a separate application dev image/lane.\n * @param replicaOverride — common default for direct callers; target-specific counts override it, otherwise one.\n */\n static buildForApplication(\n env: PlatformEnvironmentConfiguration,\n imageTag?: string,\n replicaOverride?: number,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG,\n imagePullPolicy: 'Always',\n\n nodeEnv: NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n // Per-ingress TLS secret for remote (HTTP-01); local keeps its self-signed\n // wildcard secret. See `resolveRemoteTlsVars` + `remote-k8s-tls-wiring.md`.\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : APPLICATION_TLS_SECRET_NAME,\n tlsEnabled: true,\n ...resolveRemoteTlsVars(env),\n\n resources: DEFAULT_APP_PROD_RESOURCES,\n replicas: replicaOverride ?? 1,\n\n isDevMode: false,\n useHostPath: false,\n\n useStaticPV: false,\n\n // Durable cross-restart tamper-evidence trust anchor for the immudb audit sink. Provisioned\n // whenever the env has an immudb audit backing service configured (SELF or external/managed —\n // the anchor is the CLIENT's own file, independent of who hosts immudb). The app-backend\n // deployment then renders `IMMUDB_STATE_DIR` + a `volumeMount` + a PVC-backed volume, and\n // `renderApplicationForTarget` emits the matching PVC. Without it the client runs EPHEMERAL and a\n // cross-restart rollback of the audit ledger is silently re-adopted (signature pinning cannot\n // catch a rollback — immudb re-signs its current state). App-backend k8s manifests render for\n // REMOTE only, so the PVC always uses the dynamic default StorageClass (no local static PV).\n immudbAuditStateDir: env.backingServices?.[BackingServiceKind.IMMUDB]\n ? IMMUDB_AUDIT_STATE_CONTAINER_DIR\n : undefined,\n };\n }\n\n // --------------------------------------------------------------------------\n // Full manifest rendering\n // --------------------------------------------------------------------------\n\n /**\n * Render infrastructure and platform K8s manifests for the environment.\n * Application deployment artifacts are emitted separately by deployment CI generation.\n * Writes files to `{infraPath}/manifests/{internal,platform,applications,storage}/`.\n *\n * @param serviceReplicas — per-service replica overrides from infra config\n * `kubernetes.services.<key>.replicas`. Keys match `PlatformWildoServices`\n * enum values for platform services.\n * Internal infra services (valkey, postgresql, etc.) are always single-replica.\n */\n /**\n * @param options.outputBase — when supplied, render manifests under\n * `<outputBase>/manifests/...` instead of the canonical\n * `EnvironmentPaths.resolveInfraDir(env.name)/manifests/...` location.\n * Used by `wildo config validate --domain manifest` (Slice 6 / F-19)\n * to render into a sandbox tempdir so the validation pass does NOT\n * silently mutate the operator's persisted infra state. ALL render\n * side effects (mkdir, rmSync, writeFileSync) honor this base — no\n * path falls through to the canonical location when an override is\n * passed.\n */\n static renderAllManifests(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n options: {\n imageTag?: string;\n serviceReplicas?: Record<string, number>;\n isFrameworkDeveloper?: boolean;\n outputBase?: string;\n } = {},\n ): { total: number; dirs: { cluster: string; internal: string; platform: string; applications: string; storage: string } } {\n // Rendering into a caller-owned sandbox (`config validate`) mutates nothing shared; rendering the\n // environment's own manifests is the infrastructure owner's.\n if (options.outputBase === undefined) {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.RENDER_PLATFORM_MANIFESTS);\n }\n const infraPath = options.outputBase ?? EnvironmentPaths.resolveInfraDir(env.name);\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const includePlatformServices = shouldDeployPlatformServicesInRuntime(\n env,\n options.isFrameworkDeveloper ?? false,\n );\n\n const templateProcessor = new TemplateProcessor(\n K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath),\n );\n\n const clusterDir = join(infraPath, 'manifests', 'cluster');\n const internalDir = join(infraPath, 'manifests', 'internal');\n const platformDir = join(infraPath, 'manifests', 'platform');\n const applicationsDir = join(infraPath, 'manifests', 'applications');\n const storageDir = join(infraPath, 'manifests', 'storage');\n\n mkdirSync(clusterDir, { recursive: true });\n mkdirSync(internalDir, { recursive: true });\n mkdirSync(storageDir, { recursive: true });\n rmSync(platformDir, { recursive: true, force: true });\n rmSync(applicationsDir, { recursive: true, force: true });\n if (includePlatformServices) {\n mkdirSync(platformDir, { recursive: true });\n }\n if (!isLocal) {\n mkdirSync(applicationsDir, { recursive: true });\n }\n\n let total = 0;\n\n // --- Cluster-wide infra (middlewares, TLS config) ---\n total += K8sManifestGenerator.renderClusterInfra(\n templateProcessor, env, clusterDir, frameworkPath,\n );\n\n // --- Storage PVs (local mode only) ---\n if (isLocal) {\n total += K8sManifestGenerator.renderStorageManifests(\n templateProcessor, env, storageDir, frameworkPath,\n );\n }\n\n // --- Internal services ---\n // Per-env list (Slice 4) — gates MongoDB on `needsLocalMongoDB` and\n // (Slice 4.8) ClamAV on `resolveIncludeLocalClamAV`. Atlas / managed\n // configurations therefore never get a local mongod manifest emitted.\n for (const serviceName of getDeployableInfraServicesForK8s(env)) {\n total += K8sManifestGenerator.renderInternalService(\n templateProcessor, serviceName, env, internalDir, frameworkPath,\n );\n }\n\n // --- Platform services ---\n const platformServices = Object.values(PlatformWildoServices).filter(\n s => s !== PlatformWildoServices.PLATFORM_INIT,\n );\n if (includePlatformServices) {\n for (const service of platformServices) {\n total += K8sManifestGenerator.renderPlatformService(\n templateProcessor, service, env, platformDir, frameworkPath, options.imageTag,\n options.serviceReplicas?.[service],\n options.isFrameworkDeveloper ?? false,\n );\n }\n }\n\n // --- Application ---\n // The app (+ its minions/workers) is rendered PER-APP by the CI deploy lane\n // (`generateCiDeployArtifacts` → `renderApplicationForTarget` /\n // `renderMinionForTarget` / `renderWorkerForTarget`), which has the resolved\n // app target (identity, ports, ingress routes). `renderAllManifests` is the\n // LOCAL-only infra/platform lane and does NOT render the app — the old\n // target-less `renderApplication` produced empty-identity / port-less\n // manifests and was removed (it was reachable only via remote\n // `validate --domain manifest`, where it emitted broken YAML).\n\n return { total, dirs: { cluster: clusterDir, internal: internalDir, platform: platformDir, applications: applicationsDir, storage: storageDir } };\n }\n\n /**\n * Render the per-env remote-cluster TLS infra as FLAT files into the CI\n * deploy dir (`.wildo-saas/deploy/<env>/k8s/`), applied by the CI's\n * `kubectl apply -f <dir>` (which is NON-recursive — hence flat siblings of\n * the Secret YAMLs, not a nested `cluster/` subdir like `renderAllManifests`).\n *\n * This is the remote counterpart to the LOCAL-only `renderClusterInfra`\n * (which runs inside `renderAllManifests`). The remote CI path\n * (`generateCiDeployArtifacts`) does NOT call `renderAllManifests`; it emits\n * Secrets/ConfigMaps and — via this method — the cluster TLS manifests.\n *\n * Emits (HTTP-01 per-ingress strategy):\n * - `cluster-issuer.yaml` — Let's Encrypt HTTP-01 `ClusterIssuer`s\n * (prod + staging), registration email from `remoteProvider.acmeEmail`.\n * - `tls-config.yaml` — the Traefik websocket `ServersTransport`. The\n * wildcard `TLSStore` default block is suppressed here (`perIngressTls`)\n * because no wildcard secret backs it under per-ingress issuance.\n *\n * The cert-manager + Traefik CONTROLLERS are Helm-installed by the CI\n * workflow (`deploy-k8s.yml.hbs`), NOT rendered here.\n *\n * Local envs render nothing (returns `[]`) — their ingress stack is owned by\n * `k8s-bootstrap.service.ts::phaseIngressStack`.\n *\n * @returns absolute paths of the manifests written.\n */\n static renderRemoteClusterInfra(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n k8sDir: string,\n ): string[] {\n if (env.locationType === WildoLocationType.LOCAL) return [];\n\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const vars = {\n ...K8sManifestGenerator.buildForInternalService('valkey', env),\n ...resolveRemoteTlsVars(env),\n } as unknown as Record<string, unknown>;\n\n const templates = [\n { template: 'ingress/cert-manager/cluster-issuer.yaml.hbs', output: 'cluster-issuer.yaml' },\n { template: 'tls-config.yaml.hbs', output: 'tls-config.yaml' },\n ];\n\n const written: string[] = [];\n for (const { template, output } of templates) {\n if (!existsSync(join(templatesRoot, template))) continue;\n const outputPath = join(k8sDir, output);\n writeFileSync(outputPath, tp.processTemplate(template, vars), 'utf8');\n written.push(outputPath);\n }\n return written;\n }\n\n /**\n * Render the provider-agnostic remote Traefik Helm values\n * (`traefik/values.yaml.hbs`) to `<outputDir>/traefik-values.yaml`, referenced\n * by the CI `helm upgrade --install traefik ... -f traefik-values.yaml` step.\n * Provider-agnostic: a plain `LoadBalancer` service, no cloud LB annotations\n * (Scaleway specifics are deferred — see `remote-k8s-tls-wiring.md` D2). Every\n * variable the template reads is `{{default …}}`-guarded, so an empty context\n * renders the generic values. Local envs render nothing (returns `null`).\n *\n * @returns the absolute path written, or `null` when nothing was rendered.\n */\n static renderRemoteTraefikValues(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n outputDir: string,\n ): string | null {\n if (env.locationType === WildoLocationType.LOCAL) return null;\n\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const template = 'ingress/traefik/values.yaml.hbs';\n if (!existsSync(join(templatesRoot, template))) return null;\n\n const tp = new TemplateProcessor(templatesRoot);\n const outputPath = join(outputDir, 'traefik-values.yaml');\n writeFileSync(outputPath, tp.processTemplate(template, {}), 'utf8');\n return outputPath;\n }\n\n // --------------------------------------------------------------------------\n // Private rendering helpers\n // --------------------------------------------------------------------------\n\n /**\n * Render pod labels as an indented YAML block.\n *\n * Values are quoted unconditionally: a label value is a string, and an\n * unquoted `true` would be parsed as a BOOLEAN by any conformant YAML reader —\n * which is exactly the value every network label carries.\n */\n private static renderPodLabelBlock(labels: Record<string, string>, indent: number): string {\n const pad = ' '.repeat(indent);\n return Object.entries(labels)\n .sort(([a], [b]) => a.localeCompare(b))\n .map(([key, value]) => `${pad}${key}: \"${value}\"`)\n .join('\\n');\n }\n\n private static renderClusterInfra(\n tp: TemplateProcessor,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const baseVars = K8sManifestGenerator.buildForInternalService('valkey', env);\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n /*\n * `middleware.yaml.hbs` was here until 2026-09-08 and is deliberately gone (#432). It rendered\n * FIVE Traefik middlewares — rate-limit, security-headers, cors-api, strip-api-prefix, compress —\n * into every namespace, and the only ingress template annotated its middleware reference as a\n * literal empty string, so no route ever used any of them. The measured finding named two; all\n * five were unreferenced.\n *\n * The consequence, chosen rather than discovered: THE EDGE IS NO LONGER A PLACE WILDO ADDS\n * PROTECTION. Rate limiting and security headers are the application's own concern, in its\n * backend. Reintroducing an edge middleware means choosing its values — a rate limit that\n * reaches a live route can break a legitimate high-volume integration — which is why deploying\n * them unreferenced was worse than not deploying them at all.\n */\n const clusterTemplates = [\n { template: 'tls-config.yaml.hbs', output: 'tls-config.yaml' },\n { template: 'namespace.yaml.hbs', output: 'namespace.yaml' },\n ];\n\n for (const { template, output } of clusterTemplates) {\n const templatePath = join(templatesRoot, template);\n if (!existsSync(templatePath)) continue;\n\n const content = tp.processTemplate(template, baseVars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, output), content, 'utf8');\n count++;\n }\n\n // Network segmentation (Step 5-egress, half A). Serialised from the typed\n // documents rather than rendered from a `.hbs` template: the shape is decided\n // in `platform-config-lib` and a template would be a SECOND description of it,\n // free to drift. `yaml` is already a dependency of this package, so nothing is\n // hand-rolled either.\n //\n // Safe to emit only because every app-owned pod already carries the labels\n // these policies select on — the default-deny selects EVERY pod, so shipping\n // this ahead of the labels would isolate the whole namespace. That ordering is\n // the one hard constraint in this step.\n const policyDocuments = buildRuntimeNetworkPolicyDocuments(\n env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,\n );\n writeFileSync(\n join(outputDir, 'network-policies.yaml'),\n policyDocuments.map((document) => stringifyYaml(document)).join('---\\n'),\n 'utf8',\n );\n count++;\n\n return count;\n }\n\n private static renderStorageManifests(\n tp: TemplateProcessor,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const pvTemplate = 'storage/local/persistent-volumes.yaml.hbs';\n const pvPath = join(K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath), pvTemplate);\n if (!existsSync(pvPath)) return 0;\n\n const vars = K8sManifestGenerator.buildForInternalService('valkey', env);\n const content = tp.processTemplate(pvTemplate, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, 'persistent-volumes.yaml'), content, 'utf8');\n return 1;\n }\n\n private static renderInternalService(\n tp: TemplateProcessor,\n serviceName: string,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const vars = K8sManifestGenerator.buildForInternalService(serviceName, env);\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n const templates = [\n { template: `internal/${serviceName}/deployment.yaml.hbs`, output: `${serviceName}-deployment.yaml` },\n { template: `internal/${serviceName}/service.yaml.hbs`, output: `${serviceName}-service.yaml` },\n { template: `internal/${serviceName}/configmap.yaml.hbs`, output: `${serviceName}-configmap.yaml` },\n ];\n\n for (const { template, output } of templates) {\n const templatePath = join(templatesRoot, template);\n if (!existsSync(templatePath)) continue;\n\n const content = tp.processTemplate(template, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, output), content, 'utf8');\n count++;\n }\n\n return count;\n }\n\n private static renderPlatformService(\n tp: TemplateProcessor,\n service: PlatformWildoServices,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n imageTag?: string,\n replicaOverride?: number,\n isFrameworkDeveloper = false,\n ): number {\n if (service === PlatformWildoServices.PLATFORM_INIT) return 0;\n\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const containerName = catalog.containerName;\n const vars = K8sManifestGenerator.buildForPlatformService(service, env, imageTag, replicaOverride, isFrameworkDeveloper);\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n // Deployment template (always .hbs)\n const deploymentTemplate = `platform/${containerName}/deployment.yaml.hbs`;\n const deploymentPath = join(templatesRoot, deploymentTemplate);\n if (existsSync(deploymentPath)) {\n const content = tp.processTemplate(deploymentTemplate, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, `${containerName}-deployment.yaml`), content, 'utf8');\n count++;\n }\n\n // Service manifest (static .yaml, not templated)\n const staticServicePath = join(templatesRoot, 'platform', containerName, 'service.yaml');\n if (existsSync(staticServicePath)) {\n const content = readFileSync(staticServicePath, 'utf8');\n writeFileSync(join(outputDir, `${containerName}-service.yaml`), content, 'utf8');\n count++;\n }\n\n return count;\n }\n\n /**\n * Render the per-app single-pod Deployment + Ingress + Service for ONE app\n * from its resolved deploy target, returning `{name, yaml}` pairs the caller\n * writes as FLAT files (the CI lane's `kubectl apply -f <dir>` is\n * non-recursive, so no nested `applications/` subdir).\n *\n * This is the reachable remote self-host app-deploy path. It supersedes the\n * old target-less `renderApplication` (removed): that one was gated `!isLocal`\n * inside the LOCAL-only `renderAllManifests`, so it never ran on the real\n * deploy path and — once the templates were parameterized — emitted broken\n * empty-identity manifests (see\n * `remote-k8s-deploy-two-lanes-renderallmanifests-local-only`). App identity,\n * container/Service ports, ingress host→port routes, per-app TLS secret, and\n * the `{appSlug}-secret` mount are all parameterized per-app from `target`\n * (mirrors the compose app lane `docker-compose.app.yml.hbs`). Local Kind\n * does NOT deploy the app in-cluster, so this is remote-only.\n */\n /**\n * Render the per-service k8s manifests for one app (per-service deploy model):\n * - the BACKEND Deployment + Service (its API + internal sibling ports; image\n * `{registry}/{backendServiceName}:{tag}`; health probes on `healthPort`);\n * - ONE nginx Deployment + Service PER frontend (image\n * `{registry}/{frontendServiceName}:{tag}`, serving on :80);\n * - ONE Ingress whose rules route each serviceHosts host → its OWN per-service\n * Service (`ingressRoutes[].serviceName`), not a shared app Service.\n * Returns flat `{serviceName}-{deployment|service}` + `{appName}-ingress`\n * manifests. Remote-only (the CI deploy lane).\n */\n static renderApplicationForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n backendServiceName?: string;\n /** Per-backend desired count; takes precedence over the common direct-call override. */\n backendReplicas?: number;\n ingressRoutes?: Array<{ host: string; serviceName: string; port: number }>;\n podPorts?: Array<{ name: string; containerPort: number }>;\n healthPort?: number;\n /**\n * Effective backend container isolation, already resolved through\n * `resolveAppServiceIsolation` — NOT the raw authored block. Resolution\n * happens once at the config boundary so this renderer and the compose app\n * lane cannot apply different fallbacks to the same service row.\n */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n frontends?: Array<{\n replicas?: number;\n serviceName: string;\n port: number;\n /** Same contract as the backend `isolation` above, per frontend. */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n }>;\n },\n imageTag?: string,\n replicaOverride?: number,\n ): Array<{ name: string; yaml: string }> {\n // Fail-closed: without an app slug, a backend service + its ports, or ingress\n // routes we'd emit invalid/empty manifests. The CI lane already gates on\n // ingressRoutes.length; this guards any direct caller too.\n if (\n !target.appName ||\n !target.backendServiceName ||\n !target.ingressRoutes?.length ||\n !target.podPorts?.length\n ) {\n return [];\n }\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(\n env,\n imageTag,\n replicaOverride,\n ) as unknown as Record<string, unknown>;\n const rendered: Array<{ name: string; yaml: string }> = [];\n\n const renderTpl = (file: string, name: string, vars: Record<string, unknown>): void => {\n const tpl = `applications/${APPLICATION_NAME}/${file}`;\n if (existsSync(join(templatesRoot, tpl))) {\n rendered.push({ name, yaml: tp.processTemplate(tpl, vars) });\n }\n };\n\n // --- Backend Deployment + Service (the primary backend's own pod) ---\n const backendVars: Record<string, unknown> = {\n // The application backend reaches every backing service the app provisions,\n // and serves the public route, so it joins the edge as well.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.APPLICATION_BACKEND } as ApplicationRuntimePrincipal,\n undefined,\n { servesHttp: true },\n ),\n 8,\n ),\n ...base,\n appName: target.appName,\n serviceName: target.backendServiceName,\n replicas: target.backendReplicas ?? replicaOverride ?? 1,\n // The backend's own provider Secret (#369). Resolved through the SAME helper the emit side\n // calls, never composed in the template — emit-name and mount-name are one decision, and this\n // file already carries the scar of the version where they were two.\n // The backend's own environment Secret. Threaded rather than composed as `{{appName}}-secret`\n // in the template, so every mount name in this lane is resolved by one function (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(target.appName),\n providersSecretName: k8sRuntimeProvidersSecretName(target.appName),\n ports: target.podPorts,\n healthPort: target.healthPort,\n // Defaults repeated for a direct caller that passes a partial target: an\n // undefined uid renders `runAsUser:` with an empty value, which k8s\n // rejects only at apply time. Kept equal to\n // `APP_BACKEND_DEFAULT_RUNTIME_UID` by importing it rather than retyping.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? APP_BACKEND_DEFAULT_RUNTIME_UID,\n runAsGroup: target.isolation?.runAsGroup ?? APP_BACKEND_DEFAULT_RUNTIME_UID,\n },\n writableMounts: buildWritableMounts(target.isolation?.writablePaths),\n };\n renderTpl('backend.deployment.yaml.hbs', `${target.backendServiceName}-deployment`, backendVars);\n renderTpl('backend.service.yaml.hbs', `${target.backendServiceName}-service`, backendVars);\n // Durable immudb audit trust-anchor PVC — emitted ONLY when the env configured an immudb audit\n // backing service (buildForApplication set `immudbAuditStateDir`). The deployment above mounts it\n // and points IMMUDB_STATE_DIR at it; without it the audit client would run EPHEMERAL in-cluster.\n if (backendVars.immudbAuditStateDir) {\n renderTpl(\n 'backend.immudb-audit-state.pvc.yaml.hbs',\n `${target.backendServiceName}-immudb-audit-state-pvc`,\n backendVars,\n );\n }\n\n // --- Frontend Deployments + Services (one nginx pod per frontend) ---\n for (const fe of target.frontends ?? []) {\n const feVars: Record<string, unknown> = {\n // A static frontend is NOT a runtime principal: it holds no credential and\n // reaches no backing service. Passing `undefined` yields the narrowest set,\n // which is the honest answer — passing APPLICATION_BACKEND to \"keep it\n // simple\" would put an nginx container on every database segment.\n //\n // ⚠️ Residual: `resolveRuntimeNetworkMembership` adds PLATFORM\n // unconditionally, so a static frontend joins it too. Harmless (that\n // segment carries no application data, and a frontend cannot authenticate\n // to apps-manager anyway) but unnecessary — see the plan's note on\n // narrowing PLATFORM to principals that actually fetch bootstrap material.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(undefined, undefined, { servesHttp: true }),\n 8,\n ),\n ...base,\n appName: target.appName,\n serviceName: fe.serviceName,\n replicas: fe.replicas ?? replicaOverride ?? 1,\n frontendPort: fe.port,\n isolation: {\n runAsUser: fe.isolation?.runAsUser ?? APP_FRONTEND_DEFAULT_RUNTIME_UID,\n runAsGroup: fe.isolation?.runAsGroup ?? APP_FRONTEND_DEFAULT_RUNTIME_UID,\n },\n // The nginx mounts are appended even on the fallback path: a frontend\n // rendered from a partial target still gets a read-only rootfs, and\n // without them nginx cannot start at all.\n writableMounts: buildWritableMounts(\n fe.isolation?.writablePaths ?? [...APP_FRONTEND_MANDATORY_WRITABLE_PATHS],\n ),\n };\n renderTpl('frontend.deployment.yaml.hbs', `${fe.serviceName}-deployment`, feVars);\n renderTpl('frontend.service.yaml.hbs', `${fe.serviceName}-service`, feVars);\n }\n\n // --- Ingress (one object; each rule → its per-service Service) ---\n const ingressVars: Record<string, unknown> = {\n ...base,\n appName: target.appName,\n ingressRoutes: target.ingressRoutes,\n // One cert per app-ingress (HTTP-01 per-ingress) into `{appSlug}-tls`,\n // overriding buildForApplication's framework `wildo-ai-application-tls`.\n tlsSecretName: `${target.appName}-tls`,\n };\n renderTpl('ingress.yaml.hbs', `${target.appName}-ingress`, ingressVars);\n\n return rendered;\n }\n\n /**\n * Render the per-app, per-minion Deployment (KD-5/KD-8 — singleton, no\n * Service, no Ingress; shares the app scope + mounts the SAME `{appSlug}-secret`).\n * Maps the authored reinstantiation policy → K8s strategy (per\n * `MinionReinstantiationSchema`: `kill_previous`→Recreate, `let_run`→RollingUpdate)\n * and builds the liveness `exec` command from the liveness spec. Per-service\n * model: the minion runs its OWN per-minion image\n * `{registry}/{appSlug}-minion-{dnsName}` (built from its package Dockerfile\n * — symmetric with the worker's `{appSlug}-worker-{dnsName}`; NOT the deleted\n * single-pod `{appSlug}` app image), where `dnsName` is the bucket key\n * RFC1123-normalized via `buildMinionServiceName` so a camelCase key\n * (`marketingScrapper`) yields a valid image tag / object name\n * (`marketing-scrapper`). Headless role — marked by the\n * `wildo.ai/owned-service-kind: minion` pod label; no `APP_OWNED_SERVICE_*`\n * env is stamped, as the Node minion sources identity from its compiled-in\n * `defineMinionInit` config, not env. The RAW bucket key remains the minion's\n * IDENTITY (the `wildo.ai/owned-service-name` label), distinct from the DNS name.\n * Returns one flat `{appSlug}-minion-{dnsName}` manifest. Remote-only.\n *\n * This renderer selects the per-minion image. The generated deployment CI\n * workflow owns building and publishing that image from its package Dockerfile.\n */\n static renderMinionForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n minionName: string;\n /**\n * What this minion DECLARED — forwarded so its pod carries the network\n * labels its `NetworkPolicy` set selects on (Step 5-egress / 5A).\n * Optional here and absent means \"declared nothing\", which yields the\n * NARROWEST label set rather than none — the same fail-closed direction as\n * every other consumer of this declaration.\n */\n accessDeclaration?: RuntimeAccessDeclaration;\n reinstantiationPolicy?: 'kill_previous' | 'let_run';\n gracePeriodSec?: number;\n liveness?: { kind?: 'file' | 'exec'; filePath?: string; staleAfterSec?: number; execCommand?: string[] };\n /**\n * Authored `wildo.minion.config.ts > isolation`. Only the image-dependent\n * (`runAsUser`/`runAsGroup`) and ADDITIVE (`writablePaths`) knobs travel\n * here — the security floor is emitted unconditionally by the template and\n * is deliberately not representable in this shape, so no caller can pass a\n * value that lowers it. See `MinionIsolationSchema`.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n imageRef?: string;\n },\n imageTag?: string,\n ): Array<{ name: string; yaml: string }> {\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tpl = `applications/${APPLICATION_NAME}/minion.deployment.yaml.hbs`;\n if (!existsSync(join(templatesRoot, tpl))) return [];\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(env, imageTag);\n\n const useRollingUpdate = target.reinstantiationPolicy === 'let_run';\n const liveness = target.liveness ?? {};\n let livenessCommand: string[];\n if (liveness.kind === 'exec' && liveness.execCommand && liveness.execCommand.length > 0) {\n livenessCommand = liveness.execCommand;\n } else {\n const filePath = liveness.filePath ?? '/tmp/wildo-minion-alive';\n const staleSec = liveness.staleAfterSec ?? 90;\n // EXACTLY the schema's documented `-mmin -<staleAfterSec/60>` (NOT ceil —\n // ceiling 90s to 2min made the probe tolerate 120s, deviating from the\n // authored staleAfterSec). Rounded to trim float noise (e.g. 100s→1.667).\n const minutes = Math.round((staleSec / 60) * 1000) / 1000;\n // `find <fp> -mmin -N` prints the path when fresh, nothing when stale →\n // `test -n \"...\"` exits 0 (healthy) / 1 (stale).\n livenessCommand = ['/bin/sh', '-c', `test -n \"$(find ${filePath} -mmin -${minutes})\"`];\n }\n\n // The RFC1123-normalized DNS name (k8s object + image ref). `minionName`\n // stays the RAW bucket key — it is the minion's IDENTITY, stamped verbatim\n // as the `wildo.ai/owned-service-name` pod label. Splitting the two is why\n // the template consumes `{{minionServiceName}}` for names and `{{minionName}}`\n // for the identity label (see the schema-reshape rule on distinct concepts).\n const minionServiceName = buildMinionServiceName(target.appName, target.minionName);\n\n // The MANDATORY `/tmp` mount always leads, then any authored additions.\n //\n // This pairing is load-bearing, not cosmetic: the template emits\n // `readOnlyRootFilesystem: true`, and the default liveness probe writes to\n // `/tmp/wildo-minion-alive`. Emitting the read-only flag without a writable\n // /tmp restart-loops every HEALTHY minion, and the k8s event names a failing\n // probe rather than the missing mount — a long way from the cause. The\n // schema rejects `/tmp` in `writablePaths` (duplicate mountPath = pod\n // refused at admission), so prepending here cannot collide.\n //\n // Volume names are RFC1123: lowercase alphanumerics and '-'. Deriving them\n // from the path (rather than an index) keeps a manifest diff readable when a\n // path is added in the middle of the list.\n const writableMounts = buildWritableMounts(target.isolation?.writablePaths);\n\n const vars: Record<string, unknown> = {\n namespace: base.namespace,\n imageRegistry: base.imageRegistry,\n imageTag: base.imageTag,\n imagePullPolicy: base.imagePullPolicy,\n applicationEnv: base.applicationEnv,\n appName: target.appName,\n minionServiceName,\n // Scoped to `providers.scopes.minions.<name>`, keyed on the SAME DNS name the Deployment\n // uses (#369) — one runtime, one provider Secret, one name.\n // This minion's OWN environment Secret — no longer the backend's (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(minionServiceName),\n providersSecretName: k8sRuntimeProvidersSecretName(minionServiceName),\n minionName: target.minionName,\n imageRef: target.imageRef ?? `${base.imageRegistry}/${minionServiceName}:${base.imageTag}`,\n reinstantiationStrategy: useRollingUpdate ? 'RollingUpdate' : 'Recreate',\n useRollingUpdate,\n gracePeriodSeconds: target.gracePeriodSec,\n // JSON-encode the command → a valid YAML flow sequence whose string\n // elements are always-valid scalars (guards against `:`/`#` in an\n // authored filePath/execCommand corrupting the manifest).\n livenessCommandJson: JSON.stringify(livenessCommand),\n // Pre-rendered as an indented YAML block rather than iterated in the\n // template: Handlebars `{{#each}}` whitespace is fragile inside a YAML\n // mapping, and a mis-indented label silently becomes a sibling key. Same\n // reasoning as `livenessCommandJson` above — serialise where the types are.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.MINION, name: target.minionName } as ApplicationRuntimePrincipal,\n target.accessDeclaration,\n // A minion serves no HTTP route, so it never joins the edge segment.\n { servesHttp: false },\n ),\n 8,\n ),\n // Defaults mirror `MinionIsolationSchema`. Repeated here because this\n // renderer is reachable from callers that pass a partially-populated\n // target (the schema defaults apply at config-parse time, not here), and\n // an undefined uid would emit `runAsUser:` with an empty value — which\n // k8s rejects, but only at apply time.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? 10001,\n runAsGroup: target.isolation?.runAsGroup ?? 10001,\n },\n writableMounts,\n };\n return [{ name: minionServiceName, yaml: tp.processTemplate(tpl, vars) }];\n }\n\n /**\n * Render the per-app, per-worker Deployment + ClusterIP Service (KD-3 —\n * in-cluster HTTP only, no Ingress; mounts `{appSlug}-secret` for the 4-env\n * bootstrap it uses to fetch its worker-bootstrap key). Scalable (`replicas`).\n * Worker image is per-worker (`{registry}/{appSlug}-worker-{dnsName}`), where\n * `dnsName` is the bucket key RFC1123-normalized via `buildWorkerServiceName`\n * (`myRustWorker` → `my-rust-worker`) so the tag / object name / dispatch host\n * are valid and coherent. The RAW bucket key stays the worker IDENTITY\n * (`APP_OWNED_SERVICE_NAME` + `wildo.ai/owned-service-name` label).\n * Returns two flat manifests. Remote-only.\n *\n * NOTE: deploying the worker does NOT make it invokable — the backend→worker\n * dispatch client + `WILDO_WORKER_<NAME>_URL` injection (G-8 / MW4) is a\n * separate, not-yet-built feature. See the Phase 8 plan.\n */\n static renderWorkerForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n workerName: string;\n httpPort?: number;\n replicas?: number;\n healthPath?: string;\n readyPath?: string;\n metricsPath?: string;\n /**\n * Authored `wildo.worker.config.ts > isolation`. Same contract as the\n * minion renderer: only the image-dependent and ADDITIVE knobs travel\n * here — the security floor is emitted unconditionally by the template and\n * is deliberately not representable, so no caller can lower it.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n imageRef?: string;\n },\n imageTag?: string,\n ): Array<{ name: string; yaml: string }> {\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(env, imageTag);\n // The RFC1123-normalized DNS name (Deployment/Service `metadata.name`,\n // `app.kubernetes.io/name` selector, image ref, and the dispatch URL host the\n // backend reaches it at). `workerName` stays the RAW bucket key — it is the\n // worker's IDENTITY, stamped verbatim as `APP_OWNED_SERVICE_NAME` (the Rust\n // worker reads it at boot to key its apps-manager bootstrap) and the\n // `wildo.ai/owned-service-name` label. The template consumes\n // `{{workerServiceName}}` for names and `{{workerName}}` for the identity.\n const workerServiceName = buildWorkerServiceName(target.appName, target.workerName);\n // A worker never boots the application lifecycle and holds no backing-service\n // credential (D22/KD-3), so it joins PLATFORM only — the declaration is not\n // even consulted, because there is no declaration that would widen it.\n const workerNetworkLabelsYaml = K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.WORKER, name: target.workerName } as ApplicationRuntimePrincipal,\n undefined,\n { servesHttp: false },\n ),\n 8,\n );\n // The bare normalized segment (`myNodeWorker` → `my-node-worker`) for the\n // per-manifest FILE key `{appName}-{seg}-{deployment|service}` — keeps the\n // historical filename shape (already lowercase for a lowercase key) rather than\n // doubling the `-worker-` infix that `workerServiceName` already carries.\n const workerDnsSegment = normalizeServiceKeyToDnsName(target.workerName);\n const vars: Record<string, unknown> = {\n namespace: base.namespace,\n imageRegistry: base.imageRegistry,\n imageTag: base.imageTag,\n imagePullPolicy: base.imagePullPolicy,\n applicationEnv: base.applicationEnv,\n appName: target.appName,\n workerServiceName,\n // Scoped to `providers.scopes.workers.<name>` (#369). `myRustWorker` authors\n // `providers: {}`, so no Secret is emitted for it and the optional mount finds nothing —\n // which is the whole point.\n // This worker's OWN environment Secret — no longer the backend's (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(workerServiceName),\n providersSecretName: k8sRuntimeProvidersSecretName(workerServiceName),\n runtimeNetworkLabelsYaml: workerNetworkLabelsYaml,\n workerName: target.workerName,\n imageRef:\n target.imageRef ??\n `${base.imageRegistry}/${workerServiceName}:${base.imageTag}`,\n httpPort: target.httpPort ?? 8080,\n replicas: target.replicas ?? 1,\n healthPath: target.healthPath ?? '/healthz',\n readyPath: target.readyPath ?? '/readyz',\n metricsPath: target.metricsPath,\n // Defaults mirror `RuntimeIsolationSchema`; repeated because this renderer\n // is reachable from callers passing a partially-populated target, and an\n // undefined uid would emit `runAsUser:` with an empty value — which k8s\n // rejects, but only at apply time.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? 10001,\n runAsGroup: target.isolation?.runAsGroup ?? 10001,\n },\n // Mandatory writable mount first, then authored additions — identical\n // ordering and reasoning to the minion renderer.\n writableMounts: buildWritableMounts(target.isolation?.writablePaths),\n };\n const files: Array<[string, string]> = [\n ['worker.deployment.yaml.hbs', 'worker-deployment'],\n ['worker.service.yaml.hbs', 'worker-service'],\n ];\n const rendered: Array<{ name: string; yaml: string }> = [];\n for (const [file, suffix] of files) {\n const tpl = `applications/${APPLICATION_NAME}/${file}`;\n if (existsSync(join(templatesRoot, tpl))) {\n rendered.push({\n name: `${target.appName}-${workerDnsSegment}-${suffix}`,\n yaml: tp.processTemplate(tpl, vars),\n });\n }\n }\n return rendered;\n }\n\n // --------------------------------------------------------------------------\n // Host paths\n // --------------------------------------------------------------------------\n\n private static buildPlatformServiceHostPaths(\n service: PlatformWildoServices,\n ): PlatformServiceHostPaths {\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const distBase = `${KIND_MOUNT_PATHS.wildoAi}/${catalog.sourceDir}/dist`;\n\n return {\n serviceDist: distBase,\n platformSharedLib: `${KIND_MOUNT_PATHS.wildoAi}/platform/platform-shared-lib/dist`,\n engine: {\n saasModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/saas-models/dist`,\n saasBackendLib: `${KIND_MOUNT_PATHS.wildoAi}/engine/saas-backend-lib/dist`,\n zodDecorators: `${KIND_MOUNT_PATHS.wildoAi}/engine/zod-decorators/dist`,\n externalConnectorsModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/external-connectors-models/dist`,\n presetsComponentsModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/presets-components-models/dist`,\n },\n customSharedLib: `${KIND_MOUNT_PATHS.appsCustom}/custom-shared-lib/dist`,\n customBackendLib: `${KIND_MOUNT_PATHS.appsCustom}/custom-backend-lib/dist`,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"k8s-manifest-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/k8s/k8s-manifest-generator.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,EAC5B,kCAAkC,GAGnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AAC/H,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,kBAAkB,EAElB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,6BAA6B,EAC7B,uBAAuB,EACvB,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EACh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Ae,CAAC,GAAG,EAAE,IAAI,CAAC;iBACpC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,6EAA6E;IAC7E,aAAa;IACb,6EAA6E;IAErE,MAAM,CAAC,6BAA6B,CAC1C,OAA8B;QAE9B,MAAM,OAAO,GAAG,wBAAwB,CAAC,OAA8E,CAAC,CAAC;QACzH,MAAM,QAAQ,GAAG,GAAG,gBAAgB,CAAC,OAAO,IAAI,OAAO,CAAC,SAAS,OAAO,CAAC;QAEzE,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,iBAAiB,EAAE,GAAG,gBAAgB,CAAC,OAAO,oCAAoC;YAClF,MAAM,EAAE;gBACN,UAAU,EAAE,GAAG,gBAAgB,CAAC,OAAO,0BAA0B;gBACjE,cAAc,EAAE,GAAG,gBAAgB,CAAC,OAAO,+BAA+B;gBAC1E,aAAa,EAAE,GAAG,gBAAgB,CAAC,OAAO,6BAA6B;gBACvE,wBAAwB,EAAE,GAAG,gBAAgB,CAAC,OAAO,yCAAyC;gBAC9F,uBAAuB,EAAE,GAAG,gBAAgB,CAAC,OAAO,wCAAwC;aAC7F;YACD,eAAe,EAAE,GAAG,gBAAgB,CAAC,UAAU,yBAAyB;YACxE,gBAAgB,EAAE,GAAG,gBAAgB,CAAC,UAAU,0BAA0B;SAC3E,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * K8s Manifest Generator — builds TemplateVariables contexts and renders\n * .yaml.hbs templates into deployable YAML manifests.\n *\n * Static stateless class (consistent with ServiceAddressResolver, PlatformEnvVarsBuilder).\n */\n\nimport { stringify as stringifyYaml } from 'yaml';\nimport {\n ApplicationRuntimePrincipalKind,\n buildRuntimeNetworkPodLabels,\n buildRuntimeNetworkPolicyDocuments,\n type ApplicationRuntimePrincipal,\n type RuntimeAccessDeclaration,\n} from '@wildo-ai/platform-config-lib';\nimport { join } from 'path';\nimport { existsSync, readFileSync, mkdirSync, rmSync, writeFileSync } from 'fs';\n\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { DEFAULT_PLATFORM_IMAGE_TAG, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n K8S_LOCAL_DEFAULTS,\n PUBLIC_DOMAIN_DEFAULTS,\n KIND_CLUSTER_DEFAULTS,\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n WildoTlsIssuer,\n WildoKubernetesIngressClass,\n PlatformWildoServices,\n k8sServiceSecretName,\n k8sRuntimeProvidersSecretName,\n k8sRuntimeEnvSecretName,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n APP_BACKEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_DEFAULT_RUNTIME_UID,\n APP_FRONTEND_MANDATORY_WRITABLE_PATHS,\n INFRA_DEFAULT_PORTS,\n} from '@wildo-ai/platform-config-lib';\nimport { RuntimeEnvironment } from '@wildo-ai/saas-models';\nimport { buildMinionServiceName, buildWorkerServiceName, normalizeServiceKeyToDnsName } from '@wildo-ai/platform-core-shared';\nimport { PlatformDataServices, IMMUDB_AUDIT_STATE_CONTAINER_DIR, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { PLATFORM_SERVICE_CATALOG, INFRA_SERVICE_CATALOG, getDeployableInfraServicesForK8s } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { KIND_MOUNT_PATHS } from '~wildo-cli/services/deployment/k8s/k8s.schemas';\nimport {\n TemplateVariables,\n PlatformServiceHostPaths,\n DEFAULT_PLATFORM_RESOURCES,\n DEFAULT_PLATFORM_DEV_RESOURCES,\n platformServiceResources,\n DEFAULT_INTERNAL_RESOURCES,\n DEFAULT_APP_PROD_RESOURCES,\n} from '~wildo-cli/services/deployment/k8s/k8s-manifest.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { InfrastructureHost, SharedInfrastructureAction } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\n\n// ============================================================================\n// Constants\n// ============================================================================\n\nconst LOCAL_TLS_SECRET_NAME = 'local-wildo-ai-tls';\nconst INGRESS_CLASS = WildoKubernetesIngressClass.TRAEFIK;\n\nenum NodeEnv {\n DEVELOPMENT = 'development',\n PRODUCTION = 'production',\n}\n\n// Per-env deployable list comes from `getDeployableInfraServicesForK8s(env)`,\n// which gates MongoDB on `EnvironmentUtils.needsLocalMongoDB` and (Slice 4.8)\n// ClamAV on `resolveIncludeLocalClamAV` so Atlas / managed environments do\n// NOT spawn redundant local workloads.\n\nconst DEFAULT_STORAGE_SIZES: Record<string, string> = {\n mongodb: '5Gi',\n // mongot (issue #74) — matched to `mongot-data-pv`'s 5Gi capacity in\n // `storage/local/persistent-volumes.yaml.hbs` and to the template's own\n // `{{default storageSize \"5Gi\"}}`. Keeping all three equal is the point: a PVC that\n // requests LESS than its static PV is the confusion the clamav note below records.\n mongot: '5Gi',\n valkey: '1Gi',\n rabbitmq: '1Gi',\n minio: '5Gi',\n postgresql: '5Gi',\n // Slice 4 second-pass-2 review fix (MEDIUM-1) — bumped to 2Gi to match\n // the static PV (`templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs`\n // — `clamav-data-pv` capacity 2Gi after Sizing M-5) AND the template's\n // `volumeClaimTemplates` default (`{{default storageSize \"2Gi\"}}`).\n // Previously this generator passed `1Gi` as `storageSize`, which won\n // over the template default and produced PVCs that requested LESS\n // than the static PV — confusing for any policy/tool that compares\n // requested vs allocated storage, and tight enough to risk ENOSPC\n // during freshclam's transient DB-double on signature refresh.\n // The PV, the template default, and this generator default are now\n // all 2Gi so the rendered PVC matches the bound PV exactly.\n clamav: '2Gi',\n // Audit Phase 2 — immudb append-only audit store. Local-dev default; the PV\n // (persistent-volumes.yaml.hbs), this size, and the StatefulSet's\n // volumeClaimTemplate default MUST all match (2Gi) so the pre-bound PVC binds.\n immudb: '2Gi',\n};\n\nconst APPLICATION_NAME = 'wildo-ai-application';\n\n/**\n * Per-ingress TLS secret for the framework `wildo-ai-application` ingress\n * under the HTTP-01 per-ingress strategy. cert-manager's ingress-shim issues\n * the enumerated-host certificate into this secret (one per ingress — the\n * shared wildcard secret is retired for remote). See `remote-k8s-tls-wiring.md`.\n */\nconst APPLICATION_TLS_SECRET_NAME = `${APPLICATION_NAME}-tls`;\n\n/**\n * Remote TLS template vars for the HTTP-01 per-ingress strategy. Empty for\n * LOCAL (self-signed wildcard preserved — `tls-config.yaml.hbs` keeps its\n * `TLSStore` default because `perIngressTls` stays unset). For REMOTE:\n * - `acmeEmail` → Let's Encrypt `ClusterIssuer` registration email.\n * - `issuerName` → the `ClusterIssuer` an ingress annotation points at\n * (`remoteProvider.tlsIssuer`, default `letsencrypt-prod` — a remote deploy\n * implies a real domain that browsers must trust; operators opt into\n * `letsencrypt-staging` while validating a new cluster).\n * - `perIngressTls: true` → each ingress owns its own `<name>-tls` secret and\n * the wildcard `TLSStore` default is suppressed (no wildcard secret backs it).\n */\nfunction resolveRemoteTlsVars(env: PlatformEnvironmentConfiguration): {\n acmeEmail?: string;\n issuerName?: string;\n perIngressTls?: boolean;\n} {\n if (env.locationType === WildoLocationType.LOCAL) return {};\n return {\n acmeEmail: env.remoteProvider?.acmeEmail,\n issuerName: env.remoteProvider?.tlsIssuer ?? WildoTlsIssuer.LETSENCRYPT_PROD,\n perIngressTls: true,\n };\n}\n\n/**\n * Container/service name of the self-hosted immudb audit store — the single\n * source of truth (from the infra catalog) used to (a) key its immudb-specific\n * resource profile and (b) select the `immudb-secret` admin-credential wiring\n * in `buildForInternalService`. Renders for both local Kind and self-hosted\n * prod/staging (`backingServices.immudb.source === SELF`); managed/external\n * immudb never enters the deployable list so no StatefulSet is emitted.\n */\nconst IMMUDB_INTERNAL_SERVICE_NAME = INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName;\n\nfunction resolveManifestKubernetesRuntime(\n env: PlatformEnvironmentConfiguration,\n): {\n namespace: string;\n publicDomain: string;\n imageRegistry: string;\n applicationEnv: RuntimeEnvironment;\n} {\n if (env.locationType === WildoLocationType.LOCAL) {\n return {\n namespace: env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,\n publicDomain: env.publicDomain ?? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S,\n imageRegistry: env.kubernetes?.imageRegistry ?? `localhost:${KIND_CLUSTER_DEFAULTS.REGISTRY_PORT}`,\n applicationEnv: env.runtimeEnvironment ?? RuntimeEnvironment.DEVELOPMENT,\n };\n }\n\n const namespace = env.kubernetes?.namespace;\n const publicDomain = env.publicDomain;\n const imageRegistry = env.kubernetes?.imageRegistry ?? env.remoteProvider?.registryEndpoint;\n const applicationEnv = env.runtimeEnvironment;\n\n if (!namespace || !publicDomain || !imageRegistry || !applicationEnv) {\n throw new Error(\n `Environment '${env.name}' is missing explicit remote Kubernetes namespace, top-level publicDomain, imageRegistry, or runtimeEnvironment metadata.`,\n );\n }\n\n return {\n namespace,\n publicDomain,\n imageRegistry,\n applicationEnv,\n };\n}\n\n// ============================================================================\n// K8s Manifest Generator\n// ============================================================================\n\n/**\n * Derive the `{name, path}` pairs the Deployment templates render as `volumes:`\n * + `volumeMounts:`, prepending the mandatory scratch mount.\n *\n * ONE definition for all four app-owned container kinds (minion, worker, app\n * backend, frontend). It was two copies for a day and would have been four: the\n * name derivation has to agree between the `volumes:` block and the\n * `volumeMounts:` block of the SAME pod, and a pod whose two lists disagree is\n * rejected at admission with an error naming neither.\n *\n * Volume names are RFC1123 (lowercase alphanumerics and `-`). Deriving them from\n * the path rather than an index keeps a manifest diff readable when a path is\n * inserted in the middle of the list.\n */\nfunction buildWritableMounts(additionalPaths: readonly string[] = []): Array<{ path: string; name: string }> {\n return [RUNTIME_MANDATORY_WRITABLE_PATH, ...additionalPaths].map((path) => ({\n path,\n name: `scratch-${path.replace(/^\\/+/, '').replace(/[^a-zA-Z0-9]+/g, '-').toLowerCase() || 'root'}`,\n }));\n}\n\nexport class K8sManifestGenerator {\n private static resolveK8sTemplatesRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).k8sTemplatesHome;\n }\n\n\n // --------------------------------------------------------------------------\n // Variable builders\n // --------------------------------------------------------------------------\n\n /**\n * Build TemplateVariables for a platform service deployment.\n * @param replicaOverride — from infra config `services.<key>.replicas`, falls back to 1.\n */\n static buildForPlatformService(\n service: PlatformWildoServices,\n env: PlatformEnvironmentConfiguration,\n imageTag?: string,\n replicaOverride?: number,\n isFrameworkDeveloper = false,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const isDevMode = isLocal;\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG,\n imagePullPolicy: 'Always',\n /*\n * The PLATFORM image is resolved by the LANE, never composed from this environment's\n * registry (#349). `imageRegistry` above is the APPLICATION's registry — the Kind registry\n * locally, the operator's own registry remotely — and it is the right answer for the app's\n * own backend/frontend/minion/worker images, which are built from the app's source. It is\n * the wrong answer for the platform image, which the framework publishes: composing\n * `<operator registry>/wildo-platform:latest` names an image that exists nowhere, the same\n * defect the compose lane carried until 2026-09-03.\n *\n * On Kubernetes the answer is the PUBLISHED `docker.io/wildoai/wildo-platform:<framework\n * version>` for every lane that renders here. A LOCAL framework developer never reaches this\n * builder (their platform runs natively); an app creator has no checkout to build from; and a\n * REMOTE framework developer pulls the published image by decision (#969) — until then it was\n * named `<cluster registry>/wildo-platform:latest`, which nothing pushed there. See\n * `platformImageIsBuiltLocally` for the reasoning and the consequence. `k8s-bootstrap`\n * accordingly builds no platform image at all.\n */\n platformImageRef: resolvePlatformImageRef({\n isFrameworkDeveloper,\n runtime: WildoDeploymentRuntime.KUBERNETES,\n frameworkVersion: readVersion(),\n imageTag,\n }),\n\n nodeEnv: isDevMode ? NodeEnv.DEVELOPMENT : NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : undefined,\n tlsEnabled: true,\n\n // Local (Kind) keeps the generous dev profile — a 4Gi limit above every measured profile, and a\n // 512Mi request because a local cluster schedules on one node where a high request buys nothing.\n // Everywhere else the pod is sized from the service's MEASURED profile (#1592).\n resources: isDevMode ? DEFAULT_PLATFORM_DEV_RESOURCES : platformServiceResources(catalog.memory),\n heapCeilingMb: catalog.memory.heapCeilingMb,\n replicas: replicaOverride ?? 1,\n\n isDevMode,\n\n port: catalog.defaultPort,\n hostPaths: isDevMode ? K8sManifestGenerator.buildPlatformServiceHostPaths(service) : undefined,\n useHostPath: isDevMode,\n\n useStaticPV: false,\n };\n }\n\n /**\n * Build TemplateVariables for an internal (infra) service.\n */\n static buildForInternalService(\n serviceName: string,\n env: PlatformEnvironmentConfiguration,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: 'latest',\n imagePullPolicy: 'IfNotPresent',\n\n nodeEnv: NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : undefined,\n tlsEnabled: true,\n\n resources: DEFAULT_INTERNAL_RESOURCES[serviceName] ?? DEFAULT_PLATFORM_RESOURCES,\n replicas: 1,\n\n isDevMode: false,\n useHostPath: false,\n\n useStaticPV: isLocal,\n storageClassName: isLocal ? 'wildo-local-storage' : undefined,\n storageSize: DEFAULT_STORAGE_SIZES[serviceName] ?? '1Gi',\n\n // Self-hosted immudb only: wire the StatefulSet's admin password from the\n // `immudb-secret` (emitted by `generateK8sSecrets` §3 from the platform's\n // `credentials.immudb.adminPassword`, #1696). The `secretKeyRef` is `optional`\n // so an un-provisioned secret does not crash-loop the pod. `undefined` for every other internal\n // service (they ignore the var). Prod/staging and local Kind both use it;\n // managed/external immudb never renders a StatefulSet.\n immudbAdminPasswordSecretName:\n serviceName === IMMUDB_INTERNAL_SERVICE_NAME\n ? k8sServiceSecretName(IMMUDB_INTERNAL_SERVICE_NAME)\n : undefined,\n\n // Self-hosted immudb only: mount the state-signing PRIVATE key from the same\n // `immudb-secret` (emitted by `generateK8sSecrets` §3 from `credentials.immudb`) as a file\n // and pass `--signingKey`, so immudb signs its state and the audit client can pin the public\n // key to detect a whole-server substitution. The keypair is provisioned from the\n // `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry — at setup for a new env and by the idempotent\n // self-heal for an existing one — so `source === SELF` ⇒ the key is present; an env lacking it\n // would surface loudly (immudb fails to load a missing `--signingKey` file) rather than\n // silently run unsigned — the correct posture for a security control. `undefined` for every\n // other internal service and for managed/external immudb (no StatefulSet).\n immudbStateSigningKeySecretName:\n serviceName === IMMUDB_INTERNAL_SERVICE_NAME\n ? k8sServiceSecretName(IMMUDB_INTERNAL_SERVICE_NAME)\n : undefined,\n\n // Slice 4 — gating flags for cross-service templates (storage PVs).\n // Single source of truth: `EnvironmentUtils.selfHostsBackingService` is the SAME total\n // predicate `getDeployableInfraServicesForK8s` gates the StatefulSets on, so a PV and the\n // workload that claims it cannot drift. The four below joined the gated set when the\n // managed-selection defect was fixed: `valkey`, `rabbitmq`, `minio` and `postgresql` PVs were\n // rendered for every environment — including ones whose StatefulSet is now (and, for\n // postgresql, effectively always was) absent, leaving an unbound PV holding a hostPath claim.\n includeLocalMongoDB: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.MONGODB),\n includeLocalValkey: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS),\n includeLocalRabbitMQ: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ),\n includeLocalMinIO: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3),\n includePostgreSQL: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.POSTGRESQL),\n includeLocalClamAV: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV),\n includeLocalImmudb: isLocal && EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB),\n\n // Issue #74 — mongot wiring, supplied to EVERY internal service render rather than\n // only to the mongot one, because two workloads consume it: the mongot templates,\n // and the mongod StatefulSet whose `--setParameter mongotHost=` must name the same\n // gRPC port. Passing it once from here is what keeps those two in agreement; a\n // literal repeated per template is the two-lane drift `mongot` was added to avoid.\n mongotGrpcPort: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealthPort: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetricsPort: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n };\n }\n\n /**\n * Build TemplateVariables for the remote wildo-ai-application deployment.\n * Local application development now runs directly on the machine, so local\n * Kind runtimes no longer manage a separate application dev image/lane.\n * @param replicaOverride — common default for direct callers; target-specific counts override it, otherwise one.\n */\n static buildForApplication(\n env: PlatformEnvironmentConfiguration,\n imageTag?: string,\n replicaOverride?: number,\n ): TemplateVariables {\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const runtime = resolveManifestKubernetesRuntime(env);\n\n return {\n namespace: runtime.namespace,\n publicDomain: runtime.publicDomain,\n imageRegistry: runtime.imageRegistry,\n imageTag: imageTag ?? DEFAULT_PLATFORM_IMAGE_TAG,\n imagePullPolicy: 'Always',\n\n nodeEnv: NodeEnv.PRODUCTION,\n applicationEnv: runtime.applicationEnv,\n appsManagerMode: 'normal',\n\n ingressClass: INGRESS_CLASS,\n // Per-ingress TLS secret for remote (HTTP-01); local keeps its self-signed\n // wildcard secret. See `resolveRemoteTlsVars` + `remote-k8s-tls-wiring.md`.\n tlsSecretName: isLocal ? LOCAL_TLS_SECRET_NAME : APPLICATION_TLS_SECRET_NAME,\n tlsEnabled: true,\n ...resolveRemoteTlsVars(env),\n\n resources: DEFAULT_APP_PROD_RESOURCES,\n replicas: replicaOverride ?? 1,\n\n isDevMode: false,\n useHostPath: false,\n\n useStaticPV: false,\n\n // Durable cross-restart tamper-evidence trust anchor for the immudb audit sink. Provisioned\n // whenever the env has an immudb audit backing service configured (SELF or external/managed —\n // the anchor is the CLIENT's own file, independent of who hosts immudb). The app-backend\n // deployment then renders `IMMUDB_STATE_DIR` + a `volumeMount` + a PVC-backed volume, and\n // `renderApplicationForTarget` emits the matching PVC. Without it the client runs EPHEMERAL and a\n // cross-restart rollback of the audit ledger is silently re-adopted (signature pinning cannot\n // catch a rollback — immudb re-signs its current state). App-backend k8s manifests render for\n // REMOTE only, so the PVC always uses the dynamic default StorageClass (no local static PV).\n immudbAuditStateDir: env.backingServices?.[BackingServiceKind.IMMUDB]\n ? IMMUDB_AUDIT_STATE_CONTAINER_DIR\n : undefined,\n };\n }\n\n // --------------------------------------------------------------------------\n // Full manifest rendering\n // --------------------------------------------------------------------------\n\n /**\n * Render infrastructure and platform K8s manifests for the environment.\n * Application deployment artifacts are emitted separately by deployment CI generation.\n * Writes files to `{infraPath}/manifests/{internal,platform,applications,storage}/`.\n *\n * @param serviceReplicas — per-service replica overrides from infra config\n * `kubernetes.services.<key>.replicas`. Keys match `PlatformWildoServices`\n * enum values for platform services.\n * Internal infra services (valkey, postgresql, etc.) are always single-replica.\n */\n /**\n * @param options.outputBase — when supplied, render manifests under\n * `<outputBase>/manifests/...` instead of the canonical\n * `EnvironmentPaths.resolveInfraDir(env.name)/manifests/...` location.\n * Used by `wildo config validate --domain manifest` (Slice 6 / F-19)\n * to render into a sandbox tempdir so the validation pass does NOT\n * silently mutate the operator's persisted infra state. ALL render\n * side effects (mkdir, rmSync, writeFileSync) honor this base — no\n * path falls through to the canonical location when an override is\n * passed.\n */\n static renderAllManifests(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n options: {\n imageTag?: string;\n serviceReplicas?: Record<string, number>;\n isFrameworkDeveloper?: boolean;\n outputBase?: string;\n } = {},\n ): { total: number; dirs: { cluster: string; internal: string; platform: string; applications: string; storage: string } } {\n // Rendering into a caller-owned sandbox (`config validate`) mutates nothing shared; rendering the\n // environment's own manifests is the infrastructure owner's.\n if (options.outputBase === undefined) {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.RENDER_PLATFORM_MANIFESTS);\n }\n const infraPath = options.outputBase ?? EnvironmentPaths.resolveInfraDir(env.name);\n const isLocal = env.locationType === WildoLocationType.LOCAL;\n const includePlatformServices = shouldDeployPlatformServicesInRuntime(\n env,\n options.isFrameworkDeveloper ?? false,\n );\n\n const templateProcessor = new TemplateProcessor(\n K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath),\n );\n\n const clusterDir = join(infraPath, 'manifests', 'cluster');\n const internalDir = join(infraPath, 'manifests', 'internal');\n const platformDir = join(infraPath, 'manifests', 'platform');\n const applicationsDir = join(infraPath, 'manifests', 'applications');\n const storageDir = join(infraPath, 'manifests', 'storage');\n\n mkdirSync(clusterDir, { recursive: true });\n mkdirSync(internalDir, { recursive: true });\n mkdirSync(storageDir, { recursive: true });\n rmSync(platformDir, { recursive: true, force: true });\n rmSync(applicationsDir, { recursive: true, force: true });\n if (includePlatformServices) {\n mkdirSync(platformDir, { recursive: true });\n }\n if (!isLocal) {\n mkdirSync(applicationsDir, { recursive: true });\n }\n\n let total = 0;\n\n // --- Cluster-wide infra (middlewares, TLS config) ---\n total += K8sManifestGenerator.renderClusterInfra(\n templateProcessor, env, clusterDir, frameworkPath,\n );\n\n // --- Storage PVs (local mode only) ---\n if (isLocal) {\n total += K8sManifestGenerator.renderStorageManifests(\n templateProcessor, env, storageDir, frameworkPath,\n );\n }\n\n // --- Internal services ---\n // Per-env list (Slice 4) — gates MongoDB on `needsLocalMongoDB` and\n // (Slice 4.8) ClamAV on `resolveIncludeLocalClamAV`. Atlas / managed\n // configurations therefore never get a local mongod manifest emitted.\n for (const serviceName of getDeployableInfraServicesForK8s(env)) {\n total += K8sManifestGenerator.renderInternalService(\n templateProcessor, serviceName, env, internalDir, frameworkPath,\n );\n }\n\n // --- Platform services ---\n const platformServices = Object.values(PlatformWildoServices).filter(\n s => s !== PlatformWildoServices.PLATFORM_INIT,\n );\n if (includePlatformServices) {\n for (const service of platformServices) {\n total += K8sManifestGenerator.renderPlatformService(\n templateProcessor, service, env, platformDir, frameworkPath, options.imageTag,\n options.serviceReplicas?.[service],\n options.isFrameworkDeveloper ?? false,\n );\n }\n }\n\n // --- Application ---\n // The app (+ its minions/workers) is rendered PER-APP by the CI deploy lane\n // (`generateCiDeployArtifacts` → `renderApplicationForTarget` /\n // `renderMinionForTarget` / `renderWorkerForTarget`), which has the resolved\n // app target (identity, ports, ingress routes). `renderAllManifests` is the\n // LOCAL-only infra/platform lane and does NOT render the app — the old\n // target-less `renderApplication` produced empty-identity / port-less\n // manifests and was removed (it was reachable only via remote\n // `validate --domain manifest`, where it emitted broken YAML).\n\n return { total, dirs: { cluster: clusterDir, internal: internalDir, platform: platformDir, applications: applicationsDir, storage: storageDir } };\n }\n\n /**\n * Render the per-env remote-cluster TLS infra as FLAT files into the CI\n * deploy dir (`.wildo-saas/deploy/<env>/k8s/`), applied by the CI's\n * `kubectl apply -f <dir>` (which is NON-recursive — hence flat siblings of\n * the Secret YAMLs, not a nested `cluster/` subdir like `renderAllManifests`).\n *\n * This is the remote counterpart to the LOCAL-only `renderClusterInfra`\n * (which runs inside `renderAllManifests`). The remote CI path\n * (`generateCiDeployArtifacts`) does NOT call `renderAllManifests`; it emits\n * Secrets/ConfigMaps and — via this method — the cluster TLS manifests.\n *\n * Emits (HTTP-01 per-ingress strategy):\n * - `cluster-issuer.yaml` — Let's Encrypt HTTP-01 `ClusterIssuer`s\n * (prod + staging), registration email from `remoteProvider.acmeEmail`.\n * - `tls-config.yaml` — the Traefik websocket `ServersTransport`. The\n * wildcard `TLSStore` default block is suppressed here (`perIngressTls`)\n * because no wildcard secret backs it under per-ingress issuance.\n *\n * The cert-manager + Traefik CONTROLLERS are Helm-installed by the CI\n * workflow (`deploy-k8s.yml.hbs`), NOT rendered here.\n *\n * Local envs render nothing (returns `[]`) — their ingress stack is owned by\n * `k8s-bootstrap.service.ts::phaseIngressStack`.\n *\n * @returns absolute paths of the manifests written.\n */\n static renderRemoteClusterInfra(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n k8sDir: string,\n ): string[] {\n if (env.locationType === WildoLocationType.LOCAL) return [];\n\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const vars = {\n ...K8sManifestGenerator.buildForInternalService('valkey', env),\n ...resolveRemoteTlsVars(env),\n } as unknown as Record<string, unknown>;\n\n const templates = [\n { template: 'ingress/cert-manager/cluster-issuer.yaml.hbs', output: 'cluster-issuer.yaml' },\n { template: 'tls-config.yaml.hbs', output: 'tls-config.yaml' },\n ];\n\n const written: string[] = [];\n for (const { template, output } of templates) {\n if (!existsSync(join(templatesRoot, template))) continue;\n const outputPath = join(k8sDir, output);\n writeFileSync(outputPath, tp.processTemplate(template, vars), 'utf8');\n written.push(outputPath);\n }\n return written;\n }\n\n /**\n * Render the provider-agnostic remote Traefik Helm values\n * (`traefik/values.yaml.hbs`) to `<outputDir>/traefik-values.yaml`, referenced\n * by the CI `helm upgrade --install traefik ... -f traefik-values.yaml` step.\n * Provider-agnostic: a plain `LoadBalancer` service, no cloud LB annotations\n * (Scaleway specifics are deferred — see `remote-k8s-tls-wiring.md` D2). Every\n * variable the template reads is `{{default …}}`-guarded, so an empty context\n * renders the generic values. Local envs render nothing (returns `null`).\n *\n * @returns the absolute path written, or `null` when nothing was rendered.\n */\n static renderRemoteTraefikValues(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n outputDir: string,\n ): string | null {\n if (env.locationType === WildoLocationType.LOCAL) return null;\n\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const template = 'ingress/traefik/values.yaml.hbs';\n if (!existsSync(join(templatesRoot, template))) return null;\n\n const tp = new TemplateProcessor(templatesRoot);\n const outputPath = join(outputDir, 'traefik-values.yaml');\n writeFileSync(outputPath, tp.processTemplate(template, {}), 'utf8');\n return outputPath;\n }\n\n // --------------------------------------------------------------------------\n // Private rendering helpers\n // --------------------------------------------------------------------------\n\n /**\n * Render pod labels as an indented YAML block.\n *\n * Values are quoted unconditionally: a label value is a string, and an\n * unquoted `true` would be parsed as a BOOLEAN by any conformant YAML reader —\n * which is exactly the value every network label carries.\n */\n private static renderPodLabelBlock(labels: Record<string, string>, indent: number): string {\n const pad = ' '.repeat(indent);\n return Object.entries(labels)\n .sort(([a], [b]) => a.localeCompare(b))\n .map(([key, value]) => `${pad}${key}: \"${value}\"`)\n .join('\\n');\n }\n\n private static renderClusterInfra(\n tp: TemplateProcessor,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const baseVars = K8sManifestGenerator.buildForInternalService('valkey', env);\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n /*\n * `middleware.yaml.hbs` was here until 2026-09-08 and is deliberately gone (#432). It rendered\n * FIVE Traefik middlewares — rate-limit, security-headers, cors-api, strip-api-prefix, compress —\n * into every namespace, and the only ingress template annotated its middleware reference as a\n * literal empty string, so no route ever used any of them. The measured finding named two; all\n * five were unreferenced.\n *\n * The consequence, chosen rather than discovered: THE EDGE IS NO LONGER A PLACE WILDO ADDS\n * PROTECTION. Rate limiting and security headers are the application's own concern, in its\n * backend. Reintroducing an edge middleware means choosing its values — a rate limit that\n * reaches a live route can break a legitimate high-volume integration — which is why deploying\n * them unreferenced was worse than not deploying them at all.\n */\n const clusterTemplates = [\n { template: 'tls-config.yaml.hbs', output: 'tls-config.yaml' },\n { template: 'namespace.yaml.hbs', output: 'namespace.yaml' },\n ];\n\n for (const { template, output } of clusterTemplates) {\n const templatePath = join(templatesRoot, template);\n if (!existsSync(templatePath)) continue;\n\n const content = tp.processTemplate(template, baseVars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, output), content, 'utf8');\n count++;\n }\n\n // Network segmentation (Step 5-egress, half A). Serialised from the typed\n // documents rather than rendered from a `.hbs` template: the shape is decided\n // in `platform-config-lib` and a template would be a SECOND description of it,\n // free to drift. `yaml` is already a dependency of this package, so nothing is\n // hand-rolled either.\n //\n // Safe to emit only because every app-owned pod already carries the labels\n // these policies select on — the default-deny selects EVERY pod, so shipping\n // this ahead of the labels would isolate the whole namespace. That ordering is\n // the one hard constraint in this step.\n const policyDocuments = buildRuntimeNetworkPolicyDocuments(\n env.kubernetes?.namespace ?? K8S_LOCAL_DEFAULTS.NAMESPACE,\n );\n writeFileSync(\n join(outputDir, 'network-policies.yaml'),\n policyDocuments.map((document) => stringifyYaml(document)).join('---\\n'),\n 'utf8',\n );\n count++;\n\n return count;\n }\n\n private static renderStorageManifests(\n tp: TemplateProcessor,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const pvTemplate = 'storage/local/persistent-volumes.yaml.hbs';\n const pvPath = join(K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath), pvTemplate);\n if (!existsSync(pvPath)) return 0;\n\n const vars = K8sManifestGenerator.buildForInternalService('valkey', env);\n const content = tp.processTemplate(pvTemplate, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, 'persistent-volumes.yaml'), content, 'utf8');\n return 1;\n }\n\n private static renderInternalService(\n tp: TemplateProcessor,\n serviceName: string,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n ): number {\n const vars = K8sManifestGenerator.buildForInternalService(serviceName, env);\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n const templates = [\n { template: `internal/${serviceName}/deployment.yaml.hbs`, output: `${serviceName}-deployment.yaml` },\n { template: `internal/${serviceName}/service.yaml.hbs`, output: `${serviceName}-service.yaml` },\n { template: `internal/${serviceName}/configmap.yaml.hbs`, output: `${serviceName}-configmap.yaml` },\n ];\n\n for (const { template, output } of templates) {\n const templatePath = join(templatesRoot, template);\n if (!existsSync(templatePath)) continue;\n\n const content = tp.processTemplate(template, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, output), content, 'utf8');\n count++;\n }\n\n return count;\n }\n\n private static renderPlatformService(\n tp: TemplateProcessor,\n service: PlatformWildoServices,\n env: PlatformEnvironmentConfiguration,\n outputDir: string,\n frameworkPath: string,\n imageTag?: string,\n replicaOverride?: number,\n isFrameworkDeveloper = false,\n ): number {\n if (service === PlatformWildoServices.PLATFORM_INIT) return 0;\n\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const containerName = catalog.containerName;\n const vars = K8sManifestGenerator.buildForPlatformService(service, env, imageTag, replicaOverride, isFrameworkDeveloper);\n /*\n * The deployment templates render `--max-old-space-size={{heapCeilingMb}}` unconditionally, and the\n * template engine renders a missing value as an empty string — a pod that starts with no heap\n * ceiling and no error. Refuse instead (#1592).\n */\n if (!vars.heapCeilingMb) {\n throw new Error(\n `Platform service '${service}' has no heap ceiling to render; every PLATFORM_SERVICE_CATALOG entry must declare its measured memory profile.`,\n );\n }\n let count = 0;\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n\n // Deployment template (always .hbs)\n const deploymentTemplate = `platform/${containerName}/deployment.yaml.hbs`;\n const deploymentPath = join(templatesRoot, deploymentTemplate);\n if (existsSync(deploymentPath)) {\n const content = tp.processTemplate(deploymentTemplate, vars as unknown as Record<string, unknown>);\n writeFileSync(join(outputDir, `${containerName}-deployment.yaml`), content, 'utf8');\n count++;\n }\n\n // Service manifest (static .yaml, not templated)\n const staticServicePath = join(templatesRoot, 'platform', containerName, 'service.yaml');\n if (existsSync(staticServicePath)) {\n const content = readFileSync(staticServicePath, 'utf8');\n writeFileSync(join(outputDir, `${containerName}-service.yaml`), content, 'utf8');\n count++;\n }\n\n return count;\n }\n\n /**\n * Render the per-app single-pod Deployment + Ingress + Service for ONE app\n * from its resolved deploy target, returning `{name, yaml}` pairs the caller\n * writes as FLAT files (the CI lane's `kubectl apply -f <dir>` is\n * non-recursive, so no nested `applications/` subdir).\n *\n * This is the reachable remote self-host app-deploy path. It supersedes the\n * old target-less `renderApplication` (removed): that one was gated `!isLocal`\n * inside the LOCAL-only `renderAllManifests`, so it never ran on the real\n * deploy path and — once the templates were parameterized — emitted broken\n * empty-identity manifests (see\n * `remote-k8s-deploy-two-lanes-renderallmanifests-local-only`). App identity,\n * container/Service ports, ingress host→port routes, per-app TLS secret, and\n * the `{appSlug}-secret` mount are all parameterized per-app from `target`\n * (mirrors the compose app lane `docker-compose.app.yml.hbs`). Local Kind\n * does NOT deploy the app in-cluster, so this is remote-only.\n */\n /**\n * Render the per-service k8s manifests for one app (per-service deploy model):\n * - the BACKEND Deployment + Service (its one API port; image\n * `{registry}/{backendServiceName}:{tag}`; health probes on `healthPort`);\n * - ONE nginx Deployment + Service PER frontend (image\n * `{registry}/{frontendServiceName}:{tag}`, serving on :80);\n * - ONE Ingress whose rules route each serviceHosts host → its OWN per-service\n * Service (`ingressRoutes[].serviceName`), not a shared app Service.\n * Returns flat `{serviceName}-{deployment|service}` + `{appName}-ingress`\n * manifests. Remote-only (the CI deploy lane).\n */\n static renderApplicationForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n backendServiceName?: string;\n /** Per-backend desired count; takes precedence over the common direct-call override. */\n backendReplicas?: number;\n ingressRoutes?: Array<{ host: string; serviceName: string; port: number }>;\n podPorts?: Array<{ name: string; containerPort: number }>;\n healthPort?: number;\n /**\n * Effective backend container isolation, already resolved through\n * `resolveAppServiceIsolation` — NOT the raw authored block. Resolution\n * happens once at the config boundary so this renderer and the compose app\n * lane cannot apply different fallbacks to the same service row.\n */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n frontends?: Array<{\n replicas?: number;\n serviceName: string;\n port: number;\n /** Same contract as the backend `isolation` above, per frontend. */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n }>;\n },\n imageTag?: string,\n replicaOverride?: number,\n ): Array<{ name: string; yaml: string }> {\n // Fail-closed: without an app slug, a backend service + its ports, or ingress\n // routes we'd emit invalid/empty manifests. The CI lane already gates on\n // ingressRoutes.length; this guards any direct caller too.\n if (\n !target.appName ||\n !target.backendServiceName ||\n !target.ingressRoutes?.length ||\n !target.podPorts?.length\n ) {\n return [];\n }\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(\n env,\n imageTag,\n replicaOverride,\n ) as unknown as Record<string, unknown>;\n const rendered: Array<{ name: string; yaml: string }> = [];\n\n const renderTpl = (file: string, name: string, vars: Record<string, unknown>): void => {\n const tpl = `applications/${APPLICATION_NAME}/${file}`;\n if (existsSync(join(templatesRoot, tpl))) {\n rendered.push({ name, yaml: tp.processTemplate(tpl, vars) });\n }\n };\n\n // --- Backend Deployment + Service (the primary backend's own pod) ---\n const backendVars: Record<string, unknown> = {\n // The application backend reaches every backing service the app provisions,\n // and serves the public route, so it joins the edge as well.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.APPLICATION_BACKEND } as ApplicationRuntimePrincipal,\n undefined,\n { servesHttp: true },\n ),\n 8,\n ),\n ...base,\n appName: target.appName,\n serviceName: target.backendServiceName,\n replicas: target.backendReplicas ?? replicaOverride ?? 1,\n // The backend's own provider Secret (#369). Resolved through the SAME helper the emit side\n // calls, never composed in the template — emit-name and mount-name are one decision, and this\n // file already carries the scar of the version where they were two.\n // The backend's own environment Secret. Threaded rather than composed as `{{appName}}-secret`\n // in the template, so every mount name in this lane is resolved by one function (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(target.appName),\n providersSecretName: k8sRuntimeProvidersSecretName(target.appName),\n ports: target.podPorts,\n healthPort: target.healthPort,\n // Defaults repeated for a direct caller that passes a partial target: an\n // undefined uid renders `runAsUser:` with an empty value, which k8s\n // rejects only at apply time. Kept equal to\n // `APP_BACKEND_DEFAULT_RUNTIME_UID` by importing it rather than retyping.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? APP_BACKEND_DEFAULT_RUNTIME_UID,\n runAsGroup: target.isolation?.runAsGroup ?? APP_BACKEND_DEFAULT_RUNTIME_UID,\n },\n writableMounts: buildWritableMounts(target.isolation?.writablePaths),\n };\n renderTpl('backend.deployment.yaml.hbs', `${target.backendServiceName}-deployment`, backendVars);\n renderTpl('backend.service.yaml.hbs', `${target.backendServiceName}-service`, backendVars);\n // Durable immudb audit trust-anchor PVC — emitted ONLY when the env configured an immudb audit\n // backing service (buildForApplication set `immudbAuditStateDir`). The deployment above mounts it\n // and points IMMUDB_STATE_DIR at it; without it the audit client would run EPHEMERAL in-cluster.\n if (backendVars.immudbAuditStateDir) {\n renderTpl(\n 'backend.immudb-audit-state.pvc.yaml.hbs',\n `${target.backendServiceName}-immudb-audit-state-pvc`,\n backendVars,\n );\n }\n\n // --- Frontend Deployments + Services (one nginx pod per frontend) ---\n for (const fe of target.frontends ?? []) {\n const feVars: Record<string, unknown> = {\n // A static frontend is NOT a runtime principal: it holds no credential and\n // reaches no backing service. Passing `undefined` yields the narrowest set,\n // which is the honest answer — passing APPLICATION_BACKEND to \"keep it\n // simple\" would put an nginx container on every database segment.\n //\n // ⚠️ Residual: `resolveRuntimeNetworkMembership` adds PLATFORM\n // unconditionally, so a static frontend joins it too. Harmless (that\n // segment carries no application data, and a frontend cannot authenticate\n // to apps-manager anyway) but unnecessary — see the plan's note on\n // narrowing PLATFORM to principals that actually fetch bootstrap material.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(undefined, undefined, { servesHttp: true }),\n 8,\n ),\n ...base,\n appName: target.appName,\n serviceName: fe.serviceName,\n replicas: fe.replicas ?? replicaOverride ?? 1,\n frontendPort: fe.port,\n isolation: {\n runAsUser: fe.isolation?.runAsUser ?? APP_FRONTEND_DEFAULT_RUNTIME_UID,\n runAsGroup: fe.isolation?.runAsGroup ?? APP_FRONTEND_DEFAULT_RUNTIME_UID,\n },\n // The nginx mounts are appended even on the fallback path: a frontend\n // rendered from a partial target still gets a read-only rootfs, and\n // without them nginx cannot start at all.\n writableMounts: buildWritableMounts(\n fe.isolation?.writablePaths ?? [...APP_FRONTEND_MANDATORY_WRITABLE_PATHS],\n ),\n };\n renderTpl('frontend.deployment.yaml.hbs', `${fe.serviceName}-deployment`, feVars);\n renderTpl('frontend.service.yaml.hbs', `${fe.serviceName}-service`, feVars);\n }\n\n // --- Ingress (one object; each rule → its per-service Service) ---\n const ingressVars: Record<string, unknown> = {\n ...base,\n appName: target.appName,\n ingressRoutes: target.ingressRoutes,\n // One cert per app-ingress (HTTP-01 per-ingress) into `{appSlug}-tls`,\n // overriding buildForApplication's framework `wildo-ai-application-tls`.\n tlsSecretName: `${target.appName}-tls`,\n };\n renderTpl('ingress.yaml.hbs', `${target.appName}-ingress`, ingressVars);\n\n return rendered;\n }\n\n /**\n * Render the per-app, per-minion Deployment (KD-5/KD-8 — singleton, no\n * Service, no Ingress; shares the app scope + mounts the SAME `{appSlug}-secret`).\n * Maps the authored reinstantiation policy → K8s strategy (per\n * `MinionReinstantiationSchema`: `kill_previous`→Recreate, `let_run`→RollingUpdate)\n * and builds the liveness `exec` command from the liveness spec. Per-service\n * model: the minion runs its OWN per-minion image\n * `{registry}/{appSlug}-minion-{dnsName}` (built from its package Dockerfile\n * — symmetric with the worker's `{appSlug}-worker-{dnsName}`; NOT the deleted\n * single-pod `{appSlug}` app image), where `dnsName` is the bucket key\n * RFC1123-normalized via `buildMinionServiceName` so a camelCase key\n * (`marketingScrapper`) yields a valid image tag / object name\n * (`marketing-scrapper`). Headless role — marked by the\n * `wildo.ai/owned-service-kind: minion` pod label; no `APP_OWNED_SERVICE_*`\n * env is stamped, as the Node minion sources identity from its compiled-in\n * `defineMinionInit` config, not env. The RAW bucket key remains the minion's\n * IDENTITY (the `wildo.ai/owned-service-name` label), distinct from the DNS name.\n * Returns one flat `{appSlug}-minion-{dnsName}` manifest. Remote-only.\n *\n * This renderer selects the per-minion image. The generated deployment CI\n * workflow owns building and publishing that image from its package Dockerfile.\n */\n static renderMinionForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n minionName: string;\n /**\n * What this minion DECLARED — forwarded so its pod carries the network\n * labels its `NetworkPolicy` set selects on (Step 5-egress / 5A).\n * Optional here and absent means \"declared nothing\", which yields the\n * NARROWEST label set rather than none — the same fail-closed direction as\n * every other consumer of this declaration.\n */\n accessDeclaration?: RuntimeAccessDeclaration;\n reinstantiationPolicy?: 'kill_previous' | 'let_run';\n gracePeriodSec?: number;\n liveness?: { kind?: 'file' | 'exec'; filePath?: string; staleAfterSec?: number; execCommand?: string[] };\n /**\n * Authored `wildo.minion.config.ts > isolation`. Only the image-dependent\n * (`runAsUser`/`runAsGroup`) and ADDITIVE (`writablePaths`) knobs travel\n * here — the security floor is emitted unconditionally by the template and\n * is deliberately not representable in this shape, so no caller can pass a\n * value that lowers it. See `MinionIsolationSchema`.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n imageRef?: string;\n },\n imageTag?: string,\n ): Array<{ name: string; yaml: string }> {\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tpl = `applications/${APPLICATION_NAME}/minion.deployment.yaml.hbs`;\n if (!existsSync(join(templatesRoot, tpl))) return [];\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(env, imageTag);\n\n const useRollingUpdate = target.reinstantiationPolicy === 'let_run';\n const liveness = target.liveness ?? {};\n let livenessCommand: string[];\n if (liveness.kind === 'exec' && liveness.execCommand && liveness.execCommand.length > 0) {\n livenessCommand = liveness.execCommand;\n } else {\n const filePath = liveness.filePath ?? '/tmp/wildo-minion-alive';\n const staleSec = liveness.staleAfterSec ?? 90;\n // EXACTLY the schema's documented `-mmin -<staleAfterSec/60>` (NOT ceil —\n // ceiling 90s to 2min made the probe tolerate 120s, deviating from the\n // authored staleAfterSec). Rounded to trim float noise (e.g. 100s→1.667).\n const minutes = Math.round((staleSec / 60) * 1000) / 1000;\n // `find <fp> -mmin -N` prints the path when fresh, nothing when stale →\n // `test -n \"...\"` exits 0 (healthy) / 1 (stale).\n livenessCommand = ['/bin/sh', '-c', `test -n \"$(find ${filePath} -mmin -${minutes})\"`];\n }\n\n // The RFC1123-normalized DNS name (k8s object + image ref). `minionName`\n // stays the RAW bucket key — it is the minion's IDENTITY, stamped verbatim\n // as the `wildo.ai/owned-service-name` pod label. Splitting the two is why\n // the template consumes `{{minionServiceName}}` for names and `{{minionName}}`\n // for the identity label (see the schema-reshape rule on distinct concepts).\n const minionServiceName = buildMinionServiceName(target.appName, target.minionName);\n\n // The MANDATORY `/tmp` mount always leads, then any authored additions.\n //\n // This pairing is load-bearing, not cosmetic: the template emits\n // `readOnlyRootFilesystem: true`, and the default liveness probe writes to\n // `/tmp/wildo-minion-alive`. Emitting the read-only flag without a writable\n // /tmp restart-loops every HEALTHY minion, and the k8s event names a failing\n // probe rather than the missing mount — a long way from the cause. The\n // schema rejects `/tmp` in `writablePaths` (duplicate mountPath = pod\n // refused at admission), so prepending here cannot collide.\n //\n // Volume names are RFC1123: lowercase alphanumerics and '-'. Deriving them\n // from the path (rather than an index) keeps a manifest diff readable when a\n // path is added in the middle of the list.\n const writableMounts = buildWritableMounts(target.isolation?.writablePaths);\n\n const vars: Record<string, unknown> = {\n namespace: base.namespace,\n imageRegistry: base.imageRegistry,\n imageTag: base.imageTag,\n imagePullPolicy: base.imagePullPolicy,\n applicationEnv: base.applicationEnv,\n appName: target.appName,\n minionServiceName,\n // Scoped to `providers.scopes.minions.<name>`, keyed on the SAME DNS name the Deployment\n // uses (#369) — one runtime, one provider Secret, one name.\n // This minion's OWN environment Secret — no longer the backend's (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(minionServiceName),\n providersSecretName: k8sRuntimeProvidersSecretName(minionServiceName),\n minionName: target.minionName,\n imageRef: target.imageRef ?? `${base.imageRegistry}/${minionServiceName}:${base.imageTag}`,\n reinstantiationStrategy: useRollingUpdate ? 'RollingUpdate' : 'Recreate',\n useRollingUpdate,\n gracePeriodSeconds: target.gracePeriodSec,\n // JSON-encode the command → a valid YAML flow sequence whose string\n // elements are always-valid scalars (guards against `:`/`#` in an\n // authored filePath/execCommand corrupting the manifest).\n livenessCommandJson: JSON.stringify(livenessCommand),\n // Pre-rendered as an indented YAML block rather than iterated in the\n // template: Handlebars `{{#each}}` whitespace is fragile inside a YAML\n // mapping, and a mis-indented label silently becomes a sibling key. Same\n // reasoning as `livenessCommandJson` above — serialise where the types are.\n runtimeNetworkLabelsYaml: K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.MINION, name: target.minionName } as ApplicationRuntimePrincipal,\n target.accessDeclaration,\n // A minion serves no HTTP route, so it never joins the edge segment.\n { servesHttp: false },\n ),\n 8,\n ),\n // Defaults mirror `MinionIsolationSchema`. Repeated here because this\n // renderer is reachable from callers that pass a partially-populated\n // target (the schema defaults apply at config-parse time, not here), and\n // an undefined uid would emit `runAsUser:` with an empty value — which\n // k8s rejects, but only at apply time.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? 10001,\n runAsGroup: target.isolation?.runAsGroup ?? 10001,\n },\n writableMounts,\n };\n return [{ name: minionServiceName, yaml: tp.processTemplate(tpl, vars) }];\n }\n\n /**\n * Render the per-app, per-worker Deployment + ClusterIP Service (KD-3 —\n * in-cluster HTTP only, no Ingress; mounts `{appSlug}-secret` for the 4-env\n * bootstrap it uses to fetch its worker-bootstrap key). Scalable (`replicas`).\n * Worker image is per-worker (`{registry}/{appSlug}-worker-{dnsName}`), where\n * `dnsName` is the bucket key RFC1123-normalized via `buildWorkerServiceName`\n * (`myRustWorker` → `my-rust-worker`) so the tag / object name / dispatch host\n * are valid and coherent. The RAW bucket key stays the worker IDENTITY\n * (`APP_OWNED_SERVICE_NAME` + `wildo.ai/owned-service-name` label).\n * Returns two flat manifests. Remote-only.\n *\n * NOTE: deploying the worker does NOT make it invokable — the backend→worker\n * dispatch client + `WILDO_WORKER_<NAME>_URL` injection (G-8 / MW4) is a\n * separate, not-yet-built feature. See the Phase 8 plan.\n */\n static renderWorkerForTarget(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n target: {\n appName: string;\n workerName: string;\n httpPort?: number;\n replicas?: number;\n healthPath?: string;\n readyPath?: string;\n metricsPath?: string;\n /**\n * Authored `wildo.worker.config.ts > isolation`. Same contract as the\n * minion renderer: only the image-dependent and ADDITIVE knobs travel\n * here — the security floor is emitted unconditionally by the template and\n * is deliberately not representable, so no caller can lower it.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n imageRef?: string;\n },\n imageTag?: string,\n ): Array<{ name: string; yaml: string }> {\n const templatesRoot = K8sManifestGenerator.resolveK8sTemplatesRoot(frameworkPath);\n const tp = new TemplateProcessor(templatesRoot);\n const base = K8sManifestGenerator.buildForApplication(env, imageTag);\n // The RFC1123-normalized DNS name (Deployment/Service `metadata.name`,\n // `app.kubernetes.io/name` selector, image ref, and the dispatch URL host the\n // backend reaches it at). `workerName` stays the RAW bucket key — it is the\n // worker's IDENTITY, stamped verbatim as `APP_OWNED_SERVICE_NAME` (the Rust\n // worker reads it at boot to key its apps-manager bootstrap) and the\n // `wildo.ai/owned-service-name` label. The template consumes\n // `{{workerServiceName}}` for names and `{{workerName}}` for the identity.\n const workerServiceName = buildWorkerServiceName(target.appName, target.workerName);\n // A worker never boots the application lifecycle and holds no backing-service\n // credential (D22/KD-3), so it joins PLATFORM only — the declaration is not\n // even consulted, because there is no declaration that would widen it.\n const workerNetworkLabelsYaml = K8sManifestGenerator.renderPodLabelBlock(\n buildRuntimeNetworkPodLabels(\n { kind: ApplicationRuntimePrincipalKind.WORKER, name: target.workerName } as ApplicationRuntimePrincipal,\n undefined,\n { servesHttp: false },\n ),\n 8,\n );\n // The bare normalized segment (`myNodeWorker` → `my-node-worker`) for the\n // per-manifest FILE key `{appName}-{seg}-{deployment|service}` — keeps the\n // historical filename shape (already lowercase for a lowercase key) rather than\n // doubling the `-worker-` infix that `workerServiceName` already carries.\n const workerDnsSegment = normalizeServiceKeyToDnsName(target.workerName);\n const vars: Record<string, unknown> = {\n namespace: base.namespace,\n imageRegistry: base.imageRegistry,\n imageTag: base.imageTag,\n imagePullPolicy: base.imagePullPolicy,\n applicationEnv: base.applicationEnv,\n appName: target.appName,\n workerServiceName,\n // Scoped to `providers.scopes.workers.<name>` (#369). `myRustWorker` authors\n // `providers: {}`, so no Secret is emitted for it and the optional mount finds nothing —\n // which is the whole point.\n // This worker's OWN environment Secret — no longer the backend's (#377).\n runtimeEnvSecretName: k8sRuntimeEnvSecretName(workerServiceName),\n providersSecretName: k8sRuntimeProvidersSecretName(workerServiceName),\n runtimeNetworkLabelsYaml: workerNetworkLabelsYaml,\n workerName: target.workerName,\n imageRef:\n target.imageRef ??\n `${base.imageRegistry}/${workerServiceName}:${base.imageTag}`,\n httpPort: target.httpPort ?? 8080,\n replicas: target.replicas ?? 1,\n healthPath: target.healthPath ?? '/healthz',\n readyPath: target.readyPath ?? '/readyz',\n metricsPath: target.metricsPath,\n // Defaults mirror `RuntimeIsolationSchema`; repeated because this renderer\n // is reachable from callers passing a partially-populated target, and an\n // undefined uid would emit `runAsUser:` with an empty value — which k8s\n // rejects, but only at apply time.\n isolation: {\n runAsUser: target.isolation?.runAsUser ?? 10001,\n runAsGroup: target.isolation?.runAsGroup ?? 10001,\n },\n // Mandatory writable mount first, then authored additions — identical\n // ordering and reasoning to the minion renderer.\n writableMounts: buildWritableMounts(target.isolation?.writablePaths),\n };\n const files: Array<[string, string]> = [\n ['worker.deployment.yaml.hbs', 'worker-deployment'],\n ['worker.service.yaml.hbs', 'worker-service'],\n ];\n const rendered: Array<{ name: string; yaml: string }> = [];\n for (const [file, suffix] of files) {\n const tpl = `applications/${APPLICATION_NAME}/${file}`;\n if (existsSync(join(templatesRoot, tpl))) {\n rendered.push({\n name: `${target.appName}-${workerDnsSegment}-${suffix}`,\n yaml: tp.processTemplate(tpl, vars),\n });\n }\n }\n return rendered;\n }\n\n // --------------------------------------------------------------------------\n // Host paths\n // --------------------------------------------------------------------------\n\n private static buildPlatformServiceHostPaths(\n service: PlatformWildoServices,\n ): PlatformServiceHostPaths {\n const catalog = PLATFORM_SERVICE_CATALOG[service as Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>];\n const distBase = `${KIND_MOUNT_PATHS.wildoAi}/${catalog.sourceDir}/dist`;\n\n return {\n serviceDist: distBase,\n platformSharedLib: `${KIND_MOUNT_PATHS.wildoAi}/platform/platform-shared-lib/dist`,\n engine: {\n saasModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/saas-models/dist`,\n saasBackendLib: `${KIND_MOUNT_PATHS.wildoAi}/engine/saas-backend-lib/dist`,\n zodDecorators: `${KIND_MOUNT_PATHS.wildoAi}/engine/zod-decorators/dist`,\n externalConnectorsModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/external-connectors-models/dist`,\n presetsComponentsModels: `${KIND_MOUNT_PATHS.wildoAi}/engine/presets-components-models/dist`,\n },\n customSharedLib: `${KIND_MOUNT_PATHS.appsCustom}/custom-shared-lib/dist`,\n customBackendLib: `${KIND_MOUNT_PATHS.appsCustom}/custom-backend-lib/dist`,\n };\n }\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import type { PlatformServiceMemoryProfile } from '../../../services/catalog/service-catalog.schemas';
1
2
  export interface ResourceConfig {
2
3
  requests: {
3
4
  cpu: string;
@@ -89,6 +90,12 @@ export interface TemplateVariables {
89
90
  */
90
91
  perIngressTls?: boolean;
91
92
  resources: ResourceConfig;
93
+ /**
94
+ * A platform service's V8 heap ceiling (`--max-old-space-size`), from its measured
95
+ * `PlatformServiceMemoryProfile` (#1592). Rendered in every mode: without it V8 sizes the heap on
96
+ * its own, which is how a platform container ran out of memory at a size it legitimately needs.
97
+ */
98
+ heapCeilingMb?: number;
92
99
  replicas?: number;
93
100
  isDevMode: boolean;
94
101
  port?: number;
@@ -103,10 +110,10 @@ export interface TemplateVariables {
103
110
  * from (`IMMUDB_ADMIN_PASSWORD` via `secretKeyRef`, `optional: true`). Set
104
111
  * only for the self-hosted immudb service (`immudb-secret`); other internal
105
112
  * services ignore it. The secret itself is emitted by `generateK8sSecrets`
106
- * (§3) from the operator-supplied `IMMUDB_PASSWORD` provider secret, so the
107
- * self-hosted server's built-in admin login matches what the audit-sink
108
- * provider connects with (single source of truth). Absent → the StatefulSet
109
- * renders no credential env and immudb boots with its packaged default admin.
113
+ * (§3) from the platform's framework-managed `credentials.immudb.adminPassword`
114
+ * (#1696) — the sysadmin password apps-manager logs in with to mint each
115
+ * application's own database and user; no application holds it. Absent → the
116
+ * StatefulSet renders no credential env.
110
117
  */
111
118
  immudbAdminPasswordSecretName?: string;
112
119
  /**
@@ -168,6 +175,19 @@ export interface TemplateVariables {
168
175
  mongotDataPath?: string;
169
176
  enabledServices?: string;
170
177
  }
178
+ /**
179
+ * The Kubernetes resources a platform service gets outside local development: CPU from the generic
180
+ * platform default, memory from the service's MEASURED profile (#1592). Every platform service used to
181
+ * get `DEFAULT_PLATFORM_RESOURCES`' `1Gi` limit, below what apps-manager measurably uses (1,586 MiB
182
+ * peak RSS), so a production pod was OOM-killed at a size it legitimately needs.
183
+ */
184
+ export declare function platformServiceResources(memory: PlatformServiceMemoryProfile): ResourceConfig;
185
+ /**
186
+ * The generic fallback for a service with no profile of its own (an internal service missing from
187
+ * `DEFAULT_INTERNAL_RESOURCES`). Platform services still take their CPU from it, but no longer their
188
+ * MEMORY: its `1Gi` limit is below what those Node processes measurably use (#1592); see
189
+ * `platformServiceResources`.
190
+ */
171
191
  export declare const DEFAULT_PLATFORM_RESOURCES: ResourceConfig;
172
192
  export declare const DEFAULT_PLATFORM_DEV_RESOURCES: ResourceConfig;
173
193
  export declare const DEFAULT_INTERNAL_RESOURCES: Record<string, ResourceConfig>;
@@ -1 +1 @@
1
- {"version":3,"file":"k8s-manifest.schemas.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/k8s/k8s-manifest.schemas.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACzC;AAMD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM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MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAMD,eAAO,MAAM,0BAA0B,EAAE,cAGxC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,cAG5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAkDrE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,cAGxC,CAAC"}
1
+ {"version":3,"file":"k8s-manifest.schemas.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/k8s/k8s-manifest.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAMxG,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACzC;AAMD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE;QACN,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,wBAAwB,EAAE,MAAM,CAAC;QACjC,uBAAuB,EAAE,MAAM,CAAC;KACjC,CAAC;IACF,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAMjD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB;IAEhC,SAAS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AG5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAmDrE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,cAGxC,CAAC"}
@@ -1,9 +1,24 @@
1
1
  // ============================================================================
2
- // Resource Configuration
3
- // ============================================================================
4
- // ============================================================================
5
2
  // Default Resource Configurations
6
3
  // ============================================================================
4
+ /**
5
+ * The Kubernetes resources a platform service gets outside local development: CPU from the generic
6
+ * platform default, memory from the service's MEASURED profile (#1592). Every platform service used to
7
+ * get `DEFAULT_PLATFORM_RESOURCES`' `1Gi` limit, below what apps-manager measurably uses (1,586 MiB
8
+ * peak RSS), so a production pod was OOM-killed at a size it legitimately needs.
9
+ */
10
+ export function platformServiceResources(memory) {
11
+ return {
12
+ requests: { cpu: DEFAULT_PLATFORM_RESOURCES.requests.cpu, memory: `${memory.containerRequestMb}Mi` },
13
+ limits: { cpu: DEFAULT_PLATFORM_RESOURCES.limits.cpu, memory: `${memory.containerLimitMb}Mi` },
14
+ };
15
+ }
16
+ /**
17
+ * The generic fallback for a service with no profile of its own (an internal service missing from
18
+ * `DEFAULT_INTERNAL_RESOURCES`). Platform services still take their CPU from it, but no longer their
19
+ * MEMORY: its `1Gi` limit is below what those Node processes measurably use (#1592); see
20
+ * `platformServiceResources`.
21
+ */
7
22
  export const DEFAULT_PLATFORM_RESOURCES = {
8
23
  requests: { cpu: '200m', memory: '256Mi' },
9
24
  limits: { cpu: '1000m', memory: '1Gi' },
@@ -56,7 +71,8 @@ export const DEFAULT_INTERNAL_RESOURCES = {
56
71
  // holding Lucene index structures resident, so its floor is a JVM's floor, not a small
57
72
  // daemon's: 512Mi requested / 2Gi limit, above the mongodb profile it accompanies. An
58
73
  // entry exists at all so it does not silently inherit `DEFAULT_PLATFORM_RESOURCES` — a
59
- // service-agnostic default sized for a Node process — which is the trap immudb fell into.
74
+ // service-agnostic default (too small even for the Node platform services, #1592) — which is the
75
+ // trap immudb fell into.
60
76
  // The compose lane's `mem_limit: 2048m` is the same number in the other lane's dialect.
61
77
  mongot: {
62
78
  requests: { cpu: '200m', memory: '512Mi' },