@wildo-ai/wildo-cli 1.1.2

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 (2037) hide show
  1. package/LICENSE +34 -0
  2. package/bin/wildo-tsc-native.mjs +108 -0
  3. package/bin/wildo.ts +10 -0
  4. package/dist/bin/wildo.d.ts +3 -0
  5. package/dist/bin/wildo.d.ts.map +1 -0
  6. package/dist/bin/wildo.js +7 -0
  7. package/dist/bin/wildo.js.map +1 -0
  8. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +8 -0
  9. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -0
  10. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +54 -0
  11. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +1 -0
  12. package/dist/src/commands/acp/probe.command.d.ts +30 -0
  13. package/dist/src/commands/acp/probe.command.d.ts.map +1 -0
  14. package/dist/src/commands/acp/probe.command.js +122 -0
  15. package/dist/src/commands/acp/probe.command.js.map +1 -0
  16. package/dist/src/commands/align-deps.command.d.ts +7 -0
  17. package/dist/src/commands/align-deps.command.d.ts.map +1 -0
  18. package/dist/src/commands/align-deps.command.js +102 -0
  19. package/dist/src/commands/align-deps.command.js.map +1 -0
  20. package/dist/src/commands/assets/sync.command.d.ts +23 -0
  21. package/dist/src/commands/assets/sync.command.d.ts.map +1 -0
  22. package/dist/src/commands/assets/sync.command.js +59 -0
  23. package/dist/src/commands/assets/sync.command.js.map +1 -0
  24. package/dist/src/commands/brand/propagate.command.d.ts +62 -0
  25. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -0
  26. package/dist/src/commands/brand/propagate.command.js +193 -0
  27. package/dist/src/commands/brand/propagate.command.js.map +1 -0
  28. package/dist/src/commands/compose.command.d.ts +7 -0
  29. package/dist/src/commands/compose.command.d.ts.map +1 -0
  30. package/dist/src/commands/compose.command.js +99 -0
  31. package/dist/src/commands/compose.command.js.map +1 -0
  32. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +22 -0
  33. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -0
  34. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +268 -0
  35. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -0
  36. package/dist/src/commands/config/__tests__/sync.command.test.d.ts +2 -0
  37. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -0
  38. package/dist/src/commands/config/__tests__/sync.command.test.js +1229 -0
  39. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -0
  40. package/dist/src/commands/config/__tests__/validate.command.test.d.ts +14 -0
  41. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -0
  42. package/dist/src/commands/config/__tests__/validate.command.test.js +375 -0
  43. package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -0
  44. package/dist/src/commands/config/mutate.command.d.ts +32 -0
  45. package/dist/src/commands/config/mutate.command.d.ts.map +1 -0
  46. package/dist/src/commands/config/mutate.command.js +119 -0
  47. package/dist/src/commands/config/mutate.command.js.map +1 -0
  48. package/dist/src/commands/config/reapply-declaration.command.d.ts +40 -0
  49. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -0
  50. package/dist/src/commands/config/reapply-declaration.command.js +174 -0
  51. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -0
  52. package/dist/src/commands/config/sync.command.d.ts +123 -0
  53. package/dist/src/commands/config/sync.command.d.ts.map +1 -0
  54. package/dist/src/commands/config/sync.command.js +1170 -0
  55. package/dist/src/commands/config/sync.command.js.map +1 -0
  56. package/dist/src/commands/config/validate.command.d.ts +117 -0
  57. package/dist/src/commands/config/validate.command.d.ts.map +1 -0
  58. package/dist/src/commands/config/validate.command.js +563 -0
  59. package/dist/src/commands/config/validate.command.js.map +1 -0
  60. package/dist/src/commands/context/coherence.command.d.ts +13 -0
  61. package/dist/src/commands/context/coherence.command.d.ts.map +1 -0
  62. package/dist/src/commands/context/coherence.command.js +44 -0
  63. package/dist/src/commands/context/coherence.command.js.map +1 -0
  64. package/dist/src/commands/context/context-command.utils.d.ts +43 -0
  65. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -0
  66. package/dist/src/commands/context/context-command.utils.js +57 -0
  67. package/dist/src/commands/context/context-command.utils.js.map +1 -0
  68. package/dist/src/commands/context/health.command.d.ts +11 -0
  69. package/dist/src/commands/context/health.command.d.ts.map +1 -0
  70. package/dist/src/commands/context/health.command.js +40 -0
  71. package/dist/src/commands/context/health.command.js.map +1 -0
  72. package/dist/src/commands/context/info.command.d.ts +20 -0
  73. package/dist/src/commands/context/info.command.d.ts.map +1 -0
  74. package/dist/src/commands/context/info.command.js +90 -0
  75. package/dist/src/commands/context/info.command.js.map +1 -0
  76. package/dist/src/commands/context/journey.command.d.ts +16 -0
  77. package/dist/src/commands/context/journey.command.d.ts.map +1 -0
  78. package/dist/src/commands/context/journey.command.js +69 -0
  79. package/dist/src/commands/context/journey.command.js.map +1 -0
  80. package/dist/src/commands/context/list.command.d.ts +15 -0
  81. package/dist/src/commands/context/list.command.d.ts.map +1 -0
  82. package/dist/src/commands/context/list.command.js +60 -0
  83. package/dist/src/commands/context/list.command.js.map +1 -0
  84. package/dist/src/commands/db/db-schema-plan.utils.d.ts +26 -0
  85. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -0
  86. package/dist/src/commands/db/db-schema-plan.utils.js +89 -0
  87. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -0
  88. package/dist/src/commands/db/diff.command.d.ts +39 -0
  89. package/dist/src/commands/db/diff.command.d.ts.map +1 -0
  90. package/dist/src/commands/db/diff.command.js +153 -0
  91. package/dist/src/commands/db/diff.command.js.map +1 -0
  92. package/dist/src/commands/db/generate.command.d.ts +32 -0
  93. package/dist/src/commands/db/generate.command.d.ts.map +1 -0
  94. package/dist/src/commands/db/generate.command.js +139 -0
  95. package/dist/src/commands/db/generate.command.js.map +1 -0
  96. package/dist/src/commands/db/migrate.command.d.ts +41 -0
  97. package/dist/src/commands/db/migrate.command.d.ts.map +1 -0
  98. package/dist/src/commands/db/migrate.command.js +111 -0
  99. package/dist/src/commands/db/migrate.command.js.map +1 -0
  100. package/dist/src/commands/db/resolve.command.d.ts +22 -0
  101. package/dist/src/commands/db/resolve.command.d.ts.map +1 -0
  102. package/dist/src/commands/db/resolve.command.js +97 -0
  103. package/dist/src/commands/db/resolve.command.js.map +1 -0
  104. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +2 -0
  105. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -0
  106. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +202 -0
  107. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +1 -0
  108. package/dist/src/commands/dev/__tests__/start.command.test.d.ts +2 -0
  109. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -0
  110. package/dist/src/commands/dev/__tests__/start.command.test.js +468 -0
  111. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -0
  112. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +2 -0
  113. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -0
  114. package/dist/src/commands/dev/__tests__/stop.command.test.js +72 -0
  115. package/dist/src/commands/dev/__tests__/stop.command.test.js.map +1 -0
  116. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +2 -0
  117. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -0
  118. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +114 -0
  119. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -0
  120. package/dist/src/commands/dev/charts-audit.command.d.ts +19 -0
  121. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -0
  122. package/dist/src/commands/dev/charts-audit.command.js +74 -0
  123. package/dist/src/commands/dev/charts-audit.command.js.map +1 -0
  124. package/dist/src/commands/dev/design-tokens-generate.command.d.ts +10 -0
  125. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -0
  126. package/dist/src/commands/dev/design-tokens-generate.command.js +24 -0
  127. package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -0
  128. package/dist/src/commands/dev/design-tokens-init.command.d.ts +10 -0
  129. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -0
  130. package/dist/src/commands/dev/design-tokens-init.command.js +24 -0
  131. package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -0
  132. package/dist/src/commands/dev/design-tokens-validate.command.d.ts +10 -0
  133. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -0
  134. package/dist/src/commands/dev/design-tokens-validate.command.js +24 -0
  135. package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -0
  136. package/dist/src/commands/dev/force-stop.command.d.ts +29 -0
  137. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -0
  138. package/dist/src/commands/dev/force-stop.command.js +68 -0
  139. package/dist/src/commands/dev/force-stop.command.js.map +1 -0
  140. package/dist/src/commands/dev/resources.command.d.ts +16 -0
  141. package/dist/src/commands/dev/resources.command.d.ts.map +1 -0
  142. package/dist/src/commands/dev/resources.command.js +45 -0
  143. package/dist/src/commands/dev/resources.command.js.map +1 -0
  144. package/dist/src/commands/dev/start.command.d.ts +16 -0
  145. package/dist/src/commands/dev/start.command.d.ts.map +1 -0
  146. package/dist/src/commands/dev/start.command.js +409 -0
  147. package/dist/src/commands/dev/start.command.js.map +1 -0
  148. package/dist/src/commands/dev/stop-all.command.d.ts +14 -0
  149. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -0
  150. package/dist/src/commands/dev/stop-all.command.js +96 -0
  151. package/dist/src/commands/dev/stop-all.command.js.map +1 -0
  152. package/dist/src/commands/dev/sync-csp.command.d.ts +7 -0
  153. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -0
  154. package/dist/src/commands/dev/sync-csp.command.js +61 -0
  155. package/dist/src/commands/dev/sync-csp.command.js.map +1 -0
  156. package/dist/src/commands/frontend/publish.command.d.ts +16 -0
  157. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -0
  158. package/dist/src/commands/frontend/publish.command.js +91 -0
  159. package/dist/src/commands/frontend/publish.command.js.map +1 -0
  160. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +2 -0
  161. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -0
  162. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +79 -0
  163. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +1 -0
  164. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +2 -0
  165. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -0
  166. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +113 -0
  167. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -0
  168. package/dist/src/commands/fwk/audit.command.d.ts +19 -0
  169. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -0
  170. package/dist/src/commands/fwk/audit.command.js +83 -0
  171. package/dist/src/commands/fwk/audit.command.js.map +1 -0
  172. package/dist/src/commands/fwk/dev-skills.command.d.ts +12 -0
  173. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -0
  174. package/dist/src/commands/fwk/dev-skills.command.js +56 -0
  175. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -0
  176. package/dist/src/commands/fwk/generate-docs.command.d.ts +7 -0
  177. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -0
  178. package/dist/src/commands/fwk/generate-docs.command.js +38 -0
  179. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -0
  180. package/dist/src/commands/fwk/graph.command.d.ts +18 -0
  181. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -0
  182. package/dist/src/commands/fwk/graph.command.js +56 -0
  183. package/dist/src/commands/fwk/graph.command.js.map +1 -0
  184. package/dist/src/commands/fwk/publish-all.command.d.ts +7 -0
  185. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -0
  186. package/dist/src/commands/fwk/publish-all.command.js +51 -0
  187. package/dist/src/commands/fwk/publish-all.command.js.map +1 -0
  188. package/dist/src/commands/fwk/publish-docker.command.d.ts +8 -0
  189. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -0
  190. package/dist/src/commands/fwk/publish-docker.command.js +89 -0
  191. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -0
  192. package/dist/src/commands/fwk/publish-npm.command.d.ts +8 -0
  193. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -0
  194. package/dist/src/commands/fwk/publish-npm.command.js +114 -0
  195. package/dist/src/commands/fwk/publish-npm.command.js.map +1 -0
  196. package/dist/src/commands/fwk/version-bump.command.d.ts +7 -0
  197. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -0
  198. package/dist/src/commands/fwk/version-bump.command.js +25 -0
  199. package/dist/src/commands/fwk/version-bump.command.js.map +1 -0
  200. package/dist/src/commands/fwk/version-set.command.d.ts +7 -0
  201. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -0
  202. package/dist/src/commands/fwk/version-set.command.js +24 -0
  203. package/dist/src/commands/fwk/version-set.command.js.map +1 -0
  204. package/dist/src/commands/fwk/version-show.command.d.ts +7 -0
  205. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -0
  206. package/dist/src/commands/fwk/version-show.command.js +22 -0
  207. package/dist/src/commands/fwk/version-show.command.js.map +1 -0
  208. package/dist/src/commands/fwk/version-sync.command.d.ts +7 -0
  209. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -0
  210. package/dist/src/commands/fwk/version-sync.command.js +18 -0
  211. package/dist/src/commands/fwk/version-sync.command.js.map +1 -0
  212. package/dist/src/commands/fwk/what-touches.command.d.ts +17 -0
  213. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -0
  214. package/dist/src/commands/fwk/what-touches.command.js +48 -0
  215. package/dist/src/commands/fwk/what-touches.command.js.map +1 -0
  216. package/dist/src/commands/fwk/wt-status.command.d.ts +22 -0
  217. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -0
  218. package/dist/src/commands/fwk/wt-status.command.js +60 -0
  219. package/dist/src/commands/fwk/wt-status.command.js.map +1 -0
  220. package/dist/src/commands/fwk/wt-tail.command.d.ts +22 -0
  221. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -0
  222. package/dist/src/commands/fwk/wt-tail.command.js +64 -0
  223. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -0
  224. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +2 -0
  225. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -0
  226. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +94 -0
  227. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -0
  228. package/dist/src/commands/generate/email-command.utils.d.ts +72 -0
  229. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -0
  230. package/dist/src/commands/generate/email-command.utils.js +91 -0
  231. package/dist/src/commands/generate/email-command.utils.js.map +1 -0
  232. package/dist/src/commands/generate/email-preview.command.d.ts +7 -0
  233. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -0
  234. package/dist/src/commands/generate/email-preview.command.js +62 -0
  235. package/dist/src/commands/generate/email-preview.command.js.map +1 -0
  236. package/dist/src/commands/generate/email-status.command.d.ts +7 -0
  237. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -0
  238. package/dist/src/commands/generate/email-status.command.js +42 -0
  239. package/dist/src/commands/generate/email-status.command.js.map +1 -0
  240. package/dist/src/commands/generate/email-test-send.command.d.ts +7 -0
  241. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -0
  242. package/dist/src/commands/generate/email-test-send.command.js +67 -0
  243. package/dist/src/commands/generate/email-test-send.command.js.map +1 -0
  244. package/dist/src/commands/generate/email-translate.command.d.ts +7 -0
  245. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -0
  246. package/dist/src/commands/generate/email-translate.command.js +59 -0
  247. package/dist/src/commands/generate/email-translate.command.js.map +1 -0
  248. package/dist/src/commands/generate/email.command.d.ts +10 -0
  249. package/dist/src/commands/generate/email.command.d.ts.map +1 -0
  250. package/dist/src/commands/generate/email.command.js +62 -0
  251. package/dist/src/commands/generate/email.command.js.map +1 -0
  252. package/dist/src/commands/generate/labelling-command.utils.d.ts +138 -0
  253. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -0
  254. package/dist/src/commands/generate/labelling-command.utils.js +422 -0
  255. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -0
  256. package/dist/src/commands/generate/labels-plan.command.d.ts +34 -0
  257. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -0
  258. package/dist/src/commands/generate/labels-plan.command.js +103 -0
  259. package/dist/src/commands/generate/labels-plan.command.js.map +1 -0
  260. package/dist/src/commands/generate/labels.command.d.ts +29 -0
  261. package/dist/src/commands/generate/labels.command.d.ts.map +1 -0
  262. package/dist/src/commands/generate/labels.command.js +87 -0
  263. package/dist/src/commands/generate/labels.command.js.map +1 -0
  264. package/dist/src/commands/generate/translate.command.d.ts +31 -0
  265. package/dist/src/commands/generate/translate.command.d.ts.map +1 -0
  266. package/dist/src/commands/generate/translate.command.js +95 -0
  267. package/dist/src/commands/generate/translate.command.js.map +1 -0
  268. package/dist/src/commands/help.command.d.ts +7 -0
  269. package/dist/src/commands/help.command.d.ts.map +1 -0
  270. package/dist/src/commands/help.command.js +86 -0
  271. package/dist/src/commands/help.command.js.map +1 -0
  272. package/dist/src/commands/init.command.d.ts +113 -0
  273. package/dist/src/commands/init.command.d.ts.map +1 -0
  274. package/dist/src/commands/init.command.js +636 -0
  275. package/dist/src/commands/init.command.js.map +1 -0
  276. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +2 -0
  277. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -0
  278. package/dist/src/commands/local/__tests__/dev-status.command.test.js +58 -0
  279. package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +1 -0
  280. package/dist/src/commands/local/__tests__/dev.command.test.d.ts +2 -0
  281. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -0
  282. package/dist/src/commands/local/__tests__/dev.command.test.js +399 -0
  283. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -0
  284. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +2 -0
  285. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -0
  286. package/dist/src/commands/local/__tests__/doctor.command.test.js +260 -0
  287. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -0
  288. package/dist/src/commands/local/__tests__/init.command.test.d.ts +2 -0
  289. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -0
  290. package/dist/src/commands/local/__tests__/init.command.test.js +83 -0
  291. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -0
  292. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +2 -0
  293. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -0
  294. package/dist/src/commands/local/__tests__/reinit.command.test.js +177 -0
  295. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -0
  296. package/dist/src/commands/local/__tests__/reset.command.test.d.ts +2 -0
  297. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -0
  298. package/dist/src/commands/local/__tests__/reset.command.test.js +266 -0
  299. package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -0
  300. package/dist/src/commands/local/__tests__/up.command.test.d.ts +2 -0
  301. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -0
  302. package/dist/src/commands/local/__tests__/up.command.test.js +207 -0
  303. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -0
  304. package/dist/src/commands/local/dev-status.command.d.ts +15 -0
  305. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -0
  306. package/dist/src/commands/local/dev-status.command.js +84 -0
  307. package/dist/src/commands/local/dev-status.command.js.map +1 -0
  308. package/dist/src/commands/local/dev.command.d.ts +150 -0
  309. package/dist/src/commands/local/dev.command.d.ts.map +1 -0
  310. package/dist/src/commands/local/dev.command.js +813 -0
  311. package/dist/src/commands/local/dev.command.js.map +1 -0
  312. package/dist/src/commands/local/doctor.command.d.ts +177 -0
  313. package/dist/src/commands/local/doctor.command.d.ts.map +1 -0
  314. package/dist/src/commands/local/doctor.command.js +863 -0
  315. package/dist/src/commands/local/doctor.command.js.map +1 -0
  316. package/dist/src/commands/local/down.command.d.ts +9 -0
  317. package/dist/src/commands/local/down.command.d.ts.map +1 -0
  318. package/dist/src/commands/local/down.command.js +117 -0
  319. package/dist/src/commands/local/down.command.js.map +1 -0
  320. package/dist/src/commands/local/init.command.d.ts +15 -0
  321. package/dist/src/commands/local/init.command.d.ts.map +1 -0
  322. package/dist/src/commands/local/init.command.js +85 -0
  323. package/dist/src/commands/local/init.command.js.map +1 -0
  324. package/dist/src/commands/local/logs.command.d.ts +9 -0
  325. package/dist/src/commands/local/logs.command.d.ts.map +1 -0
  326. package/dist/src/commands/local/logs.command.js +61 -0
  327. package/dist/src/commands/local/logs.command.js.map +1 -0
  328. package/dist/src/commands/local/reinit.command.d.ts +35 -0
  329. package/dist/src/commands/local/reinit.command.d.ts.map +1 -0
  330. package/dist/src/commands/local/reinit.command.js +135 -0
  331. package/dist/src/commands/local/reinit.command.js.map +1 -0
  332. package/dist/src/commands/local/reset.command.d.ts +42 -0
  333. package/dist/src/commands/local/reset.command.d.ts.map +1 -0
  334. package/dist/src/commands/local/reset.command.js +203 -0
  335. package/dist/src/commands/local/reset.command.js.map +1 -0
  336. package/dist/src/commands/local/status.command.d.ts +9 -0
  337. package/dist/src/commands/local/status.command.d.ts.map +1 -0
  338. package/dist/src/commands/local/status.command.js +79 -0
  339. package/dist/src/commands/local/status.command.js.map +1 -0
  340. package/dist/src/commands/local/up.command.d.ts +32 -0
  341. package/dist/src/commands/local/up.command.d.ts.map +1 -0
  342. package/dist/src/commands/local/up.command.js +355 -0
  343. package/dist/src/commands/local/up.command.js.map +1 -0
  344. package/dist/src/commands/lock/__tests__/check.command.test.d.ts +11 -0
  345. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -0
  346. package/dist/src/commands/lock/__tests__/check.command.test.js +140 -0
  347. package/dist/src/commands/lock/__tests__/check.command.test.js.map +1 -0
  348. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +35 -0
  349. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -0
  350. package/dist/src/commands/lock/__tests__/check.live.contract.test.js +122 -0
  351. package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +1 -0
  352. package/dist/src/commands/lock/check.command.d.ts +92 -0
  353. package/dist/src/commands/lock/check.command.d.ts.map +1 -0
  354. package/dist/src/commands/lock/check.command.js +242 -0
  355. package/dist/src/commands/lock/check.command.js.map +1 -0
  356. package/dist/src/commands/market/__tests__/generate.command.test.d.ts +2 -0
  357. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -0
  358. package/dist/src/commands/market/__tests__/generate.command.test.js +207 -0
  359. package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -0
  360. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +2 -0
  361. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -0
  362. package/dist/src/commands/market/__tests__/market-command.utils.test.js +146 -0
  363. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -0
  364. package/dist/src/commands/market/generate.command.d.ts +56 -0
  365. package/dist/src/commands/market/generate.command.d.ts.map +1 -0
  366. package/dist/src/commands/market/generate.command.js +191 -0
  367. package/dist/src/commands/market/generate.command.js.map +1 -0
  368. package/dist/src/commands/market/market-command.utils.d.ts +70 -0
  369. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -0
  370. package/dist/src/commands/market/market-command.utils.js +89 -0
  371. package/dist/src/commands/market/market-command.utils.js.map +1 -0
  372. package/dist/src/commands/registry/add.command.d.ts +37 -0
  373. package/dist/src/commands/registry/add.command.d.ts.map +1 -0
  374. package/dist/src/commands/registry/add.command.js +251 -0
  375. package/dist/src/commands/registry/add.command.js.map +1 -0
  376. package/dist/src/commands/registry/info.command.d.ts +14 -0
  377. package/dist/src/commands/registry/info.command.d.ts.map +1 -0
  378. package/dist/src/commands/registry/info.command.js +83 -0
  379. package/dist/src/commands/registry/info.command.js.map +1 -0
  380. package/dist/src/commands/registry/lockfile-smoke.command.d.ts +31 -0
  381. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -0
  382. package/dist/src/commands/registry/lockfile-smoke.command.js +131 -0
  383. package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -0
  384. package/dist/src/commands/registry/login.command.d.ts +28 -0
  385. package/dist/src/commands/registry/login.command.d.ts.map +1 -0
  386. package/dist/src/commands/registry/login.command.js +117 -0
  387. package/dist/src/commands/registry/login.command.js.map +1 -0
  388. package/dist/src/commands/registry/logout.command.d.ts +15 -0
  389. package/dist/src/commands/registry/logout.command.d.ts.map +1 -0
  390. package/dist/src/commands/registry/logout.command.js +47 -0
  391. package/dist/src/commands/registry/logout.command.js.map +1 -0
  392. package/dist/src/commands/registry/ping.command.d.ts +21 -0
  393. package/dist/src/commands/registry/ping.command.d.ts.map +1 -0
  394. package/dist/src/commands/registry/ping.command.js +92 -0
  395. package/dist/src/commands/registry/ping.command.js.map +1 -0
  396. package/dist/src/commands/registry/publish.command.d.ts +37 -0
  397. package/dist/src/commands/registry/publish.command.d.ts.map +1 -0
  398. package/dist/src/commands/registry/publish.command.js +211 -0
  399. package/dist/src/commands/registry/publish.command.js.map +1 -0
  400. package/dist/src/commands/registry/remove.command.d.ts +25 -0
  401. package/dist/src/commands/registry/remove.command.d.ts.map +1 -0
  402. package/dist/src/commands/registry/remove.command.js +122 -0
  403. package/dist/src/commands/registry/remove.command.js.map +1 -0
  404. package/dist/src/commands/registry/repair-lockfile.command.d.ts +31 -0
  405. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -0
  406. package/dist/src/commands/registry/repair-lockfile.command.js +174 -0
  407. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -0
  408. package/dist/src/commands/registry/search.command.d.ts +15 -0
  409. package/dist/src/commands/registry/search.command.d.ts.map +1 -0
  410. package/dist/src/commands/registry/search.command.js +76 -0
  411. package/dist/src/commands/registry/search.command.js.map +1 -0
  412. package/dist/src/commands/registry/update.command.d.ts +32 -0
  413. package/dist/src/commands/registry/update.command.d.ts.map +1 -0
  414. package/dist/src/commands/registry/update.command.js +297 -0
  415. package/dist/src/commands/registry/update.command.js.map +1 -0
  416. package/dist/src/commands/registry/whoami.command.d.ts +16 -0
  417. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -0
  418. package/dist/src/commands/registry/whoami.command.js +116 -0
  419. package/dist/src/commands/registry/whoami.command.js.map +1 -0
  420. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +2 -0
  421. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -0
  422. package/dist/src/commands/remote/__tests__/remote-commands.test.js +100 -0
  423. package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +1 -0
  424. package/dist/src/commands/remote/create.command.d.ts +7 -0
  425. package/dist/src/commands/remote/create.command.d.ts.map +1 -0
  426. package/dist/src/commands/remote/create.command.js +110 -0
  427. package/dist/src/commands/remote/create.command.js.map +1 -0
  428. package/dist/src/commands/remote/list.command.d.ts +7 -0
  429. package/dist/src/commands/remote/list.command.d.ts.map +1 -0
  430. package/dist/src/commands/remote/list.command.js +46 -0
  431. package/dist/src/commands/remote/list.command.js.map +1 -0
  432. package/dist/src/commands/remote/status.command.d.ts +7 -0
  433. package/dist/src/commands/remote/status.command.d.ts.map +1 -0
  434. package/dist/src/commands/remote/status.command.js +67 -0
  435. package/dist/src/commands/remote/status.command.js.map +1 -0
  436. package/dist/src/commands/remote/sync.command.d.ts +7 -0
  437. package/dist/src/commands/remote/sync.command.d.ts.map +1 -0
  438. package/dist/src/commands/remote/sync.command.js +27 -0
  439. package/dist/src/commands/remote/sync.command.js.map +1 -0
  440. package/dist/src/commands/setup.command.d.ts +19 -0
  441. package/dist/src/commands/setup.command.d.ts.map +1 -0
  442. package/dist/src/commands/setup.command.js +95 -0
  443. package/dist/src/commands/setup.command.js.map +1 -0
  444. package/dist/src/commands/version.command.d.ts +7 -0
  445. package/dist/src/commands/version.command.d.ts.map +1 -0
  446. package/dist/src/commands/version.command.js +16 -0
  447. package/dist/src/commands/version.command.js.map +1 -0
  448. package/dist/src/commands/website/__tests__/audit.command.test.d.ts +2 -0
  449. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -0
  450. package/dist/src/commands/website/__tests__/audit.command.test.js +105 -0
  451. package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -0
  452. package/dist/src/commands/website/audit.command.d.ts +12 -0
  453. package/dist/src/commands/website/audit.command.d.ts.map +1 -0
  454. package/dist/src/commands/website/audit.command.js +90 -0
  455. package/dist/src/commands/website/audit.command.js.map +1 -0
  456. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +2 -0
  457. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -0
  458. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +59 -0
  459. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +1 -0
  460. package/dist/src/commands/workbench/open.command.d.ts +7 -0
  461. package/dist/src/commands/workbench/open.command.d.ts.map +1 -0
  462. package/dist/src/commands/workbench/open.command.js +26 -0
  463. package/dist/src/commands/workbench/open.command.js.map +1 -0
  464. package/dist/src/commands/workbench/status.command.d.ts +7 -0
  465. package/dist/src/commands/workbench/status.command.d.ts.map +1 -0
  466. package/dist/src/commands/workbench/status.command.js +47 -0
  467. package/dist/src/commands/workbench/status.command.js.map +1 -0
  468. package/dist/src/infrastructure/errors/error.utils.d.ts +30 -0
  469. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -0
  470. package/dist/src/infrastructure/errors/error.utils.js +80 -0
  471. package/dist/src/infrastructure/errors/error.utils.js.map +1 -0
  472. package/dist/src/infrastructure/io/file.utils.d.ts +11 -0
  473. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -0
  474. package/dist/src/infrastructure/io/file.utils.js +36 -0
  475. package/dist/src/infrastructure/io/file.utils.js.map +1 -0
  476. package/dist/src/infrastructure/io/io.schemas.d.ts +39 -0
  477. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -0
  478. package/dist/src/infrastructure/io/io.schemas.js +45 -0
  479. package/dist/src/infrastructure/io/io.schemas.js.map +1 -0
  480. package/dist/src/infrastructure/io/template-processor.d.ts +31 -0
  481. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -0
  482. package/dist/src/infrastructure/io/template-processor.js +160 -0
  483. package/dist/src/infrastructure/io/template-processor.js.map +1 -0
  484. package/dist/src/infrastructure/logger/logger.service.d.ts +62 -0
  485. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -0
  486. package/dist/src/infrastructure/logger/logger.service.js +116 -0
  487. package/dist/src/infrastructure/logger/logger.service.js.map +1 -0
  488. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +2 -0
  489. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -0
  490. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +138 -0
  491. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +1 -0
  492. package/dist/src/infrastructure/process/spawn.utils.d.ts +60 -0
  493. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -0
  494. package/dist/src/infrastructure/process/spawn.utils.js +222 -0
  495. package/dist/src/infrastructure/process/spawn.utils.js.map +1 -0
  496. package/dist/src/infrastructure/ui/formatting.service.d.ts +23 -0
  497. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -0
  498. package/dist/src/infrastructure/ui/formatting.service.js +106 -0
  499. package/dist/src/infrastructure/ui/formatting.service.js.map +1 -0
  500. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts +17 -0
  501. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -0
  502. package/dist/src/infrastructure/ui/interaction-engine.service.js +87 -0
  503. package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -0
  504. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts +8 -0
  505. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -0
  506. package/dist/src/infrastructure/ui/markdown-renderer.service.js +153 -0
  507. package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -0
  508. package/dist/src/infrastructure/ui/ui.schemas.d.ts +36 -0
  509. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -0
  510. package/dist/src/infrastructure/ui/ui.schemas.js +12 -0
  511. package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -0
  512. package/dist/src/infrastructure/utils/string.utils.d.ts +8 -0
  513. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -0
  514. package/dist/src/infrastructure/utils/string.utils.js +10 -0
  515. package/dist/src/infrastructure/utils/string.utils.js.map +1 -0
  516. package/dist/src/infrastructure/validation/validator.service.d.ts +31 -0
  517. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -0
  518. package/dist/src/infrastructure/validation/validator.service.js +52 -0
  519. package/dist/src/infrastructure/validation/validator.service.js.map +1 -0
  520. package/dist/src/kernel/__tests__/bootstrap.test.d.ts +2 -0
  521. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -0
  522. package/dist/src/kernel/__tests__/bootstrap.test.js +88 -0
  523. package/dist/src/kernel/__tests__/bootstrap.test.js.map +1 -0
  524. package/dist/src/kernel/__tests__/command-registry.test.d.ts +2 -0
  525. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -0
  526. package/dist/src/kernel/__tests__/command-registry.test.js +188 -0
  527. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -0
  528. package/dist/src/kernel/__tests__/command-runner.test.d.ts +2 -0
  529. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -0
  530. package/dist/src/kernel/__tests__/command-runner.test.js +285 -0
  531. package/dist/src/kernel/__tests__/command-runner.test.js.map +1 -0
  532. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +2 -0
  533. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -0
  534. package/dist/src/kernel/__tests__/command-scope-utils.test.js +46 -0
  535. package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +1 -0
  536. package/dist/src/kernel/__tests__/flag-utils.test.d.ts +2 -0
  537. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -0
  538. package/dist/src/kernel/__tests__/flag-utils.test.js +38 -0
  539. package/dist/src/kernel/__tests__/flag-utils.test.js.map +1 -0
  540. package/dist/src/kernel/__tests__/hooks.test.d.ts +2 -0
  541. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -0
  542. package/dist/src/kernel/__tests__/hooks.test.js +72 -0
  543. package/dist/src/kernel/__tests__/hooks.test.js.map +1 -0
  544. package/dist/src/kernel/base-command.d.ts +26 -0
  545. package/dist/src/kernel/base-command.d.ts.map +1 -0
  546. package/dist/src/kernel/base-command.js +79 -0
  547. package/dist/src/kernel/base-command.js.map +1 -0
  548. package/dist/src/kernel/bootstrap.d.ts +9 -0
  549. package/dist/src/kernel/bootstrap.d.ts.map +1 -0
  550. package/dist/src/kernel/bootstrap.js +109 -0
  551. package/dist/src/kernel/bootstrap.js.map +1 -0
  552. package/dist/src/kernel/command-registry.d.ts +44 -0
  553. package/dist/src/kernel/command-registry.d.ts.map +1 -0
  554. package/dist/src/kernel/command-registry.js +248 -0
  555. package/dist/src/kernel/command-registry.js.map +1 -0
  556. package/dist/src/kernel/command-runner.d.ts +26 -0
  557. package/dist/src/kernel/command-runner.d.ts.map +1 -0
  558. package/dist/src/kernel/command-runner.js +169 -0
  559. package/dist/src/kernel/command-runner.js.map +1 -0
  560. package/dist/src/kernel/command-scope-utils.d.ts +27 -0
  561. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -0
  562. package/dist/src/kernel/command-scope-utils.js +40 -0
  563. package/dist/src/kernel/command-scope-utils.js.map +1 -0
  564. package/dist/src/kernel/flag-utils.d.ts +32 -0
  565. package/dist/src/kernel/flag-utils.d.ts.map +1 -0
  566. package/dist/src/kernel/flag-utils.js +43 -0
  567. package/dist/src/kernel/flag-utils.js.map +1 -0
  568. package/dist/src/kernel/hooks.d.ts +17 -0
  569. package/dist/src/kernel/hooks.d.ts.map +1 -0
  570. package/dist/src/kernel/hooks.js +51 -0
  571. package/dist/src/kernel/hooks.js.map +1 -0
  572. package/dist/src/kernel/logger.d.ts +3 -0
  573. package/dist/src/kernel/logger.d.ts.map +1 -0
  574. package/dist/src/kernel/logger.js +10 -0
  575. package/dist/src/kernel/logger.js.map +1 -0
  576. package/dist/src/kernel/types.d.ts +145 -0
  577. package/dist/src/kernel/types.d.ts.map +1 -0
  578. package/dist/src/kernel/types.js +66 -0
  579. package/dist/src/kernel/types.js.map +1 -0
  580. package/dist/src/main.d.ts +7 -0
  581. package/dist/src/main.d.ts.map +1 -0
  582. package/dist/src/main.js +12 -0
  583. package/dist/src/main.js.map +1 -0
  584. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +2 -0
  585. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -0
  586. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +88 -0
  587. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +1 -0
  588. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +2 -0
  589. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -0
  590. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +96 -0
  591. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -0
  592. package/dist/src/modules/domain/credentials/admin-user.module.d.ts +53 -0
  593. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -0
  594. package/dist/src/modules/domain/credentials/admin-user.module.js +130 -0
  595. package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -0
  596. package/dist/src/modules/domain/credentials/module.types.d.ts +2 -0
  597. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -0
  598. package/dist/src/modules/domain/credentials/module.types.js +1 -0
  599. package/dist/src/modules/domain/credentials/module.types.js.map +1 -0
  600. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +31 -0
  601. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -0
  602. package/dist/src/modules/domain/credentials/providers-config.module.js +146 -0
  603. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -0
  604. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +2 -0
  605. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -0
  606. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +89 -0
  607. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +1 -0
  608. package/dist/src/modules/domain/environment/database-config.module.d.ts +10 -0
  609. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -0
  610. package/dist/src/modules/domain/environment/database-config.module.js +131 -0
  611. package/dist/src/modules/domain/environment/database-config.module.js.map +1 -0
  612. package/dist/src/modules/domain/environment/module.types.d.ts +14 -0
  613. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -0
  614. package/dist/src/modules/domain/environment/module.types.js +1 -0
  615. package/dist/src/modules/domain/environment/module.types.js.map +1 -0
  616. package/dist/src/modules/domain/environment/paths-config.module.d.ts +15 -0
  617. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -0
  618. package/dist/src/modules/domain/environment/paths-config.module.js +90 -0
  619. package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -0
  620. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts +7 -0
  621. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -0
  622. package/dist/src/modules/domain/environment/runtime-selector.module.js +30 -0
  623. package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -0
  624. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts +8 -0
  625. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -0
  626. package/dist/src/modules/domain/environment/runtime-semantics.module.js +35 -0
  627. package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -0
  628. package/dist/src/modules/domain/module.types.d.ts +10 -0
  629. package/dist/src/modules/domain/module.types.d.ts.map +1 -0
  630. package/dist/src/modules/domain/module.types.js +1 -0
  631. package/dist/src/modules/domain/module.types.js.map +1 -0
  632. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +2 -0
  633. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -0
  634. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +129 -0
  635. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -0
  636. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +2 -0
  637. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -0
  638. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +220 -0
  639. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +1 -0
  640. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +2 -0
  641. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -0
  642. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +112 -0
  643. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -0
  644. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +2 -0
  645. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -0
  646. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +873 -0
  647. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -0
  648. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +2 -0
  649. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -0
  650. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +237 -0
  651. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -0
  652. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +2 -0
  653. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -0
  654. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +244 -0
  655. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -0
  656. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +2 -0
  657. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -0
  658. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +81 -0
  659. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -0
  660. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +2 -0
  661. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -0
  662. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +211 -0
  663. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -0
  664. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +2 -0
  665. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -0
  666. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +159 -0
  667. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +1 -0
  668. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +2 -0
  669. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -0
  670. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +137 -0
  671. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -0
  672. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +2 -0
  673. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -0
  674. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +41 -0
  675. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -0
  676. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +2 -0
  677. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -0
  678. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +65 -0
  679. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +1 -0
  680. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +2 -0
  681. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -0
  682. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +46 -0
  683. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +1 -0
  684. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +10 -0
  685. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -0
  686. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +142 -0
  687. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -0
  688. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +2 -0
  689. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -0
  690. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +292 -0
  691. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -0
  692. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +2 -0
  693. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -0
  694. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +348 -0
  695. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -0
  696. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +2 -0
  697. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -0
  698. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +98 -0
  699. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +1 -0
  700. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +2 -0
  701. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -0
  702. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +94 -0
  703. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -0
  704. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +2 -0
  705. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -0
  706. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +771 -0
  707. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -0
  708. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +19 -0
  709. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -0
  710. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +173 -0
  711. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -0
  712. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +2 -0
  713. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -0
  714. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +29 -0
  715. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +1 -0
  716. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +2 -0
  717. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -0
  718. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +378 -0
  719. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -0
  720. package/dist/src/services/application/app-bootstrap.service.d.ts +438 -0
  721. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -0
  722. package/dist/src/services/application/app-bootstrap.service.js +1512 -0
  723. package/dist/src/services/application/app-bootstrap.service.js.map +1 -0
  724. package/dist/src/services/application/app-env.service.d.ts +18 -0
  725. package/dist/src/services/application/app-env.service.d.ts.map +1 -0
  726. package/dist/src/services/application/app-env.service.js +55 -0
  727. package/dist/src/services/application/app-env.service.js.map +1 -0
  728. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +34 -0
  729. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -0
  730. package/dist/src/services/application/app-local-runtime-addresses.service.js +110 -0
  731. package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -0
  732. package/dist/src/services/application/app-runtime-targets.service.d.ts +74 -0
  733. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -0
  734. package/dist/src/services/application/app-runtime-targets.service.js +134 -0
  735. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -0
  736. package/dist/src/services/application/app-schema-bootstrap.service.d.ts +81 -0
  737. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -0
  738. package/dist/src/services/application/app-schema-bootstrap.service.js +139 -0
  739. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -0
  740. package/dist/src/services/application/application-assets-delivery.service.d.ts +75 -0
  741. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -0
  742. package/dist/src/services/application/application-assets-delivery.service.js +152 -0
  743. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -0
  744. package/dist/src/services/application/application-dependency-alignment.service.d.ts +142 -0
  745. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -0
  746. package/dist/src/services/application/application-dependency-alignment.service.js +388 -0
  747. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -0
  748. package/dist/src/services/application/application-dev-port-offsets.d.ts +35 -0
  749. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -0
  750. package/dist/src/services/application/application-dev-port-offsets.js +35 -0
  751. package/dist/src/services/application/application-dev-port-offsets.js.map +1 -0
  752. package/dist/src/services/application/application-initialization-verification.service.d.ts +51 -0
  753. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -0
  754. package/dist/src/services/application/application-initialization-verification.service.js +124 -0
  755. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -0
  756. package/dist/src/services/application/application-root.utils.d.ts +9 -0
  757. package/dist/src/services/application/application-root.utils.d.ts.map +1 -0
  758. package/dist/src/services/application/application-root.utils.js +21 -0
  759. package/dist/src/services/application/application-root.utils.js.map +1 -0
  760. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +39 -0
  761. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -0
  762. package/dist/src/services/application/application-runtime-bootstrap.service.js +99 -0
  763. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -0
  764. package/dist/src/services/application/dev-orchestrator.service.d.ts +31 -0
  765. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -0
  766. package/dist/src/services/application/dev-orchestrator.service.js +182 -0
  767. package/dist/src/services/application/dev-orchestrator.service.js.map +1 -0
  768. package/dist/src/services/application/dev-schema-drift.service.d.ts +75 -0
  769. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -0
  770. package/dist/src/services/application/dev-schema-drift.service.js +210 -0
  771. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -0
  772. package/dist/src/services/application/existing-app-bootstrap.service.d.ts +18 -0
  773. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -0
  774. package/dist/src/services/application/existing-app-bootstrap.service.js +221 -0
  775. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -0
  776. package/dist/src/services/application/local-app-reinit.service.d.ts +41 -0
  777. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -0
  778. package/dist/src/services/application/local-app-reinit.service.js +118 -0
  779. package/dist/src/services/application/local-app-reinit.service.js.map +1 -0
  780. package/dist/src/services/application/local-application-initialization.service.d.ts +36 -0
  781. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -0
  782. package/dist/src/services/application/local-application-initialization.service.js +96 -0
  783. package/dist/src/services/application/local-application-initialization.service.js.map +1 -0
  784. package/dist/src/services/application/provider-runtime-sync.service.d.ts +63 -0
  785. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -0
  786. package/dist/src/services/application/provider-runtime-sync.service.js +609 -0
  787. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -0
  788. package/dist/src/services/application/saas-scaffold.service.d.ts +14 -0
  789. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -0
  790. package/dist/src/services/application/saas-scaffold.service.js +86 -0
  791. package/dist/src/services/application/saas-scaffold.service.js.map +1 -0
  792. package/dist/src/services/application/saas-skeleton.service.d.ts +69 -0
  793. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -0
  794. package/dist/src/services/application/saas-skeleton.service.js +774 -0
  795. package/dist/src/services/application/saas-skeleton.service.js.map +1 -0
  796. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +23 -0
  797. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -0
  798. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +190 -0
  799. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +1 -0
  800. package/dist/src/services/brand/brand-asset-projection.d.ts +39 -0
  801. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -0
  802. package/dist/src/services/brand/brand-asset-projection.js +68 -0
  803. package/dist/src/services/brand/brand-asset-projection.js.map +1 -0
  804. package/dist/src/services/brand/brand-destination-utils.d.ts +137 -0
  805. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -0
  806. package/dist/src/services/brand/brand-destination-utils.js +227 -0
  807. package/dist/src/services/brand/brand-destination-utils.js.map +1 -0
  808. package/dist/src/services/brand/brand-propagation.types.d.ts +101 -0
  809. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -0
  810. package/dist/src/services/brand/brand-propagation.types.js +22 -0
  811. package/dist/src/services/brand/brand-propagation.types.js.map +1 -0
  812. package/dist/src/services/brand/brand-ssot-reader.d.ts +52 -0
  813. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -0
  814. package/dist/src/services/brand/brand-ssot-reader.js +146 -0
  815. package/dist/src/services/brand/brand-ssot-reader.js.map +1 -0
  816. package/dist/src/services/brand/destinations/app-public.destination.d.ts +30 -0
  817. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -0
  818. package/dist/src/services/brand/destinations/app-public.destination.js +79 -0
  819. package/dist/src/services/brand/destinations/app-public.destination.js.map +1 -0
  820. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +61 -0
  821. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -0
  822. package/dist/src/services/brand/destinations/runtime-app-config.destination.js +149 -0
  823. package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +1 -0
  824. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +22 -0
  825. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -0
  826. package/dist/src/services/brand/destinations/technical-doc-static.destination.js +84 -0
  827. package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +1 -0
  828. package/dist/src/services/brand/destinations/website-og.destination.d.ts +34 -0
  829. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -0
  830. package/dist/src/services/brand/destinations/website-og.destination.js +80 -0
  831. package/dist/src/services/brand/destinations/website-og.destination.js.map +1 -0
  832. package/dist/src/services/brand/destinations/website-public.destination.d.ts +40 -0
  833. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -0
  834. package/dist/src/services/brand/destinations/website-public.destination.js +122 -0
  835. package/dist/src/services/brand/destinations/website-public.destination.js.map +1 -0
  836. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +2 -0
  837. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -0
  838. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +142 -0
  839. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -0
  840. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +2 -0
  841. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -0
  842. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +94 -0
  843. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -0
  844. package/dist/src/services/catalog/service-address-resolver.service.d.ts +91 -0
  845. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -0
  846. package/dist/src/services/catalog/service-address-resolver.service.js +255 -0
  847. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -0
  848. package/dist/src/services/catalog/service-catalog.schemas.d.ts +165 -0
  849. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -0
  850. package/dist/src/services/catalog/service-catalog.schemas.js +273 -0
  851. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -0
  852. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +105 -0
  853. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -0
  854. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +418 -0
  855. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -0
  856. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +10 -0
  857. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -0
  858. package/dist/src/services/companion/__tests__/companion-client.service.test.js +95 -0
  859. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -0
  860. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +2 -0
  861. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -0
  862. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +74 -0
  863. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +1 -0
  864. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +2 -0
  865. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -0
  866. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +14 -0
  867. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +1 -0
  868. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +2 -0
  869. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -0
  870. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +50 -0
  871. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -0
  872. package/dist/src/services/companion/companion-client-options.utils.d.ts +17 -0
  873. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -0
  874. package/dist/src/services/companion/companion-client-options.utils.js +31 -0
  875. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -0
  876. package/dist/src/services/companion/companion-client.service.d.ts +16 -0
  877. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -0
  878. package/dist/src/services/companion/companion-client.service.js +149 -0
  879. package/dist/src/services/companion/companion-client.service.js.map +1 -0
  880. package/dist/src/services/companion/companion-lifecycle.service.d.ts +18 -0
  881. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -0
  882. package/dist/src/services/companion/companion-lifecycle.service.js +96 -0
  883. package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -0
  884. package/dist/src/services/companion/companion.schemas.d.ts +36 -0
  885. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -0
  886. package/dist/src/services/companion/companion.schemas.js +25 -0
  887. package/dist/src/services/companion/companion.schemas.js.map +1 -0
  888. package/dist/src/services/companion/git-helper.service.d.ts +29 -0
  889. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -0
  890. package/dist/src/services/companion/git-helper.service.js +59 -0
  891. package/dist/src/services/companion/git-helper.service.js.map +1 -0
  892. package/dist/src/services/companion/local-companion-authority.service.d.ts +24 -0
  893. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -0
  894. package/dist/src/services/companion/local-companion-authority.service.js +79 -0
  895. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -0
  896. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts +9 -0
  897. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -0
  898. package/dist/src/services/companion/workbench-browser-launcher.service.js +34 -0
  899. package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -0
  900. package/dist/src/services/companion/workbench-cli.service.d.ts +41 -0
  901. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -0
  902. package/dist/src/services/companion/workbench-cli.service.js +74 -0
  903. package/dist/src/services/companion/workbench-cli.service.js.map +1 -0
  904. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +2 -0
  905. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -0
  906. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +49 -0
  907. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -0
  908. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +2 -0
  909. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -0
  910. package/dist/src/services/context/__tests__/context-manager.service.test.js +119 -0
  911. package/dist/src/services/context/__tests__/context-manager.service.test.js.map +1 -0
  912. package/dist/src/services/context/context-manager.service.d.ts +66 -0
  913. package/dist/src/services/context/context-manager.service.d.ts.map +1 -0
  914. package/dist/src/services/context/context-manager.service.js +161 -0
  915. package/dist/src/services/context/context-manager.service.js.map +1 -0
  916. package/dist/src/services/context/context.schemas.d.ts +31 -0
  917. package/dist/src/services/context/context.schemas.d.ts.map +1 -0
  918. package/dist/src/services/context/context.schemas.js +1 -0
  919. package/dist/src/services/context/context.schemas.js.map +1 -0
  920. package/dist/src/services/context/state-manager.service.d.ts +49 -0
  921. package/dist/src/services/context/state-manager.service.d.ts.map +1 -0
  922. package/dist/src/services/context/state-manager.service.js +94 -0
  923. package/dist/src/services/context/state-manager.service.js.map +1 -0
  924. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +14 -0
  925. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -0
  926. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +258 -0
  927. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -0
  928. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +2 -0
  929. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -0
  930. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +277 -0
  931. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -0
  932. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +31 -0
  933. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -0
  934. package/dist/src/services/credentials/ci-secrets-adapter.service.js +124 -0
  935. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -0
  936. package/dist/src/services/credentials/credentials.schemas.d.ts +498 -0
  937. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -0
  938. package/dist/src/services/credentials/credentials.schemas.js +454 -0
  939. package/dist/src/services/credentials/credentials.schemas.js.map +1 -0
  940. package/dist/src/services/credentials/credentials.service.d.ts +23 -0
  941. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -0
  942. package/dist/src/services/credentials/credentials.service.js +118 -0
  943. package/dist/src/services/credentials/credentials.service.js.map +1 -0
  944. package/dist/src/services/credentials/framework-managed-secrets.d.ts +169 -0
  945. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -0
  946. package/dist/src/services/credentials/framework-managed-secrets.js +406 -0
  947. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -0
  948. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +142 -0
  949. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -0
  950. package/dist/src/services/credentials/provider-env-vars.utils.js +420 -0
  951. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -0
  952. package/dist/src/services/credentials/secrets-provisioning.service.d.ts +109 -0
  953. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -0
  954. package/dist/src/services/credentials/secrets-provisioning.service.js +104 -0
  955. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -0
  956. package/dist/src/services/credentials/secrets-reader.service.d.ts +64 -0
  957. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -0
  958. package/dist/src/services/credentials/secrets-reader.service.js +222 -0
  959. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -0
  960. package/dist/src/services/credentials/secrets-rotation.service.d.ts +21 -0
  961. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -0
  962. package/dist/src/services/credentials/secrets-rotation.service.js +30 -0
  963. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -0
  964. package/dist/src/services/credentials/secrets-writer.service.d.ts +29 -0
  965. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -0
  966. package/dist/src/services/credentials/secrets-writer.service.js +63 -0
  967. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -0
  968. package/dist/src/services/data-services/data-services.schemas.d.ts +229 -0
  969. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -0
  970. package/dist/src/services/data-services/data-services.schemas.js +239 -0
  971. package/dist/src/services/data-services/data-services.schemas.js.map +1 -0
  972. package/dist/src/services/data-services/data-services.service.d.ts +14 -0
  973. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -0
  974. package/dist/src/services/data-services/data-services.service.js +24 -0
  975. package/dist/src/services/data-services/data-services.service.js.map +1 -0
  976. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +2 -0
  977. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -0
  978. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +64 -0
  979. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +1 -0
  980. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +2 -0
  981. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -0
  982. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +147 -0
  983. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -0
  984. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +2 -0
  985. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -0
  986. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +39 -0
  987. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -0
  988. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +2 -0
  989. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -0
  990. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +286 -0
  991. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -0
  992. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +20 -0
  993. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -0
  994. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +316 -0
  995. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -0
  996. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +2 -0
  997. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -0
  998. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +211 -0
  999. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +1 -0
  1000. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +2 -0
  1001. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -0
  1002. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +97 -0
  1003. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +1 -0
  1004. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +2 -0
  1005. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -0
  1006. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +258 -0
  1007. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +1 -0
  1008. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +2 -0
  1009. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -0
  1010. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +223 -0
  1011. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -0
  1012. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +2 -0
  1013. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -0
  1014. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +100 -0
  1015. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +1 -0
  1016. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +11 -0
  1017. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -0
  1018. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +451 -0
  1019. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -0
  1020. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +2 -0
  1021. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -0
  1022. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +189 -0
  1023. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -0
  1024. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +2 -0
  1025. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -0
  1026. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +150 -0
  1027. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -0
  1028. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +2 -0
  1029. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -0
  1030. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +245 -0
  1031. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +1 -0
  1032. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +2 -0
  1033. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -0
  1034. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +27 -0
  1035. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +1 -0
  1036. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts +7 -0
  1037. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -0
  1038. package/dist/src/services/deployment/apps-manager-diagnostics.service.js +51 -0
  1039. package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -0
  1040. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts +54 -0
  1041. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -0
  1042. package/dist/src/services/deployment/ci-deploy-generator.service.js +319 -0
  1043. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -0
  1044. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +109 -0
  1045. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -0
  1046. package/dist/src/services/deployment/ci-workflow-generator.service.js +160 -0
  1047. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -0
  1048. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +2 -0
  1049. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -0
  1050. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +45 -0
  1051. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +1 -0
  1052. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +2 -0
  1053. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -0
  1054. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +81 -0
  1055. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +1 -0
  1056. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +2 -0
  1057. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -0
  1058. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +814 -0
  1059. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -0
  1060. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +2 -0
  1061. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -0
  1062. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +77 -0
  1063. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -0
  1064. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +225 -0
  1065. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -0
  1066. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +696 -0
  1067. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -0
  1068. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +89 -0
  1069. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -0
  1070. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +198 -0
  1071. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -0
  1072. package/dist/src/services/deployment/docker/docker.schemas.d.ts +17 -0
  1073. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -0
  1074. package/dist/src/services/deployment/docker/docker.schemas.js +4 -0
  1075. package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -0
  1076. package/dist/src/services/deployment/docker/docker.service.d.ts +23 -0
  1077. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -0
  1078. package/dist/src/services/deployment/docker/docker.service.js +94 -0
  1079. package/dist/src/services/deployment/docker/docker.service.js.map +1 -0
  1080. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +209 -0
  1081. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -0
  1082. package/dist/src/services/deployment/host-toolchain-readiness.service.js +283 -0
  1083. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -0
  1084. package/dist/src/services/deployment/infra-writer.service.d.ts +16 -0
  1085. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -0
  1086. package/dist/src/services/deployment/infra-writer.service.js +71 -0
  1087. package/dist/src/services/deployment/infra-writer.service.js.map +1 -0
  1088. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +2 -0
  1089. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -0
  1090. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +235 -0
  1091. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -0
  1092. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +2 -0
  1093. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -0
  1094. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +968 -0
  1095. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -0
  1096. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +2 -0
  1097. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -0
  1098. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +39 -0
  1099. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +1 -0
  1100. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +2 -0
  1101. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -0
  1102. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +175 -0
  1103. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -0
  1104. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +2 -0
  1105. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -0
  1106. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +47 -0
  1107. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +1 -0
  1108. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +2 -0
  1109. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -0
  1110. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +22 -0
  1111. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +1 -0
  1112. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +30 -0
  1113. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -0
  1114. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +659 -0
  1115. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -0
  1116. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +47 -0
  1117. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -0
  1118. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +135 -0
  1119. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -0
  1120. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +283 -0
  1121. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -0
  1122. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +874 -0
  1123. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -0
  1124. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +164 -0
  1125. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -0
  1126. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +74 -0
  1127. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -0
  1128. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +152 -0
  1129. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -0
  1130. package/dist/src/services/deployment/k8s/k8s-operations.service.js +430 -0
  1131. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -0
  1132. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +23 -0
  1133. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -0
  1134. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +351 -0
  1135. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -0
  1136. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +36 -0
  1137. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -0
  1138. package/dist/src/services/deployment/k8s/k8s.schemas.js +39 -0
  1139. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -0
  1140. package/dist/src/services/deployment/k8s/kind.service.d.ts +64 -0
  1141. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -0
  1142. package/dist/src/services/deployment/k8s/kind.service.js +448 -0
  1143. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -0
  1144. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts +11 -0
  1145. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -0
  1146. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js +29 -0
  1147. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -0
  1148. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts +35 -0
  1149. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -0
  1150. package/dist/src/services/deployment/local-dev-observer-lifecycle.js +80 -0
  1151. package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -0
  1152. package/dist/src/services/deployment/local-dev-output-boundary.d.ts +120 -0
  1153. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -0
  1154. package/dist/src/services/deployment/local-dev-output-boundary.js +450 -0
  1155. package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -0
  1156. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +63 -0
  1157. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -0
  1158. package/dist/src/services/deployment/local-dev-session-lease.service.js +240 -0
  1159. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -0
  1160. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +56 -0
  1161. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -0
  1162. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +62 -0
  1163. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -0
  1164. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts +16 -0
  1165. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -0
  1166. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +72 -0
  1167. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -0
  1168. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts +41 -0
  1169. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -0
  1170. package/dist/src/services/deployment/local-precondition-checks.schemas.js +32 -0
  1171. package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -0
  1172. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +394 -0
  1173. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -0
  1174. package/dist/src/services/deployment/local-precondition-checks.service.js +785 -0
  1175. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -0
  1176. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +83 -0
  1177. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -0
  1178. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +298 -0
  1179. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -0
  1180. package/dist/src/services/deployment/platform-lifecycle.service.d.ts +105 -0
  1181. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -0
  1182. package/dist/src/services/deployment/platform-lifecycle.service.js +509 -0
  1183. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -0
  1184. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts +18 -0
  1185. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -0
  1186. package/dist/src/services/deployment/platform-runtime-policy.service.js +33 -0
  1187. package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -0
  1188. package/dist/src/services/deployment/version-compare.utils.d.ts +38 -0
  1189. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -0
  1190. package/dist/src/services/deployment/version-compare.utils.js +59 -0
  1191. package/dist/src/services/deployment/version-compare.utils.js.map +1 -0
  1192. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +5 -0
  1193. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -0
  1194. package/dist/src/services/design-tokens/design-tokens-command.service.js +277 -0
  1195. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -0
  1196. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +5 -0
  1197. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -0
  1198. package/dist/src/services/design-tokens/design-tokens-config.service.js +45 -0
  1199. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -0
  1200. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +2 -0
  1201. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -0
  1202. package/dist/src/services/design-tokens/design-tokens-config.template.js +12 -0
  1203. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -0
  1204. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts +7 -0
  1205. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -0
  1206. package/dist/src/services/design-tokens/design-tokens-css-block.service.js +24 -0
  1207. package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -0
  1208. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +23 -0
  1209. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -0
  1210. package/dist/src/services/design-tokens/design-tokens-paths.service.js +49 -0
  1211. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -0
  1212. package/dist/src/services/design-tokens/design-tokens.constants.d.ts +7 -0
  1213. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -0
  1214. package/dist/src/services/design-tokens/design-tokens.constants.js +16 -0
  1215. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -0
  1216. package/dist/src/services/design-tokens/design-tokens.models.d.ts +7 -0
  1217. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -0
  1218. package/dist/src/services/design-tokens/design-tokens.models.js +1 -0
  1219. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -0
  1220. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +2 -0
  1221. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -0
  1222. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +93 -0
  1223. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -0
  1224. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +2 -0
  1225. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -0
  1226. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +105 -0
  1227. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +1 -0
  1228. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +2 -0
  1229. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -0
  1230. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +555 -0
  1231. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -0
  1232. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +2 -0
  1233. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -0
  1234. package/dist/src/services/environment/__tests__/env-sync.service.test.js +122 -0
  1235. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -0
  1236. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +2 -0
  1237. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -0
  1238. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +1547 -0
  1239. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -0
  1240. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +22 -0
  1241. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -0
  1242. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +100 -0
  1243. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -0
  1244. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +2 -0
  1245. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -0
  1246. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +82 -0
  1247. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +1 -0
  1248. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +2 -0
  1249. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -0
  1250. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +116 -0
  1251. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +1 -0
  1252. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +2 -0
  1253. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -0
  1254. package/dist/src/services/environment/__tests__/environment-paths.service.test.js +18 -0
  1255. package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +1 -0
  1256. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +2 -0
  1257. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -0
  1258. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +175 -0
  1259. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -0
  1260. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +2 -0
  1261. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -0
  1262. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +164 -0
  1263. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -0
  1264. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +2 -0
  1265. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -0
  1266. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +96 -0
  1267. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +1 -0
  1268. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +2 -0
  1269. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -0
  1270. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +30 -0
  1271. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -0
  1272. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +2 -0
  1273. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -0
  1274. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +48 -0
  1275. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +1 -0
  1276. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +2 -0
  1277. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -0
  1278. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +96 -0
  1279. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +1 -0
  1280. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +2 -0
  1281. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -0
  1282. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +121 -0
  1283. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -0
  1284. package/dist/src/services/environment/authored-infra-config.utils.d.ts +69 -0
  1285. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -0
  1286. package/dist/src/services/environment/authored-infra-config.utils.js +174 -0
  1287. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -0
  1288. package/dist/src/services/environment/env-configuration-generator.service.d.ts +340 -0
  1289. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -0
  1290. package/dist/src/services/environment/env-configuration-generator.service.js +560 -0
  1291. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -0
  1292. package/dist/src/services/environment/env-sync.service.d.ts +36 -0
  1293. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -0
  1294. package/dist/src/services/environment/env-sync.service.js +166 -0
  1295. package/dist/src/services/environment/env-sync.service.js.map +1 -0
  1296. package/dist/src/services/environment/env-vars-builder.service.d.ts +301 -0
  1297. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -0
  1298. package/dist/src/services/environment/env-vars-builder.service.js +1493 -0
  1299. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -0
  1300. package/dist/src/services/environment/environment-hydration.utils.d.ts +92 -0
  1301. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -0
  1302. package/dist/src/services/environment/environment-hydration.utils.js +178 -0
  1303. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -0
  1304. package/dist/src/services/environment/environment-lifecycle.service.d.ts +103 -0
  1305. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -0
  1306. package/dist/src/services/environment/environment-lifecycle.service.js +264 -0
  1307. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -0
  1308. package/dist/src/services/environment/environment-paths.service.d.ts +235 -0
  1309. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -0
  1310. package/dist/src/services/environment/environment-paths.service.js +472 -0
  1311. package/dist/src/services/environment/environment-paths.service.js.map +1 -0
  1312. package/dist/src/services/environment/environment-registry.service.d.ts +111 -0
  1313. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -0
  1314. package/dist/src/services/environment/environment-registry.service.js +391 -0
  1315. package/dist/src/services/environment/environment-registry.service.js.map +1 -0
  1316. package/dist/src/services/environment/environment-setup.service.d.ts +28 -0
  1317. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -0
  1318. package/dist/src/services/environment/environment-setup.service.js +304 -0
  1319. package/dist/src/services/environment/environment-setup.service.js.map +1 -0
  1320. package/dist/src/services/environment/environment.schemas.d.ts +211 -0
  1321. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -0
  1322. package/dist/src/services/environment/environment.schemas.js +56 -0
  1323. package/dist/src/services/environment/environment.schemas.js.map +1 -0
  1324. package/dist/src/services/environment/environment.service.d.ts +74 -0
  1325. package/dist/src/services/environment/environment.service.d.ts.map +1 -0
  1326. package/dist/src/services/environment/environment.service.js +65 -0
  1327. package/dist/src/services/environment/environment.service.js.map +1 -0
  1328. package/dist/src/services/environment/platform-engine-change.utils.d.ts +87 -0
  1329. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -0
  1330. package/dist/src/services/environment/platform-engine-change.utils.js +121 -0
  1331. package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -0
  1332. package/dist/src/services/environment/platform-runtime-state.service.d.ts +14 -0
  1333. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -0
  1334. package/dist/src/services/environment/platform-runtime-state.service.js +68 -0
  1335. package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -0
  1336. package/dist/src/services/environment/platform-runtime.schemas.d.ts +74 -0
  1337. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -0
  1338. package/dist/src/services/environment/platform-runtime.schemas.js +85 -0
  1339. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -0
  1340. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +285 -0
  1341. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -0
  1342. package/dist/src/services/environment/runtime-bootstrap.service.js +436 -0
  1343. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -0
  1344. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +14 -0
  1345. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -0
  1346. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +65 -0
  1347. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -0
  1348. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +2 -0
  1349. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -0
  1350. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +41 -0
  1351. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -0
  1352. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +2 -0
  1353. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -0
  1354. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +38 -0
  1355. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +1 -0
  1356. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +2 -0
  1357. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -0
  1358. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +181 -0
  1359. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +1 -0
  1360. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +2 -0
  1361. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -0
  1362. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +328 -0
  1363. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -0
  1364. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +2 -0
  1365. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -0
  1366. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +84 -0
  1367. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -0
  1368. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +2 -0
  1369. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -0
  1370. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +232 -0
  1371. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -0
  1372. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +2 -0
  1373. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -0
  1374. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +1316 -0
  1375. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -0
  1376. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +2 -0
  1377. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -0
  1378. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +1224 -0
  1379. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -0
  1380. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +2 -0
  1381. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -0
  1382. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +504 -0
  1383. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -0
  1384. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +2 -0
  1385. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -0
  1386. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +456 -0
  1387. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -0
  1388. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +2 -0
  1389. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -0
  1390. package/dist/src/services/framework/__tests__/framework-release.service.test.js +75 -0
  1391. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -0
  1392. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +2 -0
  1393. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -0
  1394. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +64 -0
  1395. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +1 -0
  1396. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +2 -0
  1397. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -0
  1398. package/dist/src/services/framework/__tests__/framework-version.service.test.js +105 -0
  1399. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -0
  1400. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +2 -0
  1401. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -0
  1402. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +60 -0
  1403. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +1 -0
  1404. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +67 -0
  1405. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -0
  1406. package/dist/src/services/framework/framework-development-skills-sync.service.js +536 -0
  1407. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -0
  1408. package/dist/src/services/framework/framework-docker-publish.service.d.ts +82 -0
  1409. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -0
  1410. package/dist/src/services/framework/framework-docker-publish.service.js +234 -0
  1411. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -0
  1412. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts +42 -0
  1413. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -0
  1414. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js +214 -0
  1415. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -0
  1416. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +547 -0
  1417. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -0
  1418. package/dist/src/services/framework/framework-knowledge-audit.service.js +2138 -0
  1419. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -0
  1420. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +181 -0
  1421. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -0
  1422. package/dist/src/services/framework/framework-knowledge-generation.service.js +1794 -0
  1423. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -0
  1424. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +11 -0
  1425. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -0
  1426. package/dist/src/services/framework/framework-knowledge-scan.constants.js +74 -0
  1427. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -0
  1428. package/dist/src/services/framework/framework-npm-publish.service.d.ts +82 -0
  1429. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -0
  1430. package/dist/src/services/framework/framework-npm-publish.service.js +365 -0
  1431. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -0
  1432. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +111 -0
  1433. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -0
  1434. package/dist/src/services/framework/framework-publish-manifest.service.js +520 -0
  1435. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -0
  1436. package/dist/src/services/framework/framework-release.service.d.ts +40 -0
  1437. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -0
  1438. package/dist/src/services/framework/framework-release.service.js +104 -0
  1439. package/dist/src/services/framework/framework-release.service.js.map +1 -0
  1440. package/dist/src/services/framework/framework-version.service.d.ts +39 -0
  1441. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -0
  1442. package/dist/src/services/framework/framework-version.service.js +200 -0
  1443. package/dist/src/services/framework/framework-version.service.js.map +1 -0
  1444. package/dist/src/services/framework/installed-framework-assets.service.d.ts +61 -0
  1445. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -0
  1446. package/dist/src/services/framework/installed-framework-assets.service.js +87 -0
  1447. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -0
  1448. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +2 -0
  1449. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -0
  1450. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +69 -0
  1451. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -0
  1452. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +2 -0
  1453. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -0
  1454. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +52 -0
  1455. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +1 -0
  1456. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +2 -0
  1457. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -0
  1458. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +129 -0
  1459. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -0
  1460. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts +49 -0
  1461. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -0
  1462. package/dist/src/services/frontend/cloudflare-cdn.service.js +84 -0
  1463. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -0
  1464. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +62 -0
  1465. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -0
  1466. package/dist/src/services/frontend/frontend-dist-uploader.service.js +149 -0
  1467. package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -0
  1468. package/dist/src/services/frontend/frontend-publish.service.d.ts +70 -0
  1469. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -0
  1470. package/dist/src/services/frontend/frontend-publish.service.js +211 -0
  1471. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -0
  1472. package/dist/src/services/generation/domain-generator.service.d.ts +11 -0
  1473. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -0
  1474. package/dist/src/services/generation/domain-generator.service.js +35 -0
  1475. package/dist/src/services/generation/domain-generator.service.js.map +1 -0
  1476. package/dist/src/services/generation/generator.schemas.d.ts +27 -0
  1477. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -0
  1478. package/dist/src/services/generation/generator.schemas.js +4 -0
  1479. package/dist/src/services/generation/generator.schemas.js.map +1 -0
  1480. package/dist/src/services/generation/operation-generator.service.d.ts +11 -0
  1481. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -0
  1482. package/dist/src/services/generation/operation-generator.service.js +42 -0
  1483. package/dist/src/services/generation/operation-generator.service.js.map +1 -0
  1484. package/dist/src/services/generation/resource-generator.service.d.ts +11 -0
  1485. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -0
  1486. package/dist/src/services/generation/resource-generator.service.js +41 -0
  1487. package/dist/src/services/generation/resource-generator.service.js.map +1 -0
  1488. package/dist/src/services/generation/template-registry.service.d.ts +13 -0
  1489. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -0
  1490. package/dist/src/services/generation/template-registry.service.js +25 -0
  1491. package/dist/src/services/generation/template-registry.service.js.map +1 -0
  1492. package/dist/src/services/registry/artifact-extractor.utils.d.ts +49 -0
  1493. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -0
  1494. package/dist/src/services/registry/artifact-extractor.utils.js +146 -0
  1495. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -0
  1496. package/dist/src/services/registry/boundary-fanout.utils.d.ts +95 -0
  1497. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -0
  1498. package/dist/src/services/registry/boundary-fanout.utils.js +178 -0
  1499. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -0
  1500. package/dist/src/services/registry/index.d.ts +7 -0
  1501. package/dist/src/services/registry/index.d.ts.map +1 -0
  1502. package/dist/src/services/registry/index.js +7 -0
  1503. package/dist/src/services/registry/index.js.map +1 -0
  1504. package/dist/src/services/registry/registry-command.utils.d.ts +90 -0
  1505. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -0
  1506. package/dist/src/services/registry/registry-command.utils.js +164 -0
  1507. package/dist/src/services/registry/registry-command.utils.js.map +1 -0
  1508. package/dist/src/services/registry/registry-config-resolver.service.d.ts +50 -0
  1509. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -0
  1510. package/dist/src/services/registry/registry-config-resolver.service.js +88 -0
  1511. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -0
  1512. package/dist/src/services/registry/registry-credentials.service.d.ts +64 -0
  1513. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -0
  1514. package/dist/src/services/registry/registry-credentials.service.js +171 -0
  1515. package/dist/src/services/registry/registry-credentials.service.js.map +1 -0
  1516. package/dist/src/services/registry/saas-root-required.error.d.ts +22 -0
  1517. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -0
  1518. package/dist/src/services/registry/saas-root-required.error.js +26 -0
  1519. package/dist/src/services/registry/saas-root-required.error.js.map +1 -0
  1520. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +2 -0
  1521. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -0
  1522. package/dist/src/services/security/__tests__/csp-boundary.test.js +99 -0
  1523. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -0
  1524. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +2 -0
  1525. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -0
  1526. package/dist/src/services/security/__tests__/csp-sync.service.test.js +158 -0
  1527. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -0
  1528. package/dist/src/services/security/csp-sync.service.d.ts +65 -0
  1529. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -0
  1530. package/dist/src/services/security/csp-sync.service.js +294 -0
  1531. package/dist/src/services/security/csp-sync.service.js.map +1 -0
  1532. package/dist/src/services/tools/utility-tools.service.d.ts +47 -0
  1533. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -0
  1534. package/dist/src/services/tools/utility-tools.service.js +332 -0
  1535. package/dist/src/services/tools/utility-tools.service.js.map +1 -0
  1536. package/dist/src/services/website/website-structured-data-audit.service.d.ts +15 -0
  1537. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -0
  1538. package/dist/src/services/website/website-structured-data-audit.service.js +125 -0
  1539. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -0
  1540. package/dist/src/test-utils/resolved-homes.test.utils.d.ts +4 -0
  1541. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -0
  1542. package/dist/src/test-utils/resolved-homes.test.utils.js +18 -0
  1543. package/dist/src/test-utils/resolved-homes.test.utils.js.map +1 -0
  1544. package/dist/tsconfig.build.tsbuildinfo +1 -0
  1545. package/dist/tsconfig.tsbuildinfo +1 -0
  1546. package/framework-root-package.json +270 -0
  1547. package/package.json +431 -0
  1548. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +773 -0
  1549. package/templates/config/app-backend-env.example.hbs +47 -0
  1550. package/templates/infra/ci/README.md +36 -0
  1551. package/templates/infra/ci/deploy-docker-compose.yml.hbs +103 -0
  1552. package/templates/infra/ci/deploy-k8s.yml.hbs +114 -0
  1553. package/templates/infra/ci/wildo-config-validation.yml.hbs +40 -0
  1554. package/templates/infra/docker-compose/.env.example +24 -0
  1555. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +174 -0
  1556. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +1198 -0
  1557. package/templates/infra/docker-images/application/.dockerignore +83 -0
  1558. package/templates/infra/docker-images/backend/Dockerfile.backend-base +43 -0
  1559. package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +31 -0
  1560. package/templates/infra/docker-images/platform/Dockerfile.platform-base +178 -0
  1561. package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +46 -0
  1562. package/templates/infra/docker-images/platform/entrypoint.sh +191 -0
  1563. package/templates/infra/docker-images/platform/verify-peers.mjs +67 -0
  1564. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +164 -0
  1565. package/templates/infra/k8s/applications/wildo-ai-application/backend.immudb-audit-state.pvc.yaml.hbs +43 -0
  1566. package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +31 -0
  1567. package/templates/infra/k8s/applications/wildo-ai-application/frontend.deployment.yaml.hbs +117 -0
  1568. package/templates/infra/k8s/applications/wildo-ai-application/frontend.service.yaml.hbs +27 -0
  1569. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +59 -0
  1570. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +158 -0
  1571. package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +145 -0
  1572. package/templates/infra/k8s/applications/wildo-ai-application/worker.service.yaml.hbs +29 -0
  1573. package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +44 -0
  1574. package/templates/infra/k8s/ingress/cert-manager/local/selfsigned-issuer.yaml +48 -0
  1575. package/templates/infra/k8s/ingress/cert-manager/local/wildcard-certificate.yaml +24 -0
  1576. package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +41 -0
  1577. package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +39 -0
  1578. package/templates/infra/k8s/ingress/traefik/local/values.yaml +57 -0
  1579. package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +79 -0
  1580. package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +96 -0
  1581. package/templates/infra/k8s/internal/clamav/service.yaml.hbs +22 -0
  1582. package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +46 -0
  1583. package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +19 -0
  1584. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +153 -0
  1585. package/templates/infra/k8s/internal/immudb/service.yaml.hbs +21 -0
  1586. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +97 -0
  1587. package/templates/infra/k8s/internal/minio/service.yaml.hbs +23 -0
  1588. package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +273 -0
  1589. package/templates/infra/k8s/internal/mongodb/service.yaml.hbs +24 -0
  1590. package/templates/infra/k8s/internal/mongot/configmap.yaml.hbs +53 -0
  1591. package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +123 -0
  1592. package/templates/infra/k8s/internal/mongot/service.yaml.hbs +33 -0
  1593. package/templates/infra/k8s/internal/postgresql/configmap.yaml.hbs +46 -0
  1594. package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +131 -0
  1595. package/templates/infra/k8s/internal/postgresql/service.yaml.hbs +19 -0
  1596. package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +105 -0
  1597. package/templates/infra/k8s/internal/rabbitmq/service.yaml.hbs +23 -0
  1598. package/templates/infra/k8s/internal/valkey/configmap.yaml.hbs +23 -0
  1599. package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +129 -0
  1600. package/templates/infra/k8s/internal/valkey/service.yaml.hbs +19 -0
  1601. package/templates/infra/k8s/middleware.yaml.hbs +101 -0
  1602. package/templates/infra/k8s/namespace.yaml.hbs +7 -0
  1603. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +172 -0
  1604. package/templates/infra/k8s/platform/platform-apps-manager/service.yaml +19 -0
  1605. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +161 -0
  1606. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/service.yaml +19 -0
  1607. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +161 -0
  1608. package/templates/infra/k8s/platform/platform-module-registry/service.yaml +19 -0
  1609. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +221 -0
  1610. package/templates/infra/k8s/storage/local/storage-class.yaml +74 -0
  1611. package/templates/infra/k8s/tls-config.yaml.hbs +41 -0
  1612. package/templates/infra/yara-rules/archives.yar +99 -0
  1613. package/templates/infra/yara-rules/executables.yar +88 -0
  1614. package/templates/infra/yara-rules/office_macros.yar +79 -0
  1615. package/templates/infra/yara-rules/scripts.yar +103 -0
  1616. package/templates/infra/yara-rules/webshells.yar +111 -0
  1617. package/templates/infra/yara-service/Dockerfile +30 -0
  1618. package/templates/infra/yara-service/api.py +236 -0
  1619. package/templates/infra/yara-service/requirements.txt +3 -0
  1620. package/templates/infra/yara-service/rules/archives.yar +99 -0
  1621. package/templates/infra/yara-service/rules/executables.yar +88 -0
  1622. package/templates/infra/yara-service/rules/office_macros.yar +79 -0
  1623. package/templates/infra/yara-service/rules/scripts.yar +103 -0
  1624. package/templates/infra/yara-service/rules/webshells.yar +111 -0
  1625. package/templates/saas/engine-peer-closure.json +569 -0
  1626. package/templates/saas/i18n/email/components/AlertBox.tsx +53 -0
  1627. package/templates/saas/i18n/email/components/BodyText.tsx +25 -0
  1628. package/templates/saas/i18n/email/components/Card.tsx +23 -0
  1629. package/templates/saas/i18n/email/components/Divider.tsx +19 -0
  1630. package/templates/saas/i18n/email/components/EmailFooter.tsx +47 -0
  1631. package/templates/saas/i18n/email/components/EmailHeader.tsx +37 -0
  1632. package/templates/saas/i18n/email/components/EmailLayout.tsx +52 -0
  1633. package/templates/saas/i18n/email/components/HeadingText.tsx +27 -0
  1634. package/templates/saas/i18n/email/components/InfoRow.tsx +43 -0
  1635. package/templates/saas/i18n/email/components/OtpCodeDisplay.tsx +35 -0
  1636. package/templates/saas/i18n/email/components/PrimaryButton.tsx +30 -0
  1637. package/templates/saas/i18n/email/components/SecondaryButton.tsx +31 -0
  1638. package/templates/saas/i18n/email/components/index.ts +35 -0
  1639. package/templates/saas/i18n/email/email-template-definitions.ts +46 -0
  1640. package/templates/saas/i18n/email/index.ts +2 -0
  1641. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.en.ts +14 -0
  1642. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +49 -0
  1643. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.en.ts +14 -0
  1644. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +49 -0
  1645. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.en.ts +14 -0
  1646. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +49 -0
  1647. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.en.ts +14 -0
  1648. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +49 -0
  1649. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.en.ts +14 -0
  1650. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +49 -0
  1651. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.en.ts +14 -0
  1652. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +53 -0
  1653. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.en.ts +14 -0
  1654. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +53 -0
  1655. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.en.ts +14 -0
  1656. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +53 -0
  1657. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.en.ts +16 -0
  1658. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +60 -0
  1659. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.en.ts +13 -0
  1660. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +48 -0
  1661. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.en.ts +14 -0
  1662. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +51 -0
  1663. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.en.ts +14 -0
  1664. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +51 -0
  1665. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.en.ts +14 -0
  1666. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +51 -0
  1667. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.en.ts +14 -0
  1668. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +51 -0
  1669. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.en.ts +16 -0
  1670. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +61 -0
  1671. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.en.ts +13 -0
  1672. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +48 -0
  1673. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.en.ts +13 -0
  1674. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +48 -0
  1675. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.en.ts +14 -0
  1676. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +51 -0
  1677. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.en.ts +14 -0
  1678. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +51 -0
  1679. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.en.ts +14 -0
  1680. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +51 -0
  1681. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.en.ts +16 -0
  1682. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +61 -0
  1683. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.en.ts +14 -0
  1684. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +50 -0
  1685. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.en.ts +14 -0
  1686. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +50 -0
  1687. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.en.ts +13 -0
  1688. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +50 -0
  1689. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.en.ts +13 -0
  1690. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +50 -0
  1691. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.en.ts +13 -0
  1692. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +50 -0
  1693. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.en.ts +14 -0
  1694. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +50 -0
  1695. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.en.ts +13 -0
  1696. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +50 -0
  1697. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.en.ts +13 -0
  1698. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +50 -0
  1699. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.en.ts +13 -0
  1700. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +50 -0
  1701. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.en.ts +14 -0
  1702. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +50 -0
  1703. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.en.ts +13 -0
  1704. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +50 -0
  1705. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.en.ts +13 -0
  1706. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +50 -0
  1707. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +22 -0
  1708. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +80 -0
  1709. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +22 -0
  1710. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +80 -0
  1711. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +16 -0
  1712. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +48 -0
  1713. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +22 -0
  1714. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +80 -0
  1715. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +30 -0
  1716. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +84 -0
  1717. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +20 -0
  1718. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +77 -0
  1719. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +22 -0
  1720. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +73 -0
  1721. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +20 -0
  1722. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +77 -0
  1723. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/labels.en.ts +19 -0
  1724. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +53 -0
  1725. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +18 -0
  1726. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +63 -0
  1727. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +18 -0
  1728. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +49 -0
  1729. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +17 -0
  1730. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +49 -0
  1731. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +20 -0
  1732. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +77 -0
  1733. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/labels.en.ts +17 -0
  1734. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +43 -0
  1735. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +20 -0
  1736. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +77 -0
  1737. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.en.ts +14 -0
  1738. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +53 -0
  1739. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.en.ts +14 -0
  1740. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +53 -0
  1741. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.en.ts +14 -0
  1742. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +53 -0
  1743. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.en.ts +14 -0
  1744. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +53 -0
  1745. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.en.ts +14 -0
  1746. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +53 -0
  1747. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.en.ts +14 -0
  1748. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +53 -0
  1749. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.en.ts +14 -0
  1750. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +53 -0
  1751. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.en.ts +14 -0
  1752. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +53 -0
  1753. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.en.ts +16 -0
  1754. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +61 -0
  1755. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.en.ts +16 -0
  1756. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +61 -0
  1757. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.en.ts +15 -0
  1758. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +58 -0
  1759. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.en.ts +16 -0
  1760. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +61 -0
  1761. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.en.ts +14 -0
  1762. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +51 -0
  1763. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.en.ts +16 -0
  1764. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +61 -0
  1765. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.en.ts +13 -0
  1766. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +49 -0
  1767. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.en.ts +15 -0
  1768. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +54 -0
  1769. package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.en.ts +14 -0
  1770. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +52 -0
  1771. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.en.ts +16 -0
  1772. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +48 -0
  1773. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.en.ts +18 -0
  1774. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +48 -0
  1775. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.en.ts +11 -0
  1776. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +39 -0
  1777. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.en.ts +11 -0
  1778. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +37 -0
  1779. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.en.ts +13 -0
  1780. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +50 -0
  1781. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.en.ts +13 -0
  1782. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +50 -0
  1783. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +39 -0
  1784. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +102 -0
  1785. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.en.ts +13 -0
  1786. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +46 -0
  1787. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.en.ts +12 -0
  1788. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +46 -0
  1789. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.en.ts +13 -0
  1790. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +50 -0
  1791. package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.en.ts +14 -0
  1792. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +56 -0
  1793. package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.en.ts +13 -0
  1794. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +50 -0
  1795. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.en.ts +13 -0
  1796. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +50 -0
  1797. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.en.ts +13 -0
  1798. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +50 -0
  1799. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.en.ts +13 -0
  1800. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +50 -0
  1801. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.en.ts +13 -0
  1802. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +50 -0
  1803. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.en.ts +13 -0
  1804. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +50 -0
  1805. package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.en.ts +13 -0
  1806. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +50 -0
  1807. package/templates/saas/i18n/email/system/email-otp/labels.en.ts +10 -0
  1808. package/templates/saas/i18n/email/system/email-otp/template.tsx +44 -0
  1809. package/templates/saas/i18n/email/system/email-verification/labels.en.ts +11 -0
  1810. package/templates/saas/i18n/email/system/email-verification/template.tsx +39 -0
  1811. package/templates/saas/i18n/email/system/magic-link/labels.en.ts +10 -0
  1812. package/templates/saas/i18n/email/system/magic-link/template.tsx +44 -0
  1813. package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +18 -0
  1814. package/templates/saas/i18n/email/system/new-device-login/template.tsx +62 -0
  1815. package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +15 -0
  1816. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +65 -0
  1817. package/templates/saas/i18n/email/system/organization-member-removed/labels.en.ts +14 -0
  1818. package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +54 -0
  1819. package/templates/saas/i18n/email/system/password-reset/labels.en.ts +10 -0
  1820. package/templates/saas/i18n/email/system/password-reset/template.tsx +42 -0
  1821. package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +16 -0
  1822. package/templates/saas/i18n/email/system/payment-failed/template.tsx +59 -0
  1823. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +16 -0
  1824. package/templates/saas/i18n/email/system/security-alert/template.tsx +71 -0
  1825. package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +15 -0
  1826. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +56 -0
  1827. package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +14 -0
  1828. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +59 -0
  1829. package/templates/saas/i18n/email/system/welcome-email/labels.en.ts +15 -0
  1830. package/templates/saas/i18n/email/system/welcome-email/template.tsx +42 -0
  1831. package/templates/saas/scenarios/add-backend-provider/scenario.json +17 -0
  1832. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +36 -0
  1833. package/templates/saas/scenarios/add-custom-operation/scenario.json +61 -0
  1834. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +73 -0
  1835. package/templates/saas/scenarios/add-environment/scenario.json +53 -0
  1836. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +27 -0
  1837. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +27 -0
  1838. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +18 -0
  1839. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +52 -0
  1840. package/templates/saas/scenarios/add-locale/scenario.json +19 -0
  1841. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +52 -0
  1842. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +22 -0
  1843. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +49 -0
  1844. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +59 -0
  1845. package/templates/saas/scenarios/add-marketing-page/scenario.json +38 -0
  1846. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +20 -0
  1847. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +42 -0
  1848. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +81 -0
  1849. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/companion-exports.ts.hbs +15 -0
  1850. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +135 -0
  1851. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/minion-init.ts.hbs +39 -0
  1852. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.build.json +12 -0
  1853. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.json +16 -0
  1854. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +33 -0
  1855. package/templates/saas/scenarios/add-minion/scenario.json +27 -0
  1856. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.ts.hbs +9 -0
  1857. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.types.ts.hbs +2 -0
  1858. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/controllers/index.ts.hbs +12 -0
  1859. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/services/index.ts.hbs +8 -0
  1860. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/index.ts.hbs +17 -0
  1861. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/resources/index.ts +9 -0
  1862. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/index.ts.hbs +11 -0
  1863. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/view-refs.frontend.ts.hbs +6 -0
  1864. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +33 -0
  1865. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/index.ts.hbs +14 -0
  1866. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/resources/index.ts.hbs +11 -0
  1867. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/index.ts.hbs +16 -0
  1868. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.relationships.ts.hbs +27 -0
  1869. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resource-configs.ts.hbs +17 -0
  1870. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resources-types.ts.hbs +10 -0
  1871. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/index.ts.hbs +7 -0
  1872. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/chart-view-specifications.ts.hbs +12 -0
  1873. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/composite-views/index.ts.hbs +4 -0
  1874. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/execution-view-specifications.ts.hbs +11 -0
  1875. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +31 -0
  1876. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/resources/index.ts.hbs +10 -0
  1877. package/templates/saas/scenarios/add-module/scenario.json +69 -0
  1878. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.resources-config.ts.hbs +86 -0
  1879. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +26 -0
  1880. package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +126 -0
  1881. package/templates/saas/scenarios/add-resource/scenario.json +149 -0
  1882. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +288 -0
  1883. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/README.md +195 -0
  1884. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +20 -0
  1885. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/directive-only/cross-domain-insecure.conf +12 -0
  1886. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +40 -0
  1887. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/protect-system-files.conf +20 -0
  1888. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/mime.types +108 -0
  1889. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/nginx.conf +91 -0
  1890. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +112 -0
  1891. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +56 -0
  1892. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +110 -0
  1893. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +54 -0
  1894. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/companion-exports.ts +16 -0
  1895. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +72 -0
  1896. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +89 -0
  1897. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/css/custom.css +951 -0
  1898. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +13 -0
  1899. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +41 -0
  1900. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +5 -0
  1901. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +5 -0
  1902. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/index.tsx +12 -0
  1903. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +83 -0
  1904. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +10 -0
  1905. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +38 -0
  1906. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
  1907. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +11 -0
  1908. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
  1909. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -0
  1910. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/tsconfig.json +27 -0
  1911. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +87 -0
  1912. package/templates/saas/scenarios/add-technical-doc/scenario.json +27 -0
  1913. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +103 -0
  1914. package/templates/saas/scenarios/add-website/files/website/nginx-config/default.conf.hbs +15 -0
  1915. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +32 -0
  1916. package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +25 -0
  1917. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +21 -0
  1918. package/templates/saas/scenarios/add-website/files/website/src/companion-exports.ts +7 -0
  1919. package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +63 -0
  1920. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +119 -0
  1921. package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +20 -0
  1922. package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +40 -0
  1923. package/templates/saas/scenarios/add-website/files/website/src/env.d.ts +1 -0
  1924. package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +11 -0
  1925. package/templates/saas/scenarios/add-website/files/website/src/head-assets.ts +22 -0
  1926. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +18 -0
  1927. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +52 -0
  1928. package/templates/saas/scenarios/add-website/files/website/src/pages/robots.txt.ts +30 -0
  1929. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +34 -0
  1930. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +50 -0
  1931. package/templates/saas/scenarios/add-website/files/website/src/provider-contributions.ts +10 -0
  1932. package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +59 -0
  1933. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +76 -0
  1934. package/templates/saas/scenarios/add-website/files/website/src/site.constants.ts.hbs +15 -0
  1935. package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +441 -0
  1936. package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +126 -0
  1937. package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +81 -0
  1938. package/templates/saas/scenarios/add-website/files/website/tsconfig.json +12 -0
  1939. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +32 -0
  1940. package/templates/saas/scenarios/add-website/scenario.json +25 -0
  1941. package/templates/saas/scenarios/add-website-section/scenario.json +43 -0
  1942. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +19 -0
  1943. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +40 -0
  1944. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/companion-exports.ts.hbs +17 -0
  1945. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +180 -0
  1946. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.build.json +12 -0
  1947. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.json +16 -0
  1948. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +38 -0
  1949. package/templates/saas/scenarios/add-worker-node/scenario.json +24 -0
  1950. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +21 -0
  1951. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +21 -0
  1952. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +408 -0
  1953. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +41 -0
  1954. package/templates/saas/scenarios/add-worker-rust/scenario.json +22 -0
  1955. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/package.json.hbs +10 -0
  1956. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +161 -0
  1957. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/resolve-home-path.mts +62 -0
  1958. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +552 -0
  1959. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +75 -0
  1960. package/templates/saas/skeleton/CLAUDE.md.hbs +82 -0
  1961. package/templates/saas/skeleton/backend-api/package.json.hbs +50 -0
  1962. package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +116 -0
  1963. package/templates/saas/skeleton/backend-api/src/backend-owned-module.ts +8 -0
  1964. package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +51 -0
  1965. package/templates/saas/skeleton/backend-api/src/companion-exports.ts +37 -0
  1966. package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +46 -0
  1967. package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +2 -0
  1968. package/templates/saas/skeleton/backend-api/src/engine/i18n/index.ts +30 -0
  1969. package/templates/saas/skeleton/backend-api/src/engine/index.ts +16 -0
  1970. package/templates/saas/skeleton/backend-api/src/engine/resources/index.ts +8 -0
  1971. package/templates/saas/skeleton/backend-api/src/index.ts +99 -0
  1972. package/templates/saas/skeleton/backend-api/src/modules/index.ts +21 -0
  1973. package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +71 -0
  1974. package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +44 -0
  1975. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +165 -0
  1976. package/templates/saas/skeleton/backend-api/tsconfig.build.json +14 -0
  1977. package/templates/saas/skeleton/backend-api/tsconfig.json.hbs +24 -0
  1978. package/templates/saas/skeleton/backend-api/tsconfig.runtime.json.hbs +12 -0
  1979. package/templates/saas/skeleton/frontend/Dockerfile +25 -0
  1980. package/templates/saas/skeleton/frontend/index.html.hbs +57 -0
  1981. package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +15 -0
  1982. package/templates/saas/skeleton/frontend/package.json.hbs +83 -0
  1983. package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +129 -0
  1984. package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +156 -0
  1985. package/templates/saas/skeleton/frontend/src/__tests__/vitest-jsdom-globals-setup.mjs +120 -0
  1986. package/templates/saas/skeleton/frontend/src/browser-bootstrap/__tests__/first-paint-ownership.test.ts +41 -0
  1987. package/templates/saas/skeleton/frontend/src/browser-bootstrap/app-shell-bootstrap.ts +46 -0
  1988. package/templates/saas/skeleton/frontend/src/companion-exports.ts.hbs +60 -0
  1989. package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +184 -0
  1990. package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +169 -0
  1991. package/templates/saas/skeleton/frontend/src/config/global-views.config.ts +91 -0
  1992. package/templates/saas/skeleton/frontend/src/config/index.ts +5 -0
  1993. package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +100 -0
  1994. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +49 -0
  1995. package/templates/saas/skeleton/frontend/src/csp.config.ts +37 -0
  1996. package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +133 -0
  1997. package/templates/saas/skeleton/frontend/src/engine/app-shell.module.frontend.ts +17 -0
  1998. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +42 -0
  1999. package/templates/saas/skeleton/frontend/src/engine/index.ts +15 -0
  2000. package/templates/saas/skeleton/frontend/src/engine/providers/index.ts +10 -0
  2001. package/templates/saas/skeleton/frontend/src/engine/resources/resource-ui-behavior.frontend.ts +14 -0
  2002. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +13 -0
  2003. package/templates/saas/skeleton/frontend/src/index.css.hbs +714 -0
  2004. package/templates/saas/skeleton/frontend/src/main.tsx +13 -0
  2005. package/templates/saas/skeleton/frontend/src/modules/index.ts +17 -0
  2006. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +76 -0
  2007. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +17 -0
  2008. package/templates/saas/skeleton/frontend/src/vite-env.d.ts +1 -0
  2009. package/templates/saas/skeleton/frontend/tsconfig.json.hbs +49 -0
  2010. package/templates/saas/skeleton/frontend/tsconfig.library.json +39 -0
  2011. package/templates/saas/skeleton/frontend/tsconfig.node.json +11 -0
  2012. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +439 -0
  2013. package/templates/saas/skeleton/gitignore +75 -0
  2014. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +49 -0
  2015. package/templates/saas/skeleton/shared-lib/package.json.hbs +48 -0
  2016. package/templates/saas/skeleton/shared-lib/src/companion-exports.ts +19 -0
  2017. package/templates/saas/skeleton/shared-lib/src/engine/features.ts +82 -0
  2018. package/templates/saas/skeleton/shared-lib/src/engine/index.ts +27 -0
  2019. package/templates/saas/skeleton/shared-lib/src/engine/milestones.ts +16 -0
  2020. package/templates/saas/skeleton/shared-lib/src/engine/product.ts +18 -0
  2021. package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +8 -0
  2022. package/templates/saas/skeleton/shared-lib/src/index.ts +11 -0
  2023. package/templates/saas/skeleton/shared-lib/src/modules-registry.shared.ts +29 -0
  2024. package/templates/saas/skeleton/shared-lib/tsconfig.build.json.hbs +24 -0
  2025. package/templates/saas/skeleton/shared-lib/tsconfig.json.hbs +19 -0
  2026. package/templates/saas/skeleton/specifications/package.json.hbs +43 -0
  2027. package/templates/saas/skeleton/specifications/src/companion-exports.ts +37 -0
  2028. package/templates/saas/skeleton/specifications/src/engine/engine.all-modules.specifications.ts +7 -0
  2029. package/templates/saas/skeleton/specifications/src/index.ts +12 -0
  2030. package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +28 -0
  2031. package/templates/saas/skeleton/specifications/tsconfig.build.json +11 -0
  2032. package/templates/saas/skeleton/specifications/tsconfig.json +12 -0
  2033. package/templates/saas/skeleton/tsconfig-saas.json +20 -0
  2034. package/templates/saas/skeleton/tsconfig.common.json +60 -0
  2035. package/templates/saas/skeleton/turbo.json +17 -0
  2036. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +135 -0
  2037. package/wildo-framework.info.json +5 -0
@@ -0,0 +1,2138 @@
1
+ import { createHash } from 'node:crypto';
2
+ import { existsSync, readFileSync } from 'node:fs';
3
+ import { basename, dirname, join, relative } from 'node:path';
4
+ import { globSync } from 'glob';
5
+ import ts from 'typescript';
6
+ import { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';
7
+ import { FrameworkKnowledgePlaybookSourceFormat } from '@wildo-ai/framework-knowledge';
8
+ import { FrameworkKnowledgeApplicationGuidanceValidator } from '../../services/framework/framework-knowledge-application-guidance.validator.js';
9
+ import { FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS } from '../../services/framework/framework-knowledge-scan.constants.js';
10
+ const REGISTRY_RELATIVE_PATH = 'platform/factory/framework-knowledge/src/framework-knowledge.definitions.ts';
11
+ const REGISTRY_OPEN_LITERAL = 'FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS = [';
12
+ const REGISTRY_CLOSE_LITERAL = '] as const';
13
+ const SKILL_DIRECTORY_NAME = 'skills';
14
+ const SCAN_GLOB_EXTENSIONS = '{ts,tsx,js,jsx,md}';
15
+ // We pass `dot: true` to globSync so dot-prefixed application
16
+ // folders (e.g. an app's `.wildo-saas/` operational workspace) are
17
+ // traversed for `@wildo_source` anchors. That is a deliberate
18
+ // convention — anchors may live under dot-directories (the companion's
19
+ // SOURCE anchors did until its 2026-08-26 extraction to
20
+ // `platform/factory/wildo-dev-companion`, issue #64), and the
21
+ // framework-knowledge audit must still see those anchors. The
22
+ // downside of `dot: true` is that generated dot-directories become visible.
23
+ // FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS defines that boundary once for both
24
+ // generation and audit while intentionally preserving `.wildo-saas/`.
25
+ const REFERENCE_PLACEHOLDER_REGEX = /\{\{REFERENCE:([^}]+)\}\}/gu;
26
+ const PLAYBOOK_JSON_FILE_NAME = 'playbook.json';
27
+ const PLAYBOOK_DEFINITION_FILE_NAME = 'playbook.definition.ts';
28
+ const PLAYBOOK_METHOD_FILE_NAME = 'method.md';
29
+ /**
30
+ * P-33 vocabulary for `outputs[].schemaRef`:
31
+ * `<package-short>:<ExportName>` with the package-short pinned to the two
32
+ * schema-owning packages. This is a FORMAT check only — resolving the
33
+ * export would require importing built engine packages, which breaks the
34
+ * audit's buildless convention (deep export-resolution is deliberately
35
+ * deferred; do NOT build a runtime import-prober here).
36
+ */
37
+ const PLAYBOOK_SCHEMA_REF_REGEX = /^(saas-models|saas-specifications):[A-Za-z0-9_]+$/u;
38
+ /**
39
+ * Topic-implicit placeholders are built per-topic by the generator's
40
+ * `buildTopicTemplateReplacements`. Playbook method bodies and the authored
41
+ * skills INDEX.md have no topic, so these placeholders can never resolve
42
+ * there — the generator renders them VERBATIM into the compiled output.
43
+ * Rule 15 (playbooks) and the skills-INDEX check fail them at PR time.
44
+ * Only `{{PARTIAL:…}}` and `{{REFERENCE:<id>}}` are topic-explicit and
45
+ * allowed in topic-less markdown. Global flag: every occurrence is a
46
+ * distinct finding, including several on one line.
47
+ */
48
+ const FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX = /\{\{(TITLE|TOPIC_ID|REFERENCE_RELATIVE_PATH|SOURCE_EXCERPTS_LEVEL[23]|USAGE_EXAMPLES_LEVEL[23])\}\}/gu;
49
+ /** Names the non-object shapes `JSON.parse` accepts, for contract-violation messages. */
50
+ function describeNonObjectJsonValue(value) {
51
+ if (value === null) {
52
+ return 'null';
53
+ }
54
+ if (Array.isArray(value)) {
55
+ return 'an array';
56
+ }
57
+ return `a ${typeof value}`;
58
+ }
59
+ // semantic-literal-boundary: the buildless audit cannot import the application-creation runtime enum; this is its exact contained-v1 wire mirror.
60
+ function unwrapStaticExpression(expression) {
61
+ if (ts.isAsExpression(expression)
62
+ || ts.isSatisfiesExpression(expression)
63
+ || ts.isParenthesizedExpression(expression)) {
64
+ return unwrapStaticExpression(expression.expression);
65
+ }
66
+ return expression;
67
+ }
68
+ function readStaticObjectProperty(object, propertyName) {
69
+ for (const property of object.properties) {
70
+ if (!ts.isPropertyAssignment(property)) {
71
+ continue;
72
+ }
73
+ const name = property.name;
74
+ const resolvedName = ts.isIdentifier(name) || ts.isStringLiteral(name) ? name.text : null;
75
+ if (resolvedName === propertyName) {
76
+ return unwrapStaticExpression(property.initializer);
77
+ }
78
+ }
79
+ return null;
80
+ }
81
+ function readStaticString(expression) {
82
+ return expression !== null && ts.isStringLiteral(expression) ? expression.text : null;
83
+ }
84
+ function readStaticStringArray(expression) {
85
+ if (expression === null || !ts.isArrayLiteralExpression(expression)) {
86
+ return [];
87
+ }
88
+ return expression.elements
89
+ .map((entry) => readStaticString(unwrapStaticExpression(entry)))
90
+ .filter((entry) => entry !== null);
91
+ }
92
+ const EMPTY_PLAYBOOK_VOCABULARY = { enumMemberValues: new Map(), contextSourceValues: new Set() };
93
+ function loadPlaybookVocabulary(engineHome) {
94
+ const schemaPath = join(engineHome, 'saas-specifications', 'src', 'application-creation', 'playbooks.application-creation.schemas.ts');
95
+ if (!existsSync(schemaPath))
96
+ return EMPTY_PLAYBOOK_VOCABULARY;
97
+ const sourceFile = ts.createSourceFile(schemaPath, readFileSync(schemaPath, 'utf8'), ts.ScriptTarget.Latest, true);
98
+ const enumMemberValues = new Map();
99
+ for (const statement of sourceFile.statements) {
100
+ if (ts.isEnumDeclaration(statement)) {
101
+ for (const member of statement.members) {
102
+ const memberName = ts.isIdentifier(member.name) ? member.name.text : null;
103
+ const initializer = member.initializer;
104
+ if (memberName === null || initializer === undefined || !ts.isStringLiteralLike(initializer))
105
+ continue;
106
+ enumMemberValues.set(`${statement.name.text}.${memberName}`, initializer.text);
107
+ }
108
+ continue;
109
+ }
110
+ }
111
+ const contextSourceValues = new Set([...enumMemberValues.entries()]
112
+ .filter(([key]) => key.startsWith('MetaWorkflow_ContextSource.'))
113
+ .map(([, value]) => value));
114
+ return { enumMemberValues, contextSourceValues };
115
+ }
116
+ /**
117
+ * Resolve a declarative field that may be written as a string literal OR as an enum member.
118
+ *
119
+ * The property-access half did not exist until 2026-08-29, and its absence made ELEVEN of the twenty
120
+ * playbooks' preconditions invisible to the projection — every playbook authored in the TypeScript
121
+ * style dropped its whole `preconditions` array, because a predicate whose `kind` resolved to `null`
122
+ * was discarded. Rules 23, 24 and 26 therefore only ever saw the nine JSON-style playbooks, and
123
+ * reported a clean catalog for the rest. Same shape as the two defects already recorded in this
124
+ * parser: a rule cannot see what the parser does not lift.
125
+ */
126
+ function readStaticEnumBackedValue(expression, enumLocalNames, vocabulary) {
127
+ if (expression === null)
128
+ return null;
129
+ const unwrapped = unwrapStaticExpression(expression);
130
+ if (ts.isStringLiteralLike(unwrapped))
131
+ return unwrapped.text;
132
+ if (!ts.isPropertyAccessExpression(unwrapped) || !ts.isIdentifier(unwrapped.expression))
133
+ return null;
134
+ const canonicalEnum = enumLocalNames.get(unwrapped.expression.text) ?? unwrapped.expression.text;
135
+ return vocabulary.enumMemberValues.get(`${canonicalEnum}.${unwrapped.name.text}`) ?? null;
136
+ }
137
+ /** Array counterpart of {@link readStaticEnumBackedValue}: string literals and enum members, mixed freely. */
138
+ function readStaticEnumBackedArray(expression, enumLocalNames, vocabulary) {
139
+ if (expression === null)
140
+ return [];
141
+ const unwrapped = unwrapStaticExpression(expression);
142
+ if (!ts.isArrayLiteralExpression(unwrapped))
143
+ return [];
144
+ return unwrapped.elements
145
+ .map((element) => readStaticEnumBackedValue(element, enumLocalNames, vocabulary))
146
+ .filter((value) => value !== null);
147
+ }
148
+ function extractStaticPlaybookAuditShape(sourceFile, vocabulary) {
149
+ const contractErrors = [];
150
+ let playbookInitializer = null;
151
+ const exportedConstNames = new Set();
152
+ // local identifier -> canonical enum name, so an aliased import (`X as Y`) still resolves.
153
+ const enumLocalNames = new Map([
154
+ ['MetaWorkflow_PredicateKind', 'MetaWorkflow_PredicateKind'],
155
+ ['MetaWorkflow_Phase', 'MetaWorkflow_Phase'],
156
+ ]);
157
+ for (const statement of sourceFile.statements) {
158
+ if (ts.isImportDeclaration(statement)) {
159
+ const moduleRef = ts.isStringLiteral(statement.moduleSpecifier) ? statement.moduleSpecifier.text : '';
160
+ const allowedModuleRefs = new Set([
161
+ '@wildo-ai/saas-backend-lib',
162
+ '@wildo-ai/saas-models',
163
+ '@wildo-ai/saas-models/meta-workflows',
164
+ '@wildo-ai/saas-specifications/application-creation',
165
+ '@wildo-ai/saas-specifications/application-creation-playbook-runtime',
166
+ ]);
167
+ if (statement.importClause === undefined || !allowedModuleRefs.has(moduleRef)) {
168
+ contractErrors.push(`imports must be explicit and limited to the approved declarative contract modules`);
169
+ }
170
+ const namedBindings = statement.importClause?.namedBindings;
171
+ if (namedBindings && ts.isNamedImports(namedBindings)) {
172
+ for (const element of namedBindings.elements) {
173
+ enumLocalNames.set(element.name.text, element.propertyName?.text ?? element.name.text);
174
+ }
175
+ }
176
+ continue;
177
+ }
178
+ if (ts.isInterfaceDeclaration(statement) || ts.isTypeAliasDeclaration(statement)) {
179
+ continue;
180
+ }
181
+ if (!ts.isVariableStatement(statement)) {
182
+ contractErrors.push(`effect-free modules may contain only imports, type declarations, and exported const data declarations`);
183
+ continue;
184
+ }
185
+ const isExported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false;
186
+ const isConst = (statement.declarationList.flags & ts.NodeFlags.Const) !== 0;
187
+ if (!isExported || !isConst) {
188
+ contractErrors.push('all runtime declarations must be exported const data');
189
+ continue;
190
+ }
191
+ for (const declaration of statement.declarationList.declarations) {
192
+ if (!ts.isIdentifier(declaration.name) || declaration.initializer === undefined) {
193
+ contractErrors.push('exported const declarations must have one named static initializer');
194
+ continue;
195
+ }
196
+ exportedConstNames.add(declaration.name.text);
197
+ if (declaration.name.text === 'playbookDefinition') {
198
+ playbookInitializer = unwrapStaticExpression(declaration.initializer);
199
+ }
200
+ }
201
+ }
202
+ for (const requiredExport of ['playbookDefinition']) {
203
+ if (!exportedConstNames.has(requiredExport)) {
204
+ contractErrors.push(`missing required exported const "${requiredExport}"`);
205
+ }
206
+ }
207
+ for (const exportName of exportedConstNames) {
208
+ if (exportName !== 'playbookDefinition'
209
+ && exportName !== 'evaluationTreatmentSource'
210
+ && exportName !== 'structuredArtifactActionSource') {
211
+ contractErrors.push(`unsupported runtime export "${exportName}"`);
212
+ }
213
+ }
214
+ const forbiddenRuntimeNodeKinds = new Set([
215
+ ts.SyntaxKind.CallExpression,
216
+ ts.SyntaxKind.NewExpression,
217
+ ts.SyntaxKind.AwaitExpression,
218
+ ts.SyntaxKind.ArrowFunction,
219
+ ts.SyntaxKind.FunctionExpression,
220
+ ts.SyntaxKind.ClassExpression,
221
+ ts.SyntaxKind.SpreadAssignment,
222
+ ts.SyntaxKind.TaggedTemplateExpression,
223
+ ]);
224
+ const inspectRuntimeNode = (node) => {
225
+ if (forbiddenRuntimeNodeKinds.has(node.kind)) {
226
+ contractErrors.push(`non-declarative ${ts.SyntaxKind[node.kind]} is forbidden`);
227
+ return;
228
+ }
229
+ ts.forEachChild(node, inspectRuntimeNode);
230
+ };
231
+ for (const statement of sourceFile.statements) {
232
+ if (ts.isVariableStatement(statement)) {
233
+ inspectRuntimeNode(statement.declarationList);
234
+ }
235
+ }
236
+ if (playbookInitializer === null || !ts.isObjectLiteralExpression(playbookInitializer)) {
237
+ contractErrors.push('"playbookDefinition" must be a static object literal');
238
+ return { json: null, contractErrors: [...new Set(contractErrors)] };
239
+ }
240
+ const methodExpression = readStaticObjectProperty(playbookInitializer, 'method');
241
+ const methodObject = methodExpression !== null && ts.isObjectLiteralExpression(methodExpression) ? methodExpression : null;
242
+ const outputsExpression = readStaticObjectProperty(playbookInitializer, 'outputs');
243
+ const outputs = outputsExpression !== null && ts.isArrayLiteralExpression(outputsExpression)
244
+ ? outputsExpression.elements.flatMap((entry) => {
245
+ const output = unwrapStaticExpression(entry);
246
+ if (!ts.isObjectLiteralExpression(output)) {
247
+ return [];
248
+ }
249
+ const schemaRef = readStaticString(readStaticObjectProperty(output, 'schemaRef'));
250
+ // `family` joins `schemaRef` here because the catalog is a GRAPH and rule 23 walks its
251
+ // edges: outputs are the producer side. Extracting only `schemaRef` made every family
252
+ // invisible, so a dependency on an unproducible family read as a healthy catalog.
253
+ const family = readStaticString(readStaticObjectProperty(output, 'family'));
254
+ return [{ ...(schemaRef === null ? {} : { schemaRef }), ...(family === null ? {} : { family }) }];
255
+ })
256
+ : [];
257
+ const preconditionsExpression = readStaticObjectProperty(playbookInitializer, 'preconditions');
258
+ const preconditions = preconditionsExpression !== null && ts.isArrayLiteralExpression(preconditionsExpression)
259
+ ? preconditionsExpression.elements.flatMap((entry) => {
260
+ const predicate = unwrapStaticExpression(entry);
261
+ if (!ts.isObjectLiteralExpression(predicate))
262
+ return [];
263
+ const kind = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'kind'), enumLocalNames, vocabulary);
264
+ if (kind === null)
265
+ return [];
266
+ /*
267
+ * A PHASE_IS gate names the phase it requires. Lifted 2026-08-29 for the reachability rule:
268
+ * `deriveJourneyPhase` returns only two of the four declared phases, so a gate naming either
269
+ * of the others can never be satisfied by the unattended loop (#116).
270
+ */
271
+ const gatedPhase = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'phase'), enumLocalNames, vocabulary);
272
+ // The selector's family is the consumer side of the same edge — an `artifact_valid` on an
273
+ // unproducible family is a hard readiness gate, which is how one playbook has been
274
+ // permanently ineligible since it was authored.
275
+ const selectorExpression = readStaticObjectProperty(predicate, 'selector');
276
+ const selectorFamily = selectorExpression !== null && ts.isObjectLiteralExpression(selectorExpression)
277
+ ? readStaticString(readStaticObjectProperty(selectorExpression, 'family'))
278
+ : null;
279
+ /*
280
+ * A STEP gate carries `ref`/`requires` instead of a `selector`. Extracted here because the
281
+ * rule that checks them cannot see what the parser does not lift — the same way this parser
282
+ * originally lifted only `kind` and left rule 23 reporting a perfectly clean catalog.
283
+ */
284
+ const stepRef = readStaticString(readStaticObjectProperty(predicate, 'ref'));
285
+ const requiresExpression = readStaticObjectProperty(predicate, 'requires');
286
+ const requiresPath = requiresExpression !== null && ts.isObjectLiteralExpression(requiresExpression)
287
+ ? readStaticString(readStaticObjectProperty(requiresExpression, 'path'))
288
+ : null;
289
+ return [{
290
+ kind,
291
+ ...(selectorFamily === null ? {} : { selector: { family: selectorFamily } }),
292
+ ...(stepRef === null ? {} : { ref: stepRef }),
293
+ ...(requiresPath === null ? {} : { requires: { path: requiresPath } }),
294
+ ...(gatedPhase === null ? {} : { phase: gatedPhase }),
295
+ }];
296
+ })
297
+ : [];
298
+ const inputsExpression = readStaticObjectProperty(playbookInitializer, 'inputs');
299
+ const inputs = inputsExpression !== null && ts.isArrayLiteralExpression(inputsExpression)
300
+ ? inputsExpression.elements.flatMap((entry) => {
301
+ const input = unwrapStaticExpression(entry);
302
+ if (!ts.isObjectLiteralExpression(input))
303
+ return [];
304
+ const family = readStaticString(readStaticObjectProperty(input, 'family'));
305
+ return family === null ? [] : [{ family }];
306
+ })
307
+ : [];
308
+ const stepOutputsExpression = readStaticObjectProperty(playbookInitializer, 'stepOutputs');
309
+ const stepOutputs = stepOutputsExpression !== null && ts.isArrayLiteralExpression(stepOutputsExpression)
310
+ ? stepOutputsExpression.elements.flatMap((entry) => {
311
+ const stepOutput = unwrapStaticExpression(entry);
312
+ if (!ts.isObjectLiteralExpression(stepOutput))
313
+ return [];
314
+ const ref = readStaticString(readStaticObjectProperty(stepOutput, 'ref'));
315
+ if (ref === null)
316
+ return [];
317
+ const schemaRef = readStaticString(readStaticObjectProperty(stepOutput, 'schemaRef'));
318
+ return [{ ref, ...(schemaRef === null ? {} : { schemaRef }) }];
319
+ })
320
+ : [];
321
+ return {
322
+ json: {
323
+ ref: readStaticString(readStaticObjectProperty(playbookInitializer, 'ref')),
324
+ version: readStaticString(readStaticObjectProperty(playbookInitializer, 'version')),
325
+ method: {
326
+ skillRefs: methodObject === null ? [] : readStaticStringArray(readStaticObjectProperty(methodObject, 'skillRefs')),
327
+ // Enum-aware on purpose: the catalog authors this field in BOTH styles, and a string-only
328
+ // read would blind rule 28 to every TypeScript-style playbook — the exact under-lift that
329
+ // once hid eleven playbooks' preconditions from rules 23/24/26 (see readStaticEnumBackedValue).
330
+ contextSources: methodObject === null ? [] : readStaticEnumBackedArray(readStaticObjectProperty(methodObject, 'contextSources'), enumLocalNames, vocabulary),
331
+ ...(methodObject !== null && readStaticObjectProperty(methodObject, 'guidance') !== null ? { guidance: true } : {}),
332
+ },
333
+ outputs,
334
+ inputs,
335
+ preconditions,
336
+ stepOutputs,
337
+ },
338
+ contractErrors: [...new Set(contractErrors)],
339
+ };
340
+ }
341
+ // Mirror of FrameworkKnowledgeGenerationService — the directive must sit at
342
+ // the **start of a line** inside a comment, so test fixtures that embed the
343
+ // literal "/** @wildo_source:part:start ... *<slash>" string inside backtick
344
+ // template literals do not register as real anchors.
345
+ const PART_START_DIRECTIVE_REGEX = /^\s*(?:\/\*+\s*|\*\s*|\/\/\s*|<!--\s*)@wildo_source:part:start\s+([^\s]+)/u;
346
+ const PART_END_DIRECTIVE_REGEX = /^\s*(?:\/\*+\s*|\*\s*|\/\/\s*|<!--\s*)@wildo_source:part:end\s+([^\s]+)/u;
347
+ const FILE_DIRECTIVE_REGEX = /^\s*(?:\/\*+\s*|\*\s*|\/\/\s*|<!--\s*)@wildo_source:file\s+([^\s]+)/u;
348
+ const DESCRIPTION_HARD_LIMIT_CHARS = 1024;
349
+ /**
350
+ * The set of skill names a host will load. Claude Code refuses anything else
351
+ * with "Skill name may only contain lowercase letters, numbers, and hyphens",
352
+ * so a name outside this shape makes the compiled skill unreachable inside
353
+ * every application the payload is installed into.
354
+ */
355
+ const HOST_ADDRESSABLE_SKILL_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;
356
+ const TIER_C_WAIVER_TOKEN = 'TIER C WAIVER';
357
+ const SKILL_CODE_BLOCK_LINE_THRESHOLD = 5;
358
+ const SKILL_CODE_BLOCK_LANGUAGES = new Set([
359
+ 'ts',
360
+ 'tsx',
361
+ 'typescript',
362
+ 'javascript',
363
+ 'jsx',
364
+ 'js',
365
+ ]);
366
+ const RUNNABLE_GREP_INVARIANT_PREFIXES = [
367
+ 'rg',
368
+ 'grep',
369
+ 'comm',
370
+ 'pnpm',
371
+ 'wildo',
372
+ 'node',
373
+ 'cat',
374
+ 'jq',
375
+ 'find',
376
+ 'diff',
377
+ 'ls',
378
+ ];
379
+ /**
380
+ * Severity channels per the Step 7 enforcement plan
381
+ * (`.cursor/plans/fwk-skill-uplift-to-five.md`).
382
+ *
383
+ * `Fail` exits non-zero on the audit command — these signal **integrity
384
+ * breaks**: a registry-vs-source mismatch, a reference placeholder that
385
+ * will throw at generation time, or a SKILL.md that breaks downstream
386
+ * consumers (router, IDE plugin).
387
+ *
388
+ * `Warn` emits structured stderr findings without failing the command —
389
+ * these are **hygiene issues** that should be cleaned up but do not
390
+ * block PRs.
391
+ */
392
+ export var FrameworkKnowledgeAuditSeverity;
393
+ (function (FrameworkKnowledgeAuditSeverity) {
394
+ FrameworkKnowledgeAuditSeverity["Fail"] = "fail";
395
+ FrameworkKnowledgeAuditSeverity["Warn"] = "warn";
396
+ })(FrameworkKnowledgeAuditSeverity || (FrameworkKnowledgeAuditSeverity = {}));
397
+ /**
398
+ * Stable per-rule identifiers — kept on the finding so consumers can
399
+ * filter by rule (e.g., a CI job that only fails on rules 1–3) or
400
+ * deduplicate when re-running the audit incrementally.
401
+ */
402
+ export var FrameworkKnowledgeAuditRule;
403
+ (function (FrameworkKnowledgeAuditRule) {
404
+ /**
405
+ * FAIL — guidance carries a maintainer-only path, identity, internal record,
406
+ * or package import that cannot work in an installed application project.
407
+ */
408
+ FrameworkKnowledgeAuditRule["ApplicationGuidanceNotPackageOnly"] = "application-guidance-not-package-only";
409
+ /** FAIL — `{{REFERENCE:<id>}}` placeholder pointing at an id not in the registry. */
410
+ FrameworkKnowledgeAuditRule["ReferencePlaceholderToUnknownId"] = "reference-placeholder-to-unknown-id";
411
+ /** FAIL — `{{REFERENCE:<id>}}` placeholder where the id is registered but has zero anchored spans (will throw at gen time). */
412
+ FrameworkKnowledgeAuditRule["ReferencePlaceholderWithoutAnchor"] = "reference-placeholder-without-anchor";
413
+ /** FAIL — `@wildo_source` anchor span where the id is not in the registry. */
414
+ FrameworkKnowledgeAuditRule["AnchorWithoutRegistryEntry"] = "anchor-without-registry-entry";
415
+ /** FAIL — SKILL.md missing YAML `name` or `description`. */
416
+ FrameworkKnowledgeAuditRule["SkillFrontmatterIncomplete"] = "skill-frontmatter-incomplete";
417
+ /** FAIL — SKILL.md description exceeds the 1024-char hard limit. */
418
+ FrameworkKnowledgeAuditRule["SkillDescriptionExceedsHardLimit"] = "skill-description-exceeds-hard-limit";
419
+ /** WARN — registry entry with no matching anchored span. */
420
+ FrameworkKnowledgeAuditRule["RegistryEntryWithoutAnchor"] = "registry-entry-without-anchor";
421
+ /** WARN — `references/*.md` file not cited in its skill's `## References` section. */
422
+ FrameworkKnowledgeAuditRule["ReferenceFileNotCitedInSkill"] = "reference-file-not-cited-in-skill";
423
+ /** WARN — INDEX.md skill listing drift (missing skill folder or stale row). */
424
+ FrameworkKnowledgeAuditRule["IndexCatalogMismatch"] = "index-catalog-mismatch";
425
+ /** WARN — SKILL.md description missing trigger-phrase cue (degrades router lookup). */
426
+ FrameworkKnowledgeAuditRule["SkillDescriptionMissingTriggerPhrasing"] = "skill-description-missing-trigger-phrasing";
427
+ /** WARN — substantial inline code block (likely Tier C) without a recorded waiver comment. */
428
+ FrameworkKnowledgeAuditRule["TierCExampleWithoutWaiver"] = "tier-c-example-without-waiver";
429
+ /** WARN — `## Verification` section without runnable `Grep invariants`. */
430
+ FrameworkKnowledgeAuditRule["VerificationSectionMissingGrepInvariants"] = "verification-section-missing-grep-invariants";
431
+ /**
432
+ * FAIL — `@wildo_source:part:start <id>` declared in a source file
433
+ * with no matching `@wildo_source:part:end <id>` before EOF or the
434
+ * next start directive. Mirrors (and pre-empts) the generator's
435
+ * `Unclosed @wildo_source:part:start` warning, which extracts
436
+ * through end-of-file as a fallback and produces dirty
437
+ * `dist/knowledge/` markdown.
438
+ */
439
+ FrameworkKnowledgeAuditRule["AnchorWithoutEndMarker"] = "anchor-without-end-marker";
440
+ /**
441
+ * FAIL — a playbook's `method.skillRefs[]` entry names a skill id with
442
+ * no matching authored skill folder. Dangling skill refs would only
443
+ * surface at runtime inside the companion's PlaybookRegistryService,
444
+ * long after the PR merged.
445
+ */
446
+ FrameworkKnowledgeAuditRule["PlaybookSkillRefToUnknownSkill"] = "playbook-skill-ref-to-unknown-skill";
447
+ /**
448
+ * FAIL — a playbook `outputs[].schemaRef` does not match the pinned
449
+ * `<package-short>:<ExportName>` vocabulary (P-33). Format check only —
450
+ * see {@link PLAYBOOK_SCHEMA_REF_REGEX} for why resolution is deferred.
451
+ */
452
+ FrameworkKnowledgeAuditRule["PlaybookOutputSchemaRefInvalid"] = "playbook-output-schema-unresolved";
453
+ /**
454
+ * FAIL — two playbooks share the same `ref@version` identity. The
455
+ * compiled catalog addresses playbooks by that pair; a duplicate makes
456
+ * run provenance ambiguous.
457
+ */
458
+ FrameworkKnowledgeAuditRule["PlaybookRefVersionDuplicate"] = "playbook-ref-version-duplicate";
459
+ /**
460
+ * FAIL — a playbook markdown body uses a topic-implicit placeholder
461
+ * (`{{SOURCE_EXCERPTS_*}}`, `{{USAGE_EXAMPLES_*}}`, `{{TITLE}}`,
462
+ * `{{TOPIC_ID}}`, `{{REFERENCE_RELATIVE_PATH}}`). Playbooks have no
463
+ * topic, so the generator would render the placeholder VERBATIM into
464
+ * the compiled method guidance.
465
+ */
466
+ FrameworkKnowledgeAuditRule["PlaybookForbiddenTopicImplicitPlaceholder"] = "playbook-forbidden-topic-implicit-placeholder";
467
+ /**
468
+ * FAIL — the authored playbook folder violates the folder contract the
469
+ * generator hard-enforces (one rule because it guards one contract —
470
+ * the folder shape): conflicting/malformed canonical structured sources,
471
+ * folder name ≠ declared `ref`, missing `method.md`, non-declarative
472
+ * TypeScript, or inline `method.guidance` (the prose lives in `method.md`;
473
+ * inlining it duplicates the source of truth).
474
+ * Without this PR-time gate each of these is a `generate-docs` crash.
475
+ */
476
+ FrameworkKnowledgeAuditRule["PlaybookFolderContractViolation"] = "playbook-folder-contract-violation";
477
+ /** FAIL — a new authored catalog entry still depends on the arbitrary v1 human-decision predicate. */
478
+ /**
479
+ * FAIL — the authored skills INDEX.md uses a topic-implicit placeholder.
480
+ * Since the P-24 router fix, INDEX.md is rendered through the same
481
+ * markdown expansion as skill bodies, but the catalog has no topic — the
482
+ * generator would ship the placeholder VERBATIM inside the compiled
483
+ * router. Same rationale as
484
+ * {@link PlaybookForbiddenTopicImplicitPlaceholder}; bad
485
+ * `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 instead.
486
+ */
487
+ FrameworkKnowledgeAuditRule["SkillsIndexForbiddenTopicImplicitPlaceholder"] = "skills-index-forbidden-topic-implicit-placeholder";
488
+ /**
489
+ * FAIL — one anchor id extracts BYTE-IDENTICAL content from more than one
490
+ * source file, so the compiled reference concatenates the same excerpt twice
491
+ * or more.
492
+ *
493
+ * This exists because every other rule here checks anchor <-> registry <->
494
+ * skill <-> INDEX *integrity*, and integrity is preserved when a source tree
495
+ * is accidentally duplicated — the audit stayed green while
496
+ * `skills/market-icp/SKILL.md` shipped 21 copies of one example (gitignored
497
+ * meta-workflow integration-test app copies were inside the scan universe;
498
+ * fixed by `**\/.wildo-saas/tmp/**` in the shared scan ignore contract).
499
+ *
500
+ * Deliberately keyed on CONTENT, not on file count: anchoring one id across
501
+ * several files is a legitimate, documented pattern (the generator accumulates
502
+ * spans, e.g. `zod.decorators.file-schema` spans two sources, and
503
+ * `example.resource.add-field.priority-enum` spans a schema plus its enum
504
+ * file). Those contribute DIFFERENT bodies. Only identical bodies are always
505
+ * wrong, which is what makes this safe as a FAIL.
506
+ */
507
+ FrameworkKnowledgeAuditRule["AnchorIdDuplicateSourceContent"] = "anchor-id-duplicate-source-content";
508
+ /**
509
+ * FAIL — a `SKILL.md` frontmatter `name` that is not the skill's folder id,
510
+ * or that is not a valid host skill name.
511
+ *
512
+ * The host addresses a skill by its frontmatter `name` and only falls back
513
+ * to the directory when that key is absent, so a name that drifts from the
514
+ * folder splits the id the INDEX router tells the agent to open from the one
515
+ * the Skill tool will accept. The host additionally refuses any name outside
516
+ * `[a-z0-9-]+` — the `snake_case` ids this catalog shipped until the
517
+ * kebab-case migration were rejected with "Skill name may only contain
518
+ * lowercase letters, numbers, and hyphens", on all 102 skills at once.
519
+ *
520
+ * Both halves are checked here so neither can come back quietly: nothing
521
+ * else in the pipeline reads the frontmatter `name` (the generator keys
522
+ * everything off the FOLDER), so an unchecked name is invisible until a host
523
+ * refuses to load the compiled skill inside an application.
524
+ */
525
+ FrameworkKnowledgeAuditRule["SkillNameNotHostAddressable"] = "skill-name-not-host-addressable";
526
+ /**
527
+ * FAIL — a playbook declares an `inputs[]` or `preconditions[]` artifact family that NO playbook
528
+ * in the catalog produces.
529
+ *
530
+ * The catalog is a graph, and nothing checked its edges. Measured on the live catalog (2026-08-28):
531
+ * `refinement.compliance-document-candidate` gates on
532
+ * `artifact_valid: compliance-document-fact-projection`, a family with no producer, no landing
533
+ * target and no schema anywhere in the repository — so that playbook, and with it the entire
534
+ * `refinement` phase, has been permanently ineligible since it was authored. Nothing reported it,
535
+ * because an ineligible playbook simply never appears on the board.
536
+ *
537
+ * A precondition on such a family FAILS (it is a hard readiness gate — the playbook is dead). An
538
+ * INPUT on one is reported too, at the same severity, because the consequence is quieter and
539
+ * therefore worse: the prompt silently loses a truth section forever, and the method's handling of
540
+ * "this may be absent" turns into a branch that can never execute. `bottom_up.foundation` mentions
541
+ * `business-model` ten times, including the rule deriving the billing capability from it.
542
+ *
543
+ * FAIL as of 2026-09-01, on the condition this docstring set for itself: the baseline reached 0.
544
+ *
545
+ * It shipped as WARN because both live findings were TRUE and UNDECIDED — produce the family, or
546
+ * retire the declaration, a product decision — so a FAIL then would have been a refusal with no
547
+ * door, blocking every unrelated PR on a call only Paul could make (`design-philosophy.md`,
548
+ * "Immutability needs a paired mutation path"). That door has been walked through: both were
549
+ * RESOLVED rather than baselined away. `refinement.compliance-document-candidate` now gates on
550
+ * `document-facts`, which `refinement.document-facts` produces, instead of the phantom
551
+ * `compliance-document-fact-projection` that had made the whole refinement phase permanently
552
+ * ineligible; and `bottom_up.foundation`'s `business-model` input is produced by
553
+ * `top_down.business-model`.
554
+ *
555
+ * Verified two ways before promoting, because a rule that fires on nothing and a clean catalog
556
+ * look identical: `wildo fwk audit` reports zero findings, and an independent graph built from the
557
+ * compiled `playbook.json` set — every `inputs[].family` plus every `preconditions[].selector.family`
558
+ * across all five precondition kinds — finds no family that is required and unproduced.
559
+ *
560
+ * Nothing is left to decide, so the reason for the softer channel is gone. A dangling declaration
561
+ * is what it always was: a playbook that can never reach the eligibility board, or a prompt that
562
+ * silently loses a truth section on every run.
563
+ */
564
+ FrameworkKnowledgeAuditRule["PlaybookInputFamilyWithNoProducer"] = "playbook-input-family-with-no-producer";
565
+ FrameworkKnowledgeAuditRule["PlaybookReadinessGatedFamilyNotDeclaredAsInput"] = "playbook-readiness-gated-family-not-declared-as-input";
566
+ FrameworkKnowledgeAuditRule["PlaybookStepGateNamesNoDeclaredStep"] = "playbook-step-gate-names-no-declared-step";
567
+ /*
568
+ * Rule 27 is RETIRED (2026-09-04), not renumbered: `PHASE_IS` no longer exists, so a gate naming an
569
+ * underivable phase cannot be authored. The number is deliberately not reused — it appears in issue
570
+ * bodies and commit messages, and a reused rule number makes those read as describing this one.
571
+ */
572
+ /**
573
+ * FAIL — a `{{CONTEXT_SOURCE:<member>}}` placeholder in a playbook's `method.md` names no
574
+ * `MetaWorkflow_ContextSource` member, or names one the playbook does not declare in
575
+ * `method.contextSources`.
576
+ *
577
+ * Rule 28 (2026-09-02, issue #259's structural half). The placeholder is the compile-time JOIN
578
+ * between a method's PROMISE of a brief section and the DECLARATION that makes the runtime compose
579
+ * it — the two artifacts whose silent drift produced six recorded instances of prose promising
580
+ * context the brief never carried (`skill_catalog` 2026-08-27, `compliance_primary_facts`
581
+ * 2026-08-29, three self-refinement inputs and the phase-gate coherence delivery found by the
582
+ * sweep on 2026-09-02). Free prose can still promise falsely — the placeholder converts the
583
+ * NORM: an instructional reference authored through it cannot compile undeclared. The generator
584
+ * enforces the same predicate fail-closed; this rule is the PR-time copy that fails before anyone
585
+ * runs `generate-docs`.
586
+ */
587
+ FrameworkKnowledgeAuditRule["PlaybookContextSourcePlaceholderInvalid"] = "playbook-context-source-placeholder-invalid";
588
+ })(FrameworkKnowledgeAuditRule || (FrameworkKnowledgeAuditRule = {}));
589
+ /**
590
+ * Static parser + auditor for the framework-knowledge authoring surface.
591
+ *
592
+ * Two severity channels — see {@link FrameworkKnowledgeAuditSeverity}.
593
+ *
594
+ * Designed to run from CI on every PR touching
595
+ * `platform/factory/framework-knowledge/**`, `engine/**`, or
596
+ * `examples/wonder-todos/**`. Pure stdlib + glob, no TypeScript build
597
+ * required: the registry is parsed as text from the source `.ts`
598
+ * file, so the audit is bootable even when the framework-knowledge
599
+ * package has not been built.
600
+ */
601
+ export class FrameworkKnowledgeAuditService {
602
+ static audit(frameworkRoot) {
603
+ const findings = [];
604
+ const registry = FrameworkKnowledgeAuditService.loadRegistry(frameworkRoot, findings);
605
+ const { spans: anchorSpans, unclosedAnchors } = FrameworkKnowledgeAuditService.discoverAnchorSpans(frameworkRoot);
606
+ const skills = FrameworkKnowledgeAuditService.discoverSkills(frameworkRoot);
607
+ const playbooks = FrameworkKnowledgeAuditService.discoverPlaybooks(frameworkRoot);
608
+ const referenceFilesBySkill = FrameworkKnowledgeAuditService.discoverReferenceFilesBySkill(frameworkRoot);
609
+ const indexCatalogSkillIds = FrameworkKnowledgeAuditService.parseIndexCatalogSkillIds(frameworkRoot);
610
+ const registeredIds = registry.ids;
611
+ const anchorIdToSpans = FrameworkKnowledgeAuditService.indexAnchorSpansById(anchorSpans);
612
+ const referencePlaceholders = FrameworkKnowledgeAuditService.collectReferencePlaceholders(frameworkRoot, skills, playbooks);
613
+ // The anchor/catalog audit proves that authored knowledge can be compiled;
614
+ // this separate product-boundary check proves it can be consumed outside
615
+ // the monorepo. Keep it here (rather than in a CLI-only install command)
616
+ // so a bad authoring change fails before it becomes generated guidance.
617
+ for (const guidanceFinding of FrameworkKnowledgeApplicationGuidanceValidator.validateAuthored(frameworkRoot)) {
618
+ findings.push({
619
+ rule: FrameworkKnowledgeAuditRule.ApplicationGuidanceNotPackageOnly,
620
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
621
+ location: `${guidanceFinding.relativePath}:${guidanceFinding.line}`,
622
+ message: `[${guidanceFinding.kind}] ${guidanceFinding.message} Offending value: ${guidanceFinding.offendingValue}. ${guidanceFinding.remediation}`,
623
+ });
624
+ }
625
+ FrameworkKnowledgeAuditService.checkRule1ReferencePlaceholderToUnknownId({
626
+ registeredIds,
627
+ placeholders: referencePlaceholders,
628
+ findings,
629
+ });
630
+ FrameworkKnowledgeAuditService.checkRule2ReferencePlaceholderWithoutAnchor({
631
+ registeredIds,
632
+ anchorIdToSpans,
633
+ placeholders: referencePlaceholders,
634
+ findings,
635
+ });
636
+ FrameworkKnowledgeAuditService.checkRule3AnchorWithoutRegistryEntry({
637
+ registeredIds,
638
+ anchorSpans,
639
+ findings,
640
+ });
641
+ FrameworkKnowledgeAuditService.checkRule4SkillFrontmatterIncomplete({ skills, findings });
642
+ FrameworkKnowledgeAuditService.checkRule22SkillNameNotHostAddressable({ skills, findings });
643
+ FrameworkKnowledgeAuditService.checkRule5SkillDescriptionExceedsHardLimit({ skills, findings });
644
+ FrameworkKnowledgeAuditService.checkRule6RegistryEntryWithoutAnchor({
645
+ registeredIds,
646
+ anchorIdToSpans,
647
+ findings,
648
+ });
649
+ FrameworkKnowledgeAuditService.checkRule7ReferenceFileNotCitedInSkill({
650
+ skills,
651
+ referenceFilesBySkill,
652
+ findings,
653
+ });
654
+ FrameworkKnowledgeAuditService.checkRule8IndexCatalogMismatch({
655
+ skills,
656
+ indexCatalogSkillIds,
657
+ findings,
658
+ });
659
+ FrameworkKnowledgeAuditService.checkRule9SkillDescriptionMissingTriggerPhrasing({ skills, findings });
660
+ FrameworkKnowledgeAuditService.checkRule10TierCExampleWithoutWaiver({ skills, findings });
661
+ FrameworkKnowledgeAuditService.checkRule11VerificationSectionMissingGrepInvariants({ skills, findings });
662
+ FrameworkKnowledgeAuditService.checkRule12AnchorWithoutEndMarker({
663
+ unclosedAnchors,
664
+ findings,
665
+ });
666
+ FrameworkKnowledgeAuditService.checkRule21AnchorIdDuplicateSourceContent({
667
+ spans: anchorSpans,
668
+ findings,
669
+ });
670
+ FrameworkKnowledgeAuditService.checkRule13PlaybookSkillRefToUnknownSkill({
671
+ skills,
672
+ playbooks,
673
+ findings,
674
+ });
675
+ // Rule 14 — playbook `{{REFERENCE:<id>}}` coverage — has no dedicated
676
+ // check method: `collectReferencePlaceholders` above feeds playbook
677
+ // method bodies into Rules 1/2, so a bad id FAILs at PR time instead of
678
+ // crashing `wildo fwk generate-docs` inside `expandTemplateReferences`.
679
+ FrameworkKnowledgeAuditService.checkRule23PlaybookInputFamilyWithNoProducer({ playbooks, findings });
680
+ FrameworkKnowledgeAuditService.checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput({ playbooks, findings });
681
+ FrameworkKnowledgeAuditService.checkRule26PlaybookStepGateNamesNoDeclaredStep({ playbooks, findings });
682
+ FrameworkKnowledgeAuditService.checkRule28PlaybookContextSourcePlaceholder({
683
+ playbooks,
684
+ contextSourceValues: loadPlaybookVocabulary(resolveFrameworkLayout(frameworkRoot).engineHome).contextSourceValues,
685
+ findings,
686
+ });
687
+ FrameworkKnowledgeAuditService.checkRule15PlaybookContract({
688
+ playbooks,
689
+ findings,
690
+ });
691
+ FrameworkKnowledgeAuditService.checkSkillsIndexForbiddenPlaceholders({
692
+ frameworkRoot,
693
+ findings,
694
+ });
695
+ const failures = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Fail);
696
+ const warnings = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Warn);
697
+ return {
698
+ failures,
699
+ warnings,
700
+ stats: {
701
+ registeredAnchorCount: registeredIds.size,
702
+ discoveredAnchorCount: anchorIdToSpans.size,
703
+ skillCount: skills.length,
704
+ referenceFileCount: Array.from(referenceFilesBySkill.values()).reduce((sum, list) => sum + list.length, 0),
705
+ playbookCount: playbooks.length,
706
+ },
707
+ };
708
+ }
709
+ // ─── Discovery ───────────────────────────────────────────────────────────
710
+ /**
711
+ * Parses `FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS` as text from
712
+ * `framework-knowledge.definitions.ts`. Reading the source directly
713
+ * (rather than importing the compiled package) keeps the audit
714
+ * bootable in CI without a build step and avoids a circular
715
+ * dev-dependency between the CLI and the knowledge package.
716
+ */
717
+ static loadRegistry(frameworkRoot, findings) {
718
+ const registryFilePath = join(frameworkRoot, REGISTRY_RELATIVE_PATH);
719
+ if (!existsSync(registryFilePath)) {
720
+ throw new Error(`Framework-knowledge registry not found at ${REGISTRY_RELATIVE_PATH}. The audit cannot run without the source-of-truth registry.`);
721
+ }
722
+ const content = readFileSync(registryFilePath, 'utf8');
723
+ const openIndex = content.indexOf(REGISTRY_OPEN_LITERAL);
724
+ const closeIndex = content.indexOf(REGISTRY_CLOSE_LITERAL, openIndex);
725
+ if (openIndex === -1 || closeIndex === -1) {
726
+ throw new Error(`Could not locate the FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS array in ${REGISTRY_RELATIVE_PATH}. The literal markers ("${REGISTRY_OPEN_LITERAL}" / "${REGISTRY_CLOSE_LITERAL}") may have been renamed.`);
727
+ }
728
+ const arrayBody = content.slice(openIndex + REGISTRY_OPEN_LITERAL.length, closeIndex);
729
+ const ids = new Set();
730
+ const seenIds = new Set();
731
+ for (const rawLine of arrayBody.split('\n')) {
732
+ const trimmed = rawLine.trim();
733
+ if (trimmed.length === 0 || trimmed.startsWith('//') || trimmed.startsWith('/*') || trimmed.startsWith('*')) {
734
+ continue;
735
+ }
736
+ const literalMatch = trimmed.match(/^['"]([^'"]+)['"]\s*,?\s*(?:\/\/.*)?$/u);
737
+ if (!literalMatch) {
738
+ continue;
739
+ }
740
+ const id = literalMatch[1];
741
+ if (seenIds.has(id)) {
742
+ findings.push({
743
+ rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,
744
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
745
+ message: `Duplicate registry entry "${id}" — each id must appear once in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,
746
+ location: REGISTRY_RELATIVE_PATH,
747
+ });
748
+ continue;
749
+ }
750
+ seenIds.add(id);
751
+ ids.add(id);
752
+ }
753
+ return { ids, registryFilePath };
754
+ }
755
+ /**
756
+ * Walks the four scan roots (engine/, platform/, examples/, docs/) for
757
+ * `@wildo_source:part:start`, `@wildo_source:part:end`, and
758
+ * `@wildo_source:file` directives. Mirrors
759
+ * `FrameworkKnowledgeGenerationService.discoverSourceFiles` so the
760
+ * audit and the generator stay perfectly aligned on what counts as an
761
+ * anchored span.
762
+ *
763
+ * Returns both:
764
+ *
765
+ * - `spans` — the anchored spans (one per discovered start/file
766
+ * directive) consumed by Rules 2/3/6.
767
+ * - `unclosedAnchors` — `part:start` directives that did not have a
768
+ * matching `part:end` before EOF, consumed by Rule 12. Tracked
769
+ * per-file using a stack so nested-but-otherwise-balanced anchors
770
+ * stay correct: every `part:start` pushes an entry, every
771
+ * `part:end` for an id present in the open set pops it; the
772
+ * leftover entries at EOF are the unclosed ones.
773
+ */
774
+ static discoverAnchorSpans(frameworkRoot) {
775
+ const layout = resolveFrameworkLayout(frameworkRoot);
776
+ const scanRoots = [
777
+ layout.engineHome,
778
+ layout.platformHome,
779
+ layout.docsHome,
780
+ layout.examplesHome,
781
+ ].filter((absolutePath) => existsSync(absolutePath));
782
+ const spans = [];
783
+ const unclosedAnchors = [];
784
+ if (scanRoots.length === 0) {
785
+ return { spans, unclosedAnchors };
786
+ }
787
+ const relativeRoots = scanRoots
788
+ .map((absolutePath) => relative(layout.repositoryRoot, absolutePath))
789
+ .filter((relativePath) => relativePath.length > 0);
790
+ const filePaths = globSync(`{${relativeRoots.join(',')}}/**/*.${SCAN_GLOB_EXTENSIONS}`, {
791
+ cwd: layout.repositoryRoot,
792
+ absolute: true,
793
+ nodir: true,
794
+ // dot: true so dot-prefixed app folders (e.g. `.wildo-saas/`)
795
+ // are scanned for anchors. The shared ignore contract masks generated
796
+ // dot-directories that would otherwise leak into the scan.
797
+ dot: true,
798
+ ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],
799
+ }).sort((left, right) => left.localeCompare(right));
800
+ for (const absoluteFilePath of filePaths) {
801
+ const fileContent = readFileSync(absoluteFilePath, 'utf8');
802
+ const lines = fileContent.split('\n');
803
+ const relativeFilePath = relative(frameworkRoot, absoluteFilePath);
804
+ // Map<id, startLine> for anchors currently waiting for an end
805
+ // marker. Same id reopened before being closed is unusual but
806
+ // legal; we keep the *first* (outermost) start line so the
807
+ // diagnostic points the author at the outer block they forgot
808
+ // to close — that's nearly always the real defect.
809
+ // Also carries the index of the span pushed at `part:start`, so the
810
+ // matching `part:end` can stamp the extracted body's digest onto it
811
+ // (Rule 21) without re-walking the file.
812
+ const openAnchorsById = new Map();
813
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
814
+ const line = lines[lineIndex];
815
+ const lineNumber = lineIndex + 1;
816
+ const partStartMatch = PART_START_DIRECTIVE_REGEX.exec(line);
817
+ if (partStartMatch) {
818
+ for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:start')) {
819
+ spans.push({ id, filePath: relativeFilePath, line: lineNumber });
820
+ if (!openAnchorsById.has(id)) {
821
+ openAnchorsById.set(id, { startLine: lineNumber, spanIndex: spans.length - 1 });
822
+ }
823
+ }
824
+ }
825
+ const partEndMatch = PART_END_DIRECTIVE_REGEX.exec(line);
826
+ if (partEndMatch) {
827
+ for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:end')) {
828
+ const openAnchor = openAnchorsById.get(id);
829
+ if (openAnchor === undefined) {
830
+ continue;
831
+ }
832
+ // Body = everything strictly between the two directive lines, which
833
+ // is what the generator extracts (anchor lines are stripped).
834
+ const body = lines.slice(openAnchor.startLine, lineIndex).join('\n').trim();
835
+ spans[openAnchor.spanIndex].contentDigest = createHash('sha1').update(body).digest('hex');
836
+ openAnchorsById.delete(id);
837
+ }
838
+ }
839
+ const fileMatch = FILE_DIRECTIVE_REGEX.exec(line);
840
+ if (fileMatch && lineNumber <= 10) {
841
+ for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:file')) {
842
+ spans.push({ id, filePath: relativeFilePath, line: lineNumber });
843
+ }
844
+ }
845
+ }
846
+ for (const [id, openAnchor] of openAnchorsById) {
847
+ unclosedAnchors.push({ id, filePath: relativeFilePath, startLine: openAnchor.startLine });
848
+ }
849
+ }
850
+ return { spans, unclosedAnchors };
851
+ }
852
+ /**
853
+ * Tokenizes everything after the directive name on a single line,
854
+ * stripping `facet:*` / `tag:*` qualifiers so only true anchor ids
855
+ * remain. Mirrors the generator's anchor-tag parser.
856
+ */
857
+ static parseAnchorIds(line, directive) {
858
+ const directiveIndex = line.indexOf(directive);
859
+ if (directiveIndex === -1) {
860
+ return [];
861
+ }
862
+ const remainder = line
863
+ .slice(directiveIndex + directive.length)
864
+ .replace('*/', ' ')
865
+ .replace('-->', ' ');
866
+ return remainder
867
+ .split(/[\s,]+/u)
868
+ .map((token) => token.trim())
869
+ .filter((token) => token.length > 0 && !token.startsWith('facet:') && !token.startsWith('tag:'));
870
+ }
871
+ static indexAnchorSpansById(anchorSpans) {
872
+ const indexed = new Map();
873
+ for (const span of anchorSpans) {
874
+ const existing = indexed.get(span.id);
875
+ if (existing) {
876
+ existing.push(span);
877
+ }
878
+ else {
879
+ indexed.set(span.id, [span]);
880
+ }
881
+ }
882
+ return indexed;
883
+ }
884
+ static discoverSkills(frameworkRoot) {
885
+ const layout = resolveFrameworkLayout(frameworkRoot);
886
+ const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;
887
+ if (!existsSync(authoredSkillsHome)) {
888
+ return [];
889
+ }
890
+ const skillEntryPaths = globSync('*/SKILL.md', {
891
+ cwd: authoredSkillsHome,
892
+ nodir: true,
893
+ absolute: true,
894
+ }).sort((left, right) => left.localeCompare(right));
895
+ return skillEntryPaths.map((skillFilePath) => {
896
+ const skillId = basename(dirname(skillFilePath));
897
+ const rawContent = readFileSync(skillFilePath, 'utf8');
898
+ const frontmatter = FrameworkKnowledgeAuditService.parseFrontmatter(rawContent);
899
+ const referenceSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['references']);
900
+ const workedExampleSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, [
901
+ 'worked example',
902
+ 'worked examples',
903
+ ]);
904
+ const verificationSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['verification']);
905
+ const referencePlaceholders = FrameworkKnowledgeAuditService.collectPlaceholdersInContent(rawContent, relative(frameworkRoot, skillFilePath));
906
+ const codeBlocks = FrameworkKnowledgeAuditService.collectCodeBlocks(rawContent);
907
+ return {
908
+ skillId,
909
+ skillFilePath: relative(frameworkRoot, skillFilePath),
910
+ rawContent,
911
+ frontmatter,
912
+ referenceSectionContent,
913
+ workedExampleSectionContent,
914
+ verificationSectionContent,
915
+ referencePlaceholders,
916
+ codeBlocks,
917
+ };
918
+ });
919
+ }
920
+ /**
921
+ * Discovers authored playbook folders under `src/playbooks/`, mirroring
922
+ * `FrameworkKnowledgeGenerationService.discoverAuthoredPlaybooks` (folder
923
+ * name = ref, exactly one supported structured source) so audit and
924
+ * generator agree on the playbook universe. Broken JSON or non-declarative
925
+ * TypeScript becomes a Rule 15 finding, never an audit crash.
926
+ */
927
+ static discoverPlaybooks(frameworkRoot) {
928
+ const layout = resolveFrameworkLayout(frameworkRoot);
929
+ // Parsed ONCE per run: every playbook resolves its enum-backed fields against the same table.
930
+ const vocabulary = loadPlaybookVocabulary(layout.engineHome);
931
+ const authoredPlaybooksHome = layout.frameworkKnowledgeAuthoredPlaybooksHome;
932
+ if (!existsSync(authoredPlaybooksHome)) {
933
+ return [];
934
+ }
935
+ const playbookSourcePaths = globSync(`*/{${PLAYBOOK_JSON_FILE_NAME},${PLAYBOOK_DEFINITION_FILE_NAME}}`, {
936
+ cwd: authoredPlaybooksHome,
937
+ nodir: true,
938
+ absolute: true,
939
+ ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],
940
+ }).sort((left, right) => left.localeCompare(right));
941
+ const pathsByRef = new Map();
942
+ for (const sourcePath of playbookSourcePaths) {
943
+ const playbookRef = basename(dirname(sourcePath));
944
+ pathsByRef.set(playbookRef, [...(pathsByRef.get(playbookRef) ?? []), sourcePath]);
945
+ }
946
+ return [...pathsByRef.entries()].map(([playbookRef, sourcePaths]) => {
947
+ const structuredSourcePath = sourcePaths[0];
948
+ const sourceFormat = FrameworkKnowledgePlaybookSourceFormat.EFFECT_FREE_TYPESCRIPT_MODULE_V1;
949
+ const methodPath = join(dirname(structuredSourcePath), PLAYBOOK_METHOD_FILE_NAME);
950
+ const methodExists = existsSync(methodPath);
951
+ let json = null;
952
+ let jsonContractError = null;
953
+ if (sourcePaths.length > 1) {
954
+ jsonContractError = `more than one structured source exists; exactly one canonical ${PLAYBOOK_DEFINITION_FILE_NAME} is allowed`;
955
+ }
956
+ else if (!structuredSourcePath.endsWith(PLAYBOOK_DEFINITION_FILE_NAME)) {
957
+ // The JSON-v1 authoring format was retired at the first-activation hard cut.
958
+ jsonContractError = `carries a retired ${PLAYBOOK_JSON_FILE_NAME} source — the JSON-v1 authoring format was deleted at the first-activation hard cut; author ${PLAYBOOK_DEFINITION_FILE_NAME} instead`;
959
+ }
960
+ else {
961
+ const sourceFile = ts.createSourceFile(structuredSourcePath, readFileSync(structuredSourcePath, 'utf8'), ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
962
+ const extracted = extractStaticPlaybookAuditShape(sourceFile, vocabulary);
963
+ json = extracted.json;
964
+ if (extracted.contractErrors.length > 0) {
965
+ jsonContractError = extracted.contractErrors.join('; ');
966
+ }
967
+ }
968
+ return {
969
+ playbookRef,
970
+ structuredSourceFilePath: relative(frameworkRoot, structuredSourcePath),
971
+ sourceFormat,
972
+ methodFilePath: relative(frameworkRoot, methodPath),
973
+ methodExists,
974
+ methodContent: methodExists ? readFileSync(methodPath, 'utf8') : null,
975
+ json,
976
+ jsonContractError,
977
+ };
978
+ });
979
+ }
980
+ static discoverReferenceFilesBySkill(frameworkRoot) {
981
+ const layout = resolveFrameworkLayout(frameworkRoot);
982
+ const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;
983
+ if (!existsSync(authoredSkillsHome)) {
984
+ return new Map();
985
+ }
986
+ const referenceFilePaths = globSync('*/references/**/*.md', {
987
+ cwd: authoredSkillsHome,
988
+ nodir: true,
989
+ absolute: true,
990
+ }).sort((left, right) => left.localeCompare(right));
991
+ const indexed = new Map();
992
+ for (const absoluteReferencePath of referenceFilePaths) {
993
+ const relativeFromSkills = relative(authoredSkillsHome, absoluteReferencePath);
994
+ const skillId = relativeFromSkills.split(/[/\\]/u)[0] ?? '';
995
+ if (skillId.length === 0) {
996
+ continue;
997
+ }
998
+ const list = indexed.get(skillId) ?? [];
999
+ list.push(relative(frameworkRoot, absoluteReferencePath));
1000
+ indexed.set(skillId, list);
1001
+ }
1002
+ return indexed;
1003
+ }
1004
+ static parseIndexCatalogSkillIds(frameworkRoot) {
1005
+ const layout = resolveFrameworkLayout(frameworkRoot);
1006
+ const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');
1007
+ if (!existsSync(indexFilePath)) {
1008
+ return null;
1009
+ }
1010
+ const content = readFileSync(indexFilePath, 'utf8');
1011
+ const found = new Set();
1012
+ /**
1013
+ * The INDEX.md catalog is a set of markdown tables whose first cell opens
1014
+ * with the skill id in inline backticks, either bare (`` `journey-run` ``)
1015
+ * or bolded (`` **`resource-add-field`** ``). We anchor on that row
1016
+ * position rather than sniffing every backtick token in the file.
1017
+ *
1018
+ * The previous shape walked ALL backticked tokens and kept the ones
1019
+ * containing an underscore. That heuristic was load-bearing on the id
1020
+ * SPELLING: when skill ids moved from `snake_case` to `kebab-case` (so a
1021
+ * `SKILL.md` frontmatter `name` could satisfy the host's `[a-z0-9-]+`
1022
+ * rule) it would have reported all 102 skills as absent from the catalog,
1023
+ * and the naive kebab port of it (`includes('-')`) would have mistaken
1024
+ * ordinary prose tokens — `market-context-for-icp`, `reflect-metadata` —
1025
+ * for skills that no longer exist. Row anchoring is exact in both
1026
+ * directions and does not care how an id is spelled.
1027
+ */
1028
+ for (const match of content.matchAll(/^\|\s*(?:\*\*)?`([a-z0-9][a-z0-9-]*)`/gmu)) {
1029
+ found.add(match[1]);
1030
+ }
1031
+ return found;
1032
+ }
1033
+ // ─── Skill parsing helpers ───────────────────────────────────────────────
1034
+ static parseFrontmatter(rawContent) {
1035
+ const trimmed = rawContent.trimStart();
1036
+ if (!trimmed.startsWith('---')) {
1037
+ return { name: null, description: null, rawBlock: null };
1038
+ }
1039
+ const closeIndex = trimmed.indexOf('\n---', 3);
1040
+ if (closeIndex === -1) {
1041
+ return { name: null, description: null, rawBlock: null };
1042
+ }
1043
+ const block = trimmed.slice(3, closeIndex).trim();
1044
+ const name = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'name');
1045
+ const description = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'description');
1046
+ return { name, description, rawBlock: block };
1047
+ }
1048
+ static parseFrontmatterScalar(block, key) {
1049
+ const lines = block.split('\n');
1050
+ const buffer = [];
1051
+ let collecting = false;
1052
+ for (const line of lines) {
1053
+ if (!collecting) {
1054
+ const match = line.match(new RegExp(`^${key}\\s*:\\s*(.*)$`, 'u'));
1055
+ if (match) {
1056
+ const remainder = match[1].trim();
1057
+ if (remainder.length > 0) {
1058
+ buffer.push(remainder);
1059
+ }
1060
+ collecting = true;
1061
+ continue;
1062
+ }
1063
+ }
1064
+ else {
1065
+ if (/^[a-zA-Z0-9_]+\s*:/u.test(line)) {
1066
+ break;
1067
+ }
1068
+ const continuation = line.trim();
1069
+ if (continuation.length > 0) {
1070
+ buffer.push(continuation);
1071
+ }
1072
+ }
1073
+ }
1074
+ if (buffer.length === 0) {
1075
+ return collecting ? '' : null;
1076
+ }
1077
+ return buffer.join(' ').trim();
1078
+ }
1079
+ static extractMarkdownSection(content, headingNeedles) {
1080
+ const lines = content.split('\n');
1081
+ const lowercasedNeedles = headingNeedles.map((needle) => needle.toLowerCase());
1082
+ let captureStart = null;
1083
+ let currentDepth = null;
1084
+ let openFence = null;
1085
+ const buffer = [];
1086
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
1087
+ const line = lines[lineIndex];
1088
+ if (openFence !== null) {
1089
+ if (FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {
1090
+ openFence = null;
1091
+ }
1092
+ if (captureStart !== null) {
1093
+ buffer.push(line);
1094
+ }
1095
+ continue;
1096
+ }
1097
+ // Markdown permits shell comments such as `# explain the invariant`
1098
+ // inside fenced code. Those bytes are not headings and must not end the
1099
+ // enclosing Verification section. Keep section discovery and Rule 11's
1100
+ // code-block discovery on one fence grammar so the two consumers cannot
1101
+ // disagree about which bytes form the runnable block.
1102
+ const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);
1103
+ if (openingFence !== null) {
1104
+ openFence = openingFence;
1105
+ if (captureStart !== null) {
1106
+ buffer.push(line);
1107
+ }
1108
+ continue;
1109
+ }
1110
+ const headingMatch = line.match(/^(#{1,6})\s+(.+?)\s*$/u);
1111
+ if (headingMatch) {
1112
+ const depth = headingMatch[1].length;
1113
+ const title = headingMatch[2].trim().toLowerCase();
1114
+ if (captureStart !== null && currentDepth !== null && depth <= currentDepth) {
1115
+ break;
1116
+ }
1117
+ if (lowercasedNeedles.includes(title)) {
1118
+ captureStart = lineIndex + 1;
1119
+ currentDepth = depth;
1120
+ continue;
1121
+ }
1122
+ }
1123
+ if (captureStart !== null) {
1124
+ buffer.push(line);
1125
+ }
1126
+ }
1127
+ if (captureStart === null) {
1128
+ return null;
1129
+ }
1130
+ return buffer.join('\n');
1131
+ }
1132
+ static collectPlaceholdersInContent(content, filePath) {
1133
+ const occurrences = [];
1134
+ const lines = content.split('\n');
1135
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
1136
+ const line = lines[lineIndex];
1137
+ REFERENCE_PLACEHOLDER_REGEX.lastIndex = 0;
1138
+ let match;
1139
+ while ((match = REFERENCE_PLACEHOLDER_REGEX.exec(line)) !== null) {
1140
+ occurrences.push({
1141
+ id: match[1].trim(),
1142
+ line: lineIndex + 1,
1143
+ filePath,
1144
+ });
1145
+ }
1146
+ }
1147
+ return occurrences;
1148
+ }
1149
+ static collectCodeBlocks(content) {
1150
+ const blocks = [];
1151
+ const lines = content.split('\n');
1152
+ let openIndex = null;
1153
+ let openFence = null;
1154
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
1155
+ const line = lines[lineIndex];
1156
+ if (openFence === null) {
1157
+ const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);
1158
+ if (openingFence !== null) {
1159
+ openIndex = lineIndex;
1160
+ openFence = openingFence;
1161
+ }
1162
+ continue;
1163
+ }
1164
+ if (!FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {
1165
+ continue;
1166
+ }
1167
+ const startLine = openIndex + 1;
1168
+ const endLine = lineIndex + 1;
1169
+ const lineCount = endLine - startLine - 1;
1170
+ const contextStart = Math.max(0, openIndex - 8);
1171
+ blocks.push({
1172
+ language: openFence.infoString.trim().split(/\s+/u)[0]?.toLowerCase() ?? '',
1173
+ startLine,
1174
+ endLine,
1175
+ lineCount,
1176
+ precedingContext: lines.slice(contextStart, openIndex).join('\n'),
1177
+ });
1178
+ openIndex = null;
1179
+ openFence = null;
1180
+ }
1181
+ return blocks;
1182
+ }
1183
+ /**
1184
+ * Parse an opening fenced-code delimiter using the CommonMark structural
1185
+ * boundary relevant to this audit: at most three leading spaces, at least
1186
+ * three equal backticks/tildes, and no backtick inside a backtick fence's
1187
+ * info string. Four-space-indented text is an ordinary code block, not a
1188
+ * delimiter, so it must never hide a later `## Verification` heading.
1189
+ */
1190
+ static parseMarkdownCodeFenceOpening(line) {
1191
+ const match = line.match(/^( {0,3})(`{3,}|~{3,})(.*)$/u);
1192
+ if (!match) {
1193
+ return null;
1194
+ }
1195
+ const sequence = match[2];
1196
+ const infoString = match[3].replace(/\r$/u, '');
1197
+ if (sequence[0] === '`' && infoString.includes('`')) {
1198
+ return null;
1199
+ }
1200
+ return {
1201
+ marker: sequence[0],
1202
+ length: sequence.length,
1203
+ infoString: infoString.trim(),
1204
+ };
1205
+ }
1206
+ /** A closing fence has the same marker, sufficient length and no suffix other than whitespace. */
1207
+ static isMarkdownCodeFenceClosing(line, openFence) {
1208
+ const match = line.match(/^( {0,3})(`{3,}|~{3,})[ \t\r]*$/u);
1209
+ if (!match) {
1210
+ return false;
1211
+ }
1212
+ const sequence = match[2];
1213
+ return sequence[0] === openFence.marker && sequence.length >= openFence.length;
1214
+ }
1215
+ /**
1216
+ * Aggregates `{{REFERENCE:<id>}}` placeholders across SKILL.md plus
1217
+ * every `references/*.md` and `examples/*.md` belonging to each
1218
+ * skill, plus every playbook's `method.md`. The audit treats all of
1219
+ * them uniformly because they all flow through the generator's
1220
+ * reference expansion step — a bad id in ANY of them is a
1221
+ * `generate-docs` crash (`expandTemplateReferences` throws), so it
1222
+ * must FAIL here at PR time instead (Rule 14 for playbook bodies).
1223
+ */
1224
+ static collectReferencePlaceholders(frameworkRoot, skills, playbooks) {
1225
+ const layout = resolveFrameworkLayout(frameworkRoot);
1226
+ const occurrences = [];
1227
+ for (const skill of skills) {
1228
+ occurrences.push(...skill.referencePlaceholders);
1229
+ }
1230
+ const supportingMarkdownFiles = globSync('*/{references,examples}/**/*.md', {
1231
+ cwd: layout.frameworkKnowledgeAuthoredSkillsHome,
1232
+ nodir: true,
1233
+ absolute: true,
1234
+ });
1235
+ for (const absoluteFilePath of supportingMarkdownFiles) {
1236
+ const content = readFileSync(absoluteFilePath, 'utf8');
1237
+ occurrences.push(...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(content, relative(frameworkRoot, absoluteFilePath)));
1238
+ }
1239
+ for (const playbook of playbooks) {
1240
+ if (playbook.methodContent === null) {
1241
+ continue;
1242
+ }
1243
+ occurrences.push(...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(playbook.methodContent, playbook.methodFilePath));
1244
+ }
1245
+ /**
1246
+ * The authored skills INDEX.md flows through the same reference
1247
+ * expansion since the P-24 router fix — a bad id there crashes
1248
+ * `generate-docs` exactly like a bad id in a skill body, so it rides
1249
+ * Rules 1/2 too.
1250
+ */
1251
+ const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');
1252
+ if (existsSync(indexFilePath)) {
1253
+ occurrences.push(...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(readFileSync(indexFilePath, 'utf8'), relative(frameworkRoot, indexFilePath)));
1254
+ }
1255
+ return occurrences;
1256
+ }
1257
+ // ─── Rules ───────────────────────────────────────────────────────────────
1258
+ static checkRule1ReferencePlaceholderToUnknownId(params) {
1259
+ for (const placeholder of params.placeholders) {
1260
+ if (!params.registeredIds.has(placeholder.id)) {
1261
+ params.findings.push({
1262
+ rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId,
1263
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1264
+ message: `{{REFERENCE:${placeholder.id}}} cites an id that is not in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,
1265
+ location: `${placeholder.filePath}:${placeholder.line}`,
1266
+ });
1267
+ }
1268
+ }
1269
+ }
1270
+ static checkRule2ReferencePlaceholderWithoutAnchor(params) {
1271
+ for (const placeholder of params.placeholders) {
1272
+ if (!params.registeredIds.has(placeholder.id)) {
1273
+ continue;
1274
+ }
1275
+ const spans = params.anchorIdToSpans.get(placeholder.id);
1276
+ if (!spans || spans.length === 0) {
1277
+ params.findings.push({
1278
+ rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderWithoutAnchor,
1279
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1280
+ message: `{{REFERENCE:${placeholder.id}}} resolves at generation time but has zero @wildo_source spans in engine/, platform/, examples/, or docs/.`,
1281
+ location: `${placeholder.filePath}:${placeholder.line}`,
1282
+ });
1283
+ }
1284
+ }
1285
+ }
1286
+ static checkRule3AnchorWithoutRegistryEntry(params) {
1287
+ const reportedAnchorIds = new Set();
1288
+ for (const span of params.anchorSpans) {
1289
+ if (params.registeredIds.has(span.id)) {
1290
+ continue;
1291
+ }
1292
+ const dedupeKey = `${span.id}|${span.filePath}:${span.line}`;
1293
+ if (reportedAnchorIds.has(dedupeKey)) {
1294
+ continue;
1295
+ }
1296
+ reportedAnchorIds.add(dedupeKey);
1297
+ params.findings.push({
1298
+ rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,
1299
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1300
+ message: `@wildo_source anchor "${span.id}" is not registered in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS. Either register the id or remove the anchor.`,
1301
+ location: `${span.filePath}:${span.line}`,
1302
+ });
1303
+ }
1304
+ }
1305
+ static checkRule4SkillFrontmatterIncomplete(params) {
1306
+ for (const skill of params.skills) {
1307
+ const missing = [];
1308
+ if (!skill.frontmatter.name || skill.frontmatter.name.length === 0) {
1309
+ missing.push('name');
1310
+ }
1311
+ if (!skill.frontmatter.description || skill.frontmatter.description.length === 0) {
1312
+ missing.push('description');
1313
+ }
1314
+ if (missing.length === 0) {
1315
+ continue;
1316
+ }
1317
+ params.findings.push({
1318
+ rule: FrameworkKnowledgeAuditRule.SkillFrontmatterIncomplete,
1319
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1320
+ message: `SKILL.md frontmatter missing required key(s): ${missing.join(', ')}.`,
1321
+ location: skill.skillFilePath,
1322
+ });
1323
+ }
1324
+ }
1325
+ /**
1326
+ * Rule 22 — the frontmatter `name` must BE the folder id, and the folder id
1327
+ * must be a name the host can address.
1328
+ *
1329
+ * Deliberately one rule rather than two: "kebab-case" and "equals the
1330
+ * folder" are the same invariant seen from two sides — there is exactly one
1331
+ * skill id, and both surfaces must spell it. Splitting them would let a
1332
+ * fix satisfy one and leave the other, which is how the two spellings
1333
+ * diverged in the first place.
1334
+ */
1335
+ static checkRule22SkillNameNotHostAddressable(params) {
1336
+ for (const skill of params.skills) {
1337
+ const declaredName = skill.frontmatter.name ?? '';
1338
+ if (declaredName.length === 0) {
1339
+ // Rule 4 already owns the missing-key finding; do not double-report.
1340
+ continue;
1341
+ }
1342
+ if (!HOST_ADDRESSABLE_SKILL_NAME_PATTERN.test(declaredName)) {
1343
+ params.findings.push({
1344
+ rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,
1345
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1346
+ message: `SKILL.md frontmatter name "${declaredName}" is not host-addressable — a skill name may only contain lowercase letters, numbers and hyphens. Rename the skill folder and the name together.`,
1347
+ location: skill.skillFilePath,
1348
+ });
1349
+ continue;
1350
+ }
1351
+ if (declaredName !== skill.skillId) {
1352
+ params.findings.push({
1353
+ rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,
1354
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1355
+ message: `SKILL.md frontmatter name "${declaredName}" does not match its folder id "${skill.skillId}". The host addresses the skill by the frontmatter name while this catalog (INDEX rows, playbook skillRefs) addresses it by the folder — they must be the same id.`,
1356
+ location: skill.skillFilePath,
1357
+ });
1358
+ }
1359
+ }
1360
+ }
1361
+ static checkRule5SkillDescriptionExceedsHardLimit(params) {
1362
+ for (const skill of params.skills) {
1363
+ const description = skill.frontmatter.description ?? '';
1364
+ if (description.length <= DESCRIPTION_HARD_LIMIT_CHARS) {
1365
+ continue;
1366
+ }
1367
+ params.findings.push({
1368
+ rule: FrameworkKnowledgeAuditRule.SkillDescriptionExceedsHardLimit,
1369
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1370
+ message: `SKILL.md description is ${description.length} characters; hard limit is ${DESCRIPTION_HARD_LIMIT_CHARS} (some agent runtimes refuse to load longer descriptions).`,
1371
+ location: skill.skillFilePath,
1372
+ });
1373
+ }
1374
+ }
1375
+ static checkRule6RegistryEntryWithoutAnchor(params) {
1376
+ for (const id of params.registeredIds) {
1377
+ const spans = params.anchorIdToSpans.get(id);
1378
+ if (spans && spans.length > 0) {
1379
+ continue;
1380
+ }
1381
+ params.findings.push({
1382
+ rule: FrameworkKnowledgeAuditRule.RegistryEntryWithoutAnchor,
1383
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1384
+ message: `Registry id "${id}" has no matching @wildo_source span. The id is reserved but not yet wired into source.`,
1385
+ location: REGISTRY_RELATIVE_PATH,
1386
+ });
1387
+ }
1388
+ }
1389
+ static checkRule7ReferenceFileNotCitedInSkill(params) {
1390
+ const skillIndex = new Map(params.skills.map((skill) => [skill.skillId, skill]));
1391
+ for (const [skillId, referenceFilePaths] of params.referenceFilesBySkill.entries()) {
1392
+ const skill = skillIndex.get(skillId);
1393
+ if (!skill) {
1394
+ continue;
1395
+ }
1396
+ const referencesSection = skill.referenceSectionContent ?? '';
1397
+ for (const referenceFilePath of referenceFilePaths) {
1398
+ const fileBasename = basename(referenceFilePath);
1399
+ const fileStem = fileBasename.replace(/\.md$/u, '');
1400
+ const cited = referencesSection.includes(fileBasename) || referencesSection.includes(fileStem);
1401
+ if (cited) {
1402
+ continue;
1403
+ }
1404
+ params.findings.push({
1405
+ rule: FrameworkKnowledgeAuditRule.ReferenceFileNotCitedInSkill,
1406
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1407
+ message: `references/${fileBasename} exists but is not cited in ${skillId}/SKILL.md ## References. Either cite it or delete the file.`,
1408
+ location: referenceFilePath,
1409
+ });
1410
+ }
1411
+ }
1412
+ }
1413
+ static checkRule8IndexCatalogMismatch(params) {
1414
+ if (params.indexCatalogSkillIds === null) {
1415
+ params.findings.push({
1416
+ rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,
1417
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1418
+ message: 'skills/INDEX.md not found — the catalog file is required so the router can resolve skills by trigger phrase.',
1419
+ location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,
1420
+ });
1421
+ return;
1422
+ }
1423
+ const skillIds = new Set(params.skills.map((skill) => skill.skillId));
1424
+ for (const skill of params.skills) {
1425
+ if (params.indexCatalogSkillIds.has(skill.skillId)) {
1426
+ continue;
1427
+ }
1428
+ params.findings.push({
1429
+ rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,
1430
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1431
+ message: `Skill folder "${skill.skillId}" exists but is not listed in skills/INDEX.md. Add a row so the router can route to it.`,
1432
+ location: skill.skillFilePath,
1433
+ });
1434
+ }
1435
+ for (const indexSkillId of params.indexCatalogSkillIds) {
1436
+ if (skillIds.has(indexSkillId)) {
1437
+ continue;
1438
+ }
1439
+ params.findings.push({
1440
+ rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,
1441
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1442
+ message: `skills/INDEX.md references skill "${indexSkillId}" but no matching skill folder exists.`,
1443
+ location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,
1444
+ });
1445
+ }
1446
+ }
1447
+ static checkRule9SkillDescriptionMissingTriggerPhrasing(params) {
1448
+ for (const skill of params.skills) {
1449
+ const description = skill.frontmatter.description ?? '';
1450
+ if (description.length === 0) {
1451
+ continue;
1452
+ }
1453
+ const lowercased = description.toLowerCase();
1454
+ const hasCueWord = lowercased.includes('use when')
1455
+ || lowercased.includes('use this skill when')
1456
+ || lowercased.includes('common asks:')
1457
+ || lowercased.includes('triggers:')
1458
+ || lowercased.includes('triggered by');
1459
+ const quotedFragments = description.match(/"[^"]{4,}"/gu) ?? [];
1460
+ if (hasCueWord || quotedFragments.length >= 2) {
1461
+ continue;
1462
+ }
1463
+ params.findings.push({
1464
+ rule: FrameworkKnowledgeAuditRule.SkillDescriptionMissingTriggerPhrasing,
1465
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1466
+ message: `SKILL.md description should carry trigger phrasing — either a "Use when …" cue or at least two quoted user-voice phrasings — so the router can match a real ask. Current description: "${description.slice(0, 80)}${description.length > 80 ? '…' : ''}"`,
1467
+ location: skill.skillFilePath,
1468
+ });
1469
+ }
1470
+ }
1471
+ static checkRule10TierCExampleWithoutWaiver(params) {
1472
+ for (const skill of params.skills) {
1473
+ const fileMentionsWaiver = skill.rawContent.includes(TIER_C_WAIVER_TOKEN);
1474
+ for (const codeBlock of skill.codeBlocks) {
1475
+ if (codeBlock.lineCount <= SKILL_CODE_BLOCK_LINE_THRESHOLD) {
1476
+ continue;
1477
+ }
1478
+ if (!SKILL_CODE_BLOCK_LANGUAGES.has(codeBlock.language)) {
1479
+ continue;
1480
+ }
1481
+ const blockHasNearbyWaiver = codeBlock.precedingContext.includes(TIER_C_WAIVER_TOKEN);
1482
+ if (blockHasNearbyWaiver || fileMentionsWaiver) {
1483
+ continue;
1484
+ }
1485
+ params.findings.push({
1486
+ rule: FrameworkKnowledgeAuditRule.TierCExampleWithoutWaiver,
1487
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1488
+ message: `SKILL.md contains an inline ${codeBlock.language} code block (${codeBlock.lineCount} lines) without a recorded "${TIER_C_WAIVER_TOKEN}" comment. Either move the example to a Tier A/B anchor + {{REFERENCE:…}} placeholder, or document why a Tier C waiver is justified.`,
1489
+ location: `${skill.skillFilePath}:${codeBlock.startLine}`,
1490
+ });
1491
+ }
1492
+ }
1493
+ }
1494
+ /**
1495
+ * Verification sections in our canonical skill shape (see
1496
+ * `.cursor/rules/framework-knowledge-authoring.mdc`) carry grep
1497
+ * invariants in **either** of two forms:
1498
+ *
1499
+ * - Fenced shell blocks (` ```bash … ``` `) — preferred for multi-line
1500
+ * pipelines or `comm`-based diffs.
1501
+ * - Inline-backtick commands in markdown tables (`` `rg pattern` ``) —
1502
+ * the dominant pattern, since most invariants are one-liners with a
1503
+ * substitution placeholder (`<resource>`, `<field>`).
1504
+ *
1505
+ * The audit accepts either; the warning fires only when the
1506
+ * Verification section has neither — i.e., the agent has nothing
1507
+ * mechanical to execute.
1508
+ */
1509
+ static checkRule11VerificationSectionMissingGrepInvariants(params) {
1510
+ for (const skill of params.skills) {
1511
+ const verificationContent = skill.verificationSectionContent;
1512
+ if (verificationContent === null) {
1513
+ continue;
1514
+ }
1515
+ const shellFences = FrameworkKnowledgeAuditService.collectCodeBlocks(verificationContent).filter((fence) => ['bash', 'sh', 'shell', 'console', 'zsh'].includes(fence.language));
1516
+ const hasInlineGrepInvariant = FrameworkKnowledgeAuditService.containsInlineGrepInvariant(verificationContent);
1517
+ if (shellFences.length === 0 && !hasInlineGrepInvariant) {
1518
+ params.findings.push({
1519
+ rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,
1520
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1521
+ message: '## Verification section has no runnable invariant (neither a ```bash / ```sh fence nor an inline-backtick `rg / grep / comm / pnpm / wildo` command). Add at least one mechanically-checkable invariant.',
1522
+ location: skill.skillFilePath,
1523
+ });
1524
+ continue;
1525
+ }
1526
+ if (shellFences.length === 0) {
1527
+ continue;
1528
+ }
1529
+ const verificationLines = verificationContent.split('\n');
1530
+ for (const fence of shellFences) {
1531
+ const fenceBodyLines = verificationLines
1532
+ .slice(fence.startLine, fence.endLine - 1)
1533
+ .map((line) => line.trim())
1534
+ .filter((line) => line.length > 0 && !line.startsWith('#'));
1535
+ if (fenceBodyLines.length === 0) {
1536
+ continue;
1537
+ }
1538
+ const firstCommand = fenceBodyLines[0];
1539
+ const looksRunnable = RUNNABLE_GREP_INVARIANT_PREFIXES.some((prefix) => firstCommand.startsWith(`${prefix} `) || firstCommand === prefix);
1540
+ if (looksRunnable) {
1541
+ continue;
1542
+ }
1543
+ params.findings.push({
1544
+ rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,
1545
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1546
+ message: `## Verification shell block does not start with a runnable command (${RUNNABLE_GREP_INVARIANT_PREFIXES.join(' / ')}). First non-comment line: "${firstCommand.slice(0, 80)}".`,
1547
+ location: skill.skillFilePath,
1548
+ });
1549
+ }
1550
+ }
1551
+ }
1552
+ static containsInlineGrepInvariant(verificationContent) {
1553
+ return /`(?:rg|grep|comm|pnpm|wildo|node|jq|find|diff)\s[^`]+`/u.test(verificationContent);
1554
+ }
1555
+ /**
1556
+ * Rule 12 — every `@wildo_source:part:start <id>` must be paired
1557
+ * with a matching `@wildo_source:part:end <id>` in the same file.
1558
+ *
1559
+ * Without the end marker, `FrameworkKnowledgeGenerationService`
1560
+ * extracts the anchored span all the way to end-of-file as a
1561
+ * fallback (and emits an `Unclosed @wildo_source:part:start` warning),
1562
+ * which silently bloats the generated `dist/knowledge/` markdown
1563
+ * with whatever happened to follow the open marker. That defect
1564
+ * shipped at least once before the audit existed (the
1565
+ * `saas.models.resource-config.builder-parameters` anchor in
1566
+ * `engine/saas-models/.../resources-config.shared.schemas.ts`),
1567
+ * so this is a first-class FAIL — the audit catches the regression
1568
+ * at PR time instead of letting it surface only when somebody runs
1569
+ * `wildo fwk generate-docs` and notices the warning.
1570
+ */
1571
+ static checkRule12AnchorWithoutEndMarker(params) {
1572
+ for (const anchor of params.unclosedAnchors) {
1573
+ params.findings.push({
1574
+ rule: FrameworkKnowledgeAuditRule.AnchorWithoutEndMarker,
1575
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1576
+ message: `@wildo_source:part:start "${anchor.id}" has no matching @wildo_source:part:end before EOF. The generator will extract through end-of-file as a fallback and ship dirty dist/knowledge/ markdown — add the missing close marker.`,
1577
+ location: `${anchor.filePath}:${anchor.startLine}`,
1578
+ });
1579
+ }
1580
+ }
1581
+ /**
1582
+ * Rule 21 — one anchor id must not extract BYTE-IDENTICAL content from more
1583
+ * than one source file.
1584
+ *
1585
+ * Every other rule in this service checks anchor <-> registry <-> skill <->
1586
+ * INDEX *integrity*, and integrity survives a duplicated source tree
1587
+ * perfectly: each copy carries a well-formed anchor whose id is registered
1588
+ * and cited. So the audit reported a clean bill of health while
1589
+ * `dist/knowledge/skills/market-icp/SKILL.md` shipped 21 concatenated copies
1590
+ * of the same worked example, 20 of them frozen at an older revision of the
1591
+ * app. (Root cause: gitignored meta-workflow integration-test application
1592
+ * copies under `.wildo-saas/tmp/` were inside the scan universe. Fixed in the
1593
+ * shared scan ignore contract; this rule is the guard that makes any
1594
+ * recurrence — from that tree or a future one — fail at PR time.)
1595
+ *
1596
+ * Keyed on CONTENT rather than on "id appears in N files" on purpose. Spanning
1597
+ * one id across several files is a legitimate, documented pattern: the
1598
+ * generator ACCUMULATES spans, so `zod.decorators.file-schema` covers two
1599
+ * sources and `example.resource.add-field.priority-enum` covers a schema plus
1600
+ * its enum file. Those contribute DIFFERENT bodies and must stay legal.
1601
+ * Identical bodies under one id have no valid authoring meaning — they can
1602
+ * only duplicate the compiled excerpt — which is what makes a FAIL safe here.
1603
+ * Verified against the live tree: 25 ids would have fired before the scan fix,
1604
+ * 0 after.
1605
+ */
1606
+ static checkRule21AnchorIdDuplicateSourceContent(params) {
1607
+ /** id -> contentDigest -> distinct source files contributing that exact body. */
1608
+ const filesByDigestById = new Map();
1609
+ for (const span of params.spans) {
1610
+ if (span.contentDigest === undefined) {
1611
+ continue;
1612
+ }
1613
+ const byDigest = filesByDigestById.get(span.id) ?? new Map();
1614
+ const files = byDigest.get(span.contentDigest) ?? new Set();
1615
+ files.add(span.filePath);
1616
+ byDigest.set(span.contentDigest, files);
1617
+ filesByDigestById.set(span.id, byDigest);
1618
+ }
1619
+ for (const [anchorId, byDigest] of [...filesByDigestById.entries()].sort(([left], [right]) => left.localeCompare(right))) {
1620
+ for (const duplicateFiles of byDigest.values()) {
1621
+ if (duplicateFiles.size < 2) {
1622
+ continue;
1623
+ }
1624
+ const sortedFiles = [...duplicateFiles].sort((left, right) => left.localeCompare(right));
1625
+ params.findings.push({
1626
+ rule: FrameworkKnowledgeAuditRule.AnchorIdDuplicateSourceContent,
1627
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1628
+ message: `@wildo_source anchor "${anchorId}" extracts identical content from ${sortedFiles.length} files, so the compiled reference will repeat that excerpt ${sortedFiles.length} times: `
1629
+ + `${sortedFiles.join(', ')}. Usually a duplicated or generated copy of a source tree leaked into the scan universe — exclude it in FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS. `
1630
+ + `Anchoring ONE id across several files is legal when each contributes DIFFERENT content; identical content is not.`,
1631
+ location: sortedFiles[0],
1632
+ });
1633
+ }
1634
+ }
1635
+ }
1636
+ /**
1637
+ * Rule 13 — every `method.skillRefs[]` entry must name a discovered
1638
+ * authored skill folder. Playbooks delegate the technical HOW to
1639
+ * app-knowledge skills; a dangling ref would only surface at runtime
1640
+ * inside the companion's PlaybookRegistryService.
1641
+ */
1642
+ static checkRule13PlaybookSkillRefToUnknownSkill(params) {
1643
+ const skillIds = new Set(params.skills.map((skill) => skill.skillId));
1644
+ for (const playbook of params.playbooks) {
1645
+ for (const skillRef of FrameworkKnowledgeAuditService.readPlaybookSkillRefs(playbook)) {
1646
+ if (skillIds.has(skillRef)) {
1647
+ continue;
1648
+ }
1649
+ params.findings.push({
1650
+ rule: FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill,
1651
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1652
+ message: `Playbook "${playbook.playbookRef}" references skill "${skillRef}" in method.skillRefs, but no matching skill folder exists under src/skills/.`,
1653
+ location: playbook.structuredSourceFilePath,
1654
+ });
1655
+ }
1656
+ }
1657
+ }
1658
+ /**
1659
+ * Rule 15 — playbook contract checks, all buildless:
1660
+ *
1661
+ * - folder contract violations that the generator hard-throws on
1662
+ * (unparseable or non-object JSON / folder-ref mismatch / missing
1663
+ * method.md / inline `method.guidance`), surfaced here so they fail
1664
+ * the PR instead of crashing `generate-docs`;
1665
+ * - `outputs[].schemaRef` FORMAT check against the P-33 vocabulary
1666
+ * (deep export-resolution deliberately deferred — no import-prober);
1667
+ * - `ref@version` uniqueness across the authored catalog;
1668
+ * - forbidden topic-implicit placeholders in `method.md`.
1669
+ */
1670
+ /**
1671
+ * Rule 23 — every family a playbook depends on must be produced by SOME playbook in the catalog.
1672
+ *
1673
+ * Deliberately checked against the catalog's own producers rather than against the runtime's
1674
+ * landing-target map: a family with a landing target and no producer is still unreachable through
1675
+ * the journey, which is what a creator experiences. `compliance-document-fact-projection` has
1676
+ * neither, and `business-model` has a landing target and no producer — one rule catches both.
1677
+ */
1678
+ static checkRule23PlaybookInputFamilyWithNoProducer(params) {
1679
+ const produced = new Set();
1680
+ for (const playbook of params.playbooks) {
1681
+ for (const family of FrameworkKnowledgeAuditService.readPlaybookOutputFamilies(playbook))
1682
+ produced.add(family);
1683
+ }
1684
+ // A catalog that parsed to zero producers would report every dependency as dangling, which reads
1685
+ // as a broken catalog rather than a broken reader. Say nothing instead — the same reason the
1686
+ // code-conduct checkers ship a `--self-test`: a matcher that matches nothing and a clean repo
1687
+ // must not look identical.
1688
+ if (produced.size === 0)
1689
+ return;
1690
+ for (const playbook of params.playbooks) {
1691
+ const reported = new Set();
1692
+ for (const { family, via } of FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook)) {
1693
+ if (produced.has(family) || reported.has(family))
1694
+ continue;
1695
+ reported.add(family);
1696
+ params.findings.push({
1697
+ rule: FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer,
1698
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1699
+ message: `Playbook "${playbook.playbookRef}" declares artifact family "${family}" as ${via === 'precondition' ? 'a PRECONDITION' : 'an INPUT'}, but no playbook in the catalog produces it. `
1700
+ + (via === 'precondition'
1701
+ ? 'A precondition on an unproducible family makes this playbook permanently ineligible — it can never appear on the eligibility board. '
1702
+ : 'The prompt will silently lose that truth section on every run, and any method branch conditioned on it can never execute. ')
1703
+ + 'Either author a playbook that produces it, or remove the declaration.',
1704
+ location: playbook.structuredSourceFilePath,
1705
+ });
1706
+ }
1707
+ }
1708
+ }
1709
+ /**
1710
+ * Rule 24 — a family gated at READINESS strength must also be declared as an INPUT.
1711
+ *
1712
+ * ## What this protects, and why it is not merely tidiness
1713
+ *
1714
+ * Derived-staleness (`deriveOneFamilyFreshness`, application-creation runtime) asks "did any input
1715
+ * this output was derived from move since it was committed?" — and it reads the playbook's OWN
1716
+ * `inputs[]`. A playbook that gates on a family it never declares as an input under-reports: the
1717
+ * family silently drops out of the comparison, and a family not reported as moved reads as a family
1718
+ * that is current. That is the dangerous direction
1719
+ * (`.claude/rules/negative-results-require-a-positive-probe.md`).
1720
+ *
1721
+ * ## Why READINESS only, and why this rule is not the obvious one
1722
+ *
1723
+ * `ARTIFACT_EXISTS` / `ARTIFACT_VALID` are READINESS: running without the family produces garbage,
1724
+ * so the playbook is asserting that it needs the family's CONTENT. `ARTIFACT_EXPECTED` is
1725
+ * SEQUENCING — "this should come first" — and gating on order without reading the content is
1726
+ * legitimate, so it is deliberately excluded. No playbook uses EXPECTED today; excluding it costs
1727
+ * nothing now and prevents a false positive the first time one does.
1728
+ *
1729
+ * The OBVIOUS rule — "a family NAMED in method prose must be a declared input" — was written,
1730
+ * measured against the live catalog on 2026-08-29, and REJECTED: five candidates, five false
1731
+ * positives. Every one was prose about what happens downstream (`"the downstream scope/roadmap
1732
+ * playbook slots each feature"`) or an explicit out-of-scope statement (`"Keep ... the requirements
1733
+ * family out of scope"`), and one matched the ordinary English of `"documentation requirements"`.
1734
+ * A checker that fires mostly on correctly-authored prose trains readers to skim, which costs more
1735
+ * than the claims it catches (`external-specification-citations.md`, the `documents` verb).
1736
+ *
1737
+ * ## FAIL as of 2026-09-01
1738
+ *
1739
+ * Unlike rules 23 and 27 this one never needed a WARN period, and for rule 26's reason: there is no
1740
+ * undecided product decision in it. A readiness gate asserts the playbook needs that family's
1741
+ * CONTENT, so declaring it in `inputs[]` is mechanical — or the gate should be weakened to
1742
+ * `artifact_expected`, which is equally mechanical. Nothing here waits on anyone's call.
1743
+ *
1744
+ * ## It ships at ZERO, which is the point and also the hazard
1745
+ *
1746
+ * All 16 playbooks with preconditions satisfy it today. A rule at zero and a rule whose discovery
1747
+ * is broken report identically, so the pins in
1748
+ * `__tests__/framework-knowledge-audit.service.test.ts` plant a VIOLATING playbook and assert it
1749
+ * fires, plant a SEQUENCING-gated one and assert it does not, and plant a clean one and assert
1750
+ * silence. Without all three, a rule that fired on every gate would still look correct.
1751
+ */
1752
+ static checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput(params) {
1753
+ const readinessKinds = new Set(['artifact_exists', 'artifact_valid']);
1754
+ /*
1755
+ * Say nothing when the catalog declares NO inputs at all — the guard rules 23 and 26 carry, added
1756
+ * here when this rule was promoted (2026-09-01).
1757
+ *
1758
+ * The failure DIRECTION is what makes it necessary. If `inputs[]` stopped parsing while
1759
+ * preconditions still did, `declaredInputs` would be empty for EVERY playbook and every readiness
1760
+ * gate in the catalog would be reported — a reader bug presenting as a catalog-wide defect. As a
1761
+ * warning that is noise; in the FAIL channel it is a merge block on a catalog that is fine.
1762
+ *
1763
+ * The blind spot it buys, stated rather than discovered: a catalog where nothing declares an input
1764
+ * AND something gates at readiness strength goes unreported. Such a catalog has a larger problem
1765
+ * than this rule was written to find.
1766
+ */
1767
+ const catalogDeclaresAnyInput = params.playbooks.some((playbook) => FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook).some((entry) => entry.via === 'input'));
1768
+ if (!catalogDeclaresAnyInput)
1769
+ return;
1770
+ for (const playbook of params.playbooks) {
1771
+ const required = FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook);
1772
+ const declaredInputs = new Set(required.filter((entry) => entry.via === 'input').map((entry) => entry.family));
1773
+ const reported = new Set();
1774
+ for (const entry of required) {
1775
+ if (entry.via !== 'precondition' || entry.kind === undefined || !readinessKinds.has(entry.kind))
1776
+ continue;
1777
+ if (declaredInputs.has(entry.family) || reported.has(entry.family))
1778
+ continue;
1779
+ reported.add(entry.family);
1780
+ params.findings.push({
1781
+ rule: FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput,
1782
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1783
+ message: `Playbook "${playbook.playbookRef}" gates on artifact family "${entry.family}" at READINESS strength (${entry.kind}) `
1784
+ + 'but does not declare it in `inputs[]`. A readiness gate asserts the playbook needs that family\'s CONTENT, so the '
1785
+ + 'declaration is missing: the brief loses that truth section, and derived-staleness silently omits the family from '
1786
+ + 'its comparison — a family not reported as moved reads as a family that is current. Add it to `inputs[]`, or '
1787
+ + 'weaken the gate to `artifact_expected` if the order is all that matters.',
1788
+ location: playbook.structuredSourceFilePath,
1789
+ });
1790
+ }
1791
+ }
1792
+ }
1793
+ /**
1794
+ * Rule 26 — a `STEP_AVAILABLE` gate must name a step some playbook in the catalog RETURNS.
1795
+ *
1796
+ * ## The failure it catches is silent and total
1797
+ *
1798
+ * A `step_available` precondition naming a ref no sibling declares in `stepOutputs[]` can never be
1799
+ * satisfied: the choreography scope only ever holds refs a child returned. The playbook is
1800
+ * therefore permanently ineligible INSIDE the composite, and nothing says so — the composite simply
1801
+ * gathers what it can, never offers that child, and stops with a stop-rationale that is honest
1802
+ * about what it was offered and blind to what it was not.
1803
+ *
1804
+ * That is not hypothetical. The composite's second live run (wonder-crm, 2026-08-29) landed nothing
1805
+ * for a different reason with exactly this SHAPE: the producing child was withheld from every
1806
+ * eligible set, the model stopped saying nothing further advanced the goal, and only the trace
1807
+ * revealed the child had never been on offer. A typo in a step ref reproduces that outcome with no
1808
+ * fix available short of reading the catalog by hand.
1809
+ *
1810
+ * ## Why it also checks `requires.path`
1811
+ *
1812
+ * A value assertion reads a declared FIELD of the step result. A path the producing step's schema
1813
+ * does not declare is the same defect one layer down — the comparison can only ever be `undefined
1814
+ * !== expected`, so the gate is permanently closed. The check is deliberately SHALLOW: it verifies
1815
+ * the step is declared and carries a `schemaRef` at all, because resolving the schema would mean
1816
+ * importing it, and this audit is buildless by design.
1817
+ *
1818
+ * ## FAIL, and why this one never needed a WARN period
1819
+ *
1820
+ * Rules 23 and 27 shipped soft because their live findings were TRUE and UNDECIDED: producing a
1821
+ * family, or teaching the phase derivation, is a product decision, and failing on someone else's
1822
+ * pending decision is a refusal with no door. There is no such dimension here. A gate naming an
1823
+ * undeclared step is not a decision anybody is weighing — it is a typo or a deleted producer, and
1824
+ * both fixes are mechanical (correct the ref, or declare it on the playbook that should produce
1825
+ * it). The catalog has never carried one.
1826
+ *
1827
+ * ## It says nothing when NO playbook declares a step
1828
+ *
1829
+ * Added 2026-09-01, when this rule was promoted; both siblings had this guard and it did not.
1830
+ * Without it a reader that failed to parse `stepOutputs` would report every `step_available` gate
1831
+ * in the catalog as dangling — and in the FAIL channel that turns a reader bug into a merge block
1832
+ * on a catalog that is fine. A broken reader and a clean catalog must not be indistinguishable,
1833
+ * which is the same reason the `scripts/code-conduct/` checkers ship a `--self-test`.
1834
+ *
1835
+ * The cost of the guard is one blind spot, stated rather than discovered: a catalog where nothing
1836
+ * declares a step AND a gate names one is not reported. That is a catalog with no choreography at
1837
+ * all, where the gate is inert for a more obvious reason.
1838
+ */
1839
+ static checkRule26PlaybookStepGateNamesNoDeclaredStep(params) {
1840
+ const declaredSteps = new Map();
1841
+ for (const playbook of params.playbooks) {
1842
+ const stepOutputs = playbook.json?.stepOutputs;
1843
+ if (!Array.isArray(stepOutputs))
1844
+ continue;
1845
+ for (const entry of stepOutputs) {
1846
+ const record = entry;
1847
+ if (typeof record?.ref === 'string') {
1848
+ declaredSteps.set(record.ref, {
1849
+ producer: playbook.playbookRef,
1850
+ ...(typeof record.schemaRef === 'string' ? { schemaRef: record.schemaRef } : {}),
1851
+ });
1852
+ }
1853
+ }
1854
+ }
1855
+ // See "It says nothing when NO playbook declares a step" above.
1856
+ if (declaredSteps.size === 0)
1857
+ return;
1858
+ for (const playbook of params.playbooks) {
1859
+ const preconditions = playbook.json?.preconditions;
1860
+ if (!Array.isArray(preconditions))
1861
+ continue;
1862
+ for (const predicate of preconditions) {
1863
+ const record = predicate;
1864
+ if (record?.kind !== 'step_available' || typeof record.ref !== 'string')
1865
+ continue;
1866
+ const declared = declaredSteps.get(record.ref);
1867
+ if (!declared) {
1868
+ params.findings.push({
1869
+ rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,
1870
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1871
+ message: `Playbook "${playbook.playbookRef}" gates on step "${record.ref}", which NO playbook declares in \`stepOutputs[]\`. `
1872
+ + 'A choreography scope only ever holds refs a child returned, so this gate can never be satisfied and the playbook '
1873
+ + 'is permanently ineligible inside any composite — silently, because a withheld child leaves no trace in the result. '
1874
+ + 'Fix the ref, or declare it on the playbook that should produce it.',
1875
+ location: playbook.structuredSourceFilePath,
1876
+ });
1877
+ continue;
1878
+ }
1879
+ /*
1880
+ * The SOFTER half of this rule, and it keeps the WARN channel deliberately.
1881
+ *
1882
+ * The gate above is an integrity break: the step does not exist, so the playbook is
1883
+ * permanently ineligible. This one is not — the step exists and the gate can be satisfied.
1884
+ * What is wrong is that the assertion compares against a field nothing guarantees, so it
1885
+ * passes or fails by accident. That is a correctness problem worth reporting and not a
1886
+ * reason to block an unrelated merge, which is the line the FAIL channel draws.
1887
+ */
1888
+ const requires = record.requires;
1889
+ if (requires !== undefined && declared.schemaRef === undefined) {
1890
+ params.findings.push({
1891
+ rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,
1892
+ severity: FrameworkKnowledgeAuditSeverity.Warn,
1893
+ message: `Playbook "${playbook.playbookRef}" asserts a VALUE on step "${record.ref}" (\`requires.path\`), but "${declared.producer}" `
1894
+ + 'declares that step with no `schemaRef`. An unschema\'d step returns whatever the model produced, so the assertion '
1895
+ + 'compares against a field nothing guarantees — the gate passes or fails by accident. Give the step a schemaRef, or drop the assertion.',
1896
+ location: playbook.structuredSourceFilePath,
1897
+ });
1898
+ }
1899
+ }
1900
+ }
1901
+ }
1902
+ static checkRule15PlaybookContract(params) {
1903
+ const seenRefVersions = new Map();
1904
+ for (const playbook of params.playbooks) {
1905
+ if (playbook.jsonContractError !== null) {
1906
+ params.findings.push({
1907
+ rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,
1908
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1909
+ message: `Playbook "${playbook.playbookRef}" has an unusable canonical structured source: ${playbook.jsonContractError}`,
1910
+ location: playbook.structuredSourceFilePath,
1911
+ });
1912
+ }
1913
+ if (!playbook.methodExists) {
1914
+ params.findings.push({
1915
+ rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,
1916
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1917
+ message: `Playbook "${playbook.playbookRef}" is missing its ${PLAYBOOK_METHOD_FILE_NAME}.`,
1918
+ location: playbook.methodFilePath,
1919
+ });
1920
+ }
1921
+ if (playbook.json !== null) {
1922
+ const declaredRef = playbook.json.ref;
1923
+ if (typeof declaredRef === 'string' && declaredRef !== playbook.playbookRef) {
1924
+ params.findings.push({
1925
+ rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,
1926
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1927
+ message: `Playbook folder "${playbook.playbookRef}" declares ref "${declaredRef}". The folder name is the loader address — they must match.`,
1928
+ location: playbook.structuredSourceFilePath,
1929
+ });
1930
+ }
1931
+ const method = (playbook.json.method ?? {});
1932
+ if (method.guidance !== undefined) {
1933
+ params.findings.push({
1934
+ rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,
1935
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1936
+ message: `Playbook "${playbook.playbookRef}" declares method.guidance inline. The method prose lives in ${PLAYBOOK_METHOD_FILE_NAME} (single source of truth) — remove the JSON field.`,
1937
+ location: playbook.structuredSourceFilePath,
1938
+ });
1939
+ }
1940
+ for (const schemaRef of FrameworkKnowledgeAuditService.readPlaybookOutputSchemaRefs(playbook)) {
1941
+ if (PLAYBOOK_SCHEMA_REF_REGEX.test(schemaRef)) {
1942
+ continue;
1943
+ }
1944
+ params.findings.push({
1945
+ rule: FrameworkKnowledgeAuditRule.PlaybookOutputSchemaRefInvalid,
1946
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1947
+ message: `Playbook "${playbook.playbookRef}" output schemaRef "${schemaRef}" does not match the pinned vocabulary ^(saas-models|saas-specifications):<ExportName>$.`,
1948
+ location: playbook.structuredSourceFilePath,
1949
+ });
1950
+ }
1951
+ const declaredVersion = playbook.json.version;
1952
+ if (typeof declaredRef === 'string' && typeof declaredVersion === 'string') {
1953
+ const identity = `${declaredRef}@${declaredVersion}`;
1954
+ const firstSeenAt = seenRefVersions.get(identity);
1955
+ if (firstSeenAt !== undefined) {
1956
+ params.findings.push({
1957
+ rule: FrameworkKnowledgeAuditRule.PlaybookRefVersionDuplicate,
1958
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1959
+ message: `Playbook identity "${identity}" is declared more than once (first seen in ${firstSeenAt}). ref@version must be unique across the compiled catalog.`,
1960
+ location: playbook.structuredSourceFilePath,
1961
+ });
1962
+ }
1963
+ else {
1964
+ seenRefVersions.set(identity, playbook.structuredSourceFilePath);
1965
+ }
1966
+ }
1967
+ }
1968
+ if (playbook.methodContent !== null) {
1969
+ for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(playbook.methodContent)) {
1970
+ params.findings.push({
1971
+ rule: FrameworkKnowledgeAuditRule.PlaybookForbiddenTopicImplicitPlaceholder,
1972
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
1973
+ message: `Playbook "${playbook.playbookRef}" uses the topic-implicit placeholder {{${hit.placeholderName}}} in ${PLAYBOOK_METHOD_FILE_NAME}. Playbooks have no topic — the generator would render it verbatim. Only {{PARTIAL:…}} and {{REFERENCE:<id>}} are allowed.`,
1974
+ location: `${playbook.methodFilePath}:${hit.lineNumber}`,
1975
+ });
1976
+ }
1977
+ }
1978
+ }
1979
+ }
1980
+ static valuesAreUniqueAndSorted(values) {
1981
+ return new Set(values).size === values.length && values.every((value, index) => index === 0 || (values[index - 1] ?? '') <= value);
1982
+ }
1983
+ /**
1984
+ * Skills-INDEX render-surface companion to Rule 15's placeholder lane.
1985
+ * Since the P-24 fix ships `src/skills/INDEX.md` through
1986
+ * `renderAuthoredMarkdownFile`, a topic-implicit placeholder there would
1987
+ * render VERBATIM into the compiled router (the catalog has no topic).
1988
+ * Bad `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 via
1989
+ * `collectReferencePlaceholders`; this check covers the verbatim lane.
1990
+ */
1991
+ static checkSkillsIndexForbiddenPlaceholders(params) {
1992
+ const layout = resolveFrameworkLayout(params.frameworkRoot);
1993
+ const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');
1994
+ if (!existsSync(indexFilePath)) {
1995
+ return;
1996
+ }
1997
+ const indexRelativePath = relative(params.frameworkRoot, indexFilePath);
1998
+ for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(readFileSync(indexFilePath, 'utf8'))) {
1999
+ params.findings.push({
2000
+ rule: FrameworkKnowledgeAuditRule.SkillsIndexForbiddenTopicImplicitPlaceholder,
2001
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
2002
+ message: `skills/INDEX.md uses the topic-implicit placeholder {{${hit.placeholderName}}}. The catalog has no topic — the generator would ship it verbatim inside the compiled router. Only {{PARTIAL:…}} and {{REFERENCE:<id>}} are allowed.`,
2003
+ location: `${indexRelativePath}:${hit.lineNumber}`,
2004
+ });
2005
+ }
2006
+ }
2007
+ /**
2008
+ * Scans markdown for topic-implicit placeholders. One hit per
2009
+ * OCCURRENCE — the regex is global, so two placeholders sharing a line
2010
+ * yield two hits (a per-line `exec` would silently drop the second).
2011
+ */
2012
+ static collectForbiddenTopicImplicitPlaceholders(markdownContent) {
2013
+ const hits = [];
2014
+ const lines = markdownContent.split('\n');
2015
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
2016
+ for (const match of lines[lineIndex].matchAll(FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX)) {
2017
+ hits.push({ lineNumber: lineIndex + 1, placeholderName: match[1] });
2018
+ }
2019
+ }
2020
+ return hits;
2021
+ }
2022
+ /** The wire values rule 28 joins a placeholder against — lifted enum-aware by the parser. */
2023
+ static readPlaybookContextSources(playbook) {
2024
+ const method = (playbook.json?.method ?? {});
2025
+ const contextSources = method.contextSources;
2026
+ if (!Array.isArray(contextSources))
2027
+ return [];
2028
+ return contextSources.filter((entry) => typeof entry === 'string');
2029
+ }
2030
+ /**
2031
+ * Rule 28 — every `{{CONTEXT_SOURCE:<member>}}` in a playbook's method.md names a real
2032
+ * `MetaWorkflow_ContextSource` member that the playbook DECLARES. See the enum member's JSDoc for
2033
+ * why this join exists; the generator enforces the same predicate fail-closed at compile.
2034
+ */
2035
+ static checkRule28PlaybookContextSourcePlaceholder(params) {
2036
+ // Zero-guard, rule 27's discipline: an empty member set is indistinguishable from a parser that
2037
+ // lost the enum, and failing every placeholder in the catalog on a broken read would train
2038
+ // authors to stop using the placeholder — the opposite of the norm it exists to convert.
2039
+ if (params.contextSourceValues.size === 0)
2040
+ return;
2041
+ const placeholderRegex = /\{\{CONTEXT_SOURCE:([a-z0-9_]+)\}\}/gu;
2042
+ for (const playbook of params.playbooks) {
2043
+ if (playbook.methodContent === null)
2044
+ continue;
2045
+ const declared = new Set(FrameworkKnowledgeAuditService.readPlaybookContextSources(playbook));
2046
+ const lines = playbook.methodContent.split('\n');
2047
+ for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {
2048
+ for (const match of lines[lineIndex].matchAll(placeholderRegex)) {
2049
+ const member = match[1];
2050
+ if (!params.contextSourceValues.has(member)) {
2051
+ params.findings.push({
2052
+ rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,
2053
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
2054
+ message: `Playbook "${playbook.playbookRef}" uses {{CONTEXT_SOURCE:${member}}} in ${PLAYBOOK_METHOD_FILE_NAME}, and "${member}" is no MetaWorkflow_ContextSource member. Valid members: ${[...params.contextSourceValues].sort().join(', ')}.`,
2055
+ location: `${playbook.methodFilePath}:${lineIndex + 1}`,
2056
+ });
2057
+ }
2058
+ else if (!declared.has(member)) {
2059
+ params.findings.push({
2060
+ rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,
2061
+ severity: FrameworkKnowledgeAuditSeverity.Fail,
2062
+ message: `Playbook "${playbook.playbookRef}" uses {{CONTEXT_SOURCE:${member}}} in ${PLAYBOOK_METHOD_FILE_NAME} without declaring "${member}" in method.contextSources. The prose would promise a brief section the runtime never composes — declare the source or remove the reference.`,
2063
+ location: `${playbook.methodFilePath}:${lineIndex + 1}`,
2064
+ });
2065
+ }
2066
+ }
2067
+ }
2068
+ }
2069
+ }
2070
+ static readPlaybookSkillRefs(playbook) {
2071
+ const method = (playbook.json?.method ?? {});
2072
+ const skillRefs = method.skillRefs;
2073
+ if (!Array.isArray(skillRefs)) {
2074
+ return [];
2075
+ }
2076
+ return skillRefs.filter((entry) => typeof entry === 'string');
2077
+ }
2078
+ static readPlaybookOutputSchemaRefs(playbook) {
2079
+ const outputs = playbook.json?.outputs;
2080
+ if (!Array.isArray(outputs)) {
2081
+ return [];
2082
+ }
2083
+ return outputs
2084
+ .map((output) => output?.schemaRef)
2085
+ .filter((schemaRef) => typeof schemaRef === 'string');
2086
+ }
2087
+ /** Families a playbook WRITES — the producer side of the catalog graph. */
2088
+ static readPlaybookOutputFamilies(playbook) {
2089
+ const outputs = playbook.json?.outputs;
2090
+ if (!Array.isArray(outputs))
2091
+ return [];
2092
+ return outputs
2093
+ .map((output) => output?.family)
2094
+ .filter((family) => typeof family === 'string');
2095
+ }
2096
+ /**
2097
+ * Families a playbook DEPENDS ON, each tagged with how.
2098
+ *
2099
+ * Preconditions and inputs are read together because they are the same dependency asked at
2100
+ * different strengths, and reading only one would miss half the graph — the dead playbook below
2101
+ * declares its missing family in BOTH places, but nothing guarantees the next one will.
2102
+ */
2103
+ static readPlaybookRequiredFamilies(playbook) {
2104
+ const required = [];
2105
+ const preconditions = playbook.json?.preconditions;
2106
+ if (Array.isArray(preconditions)) {
2107
+ for (const predicate of preconditions) {
2108
+ const record = predicate;
2109
+ const selector = record?.selector;
2110
+ if (typeof selector?.family === 'string') {
2111
+ required.push({
2112
+ family: selector.family,
2113
+ via: 'precondition',
2114
+ ...(typeof record?.kind === 'string' ? { kind: record.kind } : {}),
2115
+ });
2116
+ }
2117
+ }
2118
+ }
2119
+ const inputs = playbook.json?.inputs;
2120
+ if (Array.isArray(inputs)) {
2121
+ for (const entry of inputs) {
2122
+ const family = entry?.family;
2123
+ if (typeof family === 'string')
2124
+ required.push({ family, via: 'input' });
2125
+ }
2126
+ }
2127
+ return required;
2128
+ }
2129
+ static readPlaybookPredicateKinds(playbook) {
2130
+ const preconditions = playbook.json?.preconditions;
2131
+ if (!Array.isArray(preconditions))
2132
+ return [];
2133
+ return preconditions
2134
+ .map((predicate) => predicate?.kind)
2135
+ .filter((kind) => typeof kind === 'string');
2136
+ }
2137
+ }
2138
+ //# sourceMappingURL=framework-knowledge-audit.service.js.map