@wildo-ai/platform-config-lib 1.1.11 → 1.1.13

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 (389) hide show
  1. package/dist/esm/_unimplemented/soft-warn.d.ts +24 -49
  2. package/dist/esm/_unimplemented/soft-warn.d.ts.map +1 -1
  3. package/dist/esm/_unimplemented/soft-warn.js +24 -49
  4. package/dist/esm/_unimplemented/soft-warn.js.map +1 -1
  5. package/dist/esm/blueprint/anchored-region.d.ts.map +1 -1
  6. package/dist/esm/blueprint/anchored-region.js.map +1 -1
  7. package/dist/esm/blueprint/blueprint.schemas.d.ts +0 -89
  8. package/dist/esm/blueprint/blueprint.schemas.d.ts.map +1 -1
  9. package/dist/esm/blueprint/blueprint.schemas.js.map +1 -1
  10. package/dist/esm/bootstrap/application-backend-env.contracts.d.ts.map +1 -1
  11. package/dist/esm/bootstrap/application-backend-env.contracts.js.map +1 -1
  12. package/dist/esm/bootstrap/application-creation-verification-env.contracts.d.ts.map +1 -1
  13. package/dist/esm/bootstrap/application-creation-verification-env.contracts.js.map +1 -1
  14. package/dist/esm/bootstrap/bootstrap-planner.d.ts.map +1 -1
  15. package/dist/esm/bootstrap/bootstrap-planner.js.map +1 -1
  16. package/dist/esm/bootstrap/bootstrap.contracts.d.ts.map +1 -1
  17. package/dist/esm/bootstrap/bootstrap.contracts.js.map +1 -1
  18. package/dist/esm/bootstrap/bootstrap.schemas.d.ts +8 -1
  19. package/dist/esm/bootstrap/bootstrap.schemas.d.ts.map +1 -1
  20. package/dist/esm/bootstrap/bootstrap.schemas.js +15 -1
  21. package/dist/esm/bootstrap/bootstrap.schemas.js.map +1 -1
  22. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts +10 -2
  23. package/dist/esm/bootstrap/platform-runtime-env.contracts.d.ts.map +1 -1
  24. package/dist/esm/bootstrap/platform-runtime-env.contracts.js +10 -2
  25. package/dist/esm/bootstrap/platform-runtime-env.contracts.js.map +1 -1
  26. package/dist/esm/bootstrap/platform-store-preconnect.d.ts +21 -0
  27. package/dist/esm/bootstrap/platform-store-preconnect.d.ts.map +1 -1
  28. package/dist/esm/bootstrap/platform-store-preconnect.js +25 -0
  29. package/dist/esm/bootstrap/platform-store-preconnect.js.map +1 -1
  30. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts +80 -0
  31. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.d.ts.map +1 -0
  32. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js +81 -0
  33. package/dist/esm/bootstrap/postgresql-owed-grants.contracts.js.map +1 -0
  34. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts +41 -9
  35. package/dist/esm/bootstrap/runtime-backing-service-access.d.ts.map +1 -1
  36. package/dist/esm/bootstrap/runtime-backing-service-access.js +77 -28
  37. package/dist/esm/bootstrap/runtime-backing-service-access.js.map +1 -1
  38. package/dist/esm/bootstrap/runtime-network-policy.d.ts +117 -12
  39. package/dist/esm/bootstrap/runtime-network-policy.d.ts.map +1 -1
  40. package/dist/esm/bootstrap/runtime-network-policy.js +222 -23
  41. package/dist/esm/bootstrap/runtime-network-policy.js.map +1 -1
  42. package/dist/esm/bootstrap/runtime-network-topology.d.ts +31 -4
  43. package/dist/esm/bootstrap/runtime-network-topology.d.ts.map +1 -1
  44. package/dist/esm/bootstrap/runtime-network-topology.js +43 -2
  45. package/dist/esm/bootstrap/runtime-network-topology.js.map +1 -1
  46. package/dist/esm/bootstrap/runtime-platform-access.d.ts.map +1 -1
  47. package/dist/esm/bootstrap/runtime-platform-access.js.map +1 -1
  48. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts +40 -2
  49. package/dist/esm/bootstrap/runtime-principal.contracts.d.ts.map +1 -1
  50. package/dist/esm/bootstrap/runtime-principal.contracts.js +66 -3
  51. package/dist/esm/bootstrap/runtime-principal.contracts.js.map +1 -1
  52. package/dist/esm/bootstrap/runtime-response-integrity.d.ts.map +1 -1
  53. package/dist/esm/bootstrap/runtime-response-integrity.js +3 -3
  54. package/dist/esm/bootstrap/runtime-response-integrity.js.map +1 -1
  55. package/dist/esm/bootstrap/runtime-secret-env.contracts.d.ts.map +1 -1
  56. package/dist/esm/bootstrap/runtime-secret-env.contracts.js.map +1 -1
  57. package/dist/esm/bootstrap/runtime-topology.contracts.d.ts.map +1 -1
  58. package/dist/esm/bootstrap/runtime-topology.contracts.js.map +1 -1
  59. package/dist/esm/bootstrap/wildo-owner-organization.contracts.d.ts.map +1 -1
  60. package/dist/esm/bootstrap/wildo-owner-organization.contracts.js.map +1 -1
  61. package/dist/esm/canonical-json/rfc8785-canonical-json.d.ts.map +1 -1
  62. package/dist/esm/canonical-json/rfc8785-canonical-json.js.map +1 -1
  63. package/dist/esm/config-authoring.entry.d.ts.map +1 -1
  64. package/dist/esm/config-authoring.entry.js.map +1 -1
  65. package/dist/esm/credentials/credential-generator.service.d.ts.map +1 -1
  66. package/dist/esm/credentials/credential-generator.service.js.map +1 -1
  67. package/dist/esm/index.d.ts +5 -1
  68. package/dist/esm/index.d.ts.map +1 -1
  69. package/dist/esm/index.js +5 -1
  70. package/dist/esm/index.js.map +1 -1
  71. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts +119 -0
  72. package/dist/esm/key-management/application-legacy-envelope-key.contracts.d.ts.map +1 -0
  73. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js +109 -0
  74. package/dist/esm/key-management/application-legacy-envelope-key.contracts.js.map +1 -0
  75. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts +182 -0
  76. package/dist/esm/key-management/application-signing-key-rotation.contracts.d.ts.map +1 -0
  77. package/dist/esm/key-management/application-signing-key-rotation.contracts.js +145 -0
  78. package/dist/esm/key-management/application-signing-key-rotation.contracts.js.map +1 -0
  79. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts +156 -0
  80. package/dist/esm/key-management/approval-seal-manifested-copy.d.ts.map +1 -0
  81. package/dist/esm/key-management/approval-seal-manifested-copy.js +617 -0
  82. package/dist/esm/key-management/approval-seal-manifested-copy.js.map +1 -0
  83. package/dist/esm/key-management/approval-seal-verifier.d.ts +114 -40
  84. package/dist/esm/key-management/approval-seal-verifier.d.ts.map +1 -1
  85. package/dist/esm/key-management/approval-seal-verifier.js +143 -12
  86. package/dist/esm/key-management/approval-seal-verifier.js.map +1 -1
  87. package/dist/esm/key-management/approval-seal.contracts.d.ts +12 -15
  88. package/dist/esm/key-management/approval-seal.contracts.d.ts.map +1 -1
  89. package/dist/esm/key-management/approval-seal.contracts.js +20 -0
  90. package/dist/esm/key-management/approval-seal.contracts.js.map +1 -1
  91. package/dist/esm/key-management/data-key.contracts.d.ts +0 -2
  92. package/dist/esm/key-management/data-key.contracts.d.ts.map +1 -1
  93. package/dist/esm/key-management/data-key.contracts.js.map +1 -1
  94. package/dist/esm/key-management/es256-jws.d.ts.map +1 -1
  95. package/dist/esm/key-management/es256-jws.js.map +1 -1
  96. package/dist/esm/key-management/key-provider.spi.d.ts +8 -1
  97. package/dist/esm/key-management/key-provider.spi.d.ts.map +1 -1
  98. package/dist/esm/key-management/key-provider.spi.js.map +1 -1
  99. package/dist/esm/key-management/keyring-rotation.contracts.d.ts +2 -12
  100. package/dist/esm/key-management/keyring-rotation.contracts.d.ts.map +1 -1
  101. package/dist/esm/key-management/keyring-rotation.contracts.js +3 -3
  102. package/dist/esm/key-management/keyring-rotation.contracts.js.map +1 -1
  103. package/dist/esm/key-management/keyring-status.contracts.d.ts +0 -7
  104. package/dist/esm/key-management/keyring-status.contracts.d.ts.map +1 -1
  105. package/dist/esm/key-management/keyring-status.contracts.js.map +1 -1
  106. package/dist/esm/key-management/pdf-incremental-update.d.ts +158 -0
  107. package/dist/esm/key-management/pdf-incremental-update.d.ts.map +1 -0
  108. package/dist/esm/key-management/pdf-incremental-update.js +730 -0
  109. package/dist/esm/key-management/pdf-incremental-update.js.map +1 -0
  110. package/dist/esm/key-management/pdf-truetype-font.d.ts +35 -0
  111. package/dist/esm/key-management/pdf-truetype-font.d.ts.map +1 -0
  112. package/dist/esm/key-management/pdf-truetype-font.js +152 -0
  113. package/dist/esm/key-management/pdf-truetype-font.js.map +1 -0
  114. package/dist/esm/key-management/qr-code.d.ts +38 -0
  115. package/dist/esm/key-management/qr-code.d.ts.map +1 -0
  116. package/dist/esm/key-management/qr-code.js +325 -0
  117. package/dist/esm/key-management/qr-code.js.map +1 -0
  118. package/dist/esm/key-management/signature-request.contracts.d.ts +0 -4
  119. package/dist/esm/key-management/signature-request.contracts.d.ts.map +1 -1
  120. package/dist/esm/key-management/signature-request.contracts.js.map +1 -1
  121. package/dist/esm/key-management/signing-log-export.contracts.d.ts +0 -1
  122. package/dist/esm/key-management/signing-log-export.contracts.d.ts.map +1 -1
  123. package/dist/esm/key-management/signing-log-export.contracts.js.map +1 -1
  124. package/dist/esm/key-management/vault-custody.contracts.d.ts +43 -0
  125. package/dist/esm/key-management/vault-custody.contracts.d.ts.map +1 -1
  126. package/dist/esm/key-management/vault-custody.contracts.js +66 -0
  127. package/dist/esm/key-management/vault-custody.contracts.js.map +1 -1
  128. package/dist/esm/lockfile/build-parallelism.d.ts.map +1 -1
  129. package/dist/esm/lockfile/build-parallelism.js.map +1 -1
  130. package/dist/esm/lockfile/canonical-json.d.ts +1 -1
  131. package/dist/esm/lockfile/canonical-json.d.ts.map +1 -1
  132. package/dist/esm/lockfile/canonical-json.js +1 -1
  133. package/dist/esm/lockfile/canonical-json.js.map +1 -1
  134. package/dist/esm/lockfile/file-lock-hold.d.ts.map +1 -1
  135. package/dist/esm/lockfile/file-lock-hold.js +2 -1
  136. package/dist/esm/lockfile/file-lock-hold.js.map +1 -1
  137. package/dist/esm/lockfile/lockfile-io.d.ts +6 -8
  138. package/dist/esm/lockfile/lockfile-io.d.ts.map +1 -1
  139. package/dist/esm/lockfile/lockfile-io.js +6 -8
  140. package/dist/esm/lockfile/lockfile-io.js.map +1 -1
  141. package/dist/esm/lockfile/materialize-infra-section.d.ts +5 -6
  142. package/dist/esm/lockfile/materialize-infra-section.d.ts.map +1 -1
  143. package/dist/esm/lockfile/materialize-infra-section.js +4 -5
  144. package/dist/esm/lockfile/materialize-infra-section.js.map +1 -1
  145. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts +1 -247
  146. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.d.ts.map +1 -1
  147. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js +1 -1
  148. package/dist/esm/lockfile/wildo-saas-lock.shared.schemas.js.map +1 -1
  149. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts +146 -0
  150. package/dist/esm/pnpm-settings/application-pnpm-settings.d.ts.map +1 -0
  151. package/dist/esm/pnpm-settings/application-pnpm-settings.js +573 -0
  152. package/dist/esm/pnpm-settings/application-pnpm-settings.js.map +1 -0
  153. package/dist/esm/project-config/application-public-pricing-catalog.loader.d.ts.map +1 -1
  154. package/dist/esm/project-config/application-public-pricing-catalog.loader.js +15 -3
  155. package/dist/esm/project-config/application-public-pricing-catalog.loader.js.map +1 -1
  156. package/dist/esm/project-config/application-served-public-documents.loader.d.ts.map +1 -1
  157. package/dist/esm/project-config/application-served-public-documents.loader.js +16 -8
  158. package/dist/esm/project-config/application-served-public-documents.loader.js.map +1 -1
  159. package/dist/esm/project-config/backend-compliance-section.reader.d.ts +35 -0
  160. package/dist/esm/project-config/backend-compliance-section.reader.d.ts.map +1 -0
  161. package/dist/esm/project-config/backend-compliance-section.reader.js +123 -0
  162. package/dist/esm/project-config/backend-compliance-section.reader.js.map +1 -0
  163. package/dist/esm/project-config/backend-compliance-section.worker.d.ts +20 -0
  164. package/dist/esm/project-config/backend-compliance-section.worker.d.ts.map +1 -0
  165. package/dist/esm/project-config/backend-compliance-section.worker.js +78 -0
  166. package/dist/esm/project-config/backend-compliance-section.worker.js.map +1 -0
  167. package/dist/esm/project-config/config-module-resolution.d.ts +32 -0
  168. package/dist/esm/project-config/config-module-resolution.d.ts.map +1 -0
  169. package/dist/esm/project-config/config-module-resolution.js +33 -0
  170. package/dist/esm/project-config/config-module-resolution.js.map +1 -0
  171. package/dist/esm/project-config/define-framework-config.d.ts.map +1 -1
  172. package/dist/esm/project-config/define-framework-config.js.map +1 -1
  173. package/dist/esm/project-config/define-infra-env-config.d.ts +146 -55
  174. package/dist/esm/project-config/define-infra-env-config.d.ts.map +1 -1
  175. package/dist/esm/project-config/define-infra-env-config.js +124 -71
  176. package/dist/esm/project-config/define-infra-env-config.js.map +1 -1
  177. package/dist/esm/project-config/define-minion-config.d.ts +26 -36
  178. package/dist/esm/project-config/define-minion-config.d.ts.map +1 -1
  179. package/dist/esm/project-config/define-minion-config.js +64 -25
  180. package/dist/esm/project-config/define-minion-config.js.map +1 -1
  181. package/dist/esm/project-config/define-saas-config.d.ts +41 -437
  182. package/dist/esm/project-config/define-saas-config.d.ts.map +1 -1
  183. package/dist/esm/project-config/define-saas-config.js +102 -94
  184. package/dist/esm/project-config/define-saas-config.js.map +1 -1
  185. package/dist/esm/project-config/define-worker-config.d.ts +10 -20
  186. package/dist/esm/project-config/define-worker-config.d.ts.map +1 -1
  187. package/dist/esm/project-config/define-worker-config.js +10 -12
  188. package/dist/esm/project-config/define-worker-config.js.map +1 -1
  189. package/dist/esm/project-config/hosted-infra-env-config.d.ts.map +1 -1
  190. package/dist/esm/project-config/hosted-infra-env-config.js +2 -1
  191. package/dist/esm/project-config/hosted-infra-env-config.js.map +1 -1
  192. package/dist/esm/project-config/index.d.ts +2 -0
  193. package/dist/esm/project-config/index.d.ts.map +1 -1
  194. package/dist/esm/project-config/index.js +2 -0
  195. package/dist/esm/project-config/index.js.map +1 -1
  196. package/dist/esm/project-config/loader-instances-zod.d.ts +19 -0
  197. package/dist/esm/project-config/loader-instances-zod.d.ts.map +1 -0
  198. package/dist/esm/project-config/loader-instances-zod.js +40 -0
  199. package/dist/esm/project-config/loader-instances-zod.js.map +1 -0
  200. package/dist/esm/project-config/loader.d.ts +131 -14
  201. package/dist/esm/project-config/loader.d.ts.map +1 -1
  202. package/dist/esm/project-config/loader.js +226 -12
  203. package/dist/esm/project-config/loader.js.map +1 -1
  204. package/dist/esm/project-config/minion-liveness.contracts.d.ts +131 -0
  205. package/dist/esm/project-config/minion-liveness.contracts.d.ts.map +1 -0
  206. package/dist/esm/project-config/minion-liveness.contracts.js +167 -0
  207. package/dist/esm/project-config/minion-liveness.contracts.js.map +1 -0
  208. package/dist/esm/project-config/minion-local-provider-registration.d.ts.map +1 -1
  209. package/dist/esm/project-config/minion-local-provider-registration.js.map +1 -1
  210. package/dist/esm/project-config/npm-version-range.d.ts.map +1 -1
  211. package/dist/esm/project-config/npm-version-range.js.map +1 -1
  212. package/dist/esm/project-config/owning-package-tsconfig.d.ts +7 -7
  213. package/dist/esm/project-config/owning-package-tsconfig.d.ts.map +1 -1
  214. package/dist/esm/project-config/owning-package-tsconfig.js +7 -7
  215. package/dist/esm/project-config/owning-package-tsconfig.js.map +1 -1
  216. package/dist/esm/project-config/provider-catalog-types.d.ts.map +1 -1
  217. package/dist/esm/project-config/provider-catalog-types.js.map +1 -1
  218. package/dist/esm/project-config/provider-companion-discovery.d.ts.map +1 -1
  219. package/dist/esm/project-config/provider-companion-discovery.js +3 -1
  220. package/dist/esm/project-config/provider-companion-discovery.js.map +1 -1
  221. package/dist/esm/project-config/provider-runtime-artifacts.d.ts +71 -46
  222. package/dist/esm/project-config/provider-runtime-artifacts.d.ts.map +1 -1
  223. package/dist/esm/project-config/provider-runtime-artifacts.js +150 -4
  224. package/dist/esm/project-config/provider-runtime-artifacts.js.map +1 -1
  225. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts +0 -2
  226. package/dist/esm/project-config/shared/application-creation-verification.schemas.d.ts.map +1 -1
  227. package/dist/esm/project-config/shared/application-creation-verification.schemas.js.map +1 -1
  228. package/dist/esm/project-config/shared/application-modules.schemas.d.ts.map +1 -1
  229. package/dist/esm/project-config/shared/application-modules.schemas.js.map +1 -1
  230. package/dist/esm/project-config/shared/application-modules.utils.d.ts.map +1 -1
  231. package/dist/esm/project-config/shared/application-modules.utils.js.map +1 -1
  232. package/dist/esm/project-config/shared/auth.schemas.d.ts +0 -17
  233. package/dist/esm/project-config/shared/auth.schemas.d.ts.map +1 -1
  234. package/dist/esm/project-config/shared/auth.schemas.js.map +1 -1
  235. package/dist/esm/project-config/shared/backing-service-servability.d.ts.map +1 -1
  236. package/dist/esm/project-config/shared/backing-service-servability.js.map +1 -1
  237. package/dist/esm/project-config/shared/backing-services.schemas.d.ts +9 -10
  238. package/dist/esm/project-config/shared/backing-services.schemas.d.ts.map +1 -1
  239. package/dist/esm/project-config/shared/backing-services.schemas.js +13 -15
  240. package/dist/esm/project-config/shared/backing-services.schemas.js.map +1 -1
  241. package/dist/esm/project-config/shared/cdn.schemas.d.ts +0 -51
  242. package/dist/esm/project-config/shared/cdn.schemas.d.ts.map +1 -1
  243. package/dist/esm/project-config/shared/cdn.schemas.js.map +1 -1
  244. package/dist/esm/project-config/shared/csp-defaults.d.ts +34 -6
  245. package/dist/esm/project-config/shared/csp-defaults.d.ts.map +1 -1
  246. package/dist/esm/project-config/shared/csp-defaults.js +52 -8
  247. package/dist/esm/project-config/shared/csp-defaults.js.map +1 -1
  248. package/dist/esm/project-config/shared/csp-emit.d.ts +60 -13
  249. package/dist/esm/project-config/shared/csp-emit.d.ts.map +1 -1
  250. package/dist/esm/project-config/shared/csp-emit.js +77 -24
  251. package/dist/esm/project-config/shared/csp-emit.js.map +1 -1
  252. package/dist/esm/project-config/shared/csp.schemas.d.ts +72 -84
  253. package/dist/esm/project-config/shared/csp.schemas.d.ts.map +1 -1
  254. package/dist/esm/project-config/shared/csp.schemas.js +40 -12
  255. package/dist/esm/project-config/shared/csp.schemas.js.map +1 -1
  256. package/dist/esm/project-config/shared/data-services.schemas.d.ts +0 -8
  257. package/dist/esm/project-config/shared/data-services.schemas.d.ts.map +1 -1
  258. package/dist/esm/project-config/shared/data-services.schemas.js.map +1 -1
  259. package/dist/esm/project-config/shared/env-example-defaults.d.ts.map +1 -1
  260. package/dist/esm/project-config/shared/env-example-defaults.js.map +1 -1
  261. package/dist/esm/project-config/shared/environment.schemas.d.ts +95 -8
  262. package/dist/esm/project-config/shared/environment.schemas.d.ts.map +1 -1
  263. package/dist/esm/project-config/shared/environment.schemas.js +122 -10
  264. package/dist/esm/project-config/shared/environment.schemas.js.map +1 -1
  265. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts +10 -4
  266. package/dist/esm/project-config/shared/infra-providers.schemas.d.ts.map +1 -1
  267. package/dist/esm/project-config/shared/infra-providers.schemas.js.map +1 -1
  268. package/dist/esm/project-config/shared/infra-service.schemas.d.ts.map +1 -1
  269. package/dist/esm/project-config/shared/infra-service.schemas.js.map +1 -1
  270. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts +1 -1
  271. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.d.ts.map +1 -1
  272. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js +1 -1
  273. package/dist/esm/project-config/shared/infrastructure-defaults.schemas.js.map +1 -1
  274. package/dist/esm/project-config/shared/k8s-utils.d.ts.map +1 -1
  275. package/dist/esm/project-config/shared/k8s-utils.js.map +1 -1
  276. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.d.ts.map +1 -1
  277. package/dist/esm/project-config/shared/minion-platform-access.vocabulary.js.map +1 -1
  278. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts +20 -0
  279. package/dist/esm/project-config/shared/minion-resource-access.validation.d.ts.map +1 -1
  280. package/dist/esm/project-config/shared/minion-resource-access.validation.js +21 -2
  281. package/dist/esm/project-config/shared/minion-resource-access.validation.js.map +1 -1
  282. package/dist/esm/project-config/shared/object-storage-session-policy.d.ts.map +1 -1
  283. package/dist/esm/project-config/shared/object-storage-session-policy.js.map +1 -1
  284. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts +67 -38
  285. package/dist/esm/project-config/shared/platform-key-management.schemas.d.ts.map +1 -1
  286. package/dist/esm/project-config/shared/platform-key-management.schemas.js +113 -5
  287. package/dist/esm/project-config/shared/platform-key-management.schemas.js.map +1 -1
  288. package/dist/esm/project-config/shared/platform-services.schemas.d.ts.map +1 -1
  289. package/dist/esm/project-config/shared/platform-services.schemas.js.map +1 -1
  290. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts +2 -2
  291. package/dist/esm/project-config/shared/platform-storage.schemas.d.ts.map +1 -1
  292. package/dist/esm/project-config/shared/platform-storage.schemas.js +16 -2
  293. package/dist/esm/project-config/shared/platform-storage.schemas.js.map +1 -1
  294. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts +21 -23
  295. package/dist/esm/project-config/shared/service-definitions.schemas.d.ts.map +1 -1
  296. package/dist/esm/project-config/shared/service-definitions.schemas.js +4 -5
  297. package/dist/esm/project-config/shared/service-definitions.schemas.js.map +1 -1
  298. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts +0 -18
  299. package/dist/esm/project-config/shared/systems-of-record-env.schemas.d.ts.map +1 -1
  300. package/dist/esm/project-config/shared/systems-of-record-env.schemas.js.map +1 -1
  301. package/dist/esm/project-config/static-asset-import-noop.d.ts +20 -3
  302. package/dist/esm/project-config/static-asset-import-noop.d.ts.map +1 -1
  303. package/dist/esm/project-config/static-asset-import-noop.js +36 -20
  304. package/dist/esm/project-config/static-asset-import-noop.js.map +1 -1
  305. package/dist/esm/registry/artifact-domain.schemas.d.ts +0 -5
  306. package/dist/esm/registry/artifact-domain.schemas.d.ts.map +1 -1
  307. package/dist/esm/registry/artifact-domain.schemas.js.map +1 -1
  308. package/dist/esm/registry/digest.schemas.d.ts.map +1 -1
  309. package/dist/esm/registry/digest.schemas.js.map +1 -1
  310. package/dist/esm/registry/index.d.ts +2 -3
  311. package/dist/esm/registry/index.d.ts.map +1 -1
  312. package/dist/esm/registry/index.js +2 -3
  313. package/dist/esm/registry/index.js.map +1 -1
  314. package/dist/esm/registry/local-checkout-source.d.ts.map +1 -1
  315. package/dist/esm/registry/local-checkout-source.js.map +1 -1
  316. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts +1 -98
  317. package/dist/esm/registry/lockfile-modules-section.schemas.d.ts.map +1 -1
  318. package/dist/esm/registry/lockfile-modules-section.schemas.js +1 -2
  319. package/dist/esm/registry/lockfile-modules-section.schemas.js.map +1 -1
  320. package/dist/esm/registry/module-artifact.schemas.d.ts +17 -17
  321. package/dist/esm/registry/module-artifact.schemas.d.ts.map +1 -1
  322. package/dist/esm/registry/module-artifact.schemas.js.map +1 -1
  323. package/dist/esm/registry/module-manifest.schemas.d.ts +151 -219
  324. package/dist/esm/registry/module-manifest.schemas.d.ts.map +1 -1
  325. package/dist/esm/registry/module-manifest.schemas.js +145 -13
  326. package/dist/esm/registry/module-manifest.schemas.js.map +1 -1
  327. package/dist/esm/registry/module-search.schemas.d.ts.map +1 -1
  328. package/dist/esm/registry/module-search.schemas.js.map +1 -1
  329. package/dist/esm/registry/registry-config.schemas.d.ts +0 -18
  330. package/dist/esm/registry/registry-config.schemas.d.ts.map +1 -1
  331. package/dist/esm/registry/registry-config.schemas.js.map +1 -1
  332. package/dist/esm/registry/registry-defaults.constants.d.ts.map +1 -1
  333. package/dist/esm/registry/registry-defaults.constants.js.map +1 -1
  334. package/dist/esm/registry/registry-errors.d.ts +81 -3
  335. package/dist/esm/registry/registry-errors.d.ts.map +1 -1
  336. package/dist/esm/registry/registry-errors.js +185 -4
  337. package/dist/esm/registry/registry-errors.js.map +1 -1
  338. package/dist/esm/registry/registry-keys.schemas.d.ts.map +1 -1
  339. package/dist/esm/registry/registry-keys.schemas.js.map +1 -1
  340. package/dist/esm/registry/registry-section-schemas.constants.d.ts.map +1 -1
  341. package/dist/esm/registry/registry-section-schemas.constants.js.map +1 -1
  342. package/dist/esm/registry/registry-url-resolution.d.ts.map +1 -1
  343. package/dist/esm/registry/registry-url-resolution.js.map +1 -1
  344. package/dist/esm/release/framework-release.constants.d.ts.map +1 -1
  345. package/dist/esm/release/framework-release.constants.js.map +1 -1
  346. package/dist/esm/schemas/framework-info.schemas.d.ts.map +1 -1
  347. package/dist/esm/schemas/framework-info.schemas.js.map +1 -1
  348. package/dist/esm/schemas/framework-secrets.schemas.d.ts +0 -7
  349. package/dist/esm/schemas/framework-secrets.schemas.d.ts.map +1 -1
  350. package/dist/esm/schemas/framework-secrets.schemas.js.map +1 -1
  351. package/dist/esm/schemas/platform-application-config.schemas.d.ts +1 -1
  352. package/dist/esm/schemas/platform-application-config.schemas.d.ts.map +1 -1
  353. package/dist/esm/schemas/platform-application-config.schemas.js.map +1 -1
  354. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts +1 -1
  355. package/dist/esm/schemas/platform-application-secrets.schemas.d.ts.map +1 -1
  356. package/dist/esm/schemas/platform-application-secrets.schemas.js.map +1 -1
  357. package/dist/esm/schemas/platform-config.schemas.d.ts +2 -2
  358. package/dist/esm/schemas/platform-config.schemas.d.ts.map +1 -1
  359. package/dist/esm/schemas/platform-config.schemas.js.map +1 -1
  360. package/dist/esm/workspace-scope/application-subject-manifest.d.ts.map +1 -1
  361. package/dist/esm/workspace-scope/application-subject-manifest.js.map +1 -1
  362. package/dist/esm/workspace-scope/index.d.ts.map +1 -1
  363. package/dist/esm/workspace-scope/index.js.map +1 -1
  364. package/dist/esm/workspace-scope/resolve-homes.d.ts.map +1 -1
  365. package/dist/esm/workspace-scope/resolve-homes.js.map +1 -1
  366. package/dist/esm/workspace-scope/workspace-homes.schemas.d.ts.map +1 -1
  367. package/dist/esm/workspace-scope/workspace-homes.schemas.js.map +1 -1
  368. package/dist/esm/workspace-scope/workspace-scope-detector.d.ts.map +1 -1
  369. package/dist/esm/workspace-scope/workspace-scope-detector.js.map +1 -1
  370. package/dist/esm/workspace-scope/workspace-scope.schemas.d.ts.map +1 -1
  371. package/dist/esm/workspace-scope/workspace-scope.schemas.js.map +1 -1
  372. package/dist/tsconfig.build.tsbuildinfo +1 -1
  373. package/package.json +12 -12
  374. package/dist/esm/_unimplemented/index.d.ts +0 -3
  375. package/dist/esm/_unimplemented/index.d.ts.map +0 -1
  376. package/dist/esm/_unimplemented/index.js +0 -3
  377. package/dist/esm/_unimplemented/index.js.map +0 -1
  378. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts +0 -137
  379. package/dist/esm/_unimplemented/unimplemented-field-warning.d.ts.map +0 -1
  380. package/dist/esm/_unimplemented/unimplemented-field-warning.js +0 -153
  381. package/dist/esm/_unimplemented/unimplemented-field-warning.js.map +0 -1
  382. package/dist/esm/project-config/shared/cdn.example.d.ts +0 -14
  383. package/dist/esm/project-config/shared/cdn.example.d.ts.map +0 -1
  384. package/dist/esm/project-config/shared/cdn.example.js +0 -38
  385. package/dist/esm/project-config/shared/cdn.example.js.map +0 -1
  386. package/dist/esm/project-config/shared/schema-version.schemas.d.ts +0 -15
  387. package/dist/esm/project-config/shared/schema-version.schemas.d.ts.map +0 -1
  388. package/dist/esm/project-config/shared/schema-version.schemas.js +0 -40
  389. package/dist/esm/project-config/shared/schema-version.schemas.js.map +0 -1
@@ -1,6 +1,5 @@
1
- import { InboundEmailConfigSchema, RuntimeEnvironment } from '@wildo-ai/saas-models';
1
+ import { EnvironmentAgentContentGuardrailsSchema, InboundEmailConfigSchema, RuntimeEnvironment } from '@wildo-ai/saas-models';
2
2
  import { z } from 'zod';
3
- import { UnimplementedFieldSource, createUnimplementedFieldWarner, } from '../_unimplemented/unimplemented-field-warning.js';
4
3
  import { WildoAuthConfigSchema } from './shared/auth.schemas.js';
5
4
  import { ApplicationCreationVerificationConfigSchema } from './shared/application-creation-verification.schemas.js';
6
5
  import { BackingServiceKind, BackingServiceSource, BackingServicesEnvConfigSchema } from './shared/backing-services.schemas.js';
@@ -9,9 +8,8 @@ import { WildoSystemsOfRecordEnvConfigSchema } from './shared/systems-of-record-
9
8
  import { WildoPlatformStorageConfigSchema } from './shared/platform-storage.schemas.js';
10
9
  import { WildoPlatformKeyManagementConfigSchema } from './shared/platform-key-management.schemas.js';
11
10
  import { EnvCspOverrideSchema } from './shared/csp.schemas.js';
12
- import { WildoSchemaVersionSchema } from './shared/schema-version.schemas.js';
13
11
  import { InfraServiceAddressingSchema, } from './shared/infra-service.schemas.js';
14
- import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
12
+ import { DatabaseEngine, resolveApplicationDatabaseEngine, WildoDeploymentConfigSchema, WildoDeploymentRuntime, WildoEnvironment, WildoEnvironmentIdSchema, WildoKubernetesConfigSchema, WildoLocationType, WildoLocalDataStorage, resolveDefaultLocalDataStorage, DEFAULT_ENVIRONMENT_SERVICE_PROFILE, EnvironmentServiceProfile, EnvironmentServiceProfileOptionalService, describeServiceOmittedByEnvironmentServiceProfile, environmentServiceProfileOmits, environmentServiceProfileRunsOneDatabaseFamily, WildoLoggingConfigSchema, WildoObservabilityConfigSchema, WildoDocumentationSiteConfigSchema, WildoEnvironmentProviderConfigurationsSchema, WildoProviderSelectionOverridesSchema, WildoRemoteProviderSchema, WildoImageTagStrategy, isLocalEnvironmentId, } from './shared/environment.schemas.js';
15
13
  const InfraEnvKubernetesSchema = WildoKubernetesConfigSchema.strict();
16
14
  /**
17
15
  * A POSIX (`/…`), drive-letter (`C:\…`, `C:/…`) or UNC (`\\host\…`) absolute path.
@@ -58,9 +56,8 @@ const SERVICE_HOST_LABEL = /^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)(?:\.[a-z0-9](?:
58
56
  * single topology on every environment; the per-env map keeps those
59
57
  * decisions explicit and author-driven.
60
58
  *
61
- * See `cross-app-jwt-propagation.md` Step 1 for the motivating
62
- * decision and the Step 2 URL composer that consumes this mapping
63
- * when building cross-frontend handoff URLs.
59
+ * The URL composer that builds cross-frontend handoff URLs consumes
60
+ * this mapping.
64
61
  */
65
62
  const ServiceHostValueSchema = z.string()
66
63
  .refine((value) => value === '' || SERVICE_HOST_LABEL.test(value), 'serviceHosts value must be a lowercase DNS subdomain chain (e.g. "app", "docs", "dev.admin") or "" (empty string, meaning apex).');
@@ -112,23 +109,10 @@ export const WildoOwnershipDnsStandInConfigSchema = z.strictObject({
112
109
  * descriptors can agree on what an application-owned field IS without restating it.
113
110
  */
114
111
  const WILDO_INFRA_ENV_CONFIG_SHAPE = {
115
- /**
116
- * Authored schema-format version for this `wildo.infra.<env>.config.ts`,
117
- * expressed as a **SemVer 2.0.0 string** (e.g. `'1.0.0'`,
118
- * `'2.3.1-rc.1'`, `'1.0.0+build.42'`).
119
- *
120
- * @unimplemented Slice 3.5 wires a parse-time warning when this is
121
- * authored. The full schema-evolution / migration tooling story is
122
- * tracked under deferred-backlog **D-5**
123
- * (`.cursor/plans/post-flattening-completion-fixes.md`). Symmetrical
124
- * with `WildoSaasConfig.version` — both reservations land/retire
125
- * together so the migration tooling, when it ships, can target both
126
- * authored configs through a single mechanism. SemVer (not a bare
127
- * integer) was chosen for the same reason as on the SaaS-config side
128
- * — see the JSDoc on `WildoSaasConfig.version`. Field is `.optional()`
129
- * (no Zod default) so unauthored configs stay silent.
112
+ /*
113
+ * No `version` key, deliberately (#3496): the descriptor's compatibility is fixed by the `@wildo-ai/*` release the
114
+ * application installs, exactly as for `wildo.saas.config.ts`. The strict object refuses one if it is authored.
130
115
  */
131
- version: WildoSchemaVersionSchema.optional(),
132
116
  environment: WildoEnvironmentIdSchema,
133
117
  locationType: z.enum(WildoLocationType).optional(),
134
118
  runtimeEnvironment: z.enum(RuntimeEnvironment).optional(),
@@ -146,6 +130,25 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
146
130
  * Ignored by KUBERNETES environments, which take their storage from PVs rather than from here.
147
131
  */
148
132
  localDataStorage: z.enum(WildoLocalDataStorage).optional(),
133
+ /**
134
+ * Which optional backing services this environment runs — its footprint (#2303). Omit it and the
135
+ * environment runs `FULL`, every service its declarations ask for.
136
+ *
137
+ * `SMALL` runs no ClamAV, no immudb and no mongot. A small internal tool usually needs none of them, and
138
+ * they are the heaviest containers in the stack. Each capability that depends on one is REFUSED at the
139
+ * application's boot when the application declares it, with a message naming this profile and the remedy:
140
+ * a `z_file({ scanPolicy: 'required' })` field (antivirus), an enabled `COMPLIANCE_AUDIT_TRAIL` with no
141
+ * external audit store (immudb), a `.ragSource()` field on a MongoDB-persisted resource (mongot; on
142
+ * PostgreSQL pgvector serves vector search inside the database, so it stays available).
143
+ *
144
+ * Moving between profiles migrates no data: a service the profile adds starts empty (an audit store with
145
+ * no history, a search index that mongot builds from the collections), and one it removes leaves its
146
+ * data where it was.
147
+ *
148
+ * Docker Compose environments only for now: a KUBERNETES environment declaring a non-`FULL` profile is
149
+ * refused, because its manifests would ignore it.
150
+ */
151
+ serviceProfile: z.enum(EnvironmentServiceProfile).optional(),
149
152
  /**
150
153
  * The store the PLATFORM's own data lives in (apps-manager + module-registry:
151
154
  * users, organizations, applications, sessions, API keys).
@@ -378,6 +381,14 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
378
381
  * per deployment. See {@link WildoInfraEmailConfigSchema}.
379
382
  */
380
383
  email: WildoInfraEmailConfigSchema.optional(),
384
+ /**
385
+ * What THIS environment does with the agents' classifier-backed content guardrails (`contentGuardrails.promptInjection`,
386
+ * `.outputModeration`) where no `AI_CONTENT_SAFETY` classifier offers them. Absent means REFUSE: such an agent refuses
387
+ * every turn. `{ withoutClassifier: RUN_UNGUARDED, reason }` runs it unscreened and unmoderated, named at startup and, outside a
388
+ * local environment, listed by `wildo context launch-blockers`. Projected to `WILDO_AGENT_CONTENT_GUARDRAILS` by
389
+ * `env-vars-builder`. See {@link EnvironmentAgentContentGuardrailsSchema}.
390
+ */
391
+ agentContentGuardrails: EnvironmentAgentContentGuardrailsSchema.optional(),
381
392
  /**
382
393
  * LOCAL-ONLY: the double that answers domain-ownership challenges for names nobody can publish (#2519). See
383
394
  * {@link WildoOwnershipDnsStandInConfigSchema}.
@@ -391,8 +402,9 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
391
402
  * per environment is what lets `wildo config sync` carry them, instead of an operator
392
403
  * remembering three env vars on a build command.
393
404
  *
394
- * Projected to `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
395
- * `WILDO_DOCS_FRONTEND_SERVICE_NAME` by `env-vars-builder`.
405
+ * Passed as `WILDO_DOCS_API_BASE_URL` / `WILDO_DOCS_APP_URL` /
406
+ * `WILDO_DOCS_FRONTEND_SERVICE_NAME` to the documentation image's build and to the CI workflow, read from the
407
+ * loaded descriptor; no runtime environment carries them (#2310).
396
408
  * See {@link WildoDocumentationSiteConfigSchema}.
397
409
  */
398
410
  documentationSite: WildoDocumentationSiteConfigSchema.optional(),
@@ -428,8 +440,7 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
428
440
  *
429
441
  * 1. Platform default (per-`AppFrontendType` baseline) — `csp-defaults.ts`.
430
442
  * 2. App-static (per-frontend `csp?` block) — authored on each
431
- * service-definition (today: `wildo.tech-doc.config.ts.csp?` per
432
- * `saas-technical-doc.md` Step 7.5).
443
+ * service-definition (today: `wildo.tech-doc.config.ts.csp?`).
433
444
  * 3. **THIS FIELD** — env-specific overrides authored under
434
445
  * `wildo.infra.<env>.config.ts.csp?[serviceKey]`. The
435
446
  * `resolveCspPolicy({ envOverride, environmentId })` resolver
@@ -543,6 +554,39 @@ const WILDO_INFRA_ENV_CONFIG_SHAPE = {
543
554
  infraConfigPath: z.string().regex(ABSOLUTE_PATH_PATTERN, 'infrastructureHost.infraConfigPath must be absolute once resolved.'),
544
555
  }).optional(),
545
556
  };
557
+ /**
558
+ * #2303 — the database families an environment that OWNS its platform runs, each with the declarations that bring it
559
+ * in, derived from what the descriptor declares rather than asked: the platform's engine (authored, or inferred from
560
+ * the declared stores), the application's (`resolveApplicationDatabaseEngine`, absent means PostgreSQL), and every
561
+ * declared database store.
562
+ *
563
+ * The inferred platform engine needs no copy of the CLI's inference (`inferDatabaseChoiceFromInfraConfig`): it always
564
+ * names a DECLARED store when one is declared, so it can add no family the declared stores do not already add. Only
565
+ * when NO store is declared does it bring one in on its own, MongoDB, as an implicit self-hosted mongod.
566
+ */
567
+ function databaseFamiliesRunByEnvironment(config) {
568
+ const families = new Map();
569
+ const add = (engine, why) => {
570
+ families.set(engine, [...(families.get(engine) ?? []), why]);
571
+ };
572
+ const declaredStores = [
573
+ [BackingServiceKind.MONGODB, DatabaseEngine.MONGODB],
574
+ [BackingServiceKind.POSTGRESQL, DatabaseEngine.POSTGRESQL],
575
+ ];
576
+ let anyStoreDeclared = false;
577
+ for (const [kind, engine] of declaredStores) {
578
+ if (config.backingServices[kind] !== undefined) {
579
+ anyStoreDeclared = true;
580
+ add(engine, `backingServices.${kind}`);
581
+ }
582
+ }
583
+ if (config.database)
584
+ add(config.database.engine, 'database.engine');
585
+ else if (!anyStoreDeclared)
586
+ add(DatabaseEngine.MONGODB, 'the platform store inferred when no database store is declared');
587
+ add(resolveApplicationDatabaseEngine(config.applicationDatabase), config.applicationDatabase ? 'applicationDatabase.engine' : 'the application\'s default engine (applicationDatabase absent)');
588
+ return families;
589
+ }
546
590
  const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).strict().superRefine((config, ctx) => {
547
591
  const resolvedEnvironment = config.environment;
548
592
  const resolvedLocationType = config.locationType
@@ -725,6 +769,42 @@ const WildoInfraEnvConfigInputSchema = z.object(WILDO_INFRA_ENV_CONFIG_SHAPE).st
725
769
  + 'application beside it and uses the fixed platform bucket. Author it only in wildo.infra.remote.config.ts.',
726
770
  });
727
771
  }
772
+ /*
773
+ * #2303 — a service profile and a declaration that contradict it. `backingServices.clamav` / `.immudb`
774
+ * with `source: SELF` asks the environment to RUN a service the profile says it does not run; neither
775
+ * can win silently, so the descriptor is refused here, while it is open. The compose generator refuses
776
+ * the same pair again (an invariant enforced at one site is enforced at none of the others).
777
+ */
778
+ if (config.serviceProfile !== undefined) {
779
+ // #2303 — both lanes render a profile now (the Kubernetes manifests since the second slice), so a KUBERNETES
780
+ // environment may declare one; its refusal was the stand-in for a lane that ignored the declaration.
781
+ const databaseFamilies = databaseFamiliesRunByEnvironment(config);
782
+ if (environmentServiceProfileRunsOneDatabaseFamily(config.serviceProfile) && config.infrastructureHost === undefined && databaseFamilies.size > 1) {
783
+ ctx.addIssue({
784
+ code: 'custom',
785
+ path: ['serviceProfile'],
786
+ message: `serviceProfile '${config.serviceProfile}' runs ONE database family, and this environment runs `
787
+ + `${[...databaseFamilies.entries()].map(([engine, why]) => `${engine} (${why.join(', ')})`).join(' and ')}. `
788
+ + 'Put the platform and the application on the same engine (`database.engine` and `applicationDatabase.engine`) '
789
+ + `and declare only that store in \`backingServices\`, or set serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
790
+ });
791
+ }
792
+ for (const [kind, service] of [
793
+ [BackingServiceKind.CLAMAV, EnvironmentServiceProfileOptionalService.ANTIVIRUS_SCANNER],
794
+ [BackingServiceKind.IMMUDB, EnvironmentServiceProfileOptionalService.IMMUTABLE_AUDIT_STORE],
795
+ ]) {
796
+ if (config.backingServices[kind]?.source === BackingServiceSource.SELF
797
+ && environmentServiceProfileOmits(config.serviceProfile, service)) {
798
+ ctx.addIssue({
799
+ code: 'custom',
800
+ path: ['backingServices', kind],
801
+ message: `${describeServiceOmittedByEnvironmentServiceProfile(config.serviceProfile, service)} `
802
+ + `\`backingServices.${kind}: { source: SELF }\` asks it to run one. Remove the declaration, or set `
803
+ + `serviceProfile to '${EnvironmentServiceProfile.FULL}'.`,
804
+ });
805
+ }
806
+ }
807
+ }
728
808
  if (config.cdn && resolvedLocationType !== WildoLocationType.REMOTE) {
729
809
  for (const serviceKey of Object.keys(config.cdn)) {
730
810
  ctx.addIssue({
@@ -742,7 +822,6 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
742
822
  const locationType = config.locationType
743
823
  ?? (isLocalEnvironmentId(environment) ? WildoLocationType.LOCAL : WildoLocationType.REMOTE);
744
824
  return {
745
- version: config.version,
746
825
  environment,
747
826
  locationType,
748
827
  runtimeEnvironment: config.runtimeEnvironment,
@@ -752,6 +831,8 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
752
831
  * reader sees one answer. The derivation is total over `WildoLocationType`.
753
832
  */
754
833
  localDataStorage: config.localDataStorage ?? resolveDefaultLocalDataStorage(locationType),
834
+ /** Resolved here, like `localDataStorage`, so every reader sees the settled answer (#2303). */
835
+ serviceProfile: config.serviceProfile ?? DEFAULT_ENVIRONMENT_SERVICE_PROFILE,
755
836
  /**
756
837
  * Projected EXPLICITLY, like every field here — this list IS the contract, and a field omitted
757
838
  * from it is silently dropped no matter what the input schema accepted. `undefined` when the
@@ -771,6 +852,7 @@ export const WildoInfraEnvConfigSchema = WildoInfraEnvConfigInputSchema.transfor
771
852
  providerSelection: config.providerSelection,
772
853
  providerConfigurations: config.providerConfigurations,
773
854
  email: config.email,
855
+ agentContentGuardrails: config.agentContentGuardrails,
774
856
  ownershipDnsStandIn: config.ownershipDnsStandIn,
775
857
  applicationCreationVerification: config.applicationCreationVerification,
776
858
  serviceAuth: config.serviceAuth,
@@ -830,7 +912,6 @@ export var InfraEnvFieldOwner;
830
912
  * schema accepts exactly the APPLICATION and PARTITIONED members.
831
913
  */
832
914
  export const INFRA_ENV_FIELD_OWNERSHIP = {
833
- version: InfraEnvFieldOwner.APPLICATION,
834
915
  environment: InfraEnvFieldOwner.APPLICATION,
835
916
  locationType: InfraEnvFieldOwner.HOST,
836
917
  runtimeEnvironment: InfraEnvFieldOwner.HOST,
@@ -844,6 +925,12 @@ export const INFRA_ENV_FIELD_OWNERSHIP = {
844
925
  * describing a file it does not own.
845
926
  */
846
927
  localDataStorage: InfraEnvFieldOwner.HOST,
928
+ /*
929
+ * HOST, for the same reason as `localDataStorage`: it decides which containers the SHARED platform runs.
930
+ * A hosted application cannot ask for an immudb its host does not run, and the profile reaches it from
931
+ * the host so its boot refuses a capability the shared platform does not back (#2303).
932
+ */
933
+ serviceProfile: InfraEnvFieldOwner.HOST,
847
934
  database: InfraEnvFieldOwner.HOST,
848
935
  applicationDatabase: InfraEnvFieldOwner.APPLICATION,
849
936
  publicDomain: InfraEnvFieldOwner.APPLICATION,
@@ -867,6 +954,11 @@ export const INFRA_ENV_FIELD_OWNERSHIP = {
867
954
  * another tenant's organizations.
868
955
  */
869
956
  email: InfraEnvFieldOwner.APPLICATION,
957
+ /*
958
+ * APPLICATION. Whether THIS application's agents run unguarded where no classifier offers a guardrail is a decision about its
959
+ * own agents; an application hosted on another's platform does not inherit its host's.
960
+ */
961
+ agentContentGuardrails: InfraEnvFieldOwner.APPLICATION,
870
962
  /*
871
963
  * APPLICATION. The stand-in answers for the domains THIS application's tenants prove they own on a developer machine —
872
964
  * the double standing in for their corporate IT. A hosted application inheriting its host's would verify its tenants'
@@ -995,7 +1087,6 @@ export const WildoHostedInfraEnvConfigSchema = z.strictObject({
995
1087
  */
996
1088
  applicationRoot: z.string().min(1).refine((value) => !ABSOLUTE_PATH_PATTERN.test(value), 'infrastructureHost.applicationRoot must be relative to this application root (e.g. "../wonder-todos"): the descriptor is committed, and an absolute path only exists on one machine.'),
997
1089
  }, refuseHostOwnedKeys('infrastructureHost')),
998
- version: WILDO_INFRA_ENV_CONFIG_SHAPE.version,
999
1090
  environment: WILDO_INFRA_ENV_CONFIG_SHAPE.environment,
1000
1091
  applicationDatabase: WILDO_INFRA_ENV_CONFIG_SHAPE.applicationDatabase,
1001
1092
  publicDomain: WILDO_INFRA_ENV_CONFIG_SHAPE.publicDomain,
@@ -1014,6 +1105,7 @@ export const WildoHostedInfraEnvConfigSchema = z.strictObject({
1014
1105
  providerSelection: WILDO_INFRA_ENV_CONFIG_SHAPE.providerSelection,
1015
1106
  providerConfigurations: WILDO_INFRA_ENV_CONFIG_SHAPE.providerConfigurations,
1016
1107
  email: WILDO_INFRA_ENV_CONFIG_SHAPE.email,
1108
+ agentContentGuardrails: WILDO_INFRA_ENV_CONFIG_SHAPE.agentContentGuardrails,
1017
1109
  ownershipDnsStandIn: WILDO_INFRA_ENV_CONFIG_SHAPE.ownershipDnsStandIn,
1018
1110
  systemsOfRecord: WILDO_INFRA_ENV_CONFIG_SHAPE.systemsOfRecord,
1019
1111
  documentationSite: WILDO_INFRA_ENV_CONFIG_SHAPE.documentationSite,
@@ -1046,11 +1138,6 @@ export function isHostedInfraEnvConfig(config) {
1046
1138
  *
1047
1139
  * This is the canonical authored env contract for the flattened targeted-app
1048
1140
  * layout.
1049
- *
1050
- * After successful parsing, emits Slice 3.5 `@unimplemented` warnings for
1051
- * authored fields that remain reserved — see `_unimplemented/unimplemented-field-warning.ts`
1052
- * for the design rationale (channel = stderr, dedupe = once-per-call,
1053
- * format = single-line with backlog ID).
1054
1141
  */
1055
1142
  export function defineInfraEnvConfig(config) {
1056
1143
  /*
@@ -1064,9 +1151,7 @@ export function defineInfraEnvConfig(config) {
1064
1151
  + 'An application running on another application\'s infrastructure is declared with defineHostedInfraEnvConfig({ '
1065
1152
  + 'infrastructureHost: { applicationRoot: \'../<host-app>\' }, … }).');
1066
1153
  }
1067
- const parsed = WildoInfraEnvConfigSchema.parse(config);
1068
- emitInfraUnimplementedRuntimeWarnings(parsed);
1069
- return parsed;
1154
+ return WildoInfraEnvConfigSchema.parse(config);
1070
1155
  }
1071
1156
  /**
1072
1157
  * Define an environment descriptor for an application that runs on ANOTHER application's infrastructure.
@@ -1081,38 +1166,6 @@ export function defineInfraEnvConfig(config) {
1081
1166
  * The result is NOT an environment yet: `loadInfraEnvConfig` resolves it against the host.
1082
1167
  */
1083
1168
  export function defineHostedInfraEnvConfig(config) {
1084
- const parsed = WildoHostedInfraEnvConfigSchema.parse(config);
1085
- emitInfraUnimplementedRuntimeWarnings(parsed);
1086
- return parsed;
1087
- }
1088
- /**
1089
- * Emit `@unimplemented` parse-time warnings for every authored `WildoInfraEnvConfig` field that remains
1090
- * reserved (Slice 3.5 contract — see `_unimplemented/unimplemented-field-warning.ts`).
1091
- *
1092
- * One field today: `version` (!== undefined) → `D-5`.
1093
- *
1094
- * `csp.<serviceKey>` is NOT in this list (#2047). It has a runtime consumer, `wildo dev sync-csp`, which merges each
1095
- * entry into its service's generated policy and refuses a key that names no frontend service. The warning used to stay
1096
- * on and be SUPPRESSED by the one loader that consumed it, so every other command loading the same file (`wildo docs
1097
- * publish`, for one) printed "no runtime consumer" for every authored key. Whether a field is consumed is a property of
1098
- * the schema, not of which command ran first.
1099
- *
1100
- * `logging.{level, formattedConsoleErrors}` is intentionally NOT in this list: Slice 3.5 wires both fields end-to-end
1101
- * (persistence, `env-vars-builder` → `LOG_LEVEL` / `LOG_FORMATTED_CONSOLE_ERRORS`, `LoggerService.loadConfiguration`),
1102
- * so they have a real runtime consumer and silence is the honest behavior.
1103
- *
1104
- * `domain` is intentionally NOT in this list either: Slice 3.5 deleted the field outright as a wrong-seam, and the
1105
- * `external-public-domain-rename.md` follow-up renamed the canonical hostname seam to top-level `publicDomain`
1106
- * (replacing the misnamed `kubernetes.baseDomain`). Both `domain` and `kubernetes.baseDomain` are strict-rejected by
1107
- * the schema — see the strict-pin tests in `__tests__/define-infra-env-config.unimplemented.test.ts`.
1108
- *
1109
- * When the deferred backlog item lands, the matching `if` branch below MUST be removed in the same commit as the
1110
- * runtime wiring — leaving a stale warning is worse than silence.
1111
- */
1112
- function emitInfraUnimplementedRuntimeWarnings(config) {
1113
- const warn = createUnimplementedFieldWarner(UnimplementedFieldSource.INFRA_ENV_CONFIG);
1114
- if (config.version !== undefined) {
1115
- warn('version', 'D-5');
1116
- }
1169
+ return WildoHostedInfraEnvConfigSchema.parse(config);
1117
1170
  }
1118
1171
  //# sourceMappingURL=define-infra-env-config.js.map