@wildo-ai/wildo-cli 1.1.2 → 1.1.4

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 (1002) hide show
  1. package/dist/bin/wildo.d.ts.map +1 -1
  2. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
  3. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  4. package/dist/src/commands/acp/probe.command.js +13 -0
  5. package/dist/src/commands/acp/probe.command.js.map +1 -1
  6. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  7. package/dist/src/commands/assets/sync.command.d.ts +6 -0
  8. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  9. package/dist/src/commands/assets/sync.command.js +13 -3
  10. package/dist/src/commands/assets/sync.command.js.map +1 -1
  11. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  12. package/dist/src/commands/compose.command.d.ts.map +1 -1
  13. package/dist/src/commands/compose.command.js +16 -0
  14. package/dist/src/commands/compose.command.js.map +1 -1
  15. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
  16. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +1 -1
  17. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
  18. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
  19. package/dist/src/commands/config/__tests__/sync.command.test.js +115 -8
  20. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
  21. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
  22. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  23. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  24. package/dist/src/commands/config/sync.command.d.ts +36 -0
  25. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  26. package/dist/src/commands/config/sync.command.js +61 -7
  27. package/dist/src/commands/config/sync.command.js.map +1 -1
  28. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  29. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +2 -0
  30. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -0
  31. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +63 -0
  32. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -0
  33. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
  34. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
  35. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
  36. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
  37. package/dist/src/commands/context/assurance-basis.command.d.ts +61 -0
  38. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -0
  39. package/dist/src/commands/context/assurance-basis.command.js +166 -0
  40. package/dist/src/commands/context/assurance-basis.command.js.map +1 -0
  41. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  42. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  43. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  44. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  45. package/dist/src/commands/context/journey.command.d.ts +6 -2
  46. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  47. package/dist/src/commands/context/journey.command.js +8 -4
  48. package/dist/src/commands/context/journey.command.js.map +1 -1
  49. package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
  50. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
  51. package/dist/src/commands/context/jurisdictions.command.js +115 -0
  52. package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
  53. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  54. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  55. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  56. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  57. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  58. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  59. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
  60. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
  61. package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
  62. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  63. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
  64. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
  65. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
  66. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  67. package/dist/src/commands/dev/charts-audit.command.d.ts +5 -3
  68. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  69. package/dist/src/commands/dev/charts-audit.command.js +36 -7
  70. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  71. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  72. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  73. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  74. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  75. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  76. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  77. package/dist/src/commands/dev/start.command.js +8 -7
  78. package/dist/src/commands/dev/start.command.js.map +1 -1
  79. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  80. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  81. package/dist/src/commands/dev/sync-csp.command.js +35 -7
  82. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  83. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
  84. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
  85. package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
  86. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
  87. package/dist/src/commands/docs/publish.command.d.ts +29 -0
  88. package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
  89. package/dist/src/commands/docs/publish.command.js +82 -0
  90. package/dist/src/commands/docs/publish.command.js.map +1 -0
  91. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  92. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
  93. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
  94. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  95. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  96. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  97. package/dist/src/commands/fwk/dev-skills.command.js +12 -0
  98. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  99. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  100. package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
  101. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
  102. package/dist/src/commands/fwk/generate-providers.command.js +325 -0
  103. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
  104. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  105. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  106. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  107. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  108. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  109. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  110. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  111. package/dist/src/commands/fwk/version-show.command.js +9 -1
  112. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  113. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  114. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  115. package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
  116. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  117. package/dist/src/commands/fwk/wt-status.command.js +34 -5
  118. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  119. package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
  120. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  121. package/dist/src/commands/fwk/wt-tail.command.js +40 -10
  122. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  123. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
  124. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
  125. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  126. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  127. package/dist/src/commands/generate/email-command.utils.js +1 -0
  128. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  129. package/dist/src/commands/generate/email-preview.command.d.ts +8 -0
  130. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  131. package/dist/src/commands/generate/email-preview.command.js +57 -0
  132. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  133. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  134. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  135. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  136. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  137. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  138. package/dist/src/commands/generate/labelling-command.utils.js +1 -0
  139. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  140. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  141. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  142. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  143. package/dist/src/commands/help.command.d.ts.map +1 -1
  144. package/dist/src/commands/help.command.js +2 -0
  145. package/dist/src/commands/help.command.js.map +1 -1
  146. package/dist/src/commands/init.command.d.ts +17 -0
  147. package/dist/src/commands/init.command.d.ts.map +1 -1
  148. package/dist/src/commands/init.command.js +89 -4
  149. package/dist/src/commands/init.command.js.map +1 -1
  150. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
  151. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
  152. package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
  153. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
  154. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
  155. package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
  156. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
  157. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
  158. package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
  159. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
  160. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
  161. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
  162. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
  163. package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
  164. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
  165. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  166. package/dist/src/commands/local/dev.command.d.ts +6 -3
  167. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  168. package/dist/src/commands/local/dev.command.js +13 -4
  169. package/dist/src/commands/local/dev.command.js.map +1 -1
  170. package/dist/src/commands/local/doctor.command.d.ts +9 -0
  171. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  172. package/dist/src/commands/local/doctor.command.js +24 -6
  173. package/dist/src/commands/local/doctor.command.js.map +1 -1
  174. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  175. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  176. package/dist/src/commands/local/init.command.js +11 -2
  177. package/dist/src/commands/local/init.command.js.map +1 -1
  178. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  179. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  180. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  181. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  182. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  183. package/dist/src/commands/local/up.command.js.map +1 -1
  184. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
  185. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
  186. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  187. package/dist/src/commands/lock/check.command.js +4 -10
  188. package/dist/src/commands/lock/check.command.js.map +1 -1
  189. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
  190. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
  191. package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
  192. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  193. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  194. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  195. package/dist/src/commands/market/market-command.utils.js +1 -0
  196. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  197. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
  198. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
  199. package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
  200. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
  201. package/dist/src/commands/providers/show.command.d.ts +51 -0
  202. package/dist/src/commands/providers/show.command.d.ts.map +1 -0
  203. package/dist/src/commands/providers/show.command.js +152 -0
  204. package/dist/src/commands/providers/show.command.js.map +1 -0
  205. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  206. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  207. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  208. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  209. package/dist/src/commands/registry/login.command.js +2 -0
  210. package/dist/src/commands/registry/login.command.js.map +1 -1
  211. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  212. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  213. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  214. package/dist/src/commands/registry/publish.command.js +2 -0
  215. package/dist/src/commands/registry/publish.command.js.map +1 -1
  216. package/dist/src/commands/registry/registry-transport.constants.d.ts +33 -0
  217. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -0
  218. package/dist/src/commands/registry/registry-transport.constants.js +33 -0
  219. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -0
  220. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  221. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  222. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  223. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  224. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  225. package/dist/src/commands/registry/whoami.command.js +2 -0
  226. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  227. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
  228. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  229. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  230. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  231. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  232. package/dist/src/commands/setup.command.d.ts.map +1 -1
  233. package/dist/src/commands/version.command.d.ts.map +1 -1
  234. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
  235. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  236. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
  237. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  238. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  239. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  240. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  241. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  242. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  243. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  244. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
  245. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  246. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  247. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  248. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  249. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  250. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  251. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  252. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
  253. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
  254. package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
  255. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
  256. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
  257. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
  258. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
  259. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
  260. package/dist/src/kernel/base-command.d.ts.map +1 -1
  261. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  262. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  263. package/dist/src/kernel/command-registry.js +6 -0
  264. package/dist/src/kernel/command-registry.js.map +1 -1
  265. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  266. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  267. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  268. package/dist/src/kernel/hooks.d.ts.map +1 -1
  269. package/dist/src/kernel/logger.d.ts.map +1 -1
  270. package/dist/src/kernel/types.d.ts +17 -1
  271. package/dist/src/kernel/types.d.ts.map +1 -1
  272. package/dist/src/kernel/types.js +16 -0
  273. package/dist/src/kernel/types.js.map +1 -1
  274. package/dist/src/main.d.ts.map +1 -1
  275. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
  276. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +2 -0
  277. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -0
  278. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +146 -0
  279. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -0
  280. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
  281. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
  282. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
  283. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  284. package/dist/src/modules/domain/credentials/approver-user.module.d.ts +85 -0
  285. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -0
  286. package/dist/src/modules/domain/credentials/approver-user.module.js +92 -0
  287. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -0
  288. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  289. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
  290. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
  291. package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
  292. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
  293. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
  294. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  295. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  296. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  297. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  298. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  299. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  300. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +2 -0
  301. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -0
  302. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +111 -0
  303. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -0
  304. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
  305. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
  306. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
  307. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
  308. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
  309. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
  310. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
  311. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  312. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
  313. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
  314. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  315. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
  316. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
  317. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
  318. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
  319. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
  320. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  321. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
  322. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
  323. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
  324. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
  325. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
  326. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
  327. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
  328. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
  329. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
  330. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
  331. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
  332. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
  333. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
  334. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
  335. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
  336. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
  337. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
  338. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
  339. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
  340. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
  341. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +224 -0
  342. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
  343. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
  344. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
  345. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  346. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
  347. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
  348. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
  349. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
  350. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
  351. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  352. package/dist/src/services/application/app-bootstrap.service.d.ts +43 -10
  353. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  354. package/dist/src/services/application/app-bootstrap.service.js +92 -49
  355. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  356. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  357. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  358. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  359. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  360. package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
  361. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  362. package/dist/src/services/application/application-assets-delivery.service.js +35 -7
  363. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  364. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  365. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  366. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  367. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  368. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +6 -0
  369. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  370. package/dist/src/services/application/application-runtime-bootstrap.service.js +41 -2
  371. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  372. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  373. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  374. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  375. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  376. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  377. package/dist/src/services/application/local-application-initialization.service.js +22 -6
  378. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  379. package/dist/src/services/application/provider-package-links.service.d.ts +160 -0
  380. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
  381. package/dist/src/services/application/provider-package-links.service.js +312 -0
  382. package/dist/src/services/application/provider-package-links.service.js.map +1 -0
  383. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  384. package/dist/src/services/application/provider-runtime-sync.service.js +7 -20
  385. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  386. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  387. package/dist/src/services/application/saas-scaffold.service.js +11 -2
  388. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  389. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  390. package/dist/src/services/application/saas-skeleton.service.js +46 -26
  391. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  392. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
  393. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
  394. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
  395. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
  396. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
  397. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
  398. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
  399. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
  400. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
  401. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
  402. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
  403. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
  404. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
  405. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
  406. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
  407. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
  408. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  409. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
  410. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
  411. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
  412. package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
  413. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  414. package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
  415. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  416. package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
  417. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  418. package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
  419. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  420. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
  421. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
  422. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
  423. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
  424. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
  425. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  426. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
  427. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  428. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
  429. package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
  430. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  431. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
  432. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
  433. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
  434. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  435. package/dist/src/services/companion/companion-client-options.utils.js +6 -0
  436. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  437. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  438. package/dist/src/services/companion/companion-client.service.js +34 -0
  439. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  440. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  441. package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
  442. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
  443. package/dist/src/services/companion/companion-local-token.utils.js +62 -0
  444. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
  445. package/dist/src/services/companion/companion.schemas.d.ts +12 -0
  446. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  447. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  448. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  449. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  450. package/dist/src/services/companion/local-companion-authority.service.js +9 -30
  451. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  452. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  453. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  454. package/dist/src/services/companion/workbench-cli.service.js +10 -1
  455. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  456. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
  457. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
  458. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
  459. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
  460. package/dist/src/services/context/context-manager.service.d.ts +9 -0
  461. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  462. package/dist/src/services/context/context-manager.service.js +13 -1
  463. package/dist/src/services/context/context-manager.service.js.map +1 -1
  464. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  465. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  466. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
  467. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
  468. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
  469. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
  470. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
  471. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
  472. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
  473. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
  474. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
  475. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +2 -0
  476. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -0
  477. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +94 -0
  478. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -0
  479. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
  480. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  481. package/dist/src/services/credentials/ci-secrets-adapter.service.js +114 -37
  482. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  483. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +209 -0
  484. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
  485. package/dist/src/services/credentials/composed-provider-catalogue.js +263 -0
  486. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
  487. package/dist/src/services/credentials/credentials.schemas.d.ts +29 -22
  488. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  489. package/dist/src/services/credentials/credentials.schemas.js +67 -5
  490. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  491. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  492. package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
  493. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  494. package/dist/src/services/credentials/framework-managed-secrets.js +51 -8
  495. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  496. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
  497. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  498. package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
  499. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  500. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  501. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  502. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  503. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  504. package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
  505. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  506. package/dist/src/services/data-services/data-services.schemas.js +0 -1
  507. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  508. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  509. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
  510. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
  511. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
  512. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
  513. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
  514. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
  515. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
  516. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  517. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
  518. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
  519. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
  520. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
  521. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
  522. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
  523. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
  524. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
  525. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
  526. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
  527. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
  528. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
  529. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
  530. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
  531. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
  532. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
  533. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
  534. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  535. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  536. package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
  537. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  538. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  539. package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
  540. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  541. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
  542. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
  543. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
  544. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
  545. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  546. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
  547. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
  548. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  549. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
  550. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  551. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  552. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  553. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  554. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  555. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  556. package/dist/src/services/deployment/infra-writer.service.js +34 -7
  557. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  558. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
  559. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +45 -2
  560. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -1
  561. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
  562. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
  563. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  564. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
  565. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
  566. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
  567. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
  568. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
  569. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
  570. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
  571. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  572. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
  573. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
  574. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +23 -0
  575. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  576. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +52 -6
  577. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  578. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  579. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  580. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
  581. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  582. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
  583. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  584. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
  585. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  586. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  587. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
  588. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  589. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
  590. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  591. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  592. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  593. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  594. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  595. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  596. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  597. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  598. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  599. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  600. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
  601. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  602. package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
  603. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  604. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  605. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  606. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  607. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  608. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  609. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  610. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  611. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  612. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  613. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  614. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  615. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
  616. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
  617. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
  618. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
  619. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
  620. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
  621. package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
  622. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
  623. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
  624. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
  625. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  626. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
  627. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
  628. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
  629. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
  630. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
  631. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
  632. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
  633. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
  634. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
  635. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
  636. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
  637. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  638. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
  639. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
  640. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
  641. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
  642. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
  643. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
  644. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  645. package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
  646. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  647. package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
  648. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  649. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  650. package/dist/src/services/environment/env-sync.service.js +13 -13
  651. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  652. package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
  653. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  654. package/dist/src/services/environment/env-vars-builder.service.js +188 -41
  655. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  656. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  657. package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
  658. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  659. package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
  660. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  661. package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
  662. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  663. package/dist/src/services/environment/environment-paths.service.js +5 -3
  664. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  665. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  666. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  667. package/dist/src/services/environment/environment-setup.service.js +23 -9
  668. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  669. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  670. package/dist/src/services/environment/environment.service.d.ts +6 -1
  671. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  672. package/dist/src/services/environment/environment.service.js +2 -0
  673. package/dist/src/services/environment/environment.service.js.map +1 -1
  674. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  675. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  676. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  677. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  678. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  679. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
  680. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
  681. package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
  682. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
  683. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
  684. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
  685. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +55 -0
  686. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
  687. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
  688. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
  689. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
  690. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
  691. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
  692. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
  693. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
  694. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
  695. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
  696. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
  697. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +17 -0
  698. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
  699. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
  700. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +101 -0
  701. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  702. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
  703. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
  704. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  705. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
  706. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
  707. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
  708. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
  709. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  710. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
  711. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
  712. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
  713. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
  714. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
  715. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
  716. package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
  717. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
  718. package/dist/src/services/framework/application-rule-imports.js +77 -0
  719. package/dist/src/services/framework/application-rule-imports.js.map +1 -0
  720. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
  721. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  722. package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
  723. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  724. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  725. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  726. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  727. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +86 -1
  728. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  729. package/dist/src/services/framework/framework-knowledge-audit.service.js +212 -1
  730. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  731. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +0 -1
  732. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  733. package/dist/src/services/framework/framework-knowledge-generation.service.js +29 -215
  734. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  735. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  736. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  737. package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
  738. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  739. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -1
  740. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  741. package/dist/src/services/framework/framework-publish-manifest.service.js +79 -4
  742. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  743. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  744. package/dist/src/services/framework/framework-version.service.d.ts +13 -0
  745. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  746. package/dist/src/services/framework/framework-version.service.js +23 -24
  747. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  748. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  749. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +2 -0
  750. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -0
  751. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +100 -0
  752. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -0
  753. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
  754. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
  755. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
  756. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
  757. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
  758. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
  759. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
  760. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
  761. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
  762. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
  763. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +219 -0
  764. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
  765. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
  766. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
  767. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
  768. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
  769. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
  770. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
  771. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
  772. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
  773. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
  774. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
  775. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
  776. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
  777. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
  778. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
  779. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
  780. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
  781. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
  782. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
  783. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
  784. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
  785. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
  786. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
  787. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
  788. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
  789. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
  790. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
  791. package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
  792. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
  793. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +139 -0
  794. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
  795. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1586 -0
  796. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
  797. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
  798. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
  799. package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
  800. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
  801. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
  802. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
  803. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
  804. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
  805. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
  806. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
  807. package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
  808. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
  809. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
  810. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
  811. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
  812. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  813. package/dist/src/services/frontend/cloudflare-cdn.service.js +33 -2
  814. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  815. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  816. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  817. package/dist/src/services/frontend/frontend-publish.service.js +1 -1
  818. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  819. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  820. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  821. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  822. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  823. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  824. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  825. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  826. package/dist/src/services/registry/index.d.ts.map +1 -1
  827. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  828. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  829. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  830. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  831. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
  832. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
  833. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
  834. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
  835. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
  836. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
  837. package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
  838. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  839. package/dist/src/services/security/csp-sync.service.d.ts +27 -5
  840. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  841. package/dist/src/services/security/csp-sync.service.js +204 -16
  842. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  843. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  844. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
  845. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
  846. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
  847. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
  848. package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
  849. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  850. package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
  851. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  852. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
  853. package/dist/tsconfig.build.tsbuildinfo +1 -1
  854. package/dist/tsconfig.tsbuildinfo +1 -1
  855. package/framework-root-package.json +2 -0
  856. package/package.json +19 -17
  857. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +15 -0
  858. package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
  859. package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
  860. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +394 -90
  861. package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
  862. package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
  863. package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
  864. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
  865. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
  866. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
  867. package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
  868. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
  869. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
  870. package/templates/saas/engine-peer-closure.json +12 -0
  871. package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
  872. package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
  873. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
  874. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
  875. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
  876. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
  877. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
  878. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
  879. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
  880. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
  881. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
  882. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
  883. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
  884. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
  885. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
  886. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
  887. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
  888. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
  889. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
  890. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
  891. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
  892. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
  893. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
  894. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
  895. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
  896. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
  897. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
  898. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
  899. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
  900. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
  901. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
  902. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
  903. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
  904. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
  905. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
  906. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
  907. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
  908. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
  909. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
  910. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
  911. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
  912. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
  913. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
  914. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
  915. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
  916. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
  917. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
  918. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
  919. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
  920. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
  921. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
  922. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
  923. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
  924. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
  925. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
  926. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
  927. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
  928. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
  929. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
  930. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
  931. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
  932. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
  933. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
  934. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
  935. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
  936. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
  937. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
  938. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
  939. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
  940. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
  941. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
  942. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
  943. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
  944. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
  945. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
  946. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
  947. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
  948. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
  949. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
  950. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
  951. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
  952. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
  953. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
  954. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
  955. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
  956. package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
  957. package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
  958. package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
  959. package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
  960. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
  961. package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
  962. package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
  963. package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
  964. package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
  965. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
  966. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
  967. package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
  968. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
  969. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
  970. package/templates/saas/scenarios/add-module/scenario.json +3 -3
  971. package/templates/saas/scenarios/add-provider/scenario.json +36 -0
  972. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +52 -2
  973. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
  974. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +75 -0
  975. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
  976. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +46 -4
  977. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
  978. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
  979. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
  980. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
  981. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
  982. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
  983. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
  984. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
  985. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
  986. package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
  987. package/templates/saas/skeleton/backend-api/package.json.hbs +1 -1
  988. package/templates/saas/skeleton/backend-api/src/companion-exports.ts +13 -2
  989. package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
  990. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
  991. package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
  992. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
  993. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
  994. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
  995. package/wildo-framework.info.json +1 -1
  996. package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
  997. package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
  998. package/templates/infra/k8s/middleware.yaml.hbs +0 -101
  999. package/templates/saas/scenarios/add-backend-provider/scenario.json +0 -17
  1000. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
  1001. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
  1002. package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +0 -44
@@ -1 +1 @@
1
- {"version":3,"file":"framework-knowledge-generation.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/__tests__/framework-knowledge-generation.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACvH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,6DAA6D,EAAE,MAAM,4BAA4B,CAAC;AAC3G,OAAO,EACL,gDAAgD,EAChD,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,8BAA8B,EAC9B,6BAA6B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CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtF,0FAA0F;QAC1F,MAAM,CAAC,mCAAmC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3E,MAAM,CAAC,mCAAmC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtE,MAAM,CAAC,mCAAmC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/D,MAAM,CAAC,mCAAmC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9D,MAAM,CAAC,mCAAmC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7D,uEAAuE;QACvE,MAAM,CAAC,mCAAmC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtG,oDAAoD;QACpD,MAAM,CAAC,mCAAmC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, describe, expect, it } from 'vitest';\nimport { mkdtempSync, mkdirSync, readdirSync, readFileSync, rmSync, symlinkSync, writeFileSync, existsSync } from 'fs';\nimport { dirname, join } from 'path';\nimport { tmpdir } from 'os';\nimport { fileURLToPath, pathToFileURL } from 'url';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { assertMetaWorkflowStructuredArtifactActionDefinitionIntegrity } from '@wildo-ai/saas-backend-lib';\nimport {\n MetaWorkflow_EvaluationTreatmentDefinitionSchema,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContextSourceRole,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport { RoadmapPhaseKind } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n FrameworkKnowledgeGenerationService,\n isInertClosedVocabularyRuntimeValue,\n} from '~wildo-cli/services/framework/framework-knowledge-generation.service';\n\nconst tempDirs: string[] = [];\nconst packageSourceDirectory = fileURLToPath(\n new URL('../../../../../framework-knowledge/src/', import.meta.url),\n);\n\nfunction writeFrameworkConfig(frameworkRoot: string): void {\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n mkdirSync(frameworkLayout.markerHome, { recursive: true });\n writeFileSync(\n frameworkLayout.declarationConfigPath,\n [\n \"import { defineFrameworkConfig, WildoFrameworkDockerImageRole, WildoFrameworkDockerImageVariant } from '@wildo-ai/platform-config-lib';\",\n 'export default defineFrameworkConfig({',\n \" frameworkVersion: '0.7.0',\",\n \" minCliVersion: '0.2.0',\",\n ' publish: {',\n \" npm: { scope: '@wildo-ai', repositoryUrl: 'https://github.com/wildo-ai/wildo-ai', packages: ['@wildo-ai/framework-knowledge'] },\",\n \" docker: { registryHost: 'docker.io', namespace: 'wildoai', images: [{ imageName: 'wildo-platform', role: WildoFrameworkDockerImageRole.PLATFORM_SERVICE, variant: WildoFrameworkDockerImageVariant.DEFAULT }] },\",\n ' },',\n '});',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n writeFileSync(\n join(frameworkRoot, 'wildo-framework.info.json'),\n JSON.stringify({ name: 'wildo-ai', version: '0.7.0', minCliVersion: '0.2.0' }, null, 2),\n 'utf8',\n );\n}\n\nfunction writeKnowledgePackageScaffold(frameworkRoot: string): void {\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n const packageRoot = frameworkLayout.frameworkKnowledgePackageHome;\n mkdirSync(packageRoot, { recursive: true });\n writeFileSync(\n join(packageRoot, 'package.json'),\n JSON.stringify({\n name: '@wildo-ai/framework-knowledge',\n type: 'module',\n exports: {\n '.': {\n import: './dist/esm/index.js',\n },\n },\n }, null, 2),\n 'utf8',\n );\n mkdirSync(join(packageRoot, 'src', 'partials'), { recursive: true });\n writeFileSync(\n join(packageRoot, 'src', 'partials', 'target-application-framing.partial.md'),\n [\n '### Target Application Framing',\n '',\n 'This knowledge is for configuring behavior in the target application.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\nfunction writeAuthoredSkillFolder(\n frameworkRoot: string,\n skillId: string,\n options?: { includeReferenceInclude?: boolean },\n): void {\n const skillRoot = join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome, skillId);\n mkdirSync(join(skillRoot, 'references'), { recursive: true });\n mkdirSync(join(skillRoot, 'examples'), { recursive: true });\n writeFileSync(\n join(skillRoot, 'SKILL.md'),\n [\n '---',\n `name: ${skillId}`,\n `description: Skill for ${skillId}.`,\n '---',\n '',\n `# ${skillId}`,\n '',\n '{{PARTIAL:partials/target-application-framing.partial.md}}',\n '',\n '## Source Excerpts',\n '',\n '{{SOURCE_EXCERPTS_LEVEL3}}',\n '',\n '## Usage Examples',\n '',\n '{{USAGE_EXAMPLES_LEVEL3}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'references', 'decorator-patterns.md'),\n [\n '# Decorator Patterns',\n '',\n 'This is a reference file for decorator patterns.',\n ...(options?.includeReferenceInclude\n ? [\n '',\n '{{REFERENCE:factory.example.partial}}',\n ]\n : []),\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'examples', 'add-enum-field.example.md'),\n [\n '# Add an Enum Field',\n '',\n 'This is an example of adding an enum field.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n\nfunction writeAuthoredAssuranceAuthorityBasis(\n frameworkRoot: string,\n options?: { sourcePathPrefixes?: string[]; extraSourceFiles?: Record<string, string> },\n): void {\n const packageRoot = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome;\n const basisRoot = join(packageRoot, 'src', 'assurance-authority-bases', 'wildo-safe-baseline-v1');\n const sources = [\n ['implementation-artifact:wildo.application-role-contract', 'engine/saas-models/src/security/authorizations/roles.shared.schemas.ts'],\n ['implementation-artifact:wildo.audit-log-service', 'engine/saas-backend-lib/src/compliance/audit-trails/services/audit-logs.backend.service.ts'],\n ] as const;\n for (const [, sourcePath] of sources) {\n const absolutePath = join(frameworkRoot, sourcePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n writeFileSync(absolutePath, `export const fixture = ${JSON.stringify(sourcePath)};\\n`, 'utf8');\n }\n const modelsRoot = join(frameworkRoot, 'engine', 'saas-models');\n const backendRoot = join(frameworkRoot, 'engine', 'saas-backend-lib');\n writeFileSync(\n join(modelsRoot, 'package.json'),\n `${JSON.stringify({ name: '@wildo-ai/saas-models', scripts: { build: 'node ../../scripts/run-tsc-alias-safe.mjs' } }, null, 2)}\\n`,\n 'utf8',\n );\n writeFileSync(\n join(backendRoot, 'package.json'),\n `${JSON.stringify({ name: '@wildo-ai/saas-backend-lib', dependencies: { '@wildo-ai/saas-models': 'workspace:*' } }, null, 2)}\\n`,\n 'utf8',\n );\n writeFileSync(join(modelsRoot, 'src', 'security', 'authorizations', 'roles.behavior-helper.ts'), 'export const roleBehavior = \"v1\";\\n', 'utf8');\n writeFileSync(join(modelsRoot, 'src', 'security', 'authorizations', 'ä-runtime-helper.ts'), 'export const unicodeNamedBehavior = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'pnpm-lock.yaml'), 'lockfileVersion: 9.0\\n', 'utf8');\n mkdirSync(join(frameworkRoot, 'scripts'), { recursive: true });\n writeFileSync(join(frameworkRoot, 'scripts', 'run-tsc-alias-safe.mjs'), 'import \"./touch-runtime-signal.mjs\";\\nexport const finalizer = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'scripts', 'touch-runtime-signal.mjs'), 'export const runtimeSignal = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'engine', 'tsconfig.common.json'), '{\"compilerOptions\":{\"strict\":true}}\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'tsconfig.build.json'), '{\"extends\":\"./engine/tsconfig.common.json\",\"compilerOptions\":{}}\\n', 'utf8');\n for (const [relativePath, contents] of Object.entries(options?.extraSourceFiles ?? {})) {\n const absolutePath = join(frameworkRoot, relativePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n writeFileSync(absolutePath, contents, 'utf8');\n }\n mkdirSync(basisRoot, { recursive: true });\n writeFileSync(\n join(basisRoot, 'authority-basis.json'),\n `${JSON.stringify(\n {\n basisDefinitionRef: 'assurance-authority-basis-definition:wildo-safe-baseline-v1',\n sourceRevisionRef: 'source-revision:wildo-engine-assurance-safe-baseline-v1',\n implementationClosure: {\n artifactRef: 'implementation-artifact:wildo.assurance-runtime-build-closure',\n rootPackageNames: ['@wildo-ai/saas-backend-lib', '@wildo-ai/saas-models'],\n rootInputPaths: ['pnpm-lock.yaml', 'tsconfig.build.json'],\n ...(options?.sourcePathPrefixes ? { sourcePathPrefixes: options.sourcePathPrefixes } : {}),\n },\n artifacts: sources.map(([artifactRef, sourcePath]) => ({ artifactRef, sourcePath })),\n },\n null,\n 2,\n )}\\n`,\n 'utf8',\n );\n}\n\nfunction writeAuthoredSkillsIndex(frameworkRoot: string, citedSkillIds: string[]): void {\n const skillsHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome;\n mkdirSync(skillsHome, { recursive: true });\n writeFileSync(\n join(skillsHome, 'INDEX.md'),\n [\n '# Framework Skills Catalog',\n '',\n '| Skill | Trigger phrases |',\n '|-------|-----------------|',\n ...citedSkillIds.map((skillId) => `| **\\`${skillId}\\`** | \"use ${skillId}\" |`),\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n/**\n * Authored playbook fixture. `json` overrides merge over a valid baseline so\n * each test states only the axis it exercises. The baseline deliberately\n * omits `method.guidance` (the generator injects it from method.md) and\n * relies on schema defaults for the array fields, so the compiled output\n * also pins default materialization.\n */\nfunction writeAuthoredPlaybookFolder(\n frameworkRoot: string,\n folderName: string,\n options?: {\n json?: Record<string, unknown>;\n methodBody?: string;\n omitMethodFile?: boolean;\n /** Raw file content bypassing JSON serialization (degenerate-JSON cases). */\n rawJsonContent?: string;\n /**\n * Raw `playbook.definition.ts` content, for cases whose subject is the SOURCE — the effect-free\n * import boundary — rather than the resulting playbook object. Receives the baseline JSON so a\n * case can stay schema-valid while exercising one authoring construct.\n */\n definitionSource?: (baselineJson: Record<string, unknown>) => string;\n },\n): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n folderName,\n );\n mkdirSync(playbookRoot, { recursive: true });\n\n const playbookJson = {\n ref: folderName,\n version: '0.1.0',\n phase: 'cross_cutting',\n intent: 'Fixture playbook for generation tests.',\n outputs: [\n {\n family: 'smoke-artifact',\n schemaRef: 'saas-specifications:MetaWorkflowPlaybook',\n /*\n * The ENUM-EVALUATOR PROBE SLOT. One test rewrites this literal into a member read from\n * `@wildo-ai/saas-specifications`, so the fixture needs a free-form string field on the\n * output whose value nothing else constrains. It rode on `outputs[].placement` until that\n * field was deleted 2026-08-30 for never being read; the probe moved here rather than\n * going with it, because what it proves is about the evaluator, not about placement.\n */\n description: 'specifications/src/smoke/',\n },\n ],\n method: { skillRefs: [] },\n executor: 'human',\n approval: 'approve_before',\n budget: { maxRuns: 1 },\n onFailure: 'keep_and_flag',\n ...options?.json,\n };\n if (options?.rawJsonContent !== undefined) {\n // The RETIRED JSON-v1 authoring format — used only to pin the generator's\n // hard refusal of a leftover playbook.json.\n writeFileSync(join(playbookRoot, 'playbook.json'), options.rawJsonContent, 'utf8');\n } else if (options?.definitionSource !== undefined) {\n writeFileSync(join(playbookRoot, 'playbook.definition.ts'), options.definitionSource(playbookJson), 'utf8');\n } else {\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n `export const playbookDefinition = ${JSON.stringify(playbookJson, null, 2)} as const;\\n`,\n 'utf8',\n );\n }\n\n if (!options?.omitMethodFile) {\n writeFileSync(\n join(playbookRoot, 'method.md'),\n options?.methodBody\n ?? [\n '# Fixture Method',\n '',\n '{{PARTIAL:partials/target-application-framing.partial.md}}',\n '',\n 'Follow the fixture method.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n }\n}\n\nfunction writeCurrentTypeScriptPhaseGate(frameworkRoot: string): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.phase-gate',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.phase-gate', 'playbook.definition.ts'), 'utf8'),\n 'utf8',\n );\n writeFileSync(\n join(playbookRoot, 'method.md'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.phase-gate', 'method.md'), 'utf8'),\n 'utf8',\n );\n}\n\nfunction writeCurrentTypeScriptRequirementsDefinition(frameworkRoot: string): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.requirements-definition',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.requirements-definition', 'playbook.definition.ts'), 'utf8'),\n 'utf8',\n );\n writeFileSync(\n join(playbookRoot, 'method.md'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.requirements-definition', 'method.md'), 'utf8'),\n 'utf8',\n );\n}\n\nfunction writeTaggedSourceInputs(\n frameworkRoot: string,\n options?: { includeLegacyInlineAnchor?: boolean; topicId?: string },\n): void {\n const topicId = options?.topicId ?? 'resources.example.schemas';\n const enginePackageDir = join(frameworkRoot, 'engine', 'saas-models');\n const engineSourceDir = join(enginePackageDir, 'src');\n mkdirSync(engineSourceDir, { recursive: true });\n writeFileSync(\n join(enginePackageDir, 'package.json'),\n JSON.stringify({ name: '@wildo-ai/saas-models', type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(engineSourceDir, 'knowledge-example.ts'),\n [\n `/** @wildo_source:file ${topicId} */`,\n 'export const ExampleSchema = { name: \"example\" };',\n '',\n '/** @wildo_source:part:start factory.example.partial facet:layer:frontend facet:family:enum facet:surface:display */',\n 'export function buildExample() {',\n ' return ExampleSchema;',\n '}',\n '/** @wildo_source:part:end factory.example.partial */',\n ...(options?.includeLegacyInlineAnchor\n ? [\n '',\n '/** @wildo_source(legacy.example.anchor) */',\n ]\n : []),\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const docsDir = join(frameworkRoot, 'docs');\n mkdirSync(docsDir, { recursive: true });\n writeFileSync(\n join(docsDir, 'framework-knowledge.md'),\n [\n '<!-- @wildo_source:file docs.framework.knowledge -->',\n '# Framework Knowledge',\n '',\n 'This is a markdown-owned reference section.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const exampleAppDir = join(frameworkRoot, 'examples', 'sample-app');\n mkdirSync(join(exampleAppDir, 'src'), { recursive: true });\n writeFileSync(\n join(exampleAppDir, 'package.json'),\n JSON.stringify({ name: '@sample/main-app', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(exampleAppDir, 'src', 'resource-ui.example.ts'),\n [\n `/** @wildo_source:part:start ${topicId} facet:kind:usage-example facet:audience:app-developer */`,\n 'export const ExampleResourceUI = {',\n \" priority: 'badge-with-colors',\",\n '};',\n `/** @wildo_source:part:end ${topicId} */`,\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\nfunction writeNonDirectiveStringInput(frameworkRoot: string): void {\n const engineSourceDir = join(frameworkRoot, 'engine', 'saas-models', 'src');\n mkdirSync(engineSourceDir, { recursive: true });\n writeFileSync(\n join(engineSourceDir, 'non-directive-example.ts'),\n [\n 'export const fakeFileDirective = \"@wildo_source:file fake.file.topic\";',\n 'export const fakePartStartDirective = \"@wildo_source:part:start fake.part.topic\";',\n 'export const fakePartEndDirective = \"@wildo_source:part:end fake.part.topic\";',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n/**\n * Dist seam preview: stage every top-level `.ts` source file from\n * `framework-knowledge/src/` into a fake `dist/esm/` folder. Vitest then\n * loads `index.ts` directly through its TS transformer (compile-on-demand),\n * so we do not need a real `pnpm build`. Enumerating the source directory\n * dynamically (instead of hardcoding a fixed list of files) keeps this test\n * honest as the package's module graph evolves — any new top-level source\n * file shipped by `@wildo-ai/framework-knowledge` is picked up automatically.\n *\n * Note: only top-level `.ts` files are copied (subdirectories are not\n * recursed). Add recursion here if `framework-knowledge` ever grows nested\n * source folders re-exported from `index.ts`.\n */\nfunction copyPackageSourcesIntoDist(frameworkRoot: string): void {\n const distDirectory = join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome, 'dist', 'esm');\n mkdirSync(distDirectory, { recursive: true });\n\n const sourceFiles = readdirSync(packageSourceDirectory, { withFileTypes: true })\n .filter((entry) => entry.isFile() && entry.name.endsWith('.ts'))\n .map((entry) => entry.name);\n\n for (const fileName of sourceFiles) {\n writeFileSync(\n join(distDirectory, fileName),\n readFileSync(join(packageSourceDirectory, fileName), 'utf8'),\n 'utf8',\n );\n }\n}\n\ndescribe('FrameworkKnowledgeGenerationService', () => {\n afterEach(() => {\n for (const dir of tempDirs.splice(0)) {\n rmSync(dir, { recursive: true, force: true });\n }\n });\n\n it('materializes skill folders with supporting files into the output', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-gen-'));\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring', { includeReferenceInclude: true });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.frameworkVersion).toBe('0.7.0');\n expect(result.outputDirectory).toBe(frameworkLayout.frameworkKnowledgeOutputHome);\n expect(result.warnings).toEqual([]);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as {\n packageName: string;\n topicCount: number;\n payload: { skillsDirectory: string };\n registries: Array<{ registryName: string }>;\n };\n expect(manifest.packageName).toBe('@wildo-ai/framework-knowledge');\n expect(manifest.payload.skillsDirectory).toBe('skills');\n expect((manifest.payload as Record<string, unknown>)['guidesDirectory']).toBeUndefined();\n expect(manifest.registries.map((entry) => entry.registryName)).toEqual([\n 'source-tags',\n 'framework-topics',\n 'playbooks',\n 'assurance-authority-bases',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as {\n topics: Array<{ topicId: string; skillFiles?: string[] }>;\n };\n const skillTopic = topicIndex.topics.find((entry) => entry.topicId === 'resource-schema-authoring');\n expect(skillTopic).toBeDefined();\n expect(skillTopic?.skillFiles).toEqual([\n 'resource-schema-authoring/SKILL.md',\n 'resource-schema-authoring/references/decorator-patterns.md',\n 'resource-schema-authoring/examples/add-enum-field.example.md',\n ]);\n\n const skillMarkdown = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'SKILL.md'),\n 'utf8',\n );\n expect(skillMarkdown).toContain('name: resource-schema-authoring');\n expect(skillMarkdown).toContain('Target Application Framing');\n expect(skillMarkdown).toContain('Origin Package: `@wildo-ai/saas-models`');\n expect(skillMarkdown).toContain('Usage Example');\n expect(skillMarkdown).not.toContain('Example Package: `@sample/main-app`');\n expect(skillMarkdown).toContain('ExampleSchema');\n expect(skillMarkdown).toContain('ExampleResourceUI');\n expect(skillMarkdown).not.toContain('@wildo_source:');\n expect(skillMarkdown).not.toContain('{{PARTIAL:');\n expect(skillMarkdown).not.toContain('{{SOURCE_EXCERPTS');\n\n const referenceCopy = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'references', 'decorator-patterns.md'),\n 'utf8',\n );\n expect(referenceCopy).toContain('Decorator Patterns');\n expect(referenceCopy).toContain('## Source Excerpts');\n expect(referenceCopy).toContain('### Origin Package: `@wildo-ai/saas-models`');\n expect(referenceCopy).toContain('buildExample');\n expect(referenceCopy).not.toContain('{{REFERENCE:');\n\n const exampleCopy = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'examples', 'add-enum-field.example.md'),\n 'utf8',\n );\n expect(exampleCopy).toContain('Add an Enum Field');\n\n expect(\n existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'guides')),\n ).toBe(false);\n });\n\n it('refuses staged guidance that leaks a maintainer workstation path', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-package-only-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring');\n writeFileSync(\n join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome, 'resource-schema-authoring', 'SKILL.md'),\n [\n '---',\n 'name: resource-schema-authoring',\n 'description: Use when \"author a resource\".',\n '---',\n '',\n 'Read `/Users/framework-maintainer/private-playbook.md` before editing the application.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('not package-only');\n });\n\n it('resolves `example.*` anchors from both Tier A (examples app) and Tier B (engine JSDoc)', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-example-prefix-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const tierAAppDir = join(frameworkRoot, 'examples', 'sample-app');\n mkdirSync(join(tierAAppDir, 'src'), { recursive: true });\n writeFileSync(\n join(tierAAppDir, 'package.json'),\n JSON.stringify({ name: '@sample/main-app', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(tierAAppDir, 'src', 'tasks.ui-behavior.ts'),\n [\n '/** @wildo_source:part:start example.resource.ui-behavior.enum-badge facet:kind:usage-example facet:audience:app-developer */',\n 'export const tasksPriorityUIBehavior = {',\n \" priority: 'badge-with-colors',\",\n '};',\n '/** @wildo_source:part:end example.resource.ui-behavior.enum-badge */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const tierBPackageDir = join(frameworkRoot, 'engine', 'saas-backend-lib');\n const tierBSourceDir = join(tierBPackageDir, 'src', 'notifications', 'email');\n mkdirSync(tierBSourceDir, { recursive: true });\n writeFileSync(\n join(tierBPackageDir, 'package.json'),\n JSON.stringify({ name: '@wildo-ai/saas-backend-lib', type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(tierBSourceDir, 'email-template.example.ts'),\n [\n '/** @wildo_source:part:start example.email.template.minimal facet:kind:usage-example facet:audience:app-developer */',\n 'export const minimalEmailTemplate = {',\n \" subject: 'Welcome',\",\n \" body: 'Hello, {{user_first_name}}!',\",\n '};',\n '/** @wildo_source:part:end example.email.template.minimal */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const skillId = 'email-add-template';\n const skillRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome,\n skillId,\n );\n mkdirSync(join(skillRoot, 'references'), { recursive: true });\n writeFileSync(\n join(skillRoot, 'SKILL.md'),\n [\n '---',\n `name: ${skillId}`,\n `description: Skill for ${skillId}.`,\n '---',\n '',\n `# ${skillId}`,\n '',\n '## Usage Examples',\n '',\n '{{USAGE_EXAMPLES_LEVEL3}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'references', 'framework-email-example.md'),\n [\n '# Email Example References',\n '',\n '## Tier B — illustrative framework JSDoc',\n '',\n '{{REFERENCE:example.email.template.minimal}}',\n '',\n '## Tier A — stable app usage',\n '',\n '{{REFERENCE:example.resource.ui-behavior.enum-badge}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.warnings).toEqual([]);\n\n const topicIndex = JSON.parse(\n readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'topic-index.json',\n ),\n 'utf8',\n ),\n ) as { topics: Array<{ topicId: string }> };\n const topicIds = topicIndex.topics.map((entry) => entry.topicId);\n expect(topicIds).toContain('example.email.template.minimal');\n expect(topicIds).toContain('example.resource.ui-behavior.enum-badge');\n\n const referenceRendered = readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'skills',\n skillId,\n 'references',\n 'framework-email-example.md',\n ),\n 'utf8',\n );\n expect(referenceRendered).toContain('minimalEmailTemplate');\n expect(referenceRendered).toContain('tasksPriorityUIBehavior');\n expect(referenceRendered).toContain('Usage Example');\n expect(referenceRendered).not.toContain('@wildo-ai/saas-backend-lib');\n expect(referenceRendered).not.toContain('@sample/main-app');\n expect(referenceRendered).not.toContain('{{REFERENCE:');\n });\n\n it('translates a dogfooding application identity in extracted examples without dropping the example', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-portable-example-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const appDirectory = join(frameworkRoot, 'examples', 'wonder-todos');\n mkdirSync(join(appDirectory, 'src'), { recursive: true });\n writeFileSync(\n join(appDirectory, 'package.json'),\n JSON.stringify({ name: '@wonder-todos/shared-lib', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(appDirectory, 'src', 'portable-example.ts'),\n [\n '/** @wildo_source:part:start example.portable-identity facet:kind:usage-example facet:audience:app-developer */',\n \"export const example = { applicationName: 'Wonder Todos', packageName: '@wonder-todos/shared-lib', sourcePath: 'examples/wonder-todos/shared-lib/src/example.ts' };\",\n '/** @wildo_source:part:end example.portable-identity */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeAuthoredSkillFolder(frameworkRoot, 'portable_example');\n writeFileSync(\n join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome,\n 'portable_example',\n 'references',\n 'portable-example.md',\n ),\n ['# Portable example', '', '{{REFERENCE:example.portable-identity}}', ''].join('\\n'),\n 'utf8',\n );\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).resolves.toMatchObject({ warnings: [] });\n\n const rendered = readFileSync(\n join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'skills',\n 'portable_example',\n 'references',\n 'portable-example.md',\n ),\n 'utf8',\n );\n expect(rendered).toContain(\"applicationName: 'Your Application'\");\n expect(rendered).toContain(\"packageName: '@your-app/shared-lib'\");\n expect(rendered).toContain(\"sourcePath: 'shared-lib/src/example.ts'\");\n expect(rendered).not.toMatch(/Wonder Todos|wonder-todos|@wonder-todos/);\n });\n\n it('discovers anchors under dot-directories like `.wildo-saas`', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-dot-dir-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const hiddenCompanionDir = join(\n frameworkRoot,\n 'examples',\n 'sample-app',\n '.wildo-saas',\n 'wildo-dev-companion',\n 'src',\n );\n mkdirSync(hiddenCompanionDir, { recursive: true });\n writeFileSync(\n join(hiddenCompanionDir, 'hidden-anchor.ts'),\n [\n '/** @wildo_source:file hidden.dotdir.anchor */',\n 'export const hiddenAnchor = true;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.warnings).toEqual([]);\n\n const topicIndex = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'),\n 'utf8',\n ),\n ) as { topics: Array<{ topicId: string }> };\n\n expect(topicIndex.topics.map((entry) => entry.topicId)).toContain('hidden.dotdir.anchor');\n\n const referenceMarkdown = readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'references',\n 'hidden.dotdir.anchor.md',\n ),\n 'utf8',\n );\n expect(referenceMarkdown).toContain('# hidden.dotdir.anchor');\n expect(referenceMarkdown).toContain('Framework Source');\n expect(referenceMarkdown).toContain('hiddenAnchor');\n });\n\n it('excludes generated `.wildo-runtime-signals` trees from source discovery', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-runtime-signals-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot);\n\n const baseline = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n const runtimeSignalSourcePath = join(\n frameworkRoot,\n 'engine',\n 'saas-models',\n '.wildo-runtime-signals',\n 'compile-staging',\n 'generated-anchor.ts',\n );\n mkdirSync(dirname(runtimeSignalSourcePath), { recursive: true });\n writeFileSync(\n runtimeSignalSourcePath,\n [\n '/** @wildo_source:file generated.runtime.signal.anchor */',\n 'export const generatedRuntimeSignalAnchor = true;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.scannedFileCount).toBe(baseline.scannedFileCount);\n expect(result.topicCount).toBe(baseline.topicCount);\n expect(result.sectionCount).toBe(baseline.sectionCount);\n expect(result.warnings).toEqual(baseline.warnings);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as { topics: Array<{ topicId: string }> };\n expect(topicIndex.topics.map((entry) => entry.topicId)).not.toContain('generated.runtime.signal.anchor');\n });\n\n it('supports skill folders without matching anchors (partials-only skills)', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-noanchor-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.warnings).toEqual([\n 'No @wildo_source anchors were extracted. The framework-knowledge payload was generated with empty registries.',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as {\n topics: Array<{ topicId: string; skillFiles?: string[]; sourceReferences?: unknown[] }>;\n };\n const frameworkTopicsRegistry = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'framework-topics.json'), 'utf8'),\n ) as {\n entries: Record<string, { referenceFilePath?: string; sourceReferenceCount: number }>;\n };\n const skillTopic = topicIndex.topics.find((entry) => entry.topicId === 'resource-config-wiring');\n expect(skillTopic).toBeDefined();\n expect(skillTopic?.skillFiles).toEqual([\n 'resource-config-wiring/SKILL.md',\n 'resource-config-wiring/references/decorator-patterns.md',\n 'resource-config-wiring/examples/add-enum-field.example.md',\n ]);\n expect(skillTopic?.sourceReferences).toEqual([]);\n expect(frameworkTopicsRegistry.entries['resource-config-wiring']).toMatchObject({\n sourceReferenceCount: 0,\n });\n expect(frameworkTopicsRegistry.entries['resource-config-wiring']).not.toHaveProperty('referenceFilePath');\n\n const skillMarkdown = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-config-wiring', 'SKILL.md'),\n 'utf8',\n );\n expect(skillMarkdown).toContain('name: resource-config-wiring');\n expect(skillMarkdown).toContain('Target Application Framing');\n expect(skillMarkdown).not.toContain('{{PARTIAL:');\n });\n\n it('materializes playbook folders with validated compiled JSON, rendered method, and the playbooks registry', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.fixture-pass');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as {\n payload: { playbooksDirectory: string; skillsIndexPath?: string };\n registries: Array<{ registryName: string; entryCount: number }>;\n };\n expect(manifest.payload.playbooksDirectory).toBe('playbooks');\n expect(manifest.registries.map((entry) => entry.registryName)).toEqual([\n 'source-tags',\n 'framework-topics',\n 'playbooks',\n 'assurance-authority-bases',\n ]);\n expect(manifest.registries.find((entry) => entry.registryName === 'playbooks')?.entryCount).toBe(1);\n\n const compiledPlaybook = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks', 'refinement.fixture-pass', 'playbook.json'),\n 'utf8',\n ),\n ) as {\n ref: string;\n functionalTopics: string[];\n preconditions: unknown[];\n method: { guidance: string; skillRefs: string[] };\n };\n expect(compiledPlaybook.ref).toBe('refinement.fixture-pass');\n // Schema defaults must be materialized in the compiled artifact.\n expect(compiledPlaybook.functionalTopics).toEqual([]);\n expect(compiledPlaybook.preconditions).toEqual([]);\n // method.guidance is injected from the RENDERED method.md — partial expanded.\n expect(compiledPlaybook.method.guidance).toContain('Target Application Framing');\n expect(compiledPlaybook.method.guidance).not.toContain('{{PARTIAL:');\n\n const compiledMethod = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks', 'refinement.fixture-pass', 'method.md'),\n 'utf8',\n );\n expect(compiledMethod).toContain('Target Application Framing');\n\n const playbooksRegistry = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'playbooks.json'), 'utf8'),\n ) as { entries: Record<string, { playbookFilePath: string; methodFilePath: string; version: string }> };\n expect(playbooksRegistry.entries['refinement.fixture-pass']).toMatchObject({\n version: '0.1.0',\n playbookFilePath: 'playbooks/refinement.fixture-pass/playbook.json',\n methodFilePath: 'playbooks/refinement.fixture-pass/method.md',\n });\n });\n\n\n /*\n * A published basis is identified by `ref@version` plus the AUTHORED `sourceRevisionRef` — nothing else.\n *\n * Until 2026-08-27 the registry entry also carried `artifactDigest` and `sourceRevisionDigest`, and this test\n * drove six regenerations (source edit, inherited tsconfig, build finalizer, an imported build helper, a\n * unicode-named file, a non-TS runtime asset) to prove each moved the source-revision digest. All of that is\n * retired with the digests themselves: they compared a payload against a registry shipped inside the same\n * payload, and the basis digest made every consuming application re-accept its controls on any engine byte\n * movement (`.claude/rules/one-source-of-truth.md` Rule 0 — nothing that is not branchable on git). WHICH BYTES\n * an acceptance was made against is answered by the engine's committed git revision plus the commit that\n * recorded the acceptance.\n *\n * The whole-entry `toEqual` below is deliberate rather than field-by-field: it is what fails if a content\n * digest is ever reintroduced into the published identity.\n */\n it('publishes semantic assurance-authority basis bytes without repository source paths', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-basis-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.assuranceAuthorityBasisCount).toBe(1);\n const output = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome;\n const registry = JSON.parse(readFileSync(join(output, 'registries', 'assurance-authority-bases.json'), 'utf8')) as {\n entries: Record<string, { ref: string; version: number; sourceRevisionRef: string; filePath: string; externalFrameworkMappingFilePath?: string }>;\n };\n const entry = registry.entries['assurance-authority-basis:wildo-safe-baseline-v1@1'];\n expect(entry).toEqual({\n ref: 'assurance-authority-basis:wildo-safe-baseline-v1',\n version: 1,\n sourceRevisionRef: 'source-revision:wildo-engine-assurance-safe-baseline-v1',\n filePath: 'assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json',\n externalFrameworkMappingFilePath: 'assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json',\n });\n const basisBytes = readFileSync(join(output, entry!.filePath));\n const basisText = basisBytes.toString('utf8');\n expect(basisText).not.toContain('sourcePath');\n expect(basisText).not.toContain('engine/');\n expect(basisText).not.toContain('pnpm-lock.yaml');\n expect(basisText).toContain('implementation-artifact:wildo.application-role-contract');\n expect(basisText).toContain('implementation-artifact:wildo.assurance-runtime-build-closure');\n\n copyPackageSourcesIntoDist(frameworkRoot);\n const previewModule = await import(\n pathToFileURL(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts')).href\n );\n const loaded = previewModule.getFrameworkKnowledgeAssuranceAuthorityBasis('assurance-authority-basis:wildo-safe-baseline-v1', 1) as {\n entry: { ref: string; version: number; sourceRevisionRef: string };\n basis: { basisRef: string; basisVersion: number; implementationRevision: { sourceRevisionRef: string } };\n bytes: Uint8Array;\n };\n expect(loaded.entry.sourceRevisionRef).toBe(loaded.basis.implementationRevision.sourceRevisionRef);\n expect(loaded.basis.basisRef).toBe(loaded.entry.ref);\n expect(loaded.basis.basisVersion).toBe(loaded.entry.version);\n expect(Array.from(loaded.bytes)).toEqual(Array.from(basisBytes));\n\n /*\n * The loader still refuses a payload whose basis disagrees with the registry that addresses it. That check\n * survived the digest removal because it compares the two SEMANTIC identity axes an application pins, not a\n * hash of the bytes against a hash stored beside them.\n */\n /*\n * The external-framework mapping rides the SAME channel as the basis (#266).\n *\n * Before this it was emitted only by `pnpm assurance:external-mapping` into a gitignored `dist/`,\n * so it existed and nothing carried it anywhere a reader could find. Asserted through the LOADER\n * rather than off disk, because \"the file was written\" and \"a consumer can reach it\" are\n * different claims and only the second is what the gap was about.\n */\n const mapping = previewModule.getFrameworkKnowledgeAssuranceExternalFrameworkMapping(\n 'assurance-authority-basis:wildo-safe-baseline-v1',\n 1,\n ) as { value: { mapped: unknown[]; unmapped: unknown[]; attributionNotices: unknown[]; evaluatedAt: string } };\n expect(mapping.value.mapped.length).toBeGreaterThan(0);\n // Every objective is accounted for in ONE of the two lists — an unmapped objective is RECORDED\n // with a reason rather than omitted, which is the whole reason the derivation has two lists.\n expect(mapping.value.unmapped).toBeDefined();\n expect(mapping.value.attributionNotices.length).toBeGreaterThan(0);\n // The instant is the GENERATION's, not a second clock read: rights expire, so the artifact has to\n // say which moment its authorizations were true at, and the payload must not carry two answers.\n expect(mapping.value.evaluatedAt).toBe(\n (JSON.parse(readFileSync(join(output, 'manifest.json'), 'utf8')) as { generatedAt: string }).generatedAt,\n );\n // Same package-only discipline the basis is held to — no repository paths leave the framework.\n const mappingText = readFileSync(join(output, entry!.externalFrameworkMappingFilePath!)).toString('utf8');\n expect(mappingText).not.toContain('engine/');\n expect(mappingText).not.toContain('platform/');\n\n const forgedBasis = JSON.parse(basisBytes.toString('utf8')) as Record<string, unknown>;\n forgedBasis.basisRef = 'assurance-authority-basis:forged';\n writeFileSync(join(output, entry!.filePath), Buffer.from(`${JSON.stringify(forgedBasis, null, 2)}\\n`, 'utf8'));\n expect(() => previewModule.getFrameworkKnowledgeAssuranceAuthorityBasis('assurance-authority-basis:wildo-safe-baseline-v1', 1)).toThrow(\n 'does not match its registry identity',\n );\n });\n\n /**\n * `sourcePathPrefixes` narrows which `src/**` files of the transitively selected packages the closure walks.\n * Unnarrowed, the Wildo baseline walked ~1049 files across 9 packages to attest two controls whose named\n * contracts are 8 files.\n *\n * These pins used to read a source-revision digest and assert it moved for an attested edit and held for an\n * unattested one. That digest is gone (Rule 0), so the narrowing no longer changes any published byte —\n * generation output is identical narrowed or not. What it still changes, and the only thing it still changes,\n * is the MEMBERSHIP of the closure inventory, which is fail-closed per file. So membership is probed through\n * that refusal: a file the closure walks is a file whose repository-shape violations stop generation, and a\n * file it does not walk is invisible.\n *\n * A companion test ('gives a narrowed closure a different identity…') was retired outright in the same pass:\n * it asserted that a narrowed and an unnarrowed attestation of one tree carry different identities. They no\n * longer do — identity is `ref@version` plus the authored `sourceRevisionRef`, and narrowing is an\n * authoring-time validation knob that reaches no published field. There is nothing left to rewrite it against.\n */\n const plantSymlinkedSource = (frameworkRoot: string, relativePath: string): void => {\n const absolutePath = join(frameworkRoot, relativePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n // Points INSIDE the repository on purpose, so the refusal can only come from the non-symlink check rather\n // than from the escaping-input check that precedes it.\n symlinkSync(join(frameworkRoot, 'pnpm-lock.yaml'), absolutePath, 'file');\n };\n const newAssuranceFrameworkRoot = (label: string): string => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), `wildo-framework-knowledge-assurance-${label}-`));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n return frameworkRoot;\n };\n const ATTESTED_PREFIX = 'engine/saas-models/src/security/authorizations/';\n const UNATTESTED_SOURCE = 'engine/saas-models/src/unrelated/noise.ts';\n\n it('excludes source outside the authored closure prefixes, while keeping build inputs attested', async () => {\n // Unnarrowed, every package source is inside the closure — including the one the narrowing exists to drop.\n const unnarrowedRoot = newAssuranceFrameworkRoot('unnarrowed');\n writeAuthoredAssuranceAuthorityBasis(unnarrowedRoot);\n plantSymlinkedSource(unnarrowedRoot, UNATTESTED_SOURCE);\n await expect(FrameworkKnowledgeGenerationService.generate(unnarrowedRoot)).rejects.toThrow(\n 'must be one regular, non-symlink file',\n );\n\n // Narrowed, the same file is outside the attested surface and cannot affect the basis at all.\n const narrowedRoot = newAssuranceFrameworkRoot('narrowed');\n writeAuthoredAssuranceAuthorityBasis(narrowedRoot, { sourcePathPrefixes: [ATTESTED_PREFIX] });\n plantSymlinkedSource(narrowedRoot, UNATTESTED_SOURCE);\n await expect(FrameworkKnowledgeGenerationService.generate(narrowedRoot)).resolves.toMatchObject({\n assuranceAuthorityBasisCount: 1,\n });\n\n // Inside the prefix it is still walked, or the narrowing would have removed the control rather than its noise.\n const attestedRoot = newAssuranceFrameworkRoot('attested');\n writeAuthoredAssuranceAuthorityBasis(attestedRoot, { sourcePathPrefixes: [ATTESTED_PREFIX] });\n plantSymlinkedSource(attestedRoot, `${ATTESTED_PREFIX}roles.behavior-symlink.ts`);\n await expect(FrameworkKnowledgeGenerationService.generate(attestedRoot)).rejects.toThrow(\n 'must be one regular, non-symlink file',\n );\n\n /*\n * Build inputs are deliberately NOT narrowed: attesting source without attesting the build that produced it\n * would let a compiler-option or lockfile change alter behaviour under an unchanged claim. The authored\n * `rootInputPaths` therefore stay in the closure even under the narrowest prefix set.\n */\n const buildInputRoot = newAssuranceFrameworkRoot('build-input');\n writeAuthoredAssuranceAuthorityBasis(buildInputRoot, { sourcePathPrefixes: [ATTESTED_PREFIX] });\n rmSync(join(buildInputRoot, 'pnpm-lock.yaml'));\n await expect(FrameworkKnowledgeGenerationService.generate(buildInputRoot)).rejects.toThrow(\n 'does not resolve to a repository file: \"pnpm-lock.yaml\"',\n );\n });\n\n it('fails closed on a closure prefix that matches no file', async () => {\n /*\n * A typo must not silently shrink the attested surface. Narrowing is the one change that can weaken a claim\n * without any visible symptom, so the prefix set is verified against what it actually matched.\n */\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-dead-prefix-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot, {\n sourcePathPrefixes: ['engine/saas-models/src/security/authorizations/', 'engine/saas-models/src/typo-never-existed/'],\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n 'match no file in the selected packages: \"engine/saas-models/src/typo-never-existed/\"',\n );\n });\n\n it('rejects a closure prefix that escapes the framework repository', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-escaping-prefix-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot, { sourcePathPrefixes: ['../outside/'] });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n 'source prefix must stay inside the framework repository',\n );\n });\n\n it('rejects ambiguous workspace package identities in an assurance implementation closure', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-duplicate-package-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot);\n\n const duplicatePackageRoot = join(frameworkRoot, 'duplicate', 'saas-models');\n mkdirSync(join(duplicatePackageRoot, 'src'), { recursive: true });\n writeFileSync(join(duplicatePackageRoot, 'package.json'), `${JSON.stringify({ name: '@wildo-ai/saas-models' }, null, 2)}\\n`, 'utf8');\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('duplicate workspace package name \"@wildo-ai/saas-models\"');\n });\n\n it('fails closed when an authored assurance-authority directory exists without a basis file', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-empty-assurance-basis-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n mkdirSync(join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome, 'src', 'assurance-authority-bases'), { recursive: true });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('contains no authority-basis.json files');\n });\n\n it('rejects assurance implementation inputs that escape through a symlinked parent directory', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-symlink-root-'));\n const externalRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-symlink-external-'));\n tempDirs.push(frameworkRoot, externalRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot);\n writeFileSync(join(externalRoot, 'outside.ts'), 'export const outside = true;\\n', 'utf8');\n symlinkSync(externalRoot, join(frameworkRoot, 'linked-source'), 'dir');\n const basisPath = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome,\n 'src',\n 'assurance-authority-bases',\n 'wildo-safe-baseline-v1',\n 'authority-basis.json',\n );\n const authoredBasis = JSON.parse(readFileSync(basisPath, 'utf8')) as { artifacts: Array<{ sourcePath: string }> };\n authoredBasis.artifacts[0]!.sourcePath = 'linked-source/outside.ts';\n writeFileSync(basisPath, `${JSON.stringify(authoredBasis, null, 2)}\\n`, 'utf8');\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('resolves outside the framework repository');\n });\n\n it('preserves the last valid materialized payload when candidate generation fails', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-atomic-publication-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n const layout = resolveFrameworkLayout(frameworkRoot);\n const priorManifestBytes = readFileSync(join(layout.frameworkKnowledgeOutputHome, 'manifest.json'));\n // Corrupt an authored assurance basis so the NEXT candidate generation fails after staging began.\n const basisPath = join(\n layout.frameworkKnowledgePackageHome,\n 'src',\n 'assurance-authority-bases',\n 'wildo-safe-baseline-v1',\n 'authority-basis.json',\n );\n mkdirSync(dirname(basisPath), { recursive: true });\n writeFileSync(basisPath, '{ this is not JSON', 'utf8');\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('is not valid JSON');\n expect(readFileSync(join(layout.frameworkKnowledgeOutputHome, 'manifest.json'))).toEqual(priorManifestBytes);\n expect(readdirSync(dirname(layout.frameworkKnowledgeOutputHome)).filter((name) => name.startsWith('.knowledge-staging-'))).toEqual([]);\n });\n\n it('compiles the TypeScript-authored phase gate into exact protocol and treatment artifacts', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-typescript-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeCurrentTypeScriptPhaseGate(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'top_down.phase-gate',\n );\n const protocolBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'));\n const treatmentBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'));\n const treatment = MetaWorkflow_EvaluationTreatmentDefinitionSchema.parse(\n JSON.parse(treatmentBytes.toString('utf8')) as unknown,\n );\n const compiledPhaseGate = JSON.parse(readFileSync(join(outputPlaybookRoot, 'playbook.json'), 'utf8')) as {\n inputs: Array<{ family: string }>;\n preconditions: Array<{ selector?: { family?: string } }>;\n };\n expect(compiledPhaseGate.inputs.map((input) => input.family)).toEqual([\n 'vision-brief',\n 'market-snapshot',\n 'requirements',\n 'roadmap',\n 'feature-drafts',\n 'business-model',\n ]);\n /*\n * `business-model` was pinned as ABSENT here until 2026-08-28, and the reason it was absent has\n * gone: no playbook produced that family, so declaring it would have been a dangling input — the\n * defect `wildo fwk audit` rule 23 now catches mechanically. `top_down.business-model` produces\n * it, so the gate can see the commercial intent.\n *\n * Declared as an INPUT and deliberately not as a precondition: the gate must not become\n * ineligible for every application that has never sketched a business model.\n */\n expect(compiledPhaseGate.preconditions.map((precondition) => precondition.selector?.family)).not.toContain('business-model');\n expect(treatment.evaluationProtocol.criteria).toHaveLength(5);\n expect(treatment.authorityRequirement).toEqual(expect.objectContaining({\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n }));\n expect(JSON.parse(protocolBytes.toString('utf8'))).toEqual(treatment.evaluationProtocol);\n\n const definitionPath = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.phase-gate',\n 'playbook.definition.ts',\n );\n const currentDefinition = readFileSync(definitionPath, 'utf8');\n const obsoleteInputDefinition = currentDefinition.replace(\n \"{ family: 'feature-drafts' }\",\n \"{ family: 'business-model' }\",\n );\n expect(obsoleteInputDefinition).not.toBe(currentDefinition);\n writeFileSync(definitionPath, obsoleteInputDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n /*\n * The INPUT-family edit changes the compiled playbook but NOT the treatment artifacts: with the\n * provenance-digest coupling deleted, an artifact's bytes move only when its own semantic content\n * (the criteria) moves. That decoupling is deliberate, so both directions are pinned.\n */\n expect(JSON.parse(readFileSync(join(outputPlaybookRoot, 'playbook.json'), 'utf8')) as { inputs: Array<{ family: string }> })\n .not.toEqual(compiledPhaseGate);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toEqual(protocolBytes);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toEqual(treatmentBytes);\n\n writeFileSync(definitionPath, currentDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toEqual(protocolBytes);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toEqual(treatmentBytes);\n\n const playbooksRegistry = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'playbooks.json'),\n 'utf8',\n ),\n ) as {\n entries: Record<string, {\n sourceFormat: string;\n evaluationProtocol: { protocolRef: string };\n evaluationTreatment: { definitionRef: string };\n }>;\n };\n const entry = playbooksRegistry.entries['top_down.phase-gate'];\n expect(entry.sourceFormat).toBe('EFFECT_FREE_TYPESCRIPT_MODULE_V1');\n // The registry names the artifacts by ref@version only; the digest identity layer is deleted.\n expect(entry.evaluationProtocol.protocolRef).toBe(treatment.evaluationProtocol.protocolRef);\n expect(entry.evaluationTreatment.definitionRef).toBe(treatment.definitionRef);\n\n copyPackageSourcesIntoDist(frameworkRoot);\n const previewModule = await import(\n pathToFileURL(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts'),\n ).href\n );\n const loaded = previewModule.getFrameworkKnowledgePlaybook('top_down.phase-gate') as {\n evaluationProtocol: { value: unknown; bytes: Uint8Array };\n evaluationTreatment: { value: unknown; bytes: Uint8Array };\n };\n expect(loaded.evaluationProtocol.value).toEqual(treatment.evaluationProtocol);\n expect(loaded.evaluationProtocol.bytes).toEqual(protocolBytes);\n expect(loaded.evaluationTreatment.value).toEqual(treatment);\n expect(loaded.evaluationTreatment.bytes).toEqual(treatmentBytes);\n\n const changedDefinition = readFileSync(definitionPath, 'utf8').replace(\n 'Determine whether every current-horizon vision success criterion is delivered by at least one roadmap phase. Keep success criteria distinct from implementation tasks or generic aspirations.',\n 'Determine whether each current-horizon vision success criterion is delivered by at least one roadmap phase and report every weak delivery link. Keep success criteria distinct from implementation tasks or generic aspirations.',\n );\n expect(changedDefinition).not.toBe(readFileSync(definitionPath, 'utf8'));\n writeFileSync(definitionPath, changedDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n const changedProtocolBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'));\n const changedTreatmentBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'));\n expect(changedProtocolBytes).not.toEqual(protocolBytes);\n expect(changedTreatmentBytes).not.toEqual(treatmentBytes);\n\n // Regeneration is proven by the artifact BYTES changing above; the registry digest identity layer is deleted.\n });\n\n it('compiles a native definition without recreating a legacy evaluation treatment', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-native-definition-only-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'bottom_up.native-definition-only',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n [\n '/**',\n ' * A native method declaration intentionally leaves assessment composition to the generic loop.',\n ' * It must not manufacture a legacy per-playbook evaluation treatment merely to be generated.',\n ' */',\n 'export const playbookDefinition = {',\n \" ref: 'bottom_up.native-definition-only',\",\n \" version: '0.1.0',\",\n \" phase: 'bottom_up',\",\n \" intent: 'A native playbook fixture without a legacy treatment.',\",\n ' functionalTopics: [],',\n ' preconditions: [],',\n ' inputs: [],',\n ' outputs: [],',\n ' method: { skillRefs: [] },',\n \" executor: 'human',\",\n \" approval: 'approve_before',\",\n ' budget: { maxRuns: 1 },',\n \" onFailure: 'keep_and_flag',\",\n '} as const;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(join(playbookRoot, 'method.md'), '# Concise native method\\n', 'utf8');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'playbooks',\n 'bottom_up.native-definition-only',\n );\n expect(existsSync(join(outputPlaybookRoot, 'playbook.json'))).toBe(true);\n expect(existsSync(join(outputPlaybookRoot, 'method.md'))).toBe(true);\n expect(existsSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toBe(false);\n expect(existsSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toBe(false);\n\n const registry = JSON.parse(readFileSync(join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'registries',\n 'playbooks.json',\n ), 'utf8')) as { entries: Record<string, Record<string, unknown>> };\n expect(registry.entries['bottom_up.native-definition-only']).toMatchObject({\n sourceFormat: 'EFFECT_FREE_TYPESCRIPT_MODULE_V1',\n });\n expect(registry.entries['bottom_up.native-definition-only']).not.toHaveProperty('evaluationProtocol');\n expect(registry.entries['bottom_up.native-definition-only']).not.toHaveProperty('evaluationTreatment');\n });\n\n it('resolves named enum vocabulary to wire values in a TypeScript-authored playbook', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-requirements-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeCurrentTypeScriptRequirementsDefinition(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'top_down.requirements-definition',\n );\n /*\n * The named-enum resolution this test exists for, read off fields a runtime consumes.\n * It asserted `qualityGates[].kind` until 2026-08-29, when that field was deleted for never\n * having been executed (issue #103) — but the assertion's SUBJECT was the compilation of a\n * `MetaWorkflow_*` member into its wire string, not the gate, and every field below still\n * carries it.\n */\n const compiled = JSON.parse(readFileSync(join(\n outputPlaybookRoot,\n 'playbook.json',\n ), 'utf8')) as { phase: string; executor: string; approval: string; onFailure: string };\n expect(compiled).toMatchObject({\n phase: 'top_down',\n executor: 'companion_agent',\n approval: 'approve_result',\n onFailure: 'keep_and_flag',\n });\n\n const actionBytes = readFileSync(join(\n outputPlaybookRoot,\n 'structured-artifact-action.json',\n ));\n const action = assertMetaWorkflowStructuredArtifactActionDefinitionIntegrity(\n JSON.parse(actionBytes.toString('utf8')) as unknown,\n );\n expect(action.actionDefinition.actionRef).toBe(\n 'application-creation:action/requirements-definition',\n );\n expect(action.providerOutputSchema.schemaRef).toBe(\n 'saas-specifications:schema/requirements-snapshot-generation',\n );\n expect(action.outputContract.outputSchemaRef).toBe(\n 'saas-specifications:schema/requirements-snapshot',\n );\n\n const playbooksRegistry = JSON.parse(readFileSync(join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'registries',\n 'playbooks.json',\n ), 'utf8')) as {\n entries: Record<string, {\n structuredArtifactAction: {\n definitionRef: string;\n };\n }>;\n };\n expect(\n playbooksRegistry.entries['top_down.requirements-definition']\n .structuredArtifactAction.definitionRef,\n ).toBe(action.definitionRef);\n });\n\n it('ships the authored skills INDEX.md into the payload and declares skillsIndexPath', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-index-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n writeAuthoredSkillsIndex(frameworkRoot, ['resource-config-wiring']);\n\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as { payload: { skillsIndexPath?: string } };\n expect(manifest.payload.skillsIndexPath).toBe('skills/INDEX.md');\n\n const shippedIndex = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'INDEX.md'),\n 'utf8',\n );\n expect(shippedIndex).toContain('Framework Skills Catalog');\n expect(shippedIndex).toContain('resource-config-wiring');\n });\n\n it('omits skillsIndexPath when no authored INDEX.md exists but still declares the playbooks directory', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-noindex-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(0);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as { payload: { playbooksDirectory: string; skillsIndexPath?: string } };\n expect(manifest.payload.skillsIndexPath).toBeUndefined();\n expect(manifest.payload.playbooksDirectory).toBe('playbooks');\n expect(\n existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks')),\n ).toBe(true);\n expect(existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'INDEX.md'))).toBe(false);\n });\n\n it('throws when the authored playbook declares method.guidance inline', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-guidance-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.inline-guidance', {\n json: { method: { guidance: 'inline prose', skillRefs: [] } },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /method\\.guidance/u,\n );\n });\n\n it('throws when the playbook ref does not match its folder name', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-ref-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.folder-name', {\n json: { ref: 'refinement.other-ref' },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /folder/u,\n );\n });\n\n it('refuses any retired JSON-v1 playbook source regardless of its content', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-retired-json-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n // The JSON-v1 authoring format was deleted at the first-activation hard\n // cut: a leftover playbook.json is refused BEFORE any parse, so even a\n // well-formed JSON object cannot re-enter through the retired format.\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.retired-json', { rawJsonContent: '{ \"ref\": \"refinement.retired-json\" }\\n' });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /retired playbook\\.json source/u,\n );\n });\n\n it('throws when the assembled playbook fails MetaWorkflowPlaybookSchema validation', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-invalid-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.bad-executor', {\n json: { executor: 'not-a-real-executor' },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /MetaWorkflowPlaybookSchema/u,\n );\n });\n\n it('rejects the contained-v1 human approval predicate before compiling a new catalog', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-legacy-approval-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'bottom_up.legacy-approval', {\n json: {\n preconditions: [{ kind: 'human_approved', gateRef: 'playbook:top_down.phase-gate' }],\n },\n });\n\n // The predicate KINDS were deleted from the schema, so the refusal is now the schema parse itself —\n // stronger than the bespoke check it replaces: no unknown kind can compile, not just this one.\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(/preconditions/u);\n });\n\n /*\n * The three pins below own the EFFECT-FREE IMPORT BOUNDARY of `playbook.definition.ts`.\n *\n * The importable vocabularies used to be two hand-maintained maps inside the generation service —\n * a second enumeration of a population the specification packages already publish, with no\n * mechanical link back to them. It failed closed twice in two days on an enum that had just landed\n * beside a playbook using it (`MetaWorkflow_ArtifactIntent`, 2026-08-28; `MetaWorkflow_ContextSource`,\n * 2026-08-29). The maps are now DERIVED by filtering each module's own exports, so the first pin\n * proves the derivation admits a vocabulary nobody registered, and the other two prove the\n * derivation did not remove the boundary while mechanising it — an import with BEHAVIOUR is still\n * refused, from the very same module whose enums are now admitted.\n */\n it('admits an unregistered closed vocabulary because the importable set is derived from the module exports', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-derived-vocabulary-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * Neither enum was ever named by the retired hand-maintained maps, and they come from the two\n * different packages those maps served — so a regression to any restated list reddens this.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.derived-vocabulary', {\n definitionSource: (baselineJson) => [\n \"import { MetaWorkflow_ContextSourceRole } from '@wildo-ai/saas-models/meta-workflows';\",\n \"import { RoadmapPhaseKind } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify({ ...baselineJson, intent: '__INTENT__' }, null, 2)\n .replace('\"__INTENT__\"', 'MetaWorkflow_ContextSourceRole.MANDATORY')\n .replace('\"specifications/src/smoke/\"', 'RoadmapPhaseKind.MVP')} as const;`,\n '',\n ].join('\\n'),\n });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const compiledPlaybook = JSON.parse(readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'refinement.derived-vocabulary',\n 'playbook.json',\n ),\n 'utf8',\n )) as { intent: string; outputs: Array<{ description: string }> };\n // The enum MEMBER VALUES, not the identifiers — proving the AST evaluator resolved each read\n // against the module's real runtime value rather than merely tolerating the import.\n expect(compiledPlaybook.intent).toBe(MetaWorkflow_ContextSourceRole.MANDATORY);\n expect(compiledPlaybook.outputs[0]?.description).toBe(RoadmapPhaseKind.MVP);\n });\n\n it('refuses a playbook definition that imports a FUNCTION from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-function-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n // Same module and same import form as the accepted enums above — only the SHAPE differs.\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.function-import', {\n definitionSource: (baselineJson) => [\n \"import { buildFeatureSpecificationMap } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"buildFeatureSpecificationMap\"/u,\n );\n });\n\n it('refuses a playbook definition that imports a Zod SCHEMA from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-schema-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * A Zod schema is refused by the MEMBER clause — it holds `parse`, `refine` and accessors — not by\n * the prototype clause, even though it is also a class instance. Measured, because the obvious\n * reading is wrong: deleting the prototype clause leaves this pin green. The clauses no module\n * happens to exercise are pinned directly against the predicate below.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.schema-import', {\n definitionSource: (baselineJson) => [\n \"import { MetaWorkflowPlaybookSchema } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"MetaWorkflowPlaybookSchema\"/u,\n );\n });\n\n it('refuses a playbook definition that imports a NESTED const map from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-nested-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * `CONCERNS_BY_DOCUMENT` is a plain object with `Object.prototype`, exactly like an enum — it fails\n * only because its members are not scalars. Without this pin the member clause would be reachable\n * from a real playbook and unguarded there, and behaviour one level down is precisely what an\n * evaluation contracted to have none must not reach.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.nested-import', {\n definitionSource: (baselineJson) => [\n \"import { CONCERNS_BY_DOCUMENT } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"CONCERNS_BY_DOCUMENT\"/u,\n );\n });\n\n it('throws when the playbook folder is missing its method.md', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-nomethod-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.no-method', { omitMethodFile: true });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /method\\.md/u,\n );\n });\n\n it('can be consumed from the dist seam in local package-preview mode', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-preview-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring');\n writeAuthoredSkillsIndex(frameworkRoot, ['resource-schema-authoring']);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.preview-pass');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n copyPackageSourcesIntoDist(frameworkRoot);\n\n const previewModule = await import(\n pathToFileURL(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts'),\n ).href\n );\n\n const manifest = previewModule.getFrameworkKnowledgeManifest() as { packageName: string };\n expect(manifest.packageName).toBe('@wildo-ai/framework-knowledge');\n\n const topics = previewModule.listFrameworkKnowledgeTopics() as Array<{ topicId: string }>;\n expect(topics.some((entry) => entry.topicId === 'resource-schema-authoring')).toBe(true);\n\n const topic = previewModule.getFrameworkKnowledgeTopic('resource-schema-authoring') as {\n referencesByFile: Record<string, string>;\n skillsByFile: Record<string, string>;\n };\n expect(topic.referencesByFile['resource-schema-authoring.md']).toContain('ExampleSchema');\n expect(topic.referencesByFile['resource-schema-authoring.md']).toContain('@wildo-ai/saas-models');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('Target Application Framing');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('ExampleSchema');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('ExampleResourceUI');\n\n // Loader round-trip for the new artifact kinds (playbooks + skills INDEX).\n const playbookEntries = previewModule.listFrameworkKnowledgePlaybooks() as Array<{ ref: string }>;\n expect(playbookEntries.map((entry) => entry.ref)).toEqual(['refinement.preview-pass']);\n\n const playbook = previewModule.getFrameworkKnowledgePlaybook('refinement.preview-pass') as {\n entry: { version: string };\n playbook: { ref: string; method: { guidance: string } };\n methodMarkdown: string;\n };\n expect(playbook.entry.version).toBe('0.1.0');\n expect(playbook.playbook.ref).toBe('refinement.preview-pass');\n expect(playbook.playbook.method.guidance).toContain('Target Application Framing');\n expect(playbook.methodMarkdown).toContain('Target Application Framing');\n expect(previewModule.getFrameworkKnowledgePlaybook('missing.playbook')).toBeNull();\n\n const skillsIndex = previewModule.getFrameworkKnowledgeSkillsIndex() as string | null;\n expect(skillsIndex).toContain('Framework Skills Catalog');\n expect(skillsIndex).toContain('resource-schema-authoring');\n });\n\n it('warns and ignores legacy inline anchor syntax', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-legacy-inline-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { includeLegacyInlineAnchor: true });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.warnings).toEqual([\n 'Legacy inline @wildo_source(...) syntax is no longer supported in engine/saas-models/src/knowledge-example.ts:10. Use @wildo_source:file or @wildo_source:part:start/end instead.',\n ]);\n });\n\n it('ignores directive-looking strings that are not comment directives', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-false-positive-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeNonDirectiveStringInput(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.topicCount).toBe(0);\n expect(result.sectionCount).toBe(0);\n expect(result.warnings).toEqual([\n 'No @wildo_source anchors were extracted. The framework-knowledge payload was generated with empty registries.',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as { topics: Array<{ topicId: string }> };\n expect(topicIndex.topics).toEqual([]);\n });\n /*\n * Direct pins on the effect-free boundary predicate. They exist because the generator seam cannot\n * isolate every clause: an admitted module would have to export a plain object carrying a getter, a\n * nested value or a symbol member for those clauses to be reachable through a playbook fixture, and\n * none does. Each case below reddens exactly one clause.\n */\n it('admits only inert closed vocabularies as playbook-importable runtime values', () => {\n // Admitted: the two shapes a closed vocabulary actually takes.\n expect(isInertClosedVocabularyRuntimeValue(RoadmapPhaseKind)).toBe(true);\n expect(isInertClosedVocabularyRuntimeValue({ ALPHA: 'alpha', ORDINAL: 1 })).toBe(true);\n expect(isInertClosedVocabularyRuntimeValue(Object.create(null) as object)).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(Object.assign(Object.create(null) as object, { A: 'a' }))).toBe(true);\n\n // Refused — behaviour, in every form it can arrive in.\n expect(isInertClosedVocabularyRuntimeValue(() => 'a')).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue({ A: () => 'a' })).toBe(false);\n // A GETTER is the sharpest case: reading it would run code inside an evaluation whose contract is\n // that it runs none, and its VALUE can look like a perfectly ordinary enum member.\n expect(isInertClosedVocabularyRuntimeValue(Object.defineProperty({}, 'A', { get: () => 'a', enumerable: true }))).toBe(false);\n // A class instance whose own members are all strings — refused by the prototype clause alone.\n class VocabularyLikeInstance { public readonly A = 'a'; }\n expect(isInertClosedVocabularyRuntimeValue(new VocabularyLikeInstance())).toBe(false);\n // Nesting would let behaviour in one level down, where the member clause no longer looks.\n expect(isInertClosedVocabularyRuntimeValue({ A: { B: 'b' } })).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue({ A: ['a'] })).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(['a'])).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(null)).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue('a')).toBe(false);\n // A symbol member can carry anything, and `Object.keys` never sees it.\n expect(isInertClosedVocabularyRuntimeValue({ A: 'a', [Symbol('behaviour')]: () => 'b' })).toBe(false);\n // A vocabulary with no members is not a vocabulary.\n expect(isInertClosedVocabularyRuntimeValue({})).toBe(false);\n });\n});\n"]}
1
+ {"version":3,"file":"framework-knowledge-generation.service.test.js","sourceRoot":"","sources":["../../../../../src/services/framework/__tests__/framework-knowledge-generation.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACvH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,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I,CAAC,KAAK,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, describe, expect, it } from 'vitest';\nimport { mkdtempSync, mkdirSync, readdirSync, readFileSync, rmSync, symlinkSync, writeFileSync, existsSync } from 'fs';\nimport { dirname, join } from 'path';\nimport { tmpdir } from 'os';\nimport { fileURLToPath, pathToFileURL } from 'url';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { assertMetaWorkflowStructuredArtifactActionDefinitionIntegrity } from '@wildo-ai/saas-backend-lib';\nimport {\n MetaWorkflow_EvaluationTreatmentDefinitionSchema,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContextSourceRole,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport { RoadmapPhaseKind } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n FrameworkKnowledgeGenerationService,\n isInertClosedVocabularyRuntimeValue,\n} from '~wildo-cli/services/framework/framework-knowledge-generation.service';\n\nconst tempDirs: string[] = [];\nconst packageSourceDirectory = fileURLToPath(\n new URL('../../../../../framework-knowledge/src/', import.meta.url),\n);\n\nfunction writeFrameworkConfig(frameworkRoot: string): void {\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n mkdirSync(frameworkLayout.markerHome, { recursive: true });\n writeFileSync(\n frameworkLayout.declarationConfigPath,\n [\n \"import { defineFrameworkConfig, WildoFrameworkDockerImageRole, WildoFrameworkDockerImageVariant } from '@wildo-ai/platform-config-lib';\",\n 'export default defineFrameworkConfig({',\n \" frameworkVersion: '0.7.0',\",\n \" minCliVersion: '0.2.0',\",\n ' publish: {',\n \" npm: { scope: '@wildo-ai', repositoryUrl: 'https://github.com/wildo-ai/wildo-ai', packages: ['@wildo-ai/framework-knowledge'] },\",\n \" docker: { registryHost: 'docker.io', namespace: 'wildoai', images: [{ imageName: 'wildo-platform', role: WildoFrameworkDockerImageRole.PLATFORM_SERVICE, variant: WildoFrameworkDockerImageVariant.DEFAULT }] },\",\n ' },',\n '});',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n writeFileSync(\n join(frameworkRoot, 'wildo-framework.info.json'),\n JSON.stringify({ name: 'wildo-ai', version: '0.7.0', minCliVersion: '0.2.0' }, null, 2),\n 'utf8',\n );\n}\n\nfunction writeKnowledgePackageScaffold(frameworkRoot: string): void {\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n const packageRoot = frameworkLayout.frameworkKnowledgePackageHome;\n mkdirSync(packageRoot, { recursive: true });\n writeFileSync(\n join(packageRoot, 'package.json'),\n JSON.stringify({\n name: '@wildo-ai/framework-knowledge',\n type: 'module',\n exports: {\n '.': {\n import: './dist/esm/index.js',\n },\n },\n }, null, 2),\n 'utf8',\n );\n mkdirSync(join(packageRoot, 'src', 'partials'), { recursive: true });\n writeFileSync(\n join(packageRoot, 'src', 'partials', 'target-application-framing.partial.md'),\n [\n '### Target Application Framing',\n '',\n 'This knowledge is for configuring behavior in the target application.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\nfunction writeAuthoredSkillFolder(\n frameworkRoot: string,\n skillId: string,\n options?: { includeReferenceInclude?: boolean },\n): void {\n const skillRoot = join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome, skillId);\n mkdirSync(join(skillRoot, 'references'), { recursive: true });\n mkdirSync(join(skillRoot, 'examples'), { recursive: true });\n writeFileSync(\n join(skillRoot, 'SKILL.md'),\n [\n '---',\n `name: ${skillId}`,\n `description: Skill for ${skillId}.`,\n '---',\n '',\n `# ${skillId}`,\n '',\n '{{PARTIAL:partials/target-application-framing.partial.md}}',\n '',\n '## Source Excerpts',\n '',\n '{{SOURCE_EXCERPTS_LEVEL3}}',\n '',\n '## Usage Examples',\n '',\n '{{USAGE_EXAMPLES_LEVEL3}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'references', 'decorator-patterns.md'),\n [\n '# Decorator Patterns',\n '',\n 'This is a reference file for decorator patterns.',\n ...(options?.includeReferenceInclude\n ? [\n '',\n '{{REFERENCE:factory.example.partial}}',\n ]\n : []),\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'examples', 'add-enum-field.example.md'),\n [\n '# Add an Enum Field',\n '',\n 'This is an example of adding an enum field.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n\nfunction writeAuthoredAssuranceAuthorityBasis(\n frameworkRoot: string,\n options?: { sourcePathPrefixes?: string[]; extraSourceFiles?: Record<string, string> },\n): void {\n const packageRoot = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome;\n const basisRoot = join(packageRoot, 'src', 'assurance-authority-bases', 'wildo-safe-baseline-v1');\n const sources = [\n ['implementation-artifact:wildo.application-role-contract', 'engine/saas-models/src/security/authorizations/roles.shared.schemas.ts'],\n ['implementation-artifact:wildo.audit-log-service', 'engine/saas-backend-lib/src/compliance/audit-trails/services/audit-logs.backend.service.ts'],\n ] as const;\n for (const [, sourcePath] of sources) {\n const absolutePath = join(frameworkRoot, sourcePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n writeFileSync(absolutePath, `export const fixture = ${JSON.stringify(sourcePath)};\\n`, 'utf8');\n }\n const modelsRoot = join(frameworkRoot, 'engine', 'saas-models');\n const backendRoot = join(frameworkRoot, 'engine', 'saas-backend-lib');\n writeFileSync(\n join(modelsRoot, 'package.json'),\n `${JSON.stringify({ name: '@wildo-ai/saas-models', scripts: { build: 'node ../../scripts/run-tsc-alias-safe.mjs' } }, null, 2)}\\n`,\n 'utf8',\n );\n writeFileSync(\n join(backendRoot, 'package.json'),\n `${JSON.stringify({ name: '@wildo-ai/saas-backend-lib', dependencies: { '@wildo-ai/saas-models': 'workspace:*' } }, null, 2)}\\n`,\n 'utf8',\n );\n writeFileSync(join(modelsRoot, 'src', 'security', 'authorizations', 'roles.behavior-helper.ts'), 'export const roleBehavior = \"v1\";\\n', 'utf8');\n writeFileSync(join(modelsRoot, 'src', 'security', 'authorizations', 'ä-runtime-helper.ts'), 'export const unicodeNamedBehavior = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'pnpm-lock.yaml'), 'lockfileVersion: 9.0\\n', 'utf8');\n mkdirSync(join(frameworkRoot, 'scripts'), { recursive: true });\n writeFileSync(join(frameworkRoot, 'scripts', 'run-tsc-alias-safe.mjs'), 'import \"./touch-runtime-signal.mjs\";\\nexport const finalizer = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'scripts', 'touch-runtime-signal.mjs'), 'export const runtimeSignal = \"v1\";\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'engine', 'tsconfig.common.json'), '{\"compilerOptions\":{\"strict\":true}}\\n', 'utf8');\n writeFileSync(join(frameworkRoot, 'tsconfig.build.json'), '{\"extends\":\"./engine/tsconfig.common.json\",\"compilerOptions\":{}}\\n', 'utf8');\n for (const [relativePath, contents] of Object.entries(options?.extraSourceFiles ?? {})) {\n const absolutePath = join(frameworkRoot, relativePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n writeFileSync(absolutePath, contents, 'utf8');\n }\n mkdirSync(basisRoot, { recursive: true });\n writeFileSync(\n join(basisRoot, 'authority-basis.json'),\n `${JSON.stringify(\n {\n basisDefinitionRef: 'assurance-authority-basis-definition:wildo-safe-baseline-v1',\n sourceRevisionRef: 'source-revision:wildo-engine-assurance-safe-baseline-v1',\n artifacts: sources.map(([artifactRef, sourcePath]) => ({ artifactRef, sourcePath })),\n },\n null,\n 2,\n )}\\n`,\n 'utf8',\n );\n}\n\nfunction writeAuthoredSkillsIndex(frameworkRoot: string, citedSkillIds: string[]): void {\n const skillsHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome;\n mkdirSync(skillsHome, { recursive: true });\n writeFileSync(\n join(skillsHome, 'INDEX.md'),\n [\n '# Framework Skills Catalog',\n '',\n '| Skill | Trigger phrases |',\n '|-------|-----------------|',\n ...citedSkillIds.map((skillId) => `| **\\`${skillId}\\`** | \"use ${skillId}\" |`),\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n/**\n * Authored playbook fixture. `json` overrides merge over a valid baseline so\n * each test states only the axis it exercises. The baseline deliberately\n * omits `method.guidance` (the generator injects it from method.md) and\n * relies on schema defaults for the array fields, so the compiled output\n * also pins default materialization.\n */\nfunction writeAuthoredPlaybookFolder(\n frameworkRoot: string,\n folderName: string,\n options?: {\n json?: Record<string, unknown>;\n methodBody?: string;\n omitMethodFile?: boolean;\n /** Raw file content bypassing JSON serialization (degenerate-JSON cases). */\n rawJsonContent?: string;\n /**\n * Raw `playbook.definition.ts` content, for cases whose subject is the SOURCE — the effect-free\n * import boundary — rather than the resulting playbook object. Receives the baseline JSON so a\n * case can stay schema-valid while exercising one authoring construct.\n */\n definitionSource?: (baselineJson: Record<string, unknown>) => string;\n },\n): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n folderName,\n );\n mkdirSync(playbookRoot, { recursive: true });\n\n const playbookJson = {\n ref: folderName,\n version: '0.1.0',\n phase: 'cross_cutting',\n intent: 'Fixture playbook for generation tests.',\n outputs: [\n {\n family: 'smoke-artifact',\n schemaRef: 'saas-specifications:MetaWorkflowPlaybook',\n /*\n * The ENUM-EVALUATOR PROBE SLOT. One test rewrites this literal into a member read from\n * `@wildo-ai/saas-specifications`, so the fixture needs a free-form string field on the\n * output whose value nothing else constrains. It rode on `outputs[].placement` until that\n * field was deleted 2026-08-30 for never being read; the probe moved here rather than\n * going with it, because what it proves is about the evaluator, not about placement.\n */\n description: 'specifications/src/smoke/',\n },\n ],\n method: { skillRefs: [] },\n executor: 'human',\n approval: 'approve_before',\n budget: { maxRuns: 1 },\n onFailure: 'keep_and_flag',\n ...options?.json,\n };\n if (options?.rawJsonContent !== undefined) {\n // The RETIRED JSON-v1 authoring format — used only to pin the generator's\n // hard refusal of a leftover playbook.json.\n writeFileSync(join(playbookRoot, 'playbook.json'), options.rawJsonContent, 'utf8');\n } else if (options?.definitionSource !== undefined) {\n writeFileSync(join(playbookRoot, 'playbook.definition.ts'), options.definitionSource(playbookJson), 'utf8');\n } else {\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n `export const playbookDefinition = ${JSON.stringify(playbookJson, null, 2)} as const;\\n`,\n 'utf8',\n );\n }\n\n if (!options?.omitMethodFile) {\n writeFileSync(\n join(playbookRoot, 'method.md'),\n options?.methodBody\n ?? [\n '# Fixture Method',\n '',\n '{{PARTIAL:partials/target-application-framing.partial.md}}',\n '',\n 'Follow the fixture method.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n }\n}\n\nfunction writeCurrentTypeScriptPhaseGate(frameworkRoot: string): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.phase-gate',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.phase-gate', 'playbook.definition.ts'), 'utf8'),\n 'utf8',\n );\n writeFileSync(\n join(playbookRoot, 'method.md'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.phase-gate', 'method.md'), 'utf8'),\n 'utf8',\n );\n}\n\nfunction writeCurrentTypeScriptRequirementsDefinition(frameworkRoot: string): void {\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.requirements-definition',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.requirements-definition', 'playbook.definition.ts'), 'utf8'),\n 'utf8',\n );\n writeFileSync(\n join(playbookRoot, 'method.md'),\n readFileSync(join(packageSourceDirectory, 'playbooks', 'top_down.requirements-definition', 'method.md'), 'utf8'),\n 'utf8',\n );\n}\n\nfunction writeTaggedSourceInputs(\n frameworkRoot: string,\n options?: { includeLegacyInlineAnchor?: boolean; topicId?: string },\n): void {\n const topicId = options?.topicId ?? 'resources.example.schemas';\n const enginePackageDir = join(frameworkRoot, 'engine', 'saas-models');\n const engineSourceDir = join(enginePackageDir, 'src');\n mkdirSync(engineSourceDir, { recursive: true });\n writeFileSync(\n join(enginePackageDir, 'package.json'),\n JSON.stringify({ name: '@wildo-ai/saas-models', type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(engineSourceDir, 'knowledge-example.ts'),\n [\n `/** @wildo_source:file ${topicId} */`,\n 'export const ExampleSchema = { name: \"example\" };',\n '',\n '/** @wildo_source:part:start factory.example.partial facet:layer:frontend facet:family:enum facet:surface:display */',\n 'export function buildExample() {',\n ' return ExampleSchema;',\n '}',\n '/** @wildo_source:part:end factory.example.partial */',\n ...(options?.includeLegacyInlineAnchor\n ? [\n '',\n '/** @wildo_source(legacy.example.anchor) */',\n ]\n : []),\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const docsDir = join(frameworkRoot, 'docs');\n mkdirSync(docsDir, { recursive: true });\n writeFileSync(\n join(docsDir, 'framework-knowledge.md'),\n [\n '<!-- @wildo_source:file docs.framework.knowledge -->',\n '# Framework Knowledge',\n '',\n 'This is a markdown-owned reference section.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const exampleAppDir = join(frameworkRoot, 'examples', 'sample-app');\n mkdirSync(join(exampleAppDir, 'src'), { recursive: true });\n writeFileSync(\n join(exampleAppDir, 'package.json'),\n JSON.stringify({ name: '@sample/main-app', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(exampleAppDir, 'src', 'resource-ui.example.ts'),\n [\n `/** @wildo_source:part:start ${topicId} facet:kind:usage-example facet:audience:app-developer */`,\n 'export const ExampleResourceUI = {',\n \" priority: 'badge-with-colors',\",\n '};',\n `/** @wildo_source:part:end ${topicId} */`,\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\nfunction writeNonDirectiveStringInput(frameworkRoot: string): void {\n const engineSourceDir = join(frameworkRoot, 'engine', 'saas-models', 'src');\n mkdirSync(engineSourceDir, { recursive: true });\n writeFileSync(\n join(engineSourceDir, 'non-directive-example.ts'),\n [\n 'export const fakeFileDirective = \"@wildo_source:file fake.file.topic\";',\n 'export const fakePartStartDirective = \"@wildo_source:part:start fake.part.topic\";',\n 'export const fakePartEndDirective = \"@wildo_source:part:end fake.part.topic\";',\n '',\n ].join('\\n'),\n 'utf8',\n );\n}\n\n/**\n * Dist seam preview: stage every top-level `.ts` source file from\n * `framework-knowledge/src/` into a fake `dist/esm/` folder. Vitest then\n * loads `index.ts` directly through its TS transformer (compile-on-demand),\n * so we do not need a real `pnpm build`. Enumerating the source directory\n * dynamically (instead of hardcoding a fixed list of files) keeps this test\n * honest as the package's module graph evolves — any new top-level source\n * file shipped by `@wildo-ai/framework-knowledge` is picked up automatically.\n *\n * Note: only top-level `.ts` files are copied (subdirectories are not\n * recursed). Add recursion here if `framework-knowledge` ever grows nested\n * source folders re-exported from `index.ts`.\n */\nfunction copyPackageSourcesIntoDist(frameworkRoot: string): void {\n const distDirectory = join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome, 'dist', 'esm');\n mkdirSync(distDirectory, { recursive: true });\n\n const sourceFiles = readdirSync(packageSourceDirectory, { withFileTypes: true })\n .filter((entry) => entry.isFile() && entry.name.endsWith('.ts'))\n .map((entry) => entry.name);\n\n for (const fileName of sourceFiles) {\n writeFileSync(\n join(distDirectory, fileName),\n readFileSync(join(packageSourceDirectory, fileName), 'utf8'),\n 'utf8',\n );\n }\n}\n\ndescribe('FrameworkKnowledgeGenerationService', () => {\n afterEach(() => {\n for (const dir of tempDirs.splice(0)) {\n rmSync(dir, { recursive: true, force: true });\n }\n });\n\n it('materializes skill folders with supporting files into the output', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-gen-'));\n const frameworkLayout = resolveFrameworkLayout(frameworkRoot);\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring', { includeReferenceInclude: true });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.frameworkVersion).toBe('0.7.0');\n expect(result.outputDirectory).toBe(frameworkLayout.frameworkKnowledgeOutputHome);\n expect(result.warnings).toEqual([]);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as {\n packageName: string;\n topicCount: number;\n payload: { skillsDirectory: string };\n registries: Array<{ registryName: string }>;\n };\n expect(manifest.packageName).toBe('@wildo-ai/framework-knowledge');\n expect(manifest.payload.skillsDirectory).toBe('skills');\n expect((manifest.payload as Record<string, unknown>)['guidesDirectory']).toBeUndefined();\n expect(manifest.registries.map((entry) => entry.registryName)).toEqual([\n 'source-tags',\n 'framework-topics',\n 'playbooks',\n 'assurance-authority-bases',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as {\n topics: Array<{ topicId: string; skillFiles?: string[] }>;\n };\n const skillTopic = topicIndex.topics.find((entry) => entry.topicId === 'resource-schema-authoring');\n expect(skillTopic).toBeDefined();\n expect(skillTopic?.skillFiles).toEqual([\n 'resource-schema-authoring/SKILL.md',\n 'resource-schema-authoring/references/decorator-patterns.md',\n 'resource-schema-authoring/examples/add-enum-field.example.md',\n ]);\n\n const skillMarkdown = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'SKILL.md'),\n 'utf8',\n );\n expect(skillMarkdown).toContain('name: resource-schema-authoring');\n expect(skillMarkdown).toContain('Target Application Framing');\n expect(skillMarkdown).toContain('Origin Package: `@wildo-ai/saas-models`');\n expect(skillMarkdown).toContain('Usage Example');\n expect(skillMarkdown).not.toContain('Example Package: `@sample/main-app`');\n expect(skillMarkdown).toContain('ExampleSchema');\n expect(skillMarkdown).toContain('ExampleResourceUI');\n expect(skillMarkdown).not.toContain('@wildo_source:');\n expect(skillMarkdown).not.toContain('{{PARTIAL:');\n expect(skillMarkdown).not.toContain('{{SOURCE_EXCERPTS');\n\n const referenceCopy = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'references', 'decorator-patterns.md'),\n 'utf8',\n );\n expect(referenceCopy).toContain('Decorator Patterns');\n expect(referenceCopy).toContain('## Source Excerpts');\n expect(referenceCopy).toContain('### Origin Package: `@wildo-ai/saas-models`');\n expect(referenceCopy).toContain('buildExample');\n expect(referenceCopy).not.toContain('{{REFERENCE:');\n\n const exampleCopy = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-schema-authoring', 'examples', 'add-enum-field.example.md'),\n 'utf8',\n );\n expect(exampleCopy).toContain('Add an Enum Field');\n\n expect(\n existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'guides')),\n ).toBe(false);\n });\n\n it('refuses staged guidance that leaks a maintainer workstation path', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-package-only-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring');\n writeFileSync(\n join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome, 'resource-schema-authoring', 'SKILL.md'),\n [\n '---',\n 'name: resource-schema-authoring',\n 'description: Use when \"author a resource\".',\n '---',\n '',\n 'Read `/Users/framework-maintainer/private-playbook.md` before editing the application.',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('not package-only');\n });\n\n it('resolves `example.*` anchors from both Tier A (examples app) and Tier B (engine JSDoc)', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-example-prefix-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const tierAAppDir = join(frameworkRoot, 'examples', 'sample-app');\n mkdirSync(join(tierAAppDir, 'src'), { recursive: true });\n writeFileSync(\n join(tierAAppDir, 'package.json'),\n JSON.stringify({ name: '@sample/main-app', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(tierAAppDir, 'src', 'tasks.ui-behavior.ts'),\n [\n '/** @wildo_source:part:start example.resource.ui-behavior.enum-badge facet:kind:usage-example facet:audience:app-developer */',\n 'export const tasksPriorityUIBehavior = {',\n \" priority: 'badge-with-colors',\",\n '};',\n '/** @wildo_source:part:end example.resource.ui-behavior.enum-badge */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const tierBPackageDir = join(frameworkRoot, 'engine', 'saas-backend-lib');\n const tierBSourceDir = join(tierBPackageDir, 'src', 'notifications', 'email');\n mkdirSync(tierBSourceDir, { recursive: true });\n writeFileSync(\n join(tierBPackageDir, 'package.json'),\n JSON.stringify({ name: '@wildo-ai/saas-backend-lib', type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(tierBSourceDir, 'email-template.example.ts'),\n [\n '/** @wildo_source:part:start example.email.template.minimal facet:kind:usage-example facet:audience:app-developer */',\n 'export const minimalEmailTemplate = {',\n \" subject: 'Welcome',\",\n \" body: 'Hello, {{user_first_name}}!',\",\n '};',\n '/** @wildo_source:part:end example.email.template.minimal */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const skillId = 'email-add-template';\n const skillRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome,\n skillId,\n );\n mkdirSync(join(skillRoot, 'references'), { recursive: true });\n writeFileSync(\n join(skillRoot, 'SKILL.md'),\n [\n '---',\n `name: ${skillId}`,\n `description: Skill for ${skillId}.`,\n '---',\n '',\n `# ${skillId}`,\n '',\n '## Usage Examples',\n '',\n '{{USAGE_EXAMPLES_LEVEL3}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(skillRoot, 'references', 'framework-email-example.md'),\n [\n '# Email Example References',\n '',\n '## Tier B — illustrative framework JSDoc',\n '',\n '{{REFERENCE:example.email.template.minimal}}',\n '',\n '## Tier A — stable app usage',\n '',\n '{{REFERENCE:example.resource.ui-behavior.enum-badge}}',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.warnings).toEqual([]);\n\n const topicIndex = JSON.parse(\n readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'topic-index.json',\n ),\n 'utf8',\n ),\n ) as { topics: Array<{ topicId: string }> };\n const topicIds = topicIndex.topics.map((entry) => entry.topicId);\n expect(topicIds).toContain('example.email.template.minimal');\n expect(topicIds).toContain('example.resource.ui-behavior.enum-badge');\n\n const referenceRendered = readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'skills',\n skillId,\n 'references',\n 'framework-email-example.md',\n ),\n 'utf8',\n );\n expect(referenceRendered).toContain('minimalEmailTemplate');\n expect(referenceRendered).toContain('tasksPriorityUIBehavior');\n expect(referenceRendered).toContain('Usage Example');\n expect(referenceRendered).not.toContain('@wildo-ai/saas-backend-lib');\n expect(referenceRendered).not.toContain('@sample/main-app');\n expect(referenceRendered).not.toContain('{{REFERENCE:');\n });\n\n it('translates a dogfooding application identity in extracted examples without dropping the example', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-portable-example-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const appDirectory = join(frameworkRoot, 'examples', 'wonder-todos');\n mkdirSync(join(appDirectory, 'src'), { recursive: true });\n writeFileSync(\n join(appDirectory, 'package.json'),\n JSON.stringify({ name: '@wonder-todos/shared-lib', private: true, type: 'module' }, null, 2),\n 'utf8',\n );\n writeFileSync(\n join(appDirectory, 'src', 'portable-example.ts'),\n [\n '/** @wildo_source:part:start example.portable-identity facet:kind:usage-example facet:audience:app-developer */',\n \"export const example = { applicationName: 'Wonder Todos', packageName: '@wonder-todos/shared-lib', sourcePath: 'examples/wonder-todos/shared-lib/src/example.ts' };\",\n '/** @wildo_source:part:end example.portable-identity */',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeAuthoredSkillFolder(frameworkRoot, 'portable_example');\n writeFileSync(\n join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredSkillsHome,\n 'portable_example',\n 'references',\n 'portable-example.md',\n ),\n ['# Portable example', '', '{{REFERENCE:example.portable-identity}}', ''].join('\\n'),\n 'utf8',\n );\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).resolves.toMatchObject({ warnings: [] });\n\n const rendered = readFileSync(\n join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'skills',\n 'portable_example',\n 'references',\n 'portable-example.md',\n ),\n 'utf8',\n );\n expect(rendered).toContain(\"applicationName: 'Your Application'\");\n expect(rendered).toContain(\"packageName: '@your-app/shared-lib'\");\n expect(rendered).toContain(\"sourcePath: 'shared-lib/src/example.ts'\");\n expect(rendered).not.toMatch(/Wonder Todos|wonder-todos|@wonder-todos/);\n });\n\n it('discovers anchors under dot-directories like `.wildo-saas`', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-dot-dir-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n const hiddenCompanionDir = join(\n frameworkRoot,\n 'examples',\n 'sample-app',\n '.wildo-saas',\n 'wildo-dev-companion',\n 'src',\n );\n mkdirSync(hiddenCompanionDir, { recursive: true });\n writeFileSync(\n join(hiddenCompanionDir, 'hidden-anchor.ts'),\n [\n '/** @wildo_source:file hidden.dotdir.anchor */',\n 'export const hiddenAnchor = true;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.warnings).toEqual([]);\n\n const topicIndex = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'),\n 'utf8',\n ),\n ) as { topics: Array<{ topicId: string }> };\n\n expect(topicIndex.topics.map((entry) => entry.topicId)).toContain('hidden.dotdir.anchor');\n\n const referenceMarkdown = readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'references',\n 'hidden.dotdir.anchor.md',\n ),\n 'utf8',\n );\n expect(referenceMarkdown).toContain('# hidden.dotdir.anchor');\n expect(referenceMarkdown).toContain('Framework Source');\n expect(referenceMarkdown).toContain('hiddenAnchor');\n });\n\n it('excludes generated `.wildo-runtime-signals` trees from source discovery', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-runtime-signals-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot);\n\n const baseline = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n const runtimeSignalSourcePath = join(\n frameworkRoot,\n 'engine',\n 'saas-models',\n '.wildo-runtime-signals',\n 'compile-staging',\n 'generated-anchor.ts',\n );\n mkdirSync(dirname(runtimeSignalSourcePath), { recursive: true });\n writeFileSync(\n runtimeSignalSourcePath,\n [\n '/** @wildo_source:file generated.runtime.signal.anchor */',\n 'export const generatedRuntimeSignalAnchor = true;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.scannedFileCount).toBe(baseline.scannedFileCount);\n expect(result.topicCount).toBe(baseline.topicCount);\n expect(result.sectionCount).toBe(baseline.sectionCount);\n expect(result.warnings).toEqual(baseline.warnings);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as { topics: Array<{ topicId: string }> };\n expect(topicIndex.topics.map((entry) => entry.topicId)).not.toContain('generated.runtime.signal.anchor');\n });\n\n it('supports skill folders without matching anchors (partials-only skills)', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-noanchor-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.warnings).toEqual([\n 'No @wildo_source anchors were extracted. The framework-knowledge payload was generated with empty registries.',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as {\n topics: Array<{ topicId: string; skillFiles?: string[]; sourceReferences?: unknown[] }>;\n };\n const frameworkTopicsRegistry = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'framework-topics.json'), 'utf8'),\n ) as {\n entries: Record<string, { referenceFilePath?: string; sourceReferenceCount: number }>;\n };\n const skillTopic = topicIndex.topics.find((entry) => entry.topicId === 'resource-config-wiring');\n expect(skillTopic).toBeDefined();\n expect(skillTopic?.skillFiles).toEqual([\n 'resource-config-wiring/SKILL.md',\n 'resource-config-wiring/references/decorator-patterns.md',\n 'resource-config-wiring/examples/add-enum-field.example.md',\n ]);\n expect(skillTopic?.sourceReferences).toEqual([]);\n expect(frameworkTopicsRegistry.entries['resource-config-wiring']).toMatchObject({\n sourceReferenceCount: 0,\n });\n expect(frameworkTopicsRegistry.entries['resource-config-wiring']).not.toHaveProperty('referenceFilePath');\n\n const skillMarkdown = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'resource-config-wiring', 'SKILL.md'),\n 'utf8',\n );\n expect(skillMarkdown).toContain('name: resource-config-wiring');\n expect(skillMarkdown).toContain('Target Application Framing');\n expect(skillMarkdown).not.toContain('{{PARTIAL:');\n });\n\n it('materializes playbook folders with validated compiled JSON, rendered method, and the playbooks registry', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.fixture-pass');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as {\n payload: { playbooksDirectory: string; skillsIndexPath?: string };\n registries: Array<{ registryName: string; entryCount: number }>;\n };\n expect(manifest.payload.playbooksDirectory).toBe('playbooks');\n expect(manifest.registries.map((entry) => entry.registryName)).toEqual([\n 'source-tags',\n 'framework-topics',\n 'playbooks',\n 'assurance-authority-bases',\n ]);\n expect(manifest.registries.find((entry) => entry.registryName === 'playbooks')?.entryCount).toBe(1);\n\n const compiledPlaybook = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks', 'refinement.fixture-pass', 'playbook.json'),\n 'utf8',\n ),\n ) as {\n ref: string;\n preconditions: unknown[];\n method: { guidance: string; skillRefs: string[] };\n };\n expect(compiledPlaybook.ref).toBe('refinement.fixture-pass');\n // Schema defaults must be materialized in the compiled artifact.\n expect(compiledPlaybook.preconditions).toEqual([]);\n // method.guidance is injected from the RENDERED method.md — partial expanded.\n expect(compiledPlaybook.method.guidance).toContain('Target Application Framing');\n expect(compiledPlaybook.method.guidance).not.toContain('{{PARTIAL:');\n\n const compiledMethod = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks', 'refinement.fixture-pass', 'method.md'),\n 'utf8',\n );\n expect(compiledMethod).toContain('Target Application Framing');\n\n const playbooksRegistry = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'playbooks.json'), 'utf8'),\n ) as { entries: Record<string, { playbookFilePath: string; methodFilePath: string; version: string }> };\n expect(playbooksRegistry.entries['refinement.fixture-pass']).toMatchObject({\n version: '0.1.0',\n playbookFilePath: 'playbooks/refinement.fixture-pass/playbook.json',\n methodFilePath: 'playbooks/refinement.fixture-pass/method.md',\n });\n });\n\n\n /*\n * A published basis is identified by `ref@version` plus the AUTHORED `sourceRevisionRef` — nothing else.\n *\n * Until 2026-08-27 the registry entry also carried `artifactDigest` and `sourceRevisionDigest`, and this test\n * drove six regenerations (source edit, inherited tsconfig, build finalizer, an imported build helper, a\n * unicode-named file, a non-TS runtime asset) to prove each moved the source-revision digest. All of that is\n * retired with the digests themselves: they compared a payload against a registry shipped inside the same\n * payload, and the basis digest made every consuming application re-accept its controls on any engine byte\n * movement (`.claude/rules/one-source-of-truth.md` Rule 0 — nothing that is not branchable on git). WHICH BYTES\n * an acceptance was made against is answered by the engine's committed git revision plus the commit that\n * recorded the acceptance.\n *\n * The whole-entry `toEqual` below is deliberate rather than field-by-field: it is what fails if a content\n * digest is ever reintroduced into the published identity.\n */\n it('publishes semantic assurance-authority basis bytes without repository source paths', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-basis-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.assuranceAuthorityBasisCount).toBe(1);\n const output = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome;\n const registry = JSON.parse(readFileSync(join(output, 'registries', 'assurance-authority-bases.json'), 'utf8')) as {\n entries: Record<string, { ref: string; version: number; sourceRevisionRef: string; filePath: string; externalFrameworkMappingFilePath?: string }>;\n };\n const entry = registry.entries['assurance-authority-basis:wildo-safe-baseline-v1@1'];\n expect(entry).toEqual({\n ref: 'assurance-authority-basis:wildo-safe-baseline-v1',\n version: 1,\n sourceRevisionRef: 'source-revision:wildo-engine-assurance-safe-baseline-v1',\n filePath: 'assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json',\n externalFrameworkMappingFilePath: 'assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json',\n });\n const basisBytes = readFileSync(join(output, entry!.filePath));\n const basisText = basisBytes.toString('utf8');\n expect(basisText).not.toContain('sourcePath');\n expect(basisText).not.toContain('engine/');\n expect(basisText).not.toContain('pnpm-lock.yaml');\n expect(basisText).toContain('implementation-artifact:wildo.application-role-contract');\n // NO build-closure artifact. It was the only surviving output of a package-graph walk whose\n // result was discarded (#452) — an artifact is now named by an authored ref beside a source\n // path, and WHICH bytes an attestation covered is the engine's committed git revision.\n expect(basisText).not.toContain('assurance-runtime-build-closure');\n\n copyPackageSourcesIntoDist(frameworkRoot);\n const previewModule = await import(\n pathToFileURL(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts')).href\n );\n const loaded = previewModule.getFrameworkKnowledgeAssuranceAuthorityBasis('assurance-authority-basis:wildo-safe-baseline-v1', 1) as {\n entry: { ref: string; version: number; sourceRevisionRef: string };\n basis: { basisRef: string; basisVersion: number; implementationRevision: { sourceRevisionRef: string } };\n bytes: Uint8Array;\n };\n expect(loaded.entry.sourceRevisionRef).toBe(loaded.basis.implementationRevision.sourceRevisionRef);\n expect(loaded.basis.basisRef).toBe(loaded.entry.ref);\n expect(loaded.basis.basisVersion).toBe(loaded.entry.version);\n expect(Array.from(loaded.bytes)).toEqual(Array.from(basisBytes));\n\n /*\n * The loader still refuses a payload whose basis disagrees with the registry that addresses it. That check\n * survived the digest removal because it compares the two SEMANTIC identity axes an application pins, not a\n * hash of the bytes against a hash stored beside them.\n */\n /*\n * The external-framework mapping rides the SAME channel as the basis (#266).\n *\n * Before this it was emitted only by `pnpm assurance:external-mapping` into a gitignored `dist/`,\n * so it existed and nothing carried it anywhere a reader could find. Asserted through the LOADER\n * rather than off disk, because \"the file was written\" and \"a consumer can reach it\" are\n * different claims and only the second is what the gap was about.\n */\n const mapping = previewModule.getFrameworkKnowledgeAssuranceExternalFrameworkMapping(\n 'assurance-authority-basis:wildo-safe-baseline-v1',\n 1,\n ) as { value: { mapped: unknown[]; unmapped: unknown[]; attributionNotices: unknown[]; evaluatedAt: string } };\n expect(mapping.value.mapped.length).toBeGreaterThan(0);\n // Every objective is accounted for in ONE of the two lists — an unmapped objective is RECORDED\n // with a reason rather than omitted, which is the whole reason the derivation has two lists.\n expect(mapping.value.unmapped).toBeDefined();\n expect(mapping.value.attributionNotices.length).toBeGreaterThan(0);\n // The instant is the GENERATION's, not a second clock read: rights expire, so the artifact has to\n // say which moment its authorizations were true at, and the payload must not carry two answers.\n expect(mapping.value.evaluatedAt).toBe(\n (JSON.parse(readFileSync(join(output, 'manifest.json'), 'utf8')) as { generatedAt: string }).generatedAt,\n );\n // Same package-only discipline the basis is held to — no repository paths leave the framework.\n const mappingText = readFileSync(join(output, entry!.externalFrameworkMappingFilePath!)).toString('utf8');\n expect(mappingText).not.toContain('engine/');\n expect(mappingText).not.toContain('platform/');\n\n const forgedBasis = JSON.parse(basisBytes.toString('utf8')) as Record<string, unknown>;\n forgedBasis.basisRef = 'assurance-authority-basis:forged';\n writeFileSync(join(output, entry!.filePath), Buffer.from(`${JSON.stringify(forgedBasis, null, 2)}\\n`, 'utf8'));\n expect(() => previewModule.getFrameworkKnowledgeAssuranceAuthorityBasis('assurance-authority-basis:wildo-safe-baseline-v1', 1)).toThrow(\n 'does not match its registry identity',\n );\n });\n\n /**\n * `sourcePathPrefixes` narrows which `src/**` files of the transitively selected packages the closure walks.\n * Unnarrowed, the Wildo baseline walked ~1049 files across 9 packages to attest two controls whose named\n * contracts are 8 files.\n *\n * These pins used to read a source-revision digest and assert it moved for an attested edit and held for an\n * unattested one. That digest is gone (Rule 0), so the narrowing no longer changes any published byte —\n * generation output is identical narrowed or not. What it still changes, and the only thing it still changes,\n * is the MEMBERSHIP of the closure inventory, which is fail-closed per file. So membership is probed through\n * that refusal: a file the closure walks is a file whose repository-shape violations stop generation, and a\n * file it does not walk is invisible.\n *\n * A companion test ('gives a narrowed closure a different identity…') was retired outright in the same pass:\n * it asserted that a narrowed and an unnarrowed attestation of one tree carry different identities. They no\n * longer do — identity is `ref@version` plus the authored `sourceRevisionRef`, and narrowing is an\n * authoring-time validation knob that reaches no published field. There is nothing left to rewrite it against.\n */\n const plantSymlinkedSource = (frameworkRoot: string, relativePath: string): void => {\n const absolutePath = join(frameworkRoot, relativePath);\n mkdirSync(dirname(absolutePath), { recursive: true });\n // Points INSIDE the repository on purpose, so the refusal can only come from the non-symlink check rather\n // than from the escaping-input check that precedes it.\n symlinkSync(join(frameworkRoot, 'pnpm-lock.yaml'), absolutePath, 'file');\n };\n const newAssuranceFrameworkRoot = (label: string): string => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), `wildo-framework-knowledge-assurance-${label}-`));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n return frameworkRoot;\n };\n const ATTESTED_PREFIX = 'engine/saas-models/src/security/authorizations/';\n const UNATTESTED_SOURCE = 'engine/saas-models/src/unrelated/noise.ts';\n\n\n\n\n\n it('fails closed when an authored assurance-authority directory exists without a basis file', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-empty-assurance-basis-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n mkdirSync(join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome, 'src', 'assurance-authority-bases'), { recursive: true });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('contains no authority-basis.json files');\n });\n\n it('rejects assurance implementation inputs that escape through a symlinked parent directory', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-symlink-root-'));\n const externalRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-assurance-symlink-external-'));\n tempDirs.push(frameworkRoot, externalRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredAssuranceAuthorityBasis(frameworkRoot);\n writeFileSync(join(externalRoot, 'outside.ts'), 'export const outside = true;\\n', 'utf8');\n symlinkSync(externalRoot, join(frameworkRoot, 'linked-source'), 'dir');\n const basisPath = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgePackageHome,\n 'src',\n 'assurance-authority-bases',\n 'wildo-safe-baseline-v1',\n 'authority-basis.json',\n );\n const authoredBasis = JSON.parse(readFileSync(basisPath, 'utf8')) as { artifacts: Array<{ sourcePath: string }> };\n authoredBasis.artifacts[0]!.sourcePath = 'linked-source/outside.ts';\n writeFileSync(basisPath, `${JSON.stringify(authoredBasis, null, 2)}\\n`, 'utf8');\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('resolves outside the framework repository');\n });\n\n it('preserves the last valid materialized payload when candidate generation fails', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-atomic-publication-'));\n tempDirs.push(frameworkRoot);\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n const layout = resolveFrameworkLayout(frameworkRoot);\n const priorManifestBytes = readFileSync(join(layout.frameworkKnowledgeOutputHome, 'manifest.json'));\n // Corrupt an authored assurance basis so the NEXT candidate generation fails after staging began.\n const basisPath = join(\n layout.frameworkKnowledgePackageHome,\n 'src',\n 'assurance-authority-bases',\n 'wildo-safe-baseline-v1',\n 'authority-basis.json',\n );\n mkdirSync(dirname(basisPath), { recursive: true });\n writeFileSync(basisPath, '{ this is not JSON', 'utf8');\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow('is not valid JSON');\n expect(readFileSync(join(layout.frameworkKnowledgeOutputHome, 'manifest.json'))).toEqual(priorManifestBytes);\n expect(readdirSync(dirname(layout.frameworkKnowledgeOutputHome)).filter((name) => name.startsWith('.knowledge-staging-'))).toEqual([]);\n });\n\n it('compiles the TypeScript-authored phase gate into exact protocol and treatment artifacts', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-typescript-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeCurrentTypeScriptPhaseGate(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'top_down.phase-gate',\n );\n const protocolBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'));\n const treatmentBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'));\n const treatment = MetaWorkflow_EvaluationTreatmentDefinitionSchema.parse(\n JSON.parse(treatmentBytes.toString('utf8')) as unknown,\n );\n const compiledPhaseGate = JSON.parse(readFileSync(join(outputPlaybookRoot, 'playbook.json'), 'utf8')) as {\n inputs: Array<{ family: string }>;\n preconditions: Array<{ selector?: { family?: string } }>;\n };\n expect(compiledPhaseGate.inputs.map((input) => input.family)).toEqual([\n 'vision-brief',\n 'market-snapshot',\n 'requirements',\n 'roadmap',\n 'feature-drafts',\n 'business-model',\n ]);\n /*\n * `business-model` was pinned as ABSENT here until 2026-08-28, and the reason it was absent has\n * gone: no playbook produced that family, so declaring it would have been a dangling input — the\n * defect `wildo fwk audit` rule 23 now catches mechanically. `top_down.business-model` produces\n * it, so the gate can see the commercial intent.\n *\n * Declared as an INPUT and deliberately not as a precondition: the gate must not become\n * ineligible for every application that has never sketched a business model.\n */\n expect(compiledPhaseGate.preconditions.map((precondition) => precondition.selector?.family)).not.toContain('business-model');\n expect(treatment.evaluationProtocol.criteria).toHaveLength(5);\n expect(treatment.authorityRequirement).toEqual(expect.objectContaining({\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n }));\n expect(JSON.parse(protocolBytes.toString('utf8'))).toEqual(treatment.evaluationProtocol);\n\n const definitionPath = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'top_down.phase-gate',\n 'playbook.definition.ts',\n );\n const currentDefinition = readFileSync(definitionPath, 'utf8');\n const obsoleteInputDefinition = currentDefinition.replace(\n \"{ family: 'feature-drafts' }\",\n \"{ family: 'business-model' }\",\n );\n expect(obsoleteInputDefinition).not.toBe(currentDefinition);\n writeFileSync(definitionPath, obsoleteInputDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n /*\n * The INPUT-family edit changes the compiled playbook but NOT the treatment artifacts: with the\n * provenance-digest coupling deleted, an artifact's bytes move only when its own semantic content\n * (the criteria) moves. That decoupling is deliberate, so both directions are pinned.\n */\n expect(JSON.parse(readFileSync(join(outputPlaybookRoot, 'playbook.json'), 'utf8')) as { inputs: Array<{ family: string }> })\n .not.toEqual(compiledPhaseGate);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toEqual(protocolBytes);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toEqual(treatmentBytes);\n\n writeFileSync(definitionPath, currentDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toEqual(protocolBytes);\n expect(readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toEqual(treatmentBytes);\n\n const playbooksRegistry = JSON.parse(\n readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'registries', 'playbooks.json'),\n 'utf8',\n ),\n ) as {\n entries: Record<string, {\n sourceFormat: string;\n evaluationProtocol: { protocolRef: string };\n evaluationTreatment: { definitionRef: string };\n }>;\n };\n const entry = playbooksRegistry.entries['top_down.phase-gate'];\n expect(entry.sourceFormat).toBe('EFFECT_FREE_TYPESCRIPT_MODULE_V1');\n // The registry names the artifacts by ref@version only; the digest identity layer is deleted.\n expect(entry.evaluationProtocol.protocolRef).toBe(treatment.evaluationProtocol.protocolRef);\n expect(entry.evaluationTreatment.definitionRef).toBe(treatment.definitionRef);\n\n copyPackageSourcesIntoDist(frameworkRoot);\n const previewModule = await import(\n pathToFileURL(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts'),\n ).href\n );\n const loaded = previewModule.getFrameworkKnowledgePlaybook('top_down.phase-gate') as {\n evaluationProtocol: { value: unknown; bytes: Uint8Array };\n evaluationTreatment: { value: unknown; bytes: Uint8Array };\n };\n expect(loaded.evaluationProtocol.value).toEqual(treatment.evaluationProtocol);\n expect(loaded.evaluationProtocol.bytes).toEqual(protocolBytes);\n expect(loaded.evaluationTreatment.value).toEqual(treatment);\n expect(loaded.evaluationTreatment.bytes).toEqual(treatmentBytes);\n\n const changedDefinition = readFileSync(definitionPath, 'utf8').replace(\n 'Determine whether every current-horizon vision success criterion is delivered by at least one roadmap phase. Keep success criteria distinct from implementation tasks or generic aspirations.',\n 'Determine whether each current-horizon vision success criterion is delivered by at least one roadmap phase and report every weak delivery link. Keep success criteria distinct from implementation tasks or generic aspirations.',\n );\n expect(changedDefinition).not.toBe(readFileSync(definitionPath, 'utf8'));\n writeFileSync(definitionPath, changedDefinition, 'utf8');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n const changedProtocolBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-protocol.json'));\n const changedTreatmentBytes = readFileSync(join(outputPlaybookRoot, 'evaluation-treatment.json'));\n expect(changedProtocolBytes).not.toEqual(protocolBytes);\n expect(changedTreatmentBytes).not.toEqual(treatmentBytes);\n\n // Regeneration is proven by the artifact BYTES changing above; the registry digest identity layer is deleted.\n });\n\n it('compiles a native definition without recreating a legacy evaluation treatment', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-native-definition-only-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n const playbookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome,\n 'bottom_up.native-definition-only',\n );\n mkdirSync(playbookRoot, { recursive: true });\n writeFileSync(\n join(playbookRoot, 'playbook.definition.ts'),\n [\n '/**',\n ' * A native method declaration intentionally leaves assessment composition to the generic loop.',\n ' * It must not manufacture a legacy per-playbook evaluation treatment merely to be generated.',\n ' */',\n 'export const playbookDefinition = {',\n \" ref: 'bottom_up.native-definition-only',\",\n \" version: '0.1.0',\",\n \" phase: 'bottom_up',\",\n \" intent: 'A native playbook fixture without a legacy treatment.',\",\n ' preconditions: [],',\n ' inputs: [],',\n ' outputs: [],',\n ' method: { skillRefs: [] },',\n \" executor: 'human',\",\n \" approval: 'approve_before',\",\n ' budget: { maxRuns: 1 },',\n \" onFailure: 'keep_and_flag',\",\n '} as const;',\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(join(playbookRoot, 'method.md'), '# Concise native method\\n', 'utf8');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'playbooks',\n 'bottom_up.native-definition-only',\n );\n expect(existsSync(join(outputPlaybookRoot, 'playbook.json'))).toBe(true);\n expect(existsSync(join(outputPlaybookRoot, 'method.md'))).toBe(true);\n expect(existsSync(join(outputPlaybookRoot, 'evaluation-protocol.json'))).toBe(false);\n expect(existsSync(join(outputPlaybookRoot, 'evaluation-treatment.json'))).toBe(false);\n\n const registry = JSON.parse(readFileSync(join(\n resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeOutputHome,\n 'registries',\n 'playbooks.json',\n ), 'utf8')) as { entries: Record<string, Record<string, unknown>> };\n expect(registry.entries['bottom_up.native-definition-only']).toMatchObject({\n sourceFormat: 'EFFECT_FREE_TYPESCRIPT_MODULE_V1',\n });\n expect(registry.entries['bottom_up.native-definition-only']).not.toHaveProperty('evaluationProtocol');\n expect(registry.entries['bottom_up.native-definition-only']).not.toHaveProperty('evaluationTreatment');\n });\n\n it('resolves named enum vocabulary to wire values in a TypeScript-authored playbook', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-requirements-playbook-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeCurrentTypeScriptRequirementsDefinition(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const outputPlaybookRoot = join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'top_down.requirements-definition',\n );\n /*\n * The named-enum resolution this test exists for, read off fields a runtime consumes.\n * It asserted `qualityGates[].kind` until 2026-08-29, when that field was deleted for never\n * having been executed (issue #103) — but the assertion's SUBJECT was the compilation of a\n * `MetaWorkflow_*` member into its wire string, not the gate, and every field below still\n * carries it.\n */\n const compiled = JSON.parse(readFileSync(join(\n outputPlaybookRoot,\n 'playbook.json',\n ), 'utf8')) as { phase: string; executor: string; approval: string; onFailure: string };\n expect(compiled).toMatchObject({\n phase: 'top_down',\n executor: 'companion_agent',\n approval: 'approve_result',\n onFailure: 'keep_and_flag',\n });\n\n const actionBytes = readFileSync(join(\n outputPlaybookRoot,\n 'structured-artifact-action.json',\n ));\n const action = assertMetaWorkflowStructuredArtifactActionDefinitionIntegrity(\n JSON.parse(actionBytes.toString('utf8')) as unknown,\n );\n expect(action.actionDefinition.actionRef).toBe(\n 'application-creation:action/requirements-definition',\n );\n expect(action.providerOutputSchema.schemaRef).toBe(\n 'saas-specifications:schema/requirements-snapshot-generation',\n );\n expect(action.outputContract.outputSchemaRef).toBe(\n 'saas-specifications:schema/requirements-snapshot',\n );\n\n const playbooksRegistry = JSON.parse(readFileSync(join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'registries',\n 'playbooks.json',\n ), 'utf8')) as {\n entries: Record<string, {\n structuredArtifactAction: {\n definitionRef: string;\n };\n }>;\n };\n expect(\n playbooksRegistry.entries['top_down.requirements-definition']\n .structuredArtifactAction.definitionRef,\n ).toBe(action.definitionRef);\n });\n\n it('ships the authored skills INDEX.md into the payload and declares skillsIndexPath', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-index-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n writeAuthoredSkillsIndex(frameworkRoot, ['resource-config-wiring']);\n\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as { payload: { skillsIndexPath?: string } };\n expect(manifest.payload.skillsIndexPath).toBe('skills/INDEX.md');\n\n const shippedIndex = readFileSync(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'INDEX.md'),\n 'utf8',\n );\n expect(shippedIndex).toContain('Framework Skills Catalog');\n expect(shippedIndex).toContain('resource-config-wiring');\n });\n\n it('omits skillsIndexPath when no authored INDEX.md exists but still declares the playbooks directory', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-noindex-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredSkillFolder(frameworkRoot, 'resource-config-wiring');\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(0);\n\n const manifest = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'manifest.json'), 'utf8'),\n ) as { payload: { playbooksDirectory: string; skillsIndexPath?: string } };\n expect(manifest.payload.skillsIndexPath).toBeUndefined();\n expect(manifest.payload.playbooksDirectory).toBe('playbooks');\n expect(\n existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'playbooks')),\n ).toBe(true);\n expect(existsSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'skills', 'INDEX.md'))).toBe(false);\n });\n\n it('throws when the authored playbook declares method.guidance inline', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-guidance-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.inline-guidance', {\n json: { method: { guidance: 'inline prose', skillRefs: [] } },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /method\\.guidance/u,\n );\n });\n\n it('throws when the playbook ref does not match its folder name', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-ref-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.folder-name', {\n json: { ref: 'refinement.other-ref' },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /folder/u,\n );\n });\n\n it('refuses any retired JSON-v1 playbook source regardless of its content', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-retired-json-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n // The JSON-v1 authoring format was deleted at the first-activation hard\n // cut: a leftover playbook.json is refused BEFORE any parse, so even a\n // well-formed JSON object cannot re-enter through the retired format.\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.retired-json', { rawJsonContent: '{ \"ref\": \"refinement.retired-json\" }\\n' });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /retired playbook\\.json source/u,\n );\n });\n\n it('throws when the assembled playbook fails MetaWorkflowPlaybookSchema validation', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-invalid-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.bad-executor', {\n json: { executor: 'not-a-real-executor' },\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /MetaWorkflowPlaybookSchema/u,\n );\n });\n\n it('rejects the contained-v1 human approval predicate before compiling a new catalog', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-legacy-approval-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'bottom_up.legacy-approval', {\n json: {\n preconditions: [{ kind: 'human_approved', gateRef: 'playbook:top_down.phase-gate' }],\n },\n });\n\n // The predicate KINDS were deleted from the schema, so the refusal is now the schema parse itself —\n // stronger than the bespoke check it replaces: no unknown kind can compile, not just this one.\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(/preconditions/u);\n });\n\n /*\n * The three pins below own the EFFECT-FREE IMPORT BOUNDARY of `playbook.definition.ts`.\n *\n * The importable vocabularies used to be two hand-maintained maps inside the generation service —\n * a second enumeration of a population the specification packages already publish, with no\n * mechanical link back to them. It failed closed twice in two days on an enum that had just landed\n * beside a playbook using it (`MetaWorkflow_ArtifactIntent`, 2026-08-28; `MetaWorkflow_ContextSource`,\n * 2026-08-29). The maps are now DERIVED by filtering each module's own exports, so the first pin\n * proves the derivation admits a vocabulary nobody registered, and the other two prove the\n * derivation did not remove the boundary while mechanising it — an import with BEHAVIOUR is still\n * refused, from the very same module whose enums are now admitted.\n */\n it('admits an unregistered closed vocabulary because the importable set is derived from the module exports', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-derived-vocabulary-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * Neither enum was ever named by the retired hand-maintained maps, and they come from the two\n * different packages those maps served — so a regression to any restated list reddens this.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.derived-vocabulary', {\n definitionSource: (baselineJson) => [\n \"import { MetaWorkflow_ContextSourceRole } from '@wildo-ai/saas-models/meta-workflows';\",\n \"import { RoadmapPhaseKind } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify({ ...baselineJson, intent: '__INTENT__' }, null, 2)\n .replace('\"__INTENT__\"', 'MetaWorkflow_ContextSourceRole.MANDATORY')\n .replace('\"specifications/src/smoke/\"', 'RoadmapPhaseKind.MVP')} as const;`,\n '',\n ].join('\\n'),\n });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n expect(result.playbookCount).toBe(1);\n\n const compiledPlaybook = JSON.parse(readFileSync(\n join(\n frameworkRoot,\n 'platform',\n 'factory',\n 'framework-knowledge',\n 'dist',\n 'knowledge',\n 'playbooks',\n 'refinement.derived-vocabulary',\n 'playbook.json',\n ),\n 'utf8',\n )) as { intent: string; outputs: Array<{ description: string }> };\n // The enum MEMBER VALUES, not the identifiers — proving the AST evaluator resolved each read\n // against the module's real runtime value rather than merely tolerating the import.\n expect(compiledPlaybook.intent).toBe(MetaWorkflow_ContextSourceRole.MANDATORY);\n expect(compiledPlaybook.outputs[0]?.description).toBe(RoadmapPhaseKind.MVP);\n });\n\n it('refuses a playbook definition that imports a FUNCTION from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-function-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n // Same module and same import form as the accepted enums above — only the SHAPE differs.\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.function-import', {\n definitionSource: (baselineJson) => [\n \"import { buildFeatureSpecificationMap } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"buildFeatureSpecificationMap\"/u,\n );\n });\n\n it('refuses a playbook definition that imports a Zod SCHEMA from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-schema-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * A Zod schema is refused by the MEMBER clause — it holds `parse`, `refine` and accessors — not by\n * the prototype clause, even though it is also a class instance. Measured, because the obvious\n * reading is wrong: deleting the prototype clause leaves this pin green. The clauses no module\n * happens to exercise are pinned directly against the predicate below.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.schema-import', {\n definitionSource: (baselineJson) => [\n \"import { MetaWorkflowPlaybookSchema } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"MetaWorkflowPlaybookSchema\"/u,\n );\n });\n\n it('refuses a playbook definition that imports a NESTED const map from an admitted module', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-nested-import-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n /*\n * `CONCERNS_BY_DOCUMENT` is a plain object with `Object.prototype`, exactly like an enum — it fails\n * only because its members are not scalars. Without this pin the member clause would be reachable\n * from a real playbook and unguarded there, and behaviour one level down is precisely what an\n * evaluation contracted to have none must not reach.\n */\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.nested-import', {\n definitionSource: (baselineJson) => [\n \"import { CONCERNS_BY_DOCUMENT } from '@wildo-ai/saas-specifications/application-creation';\",\n '',\n `export const playbookDefinition = ${JSON.stringify(baselineJson, null, 2)} as const;`,\n '',\n ].join('\\n'),\n });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /imports unsupported runtime value \"CONCERNS_BY_DOCUMENT\"/u,\n );\n });\n\n it('throws when the playbook folder is missing its method.md', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-playbook-nomethod-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.no-method', { omitMethodFile: true });\n\n await expect(FrameworkKnowledgeGenerationService.generate(frameworkRoot)).rejects.toThrow(\n /method\\.md/u,\n );\n });\n\n it('can be consumed from the dist seam in local package-preview mode', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-preview-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { topicId: 'resource-schema-authoring' });\n writeAuthoredSkillFolder(frameworkRoot, 'resource-schema-authoring');\n writeAuthoredSkillsIndex(frameworkRoot, ['resource-schema-authoring']);\n writeAuthoredPlaybookFolder(frameworkRoot, 'refinement.preview-pass');\n await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n copyPackageSourcesIntoDist(frameworkRoot);\n\n const previewModule = await import(\n pathToFileURL(\n join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'esm', 'index.ts'),\n ).href\n );\n\n const manifest = previewModule.getFrameworkKnowledgeManifest() as { packageName: string };\n expect(manifest.packageName).toBe('@wildo-ai/framework-knowledge');\n\n const topics = previewModule.listFrameworkKnowledgeTopics() as Array<{ topicId: string }>;\n expect(topics.some((entry) => entry.topicId === 'resource-schema-authoring')).toBe(true);\n\n const topic = previewModule.getFrameworkKnowledgeTopic('resource-schema-authoring') as {\n referencesByFile: Record<string, string>;\n skillsByFile: Record<string, string>;\n };\n expect(topic.referencesByFile['resource-schema-authoring.md']).toContain('ExampleSchema');\n expect(topic.referencesByFile['resource-schema-authoring.md']).toContain('@wildo-ai/saas-models');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('Target Application Framing');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('ExampleSchema');\n expect(topic.skillsByFile['resource-schema-authoring/SKILL.md']).toContain('ExampleResourceUI');\n\n // Loader round-trip for the new artifact kinds (playbooks + skills INDEX).\n const playbookEntries = previewModule.listFrameworkKnowledgePlaybooks() as Array<{ ref: string }>;\n expect(playbookEntries.map((entry) => entry.ref)).toEqual(['refinement.preview-pass']);\n\n const playbook = previewModule.getFrameworkKnowledgePlaybook('refinement.preview-pass') as {\n entry: { version: string };\n playbook: { ref: string; method: { guidance: string } };\n methodMarkdown: string;\n };\n expect(playbook.entry.version).toBe('0.1.0');\n expect(playbook.playbook.ref).toBe('refinement.preview-pass');\n expect(playbook.playbook.method.guidance).toContain('Target Application Framing');\n expect(playbook.methodMarkdown).toContain('Target Application Framing');\n expect(previewModule.getFrameworkKnowledgePlaybook('missing.playbook')).toBeNull();\n\n const skillsIndex = previewModule.getFrameworkKnowledgeSkillsIndex() as string | null;\n expect(skillsIndex).toContain('Framework Skills Catalog');\n expect(skillsIndex).toContain('resource-schema-authoring');\n });\n\n it('warns and ignores legacy inline anchor syntax', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-legacy-inline-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeTaggedSourceInputs(frameworkRoot, { includeLegacyInlineAnchor: true });\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.warnings).toEqual([\n 'Legacy inline @wildo_source(...) syntax is no longer supported in engine/saas-models/src/knowledge-example.ts:10. Use @wildo_source:file or @wildo_source:part:start/end instead.',\n ]);\n });\n\n it('ignores directive-looking strings that are not comment directives', async () => {\n const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-framework-knowledge-false-positive-'));\n tempDirs.push(frameworkRoot);\n\n writeFrameworkConfig(frameworkRoot);\n writeKnowledgePackageScaffold(frameworkRoot);\n writeNonDirectiveStringInput(frameworkRoot);\n\n const result = await FrameworkKnowledgeGenerationService.generate(frameworkRoot);\n\n expect(result.topicCount).toBe(0);\n expect(result.sectionCount).toBe(0);\n expect(result.warnings).toEqual([\n 'No @wildo_source anchors were extracted. The framework-knowledge payload was generated with empty registries.',\n ]);\n\n const topicIndex = JSON.parse(\n readFileSync(join(frameworkRoot, 'platform', 'factory', 'framework-knowledge', 'dist', 'knowledge', 'topic-index.json'), 'utf8'),\n ) as { topics: Array<{ topicId: string }> };\n expect(topicIndex.topics).toEqual([]);\n });\n /*\n * Direct pins on the effect-free boundary predicate. They exist because the generator seam cannot\n * isolate every clause: an admitted module would have to export a plain object carrying a getter, a\n * nested value or a symbol member for those clauses to be reachable through a playbook fixture, and\n * none does. Each case below reddens exactly one clause.\n */\n it('admits only inert closed vocabularies as playbook-importable runtime values', () => {\n // Admitted: the two shapes a closed vocabulary actually takes.\n expect(isInertClosedVocabularyRuntimeValue(RoadmapPhaseKind)).toBe(true);\n expect(isInertClosedVocabularyRuntimeValue({ ALPHA: 'alpha', ORDINAL: 1 })).toBe(true);\n expect(isInertClosedVocabularyRuntimeValue(Object.create(null) as object)).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(Object.assign(Object.create(null) as object, { A: 'a' }))).toBe(true);\n\n // Refused — behaviour, in every form it can arrive in.\n expect(isInertClosedVocabularyRuntimeValue(() => 'a')).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue({ A: () => 'a' })).toBe(false);\n // A GETTER is the sharpest case: reading it would run code inside an evaluation whose contract is\n // that it runs none, and its VALUE can look like a perfectly ordinary enum member.\n expect(isInertClosedVocabularyRuntimeValue(Object.defineProperty({}, 'A', { get: () => 'a', enumerable: true }))).toBe(false);\n // A class instance whose own members are all strings — refused by the prototype clause alone.\n class VocabularyLikeInstance { public readonly A = 'a'; }\n expect(isInertClosedVocabularyRuntimeValue(new VocabularyLikeInstance())).toBe(false);\n // Nesting would let behaviour in one level down, where the member clause no longer looks.\n expect(isInertClosedVocabularyRuntimeValue({ A: { B: 'b' } })).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue({ A: ['a'] })).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(['a'])).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue(null)).toBe(false);\n expect(isInertClosedVocabularyRuntimeValue('a')).toBe(false);\n // A symbol member can carry anything, and `Object.keys` never sees it.\n expect(isInertClosedVocabularyRuntimeValue({ A: 'a', [Symbol('behaviour')]: () => 'b' })).toBe(false);\n // A vocabulary with no members is not a vocabulary.\n expect(isInertClosedVocabularyRuntimeValue({})).toBe(false);\n });\n});\n"]}