@wildo-ai/wildo-cli 1.1.7 → 1.1.9

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 (1426) hide show
  1. package/dist/src/commands/build/run.command.d.ts +8 -5
  2. package/dist/src/commands/build/run.command.d.ts.map +1 -1
  3. package/dist/src/commands/build/run.command.js +62 -9
  4. package/dist/src/commands/build/run.command.js.map +1 -1
  5. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
  6. package/dist/src/commands/config/document-releases.command.js +2 -1
  7. package/dist/src/commands/config/document-releases.command.js.map +1 -1
  8. package/dist/src/commands/config/mutate.command.js +1 -1
  9. package/dist/src/commands/config/mutate.command.js.map +1 -1
  10. package/dist/src/commands/config/reapply-declaration.command.d.ts +9 -3
  11. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  12. package/dist/src/commands/config/reapply-declaration.command.js +10 -4
  13. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  14. package/dist/src/commands/config/validate.command.d.ts +20 -0
  15. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  16. package/dist/src/commands/config/validate.command.js +57 -5
  17. package/dist/src/commands/config/validate.command.js.map +1 -1
  18. package/dist/src/commands/context/journey.command.d.ts +54 -0
  19. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  20. package/dist/src/commands/context/journey.command.js +126 -14
  21. package/dist/src/commands/context/journey.command.js.map +1 -1
  22. package/dist/src/commands/context/launch-blockers.command.d.ts +19 -0
  23. package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -0
  24. package/dist/src/commands/context/launch-blockers.command.js +71 -0
  25. package/dist/src/commands/context/launch-blockers.command.js.map +1 -0
  26. package/dist/src/commands/creation/answer.command.d.ts +3 -0
  27. package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
  28. package/dist/src/commands/creation/answer.command.js +18 -2
  29. package/dist/src/commands/creation/answer.command.js.map +1 -1
  30. package/dist/src/commands/creation/deliberate.command.js +1 -1
  31. package/dist/src/commands/creation/deliberate.command.js.map +1 -1
  32. package/dist/src/commands/creation/depth.command.d.ts +16 -0
  33. package/dist/src/commands/creation/depth.command.d.ts.map +1 -0
  34. package/dist/src/commands/creation/depth.command.js +50 -0
  35. package/dist/src/commands/creation/depth.command.js.map +1 -0
  36. package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
  37. package/dist/src/commands/creation/loop.command.js +11 -1
  38. package/dist/src/commands/creation/loop.command.js.map +1 -1
  39. package/dist/src/commands/creation/preflight.command.d.ts +15 -0
  40. package/dist/src/commands/creation/preflight.command.d.ts.map +1 -0
  41. package/dist/src/commands/creation/preflight.command.js +53 -0
  42. package/dist/src/commands/creation/preflight.command.js.map +1 -0
  43. package/dist/src/commands/creation/propose.command.d.ts +18 -0
  44. package/dist/src/commands/creation/propose.command.d.ts.map +1 -0
  45. package/dist/src/commands/creation/propose.command.js +57 -0
  46. package/dist/src/commands/creation/propose.command.js.map +1 -0
  47. package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
  48. package/dist/src/commands/creation/questions.command.js +21 -6
  49. package/dist/src/commands/creation/questions.command.js.map +1 -1
  50. package/dist/src/commands/creation/reason.command.d.ts +12 -0
  51. package/dist/src/commands/creation/reason.command.d.ts.map +1 -0
  52. package/dist/src/commands/creation/reason.command.js +37 -0
  53. package/dist/src/commands/creation/reason.command.js.map +1 -0
  54. package/dist/src/commands/creation/report.command.d.ts +23 -0
  55. package/dist/src/commands/creation/report.command.d.ts.map +1 -0
  56. package/dist/src/commands/creation/report.command.js +129 -0
  57. package/dist/src/commands/creation/report.command.js.map +1 -0
  58. package/dist/src/commands/creation/run.command.d.ts +2 -0
  59. package/dist/src/commands/creation/run.command.d.ts.map +1 -1
  60. package/dist/src/commands/creation/run.command.js +9 -0
  61. package/dist/src/commands/creation/run.command.js.map +1 -1
  62. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +28 -0
  63. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -0
  64. package/dist/src/commands/db/db-schema-plan-migration.utils.js +38 -0
  65. package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -0
  66. package/dist/src/commands/db/db-schema-plan.utils.d.ts +0 -27
  67. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  68. package/dist/src/commands/db/db-schema-plan.utils.js +0 -26
  69. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  70. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  71. package/dist/src/commands/db/generate.command.js +2 -1
  72. package/dist/src/commands/db/generate.command.js.map +1 -1
  73. package/dist/src/commands/help.command.d.ts.map +1 -1
  74. package/dist/src/commands/help.command.js +2 -0
  75. package/dist/src/commands/help.command.js.map +1 -1
  76. package/dist/src/commands/init.command.d.ts +6 -1
  77. package/dist/src/commands/init.command.d.ts.map +1 -1
  78. package/dist/src/commands/init.command.js +50 -12
  79. package/dist/src/commands/init.command.js.map +1 -1
  80. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  81. package/dist/src/commands/local/dev.command.js +10 -5
  82. package/dist/src/commands/local/dev.command.js.map +1 -1
  83. package/dist/src/commands/local/doctor.command.d.ts +7 -4
  84. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  85. package/dist/src/commands/local/doctor.command.js +33 -54
  86. package/dist/src/commands/local/doctor.command.js.map +1 -1
  87. package/dist/src/commands/local/smoke.command.d.ts +18 -0
  88. package/dist/src/commands/local/smoke.command.d.ts.map +1 -0
  89. package/dist/src/commands/local/smoke.command.js +59 -0
  90. package/dist/src/commands/local/smoke.command.js.map +1 -0
  91. package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
  92. package/dist/src/commands/local-defaults/capture.command.js +3 -2
  93. package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
  94. package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
  95. package/dist/src/commands/prefs/set.command.js +6 -1
  96. package/dist/src/commands/prefs/set.command.js.map +1 -1
  97. package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
  98. package/dist/src/commands/secrets/set.command.js +17 -4
  99. package/dist/src/commands/secrets/set.command.js.map +1 -1
  100. package/dist/src/commands/setup.command.d.ts.map +1 -1
  101. package/dist/src/commands/setup.command.js +5 -4
  102. package/dist/src/commands/setup.command.js.map +1 -1
  103. package/dist/src/commands/update.command.d.ts.map +1 -1
  104. package/dist/src/commands/update.command.js +65 -12
  105. package/dist/src/commands/update.command.js.map +1 -1
  106. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  107. package/dist/src/commands/website/audit.command.js +4 -0
  108. package/dist/src/commands/website/audit.command.js.map +1 -1
  109. package/dist/src/commands/workbench/open.command.js +1 -1
  110. package/dist/src/commands/workbench/open.command.js.map +1 -1
  111. package/dist/src/commands/workbench/status.command.js +1 -1
  112. package/dist/src/commands/workbench/status.command.js.map +1 -1
  113. package/dist/src/kernel/bootstrap.js +3 -2
  114. package/dist/src/kernel/bootstrap.js.map +1 -1
  115. package/dist/src/kernel/command-index-cache.d.ts +29 -0
  116. package/dist/src/kernel/command-index-cache.d.ts.map +1 -0
  117. package/dist/src/kernel/command-index-cache.js +89 -0
  118. package/dist/src/kernel/command-index-cache.js.map +1 -0
  119. package/dist/src/kernel/command-registry.d.ts +28 -0
  120. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  121. package/dist/src/kernel/command-registry.js +89 -18
  122. package/dist/src/kernel/command-registry.js.map +1 -1
  123. package/dist/src/services/application/app-bootstrap.service.d.ts +26 -5
  124. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  125. package/dist/src/services/application/app-bootstrap.service.js +39 -13
  126. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  127. package/dist/src/services/application/application-browser-smoke.service.d.ts +77 -0
  128. package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -0
  129. package/dist/src/services/application/application-browser-smoke.service.js +195 -0
  130. package/dist/src/services/application/application-browser-smoke.service.js.map +1 -0
  131. package/dist/src/services/application/application-creation-readiness.service.d.ts +107 -0
  132. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
  133. package/dist/src/services/application/application-creation-readiness.service.js +278 -18
  134. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  135. package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -3
  136. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  137. package/dist/src/services/application/application-initialization-verification.service.js +8 -3
  138. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
  139. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +2 -0
  140. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  141. package/dist/src/services/application/application-runtime-bootstrap.service.js +26 -0
  142. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  143. package/dist/src/services/application/backend-config.paths.d.ts +8 -0
  144. package/dist/src/services/application/backend-config.paths.d.ts.map +1 -0
  145. package/dist/src/services/application/backend-config.paths.js +9 -0
  146. package/dist/src/services/application/backend-config.paths.js.map +1 -0
  147. package/dist/src/services/application/creation-host-readiness.service.d.ts +61 -0
  148. package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -0
  149. package/dist/src/services/application/creation-host-readiness.service.js +167 -0
  150. package/dist/src/services/application/creation-host-readiness.service.js.map +1 -0
  151. package/dist/src/services/application/creation-preflight.service.d.ts +46 -0
  152. package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -0
  153. package/dist/src/services/application/creation-preflight.service.js +87 -0
  154. package/dist/src/services/application/creation-preflight.service.js.map +1 -0
  155. package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts +79 -0
  156. package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -0
  157. package/dist/src/services/application/degraded-registration-declaration-convergence.service.js +110 -0
  158. package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -0
  159. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  160. package/dist/src/services/application/dev-schema-drift.service.js +2 -1
  161. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  162. package/dist/src/services/application/provider-runtime-sync.service.d.ts +70 -10
  163. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  164. package/dist/src/services/application/provider-runtime-sync.service.js +100 -11
  165. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  166. package/dist/src/services/application/saas-skeleton.service.d.ts +12 -0
  167. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  168. package/dist/src/services/application/saas-skeleton.service.js +27 -2
  169. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  170. package/dist/src/services/application/stored-declaration-currency.service.d.ts +46 -0
  171. package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -0
  172. package/dist/src/services/application/stored-declaration-currency.service.js +76 -0
  173. package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -0
  174. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
  175. package/dist/src/services/application/systems-of-record-library.service.js +3 -1
  176. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
  177. package/dist/src/services/companion/build-console.service.d.ts +53 -3
  178. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  179. package/dist/src/services/companion/build-console.service.js +94 -8
  180. package/dist/src/services/companion/build-console.service.js.map +1 -1
  181. package/dist/src/services/companion/creation-console.service.d.ts +25 -1
  182. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  183. package/dist/src/services/companion/creation-console.service.js +72 -1
  184. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  185. package/dist/src/services/companion/creation-run-report.models.d.ts +97 -0
  186. package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -0
  187. package/dist/src/services/companion/creation-run-report.models.js +1 -0
  188. package/dist/src/services/companion/creation-run-report.models.js.map +1 -0
  189. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +0 -1
  190. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
  191. package/dist/src/services/compliance/generated-compliance-module-wiring.js +1 -1
  192. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  193. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +0 -2
  194. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
  195. package/dist/src/services/compliance/governed-document-releases.generator.js +2 -5
  196. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
  197. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  198. package/dist/src/services/context/context-manager.service.js +3 -0
  199. package/dist/src/services/context/context-manager.service.js.map +1 -1
  200. package/dist/src/services/context/context.schemas.d.ts +8 -3
  201. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  202. package/dist/src/services/context/context.schemas.js.map +1 -1
  203. package/dist/src/services/credentials/application-secrets.service.d.ts +14 -0
  204. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  205. package/dist/src/services/credentials/application-secrets.service.js +76 -7
  206. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  207. package/dist/src/services/credentials/local-defaults.service.d.ts +42 -11
  208. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
  209. package/dist/src/services/credentials/local-defaults.service.js +75 -10
  210. package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
  211. package/dist/src/services/deployment/docker/compose-service-health.d.ts +5 -0
  212. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
  213. package/dist/src/services/deployment/docker/compose-service-health.js +5 -0
  214. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
  215. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +136 -2
  216. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  217. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +360 -32
  218. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  219. package/dist/src/services/deployment/docker/docker.service.d.ts +28 -0
  220. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  221. package/dist/src/services/deployment/docker/docker.service.js +53 -1
  222. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  223. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +16 -0
  224. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  225. package/dist/src/services/deployment/local-precondition-checks.service.js +37 -1
  226. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  227. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +1 -1
  228. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  229. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  230. package/dist/src/services/deployment/platform-lifecycle.service.js +20 -8
  231. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
  232. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  233. package/dist/src/services/environment/environment-setup.service.js +19 -9
  234. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  235. package/dist/src/services/environment/environment.schemas.d.ts +5 -2
  236. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  237. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  238. package/dist/src/services/environment/infrastructure-host.service.js +1 -1
  239. package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
  240. package/dist/src/services/environment/platform-runtime.schemas.d.ts +9 -0
  241. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  242. package/dist/src/services/environment/platform-runtime.schemas.js +11 -0
  243. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  244. package/dist/src/services/framework/application-claude-settings.js +1 -1
  245. package/dist/src/services/framework/application-claude-settings.js.map +1 -1
  246. package/dist/src/services/framework/dev-compile-status.paths.d.ts +9 -0
  247. package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -0
  248. package/dist/src/services/framework/dev-compile-status.paths.js +10 -0
  249. package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -0
  250. package/dist/src/services/framework/framework-development-skills-sync.service.js +1 -1
  251. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  252. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  253. package/dist/src/services/framework/framework-knowledge-audit.service.js +3 -1
  254. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  255. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  256. package/dist/src/services/framework/framework-knowledge-generation.service.js +8 -0
  257. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  258. package/dist/src/services/framework/framework-npm-publish.service.d.ts +20 -5
  259. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  260. package/dist/src/services/framework/framework-npm-publish.service.js +88 -7
  261. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  262. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  263. package/dist/src/services/framework/framework-publish-manifest.service.js +43 -5
  264. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  265. package/dist/src/services/framework/installed-framework-assets.service.d.ts +20 -2
  266. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  267. package/dist/src/services/framework/installed-framework-assets.service.js +24 -1
  268. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
  269. package/dist/src/services/tracker/creation-run-tracker.service.d.ts +46 -0
  270. package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -0
  271. package/dist/src/services/tracker/creation-run-tracker.service.js +66 -0
  272. package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -0
  273. package/dist/src/services/website/website-label-pack-audit.service.d.ts +11 -1
  274. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
  275. package/dist/src/services/website/website-label-pack-audit.service.js +14 -2
  276. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
  277. package/package.json +20 -17
  278. package/scripts/dev-orchestrator/compile-diagnostic-protocol.mjs +189 -0
  279. package/scripts/dev-orchestrator/local-dev-protocol.mjs +683 -0
  280. package/scripts/dev-orchestrator/local-dev-status.mjs +1234 -0
  281. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +8 -0
  282. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +9 -19
  283. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +6 -2
  284. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
  285. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +117 -8
  286. package/templates/saas/scenarios/add-technical-doc/scenario.json +3 -0
  287. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +7 -17
  288. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +9 -2
  289. package/templates/saas/scenarios/add-website/scenario.json +2 -0
  290. package/templates/saas/skeleton/CLAUDE.md.hbs +4 -1
  291. package/templates/saas/skeleton/frontend/tsconfig.json.hbs +6 -3
  292. package/templates/saas/skeleton/frontend/tsconfig.node.json +18 -3
  293. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +247 -0
  294. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +31 -15
  295. package/templates/saas/skeleton/specifications/src/brand/resolved-assets.generated.ts +10 -0
  296. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +20 -6
  297. package/wildo-framework.info.json +1 -1
  298. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +0 -8
  299. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +0 -1
  300. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +0 -54
  301. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +0 -1
  302. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +0 -2
  303. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +0 -1
  304. package/dist/src/commands/__tests__/compose-dependency-preview.test.js +0 -271
  305. package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +0 -1
  306. package/dist/src/commands/__tests__/init-application-repository.test.d.ts +0 -2
  307. package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +0 -1
  308. package/dist/src/commands/__tests__/init-application-repository.test.js +0 -125
  309. package/dist/src/commands/__tests__/init-application-repository.test.js.map +0 -1
  310. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +0 -2
  311. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +0 -1
  312. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +0 -51
  313. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +0 -1
  314. package/dist/src/commands/__tests__/update.command.test.d.ts +0 -2
  315. package/dist/src/commands/__tests__/update.command.test.d.ts.map +0 -1
  316. package/dist/src/commands/__tests__/update.command.test.js +0 -249
  317. package/dist/src/commands/__tests__/update.command.test.js.map +0 -1
  318. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +0 -2
  319. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +0 -1
  320. package/dist/src/commands/acp/__tests__/probe.command.test.js +0 -36
  321. package/dist/src/commands/acp/__tests__/probe.command.test.js.map +0 -1
  322. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +0 -2
  323. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +0 -1
  324. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +0 -259
  325. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +0 -1
  326. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +0 -22
  327. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +0 -1
  328. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +0 -268
  329. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +0 -1
  330. package/dist/src/commands/config/__tests__/sync.command.test.d.ts +0 -2
  331. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +0 -1
  332. package/dist/src/commands/config/__tests__/sync.command.test.js +0 -1591
  333. package/dist/src/commands/config/__tests__/sync.command.test.js.map +0 -1
  334. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +0 -2
  335. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +0 -1
  336. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +0 -134
  337. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +0 -1
  338. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +0 -2
  339. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +0 -1
  340. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +0 -106
  341. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +0 -1
  342. package/dist/src/commands/config/__tests__/validate.command.test.d.ts +0 -14
  343. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +0 -1
  344. package/dist/src/commands/config/__tests__/validate.command.test.js +0 -1076
  345. package/dist/src/commands/config/__tests__/validate.command.test.js.map +0 -1
  346. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +0 -2
  347. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +0 -1
  348. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +0 -63
  349. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +0 -1
  350. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +0 -2
  351. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +0 -1
  352. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +0 -118
  353. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +0 -1
  354. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +0 -2
  355. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +0 -1
  356. package/dist/src/commands/context/__tests__/default-service-key.test.js +0 -103
  357. package/dist/src/commands/context/__tests__/default-service-key.test.js.map +0 -1
  358. package/dist/src/commands/context/__tests__/elements.command.test.d.ts +0 -2
  359. package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +0 -1
  360. package/dist/src/commands/context/__tests__/elements.command.test.js +0 -82
  361. package/dist/src/commands/context/__tests__/elements.command.test.js.map +0 -1
  362. package/dist/src/commands/context/__tests__/info.command.test.d.ts +0 -2
  363. package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +0 -1
  364. package/dist/src/commands/context/__tests__/info.command.test.js +0 -321
  365. package/dist/src/commands/context/__tests__/info.command.test.js.map +0 -1
  366. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +0 -2
  367. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +0 -1
  368. package/dist/src/commands/context/__tests__/journey-application-line.test.js +0 -71
  369. package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +0 -1
  370. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +0 -2
  371. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +0 -1
  372. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +0 -27
  373. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +0 -1
  374. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +0 -19
  375. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +0 -1
  376. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +0 -106
  377. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +0 -1
  378. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +0 -2
  379. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +0 -1
  380. package/dist/src/commands/context/__tests__/pipelines.command.test.js +0 -136
  381. package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +0 -1
  382. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +0 -2
  383. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +0 -1
  384. package/dist/src/commands/context/__tests__/workspace.command.test.js +0 -78
  385. package/dist/src/commands/context/__tests__/workspace.command.test.js.map +0 -1
  386. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +0 -2
  387. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +0 -1
  388. package/dist/src/commands/creation/__tests__/creation.commands.test.js +0 -294
  389. package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +0 -1
  390. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +0 -2
  391. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +0 -1
  392. package/dist/src/commands/creation/__tests__/revert.command.test.js +0 -62
  393. package/dist/src/commands/creation/__tests__/revert.command.test.js.map +0 -1
  394. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +0 -2
  395. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +0 -1
  396. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +0 -99
  397. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +0 -1
  398. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +0 -2
  399. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +0 -1
  400. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +0 -68
  401. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +0 -1
  402. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +0 -2
  403. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +0 -1
  404. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +0 -202
  405. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +0 -1
  406. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +0 -2
  407. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +0 -1
  408. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +0 -69
  409. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +0 -1
  410. package/dist/src/commands/dev/__tests__/start.command.test.d.ts +0 -2
  411. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +0 -1
  412. package/dist/src/commands/dev/__tests__/start.command.test.js +0 -475
  413. package/dist/src/commands/dev/__tests__/start.command.test.js.map +0 -1
  414. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +0 -2
  415. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +0 -1
  416. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +0 -132
  417. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +0 -1
  418. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +0 -2
  419. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +0 -1
  420. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +0 -88
  421. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +0 -1
  422. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +0 -2
  423. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +0 -1
  424. package/dist/src/commands/dev/__tests__/stop.command.test.js +0 -72
  425. package/dist/src/commands/dev/__tests__/stop.command.test.js.map +0 -1
  426. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +0 -2
  427. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +0 -1
  428. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +0 -198
  429. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +0 -1
  430. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +0 -2
  431. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +0 -1
  432. package/dist/src/commands/docs/__tests__/publish.command.test.js +0 -124
  433. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +0 -1
  434. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +0 -2
  435. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +0 -1
  436. package/dist/src/commands/frontend/__tests__/publish.command.test.js +0 -70
  437. package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +0 -1
  438. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +0 -2
  439. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +0 -1
  440. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +0 -79
  441. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +0 -1
  442. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +0 -2
  443. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +0 -1
  444. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +0 -119
  445. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +0 -1
  446. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +0 -2
  447. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +0 -1
  448. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +0 -308
  449. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +0 -1
  450. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +0 -2
  451. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +0 -1
  452. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -96
  453. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +0 -1
  454. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +0 -2
  455. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +0 -1
  456. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +0 -46
  457. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +0 -1
  458. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +0 -2
  459. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +0 -1
  460. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +0 -33
  461. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +0 -1
  462. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +0 -2
  463. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +0 -1
  464. package/dist/src/commands/local/__tests__/dev-status.command.test.js +0 -58
  465. package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +0 -1
  466. package/dist/src/commands/local/__tests__/dev.command.test.d.ts +0 -2
  467. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +0 -1
  468. package/dist/src/commands/local/__tests__/dev.command.test.js +0 -467
  469. package/dist/src/commands/local/__tests__/dev.command.test.js.map +0 -1
  470. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +0 -2
  471. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +0 -1
  472. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +0 -164
  473. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +0 -1
  474. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +0 -2
  475. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +0 -1
  476. package/dist/src/commands/local/__tests__/doctor.command.test.js +0 -285
  477. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +0 -1
  478. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +0 -2
  479. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +0 -1
  480. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +0 -111
  481. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +0 -1
  482. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +0 -2
  483. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +0 -1
  484. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +0 -136
  485. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +0 -1
  486. package/dist/src/commands/local/__tests__/init.command.test.d.ts +0 -2
  487. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +0 -1
  488. package/dist/src/commands/local/__tests__/init.command.test.js +0 -110
  489. package/dist/src/commands/local/__tests__/init.command.test.js.map +0 -1
  490. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +0 -2
  491. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +0 -1
  492. package/dist/src/commands/local/__tests__/reinit.command.test.js +0 -186
  493. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +0 -1
  494. package/dist/src/commands/local/__tests__/reset.command.test.d.ts +0 -2
  495. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +0 -1
  496. package/dist/src/commands/local/__tests__/reset.command.test.js +0 -308
  497. package/dist/src/commands/local/__tests__/reset.command.test.js.map +0 -1
  498. package/dist/src/commands/local/__tests__/up.command.test.d.ts +0 -2
  499. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +0 -1
  500. package/dist/src/commands/local/__tests__/up.command.test.js +0 -225
  501. package/dist/src/commands/local/__tests__/up.command.test.js.map +0 -1
  502. package/dist/src/commands/lock/__tests__/check.command.test.d.ts +0 -11
  503. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +0 -1
  504. package/dist/src/commands/lock/__tests__/check.command.test.js +0 -140
  505. package/dist/src/commands/lock/__tests__/check.command.test.js.map +0 -1
  506. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +0 -35
  507. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +0 -1
  508. package/dist/src/commands/lock/__tests__/check.live.contract.test.js +0 -122
  509. package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +0 -1
  510. package/dist/src/commands/market/__tests__/generate.command.test.d.ts +0 -2
  511. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +0 -1
  512. package/dist/src/commands/market/__tests__/generate.command.test.js +0 -217
  513. package/dist/src/commands/market/__tests__/generate.command.test.js.map +0 -1
  514. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +0 -2
  515. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +0 -1
  516. package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -148
  517. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +0 -1
  518. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +0 -2
  519. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +0 -1
  520. package/dist/src/commands/providers/__tests__/required-inputs.test.js +0 -35
  521. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +0 -1
  522. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +0 -10
  523. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +0 -1
  524. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +0 -232
  525. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +0 -1
  526. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +0 -11
  527. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +0 -1
  528. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +0 -450
  529. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +0 -1
  530. package/dist/src/commands/registry/__tests__/publish.test.d.ts +0 -2
  531. package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +0 -1
  532. package/dist/src/commands/registry/__tests__/publish.test.js +0 -196
  533. package/dist/src/commands/registry/__tests__/publish.test.js.map +0 -1
  534. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +0 -2
  535. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +0 -1
  536. package/dist/src/commands/registry/__tests__/repair-contract.test.js +0 -168
  537. package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +0 -1
  538. package/dist/src/commands/registry/__tests__/requirements.test.d.ts +0 -2
  539. package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +0 -1
  540. package/dist/src/commands/registry/__tests__/requirements.test.js +0 -500
  541. package/dist/src/commands/registry/__tests__/requirements.test.js.map +0 -1
  542. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +0 -2
  543. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +0 -1
  544. package/dist/src/commands/registry/__tests__/version-resolution.test.js +0 -87
  545. package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +0 -1
  546. package/dist/src/commands/registry/__tests__/yank.test.d.ts +0 -9
  547. package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +0 -1
  548. package/dist/src/commands/registry/__tests__/yank.test.js +0 -92
  549. package/dist/src/commands/registry/__tests__/yank.test.js.map +0 -1
  550. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +0 -2
  551. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +0 -1
  552. package/dist/src/commands/remote/__tests__/remote-commands.test.js +0 -100
  553. package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +0 -1
  554. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +0 -2
  555. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +0 -1
  556. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +0 -61
  557. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +0 -1
  558. package/dist/src/commands/website/__tests__/audit.command.test.d.ts +0 -2
  559. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +0 -1
  560. package/dist/src/commands/website/__tests__/audit.command.test.js +0 -163
  561. package/dist/src/commands/website/__tests__/audit.command.test.js.map +0 -1
  562. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +0 -2
  563. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +0 -1
  564. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +0 -51
  565. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +0 -1
  566. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +0 -2
  567. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +0 -1
  568. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +0 -59
  569. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +0 -1
  570. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +0 -2
  571. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +0 -1
  572. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +0 -138
  573. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +0 -1
  574. package/dist/src/kernel/__tests__/bootstrap.test.d.ts +0 -2
  575. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +0 -1
  576. package/dist/src/kernel/__tests__/bootstrap.test.js +0 -88
  577. package/dist/src/kernel/__tests__/bootstrap.test.js.map +0 -1
  578. package/dist/src/kernel/__tests__/command-registry.test.d.ts +0 -2
  579. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +0 -1
  580. package/dist/src/kernel/__tests__/command-registry.test.js +0 -197
  581. package/dist/src/kernel/__tests__/command-registry.test.js.map +0 -1
  582. package/dist/src/kernel/__tests__/command-runner.test.d.ts +0 -2
  583. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +0 -1
  584. package/dist/src/kernel/__tests__/command-runner.test.js +0 -285
  585. package/dist/src/kernel/__tests__/command-runner.test.js.map +0 -1
  586. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +0 -2
  587. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +0 -1
  588. package/dist/src/kernel/__tests__/command-scope-utils.test.js +0 -46
  589. package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +0 -1
  590. package/dist/src/kernel/__tests__/flag-utils.test.d.ts +0 -2
  591. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +0 -1
  592. package/dist/src/kernel/__tests__/flag-utils.test.js +0 -38
  593. package/dist/src/kernel/__tests__/flag-utils.test.js.map +0 -1
  594. package/dist/src/kernel/__tests__/hooks.test.d.ts +0 -2
  595. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +0 -1
  596. package/dist/src/kernel/__tests__/hooks.test.js +0 -72
  597. package/dist/src/kernel/__tests__/hooks.test.js.map +0 -1
  598. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +0 -2
  599. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +0 -1
  600. package/dist/src/kernel/__tests__/machine-preference-answers.test.js +0 -118
  601. package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +0 -1
  602. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +0 -2
  603. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +0 -1
  604. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +0 -88
  605. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +0 -1
  606. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +0 -2
  607. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +0 -1
  608. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +0 -154
  609. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +0 -1
  610. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +0 -2
  611. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +0 -1
  612. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +0 -89
  613. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +0 -1
  614. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +0 -2
  615. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +0 -1
  616. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +0 -112
  617. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +0 -1
  618. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +0 -2
  619. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +0 -1
  620. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +0 -91
  621. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +0 -1
  622. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +0 -2
  623. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +0 -1
  624. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +0 -140
  625. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +0 -1
  626. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +0 -2
  627. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +0 -1
  628. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +0 -220
  629. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +0 -1
  630. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +0 -2
  631. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +0 -1
  632. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +0 -114
  633. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +0 -1
  634. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +0 -2
  635. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +0 -1
  636. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +0 -884
  637. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +0 -1
  638. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +0 -2
  639. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +0 -1
  640. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +0 -254
  641. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +0 -1
  642. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +0 -2
  643. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +0 -1
  644. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +0 -263
  645. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +0 -1
  646. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +0 -2
  647. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +0 -1
  648. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +0 -51
  649. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +0 -1
  650. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +0 -2
  651. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +0 -1
  652. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +0 -160
  653. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +0 -1
  654. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +0 -2
  655. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +0 -1
  656. package/dist/src/services/application/__tests__/application-creation-readiness.test.js +0 -152
  657. package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +0 -1
  658. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +0 -2
  659. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +0 -1
  660. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +0 -233
  661. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +0 -1
  662. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +0 -2
  663. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +0 -1
  664. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +0 -29
  665. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +0 -1
  666. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +0 -2
  667. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +0 -1
  668. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +0 -159
  669. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +0 -1
  670. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +0 -2
  671. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +0 -1
  672. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +0 -143
  673. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +0 -1
  674. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +0 -2
  675. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +0 -1
  676. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +0 -41
  677. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +0 -1
  678. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +0 -2
  679. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +0 -1
  680. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +0 -65
  681. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +0 -1
  682. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +0 -2
  683. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +0 -1
  684. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +0 -46
  685. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +0 -1
  686. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +0 -10
  687. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +0 -1
  688. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +0 -156
  689. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +0 -1
  690. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +0 -2
  691. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +0 -1
  692. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +0 -60
  693. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +0 -1
  694. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +0 -2
  695. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +0 -1
  696. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -298
  697. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +0 -1
  698. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +0 -2
  699. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +0 -1
  700. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +0 -118
  701. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +0 -1
  702. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +0 -2
  703. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +0 -1
  704. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +0 -175
  705. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +0 -1
  706. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +0 -2
  707. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +0 -1
  708. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +0 -31
  709. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +0 -1
  710. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +0 -2
  711. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +0 -1
  712. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +0 -82
  713. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +0 -1
  714. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +0 -2
  715. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +0 -1
  716. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +0 -383
  717. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +0 -1
  718. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +0 -2
  719. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +0 -1
  720. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +0 -98
  721. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +0 -1
  722. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +0 -2
  723. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +0 -1
  724. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +0 -138
  725. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +0 -1
  726. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +0 -2
  727. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +0 -1
  728. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +0 -129
  729. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +0 -1
  730. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +0 -2
  731. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +0 -1
  732. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +0 -76
  733. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +0 -1
  734. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +0 -2
  735. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +0 -1
  736. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +0 -284
  737. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +0 -1
  738. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +0 -2
  739. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +0 -1
  740. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +0 -40
  741. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +0 -1
  742. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +0 -2
  743. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +0 -1
  744. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +0 -946
  745. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +0 -1
  746. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +0 -19
  747. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +0 -1
  748. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -188
  749. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +0 -1
  750. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +0 -2
  751. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +0 -1
  752. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +0 -29
  753. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +0 -1
  754. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +0 -2
  755. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +0 -1
  756. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +0 -860
  757. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +0 -1
  758. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +0 -2
  759. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +0 -1
  760. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +0 -180
  761. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +0 -1
  762. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +0 -2
  763. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +0 -1
  764. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +0 -79
  765. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +0 -1
  766. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +0 -2
  767. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +0 -1
  768. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +0 -93
  769. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +0 -1
  770. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +0 -2
  771. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +0 -1
  772. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +0 -89
  773. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +0 -1
  774. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +0 -2
  775. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +0 -1
  776. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +0 -172
  777. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +0 -1
  778. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +0 -2
  779. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +0 -1
  780. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +0 -152
  781. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +0 -1
  782. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +0 -2
  783. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +0 -1
  784. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +0 -123
  785. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +0 -1
  786. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +0 -10
  787. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +0 -1
  788. package/dist/src/services/companion/__tests__/companion-client.service.test.js +0 -241
  789. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +0 -1
  790. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +0 -2
  791. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +0 -1
  792. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +0 -25
  793. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +0 -1
  794. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +0 -2
  795. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +0 -1
  796. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +0 -74
  797. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +0 -1
  798. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +0 -2
  799. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +0 -1
  800. package/dist/src/services/companion/__tests__/console-fast-path.test.js +0 -138
  801. package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +0 -1
  802. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +0 -2
  803. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +0 -1
  804. package/dist/src/services/companion/__tests__/creation-watch.test.js +0 -86
  805. package/dist/src/services/companion/__tests__/creation-watch.test.js.map +0 -1
  806. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +0 -2
  807. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +0 -1
  808. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +0 -14
  809. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +0 -1
  810. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +0 -2
  811. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +0 -1
  812. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +0 -51
  813. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +0 -1
  814. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +0 -2
  815. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +0 -1
  816. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +0 -71
  817. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +0 -1
  818. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +0 -2
  819. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +0 -1
  820. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +0 -85
  821. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +0 -1
  822. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +0 -2
  823. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +0 -1
  824. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +0 -289
  825. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +0 -1
  826. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +0 -2
  827. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +0 -1
  828. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +0 -78
  829. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +0 -1
  830. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +0 -2
  831. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +0 -1
  832. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +0 -67
  833. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +0 -1
  834. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +0 -2
  835. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +0 -1
  836. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +0 -109
  837. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +0 -1
  838. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +0 -2
  839. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +0 -1
  840. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +0 -54
  841. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +0 -1
  842. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +0 -2
  843. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +0 -1
  844. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +0 -56
  845. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +0 -1
  846. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +0 -2
  847. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +0 -1
  848. package/dist/src/services/context/__tests__/context-manager.service.test.js +0 -119
  849. package/dist/src/services/context/__tests__/context-manager.service.test.js.map +0 -1
  850. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +0 -2
  851. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +0 -1
  852. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +0 -138
  853. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +0 -1
  854. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +0 -2
  855. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +0 -1
  856. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +0 -201
  857. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +0 -1
  858. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +0 -28
  859. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +0 -1
  860. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +0 -239
  861. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +0 -1
  862. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +0 -2
  863. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +0 -1
  864. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +0 -328
  865. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +0 -1
  866. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +0 -2
  867. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +0 -1
  868. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +0 -52
  869. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +0 -1
  870. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +0 -2
  871. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +0 -1
  872. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +0 -89
  873. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +0 -1
  874. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +0 -14
  875. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +0 -1
  876. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +0 -284
  877. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +0 -1
  878. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +0 -2
  879. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +0 -1
  880. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +0 -56
  881. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +0 -1
  882. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +0 -2
  883. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +0 -1
  884. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +0 -95
  885. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +0 -1
  886. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +0 -2
  887. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +0 -1
  888. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +0 -113
  889. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +0 -1
  890. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +0 -2
  891. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +0 -1
  892. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +0 -271
  893. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +0 -1
  894. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +0 -2
  895. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +0 -1
  896. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +0 -277
  897. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +0 -1
  898. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +0 -2
  899. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +0 -1
  900. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +0 -54
  901. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +0 -1
  902. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +0 -2
  903. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +0 -1
  904. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +0 -61
  905. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +0 -1
  906. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +0 -2
  907. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +0 -1
  908. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +0 -64
  909. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +0 -1
  910. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +0 -2
  911. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +0 -1
  912. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +0 -90
  913. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +0 -1
  914. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +0 -2
  915. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +0 -1
  916. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +0 -369
  917. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +0 -1
  918. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +0 -2
  919. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +0 -1
  920. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +0 -51
  921. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +0 -1
  922. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +0 -2
  923. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +0 -1
  924. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +0 -148
  925. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +0 -1
  926. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +0 -2
  927. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +0 -1
  928. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +0 -47
  929. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +0 -1
  930. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +0 -2
  931. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +0 -1
  932. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +0 -799
  933. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +0 -1
  934. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +0 -20
  935. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +0 -1
  936. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +0 -348
  937. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +0 -1
  938. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +0 -2
  939. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +0 -1
  940. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +0 -83
  941. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +0 -1
  942. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +0 -2
  943. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +0 -1
  944. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +0 -211
  945. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +0 -1
  946. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +0 -2
  947. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +0 -1
  948. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +0 -68
  949. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +0 -1
  950. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +0 -2
  951. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +0 -1
  952. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +0 -97
  953. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +0 -1
  954. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +0 -2
  955. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +0 -1
  956. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +0 -258
  957. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +0 -1
  958. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +0 -2
  959. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +0 -1
  960. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +0 -336
  961. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +0 -1
  962. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +0 -2
  963. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +0 -1
  964. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +0 -100
  965. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +0 -1
  966. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +0 -2
  967. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +0 -1
  968. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +0 -79
  969. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +0 -1
  970. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +0 -11
  971. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +0 -1
  972. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +0 -494
  973. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +0 -1
  974. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +0 -2
  975. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +0 -1
  976. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +0 -229
  977. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +0 -1
  978. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +0 -2
  979. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +0 -1
  980. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +0 -145
  981. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +0 -1
  982. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +0 -2
  983. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +0 -1
  984. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +0 -100
  985. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +0 -1
  986. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +0 -2
  987. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +0 -1
  988. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +0 -245
  989. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +0 -1
  990. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +0 -2
  991. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +0 -1
  992. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +0 -27
  993. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +0 -1
  994. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +0 -2
  995. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +0 -1
  996. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +0 -88
  997. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +0 -1
  998. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +0 -2
  999. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +0 -1
  1000. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +0 -339
  1001. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +0 -1
  1002. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +0 -2
  1003. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +0 -1
  1004. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +0 -45
  1005. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +0 -1
  1006. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +0 -2
  1007. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +0 -1
  1008. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +0 -81
  1009. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +0 -1
  1010. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +0 -2
  1011. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +0 -1
  1012. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +0 -151
  1013. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +0 -1
  1014. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +0 -2
  1015. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +0 -1
  1016. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +0 -1183
  1017. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +0 -1
  1018. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +0 -2
  1019. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +0 -1
  1020. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +0 -156
  1021. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +0 -1
  1022. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +0 -2
  1023. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +0 -1
  1024. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +0 -199
  1025. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +0 -1
  1026. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +0 -2
  1027. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +0 -1
  1028. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +0 -81
  1029. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +0 -1
  1030. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +0 -2
  1031. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +0 -1
  1032. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +0 -62
  1033. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +0 -1
  1034. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +0 -2
  1035. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +0 -1
  1036. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +0 -265
  1037. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +0 -1
  1038. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +0 -2
  1039. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +0 -1
  1040. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +0 -77
  1041. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +0 -1
  1042. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +0 -2
  1043. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +0 -1
  1044. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +0 -1087
  1045. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +0 -1
  1046. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +0 -2
  1047. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +0 -1
  1048. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +0 -39
  1049. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +0 -1
  1050. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +0 -2
  1051. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +0 -1
  1052. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +0 -235
  1053. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +0 -1
  1054. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +0 -2
  1055. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +0 -1
  1056. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +0 -71
  1057. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +0 -1
  1058. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +0 -2
  1059. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +0 -1
  1060. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +0 -307
  1061. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +0 -1
  1062. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +0 -2
  1063. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +0 -1
  1064. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +0 -47
  1065. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +0 -1
  1066. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +0 -2
  1067. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +0 -1
  1068. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +0 -22
  1069. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +0 -1
  1070. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +0 -2
  1071. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +0 -1
  1072. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +0 -52
  1073. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +0 -1
  1074. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +0 -2
  1075. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +0 -1
  1076. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +0 -112
  1077. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +0 -1
  1078. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +0 -2
  1079. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +0 -1
  1080. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +0 -105
  1081. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +0 -1
  1082. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +0 -2
  1083. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +0 -1
  1084. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +0 -86
  1085. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +0 -1
  1086. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +0 -2
  1087. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +0 -1
  1088. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +0 -571
  1089. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +0 -1
  1090. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +0 -2
  1091. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +0 -1
  1092. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +0 -80
  1093. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +0 -1
  1094. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +0 -2
  1095. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +0 -1
  1096. package/dist/src/services/environment/__tests__/env-sync.service.test.js +0 -195
  1097. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +0 -1
  1098. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +0 -2
  1099. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +0 -1
  1100. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +0 -1896
  1101. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +0 -1
  1102. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +0 -22
  1103. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +0 -1
  1104. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +0 -110
  1105. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +0 -1
  1106. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +0 -2
  1107. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +0 -1
  1108. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +0 -82
  1109. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +0 -1
  1110. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +0 -2
  1111. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +0 -1
  1112. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +0 -116
  1113. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +0 -1
  1114. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +0 -2
  1115. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +0 -1
  1116. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +0 -128
  1117. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +0 -1
  1118. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +0 -2
  1119. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +0 -1
  1120. package/dist/src/services/environment/__tests__/environment-paths.service.test.js +0 -18
  1121. package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +0 -1
  1122. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +0 -2
  1123. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +0 -1
  1124. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +0 -220
  1125. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +0 -1
  1126. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +0 -2
  1127. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +0 -1
  1128. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +0 -175
  1129. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +0 -1
  1130. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +0 -2
  1131. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +0 -1
  1132. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +0 -321
  1133. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +0 -1
  1134. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +0 -2
  1135. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +0 -1
  1136. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +0 -83
  1137. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +0 -1
  1138. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +0 -2
  1139. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +0 -1
  1140. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +0 -162
  1141. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +0 -1
  1142. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +0 -2
  1143. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +0 -1
  1144. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +0 -96
  1145. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +0 -1
  1146. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +0 -2
  1147. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +0 -1
  1148. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +0 -109
  1149. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +0 -1
  1150. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +0 -2
  1151. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +0 -1
  1152. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +0 -48
  1153. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +0 -1
  1154. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +0 -2
  1155. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +0 -1
  1156. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +0 -96
  1157. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +0 -1
  1158. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +0 -2
  1159. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +0 -1
  1160. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +0 -150
  1161. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +0 -1
  1162. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +0 -2
  1163. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +0 -1
  1164. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +0 -79
  1165. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +0 -1
  1166. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +0 -2
  1167. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +0 -1
  1168. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +0 -108
  1169. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +0 -1
  1170. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +0 -2
  1171. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +0 -1
  1172. package/dist/src/services/framework/__tests__/application-claude-settings.test.js +0 -174
  1173. package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +0 -1
  1174. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +0 -2
  1175. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +0 -1
  1176. package/dist/src/services/framework/__tests__/application-rule-imports.test.js +0 -58
  1177. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +0 -1
  1178. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +0 -2
  1179. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +0 -1
  1180. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +0 -152
  1181. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +0 -1
  1182. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +0 -2
  1183. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +0 -1
  1184. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +0 -81
  1185. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +0 -1
  1186. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +0 -2
  1187. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +0 -1
  1188. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +0 -66
  1189. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +0 -1
  1190. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +0 -2
  1191. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +0 -1
  1192. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +0 -58
  1193. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +0 -1
  1194. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +0 -14
  1195. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +0 -1
  1196. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +0 -65
  1197. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +0 -1
  1198. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +0 -2
  1199. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +0 -1
  1200. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +0 -41
  1201. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +0 -1
  1202. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +0 -2
  1203. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +0 -1
  1204. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +0 -38
  1205. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +0 -1
  1206. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +0 -2
  1207. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +0 -1
  1208. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +0 -181
  1209. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +0 -1
  1210. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +0 -2
  1211. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +0 -1
  1212. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +0 -415
  1213. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +0 -1
  1214. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +0 -2
  1215. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +0 -1
  1216. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +0 -100
  1217. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +0 -1
  1218. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +0 -2
  1219. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +0 -1
  1220. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +0 -270
  1221. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +0 -1
  1222. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +0 -2
  1223. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +0 -1
  1224. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +0 -1731
  1225. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +0 -1
  1226. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +0 -2
  1227. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +0 -1
  1228. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +0 -1211
  1229. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +0 -1
  1230. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +0 -2
  1231. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +0 -1
  1232. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +0 -783
  1233. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +0 -1
  1234. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +0 -2
  1235. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +0 -1
  1236. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +0 -545
  1237. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +0 -1
  1238. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +0 -2
  1239. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +0 -1
  1240. package/dist/src/services/framework/__tests__/framework-release.service.test.js +0 -96
  1241. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +0 -1
  1242. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +0 -2
  1243. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +0 -1
  1244. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +0 -64
  1245. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +0 -1
  1246. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +0 -2
  1247. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +0 -1
  1248. package/dist/src/services/framework/__tests__/framework-update.service.test.js +0 -348
  1249. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +0 -1
  1250. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +0 -2
  1251. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +0 -1
  1252. package/dist/src/services/framework/__tests__/framework-version.service.test.js +0 -105
  1253. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +0 -1
  1254. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +0 -2
  1255. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +0 -1
  1256. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +0 -200
  1257. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +0 -1
  1258. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +0 -2
  1259. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +0 -1
  1260. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +0 -60
  1261. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +0 -1
  1262. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +0 -2
  1263. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +0 -1
  1264. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +0 -20
  1265. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +0 -1
  1266. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +0 -2
  1267. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +0 -1
  1268. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +0 -28
  1269. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +0 -1
  1270. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +0 -2
  1271. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +0 -1
  1272. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +0 -60
  1273. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +0 -1
  1274. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +0 -2
  1275. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +0 -1
  1276. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +0 -57
  1277. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +0 -1
  1278. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +0 -2
  1279. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +0 -1
  1280. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +0 -100
  1281. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +0 -1
  1282. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +0 -2
  1283. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +0 -1
  1284. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +0 -92
  1285. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +0 -1
  1286. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +0 -2
  1287. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +0 -1
  1288. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +0 -95
  1289. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +0 -1
  1290. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +0 -2
  1291. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +0 -1
  1292. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +0 -255
  1293. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +0 -1
  1294. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +0 -2
  1295. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +0 -1
  1296. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +0 -83
  1297. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +0 -1
  1298. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +0 -2
  1299. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +0 -1
  1300. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +0 -114
  1301. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +0 -1
  1302. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +0 -2
  1303. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +0 -1
  1304. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +0 -905
  1305. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +0 -1
  1306. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +0 -2
  1307. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +0 -1
  1308. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +0 -228
  1309. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +0 -1
  1310. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +0 -2
  1311. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +0 -1
  1312. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +0 -310
  1313. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +0 -1
  1314. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +0 -2
  1315. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +0 -1
  1316. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +0 -351
  1317. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +0 -1
  1318. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +0 -2
  1319. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +0 -1
  1320. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +0 -363
  1321. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +0 -1
  1322. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +0 -2
  1323. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +0 -1
  1324. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +0 -226
  1325. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +0 -1
  1326. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +0 -2
  1327. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +0 -1
  1328. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +0 -399
  1329. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +0 -1
  1330. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +0 -2
  1331. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +0 -1
  1332. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +0 -177
  1333. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +0 -1
  1334. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +0 -2
  1335. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +0 -1
  1336. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +0 -48
  1337. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +0 -1
  1338. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +0 -2
  1339. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +0 -1
  1340. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +0 -818
  1341. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +0 -1
  1342. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +0 -9
  1343. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +0 -1
  1344. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +0 -77
  1345. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +0 -1
  1346. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +0 -2
  1347. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +0 -1
  1348. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +0 -221
  1349. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +0 -1
  1350. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +0 -2
  1351. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +0 -1
  1352. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +0 -144
  1353. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +0 -1
  1354. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +0 -2
  1355. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +0 -1
  1356. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +0 -70
  1357. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +0 -1
  1358. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +0 -2
  1359. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +0 -1
  1360. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +0 -52
  1361. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +0 -1
  1362. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +0 -2
  1363. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +0 -1
  1364. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +0 -135
  1365. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +0 -1
  1366. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +0 -2
  1367. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +0 -1
  1368. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +0 -85
  1369. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +0 -1
  1370. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +0 -2
  1371. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +0 -1
  1372. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +0 -159
  1373. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +0 -1
  1374. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +0 -8
  1375. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +0 -1
  1376. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +0 -148
  1377. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +0 -1
  1378. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +0 -2
  1379. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +0 -1
  1380. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +0 -50
  1381. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +0 -1
  1382. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +0 -2
  1383. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +0 -1
  1384. package/dist/src/services/registry/__tests__/module-registration.service.test.js +0 -302
  1385. package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +0 -1
  1386. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +0 -2
  1387. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +0 -1
  1388. package/dist/src/services/registry/__tests__/module-requirements.service.test.js +0 -138
  1389. package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +0 -1
  1390. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +0 -2
  1391. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +0 -1
  1392. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +0 -68
  1393. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +0 -1
  1394. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +0 -2
  1395. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +0 -1
  1396. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +0 -91
  1397. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +0 -1
  1398. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +0 -2
  1399. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +0 -1
  1400. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +0 -67
  1401. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +0 -1
  1402. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +0 -67
  1403. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +0 -1
  1404. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +0 -229
  1405. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +0 -1
  1406. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +0 -2
  1407. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +0 -1
  1408. package/dist/src/services/security/__tests__/csp-boundary.test.js +0 -103
  1409. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +0 -1
  1410. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +0 -2
  1411. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +0 -1
  1412. package/dist/src/services/security/__tests__/csp-sync.service.test.js +0 -617
  1413. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +0 -1
  1414. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +0 -2
  1415. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +0 -1
  1416. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +0 -117
  1417. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +0 -1
  1418. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +0 -21
  1419. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +0 -1
  1420. package/dist/src/test-utils/certificate-fixtures.test.utils.js +0 -57
  1421. package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +0 -1
  1422. package/dist/src/test-utils/resolved-homes.test.utils.d.ts +0 -4
  1423. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +0 -1
  1424. package/dist/src/test-utils/resolved-homes.test.utils.js +0 -18
  1425. package/dist/src/test-utils/resolved-homes.test.utils.js.map +0 -1
  1426. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"framework-knowledge-audit.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-knowledge-audit.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,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C,CAAC,IAAI,EAAkB,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC;IAChE,CAAC;CACF","sourcesContent":["import { createHash } from 'node:crypto';\nimport { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { basename, dirname, join, relative } from 'node:path';\nimport { globSync } from 'glob';\nimport ts from 'typescript';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { FrameworkKnowledgePlaybookSourceFormat } from '@wildo-ai/framework-knowledge';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { FrameworkKnowledgeApplicationGuidanceValidator } from '~wildo-cli/services/framework/framework-knowledge-application-guidance.validator';\nimport { FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS } from '~wildo-cli/services/framework/framework-knowledge-scan.constants';\n\nconst REGISTRY_RELATIVE_PATH = 'platform/factory/framework-knowledge/src/framework-knowledge.definitions.ts';\nconst REGISTRY_OPEN_LITERAL = 'FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS = [';\nconst REGISTRY_CLOSE_LITERAL = '] as const';\nconst SKILL_DIRECTORY_NAME = 'skills';\nconst SCAN_GLOB_EXTENSIONS = '{ts,tsx,js,jsx,md}';\n// We pass `dot: true` to globSync so dot-prefixed application\n// folders (e.g. an app's `.wildo-saas/` operational workspace) are\n// traversed for `@wildo_source` anchors. That is a deliberate\n// convention — anchors may live under dot-directories (the companion's\n// SOURCE anchors did until its 2026-08-26 extraction to\n// `platform/factory/wildo-dev-companion`, issue #64), and the\n// framework-knowledge audit must still see those anchors. The\n// downside of `dot: true` is that generated dot-directories become visible.\n// FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS defines that boundary once for both\n// generation and audit while intentionally preserving `.wildo-saas/`.\nconst REFERENCE_PLACEHOLDER_REGEX = /\\{\\{REFERENCE:([^}]+)\\}\\}/gu;\nconst PLAYBOOK_JSON_FILE_NAME = 'playbook.json';\nconst PLAYBOOK_DEFINITION_FILE_NAME = 'playbook.definition.ts';\nconst PLAYBOOK_METHOD_FILE_NAME = 'method.md';\n/**\n * P-33 vocabulary for `outputs[].schemaRef`:\n * `<package-short>:<ExportName>` with the package-short pinned to the two\n * schema-owning packages. This is a FORMAT check only — resolving the\n * export would require importing built engine packages, which breaks the\n * audit's buildless convention (deep export-resolution is deliberately\n * deferred; do NOT build a runtime import-prober here).\n *\n * The two package names restate `PlaybookSchemaRefPackage` (`@wildo-ai/application-creation-runtime`), the enum\n * the runtime resolves by. They are copied rather than imported for the buildless reason above, and a drift fails\n * in the SAFE direction — a prefix the enum gains and this pattern lacks is refused here, loudly. RESOLUTION is\n * not this audit's job and it never did it: the companion's catalogue sweep\n * (`playbook-step-schema-namespaces.models.test.ts`) proves every declared step contract resolves, after both\n * adequacy gates shipped a contract declared under the wrong package (2026-09-21, #1273).\n */\nconst PLAYBOOK_SCHEMA_REF_REGEX = /^(saas-models|saas-specifications):[A-Za-z0-9_]+$/u;\n/**\n * Topic-implicit placeholders are built per-topic by the generator's\n * `buildTopicTemplateReplacements`. Playbook method bodies and the authored\n * skills INDEX.md have no topic, so these placeholders can never resolve\n * there — the generator renders them VERBATIM into the compiled output.\n * Rule 15 (playbooks) and the skills-INDEX check fail them at PR time.\n * Only `{{PARTIAL:…}}` and `{{REFERENCE:<id>}}` are topic-explicit and\n * allowed in topic-less markdown. Global flag: every occurrence is a\n * distinct finding, including several on one line.\n */\nconst FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX = /\\{\\{(TITLE|TOPIC_ID|REFERENCE_RELATIVE_PATH|SOURCE_EXCERPTS_LEVEL[23]|USAGE_EXAMPLES_LEVEL[23])\\}\\}/gu;\n\n/** Names the non-object shapes `JSON.parse` accepts, for contract-violation messages. */\nfunction describeNonObjectJsonValue(value: unknown): string {\n if (value === null) {\n return 'null';\n }\n if (Array.isArray(value)) {\n return 'an array';\n }\n return `a ${typeof value}`;\n}\n\n// semantic-literal-boundary: the buildless audit cannot import the application-creation runtime enum; this is its exact contained-v1 wire mirror.\n\nfunction unwrapStaticExpression(expression: ts.Expression): ts.Expression {\n if (\n ts.isAsExpression(expression)\n || ts.isSatisfiesExpression(expression)\n || ts.isParenthesizedExpression(expression)\n ) {\n return unwrapStaticExpression(expression.expression);\n }\n return expression;\n}\n\nfunction readStaticObjectProperty(object: ts.ObjectLiteralExpression, propertyName: string): ts.Expression | null {\n for (const property of object.properties) {\n if (!ts.isPropertyAssignment(property)) {\n continue;\n }\n const name = property.name;\n const resolvedName = ts.isIdentifier(name) || ts.isStringLiteral(name) ? name.text : null;\n if (resolvedName === propertyName) {\n return unwrapStaticExpression(property.initializer);\n }\n }\n return null;\n}\n\nfunction readStaticString(expression: ts.Expression | null): string | null {\n return expression !== null && ts.isStringLiteral(expression) ? expression.text : null;\n}\n\nfunction readStaticStringArray(expression: ts.Expression | null): string[] {\n if (expression === null || !ts.isArrayLiteralExpression(expression)) {\n return [];\n }\n return expression.elements\n .map((entry) => readStaticString(unwrapStaticExpression(entry)))\n .filter((entry): entry is string => entry !== null);\n}\n\n/**\n * `method.choreography.admits[]` — the composite's admissible CHILD playbook refs (rule 30).\n *\n * Split out rather than nested inline because `readStaticObjectProperty` takes an object literal and\n * not a nullable expression, and `choreography` is optional on the schema: only a composite declares\n * one, so an absent field is the ordinary case and must read as an empty set, never as a parse\n * failure.\n */\nfunction readStaticChoreographyAdmits(methodObject: ts.ObjectLiteralExpression | null): string[] {\n if (methodObject === null) return [];\n const choreography = readStaticObjectProperty(methodObject, 'choreography');\n if (choreography === null || !ts.isObjectLiteralExpression(choreography)) return [];\n return readStaticStringArray(readStaticObjectProperty(choreography, 'admits'));\n}\n\n/**\n * Wire values for the playbook vocabulary enums, parsed from the specifications source.\n *\n * Keyed `EnumName.MEMBER` -> wire value (`MetaWorkflow_PredicateKind.PHASE_IS` -> `phase_is`).\n *\n * Read from the DECLARATION rather than derived by lowercasing the member name, which would work\n * today and silently rot the first time a member's value stops matching its name. The audit is\n * buildless, so this is a second AST parse rather than an import.\n */\ntype PlaybookVocabulary = {\n readonly enumMemberValues: ReadonlyMap<string, string>;\n /** `MetaWorkflow_ContextSource` wire values. Empty when the enum cannot be read — rule 28 then says nothing. */\n readonly contextSourceValues: ReadonlySet<string>;\n /** `MetaWorkflow_Executor` wire values with NO shell — see {@link TOOLLESS_EXECUTOR_MEMBER_NAMES}. */\n readonly toollessExecutorValues: ReadonlySet<string>;\n};\n\n/**\n * The executors that run with NO shell and no file access (#1435).\n *\n * Named by MEMBER rather than by value so a rename fails to resolve loudly instead of quietly\n * dropping a member from the set — and it is a JUDGEMENT about each tier, not something derivable:\n * `CODING_AGENT` runs an agent in the workspace, `DETERMINISTIC_CLI` IS a command, and `HUMAN` is a\n * person. Only these two are handed a prompt and nothing else.\n */\nconst TOOLLESS_EXECUTOR_MEMBER_NAMES = ['COMPANION_AGENT', 'RESEARCH_AGENT'] as const;\n\nconst EMPTY_PLAYBOOK_VOCABULARY: PlaybookVocabulary = {\n enumMemberValues: new Map(),\n contextSourceValues: new Set(),\n toollessExecutorValues: new Set(),\n};\n\nfunction loadPlaybookVocabulary(engineHome: string): PlaybookVocabulary {\n /*\n * TWO files, because a playbook's declarative vocabulary is split across two packages and reading\n * only the first is a blind walk over half the catalog. `MetaWorkflow_ContextSource` and the\n * predicate kinds live in `saas-specifications`; `MetaWorkflow_Executor` lives in `saas-models` —\n * and 13 of 25 playbooks write their executor as an enum member, so a vocabulary without the second\n * file resolves every one of them to `null` and any rule keyed on the executor sees nothing. That is\n * the exact under-lift `readStaticEnumBackedValue`'s own docstring records for preconditions.\n */\n const schemaPaths = [\n join(engineHome, 'saas-specifications', 'src', 'application-creation', 'playbooks.application-creation.schemas.ts'),\n join(engineHome, 'saas-models', 'src', 'meta-workflows', 'orchestration.meta-workflows.shared.schemas.ts'),\n ].filter((schemaPath) => existsSync(schemaPath));\n if (schemaPaths.length === 0) return EMPTY_PLAYBOOK_VOCABULARY;\n const enumMemberValues = new Map<string, string>();\n for (const schemaPath of schemaPaths) {\n const sourceFile = ts.createSourceFile(schemaPath, readFileSync(schemaPath, 'utf8'), ts.ScriptTarget.Latest, true);\n for (const statement of sourceFile.statements) {\n if (ts.isEnumDeclaration(statement)) {\n for (const member of statement.members) {\n const memberName = ts.isIdentifier(member.name) ? member.name.text : null;\n const initializer = member.initializer;\n if (memberName === null || initializer === undefined || !ts.isStringLiteralLike(initializer)) continue;\n enumMemberValues.set(`${statement.name.text}.${memberName}`, initializer.text);\n }\n continue;\n }\n }\n }\n const contextSourceValues = new Set(\n [...enumMemberValues.entries()]\n .filter(([key]) => key.startsWith('MetaWorkflow_ContextSource.'))\n .map(([, value]) => value),\n );\n const toollessExecutorValues = new Set(\n TOOLLESS_EXECUTOR_MEMBER_NAMES\n .map((memberName) => enumMemberValues.get(`MetaWorkflow_Executor.${memberName}`))\n .filter((value): value is string => value !== undefined),\n );\n return { enumMemberValues, contextSourceValues, toollessExecutorValues };\n}\n\n/**\n * Resolve a declarative field that may be written as a string literal OR as an enum member.\n *\n * The property-access half did not exist until 2026-08-29, and its absence made ELEVEN of the twenty\n * playbooks' preconditions invisible to the projection — every playbook authored in the TypeScript\n * style dropped its whole `preconditions` array, because a predicate whose `kind` resolved to `null`\n * was discarded. Rules 23, 24 and 26 therefore only ever saw the nine JSON-style playbooks, and\n * reported a clean catalog for the rest. Same shape as the two defects already recorded in this\n * parser: a rule cannot see what the parser does not lift.\n */\nfunction readStaticEnumBackedValue(\n expression: ts.Expression | null,\n enumLocalNames: ReadonlyMap<string, string>,\n vocabulary: PlaybookVocabulary,\n): string | null {\n if (expression === null) return null;\n const unwrapped = unwrapStaticExpression(expression);\n if (ts.isStringLiteralLike(unwrapped)) return unwrapped.text;\n if (!ts.isPropertyAccessExpression(unwrapped) || !ts.isIdentifier(unwrapped.expression)) return null;\n const canonicalEnum = enumLocalNames.get(unwrapped.expression.text) ?? unwrapped.expression.text;\n return vocabulary.enumMemberValues.get(`${canonicalEnum}.${unwrapped.name.text}`) ?? null;\n}\n\n/** Array counterpart of {@link readStaticEnumBackedValue}: string literals and enum members, mixed freely. */\nfunction readStaticEnumBackedArray(\n expression: ts.Expression | null,\n enumLocalNames: ReadonlyMap<string, string>,\n vocabulary: PlaybookVocabulary,\n): string[] {\n if (expression === null) return [];\n const unwrapped = unwrapStaticExpression(expression);\n if (!ts.isArrayLiteralExpression(unwrapped)) return [];\n return unwrapped.elements\n .map((element) => readStaticEnumBackedValue(element, enumLocalNames, vocabulary))\n .filter((value): value is string => value !== null);\n}\n\nfunction extractStaticPlaybookAuditShape(sourceFile: ts.SourceFile, vocabulary: PlaybookVocabulary): {\n json: Record<string, unknown> | null;\n contractErrors: string[];\n /** Whether the source exports `evaluationTreatmentSource` — i.e. whether a run of it can PRODUCE a judge verdict (#1498). */\n declaresEvaluationTreatment: boolean;\n} {\n const contractErrors: string[] = [];\n let playbookInitializer: ts.Expression | null = null;\n const exportedConstNames = new Set<string>();\n // local identifier -> canonical enum name, so an aliased import (`X as Y`) still resolves.\n const enumLocalNames = new Map<string, string>([\n ['MetaWorkflow_PredicateKind', 'MetaWorkflow_PredicateKind'],\n ['MetaWorkflow_Phase', 'MetaWorkflow_Phase'],\n ]);\n\n for (const statement of sourceFile.statements) {\n if (ts.isImportDeclaration(statement)) {\n const moduleRef = ts.isStringLiteral(statement.moduleSpecifier) ? statement.moduleSpecifier.text : '';\n const allowedModuleRefs = new Set([\n /*\n * The SUBPATH, not the root: #1341 made the four meta-workflow compiler services (and the\n * `MetaWorkflowEvaluationTreatmentSource` / `MetaWorkflowStructuredArtifactActionSource`\n * types a playbook definition declares a treatment with) reachable only through\n * `./meta-workflow-runtime`, so the root can no longer serve this import and naming it here\n * would be an allow-list entry for a door that cannot open.\n */\n '@wildo-ai/saas-backend-lib/meta-workflow-runtime',\n '@wildo-ai/saas-models',\n '@wildo-ai/saas-models/meta-workflows',\n '@wildo-ai/saas-specifications/application-creation',\n ]);\n if (statement.importClause === undefined || !allowedModuleRefs.has(moduleRef)) {\n contractErrors.push(`imports must be explicit and limited to the approved declarative contract modules`);\n }\n const namedBindings = statement.importClause?.namedBindings;\n if (namedBindings && ts.isNamedImports(namedBindings)) {\n for (const element of namedBindings.elements) {\n enumLocalNames.set(element.name.text, element.propertyName?.text ?? element.name.text);\n }\n }\n continue;\n }\n if (ts.isInterfaceDeclaration(statement) || ts.isTypeAliasDeclaration(statement)) {\n continue;\n }\n if (!ts.isVariableStatement(statement)) {\n contractErrors.push(`effect-free modules may contain only imports, type declarations, and exported const data declarations`);\n continue;\n }\n const isExported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false;\n const isConst = (statement.declarationList.flags & ts.NodeFlags.Const) !== 0;\n if (!isExported || !isConst) {\n contractErrors.push('all runtime declarations must be exported const data');\n continue;\n }\n for (const declaration of statement.declarationList.declarations) {\n if (!ts.isIdentifier(declaration.name) || declaration.initializer === undefined) {\n contractErrors.push('exported const declarations must have one named static initializer');\n continue;\n }\n exportedConstNames.add(declaration.name.text);\n if (declaration.name.text === 'playbookDefinition') {\n playbookInitializer = unwrapStaticExpression(declaration.initializer);\n }\n }\n }\n\n for (const requiredExport of ['playbookDefinition']) {\n if (!exportedConstNames.has(requiredExport)) {\n contractErrors.push(`missing required exported const \"${requiredExport}\"`);\n }\n }\n for (const exportName of exportedConstNames) {\n if (\n exportName !== 'playbookDefinition'\n && exportName !== 'evaluationTreatmentSource'\n && exportName !== 'structuredArtifactActionSource'\n ) {\n contractErrors.push(`unsupported runtime export \"${exportName}\"`);\n }\n }\n\n const forbiddenRuntimeNodeKinds = new Set<ts.SyntaxKind>([\n ts.SyntaxKind.CallExpression,\n ts.SyntaxKind.NewExpression,\n ts.SyntaxKind.AwaitExpression,\n ts.SyntaxKind.ArrowFunction,\n ts.SyntaxKind.FunctionExpression,\n ts.SyntaxKind.ClassExpression,\n ts.SyntaxKind.SpreadAssignment,\n ts.SyntaxKind.TaggedTemplateExpression,\n ]);\n const inspectRuntimeNode = (node: ts.Node): void => {\n if (forbiddenRuntimeNodeKinds.has(node.kind)) {\n contractErrors.push(`non-declarative ${ts.SyntaxKind[node.kind]} is forbidden`);\n return;\n }\n ts.forEachChild(node, inspectRuntimeNode);\n };\n for (const statement of sourceFile.statements) {\n if (ts.isVariableStatement(statement)) {\n inspectRuntimeNode(statement.declarationList);\n }\n }\n\n if (playbookInitializer === null || !ts.isObjectLiteralExpression(playbookInitializer)) {\n contractErrors.push('\"playbookDefinition\" must be a static object literal');\n return { json: null, contractErrors: [...new Set(contractErrors)], declaresEvaluationTreatment: exportedConstNames.has('evaluationTreatmentSource') };\n }\n const methodExpression = readStaticObjectProperty(playbookInitializer, 'method');\n const methodObject = methodExpression !== null && ts.isObjectLiteralExpression(methodExpression) ? methodExpression : null;\n const outputsExpression = readStaticObjectProperty(playbookInitializer, 'outputs');\n const outputs = outputsExpression !== null && ts.isArrayLiteralExpression(outputsExpression)\n ? outputsExpression.elements.flatMap((entry) => {\n const output = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(output)) {\n return [];\n }\n const schemaRef = readStaticString(readStaticObjectProperty(output, 'schemaRef'));\n // `family` joins `schemaRef` here because the catalog is a GRAPH and rule 23 walks its\n // edges: outputs are the producer side. Extracting only `schemaRef` made every family\n // invisible, so a dependency on an unproducible family read as a healthy catalog.\n const family = readStaticString(readStaticObjectProperty(output, 'family'));\n return [{ ...(schemaRef === null ? {} : { schemaRef }), ...(family === null ? {} : { family }) }];\n })\n : [];\n const preconditionsExpression = readStaticObjectProperty(playbookInitializer, 'preconditions');\n const preconditions = preconditionsExpression !== null && ts.isArrayLiteralExpression(preconditionsExpression)\n ? preconditionsExpression.elements.flatMap((entry) => {\n const predicate = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(predicate)) return [];\n const kind = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'kind'), enumLocalNames, vocabulary);\n if (kind === null) return [];\n /*\n * A PHASE_IS gate names the phase it requires. Lifted 2026-08-29 for the reachability rule:\n * `deriveJourneyPhase` returns only two of the four declared phases, so a gate naming either\n * of the others can never be satisfied by the unattended loop (#116).\n */\n const gatedPhase = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'phase'), enumLocalNames, vocabulary);\n // The selector's family is the consumer side of the same edge — an `artifact_valid` on an\n // unproducible family is a hard readiness gate, which is how one playbook has been\n // permanently ineligible since it was authored.\n const selectorExpression = readStaticObjectProperty(predicate, 'selector');\n const selectorFamily = selectorExpression !== null && ts.isObjectLiteralExpression(selectorExpression)\n ? readStaticString(readStaticObjectProperty(selectorExpression, 'family'))\n : null;\n /*\n * A STEP gate carries `ref`/`requires` instead of a `selector`. Extracted here because the\n * rule that checks them cannot see what the parser does not lift — the same way this parser\n * originally lifted only `kind` and left rule 23 reporting a perfectly clean catalog.\n */\n const stepRef = readStaticString(readStaticObjectProperty(predicate, 'ref'));\n const requiresExpression = readStaticObjectProperty(predicate, 'requires');\n const requiresPath = requiresExpression !== null && ts.isObjectLiteralExpression(requiresExpression)\n ? readStaticString(readStaticObjectProperty(requiresExpression, 'path'))\n : null;\n return [{\n kind,\n ...(selectorFamily === null ? {} : { selector: { family: selectorFamily } }),\n ...(stepRef === null ? {} : { ref: stepRef }),\n ...(requiresPath === null ? {} : { requires: { path: requiresPath } }),\n ...(gatedPhase === null ? {} : { phase: gatedPhase }),\n }];\n })\n : [];\n\n const inputsExpression = readStaticObjectProperty(playbookInitializer, 'inputs');\n const inputs = inputsExpression !== null && ts.isArrayLiteralExpression(inputsExpression)\n ? inputsExpression.elements.flatMap((entry) => {\n const input = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(input)) return [];\n const family = readStaticString(readStaticObjectProperty(input, 'family'));\n if (family === null) return [];\n /*\n * Aspect keys ride along for the live contract that validates them (#1444). This service cannot\n * resolve them — the registry is in a built package — but lifting them here is what lets a test\n * that CAN resolve them read the authored catalog. Before this, the projection kept `family`\n * alone, and that test passed a planted typo because it never saw the key.\n */\n const aspectsExpression = readStaticObjectProperty(input, 'aspects');\n const relatedExpression = readStaticObjectProperty(input, 'related');\n const related = relatedExpression !== null && ts.isObjectLiteralExpression(relatedExpression) ? relatedExpression : null;\n const targetAspectsExpression = related === null ? null : readStaticObjectProperty(related, 'targetAspects');\n return [{\n family,\n ...(aspectsExpression === null ? {} : { aspects: readStaticStringArray(aspectsExpression) }),\n ...(targetAspectsExpression === null ? {} : { related: { targetAspects: readStaticStringArray(targetAspectsExpression) } }),\n }];\n })\n : [];\n\n const stepOutputsExpression = readStaticObjectProperty(playbookInitializer, 'stepOutputs');\n const stepOutputs = stepOutputsExpression !== null && ts.isArrayLiteralExpression(stepOutputsExpression)\n ? stepOutputsExpression.elements.flatMap((entry) => {\n const stepOutput = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(stepOutput)) return [];\n const ref = readStaticString(readStaticObjectProperty(stepOutput, 'ref'));\n if (ref === null) return [];\n const schemaRef = readStaticString(readStaticObjectProperty(stepOutput, 'schemaRef'));\n return [{ ref, ...(schemaRef === null ? {} : { schemaRef }) }];\n })\n : [];\n\n return {\n json: {\n ref: readStaticString(readStaticObjectProperty(playbookInitializer, 'ref')),\n version: readStaticString(readStaticObjectProperty(playbookInitializer, 'version')),\n method: {\n skillRefs: methodObject === null ? [] : readStaticStringArray(readStaticObjectProperty(methodObject, 'skillRefs')),\n skillBodyRefs: methodObject === null ? [] : readStaticStringArray(readStaticObjectProperty(methodObject, 'skillBodyRefs')),\n // Enum-aware on purpose: the catalog authors this field in BOTH styles, and a string-only\n // read would blind rule 28 to every TypeScript-style playbook — the exact under-lift that\n // once hid eleven playbooks' preconditions from rules 23/24/26 (see readStaticEnumBackedValue).\n contextSources: methodObject === null ? [] : readStaticEnumBackedArray(readStaticObjectProperty(methodObject, 'contextSources'), enumLocalNames, vocabulary),\n // Lifted for rule 30. `admits` names PLAYBOOK refs, so it is the one field in the projection\n // whose referents are the catalog itself — parse it here or the rule has nothing to read.\n choreography: { admits: readStaticChoreographyAdmits(methodObject) },\n ...(methodObject !== null && readStaticObjectProperty(methodObject, 'guidance') !== null ? { guidance: true } : {}),\n },\n // Enum-aware, like `contextSources`: 13 of 25 playbooks write this as a member rather than a\n // string, and rule 32 can only see what the projection lifts.\n executor: readStaticEnumBackedValue(readStaticObjectProperty(playbookInitializer, 'executor'), enumLocalNames, vocabulary),\n outputs,\n inputs,\n preconditions,\n stepOutputs,\n },\n contractErrors: [...new Set(contractErrors)],\n declaresEvaluationTreatment: exportedConstNames.has('evaluationTreatmentSource'),\n };\n}\n// Mirror of FrameworkKnowledgeGenerationService — the directive must sit at\n// the **start of a line** inside a comment, so test fixtures that embed the\n// literal \"/** @wildo_source:part:start ... *<slash>\" string inside backtick\n// template literals do not register as real anchors.\nconst PART_START_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:part:start\\s+([^\\s]+)/u;\nconst PART_END_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:part:end\\s+([^\\s]+)/u;\nconst FILE_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:file\\s+([^\\s]+)/u;\nconst DESCRIPTION_HARD_LIMIT_CHARS = 1024;\n\n/**\n * The set of skill names a host will load. Claude Code refuses anything else\n * with \"Skill name may only contain lowercase letters, numbers, and hyphens\",\n * so a name outside this shape makes the compiled skill unreachable inside\n * every application the payload is installed into.\n */\nconst HOST_ADDRESSABLE_SKILL_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;\nconst TIER_C_WAIVER_TOKEN = 'TIER C WAIVER';\nconst SKILL_CODE_BLOCK_LINE_THRESHOLD = 5;\nconst SKILL_CODE_BLOCK_LANGUAGES = new Set([\n 'ts',\n 'tsx',\n 'typescript',\n 'javascript',\n 'jsx',\n 'js',\n]);\nconst RUNNABLE_GREP_INVARIANT_PREFIXES = [\n 'rg',\n 'grep',\n 'comm',\n 'pnpm',\n 'wildo',\n 'node',\n 'cat',\n 'jq',\n 'find',\n 'diff',\n 'ls',\n];\n\n/**\n * Severity channels per the Step 7 enforcement plan\n * (`.cursor/plans/fwk-skill-uplift-to-five.md`).\n *\n * `Fail` exits non-zero on the audit command — these signal **integrity\n * breaks**: a registry-vs-source mismatch, a reference placeholder that\n * will throw at generation time, or a SKILL.md that breaks downstream\n * consumers (router, IDE plugin).\n *\n * `Warn` emits structured stderr findings without failing the command —\n * these are **hygiene issues** that should be cleaned up but do not\n * block PRs.\n */\nexport enum FrameworkKnowledgeAuditSeverity {\n Fail = 'fail',\n Warn = 'warn',\n}\n\n/**\n * Stable per-rule identifiers — kept on the finding so consumers can\n * filter by rule (e.g., a CI job that only fails on rules 1–3) or\n * deduplicate when re-running the audit incrementally.\n */\nexport enum FrameworkKnowledgeAuditRule {\n /**\n * FAIL — guidance carries a maintainer-only path, identity, internal record,\n * or package import that cannot work in an installed application project.\n */\n ApplicationGuidanceNotPackageOnly = 'application-guidance-not-package-only',\n /** FAIL — `{{REFERENCE:<id>}}` placeholder pointing at an id not in the registry. */\n ReferencePlaceholderToUnknownId = 'reference-placeholder-to-unknown-id',\n /** FAIL — `{{REFERENCE:<id>}}` placeholder where the id is registered but has zero anchored spans (will throw at gen time). */\n ReferencePlaceholderWithoutAnchor = 'reference-placeholder-without-anchor',\n /** FAIL — `@wildo_source` anchor span where the id is not in the registry. */\n AnchorWithoutRegistryEntry = 'anchor-without-registry-entry',\n /** FAIL — SKILL.md missing YAML `name` or `description`. */\n SkillFrontmatterIncomplete = 'skill-frontmatter-incomplete',\n /** FAIL — SKILL.md description exceeds the 1024-char hard limit. */\n SkillDescriptionExceedsHardLimit = 'skill-description-exceeds-hard-limit',\n /** WARN — registry entry with no matching anchored span. */\n RegistryEntryWithoutAnchor = 'registry-entry-without-anchor',\n /** WARN — `references/*.md` file not cited in its skill's `## References` section. */\n ReferenceFileNotCitedInSkill = 'reference-file-not-cited-in-skill',\n /**\n * FAIL — a SKILL.md tells the agent to read a `references/…` file that does\n * not exist.\n *\n * The inverse of rule 7 and strictly worse. An uncited file is dead weight\n * nobody opens; a dangling CITATION ships an instruction the agent cannot\n * follow, in the artifact installed into an application. It also hides a\n * whole class of authoring slip — a file written to the wrong path looks\n * identical to one never written, and the audit passed on exactly that on\n * 2026-09-08.\n */\n SkillCitesMissingReferenceFile = 'skill-cites-missing-reference-file',\n /** WARN — INDEX.md skill listing drift (missing skill folder or stale row). */\n IndexCatalogMismatch = 'index-catalog-mismatch',\n /** WARN — SKILL.md description missing trigger-phrase cue (degrades router lookup). */\n SkillDescriptionMissingTriggerPhrasing = 'skill-description-missing-trigger-phrasing',\n /** WARN — substantial inline code block (likely Tier C) without a recorded waiver comment. */\n TierCExampleWithoutWaiver = 'tier-c-example-without-waiver',\n /** WARN — `## Verification` section without runnable `Grep invariants`. */\n VerificationSectionMissingGrepInvariants = 'verification-section-missing-grep-invariants',\n /**\n * FAIL — `@wildo_source:part:start <id>` declared in a source file\n * with no matching `@wildo_source:part:end <id>` before EOF or the\n * next start directive. Mirrors (and pre-empts) the generator's\n * `Unclosed @wildo_source:part:start` warning, which extracts\n * through end-of-file as a fallback and produces dirty\n * `dist/knowledge/` markdown.\n */\n AnchorWithoutEndMarker = 'anchor-without-end-marker',\n /**\n * FAIL — a playbook's `method.skillRefs[]` entry names a skill id with\n * no matching authored skill folder. Dangling skill refs would only\n * surface at runtime inside the companion's PlaybookRegistryService,\n * long after the PR merged.\n */\n PlaybookSkillRefToUnknownSkill = 'playbook-skill-ref-to-unknown-skill',\n /**\n * FAIL — a playbook `outputs[].schemaRef` does not match the pinned\n * `<package-short>:<ExportName>` vocabulary (P-33). Format check only —\n * see {@link PLAYBOOK_SCHEMA_REF_REGEX} for why resolution is deferred.\n */\n PlaybookOutputSchemaRefInvalid = 'playbook-output-schema-unresolved',\n /**\n * FAIL — two playbooks share the same `ref@version` identity. The\n * compiled catalog addresses playbooks by that pair; a duplicate makes\n * run provenance ambiguous.\n */\n PlaybookRefVersionDuplicate = 'playbook-ref-version-duplicate',\n /**\n * FAIL — a playbook markdown body uses a topic-implicit placeholder\n * (`{{SOURCE_EXCERPTS_*}}`, `{{USAGE_EXAMPLES_*}}`, `{{TITLE}}`,\n * `{{TOPIC_ID}}`, `{{REFERENCE_RELATIVE_PATH}}`). Playbooks have no\n * topic, so the generator would render the placeholder VERBATIM into\n * the compiled method guidance.\n */\n PlaybookForbiddenTopicImplicitPlaceholder = 'playbook-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — the authored playbook folder violates the folder contract the\n * generator hard-enforces (one rule because it guards one contract —\n * the folder shape): conflicting/malformed canonical structured sources,\n * folder name ≠ declared `ref`, missing `method.md`, non-declarative\n * TypeScript, or inline `method.guidance` (the prose lives in `method.md`;\n * inlining it duplicates the source of truth).\n * Without this PR-time gate each of these is a `generate-docs` crash.\n */\n PlaybookFolderContractViolation = 'playbook-folder-contract-violation',\n /** FAIL — a new authored catalog entry still depends on the arbitrary v1 human-decision predicate. */\n /**\n * FAIL — the authored skills INDEX.md uses a topic-implicit placeholder.\n * Since the P-24 router fix, INDEX.md is rendered through the same\n * markdown expansion as skill bodies, but the catalog has no topic — the\n * generator would ship the placeholder VERBATIM inside the compiled\n * router. Same rationale as\n * {@link PlaybookForbiddenTopicImplicitPlaceholder}; bad\n * `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 instead.\n */\n SkillsIndexForbiddenTopicImplicitPlaceholder = 'skills-index-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — an authored RULE uses a topic-implicit placeholder.\n *\n * The rules channel is a real compiled channel (#98) and was the one artifact kind no audit rule\n * looked at, so an authored rule could be added, pass a green audit and ship a placeholder\n * verbatim into every generated application's `.claude/rules/`. It renders through\n * `renderAuthoredMarkdownFile` with `replacements: {}` — exactly the skills INDEX situation, and\n * worse in one respect: a rule is ALWAYS-ON policy rather than a document the router has to\n * reach first. Bad `{{REFERENCE:<id>}}` ids in a rule ride Rules 1/2 through\n * `collectReferencePlaceholders`; this check covers the verbatim lane.\n */\n RuleForbiddenTopicImplicitPlaceholder = 'rule-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — one anchor id extracts BYTE-IDENTICAL content from more than one\n * source file, so the compiled reference concatenates the same excerpt twice\n * or more.\n *\n * This exists because every other rule here checks anchor <-> registry <->\n * skill <-> INDEX *integrity*, and integrity is preserved when a source tree\n * is accidentally duplicated — the audit stayed green while\n * `skills/market-icp/SKILL.md` shipped 21 copies of one example (gitignored\n * meta-workflow integration-test app copies were inside the scan universe;\n * fixed by `**\\/.wildo-saas/tmp/**` in the shared scan ignore contract).\n *\n * Deliberately keyed on CONTENT, not on file count: anchoring one id across\n * several files is a legitimate, documented pattern (the generator accumulates\n * spans, e.g. `zod.decorators.file-schema` spans two sources, and\n * `example.resource.add-field.priority-enum` spans a schema plus its enum\n * file). Those contribute DIFFERENT bodies. Only identical bodies are always\n * wrong, which is what makes this safe as a FAIL.\n */\n AnchorIdDuplicateSourceContent = 'anchor-id-duplicate-source-content',\n /**\n * FAIL — a `SKILL.md` frontmatter `name` that is not the skill's folder id,\n * or that is not a valid host skill name.\n *\n * The host addresses a skill by its frontmatter `name` and only falls back\n * to the directory when that key is absent, so a name that drifts from the\n * folder splits the id the INDEX router tells the agent to open from the one\n * the Skill tool will accept. The host additionally refuses any name outside\n * `[a-z0-9-]+` — the `snake_case` ids this catalog shipped until the\n * kebab-case migration were rejected with \"Skill name may only contain\n * lowercase letters, numbers, and hyphens\", on all 102 skills at once.\n *\n * Both halves are checked here so neither can come back quietly: nothing\n * else in the pipeline reads the frontmatter `name` (the generator keys\n * everything off the FOLDER), so an unchecked name is invisible until a host\n * refuses to load the compiled skill inside an application.\n */\n SkillNameNotHostAddressable = 'skill-name-not-host-addressable',\n /**\n * FAIL — a playbook declares an `inputs[]` or `preconditions[]` artifact family that NO playbook\n * in the catalog produces.\n *\n * The catalog is a graph, and nothing checked its edges. Measured on the live catalog (2026-08-28):\n * `refinement.compliance-document-candidate` gates on\n * `artifact_valid: compliance-document-fact-projection`, a family with no producer, no landing\n * target and no schema anywhere in the repository — so that playbook, and with it the entire\n * `refinement` phase, has been permanently ineligible since it was authored. Nothing reported it,\n * because an ineligible playbook simply never appears on the board.\n *\n * A precondition on such a family FAILS (it is a hard readiness gate — the playbook is dead). An\n * INPUT on one is reported too, at the same severity, because the consequence is quieter and\n * therefore worse: the prompt silently loses a truth section forever, and the method's handling of\n * \"this may be absent\" turns into a branch that can never execute. `bottom_up.foundation` mentions\n * `business-model` ten times, including the rule deriving the billing capability from it.\n *\n * FAIL as of 2026-09-01, on the condition this docstring set for itself: the baseline reached 0.\n *\n * It shipped as WARN because both live findings were TRUE and UNDECIDED — produce the family, or\n * retire the declaration, a product decision — so a FAIL then would have been a refusal with no\n * door, blocking every unrelated PR on a call only Paul could make (`design-philosophy.md`,\n * \"Immutability needs a paired mutation path\"). That door has been walked through: both were\n * RESOLVED rather than baselined away. `refinement.compliance-document-candidate` now gates on\n * `document-facts`, which `refinement.document-facts` produces, instead of the phantom\n * `compliance-document-fact-projection` that had made the whole refinement phase permanently\n * ineligible; and `bottom_up.foundation`'s `business-model` input is produced by\n * `top_down.business-model`.\n *\n * Verified two ways before promoting, because a rule that fires on nothing and a clean catalog\n * look identical: `wildo fwk audit` reports zero findings, and an independent graph built from the\n * compiled `playbook.json` set — every `inputs[].family` plus every `preconditions[].selector.family`\n * across all five precondition kinds — finds no family that is required and unproduced.\n *\n * Nothing is left to decide, so the reason for the softer channel is gone. A dangling declaration\n * is what it always was: a playbook that can never reach the eligibility board, or a prompt that\n * silently loses a truth section on every run.\n */\n PlaybookInputFamilyWithNoProducer = 'playbook-input-family-with-no-producer',\n PlaybookReadinessGatedFamilyNotDeclaredAsInput = 'playbook-readiness-gated-family-not-declared-as-input',\n PlaybookStepGateNamesNoDeclaredStep = 'playbook-step-gate-names-no-declared-step',\n /*\n * Rule 27 is RETIRED (2026-09-04), not renumbered: `PHASE_IS` no longer exists, so a gate naming an\n * underivable phase cannot be authored. The number is deliberately not reused — it appears in issue\n * bodies and commit messages, and a reused rule number makes those read as describing this one.\n */\n /**\n * FAIL — a `{{CONTEXT_SOURCE:<member>}}` placeholder in a playbook's `method.md` names no\n * `MetaWorkflow_ContextSource` member, or names one the playbook does not declare in\n * `method.contextSources`.\n *\n * Rule 28 (2026-09-02, issue #259's structural half). The placeholder is the compile-time JOIN\n * between a method's PROMISE of a brief section and the DECLARATION that makes the runtime compose\n * it — the two artifacts whose silent drift produced six recorded instances of prose promising\n * context the brief never carried (`skill_catalog` 2026-08-27, `compliance_primary_facts`\n * 2026-08-29, three self-refinement inputs and the phase-gate coherence delivery found by the\n * sweep on 2026-09-02). Free prose can still promise falsely — the placeholder converts the\n * NORM: an instructional reference authored through it cannot compile undeclared. The generator\n * enforces the same predicate fail-closed; this rule is the PR-time copy that fails before anyone\n * runs `generate-docs`.\n */\n PlaybookContextSourcePlaceholderInvalid = 'playbook-context-source-placeholder-invalid',\n /**\n * FAIL — a composite's `method.choreography.admits[]` entry names no authored playbook folder.\n *\n * Rule 30 (2026-09-09). Rule 13 has refused a `method.skillRefs` entry naming no authored skill\n * since the catalog existed; `admits` is the same shape one field over and had no rule at all, so a\n * composite could name a child that does not exist and nothing said so until it ran — and then only\n * by omission. `runPlaybookChoreography` FILTERS an unresolvable ref out of the eligible set, so\n * the lane simply does less than it declares, silently, on every iteration.\n *\n * The runtime consequence of a dangling child is already contained: the write-scope resolver treats\n * an unresolvable child as UNKNOWN and fails closed rather than as the empty set, so nothing is\n * granted a scope it should not have. Containment is not the same as detection, though — a\n * fail-closed runtime says the composite is safe, never that it is complete — and the authoring-time\n * answer belongs here, where the author is still present.\n *\n * FAIL rather than WARN, matching rule 13 and for the same reason: nothing is left to decide. A ref\n * naming no folder is not a judgement call about the catalog's shape (which is what put rule 23 in\n * the softer channel), it is a typo or a deletion that nobody swept, and the fix is mechanical.\n */\n PlaybookChoreographyAdmitsUnknownPlaybook = 'playbook-choreography-admits-unknown-playbook',\n /**\n * FAIL — a TOOL-LESS playbook's method tells its model to run a shell command.\n *\n * Rule 32 (2026-09-22, #1435). A `COMPANION_AGENT` or `RESEARCH_AGENT` step is a prompt and a\n * schema: no shell, no filesystem, no `rg`. `bottom_up.build-decompose` instructed its model to run\n * `rg -n \"applicationDatabase\"` to find out which store the application persists to — a value the\n * companion already computes exactly, for another lane — and the failure is SILENT in the worst\n * way: a model asked to look something up does not refuse, it answers from the surrounding prose.\n * So the plan named an obligation nothing had checked, and on PostgreSQL an unbound schema task\n * produces a resource the application cannot store.\n *\n * Only a FENCED block fires. A method legitimately names commands in prose — the objective it\n * writes for a coding agent often contains one (`wildo db diff --check`), and a `DETERMINISTIC_CLI`\n * method is ABOUT commands — so matching backticked text would report mostly correct methods, which\n * is the calibration failure that costs a checker its readers.\n *\n * FAIL rather than WARN: an instruction the executor cannot follow is not a judgement call. Either\n * the value is delivered as context, or the instruction goes.\n */\n PlaybookMethodInstructsToollessShell = 'playbook-method-instructs-toolless-shell',\n /**\n * FAIL — a file under a skill's `references/` or `examples/` is not Markdown.\n *\n * Those two directories are a PROSE channel. The generator copies them verbatim into every\n * generated application's `.claude/skills/<id>/`, and the whole pipeline that keeps their content\n * true — placeholder expansion, and this audit's own reference scan — reads `*.md` and nothing\n * else. A `.ts` dropped beside them therefore ships to application developers while sitting\n * OUTSIDE the Tier A/B/C system that exists to keep a code sample compiling: no `@wildo_source`\n * anchor, no registry entry, no `{{REFERENCE}}` placeholder, and no drift protection.\n *\n * Measured 2026-09-12, which is why this is FAIL and not WARN. `engine-product-definitions`\n * acquired `examples/report-feature.ts` and `examples/report-surface.tsx` — the first and only\n * non-Markdown files ever placed under a skill — and every gate stayed silent:\n *\n * - `pnpm check:example-drift` matches `*.example.ts(x)` by NAME, so neither file was in its\n * population and neither got the coverage or runtime-pin treatment it demands;\n * - this audit's own supporting-file scan matches Markdown only, so both were invisible here;\n * - `wildo fwk audit` passed with zero findings while both shipped into `dist/knowledge`.\n *\n * What finally reported it was `tsc` — because `framework-knowledge`'s `tsconfig.json` includes\n * `src`, so the files silently joined the PACKAGE'S OWN TypeScript program. That is the quiet\n * part: the `.tsx` failed (no `react`, no `jsx` option) and broke the package build for every\n * session for eight hours, while the `.ts` COMPILED — so had the author added only the `.ts`,\n * nothing anywhere would ever have fired.\n *\n * The author was NOT careless, which is the part that makes this worth a rule. Their session notes\n * show the two files were typechecked deliberately — through a BESPOKE tsconfig whose `paths`\n * hand-pointed at the frontend package's `dist` and its private `node_modules/@types/react`,\n * recorded as necessary \"because this directory is not the frontend package and cannot resolve its\n * private node_modules\". That sentence is the diagnosis: a throwaway config made the sample compile\n * in isolation and the real conclusion — the file belongs in the package that owns the contract —\n * went unreached. A green bespoke typecheck is evidence about that config, never about the package.\n *\n * `scripts/` is deliberately NOT covered: it is the pipeline's designated channel for executables,\n * which are run rather than read. It holds zero files today.\n *\n * The remedy is never to loosen a typecheck. A code sample belongs in the package that owns the\n * contract, named `*.example.ts(x)` so the drift checker sees it, anchored with `@wildo_source`,\n * registered, and pulled into the prose with a `REFERENCE` placeholder — the Tier B path in\n * `.claude/rules/framework-knowledge-authoring.md`.\n */\n SkillSupportingFileIsNotMarkdown = 'skill-supporting-file-is-not-markdown',\n /**\n * FAIL — an authored knowledge skill declares `user-invocable` (#1656).\n *\n * The generator marks EVERY compiled knowledge skill `user-invocable: false`, so an application's\n * Claude Code `/` menu lists the `/wildo:*` commands instead of ~118 reference skills; Claude still\n * loads a knowledge skill by its description. The generator owns the field and refuses an authored\n * one at `generate-docs` — this rule surfaces the same refusal at PR time. A skill a person should\n * invoke is a command, authored under `src/claude-plugin/skills/`.\n */\n SkillDeclaresUserInvocable = 'skill-declares-user-invocable',\n}\n\nexport interface FrameworkKnowledgeAuditFinding {\n rule: FrameworkKnowledgeAuditRule;\n severity: FrameworkKnowledgeAuditSeverity;\n message: string;\n /** Repository-relative file path; with optional `:line` suffix when the rule is line-localized. */\n location: string;\n}\n\nexport interface FrameworkKnowledgeAuditStats {\n registeredAnchorCount: number;\n discoveredAnchorCount: number;\n skillCount: number;\n referenceFileCount: number;\n playbookCount: number;\n /**\n * Total `method.choreography.admits[]` entries the parser LIFTED across the catalog.\n *\n * Exists because rule 30's clean answer and a blind one are otherwise identical: a parser that\n * lifted nothing reports zero dangling children exactly as a healthy catalog does. This is the\n * number that separates them, and the live contract asserts it is non-zero — the same reason every\n * checker in `scripts/code-conduct/` ships a `--self-test`.\n */\n choreographyChildRefCount: number;\n /**\n * How many playbooks the parser resolved a TOOL-LESS executor for.\n *\n * Rule 32's guard, and the same argument as `choreographyChildRefCount` above: a vocabulary that\n * failed to read `MetaWorkflow_Executor` resolves every enum-style executor to `null` and reports a\n * clean catalog exactly as a healthy one does. 13 of 25 playbooks are enum-style, so this number\n * going to zero means the rule stopped looking, not that the defect went away.\n */\n toollessPlaybookCount: number;\n}\n\nexport interface FrameworkKnowledgeAuditReport {\n failures: FrameworkKnowledgeAuditFinding[];\n warnings: FrameworkKnowledgeAuditFinding[];\n stats: FrameworkKnowledgeAuditStats;\n}\n\ninterface RegistryParseResult {\n ids: Set<string>;\n registryFilePath: string;\n}\n\ninterface AnchorSpan {\n id: string;\n filePath: string;\n line: number;\n /**\n * SHA-1 of the extracted body, set only for a `part:start`/`part:end` pair\n * that closed in the same file. `undefined` for `@wildo_source:file` anchors\n * and for spans that never closed (Rule 12 already owns those).\n *\n * Rule 21 compares these across files: identical bodies contributed under one\n * id mean the compiled reference will repeat itself.\n */\n contentDigest?: string;\n}\n\n/**\n * A `@wildo_source:part:start <id>` directive that did not have a\n * matching `@wildo_source:part:end <id>` before EOF. Captured during\n * the same file walk that discovers anchor spans, then surfaced by\n * Rule 12 as a FAIL-channel finding.\n */\ninterface UnclosedAnchor {\n id: string;\n filePath: string;\n /** 1-based line number of the unclosed `part:start` directive. */\n startLine: number;\n}\n\ninterface AnchorScanResult {\n spans: AnchorSpan[];\n unclosedAnchors: UnclosedAnchor[];\n}\n\ninterface ParsedSkill {\n skillId: string;\n skillFilePath: string;\n rawContent: string;\n frontmatter: SkillFrontmatter;\n referenceSectionContent: string | null;\n workedExampleSectionContent: string | null;\n verificationSectionContent: string | null;\n /** Every `{{REFERENCE:<id>}}` placeholder discovered in the SKILL.md body. */\n referencePlaceholders: ReferencePlaceholderOccurrence[];\n /** Substantial code blocks discovered outside of the Verification section. */\n codeBlocks: SkillCodeBlock[];\n}\n\ninterface SkillFrontmatter {\n name: string | null;\n description: string | null;\n rawBlock: string | null;\n}\n\ninterface ReferencePlaceholderOccurrence {\n id: string;\n line: number;\n filePath: string;\n}\n\ninterface SkillCodeBlock {\n language: string;\n startLine: number;\n endLine: number;\n lineCount: number;\n precedingContext: string;\n}\n\n/** A CommonMark-style fenced-code delimiter admitted by the audit parser. */\ninterface MarkdownCodeFence {\n marker: '`' | '~';\n length: number;\n infoString: string;\n}\n\n/**\n * One authored playbook folder as seen by the buildless audit. Contained JSON\n * is parsed defensively, while native TypeScript is inspected as a constrained\n * data AST and never executed. Schema-level validation belongs to the\n * generator, which legitimately imports the application-creation contract.\n */\ninterface ParsedPlaybook {\n /** Folder name under `src/playbooks/` — the loader address. */\n playbookRef: string;\n /** Repo-relative path of the canonical structured source. */\n structuredSourceFilePath: string;\n sourceFormat: FrameworkKnowledgePlaybookSourceFormat;\n /** Repo-relative path of the authored `method.md`. */\n methodFilePath: string;\n methodExists: boolean;\n /** `method.md` content, `null` when the file is missing. */\n methodContent: string | null;\n /** Static audit projection of the canonical structured source. */\n json: Record<string, unknown> | null;\n /** Human-readable cause when `json` is `null` (parse error or wrong top-level shape). */\n jsonContractError: string | null;\n /**\n * Whether this playbook exports `evaluationTreatmentSource`, and therefore whether a run of it can\n * produce an advisory judge verdict a sibling may gate on (#1498). Read by rule 26.\n */\n declaresEvaluationTreatment: boolean;\n}\n\n/**\n * Static parser + auditor for the framework-knowledge authoring surface.\n *\n * Two severity channels — see {@link FrameworkKnowledgeAuditSeverity}.\n *\n * Designed to run from CI on every PR touching\n * `platform/factory/framework-knowledge/**`, `engine/**`, or\n * `examples/wonder-todos/**`. Pure stdlib + glob, no TypeScript build\n * required: the registry is parsed as text from the source `.ts`\n * file, so the audit is bootable even when the framework-knowledge\n * package has not been built.\n */\nexport class FrameworkKnowledgeAuditService {\n static audit(frameworkRoot: string): FrameworkKnowledgeAuditReport {\n const findings: FrameworkKnowledgeAuditFinding[] = [];\n\n const registry = FrameworkKnowledgeAuditService.loadRegistry(frameworkRoot, findings);\n const { spans: anchorSpans, unclosedAnchors } = FrameworkKnowledgeAuditService.discoverAnchorSpans(frameworkRoot);\n const skills = FrameworkKnowledgeAuditService.discoverSkills(frameworkRoot);\n const playbooks = FrameworkKnowledgeAuditService.discoverPlaybooks(frameworkRoot);\n // Re-read here rather than threaded from the discovery pass: the vocabulary is a pure read of two\n // engine source files, and rules that key on an enum-backed field need it in THIS scope.\n const playbookVocabulary = loadPlaybookVocabulary(resolveFrameworkLayout(frameworkRoot).engineHome);\n const referenceFilesBySkill = FrameworkKnowledgeAuditService.discoverReferenceFilesBySkill(frameworkRoot);\n const indexCatalogSkillIds = FrameworkKnowledgeAuditService.parseIndexCatalogSkillIds(frameworkRoot);\n\n const registeredIds = registry.ids;\n const anchorIdToSpans = FrameworkKnowledgeAuditService.indexAnchorSpansById(anchorSpans);\n const referencePlaceholders = FrameworkKnowledgeAuditService.collectReferencePlaceholders(frameworkRoot, skills, playbooks);\n\n // The anchor/catalog audit proves that authored knowledge can be compiled;\n // this separate product-boundary check proves it can be consumed outside\n // the monorepo. Keep it here (rather than in a CLI-only install command)\n // so a bad authoring change fails before it becomes generated guidance.\n for (const guidanceFinding of FrameworkKnowledgeApplicationGuidanceValidator.validateAuthored(frameworkRoot)) {\n findings.push({\n rule: FrameworkKnowledgeAuditRule.ApplicationGuidanceNotPackageOnly,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n location: `${guidanceFinding.relativePath}:${guidanceFinding.line}`,\n message: `[${guidanceFinding.kind}] ${guidanceFinding.message} Offending value: ${guidanceFinding.offendingValue}. ${guidanceFinding.remediation}`,\n });\n }\n\n FrameworkKnowledgeAuditService.checkRule1ReferencePlaceholderToUnknownId({\n registeredIds,\n placeholders: referencePlaceholders,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule2ReferencePlaceholderWithoutAnchor({\n registeredIds,\n anchorIdToSpans,\n placeholders: referencePlaceholders,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule3AnchorWithoutRegistryEntry({\n registeredIds,\n anchorSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule4SkillFrontmatterIncomplete({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule22SkillNameNotHostAddressable({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule32SkillDeclaresUserInvocable({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule31SkillSupportingFileIsNotMarkdown({ frameworkRoot, findings });\n FrameworkKnowledgeAuditService.checkRule5SkillDescriptionExceedsHardLimit({ skills, findings });\n\n FrameworkKnowledgeAuditService.checkRule6RegistryEntryWithoutAnchor({\n registeredIds,\n anchorIdToSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRuleSkillCitesMissingReferenceFile({\n skills,\n referenceFilesBySkill,\n findings,\n });\n FrameworkKnowledgeAuditService.checkRule7ReferenceFileNotCitedInSkill({\n skills,\n referenceFilesBySkill,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule8IndexCatalogMismatch({\n skills,\n indexCatalogSkillIds,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule9SkillDescriptionMissingTriggerPhrasing({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule10TierCExampleWithoutWaiver({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule11VerificationSectionMissingGrepInvariants({ skills, findings });\n\n FrameworkKnowledgeAuditService.checkRule12AnchorWithoutEndMarker({\n unclosedAnchors,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule21AnchorIdDuplicateSourceContent({\n spans: anchorSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule13PlaybookSkillRefToUnknownSkill({\n skills,\n playbooks,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule32PlaybookMethodInstructsToollessShell({ playbooks, vocabulary: playbookVocabulary, findings });\n FrameworkKnowledgeAuditService.checkRule30PlaybookChoreographyAdmitsUnknownPlaybook({\n playbooks,\n findings,\n });\n\n // Rule 14 — playbook `{{REFERENCE:<id>}}` coverage — has no dedicated\n // check method: `collectReferencePlaceholders` above feeds playbook\n // method bodies into Rules 1/2, so a bad id FAILs at PR time instead of\n // crashing `wildo fwk generate-docs` inside `expandTemplateReferences`.\n\n FrameworkKnowledgeAuditService.checkRule23PlaybookInputFamilyWithNoProducer({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule26PlaybookStepGateNamesNoDeclaredStep({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule28PlaybookContextSourcePlaceholder({\n playbooks,\n contextSourceValues: loadPlaybookVocabulary(resolveFrameworkLayout(frameworkRoot).engineHome).contextSourceValues,\n findings,\n });\n FrameworkKnowledgeAuditService.checkRule15PlaybookContract({\n playbooks,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkSkillsIndexForbiddenPlaceholders({\n frameworkRoot,\n findings,\n });\n FrameworkKnowledgeAuditService.checkAuthoredRulesForbiddenPlaceholders({\n frameworkRoot,\n findings,\n });\n\n const failures = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Fail);\n const warnings = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Warn);\n\n return {\n failures,\n warnings,\n stats: {\n registeredAnchorCount: registeredIds.size,\n discoveredAnchorCount: anchorIdToSpans.size,\n skillCount: skills.length,\n referenceFileCount: Array.from(referenceFilesBySkill.values()).reduce((sum, list) => sum + list.length, 0),\n playbookCount: playbooks.length,\n choreographyChildRefCount: playbooks.reduce(\n (total, playbook) => total + FrameworkKnowledgeAuditService.readPlaybookChoreographyAdmits(playbook).length,\n 0,\n ),\n toollessPlaybookCount: playbooks.filter(\n (playbook) => FrameworkKnowledgeAuditService.playbookRunsWithoutTools(playbook, playbookVocabulary),\n ).length,\n },\n };\n }\n\n // ─── Discovery ───────────────────────────────────────────────────────────\n\n /**\n * Parses `FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS` as text from\n * `framework-knowledge.definitions.ts`. Reading the source directly\n * (rather than importing the compiled package) keeps the audit\n * bootable in CI without a build step and avoids a circular\n * dev-dependency between the CLI and the knowledge package.\n */\n private static loadRegistry(\n frameworkRoot: string,\n findings: FrameworkKnowledgeAuditFinding[],\n ): RegistryParseResult {\n const registryFilePath = join(frameworkRoot, REGISTRY_RELATIVE_PATH);\n if (!existsSync(registryFilePath)) {\n throw new Error(\n `Framework-knowledge registry not found at ${REGISTRY_RELATIVE_PATH}. The audit cannot run without the source-of-truth registry.`,\n );\n }\n\n const content = readFileSync(registryFilePath, 'utf8');\n const openIndex = content.indexOf(REGISTRY_OPEN_LITERAL);\n const closeIndex = content.indexOf(REGISTRY_CLOSE_LITERAL, openIndex);\n if (openIndex === -1 || closeIndex === -1) {\n throw new Error(\n `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.`,\n );\n }\n\n const arrayBody = content.slice(openIndex + REGISTRY_OPEN_LITERAL.length, closeIndex);\n const ids = new Set<string>();\n const seenIds = new Set<string>();\n for (const rawLine of arrayBody.split('\\n')) {\n const trimmed = rawLine.trim();\n if (trimmed.length === 0 || trimmed.startsWith('//') || trimmed.startsWith('/*') || trimmed.startsWith('*')) {\n continue;\n }\n const literalMatch = trimmed.match(/^['\"]([^'\"]+)['\"]\\s*,?\\s*(?:\\/\\/.*)?$/u);\n if (!literalMatch) {\n continue;\n }\n const id = literalMatch[1];\n if (seenIds.has(id)) {\n findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Duplicate registry entry \"${id}\" — each id must appear once in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,\n location: REGISTRY_RELATIVE_PATH,\n });\n continue;\n }\n seenIds.add(id);\n ids.add(id);\n }\n\n return { ids, registryFilePath };\n }\n\n /**\n * Walks the four scan roots (engine/, platform/, examples/, docs/) for\n * `@wildo_source:part:start`, `@wildo_source:part:end`, and\n * `@wildo_source:file` directives. Mirrors\n * `FrameworkKnowledgeGenerationService.discoverSourceFiles` so the\n * audit and the generator stay perfectly aligned on what counts as an\n * anchored span.\n *\n * Returns both:\n *\n * - `spans` — the anchored spans (one per discovered start/file\n * directive) consumed by Rules 2/3/6.\n * - `unclosedAnchors` — `part:start` directives that did not have a\n * matching `part:end` before EOF, consumed by Rule 12. Tracked\n * per-file using a stack so nested-but-otherwise-balanced anchors\n * stay correct: every `part:start` pushes an entry, every\n * `part:end` for an id present in the open set pops it; the\n * leftover entries at EOF are the unclosed ones.\n */\n private static discoverAnchorSpans(frameworkRoot: string): AnchorScanResult {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const scanRoots = [\n layout.engineHome,\n layout.platformHome,\n // The third home (D9): the registry providers the framework authors (#2019). Kept in step with\n // `getSourceScanRoots` in the GENERATION service. The two must walk the same universe: a root the\n // audit sees and generation does not reports dangling references, and a root generation sees and\n // the audit does not ships unaudited anchors.\n layout.providersRegistryHome,\n layout.docsHome,\n layout.examplesHome,\n ].filter((absolutePath) => existsSync(absolutePath));\n\n const spans: AnchorSpan[] = [];\n const unclosedAnchors: UnclosedAnchor[] = [];\n\n if (scanRoots.length === 0) {\n return { spans, unclosedAnchors };\n }\n\n const relativeRoots = scanRoots\n .map((absolutePath) => relative(layout.repositoryRoot, absolutePath))\n .filter((relativePath) => relativePath.length > 0);\n\n const filePaths = globSync(`{${relativeRoots.join(',')}}/**/*.${SCAN_GLOB_EXTENSIONS}`, {\n cwd: layout.repositoryRoot,\n absolute: true,\n nodir: true,\n // dot: true so dot-prefixed app folders (e.g. `.wildo-saas/`)\n // are scanned for anchors. The shared ignore contract masks generated\n // dot-directories that would otherwise leak into the scan.\n dot: true,\n ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],\n }).sort((left, right) => left.localeCompare(right));\n\n for (const absoluteFilePath of filePaths) {\n const fileContent = readFileSync(absoluteFilePath, 'utf8');\n const lines = fileContent.split('\\n');\n const relativeFilePath = relative(frameworkRoot, absoluteFilePath);\n\n // Map<id, startLine> for anchors currently waiting for an end\n // marker. Same id reopened before being closed is unusual but\n // legal; we keep the *first* (outermost) start line so the\n // diagnostic points the author at the outer block they forgot\n // to close — that's nearly always the real defect.\n // Also carries the index of the span pushed at `part:start`, so the\n // matching `part:end` can stamp the extracted body's digest onto it\n // (Rule 21) without re-walking the file.\n const openAnchorsById = new Map<string, { startLine: number; spanIndex: number }>();\n\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n const lineNumber = lineIndex + 1;\n\n const partStartMatch = PART_START_DIRECTIVE_REGEX.exec(line);\n if (partStartMatch) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:start')) {\n spans.push({ id, filePath: relativeFilePath, line: lineNumber });\n if (!openAnchorsById.has(id)) {\n openAnchorsById.set(id, { startLine: lineNumber, spanIndex: spans.length - 1 });\n }\n }\n }\n\n const partEndMatch = PART_END_DIRECTIVE_REGEX.exec(line);\n if (partEndMatch) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:end')) {\n const openAnchor = openAnchorsById.get(id);\n if (openAnchor === undefined) {\n continue;\n }\n // Body = everything strictly between the two directive lines, which\n // is what the generator extracts (anchor lines are stripped).\n const body = lines.slice(openAnchor.startLine, lineIndex).join('\\n').trim();\n spans[openAnchor.spanIndex].contentDigest = createHash('sha1').update(body).digest('hex');\n openAnchorsById.delete(id);\n }\n }\n\n const fileMatch = FILE_DIRECTIVE_REGEX.exec(line);\n if (fileMatch && lineNumber <= 10) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:file')) {\n spans.push({ id, filePath: relativeFilePath, line: lineNumber });\n }\n }\n }\n\n for (const [id, openAnchor] of openAnchorsById) {\n unclosedAnchors.push({ id, filePath: relativeFilePath, startLine: openAnchor.startLine });\n }\n }\n\n return { spans, unclosedAnchors };\n }\n\n /**\n * Tokenizes everything after the directive name on a single line,\n * stripping `facet:*` / `tag:*` qualifiers so only true anchor ids\n * remain. Mirrors the generator's anchor-tag parser.\n */\n private static parseAnchorIds(line: string, directive: string): string[] {\n const directiveIndex = line.indexOf(directive);\n if (directiveIndex === -1) {\n return [];\n }\n const remainder = line\n .slice(directiveIndex + directive.length)\n .replace('*/', ' ')\n .replace('-->', ' ');\n return remainder\n .split(/[\\s,]+/u)\n .map((token) => token.trim())\n .filter((token) => token.length > 0 && !token.startsWith('facet:') && !token.startsWith('tag:'));\n }\n\n private static indexAnchorSpansById(anchorSpans: AnchorSpan[]): Map<string, AnchorSpan[]> {\n const indexed = new Map<string, AnchorSpan[]>();\n for (const span of anchorSpans) {\n const existing = indexed.get(span.id);\n if (existing) {\n existing.push(span);\n } else {\n indexed.set(span.id, [span]);\n }\n }\n return indexed;\n }\n\n private static discoverSkills(frameworkRoot: string): ParsedSkill[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return [];\n }\n\n const skillEntryPaths = globSync('*/SKILL.md', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n return skillEntryPaths.map((skillFilePath) => {\n const skillId = basename(dirname(skillFilePath));\n const rawContent = readFileSync(skillFilePath, 'utf8');\n const frontmatter = FrameworkKnowledgeAuditService.parseFrontmatter(rawContent);\n const referenceSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['references']);\n const workedExampleSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, [\n 'worked example',\n 'worked examples',\n ]);\n const verificationSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['verification']);\n const referencePlaceholders = FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n rawContent,\n relative(frameworkRoot, skillFilePath),\n );\n const codeBlocks = FrameworkKnowledgeAuditService.collectCodeBlocks(rawContent);\n\n return {\n skillId,\n skillFilePath: relative(frameworkRoot, skillFilePath),\n rawContent,\n frontmatter,\n referenceSectionContent,\n workedExampleSectionContent,\n verificationSectionContent,\n referencePlaceholders,\n codeBlocks,\n };\n });\n }\n\n /**\n * Discovers authored playbook folders under `src/playbooks/`, mirroring\n * `FrameworkKnowledgeGenerationService.discoverAuthoredPlaybooks` (folder\n * name = ref, exactly one supported structured source) so audit and\n * generator agree on the playbook universe. Broken JSON or non-declarative\n * TypeScript becomes a Rule 15 finding, never an audit crash.\n */\n /**\n * Every authored playbook's `inputs[]`, as the static projection reads it — without running the audit.\n *\n * Exists so a check this service deliberately cannot perform can still run on the AUTHORED catalog\n * (#1444). Aspect keys on an input must resolve against the aspect registry and the family bindings,\n * which live in built packages this buildless service never imports. A test that CAN import them reads\n * the inputs through here, so a typo is caught by the ordinary test run rather than only by the next\n * `generate-docs`. Read-only; a playbook whose source does not parse contributes no inputs (the audit\n * itself reports that as a contract violation).\n */\n public static readAuthoredPlaybookInputs(frameworkRoot: string): Array<{ playbookRef: string; inputs: readonly unknown[] }> {\n return FrameworkKnowledgeAuditService.discoverPlaybooks(frameworkRoot).map((playbook) => ({\n playbookRef: playbook.playbookRef,\n inputs: Array.isArray(playbook.json?.inputs) ? (playbook.json.inputs as unknown[]) : [],\n }));\n }\n\n private static discoverPlaybooks(frameworkRoot: string): ParsedPlaybook[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n // Parsed ONCE per run: every playbook resolves its enum-backed fields against the same table.\n const vocabulary = loadPlaybookVocabulary(layout.engineHome);\n const authoredPlaybooksHome = layout.frameworkKnowledgeAuthoredPlaybooksHome;\n if (!existsSync(authoredPlaybooksHome)) {\n return [];\n }\n\n const playbookSourcePaths = globSync(`*/{${PLAYBOOK_JSON_FILE_NAME},${PLAYBOOK_DEFINITION_FILE_NAME}}`, {\n cwd: authoredPlaybooksHome,\n nodir: true,\n absolute: true,\n ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],\n }).sort((left, right) => left.localeCompare(right));\n\n const pathsByRef = new Map<string, string[]>();\n for (const sourcePath of playbookSourcePaths) {\n const playbookRef = basename(dirname(sourcePath));\n pathsByRef.set(playbookRef, [...(pathsByRef.get(playbookRef) ?? []), sourcePath]);\n }\n\n return [...pathsByRef.entries()].map(([playbookRef, sourcePaths]) => {\n const structuredSourcePath = sourcePaths[0];\n const sourceFormat = FrameworkKnowledgePlaybookSourceFormat.EFFECT_FREE_TYPESCRIPT_MODULE_V1;\n const methodPath = join(dirname(structuredSourcePath), PLAYBOOK_METHOD_FILE_NAME);\n const methodExists = existsSync(methodPath);\n\n let json: Record<string, unknown> | null = null;\n let jsonContractError: string | null = null;\n let declaresEvaluationTreatment = false;\n if (sourcePaths.length > 1) {\n jsonContractError = `more than one structured source exists; exactly one canonical ${PLAYBOOK_DEFINITION_FILE_NAME} is allowed`;\n } else if (!structuredSourcePath.endsWith(PLAYBOOK_DEFINITION_FILE_NAME)) {\n // The JSON-v1 authoring format was retired at the first-activation hard cut.\n 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`;\n } else {\n const sourceFile = ts.createSourceFile(\n structuredSourcePath,\n readFileSync(structuredSourcePath, 'utf8'),\n ts.ScriptTarget.Latest,\n true,\n ts.ScriptKind.TS,\n );\n const extracted = extractStaticPlaybookAuditShape(sourceFile, vocabulary);\n json = extracted.json;\n declaresEvaluationTreatment = extracted.declaresEvaluationTreatment;\n if (extracted.contractErrors.length > 0) {\n jsonContractError = extracted.contractErrors.join('; ');\n }\n }\n\n return {\n playbookRef,\n structuredSourceFilePath: relative(frameworkRoot, structuredSourcePath),\n sourceFormat,\n methodFilePath: relative(frameworkRoot, methodPath),\n methodExists,\n methodContent: methodExists ? readFileSync(methodPath, 'utf8') : null,\n json,\n jsonContractError,\n declaresEvaluationTreatment,\n };\n });\n }\n\n\n private static discoverReferenceFilesBySkill(frameworkRoot: string): Map<string, string[]> {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return new Map();\n }\n\n const referenceFilePaths = globSync('*/references/**/*.md', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n const indexed = new Map<string, string[]>();\n for (const absoluteReferencePath of referenceFilePaths) {\n const relativeFromSkills = relative(authoredSkillsHome, absoluteReferencePath);\n const skillId = relativeFromSkills.split(/[/\\\\]/u)[0] ?? '';\n if (skillId.length === 0) {\n continue;\n }\n const list = indexed.get(skillId) ?? [];\n list.push(relative(frameworkRoot, absoluteReferencePath));\n indexed.set(skillId, list);\n }\n return indexed;\n }\n\n private static parseIndexCatalogSkillIds(frameworkRoot: string): Set<string> | null {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (!existsSync(indexFilePath)) {\n return null;\n }\n const content = readFileSync(indexFilePath, 'utf8');\n const found = new Set<string>();\n /**\n * The INDEX.md catalog is a set of markdown tables whose first cell opens\n * with the skill id in inline backticks, either bare (`` `journey-run` ``)\n * or bolded (`` **`resource-add-field`** ``). We anchor on that row\n * position rather than sniffing every backtick token in the file.\n *\n * The previous shape walked ALL backticked tokens and kept the ones\n * containing an underscore. That heuristic was load-bearing on the id\n * SPELLING: when skill ids moved from `snake_case` to `kebab-case` (so a\n * `SKILL.md` frontmatter `name` could satisfy the host's `[a-z0-9-]+`\n * rule) it would have reported all 102 skills as absent from the catalog,\n * and the naive kebab port of it (`includes('-')`) would have mistaken\n * ordinary prose tokens — `market-context-for-icp`, `reflect-metadata` —\n * for skills that no longer exist. Row anchoring is exact in both\n * directions and does not care how an id is spelled.\n */\n for (const match of content.matchAll(/^\\|\\s*(?:\\*\\*)?`([a-z0-9][a-z0-9-]*)`/gmu)) {\n found.add(match[1]);\n }\n return found;\n }\n\n // ─── Skill parsing helpers ───────────────────────────────────────────────\n\n private static parseFrontmatter(rawContent: string): SkillFrontmatter {\n const trimmed = rawContent.trimStart();\n if (!trimmed.startsWith('---')) {\n return { name: null, description: null, rawBlock: null };\n }\n const closeIndex = trimmed.indexOf('\\n---', 3);\n if (closeIndex === -1) {\n return { name: null, description: null, rawBlock: null };\n }\n const block = trimmed.slice(3, closeIndex).trim();\n const name = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'name');\n const description = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'description');\n return { name, description, rawBlock: block };\n }\n\n private static parseFrontmatterScalar(block: string, key: string): string | null {\n const lines = block.split('\\n');\n const buffer: string[] = [];\n let collecting = false;\n for (const line of lines) {\n if (!collecting) {\n const match = line.match(new RegExp(`^${key}\\\\s*:\\\\s*(.*)$`, 'u'));\n if (match) {\n const remainder = match[1].trim();\n if (remainder.length > 0) {\n buffer.push(remainder);\n }\n collecting = true;\n continue;\n }\n } else {\n if (/^[a-zA-Z0-9_]+\\s*:/u.test(line)) {\n break;\n }\n const continuation = line.trim();\n if (continuation.length > 0) {\n buffer.push(continuation);\n }\n }\n }\n if (buffer.length === 0) {\n return collecting ? '' : null;\n }\n return buffer.join(' ').trim();\n }\n\n private static extractMarkdownSection(content: string, headingNeedles: string[]): string | null {\n const lines = content.split('\\n');\n const lowercasedNeedles = headingNeedles.map((needle) => needle.toLowerCase());\n let captureStart: number | null = null;\n let currentDepth: number | null = null;\n let openFence: MarkdownCodeFence | null = null;\n const buffer: string[] = [];\n\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n\n if (openFence !== null) {\n if (FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {\n openFence = null;\n }\n if (captureStart !== null) {\n buffer.push(line);\n }\n continue;\n }\n\n // Markdown permits shell comments such as `# explain the invariant`\n // inside fenced code. Those bytes are not headings and must not end the\n // enclosing Verification section. Keep section discovery and Rule 11's\n // code-block discovery on one fence grammar so the two consumers cannot\n // disagree about which bytes form the runnable block.\n const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);\n if (openingFence !== null) {\n openFence = openingFence;\n if (captureStart !== null) {\n buffer.push(line);\n }\n continue;\n }\n\n const headingMatch = line.match(/^(#{1,6})\\s+(.+?)\\s*$/u);\n if (headingMatch) {\n const depth = headingMatch[1].length;\n const title = headingMatch[2].trim().toLowerCase();\n if (captureStart !== null && currentDepth !== null && depth <= currentDepth) {\n break;\n }\n if (lowercasedNeedles.includes(title)) {\n captureStart = lineIndex + 1;\n currentDepth = depth;\n continue;\n }\n }\n if (captureStart !== null) {\n buffer.push(line);\n }\n }\n\n if (captureStart === null) {\n return null;\n }\n return buffer.join('\\n');\n }\n\n private static collectPlaceholdersInContent(content: string, filePath: string): ReferencePlaceholderOccurrence[] {\n const occurrences: ReferencePlaceholderOccurrence[] = [];\n const lines = content.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n REFERENCE_PLACEHOLDER_REGEX.lastIndex = 0;\n let match: RegExpExecArray | null;\n while ((match = REFERENCE_PLACEHOLDER_REGEX.exec(line)) !== null) {\n occurrences.push({\n id: match[1].trim(),\n line: lineIndex + 1,\n filePath,\n });\n }\n }\n return occurrences;\n }\n\n private static collectCodeBlocks(content: string): SkillCodeBlock[] {\n const blocks: SkillCodeBlock[] = [];\n const lines = content.split('\\n');\n let openIndex: number | null = null;\n let openFence: MarkdownCodeFence | null = null;\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n\n if (openFence === null) {\n const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);\n if (openingFence !== null) {\n openIndex = lineIndex;\n openFence = openingFence;\n }\n continue;\n }\n\n if (!FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {\n continue;\n }\n\n const startLine = openIndex! + 1;\n const endLine = lineIndex + 1;\n const lineCount = endLine - startLine - 1;\n const contextStart = Math.max(0, openIndex! - 8);\n blocks.push({\n language: openFence.infoString.trim().split(/\\s+/u)[0]?.toLowerCase() ?? '',\n startLine,\n endLine,\n lineCount,\n precedingContext: lines.slice(contextStart, openIndex!).join('\\n'),\n });\n openIndex = null;\n openFence = null;\n }\n return blocks;\n }\n\n /**\n * Parse an opening fenced-code delimiter using the CommonMark structural\n * boundary relevant to this audit: at most three leading spaces, at least\n * three equal backticks/tildes, and no backtick inside a backtick fence's\n * info string. Four-space-indented text is an ordinary code block, not a\n * delimiter, so it must never hide a later `## Verification` heading.\n */\n private static parseMarkdownCodeFenceOpening(line: string): MarkdownCodeFence | null {\n const match = line.match(/^( {0,3})(`{3,}|~{3,})(.*)$/u);\n if (!match) {\n return null;\n }\n const sequence = match[2];\n const infoString = match[3].replace(/\\r$/u, '');\n if (sequence[0] === '`' && infoString.includes('`')) {\n return null;\n }\n return {\n marker: sequence[0] as '`' | '~',\n length: sequence.length,\n infoString: infoString.trim(),\n };\n }\n\n /** A closing fence has the same marker, sufficient length and no suffix other than whitespace. */\n private static isMarkdownCodeFenceClosing(line: string, openFence: MarkdownCodeFence): boolean {\n const match = line.match(/^( {0,3})(`{3,}|~{3,})[ \\t\\r]*$/u);\n if (!match) {\n return false;\n }\n const sequence = match[2];\n return sequence[0] === openFence.marker && sequence.length >= openFence.length;\n }\n\n /**\n * Aggregates `{{REFERENCE:<id>}}` placeholders across SKILL.md plus\n * every `references/*.md` and `examples/*.md` belonging to each\n * skill, plus every playbook's `method.md`. The audit treats all of\n * them uniformly because they all flow through the generator's\n * reference expansion step — a bad id in ANY of them is a\n * `generate-docs` crash (`expandTemplateReferences` throws), so it\n * must FAIL here at PR time instead (Rule 14 for playbook bodies).\n */\n private static collectReferencePlaceholders(\n frameworkRoot: string,\n skills: ParsedSkill[],\n playbooks: ParsedPlaybook[],\n ): ReferencePlaceholderOccurrence[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const occurrences: ReferencePlaceholderOccurrence[] = [];\n for (const skill of skills) {\n occurrences.push(...skill.referencePlaceholders);\n }\n\n const supportingMarkdownFiles = globSync('*/{references,examples}/**/*.md', {\n cwd: layout.frameworkKnowledgeAuthoredSkillsHome,\n nodir: true,\n absolute: true,\n });\n for (const absoluteFilePath of supportingMarkdownFiles) {\n const content = readFileSync(absoluteFilePath, 'utf8');\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n content,\n relative(frameworkRoot, absoluteFilePath),\n ),\n );\n }\n\n for (const playbook of playbooks) {\n if (playbook.methodContent === null) {\n continue;\n }\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n playbook.methodContent,\n playbook.methodFilePath,\n ),\n );\n }\n\n /**\n * The authored skills INDEX.md flows through the same reference\n * expansion since the P-24 router fix — a bad id there crashes\n * `generate-docs` exactly like a bad id in a skill body, so it rides\n * Rules 1/2 too.\n */\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (existsSync(indexFilePath)) {\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n readFileSync(indexFilePath, 'utf8'),\n relative(frameworkRoot, indexFilePath),\n ),\n );\n }\n\n /**\n * Authored RULES flow through the same reference expansion (`renderAuthoredMarkdownFile`,\n * `replacements: {}`), so a bad id in a rule crashes `generate-docs` exactly like a bad id in a\n * skill body — and until 2026-09-07 no audit rule read this directory at all, which is what let\n * #98's authored-and-never-delivered rule pass a green audit.\n */\n for (const ruleFilePath of FrameworkKnowledgeAuditService.listAuthoredRuleFiles(frameworkRoot)) {\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n readFileSync(ruleFilePath, 'utf8'),\n relative(frameworkRoot, ruleFilePath),\n ),\n );\n }\n\n return occurrences;\n }\n\n // ─── Rules ───────────────────────────────────────────────────────────────\n\n private static checkRule1ReferencePlaceholderToUnknownId(params: {\n registeredIds: Set<string>;\n placeholders: ReferencePlaceholderOccurrence[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const placeholder of params.placeholders) {\n if (!params.registeredIds.has(placeholder.id)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `{{REFERENCE:${placeholder.id}}} cites an id that is not in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,\n location: `${placeholder.filePath}:${placeholder.line}`,\n });\n }\n }\n }\n\n private static checkRule2ReferencePlaceholderWithoutAnchor(params: {\n registeredIds: Set<string>;\n anchorIdToSpans: Map<string, AnchorSpan[]>;\n placeholders: ReferencePlaceholderOccurrence[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const placeholder of params.placeholders) {\n if (!params.registeredIds.has(placeholder.id)) {\n continue;\n }\n const spans = params.anchorIdToSpans.get(placeholder.id);\n if (!spans || spans.length === 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderWithoutAnchor,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `{{REFERENCE:${placeholder.id}}} resolves at generation time but has zero @wildo_source spans in engine/, platform/, examples/, or docs/.`,\n location: `${placeholder.filePath}:${placeholder.line}`,\n });\n }\n }\n }\n\n private static checkRule3AnchorWithoutRegistryEntry(params: {\n registeredIds: Set<string>;\n anchorSpans: AnchorSpan[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const reportedAnchorIds = new Set<string>();\n for (const span of params.anchorSpans) {\n if (params.registeredIds.has(span.id)) {\n continue;\n }\n const dedupeKey = `${span.id}|${span.filePath}:${span.line}`;\n if (reportedAnchorIds.has(dedupeKey)) {\n continue;\n }\n reportedAnchorIds.add(dedupeKey);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `@wildo_source anchor \"${span.id}\" is not registered in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS. Either register the id or remove the anchor.`,\n location: `${span.filePath}:${span.line}`,\n });\n }\n }\n\n private static checkRule4SkillFrontmatterIncomplete(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const missing: string[] = [];\n if (!skill.frontmatter.name || skill.frontmatter.name.length === 0) {\n missing.push('name');\n }\n if (!skill.frontmatter.description || skill.frontmatter.description.length === 0) {\n missing.push('description');\n }\n if (missing.length === 0) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillFrontmatterIncomplete,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md frontmatter missing required key(s): ${missing.join(', ')}.`,\n location: skill.skillFilePath,\n });\n }\n }\n\n /**\n * Rule 22 — the frontmatter `name` must BE the folder id, and the folder id\n * must be a name the host can address.\n *\n * Deliberately one rule rather than two: \"kebab-case\" and \"equals the\n * folder\" are the same invariant seen from two sides — there is exactly one\n * skill id, and both surfaces must spell it. Splitting them would let a\n * fix satisfy one and leave the other, which is how the two spellings\n * diverged in the first place.\n */\n private static checkRule22SkillNameNotHostAddressable(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const declaredName = skill.frontmatter.name ?? '';\n if (declaredName.length === 0) {\n // Rule 4 already owns the missing-key finding; do not double-report.\n continue;\n }\n if (!HOST_ADDRESSABLE_SKILL_NAME_PATTERN.test(declaredName)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: skill.skillFilePath,\n });\n continue;\n }\n if (declaredName !== skill.skillId) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: skill.skillFilePath,\n });\n }\n }\n }\n\n /** Rule 32 — see {@link FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable}. */\n private static checkRule32SkillDeclaresUserInvocable(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n if (!/^user-invocable\\s*:/mu.test(skill.frontmatter.rawBlock ?? '')) continue;\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md declares \\`user-invocable\\`. The generator owns it and marks every knowledge skill hidden from the / menu; a skill a person should invoke is a command — author it under src/claude-plugin/skills/.`,\n location: skill.skillFilePath,\n });\n }\n }\n\n /**\n * Rule 31 — refuse a non-Markdown file under a skill's `references/` or `examples/`.\n *\n * Walks EVERY file rather than globbing `*.md`, because the defect this catches is precisely a\n * file the markdown globs cannot see. `scripts/` is excluded by construction: it is the\n * designated executable channel.\n */\n private static checkRule31SkillSupportingFileIsNotMarkdown(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const layout = resolveFrameworkLayout(params.frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return;\n }\n\n const supportingFiles = globSync('*/{references,examples}/**/*', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n for (const absoluteFilePath of supportingFiles) {\n if (absoluteFilePath.toLowerCase().endsWith('.md')) {\n continue;\n }\n const relativeFromSkills = relative(authoredSkillsHome, absoluteFilePath);\n const supportingDirectory = relativeFromSkills.split(/[/\\\\]/u)[1] ?? 'references';\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillSupportingFileIsNotMarkdown,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `A skill's ${supportingDirectory}/ is a prose channel, and this file is not Markdown. It would be copied verbatim into every generated application while staying invisible to check:example-drift (which matches *.example.ts(x) by name) and to this audit's markdown-only reference scan. ` +\n `Move a code sample into the package that owns the contract, name it *.example.ts(x), anchor it with @wildo_source, register the id, and cite it from the prose with a REFERENCE placeholder.`,\n location: relative(params.frameworkRoot, absoluteFilePath),\n });\n }\n }\n\n private static checkRule5SkillDescriptionExceedsHardLimit(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const description = skill.frontmatter.description ?? '';\n if (description.length <= DESCRIPTION_HARD_LIMIT_CHARS) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDescriptionExceedsHardLimit,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md description is ${description.length} characters; hard limit is ${DESCRIPTION_HARD_LIMIT_CHARS} (some agent runtimes refuse to load longer descriptions).`,\n location: skill.skillFilePath,\n });\n }\n }\n\n private static checkRule6RegistryEntryWithoutAnchor(params: {\n registeredIds: Set<string>;\n anchorIdToSpans: Map<string, AnchorSpan[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const id of params.registeredIds) {\n const spans = params.anchorIdToSpans.get(id);\n if (spans && spans.length > 0) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.RegistryEntryWithoutAnchor,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Registry id \"${id}\" has no matching @wildo_source span. The id is reserved but not yet wired into source.`,\n location: REGISTRY_RELATIVE_PATH,\n });\n }\n }\n\n /**\n * Does every `references/…` path a SKILL.md names actually exist?\n *\n * Matches the citation SHAPE rather than prose mentioning a filename, so an\n * example or a sentence about references cannot produce a finding. Only\n * `references/<name>.md` counts, which is the form every skill uses to tell\n * the agent what to open.\n */\n private static checkRuleSkillCitesMissingReferenceFile(params: {\n skills: ParsedSkill[];\n referenceFilesBySkill: Map<string, string[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /*\n * Satisfied by a file in ANY skill, not only this one — calibrated against\n * the live catalog rather than assumed.\n *\n * A \"Related skills\" section legitimately points across the catalog\n * (`resource-schema-authoring` → `references/framework-schema-family-api.md`),\n * which names another skill's file as prose rather than instructing the\n * agent to open a local path. Scoping this rule per-skill reported all three\n * such lines as defects on its first run. What it must actually catch is a\n * citation naming a file that exists NOWHERE — the authoring slip where a\n * file was written to the wrong path, which is indistinguishable from one\n * never written.\n */\n const presentAnywhere = new Set(\n [...params.referenceFilesBySkill.values()].flat().map((filePath) => basename(filePath)),\n );\n for (const skill of params.skills) {\n const present = presentAnywhere;\n const cited = new Set(\n [...skill.rawContent.matchAll(/references\\/([A-Za-z0-9._-]+\\.md)/gu)].map((match) => match[1] as string),\n );\n for (const citedFile of cited) {\n if (present.has(citedFile)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillCitesMissingReferenceFile,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `${skill.skillId}/SKILL.md tells the agent to read references/${citedFile}, which does not exist. `\n + 'A dangling citation ships an instruction the agent cannot follow — and a file written to the wrong '\n + 'path looks identical to one never written.',\n location: `${SKILL_DIRECTORY_NAME}/${skill.skillId}/SKILL.md`,\n });\n }\n }\n }\n\n private static checkRule7ReferenceFileNotCitedInSkill(params: {\n skills: ParsedSkill[];\n referenceFilesBySkill: Map<string, string[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const skillIndex = new Map<string, ParsedSkill>(params.skills.map((skill) => [skill.skillId, skill]));\n for (const [skillId, referenceFilePaths] of params.referenceFilesBySkill.entries()) {\n const skill = skillIndex.get(skillId);\n if (!skill) {\n continue;\n }\n const referencesSection = skill.referenceSectionContent ?? '';\n for (const referenceFilePath of referenceFilePaths) {\n const fileBasename = basename(referenceFilePath);\n const fileStem = fileBasename.replace(/\\.md$/u, '');\n const cited = referencesSection.includes(fileBasename) || referencesSection.includes(fileStem);\n if (cited) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferenceFileNotCitedInSkill,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `references/${fileBasename} exists but is not cited in ${skillId}/SKILL.md ## References. Either cite it or delete the file.`,\n location: referenceFilePath,\n });\n }\n }\n }\n\n private static checkRule8IndexCatalogMismatch(params: {\n skills: ParsedSkill[];\n indexCatalogSkillIds: Set<string> | null;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n if (params.indexCatalogSkillIds === null) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: 'skills/INDEX.md not found — the catalog file is required so the router can resolve skills by trigger phrase.',\n location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,\n });\n return;\n }\n\n const skillIds = new Set<string>(params.skills.map((skill) => skill.skillId));\n for (const skill of params.skills) {\n if (params.indexCatalogSkillIds.has(skill.skillId)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Skill folder \"${skill.skillId}\" exists but is not listed in skills/INDEX.md. Add a row so the router can route to it.`,\n location: skill.skillFilePath,\n });\n }\n for (const indexSkillId of params.indexCatalogSkillIds) {\n if (skillIds.has(indexSkillId)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `skills/INDEX.md references skill \"${indexSkillId}\" but no matching skill folder exists.`,\n location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,\n });\n }\n }\n\n private static checkRule9SkillDescriptionMissingTriggerPhrasing(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const description = skill.frontmatter.description ?? '';\n if (description.length === 0) {\n continue;\n }\n const lowercased = description.toLowerCase();\n const hasCueWord =\n lowercased.includes('use when')\n || lowercased.includes('use this skill when')\n || lowercased.includes('common asks:')\n || lowercased.includes('triggers:')\n || lowercased.includes('triggered by');\n const quotedFragments = description.match(/\"[^\"]{4,}\"/gu) ?? [];\n if (hasCueWord || quotedFragments.length >= 2) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDescriptionMissingTriggerPhrasing,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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 ? '…' : ''}\"`,\n location: skill.skillFilePath,\n });\n }\n }\n\n private static checkRule10TierCExampleWithoutWaiver(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const fileMentionsWaiver = skill.rawContent.includes(TIER_C_WAIVER_TOKEN);\n for (const codeBlock of skill.codeBlocks) {\n if (codeBlock.lineCount <= SKILL_CODE_BLOCK_LINE_THRESHOLD) {\n continue;\n }\n if (!SKILL_CODE_BLOCK_LANGUAGES.has(codeBlock.language)) {\n continue;\n }\n const blockHasNearbyWaiver = codeBlock.precedingContext.includes(TIER_C_WAIVER_TOKEN);\n if (blockHasNearbyWaiver || fileMentionsWaiver) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.TierCExampleWithoutWaiver,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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.`,\n location: `${skill.skillFilePath}:${codeBlock.startLine}`,\n });\n }\n }\n }\n\n /**\n * Verification sections in our canonical skill shape (see\n * `.cursor/rules/framework-knowledge-authoring.mdc`) carry grep\n * invariants in **either** of two forms:\n *\n * - Fenced shell blocks (` ```bash … ``` `) — preferred for multi-line\n * pipelines or `comm`-based diffs.\n * - Inline-backtick commands in markdown tables (`` `rg pattern` ``) —\n * the dominant pattern, since most invariants are one-liners with a\n * substitution placeholder (`<resource>`, `<field>`).\n *\n * The audit accepts either; the warning fires only when the\n * Verification section has neither — i.e., the agent has nothing\n * mechanical to execute.\n */\n private static checkRule11VerificationSectionMissingGrepInvariants(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const verificationContent = skill.verificationSectionContent;\n if (verificationContent === null) {\n continue;\n }\n const shellFences = FrameworkKnowledgeAuditService.collectCodeBlocks(verificationContent).filter((fence) =>\n ['bash', 'sh', 'shell', 'console', 'zsh'].includes(fence.language),\n );\n const hasInlineGrepInvariant = FrameworkKnowledgeAuditService.containsInlineGrepInvariant(verificationContent);\n\n if (shellFences.length === 0 && !hasInlineGrepInvariant) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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.',\n location: skill.skillFilePath,\n });\n continue;\n }\n\n if (shellFences.length === 0) {\n continue;\n }\n\n const verificationLines = verificationContent.split('\\n');\n for (const fence of shellFences) {\n const fenceBodyLines = verificationLines\n .slice(fence.startLine, fence.endLine - 1)\n .map((line) => line.trim())\n .filter((line) => line.length > 0 && !line.startsWith('#'));\n if (fenceBodyLines.length === 0) {\n continue;\n }\n const firstCommand = fenceBodyLines[0];\n const looksRunnable = RUNNABLE_GREP_INVARIANT_PREFIXES.some((prefix) =>\n firstCommand.startsWith(`${prefix} `) || firstCommand === prefix,\n );\n if (looksRunnable) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `## Verification shell block does not start with a runnable command (${RUNNABLE_GREP_INVARIANT_PREFIXES.join(' / ')}). First non-comment line: \"${firstCommand.slice(0, 80)}\".`,\n location: skill.skillFilePath,\n });\n }\n }\n }\n\n private static containsInlineGrepInvariant(verificationContent: string): boolean {\n return /`(?:rg|grep|comm|pnpm|wildo|node|jq|find|diff)\\s[^`]+`/u.test(verificationContent);\n }\n\n /**\n * Rule 12 — every `@wildo_source:part:start <id>` must be paired\n * with a matching `@wildo_source:part:end <id>` in the same file.\n *\n * Without the end marker, `FrameworkKnowledgeGenerationService`\n * extracts the anchored span all the way to end-of-file as a\n * fallback (and emits an `Unclosed @wildo_source:part:start` warning),\n * which silently bloats the generated `dist/knowledge/` markdown\n * with whatever happened to follow the open marker. That defect\n * shipped at least once before the audit existed (the\n * `saas.models.resource-config.builder-parameters` anchor in\n * `engine/saas-models/.../resources-config.shared.schemas.ts`),\n * so this is a first-class FAIL — the audit catches the regression\n * at PR time instead of letting it surface only when somebody runs\n * `wildo fwk generate-docs` and notices the warning.\n */\n private static checkRule12AnchorWithoutEndMarker(params: {\n unclosedAnchors: UnclosedAnchor[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const anchor of params.unclosedAnchors) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutEndMarker,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${anchor.filePath}:${anchor.startLine}`,\n });\n }\n }\n\n /**\n * Rule 21 — one anchor id must not extract BYTE-IDENTICAL content from more\n * than one source file.\n *\n * Every other rule in this service checks anchor <-> registry <-> skill <->\n * INDEX *integrity*, and integrity survives a duplicated source tree\n * perfectly: each copy carries a well-formed anchor whose id is registered\n * and cited. So the audit reported a clean bill of health while\n * `dist/knowledge/skills/market-icp/SKILL.md` shipped 21 concatenated copies\n * of the same worked example, 20 of them frozen at an older revision of the\n * app. (Root cause: gitignored meta-workflow integration-test application\n * copies under `.wildo-saas/tmp/` were inside the scan universe. Fixed in the\n * shared scan ignore contract; this rule is the guard that makes any\n * recurrence — from that tree or a future one — fail at PR time.)\n *\n * Keyed on CONTENT rather than on \"id appears in N files\" on purpose. Spanning\n * one id across several files is a legitimate, documented pattern: the\n * generator ACCUMULATES spans, so `zod.decorators.file-schema` covers two\n * sources and `example.resource.add-field.priority-enum` covers a schema plus\n * its enum file. Those contribute DIFFERENT bodies and must stay legal.\n * Identical bodies under one id have no valid authoring meaning — they can\n * only duplicate the compiled excerpt — which is what makes a FAIL safe here.\n * Verified against the live tree: 25 ids would have fired before the scan fix,\n * 0 after.\n */\n private static checkRule21AnchorIdDuplicateSourceContent(params: {\n spans: AnchorSpan[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /** id -> contentDigest -> distinct source files contributing that exact body. */\n const filesByDigestById = new Map<string, Map<string, Set<string>>>();\n\n for (const span of params.spans) {\n if (span.contentDigest === undefined) {\n continue;\n }\n const byDigest = filesByDigestById.get(span.id) ?? new Map<string, Set<string>>();\n const files = byDigest.get(span.contentDigest) ?? new Set<string>();\n files.add(span.filePath);\n byDigest.set(span.contentDigest, files);\n filesByDigestById.set(span.id, byDigest);\n }\n\n for (const [anchorId, byDigest] of [...filesByDigestById.entries()].sort(([left], [right]) => left.localeCompare(right))) {\n for (const duplicateFiles of byDigest.values()) {\n if (duplicateFiles.size < 2) {\n continue;\n }\n const sortedFiles = [...duplicateFiles].sort((left, right) => left.localeCompare(right));\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorIdDuplicateSourceContent,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `@wildo_source anchor \"${anchorId}\" extracts identical content from ${sortedFiles.length} files, so the compiled reference will repeat that excerpt ${sortedFiles.length} times: `\n + `${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. `\n + `Anchoring ONE id across several files is legal when each contributes DIFFERENT content; identical content is not.`,\n location: sortedFiles[0],\n });\n }\n }\n }\n\n /**\n * Rule 13 — every `method.skillRefs[]` entry must name a discovered\n * authored skill folder. Playbooks delegate the technical HOW to\n * app-knowledge skills; a dangling ref would only surface at runtime\n * inside the companion's PlaybookRegistryService.\n */\n private static checkRule13PlaybookSkillRefToUnknownSkill(params: {\n skills: ParsedSkill[];\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const skillIds = new Set<string>(params.skills.map((skill) => skill.skillId));\n for (const playbook of params.playbooks) {\n const declaredRefs = FrameworkKnowledgeAuditService.readPlaybookSkillRefs(playbook);\n for (const skillRef of declaredRefs) {\n if (skillIds.has(skillRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" references skill \"${skillRef}\" in method.skillRefs, but no matching skill folder exists under src/skills/.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n /*\n * `skillBodyRefs` is a SUBSET of `skillRefs` (#1435). The subset is the whole bound: a body\n * is the one section of a brief whose size is set by an authored document rather than by the\n * application's own data, and naming one the method never declared would put a contract in\n * the brief that the guidance never tells the model to follow — a document read with no\n * instruction attached, which is how a model comes to apply a contract out of context.\n */\n const declared = new Set(declaredRefs);\n for (const bodyRef of FrameworkKnowledgeAuditService.readPlaybookSkillBodyRefs(playbook)) {\n if (declared.has(bodyRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" declares skill \"${bodyRef}\" in method.skillBodyRefs without naming it in method.skillRefs. `\n + 'A body is delivered because the guidance says to follow it, so the two declarations must agree — add the ref to skillRefs, or remove it here.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 15 — playbook contract checks, all buildless:\n *\n * - folder contract violations that the generator hard-throws on\n * (unparseable or non-object JSON / folder-ref mismatch / missing\n * method.md / inline `method.guidance`), surfaced here so they fail\n * the PR instead of crashing `generate-docs`;\n * - `outputs[].schemaRef` FORMAT check against the P-33 vocabulary\n * (deep export-resolution deliberately deferred — no import-prober);\n * - `ref@version` uniqueness across the authored catalog;\n * - forbidden topic-implicit placeholders in `method.md`.\n */\n /**\n * Rule 23 — every family a playbook depends on must be produced by SOME playbook in the catalog.\n *\n * Deliberately checked against the catalog's own producers rather than against the runtime's\n * landing-target map: a family with a landing target and no producer is still unreachable through\n * the journey, which is what a creator experiences. `compliance-document-fact-projection` has\n * neither, and `business-model` has a landing target and no producer — one rule catches both.\n */\n private static checkRule23PlaybookInputFamilyWithNoProducer(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const produced = new Set<string>();\n for (const playbook of params.playbooks) {\n for (const family of FrameworkKnowledgeAuditService.readPlaybookOutputFamilies(playbook)) produced.add(family);\n }\n // A catalog that parsed to zero producers would report every dependency as dangling, which reads\n // as a broken catalog rather than a broken reader. Say nothing instead — the same reason the\n // code-conduct checkers ship a `--self-test`: a matcher that matches nothing and a clean repo\n // must not look identical.\n if (produced.size === 0) return;\n for (const playbook of params.playbooks) {\n const reported = new Set<string>();\n for (const { family, via } of FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook)) {\n if (produced.has(family) || reported.has(family)) continue;\n reported.add(family);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" declares artifact family \"${family}\" as ${via === 'precondition' ? 'a PRECONDITION' : 'an INPUT'}, but no playbook in the catalog produces it. `\n + (via === 'precondition'\n ? 'A precondition on an unproducible family makes this playbook permanently ineligible — it can never appear on the eligibility board. '\n : 'The prompt will silently lose that truth section on every run, and any method branch conditioned on it can never execute. ')\n + 'Either author a playbook that produces it, or remove the declaration.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 24 — a family gated at READINESS strength must also be declared as an INPUT.\n *\n * ## What this protects, and why it is not merely tidiness\n *\n * Derived-staleness (`deriveOneFamilyFreshness`, application-creation runtime) asks \"did any input\n * this output was derived from move since it was committed?\" — and it reads the playbook's OWN\n * `inputs[]`. A playbook that gates on a family it never declares as an input under-reports: the\n * family silently drops out of the comparison, and a family not reported as moved reads as a family\n * that is current. That is the dangerous direction\n * (`.claude/rules/negative-results-require-a-positive-probe.md`).\n *\n * ## Why READINESS only, and why this rule is not the obvious one\n *\n * `ARTIFACT_EXISTS` / `ARTIFACT_VALID` are READINESS: running without the family produces garbage,\n * so the playbook is asserting that it needs the family's CONTENT. `ARTIFACT_EXPECTED` is\n * SEQUENCING — \"this should come first\" — and gating on order without reading the content is\n * legitimate, so it is deliberately excluded. No playbook uses EXPECTED today; excluding it costs\n * nothing now and prevents a false positive the first time one does.\n *\n * The OBVIOUS rule — \"a family NAMED in method prose must be a declared input\" — was written,\n * measured against the live catalog on 2026-08-29, and REJECTED: five candidates, five false\n * positives. Every one was prose about what happens downstream (`\"the downstream scope/roadmap\n * playbook slots each feature\"`) or an explicit out-of-scope statement (`\"Keep ... the requirements\n * family out of scope\"`), and one matched the ordinary English of `\"documentation requirements\"`.\n * A checker that fires mostly on correctly-authored prose trains readers to skim, which costs more\n * than the claims it catches (`external-specification-citations.md`, the `documents` verb).\n *\n * ## FAIL as of 2026-09-01\n *\n * Unlike rules 23 and 27 this one never needed a WARN period, and for rule 26's reason: there is no\n * undecided product decision in it. A readiness gate asserts the playbook needs that family's\n * CONTENT, so declaring it in `inputs[]` is mechanical — or the gate should be weakened to\n * `artifact_expected`, which is equally mechanical. Nothing here waits on anyone's call.\n *\n * ## It ships at ZERO, which is the point and also the hazard\n *\n * All 16 playbooks with preconditions satisfy it today. A rule at zero and a rule whose discovery\n * is broken report identically, so the pins in\n * `__tests__/framework-knowledge-audit.service.test.ts` plant a VIOLATING playbook and assert it\n * fires, plant a SEQUENCING-gated one and assert it does not, and plant a clean one and assert\n * silence. Without all three, a rule that fired on every gate would still look correct.\n */\n private static checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /*\n * Every READINESS kind that gates on a family's content (#1606 review, finding 4): a decision gate\n * reads what the family decided, and a staleness gate what it was derived from, so both need the\n * family as an input exactly as `artifact_exists` does. Mirrors `PRECONDITION_CLASS_BY_KIND` in the\n * runtime, which this buildless audit cannot import.\n */\n const readinessKinds = new Set(['artifact_exists', 'artifact_valid', 'artifact_decides', 'artifact_stale']);\n /*\n * Say nothing when the catalog declares NO inputs at all — the guard rules 23 and 26 carry, added\n * here when this rule was promoted (2026-09-01).\n *\n * The failure DIRECTION is what makes it necessary. If `inputs[]` stopped parsing while\n * preconditions still did, `declaredInputs` would be empty for EVERY playbook and every readiness\n * gate in the catalog would be reported — a reader bug presenting as a catalog-wide defect. As a\n * warning that is noise; in the FAIL channel it is a merge block on a catalog that is fine.\n *\n * The blind spot it buys, stated rather than discovered: a catalog where nothing declares an input\n * AND something gates at readiness strength goes unreported. Such a catalog has a larger problem\n * than this rule was written to find.\n */\n const catalogDeclaresAnyInput = params.playbooks.some((playbook) =>\n FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook).some((entry) => entry.via === 'input'));\n if (!catalogDeclaresAnyInput) return;\n for (const playbook of params.playbooks) {\n const required = FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook);\n const declaredInputs = new Set(required.filter((entry) => entry.via === 'input').map((entry) => entry.family));\n const reported = new Set<string>();\n for (const entry of required) {\n if (entry.via !== 'precondition' || entry.kind === undefined || !readinessKinds.has(entry.kind)) continue;\n if (declaredInputs.has(entry.family) || reported.has(entry.family)) continue;\n reported.add(entry.family);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" gates on artifact family \"${entry.family}\" at READINESS strength (${entry.kind}) `\n + 'but does not declare it in `inputs[]`. A readiness gate asserts the playbook needs that family\\'s CONTENT, so the '\n + 'declaration is missing: the brief loses that truth section, and derived-staleness silently omits the family from '\n + 'its comparison — a family not reported as moved reads as a family that is current. Add it to `inputs[]`, or '\n + 'weaken the gate to `artifact_expected` if the order is all that matters.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 26 — a `STEP_AVAILABLE` gate must name a step some playbook in the catalog RETURNS.\n *\n * ## The failure it catches is silent and total\n *\n * A `step_available` precondition naming a ref no sibling declares in `stepOutputs[]` can never be\n * satisfied: the choreography scope only ever holds refs a child returned. The playbook is\n * therefore permanently ineligible INSIDE the composite, and nothing says so — the composite simply\n * gathers what it can, never offers that child, and stops with a stop-rationale that is honest\n * about what it was offered and blind to what it was not.\n *\n * That is not hypothetical. The composite's second live run (wonder-crm, 2026-08-29) landed nothing\n * for a different reason with exactly this SHAPE: the producing child was withheld from every\n * eligible set, the model stopped saying nothing further advanced the goal, and only the trace\n * revealed the child had never been on offer. A typo in a step ref reproduces that outcome with no\n * fix available short of reading the catalog by hand.\n *\n * ## Why it also checks `requires.path`\n *\n * A value assertion reads a declared FIELD of the step result. A path the producing step's schema\n * does not declare is the same defect one layer down — the comparison can only ever be `undefined\n * !== expected`, so the gate is permanently closed. The check is deliberately SHALLOW: it verifies\n * the step is declared and carries a `schemaRef` at all, because resolving the schema would mean\n * importing it, and this audit is buildless by design. **That shallowness is a real gap, not a\n * formality**: both adequacy gates carried a `schemaRef` naming the wrong package, passed this rule, and\n * were permanently closed at runtime (2026-09-21, #1273). Resolution is proven by the companion's\n * catalogue sweep (`playbook-step-schema-namespaces.models.test.ts`), and the resolver now refuses an\n * unresolvable contract instead of generating free text.\n *\n * ## FAIL, and why this one never needed a WARN period\n *\n * Rules 23 and 27 shipped soft because their live findings were TRUE and UNDECIDED: producing a\n * family, or teaching the phase derivation, is a product decision, and failing on someone else's\n * pending decision is a refusal with no door. There is no such dimension here. A gate naming an\n * undeclared step is not a decision anybody is weighing — it is a typo or a deleted producer, and\n * both fixes are mechanical (correct the ref, or declare it on the playbook that should produce\n * it). The catalog has never carried one.\n *\n * ## It says nothing when NO playbook declares a step\n *\n * Added 2026-09-01, when this rule was promoted; both siblings had this guard and it did not.\n * Without it a reader that failed to parse `stepOutputs` would report every `step_available` gate\n * in the catalog as dangling — and in the FAIL channel that turns a reader bug into a merge block\n * on a catalog that is fine. A broken reader and a clean catalog must not be indistinguishable,\n * which is the same reason the `scripts/code-conduct/` checkers ship a `--self-test`.\n *\n * The cost of the guard is one blind spot, stated rather than discovered: a catalog where nothing\n * declares a step AND a gate names one is not reported. That is a catalog with no choreography at\n * all, where the gate is inert for a more obvious reason.\n */\n private static checkRule26PlaybookStepGateNamesNoDeclaredStep(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const declaredSteps = new Map<string, { readonly producer: string; readonly schemaRef?: string }>();\n for (const playbook of params.playbooks) {\n const stepOutputs = playbook.json?.stepOutputs;\n if (!Array.isArray(stepOutputs)) continue;\n for (const entry of stepOutputs) {\n const record = entry as Record<string, unknown> | null;\n if (typeof record?.ref === 'string') {\n declaredSteps.set(record.ref, {\n producer: playbook.playbookRef,\n ...(typeof record.schemaRef === 'string' ? { schemaRef: record.schemaRef } : {}),\n });\n }\n }\n }\n // See \"It says nothing when NO playbook declares a step\" above.\n if (declaredSteps.size === 0) return;\n /*\n * The DERIVED half of the step-ref namespace (#1498).\n *\n * A leaf's advisory judge verdict is readable in a composite's run scope under\n * `judge:<playbookRef>`, and NO playbook declares it in `stepOutputs[]` — the runtime derives the\n * ref and writes the value after the leaf lands, because a judge is a property of every landing\n * rather than an output an author writes. Checked against `stepOutputs` alone, every such gate\n * was a FAIL with a message that misdirects (\"declare it on the playbook that should produce\n * it\"), so the adoption the mechanism exists for could not pass CI.\n *\n * What replaces the declaration check is STRONGER than it, not weaker, and that is why this is\n * not an exemption: the suffix must name a real catalog playbook, that playbook must declare an\n * `evaluationTreatmentSource` (without one the judge never runs, so the verdict never exists and\n * the gate is the permanently-ineligible shape this rule is for), and the asserted path must be\n * one the verdict actually has. The shape is fixed by the runtime's own\n * `toRoutableJudgeVerdict`: `{ definitionRef, overall, criteria: { <criterionRef>: verdict } }`.\n */\n const DERIVED_JUDGE_REF_PREFIX = 'judge:';\n const playbooksByRef = new Map(params.playbooks.map((entry) => [entry.playbookRef, entry]));\n for (const playbook of params.playbooks) {\n const preconditions = playbook.json?.preconditions;\n if (!Array.isArray(preconditions)) continue;\n for (const predicate of preconditions) {\n const record = predicate as Record<string, unknown> | null;\n if (record?.kind !== 'step_available' || typeof record.ref !== 'string') continue;\n if (record.ref.startsWith(DERIVED_JUDGE_REF_PREFIX)) {\n FrameworkKnowledgeAuditService.checkDerivedJudgeVerdictGate({\n playbook,\n gateRef: record.ref,\n requires: record.requires as Record<string, unknown> | undefined,\n judgedRef: record.ref.slice(DERIVED_JUDGE_REF_PREFIX.length),\n playbooksByRef,\n findings: params.findings,\n });\n continue;\n }\n const declared = declaredSteps.get(record.ref);\n if (!declared) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" gates on step \"${record.ref}\", which NO playbook declares in \\`stepOutputs[]\\`. `\n + 'A choreography scope only ever holds refs a child returned, so this gate can never be satisfied and the playbook '\n + 'is permanently ineligible inside any composite — silently, because a withheld child leaves no trace in the result. '\n + 'Fix the ref, or declare it on the playbook that should produce it.',\n location: playbook.structuredSourceFilePath,\n });\n continue;\n }\n /*\n * The SOFTER half of this rule, and it keeps the WARN channel deliberately.\n *\n * The gate above is an integrity break: the step does not exist, so the playbook is\n * permanently ineligible. This one is not — the step exists and the gate can be satisfied.\n * What is wrong is that the assertion compares against a field nothing guarantees, so it\n * passes or fails by accident. That is a correctness problem worth reporting and not a\n * reason to block an unrelated merge, which is the line the FAIL channel draws.\n */\n const requires = record.requires as Record<string, unknown> | undefined;\n if (requires !== undefined && declared.schemaRef === undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Playbook \"${playbook.playbookRef}\" asserts a VALUE on step \"${record.ref}\" (\\`requires.path\\`), but \"${declared.producer}\" `\n + 'declares that step with no `schemaRef`. An unschema\\'d step returns whatever the model produced, so the assertion '\n + 'compares against a field nothing guarantees — the gate passes or fails by accident. Give the step a schemaRef, or drop the assertion.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n }\n\n /**\n * One `judge:<playbookRef>` gate, checked against what can actually produce a verdict (#1498).\n *\n * Three ways it can be permanently unsatisfiable, each named at its own cause rather than as \"the\n * step is undeclared\", which is never true of a derived ref:\n *\n * - the suffix names no playbook — a typo, the shape rule 26 exists for;\n * - the named playbook declares no `evaluationTreatmentSource`, so `runPlaybookJudge` is never\n * called for it and no verdict is ever written. This is the silent one: the gate reads as\n * well-formed and the child is simply never eligible;\n * - the asserted path is not one the verdict has. The runtime writes `overall` and\n * `criteria.<criterionRef>` and nothing else, so any other path compares against `undefined`\n * forever. The criterion REF itself is not checked here — the audit deliberately does not parse\n * `evaluationTreatmentSource` (see the export allow-list), so a wrong criterion ref is a gap this\n * states rather than one it hides.\n */\n private static checkDerivedJudgeVerdictGate(params: {\n playbook: ParsedPlaybook;\n gateRef: string;\n requires: Record<string, unknown> | undefined;\n judgedRef: string;\n playbooksByRef: ReadonlyMap<string, ParsedPlaybook>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const judged = params.playbooksByRef.get(params.judgedRef);\n if (!judged) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" gates on the derived judge verdict \"${params.gateRef}\", but \"${params.judgedRef}\" is not a playbook in this catalog. `\n + 'A `judge:<playbookRef>` gate reads the advisory verdict of the leaf it names, so the suffix must be a playbook folder.',\n location: params.playbook.structuredSourceFilePath,\n });\n return;\n }\n if (!judged.declaresEvaluationTreatment) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" gates on the derived judge verdict \"${params.gateRef}\", but \"${params.judgedRef}\" declares no \\`evaluationTreatmentSource\\`. `\n + 'The advisory judge only runs for a playbook that compiles a treatment, so no verdict is ever written under that ref and this gate can never be satisfied — '\n + 'silently, because a withheld child leaves no trace in the result. Author a treatment for that playbook, or drop the gate.',\n location: params.playbook.structuredSourceFilePath,\n });\n return;\n }\n const path = typeof params.requires?.['path'] === 'string' ? params.requires['path'] as string : undefined;\n if (path !== undefined && path !== 'overall' && !path.startsWith('criteria.')) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" asserts \\`requires.path: \"${path}\"\\` on the derived judge verdict \"${params.gateRef}\", which the verdict does not carry. `\n + 'A routable verdict is `{ definitionRef, overall, criteria: { <criterionRef>: verdict } }`, so the path is `overall` for the worst-of summary '\n + 'or `criteria.<criterionRef>` for the one criterion this gate answers.',\n location: params.playbook.structuredSourceFilePath,\n });\n }\n }\n\n private static checkRule15PlaybookContract(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const seenRefVersions = new Map<string, string>();\n\n for (const playbook of params.playbooks) {\n if (playbook.jsonContractError !== null) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" has an unusable canonical structured source: ${playbook.jsonContractError}`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n if (!playbook.methodExists) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" is missing its ${PLAYBOOK_METHOD_FILE_NAME}.`,\n location: playbook.methodFilePath,\n });\n }\n\n if (playbook.json !== null) {\n const declaredRef = playbook.json.ref;\n if (typeof declaredRef === 'string' && declaredRef !== playbook.playbookRef) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook folder \"${playbook.playbookRef}\" declares ref \"${declaredRef}\". The folder name is the loader address — they must match.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n const method = (playbook.json.method ?? {}) as Record<string, unknown>;\n if (method.guidance !== undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n for (const schemaRef of FrameworkKnowledgeAuditService.readPlaybookOutputSchemaRefs(playbook)) {\n if (PLAYBOOK_SCHEMA_REF_REGEX.test(schemaRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookOutputSchemaRefInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" output schemaRef \"${schemaRef}\" does not match the pinned vocabulary ^(saas-models|saas-specifications):<ExportName>$.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n const declaredVersion = playbook.json.version;\n if (typeof declaredRef === 'string' && typeof declaredVersion === 'string') {\n const identity = `${declaredRef}@${declaredVersion}`;\n const firstSeenAt = seenRefVersions.get(identity);\n if (firstSeenAt !== undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookRefVersionDuplicate,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook identity \"${identity}\" is declared more than once (first seen in ${firstSeenAt}). ref@version must be unique across the compiled catalog.`,\n location: playbook.structuredSourceFilePath,\n });\n } else {\n seenRefVersions.set(identity, playbook.structuredSourceFilePath);\n }\n }\n }\n\n if (playbook.methodContent !== null) {\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(playbook.methodContent)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${playbook.methodFilePath}:${hit.lineNumber}`,\n });\n }\n }\n }\n }\n\n private static valuesAreUniqueAndSorted(values: string[]): boolean {\n return new Set(values).size === values.length && values.every((value, index) => index === 0 || (values[index - 1] ?? '') <= value);\n }\n\n /**\n * Skills-INDEX render-surface companion to Rule 15's placeholder lane.\n * Since the P-24 fix ships `src/skills/INDEX.md` through\n * `renderAuthoredMarkdownFile`, a topic-implicit placeholder there would\n * render VERBATIM into the compiled router (the catalog has no topic).\n * Bad `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 via\n * `collectReferencePlaceholders`; this check covers the verbatim lane.\n */\n /**\n * The authored rules home, flat and `.md`-only — the same discovery the generator performs\n * (`readdirSync` + `.md` filter), kept in ONE place so the audit cannot come to disagree with the\n * generator about which files are rules.\n */\n private static listAuthoredRuleFiles(frameworkRoot: string): string[] {\n const rulesHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredRulesHome;\n if (!existsSync(rulesHome)) {\n return [];\n }\n return readdirSync(rulesHome)\n .filter((fileName) => fileName.endsWith('.md'))\n .sort((left, right) => left.localeCompare(right))\n .map((fileName) => join(rulesHome, fileName));\n }\n\n /**\n * Rules-channel companion to the skills-INDEX check above, for the same reason and against the\n * same renderer. An always-on policy shipped into every generated application is the last place a\n * `{{TITLE}}` should survive as four literal characters.\n */\n private static checkAuthoredRulesForbiddenPlaceholders(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const ruleFilePath of FrameworkKnowledgeAuditService.listAuthoredRuleFiles(params.frameworkRoot)) {\n const ruleRelativePath = relative(params.frameworkRoot, ruleFilePath);\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(readFileSync(ruleFilePath, 'utf8'))) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.RuleForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `The authored rule ${ruleRelativePath} uses the topic-implicit placeholder {{${hit.placeholderName}}}. A rule has no topic — the generator would ship it verbatim into every generated application's .claude/rules/. Only {{PARTIAL:…}} and {{REFERENCE:<id>}} are allowed.`,\n location: `${ruleRelativePath}:${hit.lineNumber}`,\n });\n }\n }\n }\n\n private static checkSkillsIndexForbiddenPlaceholders(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const layout = resolveFrameworkLayout(params.frameworkRoot);\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (!existsSync(indexFilePath)) {\n return;\n }\n const indexRelativePath = relative(params.frameworkRoot, indexFilePath);\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(readFileSync(indexFilePath, 'utf8'))) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillsIndexForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${indexRelativePath}:${hit.lineNumber}`,\n });\n }\n }\n\n /**\n * Scans markdown for topic-implicit placeholders. One hit per\n * OCCURRENCE — the regex is global, so two placeholders sharing a line\n * yield two hits (a per-line `exec` would silently drop the second).\n */\n private static collectForbiddenTopicImplicitPlaceholders(\n markdownContent: string,\n ): Array<{ lineNumber: number; placeholderName: string }> {\n const hits: Array<{ lineNumber: number; placeholderName: string }> = [];\n const lines = markdownContent.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n for (const match of lines[lineIndex].matchAll(FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX)) {\n hits.push({ lineNumber: lineIndex + 1, placeholderName: match[1] });\n }\n }\n return hits;\n }\n\n /** The wire values rule 28 joins a placeholder against — lifted enum-aware by the parser. */\n private static readPlaybookContextSources(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const contextSources = method.contextSources;\n if (!Array.isArray(contextSources)) return [];\n return contextSources.filter((entry): entry is string => typeof entry === 'string');\n }\n\n /**\n * Rule 28 — every `{{CONTEXT_SOURCE:<member>}}` in a playbook's method.md names a real\n * `MetaWorkflow_ContextSource` member that the playbook DECLARES. See the enum member's JSDoc for\n * why this join exists; the generator enforces the same predicate fail-closed at compile.\n */\n private static checkRule28PlaybookContextSourcePlaceholder(params: {\n playbooks: ParsedPlaybook[];\n contextSourceValues: ReadonlySet<string>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n // Zero-guard, rule 27's discipline: an empty member set is indistinguishable from a parser that\n // lost the enum, and failing every placeholder in the catalog on a broken read would train\n // authors to stop using the placeholder — the opposite of the norm it exists to convert.\n if (params.contextSourceValues.size === 0) return;\n const placeholderRegex = /\\{\\{CONTEXT_SOURCE:([a-z0-9_]+)\\}\\}/gu;\n for (const playbook of params.playbooks) {\n if (playbook.methodContent === null) continue;\n const declared = new Set(FrameworkKnowledgeAuditService.readPlaybookContextSources(playbook));\n const lines = playbook.methodContent.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n for (const match of lines[lineIndex].matchAll(placeholderRegex)) {\n const member = match[1];\n if (!params.contextSourceValues.has(member)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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(', ')}.`,\n location: `${playbook.methodFilePath}:${lineIndex + 1}`,\n });\n } else if (!declared.has(member)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${playbook.methodFilePath}:${lineIndex + 1}`,\n });\n }\n }\n }\n }\n }\n\n /**\n * Rule 30 — every `method.choreography.admits[]` entry must name a discovered playbook folder.\n *\n * The population is the CATALOG itself, which is the one thing separating this from rule 13: a\n * composite's children are playbooks, so the set it is checked against is the same set being\n * iterated. That makes the empty-catalog guard load-bearing rather than defensive — a reader that\n * parsed no playbook refs would report every child of every composite as dangling, which reads as a\n * broken catalog instead of a broken reader.\n */\n private static checkRule30PlaybookChoreographyAdmitsUnknownPlaybook(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const declaredRefs = new Set<string>();\n for (const playbook of params.playbooks) {\n const ref = playbook.json?.ref;\n if (typeof ref === 'string' && ref.length > 0) declaredRefs.add(ref);\n // The folder name IS the loader address (rule 17 keeps the two equal), so it is admitted as an\n // identity too. Without it, a playbook whose structured source failed to parse would take every\n // composite that admits it down with it — one unreadable file reported as N dangling children.\n declaredRefs.add(playbook.playbookRef);\n }\n if (declaredRefs.size === 0) return;\n for (const playbook of params.playbooks) {\n for (const childRef of FrameworkKnowledgeAuditService.readPlaybookChoreographyAdmits(playbook)) {\n if (declaredRefs.has(childRef)) continue;\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookChoreographyAdmitsUnknownPlaybook,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Composite playbook \"${playbook.playbookRef}\" admits child \"${childRef}\" in method.choreography.admits, but no matching playbook folder exists under src/playbooks/. `\n + 'The choreography loop filters an unresolvable child out of the eligible set, so the lane would run silently short of what it declares. '\n + 'Either author the playbook, or remove the ref.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Does this playbook run with no shell and no file access? (#1435)\n *\n * `null` executor — unreadable, or a vocabulary that could not be loaded — answers NO, so a parse\n * failure never manufactures a finding. That direction is deliberate: rule 32's whole value is that\n * its findings are unambiguous, and an under-report is visible in `stats.toollessPlaybookCount`\n * while an over-report would send an author to correct a method that is fine.\n */\n private static playbookRunsWithoutTools(playbook: ParsedPlaybook, vocabulary: PlaybookVocabulary): boolean {\n const executor = playbook.json?.executor;\n return typeof executor === 'string' && vocabulary.toollessExecutorValues.has(executor);\n }\n\n private static checkRule32PlaybookMethodInstructsToollessShell(params: {\n playbooks: ParsedPlaybook[];\n vocabulary: PlaybookVocabulary;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n // A fenced shell block: ```bash / ```sh / ```shell / ```zsh, at the start of a line.\n const fencedShell = /^[ \\t]*```[ \\t]*(bash|sh|shell|zsh)\\b/gmu;\n for (const playbook of params.playbooks) {\n if (!FrameworkKnowledgeAuditService.playbookRunsWithoutTools(playbook, params.vocabulary)) continue;\n const method = playbook.methodContent;\n if (method === null) continue;\n fencedShell.lastIndex = 0;\n const languages = [...method.matchAll(fencedShell)].map((match) => match[1]);\n if (languages.length > 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" runs a TOOL-LESS executor and its method.md carries ${languages.length} fenced shell block(s) `\n + `(${[...new Set(languages)].join(', ')}). A structured generation has no shell: the instruction cannot be followed, and the model answers `\n + 'from the surrounding prose rather than refusing. Deliver the value as a context source, or remove the instruction.',\n location: playbook.methodFilePath,\n });\n }\n /*\n * The same defect one verb over (#1435): a method naming an INSTALLED FILE PATH. A tool-less\n * step cannot open `.claude/skills/<id>/SKILL.md` any more than it can run `rg`, so the path\n * is an instruction it answers from recollection. Measured 2026-09-22: 30 such references\n * across 8 tool-less playbooks, every one of them a contract the model was told to read and\n * had never seen.\n *\n * The remedy is not to delete the name — the skill IS the authoring contract that slice\n * belongs to, and a later coding agent opens it. It is to name the skill by REF and to say\n * what reaches this step: its body through `method.skillBodyRefs`, or a stated nothing.\n *\n * Scoped to a path INSIDE the skills tree rather than to any path. `specifications/src/…` in\n * a method is an output LOCATION — where the landed artifact goes — which the runtime\n * resolves and the model never opens.\n */\n const skillPaths = [...new Set([...method.matchAll(/\\.claude\\/skills\\/[A-Za-z0-9._/-]+/gu)].map((match) => match[0]))];\n if (skillPaths.length > 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" runs a TOOL-LESS executor and its method.md names ${skillPaths.length} installed file path(s) `\n + `(${skillPaths.slice(0, 3).join(', ')}${skillPaths.length > 3 ? ', …' : ''}). A structured generation cannot open a file, so the model follows `\n + 'its recollection of that contract instead. Name the skill by its REF and say what reaches this step — its body through method.skillBodyRefs, '\n + 'or explicitly nothing.',\n location: playbook.methodFilePath,\n });\n }\n }\n }\n\n private static readPlaybookChoreographyAdmits(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const choreography = method.choreography as Record<string, unknown> | undefined;\n const admits = choreography?.admits;\n if (!Array.isArray(admits)) {\n return [];\n }\n return admits.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookSkillRefs(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const skillRefs = method.skillRefs;\n if (!Array.isArray(skillRefs)) {\n return [];\n }\n return skillRefs.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookSkillBodyRefs(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json as { method?: { skillBodyRefs?: unknown } } | null)?.method;\n const refs = method?.skillBodyRefs;\n if (!Array.isArray(refs)) {\n return [];\n }\n return refs.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookOutputSchemaRefs(playbook: ParsedPlaybook): string[] {\n const outputs = playbook.json?.outputs;\n if (!Array.isArray(outputs)) {\n return [];\n }\n return outputs\n .map((output) => (output as Record<string, unknown> | null)?.schemaRef)\n .filter((schemaRef): schemaRef is string => typeof schemaRef === 'string');\n }\n\n /** Families a playbook WRITES — the producer side of the catalog graph. */\n private static readPlaybookOutputFamilies(playbook: ParsedPlaybook): string[] {\n const outputs = playbook.json?.outputs;\n if (!Array.isArray(outputs)) return [];\n return outputs\n .map((output) => (output as Record<string, unknown> | null)?.family)\n .filter((family): family is string => typeof family === 'string');\n }\n\n /**\n * Families a playbook DEPENDS ON, each tagged with how.\n *\n * Preconditions and inputs are read together because they are the same dependency asked at\n * different strengths, and reading only one would miss half the graph — the dead playbook below\n * declares its missing family in BOTH places, but nothing guarantees the next one will.\n */\n private static readPlaybookRequiredFamilies(\n playbook: ParsedPlaybook,\n ): Array<{ family: string; via: 'precondition' | 'input'; kind?: string }> {\n const required: Array<{ family: string; via: 'precondition' | 'input'; kind?: string }> = [];\n const preconditions = playbook.json?.preconditions;\n if (Array.isArray(preconditions)) {\n for (const predicate of preconditions) {\n const record = predicate as Record<string, unknown> | null;\n const selector = record?.selector as Record<string, unknown> | undefined;\n if (typeof selector?.family === 'string') {\n required.push({\n family: selector.family,\n via: 'precondition',\n ...(typeof record?.kind === 'string' ? { kind: record.kind } : {}),\n });\n }\n }\n }\n const inputs = playbook.json?.inputs;\n if (Array.isArray(inputs)) {\n for (const entry of inputs) {\n const family = (entry as Record<string, unknown> | null)?.family;\n if (typeof family === 'string') required.push({ family, via: 'input' });\n }\n }\n return required;\n }\n\n private static readPlaybookPredicateKinds(playbook: ParsedPlaybook): string[] {\n const preconditions = playbook.json?.preconditions;\n if (!Array.isArray(preconditions)) return [];\n return preconditions\n .map((predicate) => (predicate as Record<string, unknown> | null)?.kind)\n .filter((kind): kind is string => typeof kind === 'string');\n }\n}\n"]}
1
+ {"version":3,"file":"framework-knowledge-audit.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-knowledge-audit.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,+BAA+B,CAAC;AAEvF,OAAO,EAAE,8CAA8C,EAAE,MAAM,kFAAkF,CAAC;AAClJ,OAAO,EAAE,qCAAqC,EAAE,MAAM,kEAAkE,CAAC;AAEzH,MAAM,sBAAsB,GAAG,6EAA6E,CAAC;AAC7G,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAC5C,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AACtC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAClD,8DAA8D;AAC9D,mEAAmE;AACnE,8DAA8D;AAC9D,uEAAuE;AACvE,wDAAwD;AACxD,8DAA8D;AAC9D,8DAA8D;AAC9D,4EAA4E;AAC5E,4EAA4E;AAC5E,sEAAsE;AACtE,MAAM,2BAA2B,GAAG,6BAA6B,CAAC;AAClE,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAChD,MAAM,6BAA6B,GAAG,wBAA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C;QACD,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACrC,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAC1B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;gBAC3B,MAAM,MAAM,GAAI,KAAwC,EAAE,MAAM,CAAC;gBACjE,IAAI,OAAO,MAAM,KAAK,QAAQ;oBAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;YAC1E,CAAC;QACH,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,MAAM,CAAC,0BAA0B,CAAC,QAAwB;QAChE,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;QACnD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;YAAE,OAAO,EAAE,CAAC;QAC7C,OAAO,aAAa;aACjB,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAE,SAA4C,EAAE,IAAI,CAAC;aACvE,MAAM,CAAC,CAAC,IAAI,EAAkB,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC;IAChE,CAAC;CACF","sourcesContent":["import { createHash } from 'node:crypto';\nimport { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { basename, dirname, join, relative } from 'node:path';\nimport { globSync } from 'glob';\nimport ts from 'typescript';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { FrameworkKnowledgePlaybookSourceFormat } from '@wildo-ai/framework-knowledge';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { FrameworkKnowledgeApplicationGuidanceValidator } from '~wildo-cli/services/framework/framework-knowledge-application-guidance.validator';\nimport { FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS } from '~wildo-cli/services/framework/framework-knowledge-scan.constants';\n\nconst REGISTRY_RELATIVE_PATH = 'platform/factory/framework-knowledge/src/framework-knowledge.definitions.ts';\nconst REGISTRY_OPEN_LITERAL = 'FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS = [';\nconst REGISTRY_CLOSE_LITERAL = '] as const';\nconst SKILL_DIRECTORY_NAME = 'skills';\nconst SCAN_GLOB_EXTENSIONS = '{ts,tsx,js,jsx,md}';\n// We pass `dot: true` to globSync so dot-prefixed application\n// folders (e.g. an app's `.wildo-saas/` operational workspace) are\n// traversed for `@wildo_source` anchors. That is a deliberate\n// convention — anchors may live under dot-directories (the companion's\n// SOURCE anchors did until its 2026-08-26 extraction to\n// `platform/factory/wildo-dev-companion`, issue #64), and the\n// framework-knowledge audit must still see those anchors. The\n// downside of `dot: true` is that generated dot-directories become visible.\n// FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS defines that boundary once for both\n// generation and audit while intentionally preserving `.wildo-saas/`.\nconst REFERENCE_PLACEHOLDER_REGEX = /\\{\\{REFERENCE:([^}]+)\\}\\}/gu;\nconst PLAYBOOK_JSON_FILE_NAME = 'playbook.json';\nconst PLAYBOOK_DEFINITION_FILE_NAME = 'playbook.definition.ts';\nconst PLAYBOOK_METHOD_FILE_NAME = 'method.md';\n/**\n * P-33 vocabulary for `outputs[].schemaRef`:\n * `<package-short>:<ExportName>` with the package-short pinned to the two\n * schema-owning packages. This is a FORMAT check only — resolving the\n * export would require importing built engine packages, which breaks the\n * audit's buildless convention (deep export-resolution is deliberately\n * deferred; do NOT build a runtime import-prober here).\n *\n * The two package names restate `PlaybookSchemaRefPackage` (`@wildo-ai/application-creation-runtime`), the enum\n * the runtime resolves by. They are copied rather than imported for the buildless reason above, and a drift fails\n * in the SAFE direction — a prefix the enum gains and this pattern lacks is refused here, loudly. RESOLUTION is\n * not this audit's job and it never did it: the companion's catalogue sweep\n * (`playbook-step-schema-namespaces.models.test.ts`) proves every declared step contract resolves, after both\n * adequacy gates shipped a contract declared under the wrong package (2026-09-21, #1273).\n */\nconst PLAYBOOK_SCHEMA_REF_REGEX = /^(saas-models|saas-specifications):[A-Za-z0-9_]+$/u;\n/**\n * Topic-implicit placeholders are built per-topic by the generator's\n * `buildTopicTemplateReplacements`. Playbook method bodies and the authored\n * skills INDEX.md have no topic, so these placeholders can never resolve\n * there — the generator renders them VERBATIM into the compiled output.\n * Rule 15 (playbooks) and the skills-INDEX check fail them at PR time.\n * Only `{{PARTIAL:…}}` and `{{REFERENCE:<id>}}` are topic-explicit and\n * allowed in topic-less markdown. Global flag: every occurrence is a\n * distinct finding, including several on one line.\n */\nconst FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX = /\\{\\{(TITLE|TOPIC_ID|REFERENCE_RELATIVE_PATH|SOURCE_EXCERPTS_LEVEL[23]|USAGE_EXAMPLES_LEVEL[23])\\}\\}/gu;\n\n/** Names the non-object shapes `JSON.parse` accepts, for contract-violation messages. */\nfunction describeNonObjectJsonValue(value: unknown): string {\n if (value === null) {\n return 'null';\n }\n if (Array.isArray(value)) {\n return 'an array';\n }\n return `a ${typeof value}`;\n}\n\n// semantic-literal-boundary: the buildless audit cannot import the application-creation runtime enum; this is its exact contained-v1 wire mirror.\n\nfunction unwrapStaticExpression(expression: ts.Expression): ts.Expression {\n if (\n ts.isAsExpression(expression)\n || ts.isSatisfiesExpression(expression)\n || ts.isParenthesizedExpression(expression)\n ) {\n return unwrapStaticExpression(expression.expression);\n }\n return expression;\n}\n\nfunction readStaticObjectProperty(object: ts.ObjectLiteralExpression, propertyName: string): ts.Expression | null {\n for (const property of object.properties) {\n if (!ts.isPropertyAssignment(property)) {\n continue;\n }\n const name = property.name;\n const resolvedName = ts.isIdentifier(name) || ts.isStringLiteral(name) ? name.text : null;\n if (resolvedName === propertyName) {\n return unwrapStaticExpression(property.initializer);\n }\n }\n return null;\n}\n\nfunction readStaticString(expression: ts.Expression | null): string | null {\n return expression !== null && ts.isStringLiteral(expression) ? expression.text : null;\n}\n\nfunction readStaticStringArray(expression: ts.Expression | null): string[] {\n if (expression === null || !ts.isArrayLiteralExpression(expression)) {\n return [];\n }\n return expression.elements\n .map((entry) => readStaticString(unwrapStaticExpression(entry)))\n .filter((entry): entry is string => entry !== null);\n}\n\n/**\n * `method.choreography.admits[]` — the composite's admissible CHILD playbook refs (rule 30).\n *\n * Split out rather than nested inline because `readStaticObjectProperty` takes an object literal and\n * not a nullable expression, and `choreography` is optional on the schema: only a composite declares\n * one, so an absent field is the ordinary case and must read as an empty set, never as a parse\n * failure.\n */\nfunction readStaticChoreographyAdmits(methodObject: ts.ObjectLiteralExpression | null): string[] {\n if (methodObject === null) return [];\n const choreography = readStaticObjectProperty(methodObject, 'choreography');\n if (choreography === null || !ts.isObjectLiteralExpression(choreography)) return [];\n return readStaticStringArray(readStaticObjectProperty(choreography, 'admits'));\n}\n\n/**\n * Wire values for the playbook vocabulary enums, parsed from the specifications source.\n *\n * Keyed `EnumName.MEMBER` -> wire value (`MetaWorkflow_PredicateKind.PHASE_IS` -> `phase_is`).\n *\n * Read from the DECLARATION rather than derived by lowercasing the member name, which would work\n * today and silently rot the first time a member's value stops matching its name. The audit is\n * buildless, so this is a second AST parse rather than an import.\n */\ntype PlaybookVocabulary = {\n readonly enumMemberValues: ReadonlyMap<string, string>;\n /** `MetaWorkflow_ContextSource` wire values. Empty when the enum cannot be read — rule 28 then says nothing. */\n readonly contextSourceValues: ReadonlySet<string>;\n /** `MetaWorkflow_Executor` wire values with NO shell — see {@link TOOLLESS_EXECUTOR_MEMBER_NAMES}. */\n readonly toollessExecutorValues: ReadonlySet<string>;\n};\n\n/**\n * The executors that run with NO shell and no file access (#1435).\n *\n * Named by MEMBER rather than by value so a rename fails to resolve loudly instead of quietly\n * dropping a member from the set — and it is a JUDGEMENT about each tier, not something derivable:\n * `CODING_AGENT` runs an agent in the workspace, `DETERMINISTIC_CLI` IS a command, and `HUMAN` is a\n * person. Only these two are handed a prompt and nothing else.\n */\nconst TOOLLESS_EXECUTOR_MEMBER_NAMES = ['COMPANION_AGENT', 'RESEARCH_AGENT'] as const;\n\nconst EMPTY_PLAYBOOK_VOCABULARY: PlaybookVocabulary = {\n enumMemberValues: new Map(),\n contextSourceValues: new Set(),\n toollessExecutorValues: new Set(),\n};\n\nfunction loadPlaybookVocabulary(engineHome: string): PlaybookVocabulary {\n /*\n * THREE files, because a playbook's declarative vocabulary is split across two packages and reading\n * only the first is a blind walk over half the catalog. `MetaWorkflow_ContextSource` and the\n * predicate kinds live in `saas-specifications`; `MetaWorkflow_Executor` lives in `saas-models` —\n * and 13 of 25 playbooks write their executor as an enum member, so a vocabulary without the second\n * file resolves every one of them to `null` and any rule keyed on the executor sees nothing. That is\n * the exact under-lift `readStaticEnumBackedValue`'s own docstring records for preconditions.\n */\n const schemaPaths = [\n join(engineHome, 'saas-specifications', 'src', 'application-creation', 'playbooks.application-creation.schemas.ts'),\n join(engineHome, 'saas-models', 'src', 'meta-workflows', 'orchestration.meta-workflows.shared.schemas.ts'),\n /* An interview question's depth and unknown-answer policy (#2129) are written as enum members too. */\n join(engineHome, 'saas-models', 'src', 'meta-workflows', 'elicitation-depth.meta-workflows.shared.schemas.ts'),\n ].filter((schemaPath) => existsSync(schemaPath));\n if (schemaPaths.length === 0) return EMPTY_PLAYBOOK_VOCABULARY;\n const enumMemberValues = new Map<string, string>();\n for (const schemaPath of schemaPaths) {\n const sourceFile = ts.createSourceFile(schemaPath, readFileSync(schemaPath, 'utf8'), ts.ScriptTarget.Latest, true);\n for (const statement of sourceFile.statements) {\n if (ts.isEnumDeclaration(statement)) {\n for (const member of statement.members) {\n const memberName = ts.isIdentifier(member.name) ? member.name.text : null;\n const initializer = member.initializer;\n if (memberName === null || initializer === undefined || !ts.isStringLiteralLike(initializer)) continue;\n enumMemberValues.set(`${statement.name.text}.${memberName}`, initializer.text);\n }\n continue;\n }\n }\n }\n const contextSourceValues = new Set(\n [...enumMemberValues.entries()]\n .filter(([key]) => key.startsWith('MetaWorkflow_ContextSource.'))\n .map(([, value]) => value),\n );\n const toollessExecutorValues = new Set(\n TOOLLESS_EXECUTOR_MEMBER_NAMES\n .map((memberName) => enumMemberValues.get(`MetaWorkflow_Executor.${memberName}`))\n .filter((value): value is string => value !== undefined),\n );\n return { enumMemberValues, contextSourceValues, toollessExecutorValues };\n}\n\n/**\n * Resolve a declarative field that may be written as a string literal OR as an enum member.\n *\n * The property-access half did not exist until 2026-08-29, and its absence made ELEVEN of the twenty\n * playbooks' preconditions invisible to the projection — every playbook authored in the TypeScript\n * style dropped its whole `preconditions` array, because a predicate whose `kind` resolved to `null`\n * was discarded. Rules 23, 24 and 26 therefore only ever saw the nine JSON-style playbooks, and\n * reported a clean catalog for the rest. Same shape as the two defects already recorded in this\n * parser: a rule cannot see what the parser does not lift.\n */\nfunction readStaticEnumBackedValue(\n expression: ts.Expression | null,\n enumLocalNames: ReadonlyMap<string, string>,\n vocabulary: PlaybookVocabulary,\n): string | null {\n if (expression === null) return null;\n const unwrapped = unwrapStaticExpression(expression);\n if (ts.isStringLiteralLike(unwrapped)) return unwrapped.text;\n if (!ts.isPropertyAccessExpression(unwrapped) || !ts.isIdentifier(unwrapped.expression)) return null;\n const canonicalEnum = enumLocalNames.get(unwrapped.expression.text) ?? unwrapped.expression.text;\n return vocabulary.enumMemberValues.get(`${canonicalEnum}.${unwrapped.name.text}`) ?? null;\n}\n\n/** Array counterpart of {@link readStaticEnumBackedValue}: string literals and enum members, mixed freely. */\nfunction readStaticEnumBackedArray(\n expression: ts.Expression | null,\n enumLocalNames: ReadonlyMap<string, string>,\n vocabulary: PlaybookVocabulary,\n): string[] {\n if (expression === null) return [];\n const unwrapped = unwrapStaticExpression(expression);\n if (!ts.isArrayLiteralExpression(unwrapped)) return [];\n return unwrapped.elements\n .map((element) => readStaticEnumBackedValue(element, enumLocalNames, vocabulary))\n .filter((value): value is string => value !== null);\n}\n\nfunction extractStaticPlaybookAuditShape(sourceFile: ts.SourceFile, vocabulary: PlaybookVocabulary): {\n json: Record<string, unknown> | null;\n contractErrors: string[];\n /** Whether the source exports `evaluationTreatmentSource` — i.e. whether a run of it can PRODUCE a judge verdict (#1498). */\n declaresEvaluationTreatment: boolean;\n} {\n const contractErrors: string[] = [];\n let playbookInitializer: ts.Expression | null = null;\n const exportedConstNames = new Set<string>();\n // local identifier -> canonical enum name, so an aliased import (`X as Y`) still resolves.\n const enumLocalNames = new Map<string, string>([\n ['MetaWorkflow_PredicateKind', 'MetaWorkflow_PredicateKind'],\n ['MetaWorkflow_Phase', 'MetaWorkflow_Phase'],\n ]);\n\n for (const statement of sourceFile.statements) {\n if (ts.isImportDeclaration(statement)) {\n const moduleRef = ts.isStringLiteral(statement.moduleSpecifier) ? statement.moduleSpecifier.text : '';\n const allowedModuleRefs = new Set([\n /*\n * The SUBPATH, not the root: #1341 made the four meta-workflow compiler services (and the\n * `MetaWorkflowEvaluationTreatmentSource` / `MetaWorkflowStructuredArtifactActionSource`\n * types a playbook definition declares a treatment with) reachable only through\n * `./meta-workflow-runtime`, so the root can no longer serve this import and naming it here\n * would be an allow-list entry for a door that cannot open.\n */\n '@wildo-ai/saas-backend-lib/meta-workflow-runtime',\n '@wildo-ai/saas-models',\n '@wildo-ai/saas-models/meta-workflows',\n '@wildo-ai/saas-specifications/application-creation',\n ]);\n if (statement.importClause === undefined || !allowedModuleRefs.has(moduleRef)) {\n contractErrors.push(`imports must be explicit and limited to the approved declarative contract modules`);\n }\n const namedBindings = statement.importClause?.namedBindings;\n if (namedBindings && ts.isNamedImports(namedBindings)) {\n for (const element of namedBindings.elements) {\n enumLocalNames.set(element.name.text, element.propertyName?.text ?? element.name.text);\n }\n }\n continue;\n }\n if (ts.isInterfaceDeclaration(statement) || ts.isTypeAliasDeclaration(statement)) {\n continue;\n }\n if (!ts.isVariableStatement(statement)) {\n contractErrors.push(`effect-free modules may contain only imports, type declarations, and exported const data declarations`);\n continue;\n }\n const isExported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false;\n const isConst = (statement.declarationList.flags & ts.NodeFlags.Const) !== 0;\n if (!isExported || !isConst) {\n contractErrors.push('all runtime declarations must be exported const data');\n continue;\n }\n for (const declaration of statement.declarationList.declarations) {\n if (!ts.isIdentifier(declaration.name) || declaration.initializer === undefined) {\n contractErrors.push('exported const declarations must have one named static initializer');\n continue;\n }\n exportedConstNames.add(declaration.name.text);\n if (declaration.name.text === 'playbookDefinition') {\n playbookInitializer = unwrapStaticExpression(declaration.initializer);\n }\n }\n }\n\n for (const requiredExport of ['playbookDefinition']) {\n if (!exportedConstNames.has(requiredExport)) {\n contractErrors.push(`missing required exported const \"${requiredExport}\"`);\n }\n }\n for (const exportName of exportedConstNames) {\n if (\n exportName !== 'playbookDefinition'\n && exportName !== 'evaluationTreatmentSource'\n && exportName !== 'structuredArtifactActionSource'\n ) {\n contractErrors.push(`unsupported runtime export \"${exportName}\"`);\n }\n }\n\n const forbiddenRuntimeNodeKinds = new Set<ts.SyntaxKind>([\n ts.SyntaxKind.CallExpression,\n ts.SyntaxKind.NewExpression,\n ts.SyntaxKind.AwaitExpression,\n ts.SyntaxKind.ArrowFunction,\n ts.SyntaxKind.FunctionExpression,\n ts.SyntaxKind.ClassExpression,\n ts.SyntaxKind.SpreadAssignment,\n ts.SyntaxKind.TaggedTemplateExpression,\n ]);\n const inspectRuntimeNode = (node: ts.Node): void => {\n if (forbiddenRuntimeNodeKinds.has(node.kind)) {\n contractErrors.push(`non-declarative ${ts.SyntaxKind[node.kind]} is forbidden`);\n return;\n }\n ts.forEachChild(node, inspectRuntimeNode);\n };\n for (const statement of sourceFile.statements) {\n if (ts.isVariableStatement(statement)) {\n inspectRuntimeNode(statement.declarationList);\n }\n }\n\n if (playbookInitializer === null || !ts.isObjectLiteralExpression(playbookInitializer)) {\n contractErrors.push('\"playbookDefinition\" must be a static object literal');\n return { json: null, contractErrors: [...new Set(contractErrors)], declaresEvaluationTreatment: exportedConstNames.has('evaluationTreatmentSource') };\n }\n const methodExpression = readStaticObjectProperty(playbookInitializer, 'method');\n const methodObject = methodExpression !== null && ts.isObjectLiteralExpression(methodExpression) ? methodExpression : null;\n const outputsExpression = readStaticObjectProperty(playbookInitializer, 'outputs');\n const outputs = outputsExpression !== null && ts.isArrayLiteralExpression(outputsExpression)\n ? outputsExpression.elements.flatMap((entry) => {\n const output = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(output)) {\n return [];\n }\n const schemaRef = readStaticString(readStaticObjectProperty(output, 'schemaRef'));\n // `family` joins `schemaRef` here because the catalog is a GRAPH and rule 23 walks its\n // edges: outputs are the producer side. Extracting only `schemaRef` made every family\n // invisible, so a dependency on an unproducible family read as a healthy catalog.\n const family = readStaticString(readStaticObjectProperty(output, 'family'));\n return [{ ...(schemaRef === null ? {} : { schemaRef }), ...(family === null ? {} : { family }) }];\n })\n : [];\n const preconditionsExpression = readStaticObjectProperty(playbookInitializer, 'preconditions');\n const preconditions = preconditionsExpression !== null && ts.isArrayLiteralExpression(preconditionsExpression)\n ? preconditionsExpression.elements.flatMap((entry) => {\n const predicate = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(predicate)) return [];\n const kind = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'kind'), enumLocalNames, vocabulary);\n if (kind === null) return [];\n /*\n * A PHASE_IS gate names the phase it requires. Lifted 2026-08-29 for the reachability rule:\n * `deriveJourneyPhase` returns only two of the four declared phases, so a gate naming either\n * of the others can never be satisfied by the unattended loop (#116).\n */\n const gatedPhase = readStaticEnumBackedValue(readStaticObjectProperty(predicate, 'phase'), enumLocalNames, vocabulary);\n // The selector's family is the consumer side of the same edge — an `artifact_valid` on an\n // unproducible family is a hard readiness gate, which is how one playbook has been\n // permanently ineligible since it was authored.\n const selectorExpression = readStaticObjectProperty(predicate, 'selector');\n const selectorFamily = selectorExpression !== null && ts.isObjectLiteralExpression(selectorExpression)\n ? readStaticString(readStaticObjectProperty(selectorExpression, 'family'))\n : null;\n /*\n * A STEP gate carries `ref`/`requires` instead of a `selector`. Extracted here because the\n * rule that checks them cannot see what the parser does not lift — the same way this parser\n * originally lifted only `kind` and left rule 23 reporting a perfectly clean catalog.\n */\n const stepRef = readStaticString(readStaticObjectProperty(predicate, 'ref'));\n const requiresExpression = readStaticObjectProperty(predicate, 'requires');\n const requiresPath = requiresExpression !== null && ts.isObjectLiteralExpression(requiresExpression)\n ? readStaticString(readStaticObjectProperty(requiresExpression, 'path'))\n : null;\n return [{\n kind,\n ...(selectorFamily === null ? {} : { selector: { family: selectorFamily } }),\n ...(stepRef === null ? {} : { ref: stepRef }),\n ...(requiresPath === null ? {} : { requires: { path: requiresPath } }),\n ...(gatedPhase === null ? {} : { phase: gatedPhase }),\n }];\n })\n : [];\n\n const inputsExpression = readStaticObjectProperty(playbookInitializer, 'inputs');\n const inputs = inputsExpression !== null && ts.isArrayLiteralExpression(inputsExpression)\n ? inputsExpression.elements.flatMap((entry) => {\n const input = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(input)) return [];\n const family = readStaticString(readStaticObjectProperty(input, 'family'));\n if (family === null) return [];\n /*\n * Aspect keys ride along for the live contract that validates them (#1444). This service cannot\n * resolve them — the registry is in a built package — but lifting them here is what lets a test\n * that CAN resolve them read the authored catalog. Before this, the projection kept `family`\n * alone, and that test passed a planted typo because it never saw the key.\n */\n const aspectsExpression = readStaticObjectProperty(input, 'aspects');\n const relatedExpression = readStaticObjectProperty(input, 'related');\n const related = relatedExpression !== null && ts.isObjectLiteralExpression(relatedExpression) ? relatedExpression : null;\n const targetAspectsExpression = related === null ? null : readStaticObjectProperty(related, 'targetAspects');\n return [{\n family,\n ...(aspectsExpression === null ? {} : { aspects: readStaticStringArray(aspectsExpression) }),\n ...(targetAspectsExpression === null ? {} : { related: { targetAspects: readStaticStringArray(targetAspectsExpression) } }),\n }];\n })\n : [];\n\n const stepOutputsExpression = readStaticObjectProperty(playbookInitializer, 'stepOutputs');\n const stepOutputs = stepOutputsExpression !== null && ts.isArrayLiteralExpression(stepOutputsExpression)\n ? stepOutputsExpression.elements.flatMap((entry) => {\n const stepOutput = unwrapStaticExpression(entry);\n if (!ts.isObjectLiteralExpression(stepOutput)) return [];\n const ref = readStaticString(readStaticObjectProperty(stepOutput, 'ref'));\n if (ref === null) return [];\n const schemaRef = readStaticString(readStaticObjectProperty(stepOutput, 'schemaRef'));\n return [{ ref, ...(schemaRef === null ? {} : { schemaRef }) }];\n })\n : [];\n\n return {\n json: {\n ref: readStaticString(readStaticObjectProperty(playbookInitializer, 'ref')),\n version: readStaticString(readStaticObjectProperty(playbookInitializer, 'version')),\n method: {\n skillRefs: methodObject === null ? [] : readStaticStringArray(readStaticObjectProperty(methodObject, 'skillRefs')),\n skillBodyRefs: methodObject === null ? [] : readStaticStringArray(readStaticObjectProperty(methodObject, 'skillBodyRefs')),\n // Enum-aware on purpose: the catalog authors this field in BOTH styles, and a string-only\n // read would blind rule 28 to every TypeScript-style playbook — the exact under-lift that\n // once hid eleven playbooks' preconditions from rules 23/24/26 (see readStaticEnumBackedValue).\n contextSources: methodObject === null ? [] : readStaticEnumBackedArray(readStaticObjectProperty(methodObject, 'contextSources'), enumLocalNames, vocabulary),\n // Lifted for rule 30. `admits` names PLAYBOOK refs, so it is the one field in the projection\n // whose referents are the catalog itself — parse it here or the rule has nothing to read.\n choreography: { admits: readStaticChoreographyAdmits(methodObject) },\n ...(methodObject !== null && readStaticObjectProperty(methodObject, 'guidance') !== null ? { guidance: true } : {}),\n },\n // Enum-aware, like `contextSources`: 13 of 25 playbooks write this as a member rather than a\n // string, and rule 32 can only see what the projection lifts.\n executor: readStaticEnumBackedValue(readStaticObjectProperty(playbookInitializer, 'executor'), enumLocalNames, vocabulary),\n outputs,\n inputs,\n preconditions,\n stepOutputs,\n },\n contractErrors: [...new Set(contractErrors)],\n declaresEvaluationTreatment: exportedConstNames.has('evaluationTreatmentSource'),\n };\n}\n// Mirror of FrameworkKnowledgeGenerationService — the directive must sit at\n// the **start of a line** inside a comment, so test fixtures that embed the\n// literal \"/** @wildo_source:part:start ... *<slash>\" string inside backtick\n// template literals do not register as real anchors.\nconst PART_START_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:part:start\\s+([^\\s]+)/u;\nconst PART_END_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:part:end\\s+([^\\s]+)/u;\nconst FILE_DIRECTIVE_REGEX = /^\\s*(?:\\/\\*+\\s*|\\*\\s*|\\/\\/\\s*|<!--\\s*)@wildo_source:file\\s+([^\\s]+)/u;\nconst DESCRIPTION_HARD_LIMIT_CHARS = 1024;\n\n/**\n * The set of skill names a host will load. Claude Code refuses anything else\n * with \"Skill name may only contain lowercase letters, numbers, and hyphens\",\n * so a name outside this shape makes the compiled skill unreachable inside\n * every application the payload is installed into.\n */\nconst HOST_ADDRESSABLE_SKILL_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;\nconst TIER_C_WAIVER_TOKEN = 'TIER C WAIVER';\nconst SKILL_CODE_BLOCK_LINE_THRESHOLD = 5;\nconst SKILL_CODE_BLOCK_LANGUAGES = new Set([\n 'ts',\n 'tsx',\n 'typescript',\n 'javascript',\n 'jsx',\n 'js',\n]);\nconst RUNNABLE_GREP_INVARIANT_PREFIXES = [\n 'rg',\n 'grep',\n 'comm',\n 'pnpm',\n 'wildo',\n 'node',\n 'cat',\n 'jq',\n 'find',\n 'diff',\n 'ls',\n];\n\n/**\n * Severity channels per the Step 7 enforcement plan\n * (`.cursor/plans/fwk-skill-uplift-to-five.md`).\n *\n * `Fail` exits non-zero on the audit command — these signal **integrity\n * breaks**: a registry-vs-source mismatch, a reference placeholder that\n * will throw at generation time, or a SKILL.md that breaks downstream\n * consumers (router, IDE plugin).\n *\n * `Warn` emits structured stderr findings without failing the command —\n * these are **hygiene issues** that should be cleaned up but do not\n * block PRs.\n */\nexport enum FrameworkKnowledgeAuditSeverity {\n Fail = 'fail',\n Warn = 'warn',\n}\n\n/**\n * Stable per-rule identifiers — kept on the finding so consumers can\n * filter by rule (e.g., a CI job that only fails on rules 1–3) or\n * deduplicate when re-running the audit incrementally.\n */\nexport enum FrameworkKnowledgeAuditRule {\n /**\n * FAIL — guidance carries a maintainer-only path, identity, internal record,\n * or package import that cannot work in an installed application project.\n */\n ApplicationGuidanceNotPackageOnly = 'application-guidance-not-package-only',\n /** FAIL — `{{REFERENCE:<id>}}` placeholder pointing at an id not in the registry. */\n ReferencePlaceholderToUnknownId = 'reference-placeholder-to-unknown-id',\n /** FAIL — `{{REFERENCE:<id>}}` placeholder where the id is registered but has zero anchored spans (will throw at gen time). */\n ReferencePlaceholderWithoutAnchor = 'reference-placeholder-without-anchor',\n /** FAIL — `@wildo_source` anchor span where the id is not in the registry. */\n AnchorWithoutRegistryEntry = 'anchor-without-registry-entry',\n /** FAIL — SKILL.md missing YAML `name` or `description`. */\n SkillFrontmatterIncomplete = 'skill-frontmatter-incomplete',\n /** FAIL — SKILL.md description exceeds the 1024-char hard limit. */\n SkillDescriptionExceedsHardLimit = 'skill-description-exceeds-hard-limit',\n /** WARN — registry entry with no matching anchored span. */\n RegistryEntryWithoutAnchor = 'registry-entry-without-anchor',\n /** WARN — `references/*.md` file not cited in its skill's `## References` section. */\n ReferenceFileNotCitedInSkill = 'reference-file-not-cited-in-skill',\n /**\n * FAIL — a SKILL.md tells the agent to read a `references/…` file that does\n * not exist.\n *\n * The inverse of rule 7 and strictly worse. An uncited file is dead weight\n * nobody opens; a dangling CITATION ships an instruction the agent cannot\n * follow, in the artifact installed into an application. It also hides a\n * whole class of authoring slip — a file written to the wrong path looks\n * identical to one never written, and the audit passed on exactly that on\n * 2026-09-08.\n */\n SkillCitesMissingReferenceFile = 'skill-cites-missing-reference-file',\n /** WARN — INDEX.md skill listing drift (missing skill folder or stale row). */\n IndexCatalogMismatch = 'index-catalog-mismatch',\n /** WARN — SKILL.md description missing trigger-phrase cue (degrades router lookup). */\n SkillDescriptionMissingTriggerPhrasing = 'skill-description-missing-trigger-phrasing',\n /** WARN — substantial inline code block (likely Tier C) without a recorded waiver comment. */\n TierCExampleWithoutWaiver = 'tier-c-example-without-waiver',\n /** WARN — `## Verification` section without runnable `Grep invariants`. */\n VerificationSectionMissingGrepInvariants = 'verification-section-missing-grep-invariants',\n /**\n * FAIL — `@wildo_source:part:start <id>` declared in a source file\n * with no matching `@wildo_source:part:end <id>` before EOF or the\n * next start directive. Mirrors (and pre-empts) the generator's\n * `Unclosed @wildo_source:part:start` warning, which extracts\n * through end-of-file as a fallback and produces dirty\n * `dist/knowledge/` markdown.\n */\n AnchorWithoutEndMarker = 'anchor-without-end-marker',\n /**\n * FAIL — a playbook's `method.skillRefs[]` entry names a skill id with\n * no matching authored skill folder. Dangling skill refs would only\n * surface at runtime inside the companion's PlaybookRegistryService,\n * long after the PR merged.\n */\n PlaybookSkillRefToUnknownSkill = 'playbook-skill-ref-to-unknown-skill',\n /**\n * FAIL — a playbook `outputs[].schemaRef` does not match the pinned\n * `<package-short>:<ExportName>` vocabulary (P-33). Format check only —\n * see {@link PLAYBOOK_SCHEMA_REF_REGEX} for why resolution is deferred.\n */\n PlaybookOutputSchemaRefInvalid = 'playbook-output-schema-unresolved',\n /**\n * FAIL — two playbooks share the same `ref@version` identity. The\n * compiled catalog addresses playbooks by that pair; a duplicate makes\n * run provenance ambiguous.\n */\n PlaybookRefVersionDuplicate = 'playbook-ref-version-duplicate',\n /**\n * FAIL — a playbook markdown body uses a topic-implicit placeholder\n * (`{{SOURCE_EXCERPTS_*}}`, `{{USAGE_EXAMPLES_*}}`, `{{TITLE}}`,\n * `{{TOPIC_ID}}`, `{{REFERENCE_RELATIVE_PATH}}`). Playbooks have no\n * topic, so the generator would render the placeholder VERBATIM into\n * the compiled method guidance.\n */\n PlaybookForbiddenTopicImplicitPlaceholder = 'playbook-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — the authored playbook folder violates the folder contract the\n * generator hard-enforces (one rule because it guards one contract —\n * the folder shape): conflicting/malformed canonical structured sources,\n * folder name ≠ declared `ref`, missing `method.md`, non-declarative\n * TypeScript, or inline `method.guidance` (the prose lives in `method.md`;\n * inlining it duplicates the source of truth).\n * Without this PR-time gate each of these is a `generate-docs` crash.\n */\n PlaybookFolderContractViolation = 'playbook-folder-contract-violation',\n /** FAIL — a new authored catalog entry still depends on the arbitrary v1 human-decision predicate. */\n /**\n * FAIL — the authored skills INDEX.md uses a topic-implicit placeholder.\n * Since the P-24 router fix, INDEX.md is rendered through the same\n * markdown expansion as skill bodies, but the catalog has no topic — the\n * generator would ship the placeholder VERBATIM inside the compiled\n * router. Same rationale as\n * {@link PlaybookForbiddenTopicImplicitPlaceholder}; bad\n * `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 instead.\n */\n SkillsIndexForbiddenTopicImplicitPlaceholder = 'skills-index-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — an authored RULE uses a topic-implicit placeholder.\n *\n * The rules channel is a real compiled channel (#98) and was the one artifact kind no audit rule\n * looked at, so an authored rule could be added, pass a green audit and ship a placeholder\n * verbatim into every generated application's `.claude/rules/`. It renders through\n * `renderAuthoredMarkdownFile` with `replacements: {}` — exactly the skills INDEX situation, and\n * worse in one respect: a rule is ALWAYS-ON policy rather than a document the router has to\n * reach first. Bad `{{REFERENCE:<id>}}` ids in a rule ride Rules 1/2 through\n * `collectReferencePlaceholders`; this check covers the verbatim lane.\n */\n RuleForbiddenTopicImplicitPlaceholder = 'rule-forbidden-topic-implicit-placeholder',\n /**\n * FAIL — one anchor id extracts BYTE-IDENTICAL content from more than one\n * source file, so the compiled reference concatenates the same excerpt twice\n * or more.\n *\n * This exists because every other rule here checks anchor <-> registry <->\n * skill <-> INDEX *integrity*, and integrity is preserved when a source tree\n * is accidentally duplicated — the audit stayed green while\n * `skills/market-icp/SKILL.md` shipped 21 copies of one example (gitignored\n * meta-workflow integration-test app copies were inside the scan universe;\n * fixed by `**\\/.wildo-saas/tmp/**` in the shared scan ignore contract).\n *\n * Deliberately keyed on CONTENT, not on file count: anchoring one id across\n * several files is a legitimate, documented pattern (the generator accumulates\n * spans, e.g. `zod.decorators.file-schema` spans two sources, and\n * `example.resource.add-field.priority-enum` spans a schema plus its enum\n * file). Those contribute DIFFERENT bodies. Only identical bodies are always\n * wrong, which is what makes this safe as a FAIL.\n */\n AnchorIdDuplicateSourceContent = 'anchor-id-duplicate-source-content',\n /**\n * FAIL — a `SKILL.md` frontmatter `name` that is not the skill's folder id,\n * or that is not a valid host skill name.\n *\n * The host addresses a skill by its frontmatter `name` and only falls back\n * to the directory when that key is absent, so a name that drifts from the\n * folder splits the id the INDEX router tells the agent to open from the one\n * the Skill tool will accept. The host additionally refuses any name outside\n * `[a-z0-9-]+` — the `snake_case` ids this catalog shipped until the\n * kebab-case migration were rejected with \"Skill name may only contain\n * lowercase letters, numbers, and hyphens\", on all 102 skills at once.\n *\n * Both halves are checked here so neither can come back quietly: nothing\n * else in the pipeline reads the frontmatter `name` (the generator keys\n * everything off the FOLDER), so an unchecked name is invisible until a host\n * refuses to load the compiled skill inside an application.\n */\n SkillNameNotHostAddressable = 'skill-name-not-host-addressable',\n /**\n * FAIL — a playbook declares an `inputs[]` or `preconditions[]` artifact family that NO playbook\n * in the catalog produces.\n *\n * The catalog is a graph, and nothing checked its edges. Measured on the live catalog (2026-08-28):\n * `refinement.compliance-document-candidate` gates on\n * `artifact_valid: compliance-document-fact-projection`, a family with no producer, no landing\n * target and no schema anywhere in the repository — so that playbook, and with it the entire\n * `refinement` phase, has been permanently ineligible since it was authored. Nothing reported it,\n * because an ineligible playbook simply never appears on the board.\n *\n * A precondition on such a family FAILS (it is a hard readiness gate — the playbook is dead). An\n * INPUT on one is reported too, at the same severity, because the consequence is quieter and\n * therefore worse: the prompt silently loses a truth section forever, and the method's handling of\n * \"this may be absent\" turns into a branch that can never execute. `bottom_up.foundation` mentions\n * `business-model` ten times, including the rule deriving the billing capability from it.\n *\n * FAIL as of 2026-09-01, on the condition this docstring set for itself: the baseline reached 0.\n *\n * It shipped as WARN because both live findings were TRUE and UNDECIDED — produce the family, or\n * retire the declaration, a product decision — so a FAIL then would have been a refusal with no\n * door, blocking every unrelated PR on a call only Paul could make (`design-philosophy.md`,\n * \"Immutability needs a paired mutation path\"). That door has been walked through: both were\n * RESOLVED rather than baselined away. `refinement.compliance-document-candidate` now gates on\n * `document-facts`, which `refinement.document-facts` produces, instead of the phantom\n * `compliance-document-fact-projection` that had made the whole refinement phase permanently\n * ineligible; and `bottom_up.foundation`'s `business-model` input is produced by\n * `top_down.business-model`.\n *\n * Verified two ways before promoting, because a rule that fires on nothing and a clean catalog\n * look identical: `wildo fwk audit` reports zero findings, and an independent graph built from the\n * compiled `playbook.json` set — every `inputs[].family` plus every `preconditions[].selector.family`\n * across all five precondition kinds — finds no family that is required and unproduced.\n *\n * Nothing is left to decide, so the reason for the softer channel is gone. A dangling declaration\n * is what it always was: a playbook that can never reach the eligibility board, or a prompt that\n * silently loses a truth section on every run.\n */\n PlaybookInputFamilyWithNoProducer = 'playbook-input-family-with-no-producer',\n PlaybookReadinessGatedFamilyNotDeclaredAsInput = 'playbook-readiness-gated-family-not-declared-as-input',\n PlaybookStepGateNamesNoDeclaredStep = 'playbook-step-gate-names-no-declared-step',\n /*\n * Rule 27 is RETIRED (2026-09-04), not renumbered: `PHASE_IS` no longer exists, so a gate naming an\n * underivable phase cannot be authored. The number is deliberately not reused — it appears in issue\n * bodies and commit messages, and a reused rule number makes those read as describing this one.\n */\n /**\n * FAIL — a `{{CONTEXT_SOURCE:<member>}}` placeholder in a playbook's `method.md` names no\n * `MetaWorkflow_ContextSource` member, or names one the playbook does not declare in\n * `method.contextSources`.\n *\n * Rule 28 (2026-09-02, issue #259's structural half). The placeholder is the compile-time JOIN\n * between a method's PROMISE of a brief section and the DECLARATION that makes the runtime compose\n * it — the two artifacts whose silent drift produced six recorded instances of prose promising\n * context the brief never carried (`skill_catalog` 2026-08-27, `compliance_primary_facts`\n * 2026-08-29, three self-refinement inputs and the phase-gate coherence delivery found by the\n * sweep on 2026-09-02). Free prose can still promise falsely — the placeholder converts the\n * NORM: an instructional reference authored through it cannot compile undeclared. The generator\n * enforces the same predicate fail-closed; this rule is the PR-time copy that fails before anyone\n * runs `generate-docs`.\n */\n PlaybookContextSourcePlaceholderInvalid = 'playbook-context-source-placeholder-invalid',\n /**\n * FAIL — a composite's `method.choreography.admits[]` entry names no authored playbook folder.\n *\n * Rule 30 (2026-09-09). Rule 13 has refused a `method.skillRefs` entry naming no authored skill\n * since the catalog existed; `admits` is the same shape one field over and had no rule at all, so a\n * composite could name a child that does not exist and nothing said so until it ran — and then only\n * by omission. `runPlaybookChoreography` FILTERS an unresolvable ref out of the eligible set, so\n * the lane simply does less than it declares, silently, on every iteration.\n *\n * The runtime consequence of a dangling child is already contained: the write-scope resolver treats\n * an unresolvable child as UNKNOWN and fails closed rather than as the empty set, so nothing is\n * granted a scope it should not have. Containment is not the same as detection, though — a\n * fail-closed runtime says the composite is safe, never that it is complete — and the authoring-time\n * answer belongs here, where the author is still present.\n *\n * FAIL rather than WARN, matching rule 13 and for the same reason: nothing is left to decide. A ref\n * naming no folder is not a judgement call about the catalog's shape (which is what put rule 23 in\n * the softer channel), it is a typo or a deletion that nobody swept, and the fix is mechanical.\n */\n PlaybookChoreographyAdmitsUnknownPlaybook = 'playbook-choreography-admits-unknown-playbook',\n /**\n * FAIL — a TOOL-LESS playbook's method tells its model to run a shell command.\n *\n * Rule 32 (2026-09-22, #1435). A `COMPANION_AGENT` or `RESEARCH_AGENT` step is a prompt and a\n * schema: no shell, no filesystem, no `rg`. `bottom_up.build-decompose` instructed its model to run\n * `rg -n \"applicationDatabase\"` to find out which store the application persists to — a value the\n * companion already computes exactly, for another lane — and the failure is SILENT in the worst\n * way: a model asked to look something up does not refuse, it answers from the surrounding prose.\n * So the plan named an obligation nothing had checked, and on PostgreSQL an unbound schema task\n * produces a resource the application cannot store.\n *\n * Only a FENCED block fires. A method legitimately names commands in prose — the objective it\n * writes for a coding agent often contains one (`wildo db diff --check`), and a `DETERMINISTIC_CLI`\n * method is ABOUT commands — so matching backticked text would report mostly correct methods, which\n * is the calibration failure that costs a checker its readers.\n *\n * FAIL rather than WARN: an instruction the executor cannot follow is not a judgement call. Either\n * the value is delivered as context, or the instruction goes.\n */\n PlaybookMethodInstructsToollessShell = 'playbook-method-instructs-toolless-shell',\n /**\n * FAIL — a file under a skill's `references/` or `examples/` is not Markdown.\n *\n * Those two directories are a PROSE channel. The generator copies them verbatim into every\n * generated application's `.claude/skills/<id>/`, and the whole pipeline that keeps their content\n * true — placeholder expansion, and this audit's own reference scan — reads `*.md` and nothing\n * else. A `.ts` dropped beside them therefore ships to application developers while sitting\n * OUTSIDE the Tier A/B/C system that exists to keep a code sample compiling: no `@wildo_source`\n * anchor, no registry entry, no `{{REFERENCE}}` placeholder, and no drift protection.\n *\n * Measured 2026-09-12, which is why this is FAIL and not WARN. `engine-product-definitions`\n * acquired `examples/report-feature.ts` and `examples/report-surface.tsx` — the first and only\n * non-Markdown files ever placed under a skill — and every gate stayed silent:\n *\n * - `pnpm check:example-drift` matches `*.example.ts(x)` by NAME, so neither file was in its\n * population and neither got the coverage or runtime-pin treatment it demands;\n * - this audit's own supporting-file scan matches Markdown only, so both were invisible here;\n * - `wildo fwk audit` passed with zero findings while both shipped into `dist/knowledge`.\n *\n * What finally reported it was `tsc` — because `framework-knowledge`'s `tsconfig.json` includes\n * `src`, so the files silently joined the PACKAGE'S OWN TypeScript program. That is the quiet\n * part: the `.tsx` failed (no `react`, no `jsx` option) and broke the package build for every\n * session for eight hours, while the `.ts` COMPILED — so had the author added only the `.ts`,\n * nothing anywhere would ever have fired.\n *\n * The author was NOT careless, which is the part that makes this worth a rule. Their session notes\n * show the two files were typechecked deliberately — through a BESPOKE tsconfig whose `paths`\n * hand-pointed at the frontend package's `dist` and its private `node_modules/@types/react`,\n * recorded as necessary \"because this directory is not the frontend package and cannot resolve its\n * private node_modules\". That sentence is the diagnosis: a throwaway config made the sample compile\n * in isolation and the real conclusion — the file belongs in the package that owns the contract —\n * went unreached. A green bespoke typecheck is evidence about that config, never about the package.\n *\n * `scripts/` is deliberately NOT covered: it is the pipeline's designated channel for executables,\n * which are run rather than read. It holds zero files today.\n *\n * The remedy is never to loosen a typecheck. A code sample belongs in the package that owns the\n * contract, named `*.example.ts(x)` so the drift checker sees it, anchored with `@wildo_source`,\n * registered, and pulled into the prose with a `REFERENCE` placeholder — the Tier B path in\n * `.claude/rules/framework-knowledge-authoring.md`.\n */\n SkillSupportingFileIsNotMarkdown = 'skill-supporting-file-is-not-markdown',\n /**\n * FAIL — an authored knowledge skill declares `user-invocable` (#1656).\n *\n * The generator marks EVERY compiled knowledge skill `user-invocable: false`, so an application's\n * Claude Code `/` menu lists the `/wildo:*` commands instead of ~118 reference skills; Claude still\n * loads a knowledge skill by its description. The generator owns the field and refuses an authored\n * one at `generate-docs` — this rule surfaces the same refusal at PR time. A skill a person should\n * invoke is a command, authored under `src/claude-plugin/skills/`.\n */\n SkillDeclaresUserInvocable = 'skill-declares-user-invocable',\n}\n\nexport interface FrameworkKnowledgeAuditFinding {\n rule: FrameworkKnowledgeAuditRule;\n severity: FrameworkKnowledgeAuditSeverity;\n message: string;\n /** Repository-relative file path; with optional `:line` suffix when the rule is line-localized. */\n location: string;\n}\n\nexport interface FrameworkKnowledgeAuditStats {\n registeredAnchorCount: number;\n discoveredAnchorCount: number;\n skillCount: number;\n referenceFileCount: number;\n playbookCount: number;\n /**\n * Total `method.choreography.admits[]` entries the parser LIFTED across the catalog.\n *\n * Exists because rule 30's clean answer and a blind one are otherwise identical: a parser that\n * lifted nothing reports zero dangling children exactly as a healthy catalog does. This is the\n * number that separates them, and the live contract asserts it is non-zero — the same reason every\n * checker in `scripts/code-conduct/` ships a `--self-test`.\n */\n choreographyChildRefCount: number;\n /**\n * How many playbooks the parser resolved a TOOL-LESS executor for.\n *\n * Rule 32's guard, and the same argument as `choreographyChildRefCount` above: a vocabulary that\n * failed to read `MetaWorkflow_Executor` resolves every enum-style executor to `null` and reports a\n * clean catalog exactly as a healthy one does. 13 of 25 playbooks are enum-style, so this number\n * going to zero means the rule stopped looking, not that the defect went away.\n */\n toollessPlaybookCount: number;\n}\n\nexport interface FrameworkKnowledgeAuditReport {\n failures: FrameworkKnowledgeAuditFinding[];\n warnings: FrameworkKnowledgeAuditFinding[];\n stats: FrameworkKnowledgeAuditStats;\n}\n\ninterface RegistryParseResult {\n ids: Set<string>;\n registryFilePath: string;\n}\n\ninterface AnchorSpan {\n id: string;\n filePath: string;\n line: number;\n /**\n * SHA-1 of the extracted body, set only for a `part:start`/`part:end` pair\n * that closed in the same file. `undefined` for `@wildo_source:file` anchors\n * and for spans that never closed (Rule 12 already owns those).\n *\n * Rule 21 compares these across files: identical bodies contributed under one\n * id mean the compiled reference will repeat itself.\n */\n contentDigest?: string;\n}\n\n/**\n * A `@wildo_source:part:start <id>` directive that did not have a\n * matching `@wildo_source:part:end <id>` before EOF. Captured during\n * the same file walk that discovers anchor spans, then surfaced by\n * Rule 12 as a FAIL-channel finding.\n */\ninterface UnclosedAnchor {\n id: string;\n filePath: string;\n /** 1-based line number of the unclosed `part:start` directive. */\n startLine: number;\n}\n\ninterface AnchorScanResult {\n spans: AnchorSpan[];\n unclosedAnchors: UnclosedAnchor[];\n}\n\ninterface ParsedSkill {\n skillId: string;\n skillFilePath: string;\n rawContent: string;\n frontmatter: SkillFrontmatter;\n referenceSectionContent: string | null;\n workedExampleSectionContent: string | null;\n verificationSectionContent: string | null;\n /** Every `{{REFERENCE:<id>}}` placeholder discovered in the SKILL.md body. */\n referencePlaceholders: ReferencePlaceholderOccurrence[];\n /** Substantial code blocks discovered outside of the Verification section. */\n codeBlocks: SkillCodeBlock[];\n}\n\ninterface SkillFrontmatter {\n name: string | null;\n description: string | null;\n rawBlock: string | null;\n}\n\ninterface ReferencePlaceholderOccurrence {\n id: string;\n line: number;\n filePath: string;\n}\n\ninterface SkillCodeBlock {\n language: string;\n startLine: number;\n endLine: number;\n lineCount: number;\n precedingContext: string;\n}\n\n/** A CommonMark-style fenced-code delimiter admitted by the audit parser. */\ninterface MarkdownCodeFence {\n marker: '`' | '~';\n length: number;\n infoString: string;\n}\n\n/**\n * One authored playbook folder as seen by the buildless audit. Contained JSON\n * is parsed defensively, while native TypeScript is inspected as a constrained\n * data AST and never executed. Schema-level validation belongs to the\n * generator, which legitimately imports the application-creation contract.\n */\ninterface ParsedPlaybook {\n /** Folder name under `src/playbooks/` — the loader address. */\n playbookRef: string;\n /** Repo-relative path of the canonical structured source. */\n structuredSourceFilePath: string;\n sourceFormat: FrameworkKnowledgePlaybookSourceFormat;\n /** Repo-relative path of the authored `method.md`. */\n methodFilePath: string;\n methodExists: boolean;\n /** `method.md` content, `null` when the file is missing. */\n methodContent: string | null;\n /** Static audit projection of the canonical structured source. */\n json: Record<string, unknown> | null;\n /** Human-readable cause when `json` is `null` (parse error or wrong top-level shape). */\n jsonContractError: string | null;\n /**\n * Whether this playbook exports `evaluationTreatmentSource`, and therefore whether a run of it can\n * produce an advisory judge verdict a sibling may gate on (#1498). Read by rule 26.\n */\n declaresEvaluationTreatment: boolean;\n}\n\n/**\n * Static parser + auditor for the framework-knowledge authoring surface.\n *\n * Two severity channels — see {@link FrameworkKnowledgeAuditSeverity}.\n *\n * Designed to run from CI on every PR touching\n * `platform/factory/framework-knowledge/**`, `engine/**`, or\n * `examples/wonder-todos/**`. Pure stdlib + glob, no TypeScript build\n * required: the registry is parsed as text from the source `.ts`\n * file, so the audit is bootable even when the framework-knowledge\n * package has not been built.\n */\nexport class FrameworkKnowledgeAuditService {\n static audit(frameworkRoot: string): FrameworkKnowledgeAuditReport {\n const findings: FrameworkKnowledgeAuditFinding[] = [];\n\n const registry = FrameworkKnowledgeAuditService.loadRegistry(frameworkRoot, findings);\n const { spans: anchorSpans, unclosedAnchors } = FrameworkKnowledgeAuditService.discoverAnchorSpans(frameworkRoot);\n const skills = FrameworkKnowledgeAuditService.discoverSkills(frameworkRoot);\n const playbooks = FrameworkKnowledgeAuditService.discoverPlaybooks(frameworkRoot);\n // Re-read here rather than threaded from the discovery pass: the vocabulary is a pure read of two\n // engine source files, and rules that key on an enum-backed field need it in THIS scope.\n const playbookVocabulary = loadPlaybookVocabulary(resolveFrameworkLayout(frameworkRoot).engineHome);\n const referenceFilesBySkill = FrameworkKnowledgeAuditService.discoverReferenceFilesBySkill(frameworkRoot);\n const indexCatalogSkillIds = FrameworkKnowledgeAuditService.parseIndexCatalogSkillIds(frameworkRoot);\n\n const registeredIds = registry.ids;\n const anchorIdToSpans = FrameworkKnowledgeAuditService.indexAnchorSpansById(anchorSpans);\n const referencePlaceholders = FrameworkKnowledgeAuditService.collectReferencePlaceholders(frameworkRoot, skills, playbooks);\n\n // The anchor/catalog audit proves that authored knowledge can be compiled;\n // this separate product-boundary check proves it can be consumed outside\n // the monorepo. Keep it here (rather than in a CLI-only install command)\n // so a bad authoring change fails before it becomes generated guidance.\n for (const guidanceFinding of FrameworkKnowledgeApplicationGuidanceValidator.validateAuthored(frameworkRoot)) {\n findings.push({\n rule: FrameworkKnowledgeAuditRule.ApplicationGuidanceNotPackageOnly,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n location: `${guidanceFinding.relativePath}:${guidanceFinding.line}`,\n message: `[${guidanceFinding.kind}] ${guidanceFinding.message} Offending value: ${guidanceFinding.offendingValue}. ${guidanceFinding.remediation}`,\n });\n }\n\n FrameworkKnowledgeAuditService.checkRule1ReferencePlaceholderToUnknownId({\n registeredIds,\n placeholders: referencePlaceholders,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule2ReferencePlaceholderWithoutAnchor({\n registeredIds,\n anchorIdToSpans,\n placeholders: referencePlaceholders,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule3AnchorWithoutRegistryEntry({\n registeredIds,\n anchorSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule4SkillFrontmatterIncomplete({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule22SkillNameNotHostAddressable({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule32SkillDeclaresUserInvocable({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule31SkillSupportingFileIsNotMarkdown({ frameworkRoot, findings });\n FrameworkKnowledgeAuditService.checkRule5SkillDescriptionExceedsHardLimit({ skills, findings });\n\n FrameworkKnowledgeAuditService.checkRule6RegistryEntryWithoutAnchor({\n registeredIds,\n anchorIdToSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRuleSkillCitesMissingReferenceFile({\n skills,\n referenceFilesBySkill,\n findings,\n });\n FrameworkKnowledgeAuditService.checkRule7ReferenceFileNotCitedInSkill({\n skills,\n referenceFilesBySkill,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule8IndexCatalogMismatch({\n skills,\n indexCatalogSkillIds,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule9SkillDescriptionMissingTriggerPhrasing({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule10TierCExampleWithoutWaiver({ skills, findings });\n FrameworkKnowledgeAuditService.checkRule11VerificationSectionMissingGrepInvariants({ skills, findings });\n\n FrameworkKnowledgeAuditService.checkRule12AnchorWithoutEndMarker({\n unclosedAnchors,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule21AnchorIdDuplicateSourceContent({\n spans: anchorSpans,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule13PlaybookSkillRefToUnknownSkill({\n skills,\n playbooks,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkRule32PlaybookMethodInstructsToollessShell({ playbooks, vocabulary: playbookVocabulary, findings });\n FrameworkKnowledgeAuditService.checkRule30PlaybookChoreographyAdmitsUnknownPlaybook({\n playbooks,\n findings,\n });\n\n // Rule 14 — playbook `{{REFERENCE:<id>}}` coverage — has no dedicated\n // check method: `collectReferencePlaceholders` above feeds playbook\n // method bodies into Rules 1/2, so a bad id FAILs at PR time instead of\n // crashing `wildo fwk generate-docs` inside `expandTemplateReferences`.\n\n FrameworkKnowledgeAuditService.checkRule23PlaybookInputFamilyWithNoProducer({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule26PlaybookStepGateNamesNoDeclaredStep({ playbooks, findings });\n FrameworkKnowledgeAuditService.checkRule28PlaybookContextSourcePlaceholder({\n playbooks,\n contextSourceValues: loadPlaybookVocabulary(resolveFrameworkLayout(frameworkRoot).engineHome).contextSourceValues,\n findings,\n });\n FrameworkKnowledgeAuditService.checkRule15PlaybookContract({\n playbooks,\n findings,\n });\n\n FrameworkKnowledgeAuditService.checkSkillsIndexForbiddenPlaceholders({\n frameworkRoot,\n findings,\n });\n FrameworkKnowledgeAuditService.checkAuthoredRulesForbiddenPlaceholders({\n frameworkRoot,\n findings,\n });\n\n const failures = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Fail);\n const warnings = findings.filter((finding) => finding.severity === FrameworkKnowledgeAuditSeverity.Warn);\n\n return {\n failures,\n warnings,\n stats: {\n registeredAnchorCount: registeredIds.size,\n discoveredAnchorCount: anchorIdToSpans.size,\n skillCount: skills.length,\n referenceFileCount: Array.from(referenceFilesBySkill.values()).reduce((sum, list) => sum + list.length, 0),\n playbookCount: playbooks.length,\n choreographyChildRefCount: playbooks.reduce(\n (total, playbook) => total + FrameworkKnowledgeAuditService.readPlaybookChoreographyAdmits(playbook).length,\n 0,\n ),\n toollessPlaybookCount: playbooks.filter(\n (playbook) => FrameworkKnowledgeAuditService.playbookRunsWithoutTools(playbook, playbookVocabulary),\n ).length,\n },\n };\n }\n\n // ─── Discovery ───────────────────────────────────────────────────────────\n\n /**\n * Parses `FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS` as text from\n * `framework-knowledge.definitions.ts`. Reading the source directly\n * (rather than importing the compiled package) keeps the audit\n * bootable in CI without a build step and avoids a circular\n * dev-dependency between the CLI and the knowledge package.\n */\n private static loadRegistry(\n frameworkRoot: string,\n findings: FrameworkKnowledgeAuditFinding[],\n ): RegistryParseResult {\n const registryFilePath = join(frameworkRoot, REGISTRY_RELATIVE_PATH);\n if (!existsSync(registryFilePath)) {\n throw new Error(\n `Framework-knowledge registry not found at ${REGISTRY_RELATIVE_PATH}. The audit cannot run without the source-of-truth registry.`,\n );\n }\n\n const content = readFileSync(registryFilePath, 'utf8');\n const openIndex = content.indexOf(REGISTRY_OPEN_LITERAL);\n const closeIndex = content.indexOf(REGISTRY_CLOSE_LITERAL, openIndex);\n if (openIndex === -1 || closeIndex === -1) {\n throw new Error(\n `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.`,\n );\n }\n\n const arrayBody = content.slice(openIndex + REGISTRY_OPEN_LITERAL.length, closeIndex);\n const ids = new Set<string>();\n const seenIds = new Set<string>();\n for (const rawLine of arrayBody.split('\\n')) {\n const trimmed = rawLine.trim();\n if (trimmed.length === 0 || trimmed.startsWith('//') || trimmed.startsWith('/*') || trimmed.startsWith('*')) {\n continue;\n }\n const literalMatch = trimmed.match(/^['\"]([^'\"]+)['\"]\\s*,?\\s*(?:\\/\\/.*)?$/u);\n if (!literalMatch) {\n continue;\n }\n const id = literalMatch[1];\n if (seenIds.has(id)) {\n findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Duplicate registry entry \"${id}\" — each id must appear once in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,\n location: REGISTRY_RELATIVE_PATH,\n });\n continue;\n }\n seenIds.add(id);\n ids.add(id);\n }\n\n return { ids, registryFilePath };\n }\n\n /**\n * Walks the four scan roots (engine/, platform/, examples/, docs/) for\n * `@wildo_source:part:start`, `@wildo_source:part:end`, and\n * `@wildo_source:file` directives. Mirrors\n * `FrameworkKnowledgeGenerationService.discoverSourceFiles` so the\n * audit and the generator stay perfectly aligned on what counts as an\n * anchored span.\n *\n * Returns both:\n *\n * - `spans` — the anchored spans (one per discovered start/file\n * directive) consumed by Rules 2/3/6.\n * - `unclosedAnchors` — `part:start` directives that did not have a\n * matching `part:end` before EOF, consumed by Rule 12. Tracked\n * per-file using a stack so nested-but-otherwise-balanced anchors\n * stay correct: every `part:start` pushes an entry, every\n * `part:end` for an id present in the open set pops it; the\n * leftover entries at EOF are the unclosed ones.\n */\n private static discoverAnchorSpans(frameworkRoot: string): AnchorScanResult {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const scanRoots = [\n layout.engineHome,\n layout.platformHome,\n // The third home (D9): the registry providers the framework authors (#2019). Kept in step with\n // `getSourceScanRoots` in the GENERATION service. The two must walk the same universe: a root the\n // audit sees and generation does not reports dangling references, and a root generation sees and\n // the audit does not ships unaudited anchors.\n layout.providersRegistryHome,\n layout.docsHome,\n layout.examplesHome,\n ].filter((absolutePath) => existsSync(absolutePath));\n\n const spans: AnchorSpan[] = [];\n const unclosedAnchors: UnclosedAnchor[] = [];\n\n if (scanRoots.length === 0) {\n return { spans, unclosedAnchors };\n }\n\n const relativeRoots = scanRoots\n .map((absolutePath) => relative(layout.repositoryRoot, absolutePath))\n .filter((relativePath) => relativePath.length > 0);\n\n const filePaths = globSync(`{${relativeRoots.join(',')}}/**/*.${SCAN_GLOB_EXTENSIONS}`, {\n cwd: layout.repositoryRoot,\n absolute: true,\n nodir: true,\n // dot: true so dot-prefixed app folders (e.g. `.wildo-saas/`)\n // are scanned for anchors. The shared ignore contract masks generated\n // dot-directories that would otherwise leak into the scan.\n dot: true,\n ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],\n }).sort((left, right) => left.localeCompare(right));\n\n for (const absoluteFilePath of filePaths) {\n const fileContent = readFileSync(absoluteFilePath, 'utf8');\n const lines = fileContent.split('\\n');\n const relativeFilePath = relative(frameworkRoot, absoluteFilePath);\n\n // Map<id, startLine> for anchors currently waiting for an end\n // marker. Same id reopened before being closed is unusual but\n // legal; we keep the *first* (outermost) start line so the\n // diagnostic points the author at the outer block they forgot\n // to close — that's nearly always the real defect.\n // Also carries the index of the span pushed at `part:start`, so the\n // matching `part:end` can stamp the extracted body's digest onto it\n // (Rule 21) without re-walking the file.\n const openAnchorsById = new Map<string, { startLine: number; spanIndex: number }>();\n\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n const lineNumber = lineIndex + 1;\n\n const partStartMatch = PART_START_DIRECTIVE_REGEX.exec(line);\n if (partStartMatch) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:start')) {\n spans.push({ id, filePath: relativeFilePath, line: lineNumber });\n if (!openAnchorsById.has(id)) {\n openAnchorsById.set(id, { startLine: lineNumber, spanIndex: spans.length - 1 });\n }\n }\n }\n\n const partEndMatch = PART_END_DIRECTIVE_REGEX.exec(line);\n if (partEndMatch) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:part:end')) {\n const openAnchor = openAnchorsById.get(id);\n if (openAnchor === undefined) {\n continue;\n }\n // Body = everything strictly between the two directive lines, which\n // is what the generator extracts (anchor lines are stripped).\n const body = lines.slice(openAnchor.startLine, lineIndex).join('\\n').trim();\n spans[openAnchor.spanIndex].contentDigest = createHash('sha1').update(body).digest('hex');\n openAnchorsById.delete(id);\n }\n }\n\n const fileMatch = FILE_DIRECTIVE_REGEX.exec(line);\n if (fileMatch && lineNumber <= 10) {\n for (const id of FrameworkKnowledgeAuditService.parseAnchorIds(line, '@wildo_source:file')) {\n spans.push({ id, filePath: relativeFilePath, line: lineNumber });\n }\n }\n }\n\n for (const [id, openAnchor] of openAnchorsById) {\n unclosedAnchors.push({ id, filePath: relativeFilePath, startLine: openAnchor.startLine });\n }\n }\n\n return { spans, unclosedAnchors };\n }\n\n /**\n * Tokenizes everything after the directive name on a single line,\n * stripping `facet:*` / `tag:*` qualifiers so only true anchor ids\n * remain. Mirrors the generator's anchor-tag parser.\n */\n private static parseAnchorIds(line: string, directive: string): string[] {\n const directiveIndex = line.indexOf(directive);\n if (directiveIndex === -1) {\n return [];\n }\n const remainder = line\n .slice(directiveIndex + directive.length)\n .replace('*/', ' ')\n .replace('-->', ' ');\n return remainder\n .split(/[\\s,]+/u)\n .map((token) => token.trim())\n .filter((token) => token.length > 0 && !token.startsWith('facet:') && !token.startsWith('tag:'));\n }\n\n private static indexAnchorSpansById(anchorSpans: AnchorSpan[]): Map<string, AnchorSpan[]> {\n const indexed = new Map<string, AnchorSpan[]>();\n for (const span of anchorSpans) {\n const existing = indexed.get(span.id);\n if (existing) {\n existing.push(span);\n } else {\n indexed.set(span.id, [span]);\n }\n }\n return indexed;\n }\n\n private static discoverSkills(frameworkRoot: string): ParsedSkill[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return [];\n }\n\n const skillEntryPaths = globSync('*/SKILL.md', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n return skillEntryPaths.map((skillFilePath) => {\n const skillId = basename(dirname(skillFilePath));\n const rawContent = readFileSync(skillFilePath, 'utf8');\n const frontmatter = FrameworkKnowledgeAuditService.parseFrontmatter(rawContent);\n const referenceSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['references']);\n const workedExampleSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, [\n 'worked example',\n 'worked examples',\n ]);\n const verificationSectionContent = FrameworkKnowledgeAuditService.extractMarkdownSection(rawContent, ['verification']);\n const referencePlaceholders = FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n rawContent,\n relative(frameworkRoot, skillFilePath),\n );\n const codeBlocks = FrameworkKnowledgeAuditService.collectCodeBlocks(rawContent);\n\n return {\n skillId,\n skillFilePath: relative(frameworkRoot, skillFilePath),\n rawContent,\n frontmatter,\n referenceSectionContent,\n workedExampleSectionContent,\n verificationSectionContent,\n referencePlaceholders,\n codeBlocks,\n };\n });\n }\n\n /**\n * Discovers authored playbook folders under `src/playbooks/`, mirroring\n * `FrameworkKnowledgeGenerationService.discoverAuthoredPlaybooks` (folder\n * name = ref, exactly one supported structured source) so audit and\n * generator agree on the playbook universe. Broken JSON or non-declarative\n * TypeScript becomes a Rule 15 finding, never an audit crash.\n */\n /**\n * Every authored playbook's `inputs[]`, as the static projection reads it — without running the audit.\n *\n * Exists so a check this service deliberately cannot perform can still run on the AUTHORED catalog\n * (#1444). Aspect keys on an input must resolve against the aspect registry and the family bindings,\n * which live in built packages this buildless service never imports. A test that CAN import them reads\n * the inputs through here, so a typo is caught by the ordinary test run rather than only by the next\n * `generate-docs`. Read-only; a playbook whose source does not parse contributes no inputs (the audit\n * itself reports that as a contract violation).\n */\n public static readAuthoredPlaybookInputs(frameworkRoot: string): Array<{ playbookRef: string; inputs: readonly unknown[] }> {\n return FrameworkKnowledgeAuditService.discoverPlaybooks(frameworkRoot).map((playbook) => ({\n playbookRef: playbook.playbookRef,\n inputs: Array.isArray(playbook.json?.inputs) ? (playbook.json.inputs as unknown[]) : [],\n }));\n }\n\n private static discoverPlaybooks(frameworkRoot: string): ParsedPlaybook[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n // Parsed ONCE per run: every playbook resolves its enum-backed fields against the same table.\n const vocabulary = loadPlaybookVocabulary(layout.engineHome);\n const authoredPlaybooksHome = layout.frameworkKnowledgeAuthoredPlaybooksHome;\n if (!existsSync(authoredPlaybooksHome)) {\n return [];\n }\n\n const playbookSourcePaths = globSync(`*/{${PLAYBOOK_JSON_FILE_NAME},${PLAYBOOK_DEFINITION_FILE_NAME}}`, {\n cwd: authoredPlaybooksHome,\n nodir: true,\n absolute: true,\n ignore: [...FRAMEWORK_KNOWLEDGE_SCAN_IGNORE_GLOBS],\n }).sort((left, right) => left.localeCompare(right));\n\n const pathsByRef = new Map<string, string[]>();\n for (const sourcePath of playbookSourcePaths) {\n const playbookRef = basename(dirname(sourcePath));\n pathsByRef.set(playbookRef, [...(pathsByRef.get(playbookRef) ?? []), sourcePath]);\n }\n\n return [...pathsByRef.entries()].map(([playbookRef, sourcePaths]) => {\n const structuredSourcePath = sourcePaths[0];\n const sourceFormat = FrameworkKnowledgePlaybookSourceFormat.EFFECT_FREE_TYPESCRIPT_MODULE_V1;\n const methodPath = join(dirname(structuredSourcePath), PLAYBOOK_METHOD_FILE_NAME);\n const methodExists = existsSync(methodPath);\n\n let json: Record<string, unknown> | null = null;\n let jsonContractError: string | null = null;\n let declaresEvaluationTreatment = false;\n if (sourcePaths.length > 1) {\n jsonContractError = `more than one structured source exists; exactly one canonical ${PLAYBOOK_DEFINITION_FILE_NAME} is allowed`;\n } else if (!structuredSourcePath.endsWith(PLAYBOOK_DEFINITION_FILE_NAME)) {\n // The JSON-v1 authoring format was retired at the first-activation hard cut.\n 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`;\n } else {\n const sourceFile = ts.createSourceFile(\n structuredSourcePath,\n readFileSync(structuredSourcePath, 'utf8'),\n ts.ScriptTarget.Latest,\n true,\n ts.ScriptKind.TS,\n );\n const extracted = extractStaticPlaybookAuditShape(sourceFile, vocabulary);\n json = extracted.json;\n declaresEvaluationTreatment = extracted.declaresEvaluationTreatment;\n if (extracted.contractErrors.length > 0) {\n jsonContractError = extracted.contractErrors.join('; ');\n }\n }\n\n return {\n playbookRef,\n structuredSourceFilePath: relative(frameworkRoot, structuredSourcePath),\n sourceFormat,\n methodFilePath: relative(frameworkRoot, methodPath),\n methodExists,\n methodContent: methodExists ? readFileSync(methodPath, 'utf8') : null,\n json,\n jsonContractError,\n declaresEvaluationTreatment,\n };\n });\n }\n\n\n private static discoverReferenceFilesBySkill(frameworkRoot: string): Map<string, string[]> {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return new Map();\n }\n\n const referenceFilePaths = globSync('*/references/**/*.md', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n const indexed = new Map<string, string[]>();\n for (const absoluteReferencePath of referenceFilePaths) {\n const relativeFromSkills = relative(authoredSkillsHome, absoluteReferencePath);\n const skillId = relativeFromSkills.split(/[/\\\\]/u)[0] ?? '';\n if (skillId.length === 0) {\n continue;\n }\n const list = indexed.get(skillId) ?? [];\n list.push(relative(frameworkRoot, absoluteReferencePath));\n indexed.set(skillId, list);\n }\n return indexed;\n }\n\n private static parseIndexCatalogSkillIds(frameworkRoot: string): Set<string> | null {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (!existsSync(indexFilePath)) {\n return null;\n }\n const content = readFileSync(indexFilePath, 'utf8');\n const found = new Set<string>();\n /**\n * The INDEX.md catalog is a set of markdown tables whose first cell opens\n * with the skill id in inline backticks, either bare (`` `journey-run` ``)\n * or bolded (`` **`resource-add-field`** ``). We anchor on that row\n * position rather than sniffing every backtick token in the file.\n *\n * The previous shape walked ALL backticked tokens and kept the ones\n * containing an underscore. That heuristic was load-bearing on the id\n * SPELLING: when skill ids moved from `snake_case` to `kebab-case` (so a\n * `SKILL.md` frontmatter `name` could satisfy the host's `[a-z0-9-]+`\n * rule) it would have reported all 102 skills as absent from the catalog,\n * and the naive kebab port of it (`includes('-')`) would have mistaken\n * ordinary prose tokens — `market-context-for-icp`, `reflect-metadata` —\n * for skills that no longer exist. Row anchoring is exact in both\n * directions and does not care how an id is spelled.\n */\n for (const match of content.matchAll(/^\\|\\s*(?:\\*\\*)?`([a-z0-9][a-z0-9-]*)`/gmu)) {\n found.add(match[1]);\n }\n return found;\n }\n\n // ─── Skill parsing helpers ───────────────────────────────────────────────\n\n private static parseFrontmatter(rawContent: string): SkillFrontmatter {\n const trimmed = rawContent.trimStart();\n if (!trimmed.startsWith('---')) {\n return { name: null, description: null, rawBlock: null };\n }\n const closeIndex = trimmed.indexOf('\\n---', 3);\n if (closeIndex === -1) {\n return { name: null, description: null, rawBlock: null };\n }\n const block = trimmed.slice(3, closeIndex).trim();\n const name = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'name');\n const description = FrameworkKnowledgeAuditService.parseFrontmatterScalar(block, 'description');\n return { name, description, rawBlock: block };\n }\n\n private static parseFrontmatterScalar(block: string, key: string): string | null {\n const lines = block.split('\\n');\n const buffer: string[] = [];\n let collecting = false;\n for (const line of lines) {\n if (!collecting) {\n const match = line.match(new RegExp(`^${key}\\\\s*:\\\\s*(.*)$`, 'u'));\n if (match) {\n const remainder = match[1].trim();\n if (remainder.length > 0) {\n buffer.push(remainder);\n }\n collecting = true;\n continue;\n }\n } else {\n if (/^[a-zA-Z0-9_]+\\s*:/u.test(line)) {\n break;\n }\n const continuation = line.trim();\n if (continuation.length > 0) {\n buffer.push(continuation);\n }\n }\n }\n if (buffer.length === 0) {\n return collecting ? '' : null;\n }\n return buffer.join(' ').trim();\n }\n\n private static extractMarkdownSection(content: string, headingNeedles: string[]): string | null {\n const lines = content.split('\\n');\n const lowercasedNeedles = headingNeedles.map((needle) => needle.toLowerCase());\n let captureStart: number | null = null;\n let currentDepth: number | null = null;\n let openFence: MarkdownCodeFence | null = null;\n const buffer: string[] = [];\n\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n\n if (openFence !== null) {\n if (FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {\n openFence = null;\n }\n if (captureStart !== null) {\n buffer.push(line);\n }\n continue;\n }\n\n // Markdown permits shell comments such as `# explain the invariant`\n // inside fenced code. Those bytes are not headings and must not end the\n // enclosing Verification section. Keep section discovery and Rule 11's\n // code-block discovery on one fence grammar so the two consumers cannot\n // disagree about which bytes form the runnable block.\n const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);\n if (openingFence !== null) {\n openFence = openingFence;\n if (captureStart !== null) {\n buffer.push(line);\n }\n continue;\n }\n\n const headingMatch = line.match(/^(#{1,6})\\s+(.+?)\\s*$/u);\n if (headingMatch) {\n const depth = headingMatch[1].length;\n const title = headingMatch[2].trim().toLowerCase();\n if (captureStart !== null && currentDepth !== null && depth <= currentDepth) {\n break;\n }\n if (lowercasedNeedles.includes(title)) {\n captureStart = lineIndex + 1;\n currentDepth = depth;\n continue;\n }\n }\n if (captureStart !== null) {\n buffer.push(line);\n }\n }\n\n if (captureStart === null) {\n return null;\n }\n return buffer.join('\\n');\n }\n\n private static collectPlaceholdersInContent(content: string, filePath: string): ReferencePlaceholderOccurrence[] {\n const occurrences: ReferencePlaceholderOccurrence[] = [];\n const lines = content.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n REFERENCE_PLACEHOLDER_REGEX.lastIndex = 0;\n let match: RegExpExecArray | null;\n while ((match = REFERENCE_PLACEHOLDER_REGEX.exec(line)) !== null) {\n occurrences.push({\n id: match[1].trim(),\n line: lineIndex + 1,\n filePath,\n });\n }\n }\n return occurrences;\n }\n\n private static collectCodeBlocks(content: string): SkillCodeBlock[] {\n const blocks: SkillCodeBlock[] = [];\n const lines = content.split('\\n');\n let openIndex: number | null = null;\n let openFence: MarkdownCodeFence | null = null;\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n const line = lines[lineIndex];\n\n if (openFence === null) {\n const openingFence = FrameworkKnowledgeAuditService.parseMarkdownCodeFenceOpening(line);\n if (openingFence !== null) {\n openIndex = lineIndex;\n openFence = openingFence;\n }\n continue;\n }\n\n if (!FrameworkKnowledgeAuditService.isMarkdownCodeFenceClosing(line, openFence)) {\n continue;\n }\n\n const startLine = openIndex! + 1;\n const endLine = lineIndex + 1;\n const lineCount = endLine - startLine - 1;\n const contextStart = Math.max(0, openIndex! - 8);\n blocks.push({\n language: openFence.infoString.trim().split(/\\s+/u)[0]?.toLowerCase() ?? '',\n startLine,\n endLine,\n lineCount,\n precedingContext: lines.slice(contextStart, openIndex!).join('\\n'),\n });\n openIndex = null;\n openFence = null;\n }\n return blocks;\n }\n\n /**\n * Parse an opening fenced-code delimiter using the CommonMark structural\n * boundary relevant to this audit: at most three leading spaces, at least\n * three equal backticks/tildes, and no backtick inside a backtick fence's\n * info string. Four-space-indented text is an ordinary code block, not a\n * delimiter, so it must never hide a later `## Verification` heading.\n */\n private static parseMarkdownCodeFenceOpening(line: string): MarkdownCodeFence | null {\n const match = line.match(/^( {0,3})(`{3,}|~{3,})(.*)$/u);\n if (!match) {\n return null;\n }\n const sequence = match[2];\n const infoString = match[3].replace(/\\r$/u, '');\n if (sequence[0] === '`' && infoString.includes('`')) {\n return null;\n }\n return {\n marker: sequence[0] as '`' | '~',\n length: sequence.length,\n infoString: infoString.trim(),\n };\n }\n\n /** A closing fence has the same marker, sufficient length and no suffix other than whitespace. */\n private static isMarkdownCodeFenceClosing(line: string, openFence: MarkdownCodeFence): boolean {\n const match = line.match(/^( {0,3})(`{3,}|~{3,})[ \\t\\r]*$/u);\n if (!match) {\n return false;\n }\n const sequence = match[2];\n return sequence[0] === openFence.marker && sequence.length >= openFence.length;\n }\n\n /**\n * Aggregates `{{REFERENCE:<id>}}` placeholders across SKILL.md plus\n * every `references/*.md` and `examples/*.md` belonging to each\n * skill, plus every playbook's `method.md`. The audit treats all of\n * them uniformly because they all flow through the generator's\n * reference expansion step — a bad id in ANY of them is a\n * `generate-docs` crash (`expandTemplateReferences` throws), so it\n * must FAIL here at PR time instead (Rule 14 for playbook bodies).\n */\n private static collectReferencePlaceholders(\n frameworkRoot: string,\n skills: ParsedSkill[],\n playbooks: ParsedPlaybook[],\n ): ReferencePlaceholderOccurrence[] {\n const layout = resolveFrameworkLayout(frameworkRoot);\n const occurrences: ReferencePlaceholderOccurrence[] = [];\n for (const skill of skills) {\n occurrences.push(...skill.referencePlaceholders);\n }\n\n const supportingMarkdownFiles = globSync('*/{references,examples}/**/*.md', {\n cwd: layout.frameworkKnowledgeAuthoredSkillsHome,\n nodir: true,\n absolute: true,\n });\n for (const absoluteFilePath of supportingMarkdownFiles) {\n const content = readFileSync(absoluteFilePath, 'utf8');\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n content,\n relative(frameworkRoot, absoluteFilePath),\n ),\n );\n }\n\n for (const playbook of playbooks) {\n if (playbook.methodContent === null) {\n continue;\n }\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n playbook.methodContent,\n playbook.methodFilePath,\n ),\n );\n }\n\n /**\n * The authored skills INDEX.md flows through the same reference\n * expansion since the P-24 router fix — a bad id there crashes\n * `generate-docs` exactly like a bad id in a skill body, so it rides\n * Rules 1/2 too.\n */\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (existsSync(indexFilePath)) {\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n readFileSync(indexFilePath, 'utf8'),\n relative(frameworkRoot, indexFilePath),\n ),\n );\n }\n\n /**\n * Authored RULES flow through the same reference expansion (`renderAuthoredMarkdownFile`,\n * `replacements: {}`), so a bad id in a rule crashes `generate-docs` exactly like a bad id in a\n * skill body — and until 2026-09-07 no audit rule read this directory at all, which is what let\n * #98's authored-and-never-delivered rule pass a green audit.\n */\n for (const ruleFilePath of FrameworkKnowledgeAuditService.listAuthoredRuleFiles(frameworkRoot)) {\n occurrences.push(\n ...FrameworkKnowledgeAuditService.collectPlaceholdersInContent(\n readFileSync(ruleFilePath, 'utf8'),\n relative(frameworkRoot, ruleFilePath),\n ),\n );\n }\n\n return occurrences;\n }\n\n // ─── Rules ───────────────────────────────────────────────────────────────\n\n private static checkRule1ReferencePlaceholderToUnknownId(params: {\n registeredIds: Set<string>;\n placeholders: ReferencePlaceholderOccurrence[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const placeholder of params.placeholders) {\n if (!params.registeredIds.has(placeholder.id)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `{{REFERENCE:${placeholder.id}}} cites an id that is not in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS.`,\n location: `${placeholder.filePath}:${placeholder.line}`,\n });\n }\n }\n }\n\n private static checkRule2ReferencePlaceholderWithoutAnchor(params: {\n registeredIds: Set<string>;\n anchorIdToSpans: Map<string, AnchorSpan[]>;\n placeholders: ReferencePlaceholderOccurrence[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const placeholder of params.placeholders) {\n if (!params.registeredIds.has(placeholder.id)) {\n continue;\n }\n const spans = params.anchorIdToSpans.get(placeholder.id);\n if (!spans || spans.length === 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferencePlaceholderWithoutAnchor,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `{{REFERENCE:${placeholder.id}}} resolves at generation time but has zero @wildo_source spans in engine/, platform/, examples/, or docs/.`,\n location: `${placeholder.filePath}:${placeholder.line}`,\n });\n }\n }\n }\n\n private static checkRule3AnchorWithoutRegistryEntry(params: {\n registeredIds: Set<string>;\n anchorSpans: AnchorSpan[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const reportedAnchorIds = new Set<string>();\n for (const span of params.anchorSpans) {\n if (params.registeredIds.has(span.id)) {\n continue;\n }\n const dedupeKey = `${span.id}|${span.filePath}:${span.line}`;\n if (reportedAnchorIds.has(dedupeKey)) {\n continue;\n }\n reportedAnchorIds.add(dedupeKey);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `@wildo_source anchor \"${span.id}\" is not registered in FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS. Either register the id or remove the anchor.`,\n location: `${span.filePath}:${span.line}`,\n });\n }\n }\n\n private static checkRule4SkillFrontmatterIncomplete(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const missing: string[] = [];\n if (!skill.frontmatter.name || skill.frontmatter.name.length === 0) {\n missing.push('name');\n }\n if (!skill.frontmatter.description || skill.frontmatter.description.length === 0) {\n missing.push('description');\n }\n if (missing.length === 0) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillFrontmatterIncomplete,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md frontmatter missing required key(s): ${missing.join(', ')}.`,\n location: skill.skillFilePath,\n });\n }\n }\n\n /**\n * Rule 22 — the frontmatter `name` must BE the folder id, and the folder id\n * must be a name the host can address.\n *\n * Deliberately one rule rather than two: \"kebab-case\" and \"equals the\n * folder\" are the same invariant seen from two sides — there is exactly one\n * skill id, and both surfaces must spell it. Splitting them would let a\n * fix satisfy one and leave the other, which is how the two spellings\n * diverged in the first place.\n */\n private static checkRule22SkillNameNotHostAddressable(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const declaredName = skill.frontmatter.name ?? '';\n if (declaredName.length === 0) {\n // Rule 4 already owns the missing-key finding; do not double-report.\n continue;\n }\n if (!HOST_ADDRESSABLE_SKILL_NAME_PATTERN.test(declaredName)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: skill.skillFilePath,\n });\n continue;\n }\n if (declaredName !== skill.skillId) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: skill.skillFilePath,\n });\n }\n }\n }\n\n /** Rule 32 — see {@link FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable}. */\n private static checkRule32SkillDeclaresUserInvocable(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n if (!/^user-invocable\\s*:/mu.test(skill.frontmatter.rawBlock ?? '')) continue;\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md declares \\`user-invocable\\`. The generator owns it and marks every knowledge skill hidden from the / menu; a skill a person should invoke is a command — author it under src/claude-plugin/skills/.`,\n location: skill.skillFilePath,\n });\n }\n }\n\n /**\n * Rule 31 — refuse a non-Markdown file under a skill's `references/` or `examples/`.\n *\n * Walks EVERY file rather than globbing `*.md`, because the defect this catches is precisely a\n * file the markdown globs cannot see. `scripts/` is excluded by construction: it is the\n * designated executable channel.\n */\n private static checkRule31SkillSupportingFileIsNotMarkdown(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const layout = resolveFrameworkLayout(params.frameworkRoot);\n const authoredSkillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;\n if (!existsSync(authoredSkillsHome)) {\n return;\n }\n\n const supportingFiles = globSync('*/{references,examples}/**/*', {\n cwd: authoredSkillsHome,\n nodir: true,\n absolute: true,\n }).sort((left, right) => left.localeCompare(right));\n\n for (const absoluteFilePath of supportingFiles) {\n if (absoluteFilePath.toLowerCase().endsWith('.md')) {\n continue;\n }\n const relativeFromSkills = relative(authoredSkillsHome, absoluteFilePath);\n const supportingDirectory = relativeFromSkills.split(/[/\\\\]/u)[1] ?? 'references';\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillSupportingFileIsNotMarkdown,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `A skill's ${supportingDirectory}/ is a prose channel, and this file is not Markdown. It would be copied verbatim into every generated application while staying invisible to check:example-drift (which matches *.example.ts(x) by name) and to this audit's markdown-only reference scan. ` +\n `Move a code sample into the package that owns the contract, name it *.example.ts(x), anchor it with @wildo_source, register the id, and cite it from the prose with a REFERENCE placeholder.`,\n location: relative(params.frameworkRoot, absoluteFilePath),\n });\n }\n }\n\n private static checkRule5SkillDescriptionExceedsHardLimit(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const description = skill.frontmatter.description ?? '';\n if (description.length <= DESCRIPTION_HARD_LIMIT_CHARS) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDescriptionExceedsHardLimit,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `SKILL.md description is ${description.length} characters; hard limit is ${DESCRIPTION_HARD_LIMIT_CHARS} (some agent runtimes refuse to load longer descriptions).`,\n location: skill.skillFilePath,\n });\n }\n }\n\n private static checkRule6RegistryEntryWithoutAnchor(params: {\n registeredIds: Set<string>;\n anchorIdToSpans: Map<string, AnchorSpan[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const id of params.registeredIds) {\n const spans = params.anchorIdToSpans.get(id);\n if (spans && spans.length > 0) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.RegistryEntryWithoutAnchor,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Registry id \"${id}\" has no matching @wildo_source span. The id is reserved but not yet wired into source.`,\n location: REGISTRY_RELATIVE_PATH,\n });\n }\n }\n\n /**\n * Does every `references/…` path a SKILL.md names actually exist?\n *\n * Matches the citation SHAPE rather than prose mentioning a filename, so an\n * example or a sentence about references cannot produce a finding. Only\n * `references/<name>.md` counts, which is the form every skill uses to tell\n * the agent what to open.\n */\n private static checkRuleSkillCitesMissingReferenceFile(params: {\n skills: ParsedSkill[];\n referenceFilesBySkill: Map<string, string[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /*\n * Satisfied by a file in ANY skill, not only this one — calibrated against\n * the live catalog rather than assumed.\n *\n * A \"Related skills\" section legitimately points across the catalog\n * (`resource-schema-authoring` → `references/framework-schema-family-api.md`),\n * which names another skill's file as prose rather than instructing the\n * agent to open a local path. Scoping this rule per-skill reported all three\n * such lines as defects on its first run. What it must actually catch is a\n * citation naming a file that exists NOWHERE — the authoring slip where a\n * file was written to the wrong path, which is indistinguishable from one\n * never written.\n */\n const presentAnywhere = new Set(\n [...params.referenceFilesBySkill.values()].flat().map((filePath) => basename(filePath)),\n );\n for (const skill of params.skills) {\n const present = presentAnywhere;\n const cited = new Set(\n [...skill.rawContent.matchAll(/references\\/([A-Za-z0-9._-]+\\.md)/gu)].map((match) => match[1] as string),\n );\n for (const citedFile of cited) {\n if (present.has(citedFile)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillCitesMissingReferenceFile,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `${skill.skillId}/SKILL.md tells the agent to read references/${citedFile}, which does not exist. `\n + 'A dangling citation ships an instruction the agent cannot follow — and a file written to the wrong '\n + 'path looks identical to one never written.',\n location: `${SKILL_DIRECTORY_NAME}/${skill.skillId}/SKILL.md`,\n });\n }\n }\n }\n\n private static checkRule7ReferenceFileNotCitedInSkill(params: {\n skills: ParsedSkill[];\n referenceFilesBySkill: Map<string, string[]>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const skillIndex = new Map<string, ParsedSkill>(params.skills.map((skill) => [skill.skillId, skill]));\n for (const [skillId, referenceFilePaths] of params.referenceFilesBySkill.entries()) {\n const skill = skillIndex.get(skillId);\n if (!skill) {\n continue;\n }\n const referencesSection = skill.referenceSectionContent ?? '';\n for (const referenceFilePath of referenceFilePaths) {\n const fileBasename = basename(referenceFilePath);\n const fileStem = fileBasename.replace(/\\.md$/u, '');\n const cited = referencesSection.includes(fileBasename) || referencesSection.includes(fileStem);\n if (cited) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.ReferenceFileNotCitedInSkill,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `references/${fileBasename} exists but is not cited in ${skillId}/SKILL.md ## References. Either cite it or delete the file.`,\n location: referenceFilePath,\n });\n }\n }\n }\n\n private static checkRule8IndexCatalogMismatch(params: {\n skills: ParsedSkill[];\n indexCatalogSkillIds: Set<string> | null;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n if (params.indexCatalogSkillIds === null) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: 'skills/INDEX.md not found — the catalog file is required so the router can resolve skills by trigger phrase.',\n location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,\n });\n return;\n }\n\n const skillIds = new Set<string>(params.skills.map((skill) => skill.skillId));\n for (const skill of params.skills) {\n if (params.indexCatalogSkillIds.has(skill.skillId)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Skill folder \"${skill.skillId}\" exists but is not listed in skills/INDEX.md. Add a row so the router can route to it.`,\n location: skill.skillFilePath,\n });\n }\n for (const indexSkillId of params.indexCatalogSkillIds) {\n if (skillIds.has(indexSkillId)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.IndexCatalogMismatch,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `skills/INDEX.md references skill \"${indexSkillId}\" but no matching skill folder exists.`,\n location: `${SKILL_DIRECTORY_NAME}/INDEX.md`,\n });\n }\n }\n\n private static checkRule9SkillDescriptionMissingTriggerPhrasing(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const description = skill.frontmatter.description ?? '';\n if (description.length === 0) {\n continue;\n }\n const lowercased = description.toLowerCase();\n const hasCueWord =\n lowercased.includes('use when')\n || lowercased.includes('use this skill when')\n || lowercased.includes('common asks:')\n || lowercased.includes('triggers:')\n || lowercased.includes('triggered by');\n const quotedFragments = description.match(/\"[^\"]{4,}\"/gu) ?? [];\n if (hasCueWord || quotedFragments.length >= 2) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillDescriptionMissingTriggerPhrasing,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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 ? '…' : ''}\"`,\n location: skill.skillFilePath,\n });\n }\n }\n\n private static checkRule10TierCExampleWithoutWaiver(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const fileMentionsWaiver = skill.rawContent.includes(TIER_C_WAIVER_TOKEN);\n for (const codeBlock of skill.codeBlocks) {\n if (codeBlock.lineCount <= SKILL_CODE_BLOCK_LINE_THRESHOLD) {\n continue;\n }\n if (!SKILL_CODE_BLOCK_LANGUAGES.has(codeBlock.language)) {\n continue;\n }\n const blockHasNearbyWaiver = codeBlock.precedingContext.includes(TIER_C_WAIVER_TOKEN);\n if (blockHasNearbyWaiver || fileMentionsWaiver) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.TierCExampleWithoutWaiver,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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.`,\n location: `${skill.skillFilePath}:${codeBlock.startLine}`,\n });\n }\n }\n }\n\n /**\n * Verification sections in our canonical skill shape (see\n * `.cursor/rules/framework-knowledge-authoring.mdc`) carry grep\n * invariants in **either** of two forms:\n *\n * - Fenced shell blocks (` ```bash … ``` `) — preferred for multi-line\n * pipelines or `comm`-based diffs.\n * - Inline-backtick commands in markdown tables (`` `rg pattern` ``) —\n * the dominant pattern, since most invariants are one-liners with a\n * substitution placeholder (`<resource>`, `<field>`).\n *\n * The audit accepts either; the warning fires only when the\n * Verification section has neither — i.e., the agent has nothing\n * mechanical to execute.\n */\n private static checkRule11VerificationSectionMissingGrepInvariants(params: {\n skills: ParsedSkill[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const skill of params.skills) {\n const verificationContent = skill.verificationSectionContent;\n if (verificationContent === null) {\n continue;\n }\n const shellFences = FrameworkKnowledgeAuditService.collectCodeBlocks(verificationContent).filter((fence) =>\n ['bash', 'sh', 'shell', 'console', 'zsh'].includes(fence.language),\n );\n const hasInlineGrepInvariant = FrameworkKnowledgeAuditService.containsInlineGrepInvariant(verificationContent);\n\n if (shellFences.length === 0 && !hasInlineGrepInvariant) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n 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.',\n location: skill.skillFilePath,\n });\n continue;\n }\n\n if (shellFences.length === 0) {\n continue;\n }\n\n const verificationLines = verificationContent.split('\\n');\n for (const fence of shellFences) {\n const fenceBodyLines = verificationLines\n .slice(fence.startLine, fence.endLine - 1)\n .map((line) => line.trim())\n .filter((line) => line.length > 0 && !line.startsWith('#'));\n if (fenceBodyLines.length === 0) {\n continue;\n }\n const firstCommand = fenceBodyLines[0];\n const looksRunnable = RUNNABLE_GREP_INVARIANT_PREFIXES.some((prefix) =>\n firstCommand.startsWith(`${prefix} `) || firstCommand === prefix,\n );\n if (looksRunnable) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `## Verification shell block does not start with a runnable command (${RUNNABLE_GREP_INVARIANT_PREFIXES.join(' / ')}). First non-comment line: \"${firstCommand.slice(0, 80)}\".`,\n location: skill.skillFilePath,\n });\n }\n }\n }\n\n private static containsInlineGrepInvariant(verificationContent: string): boolean {\n return /`(?:rg|grep|comm|pnpm|wildo|node|jq|find|diff)\\s[^`]+`/u.test(verificationContent);\n }\n\n /**\n * Rule 12 — every `@wildo_source:part:start <id>` must be paired\n * with a matching `@wildo_source:part:end <id>` in the same file.\n *\n * Without the end marker, `FrameworkKnowledgeGenerationService`\n * extracts the anchored span all the way to end-of-file as a\n * fallback (and emits an `Unclosed @wildo_source:part:start` warning),\n * which silently bloats the generated `dist/knowledge/` markdown\n * with whatever happened to follow the open marker. That defect\n * shipped at least once before the audit existed (the\n * `saas.models.resource-config.builder-parameters` anchor in\n * `engine/saas-models/.../resources-config.shared.schemas.ts`),\n * so this is a first-class FAIL — the audit catches the regression\n * at PR time instead of letting it surface only when somebody runs\n * `wildo fwk generate-docs` and notices the warning.\n */\n private static checkRule12AnchorWithoutEndMarker(params: {\n unclosedAnchors: UnclosedAnchor[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const anchor of params.unclosedAnchors) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorWithoutEndMarker,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${anchor.filePath}:${anchor.startLine}`,\n });\n }\n }\n\n /**\n * Rule 21 — one anchor id must not extract BYTE-IDENTICAL content from more\n * than one source file.\n *\n * Every other rule in this service checks anchor <-> registry <-> skill <->\n * INDEX *integrity*, and integrity survives a duplicated source tree\n * perfectly: each copy carries a well-formed anchor whose id is registered\n * and cited. So the audit reported a clean bill of health while\n * `dist/knowledge/skills/market-icp/SKILL.md` shipped 21 concatenated copies\n * of the same worked example, 20 of them frozen at an older revision of the\n * app. (Root cause: gitignored meta-workflow integration-test application\n * copies under `.wildo-saas/tmp/` were inside the scan universe. Fixed in the\n * shared scan ignore contract; this rule is the guard that makes any\n * recurrence — from that tree or a future one — fail at PR time.)\n *\n * Keyed on CONTENT rather than on \"id appears in N files\" on purpose. Spanning\n * one id across several files is a legitimate, documented pattern: the\n * generator ACCUMULATES spans, so `zod.decorators.file-schema` covers two\n * sources and `example.resource.add-field.priority-enum` covers a schema plus\n * its enum file. Those contribute DIFFERENT bodies and must stay legal.\n * Identical bodies under one id have no valid authoring meaning — they can\n * only duplicate the compiled excerpt — which is what makes a FAIL safe here.\n * Verified against the live tree: 25 ids would have fired before the scan fix,\n * 0 after.\n */\n private static checkRule21AnchorIdDuplicateSourceContent(params: {\n spans: AnchorSpan[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /** id -> contentDigest -> distinct source files contributing that exact body. */\n const filesByDigestById = new Map<string, Map<string, Set<string>>>();\n\n for (const span of params.spans) {\n if (span.contentDigest === undefined) {\n continue;\n }\n const byDigest = filesByDigestById.get(span.id) ?? new Map<string, Set<string>>();\n const files = byDigest.get(span.contentDigest) ?? new Set<string>();\n files.add(span.filePath);\n byDigest.set(span.contentDigest, files);\n filesByDigestById.set(span.id, byDigest);\n }\n\n for (const [anchorId, byDigest] of [...filesByDigestById.entries()].sort(([left], [right]) => left.localeCompare(right))) {\n for (const duplicateFiles of byDigest.values()) {\n if (duplicateFiles.size < 2) {\n continue;\n }\n const sortedFiles = [...duplicateFiles].sort((left, right) => left.localeCompare(right));\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.AnchorIdDuplicateSourceContent,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message:\n `@wildo_source anchor \"${anchorId}\" extracts identical content from ${sortedFiles.length} files, so the compiled reference will repeat that excerpt ${sortedFiles.length} times: `\n + `${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. `\n + `Anchoring ONE id across several files is legal when each contributes DIFFERENT content; identical content is not.`,\n location: sortedFiles[0],\n });\n }\n }\n }\n\n /**\n * Rule 13 — every `method.skillRefs[]` entry must name a discovered\n * authored skill folder. Playbooks delegate the technical HOW to\n * app-knowledge skills; a dangling ref would only surface at runtime\n * inside the companion's PlaybookRegistryService.\n */\n private static checkRule13PlaybookSkillRefToUnknownSkill(params: {\n skills: ParsedSkill[];\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const skillIds = new Set<string>(params.skills.map((skill) => skill.skillId));\n for (const playbook of params.playbooks) {\n const declaredRefs = FrameworkKnowledgeAuditService.readPlaybookSkillRefs(playbook);\n for (const skillRef of declaredRefs) {\n if (skillIds.has(skillRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" references skill \"${skillRef}\" in method.skillRefs, but no matching skill folder exists under src/skills/.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n /*\n * `skillBodyRefs` is a SUBSET of `skillRefs` (#1435). The subset is the whole bound: a body\n * is the one section of a brief whose size is set by an authored document rather than by the\n * application's own data, and naming one the method never declared would put a contract in\n * the brief that the guidance never tells the model to follow — a document read with no\n * instruction attached, which is how a model comes to apply a contract out of context.\n */\n const declared = new Set(declaredRefs);\n for (const bodyRef of FrameworkKnowledgeAuditService.readPlaybookSkillBodyRefs(playbook)) {\n if (declared.has(bodyRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" declares skill \"${bodyRef}\" in method.skillBodyRefs without naming it in method.skillRefs. `\n + 'A body is delivered because the guidance says to follow it, so the two declarations must agree — add the ref to skillRefs, or remove it here.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 15 — playbook contract checks, all buildless:\n *\n * - folder contract violations that the generator hard-throws on\n * (unparseable or non-object JSON / folder-ref mismatch / missing\n * method.md / inline `method.guidance`), surfaced here so they fail\n * the PR instead of crashing `generate-docs`;\n * - `outputs[].schemaRef` FORMAT check against the P-33 vocabulary\n * (deep export-resolution deliberately deferred — no import-prober);\n * - `ref@version` uniqueness across the authored catalog;\n * - forbidden topic-implicit placeholders in `method.md`.\n */\n /**\n * Rule 23 — every family a playbook depends on must be produced by SOME playbook in the catalog.\n *\n * Deliberately checked against the catalog's own producers rather than against the runtime's\n * landing-target map: a family with a landing target and no producer is still unreachable through\n * the journey, which is what a creator experiences. `compliance-document-fact-projection` has\n * neither, and `business-model` has a landing target and no producer — one rule catches both.\n */\n private static checkRule23PlaybookInputFamilyWithNoProducer(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const produced = new Set<string>();\n for (const playbook of params.playbooks) {\n for (const family of FrameworkKnowledgeAuditService.readPlaybookOutputFamilies(playbook)) produced.add(family);\n }\n // A catalog that parsed to zero producers would report every dependency as dangling, which reads\n // as a broken catalog rather than a broken reader. Say nothing instead — the same reason the\n // code-conduct checkers ship a `--self-test`: a matcher that matches nothing and a clean repo\n // must not look identical.\n if (produced.size === 0) return;\n for (const playbook of params.playbooks) {\n const reported = new Set<string>();\n for (const { family, via } of FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook)) {\n if (produced.has(family) || reported.has(family)) continue;\n reported.add(family);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" declares artifact family \"${family}\" as ${via === 'precondition' ? 'a PRECONDITION' : 'an INPUT'}, but no playbook in the catalog produces it. `\n + (via === 'precondition'\n ? 'A precondition on an unproducible family makes this playbook permanently ineligible — it can never appear on the eligibility board. '\n : 'The prompt will silently lose that truth section on every run, and any method branch conditioned on it can never execute. ')\n + 'Either author a playbook that produces it, or remove the declaration.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 24 — a family gated at READINESS strength must also be declared as an INPUT.\n *\n * ## What this protects, and why it is not merely tidiness\n *\n * Derived-staleness (`deriveOneFamilyFreshness`, application-creation runtime) asks \"did any input\n * this output was derived from move since it was committed?\" — and it reads the playbook's OWN\n * `inputs[]`. A playbook that gates on a family it never declares as an input under-reports: the\n * family silently drops out of the comparison, and a family not reported as moved reads as a family\n * that is current. That is the dangerous direction\n * (`.claude/rules/negative-results-require-a-positive-probe.md`).\n *\n * ## Why READINESS only, and why this rule is not the obvious one\n *\n * `ARTIFACT_EXISTS` / `ARTIFACT_VALID` are READINESS: running without the family produces garbage,\n * so the playbook is asserting that it needs the family's CONTENT. `ARTIFACT_EXPECTED` is\n * SEQUENCING — \"this should come first\" — and gating on order without reading the content is\n * legitimate, so it is deliberately excluded. No playbook uses EXPECTED today; excluding it costs\n * nothing now and prevents a false positive the first time one does.\n *\n * The OBVIOUS rule — \"a family NAMED in method prose must be a declared input\" — was written,\n * measured against the live catalog on 2026-08-29, and REJECTED: five candidates, five false\n * positives. Every one was prose about what happens downstream (`\"the downstream scope/roadmap\n * playbook slots each feature\"`) or an explicit out-of-scope statement (`\"Keep ... the requirements\n * family out of scope\"`), and one matched the ordinary English of `\"documentation requirements\"`.\n * A checker that fires mostly on correctly-authored prose trains readers to skim, which costs more\n * than the claims it catches (`external-specification-citations.md`, the `documents` verb).\n *\n * ## FAIL as of 2026-09-01\n *\n * Unlike rules 23 and 27 this one never needed a WARN period, and for rule 26's reason: there is no\n * undecided product decision in it. A readiness gate asserts the playbook needs that family's\n * CONTENT, so declaring it in `inputs[]` is mechanical — or the gate should be weakened to\n * `artifact_expected`, which is equally mechanical. Nothing here waits on anyone's call.\n *\n * ## It ships at ZERO, which is the point and also the hazard\n *\n * All 16 playbooks with preconditions satisfy it today. A rule at zero and a rule whose discovery\n * is broken report identically, so the pins in\n * `__tests__/framework-knowledge-audit.service.test.ts` plant a VIOLATING playbook and assert it\n * fires, plant a SEQUENCING-gated one and assert it does not, and plant a clean one and assert\n * silence. Without all three, a rule that fired on every gate would still look correct.\n */\n private static checkRule24PlaybookReadinessGatedFamilyNotDeclaredAsInput(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n /*\n * Every READINESS kind that gates on a family's content (#1606 review, finding 4): a decision gate\n * reads what the family decided, and a staleness gate what it was derived from, so both need the\n * family as an input exactly as `artifact_exists` does. Mirrors `PRECONDITION_CLASS_BY_KIND` in the\n * runtime, which this buildless audit cannot import.\n */\n const readinessKinds = new Set(['artifact_exists', 'artifact_valid', 'artifact_decides', 'artifact_stale']);\n /*\n * Say nothing when the catalog declares NO inputs at all — the guard rules 23 and 26 carry, added\n * here when this rule was promoted (2026-09-01).\n *\n * The failure DIRECTION is what makes it necessary. If `inputs[]` stopped parsing while\n * preconditions still did, `declaredInputs` would be empty for EVERY playbook and every readiness\n * gate in the catalog would be reported — a reader bug presenting as a catalog-wide defect. As a\n * warning that is noise; in the FAIL channel it is a merge block on a catalog that is fine.\n *\n * The blind spot it buys, stated rather than discovered: a catalog where nothing declares an input\n * AND something gates at readiness strength goes unreported. Such a catalog has a larger problem\n * than this rule was written to find.\n */\n const catalogDeclaresAnyInput = params.playbooks.some((playbook) =>\n FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook).some((entry) => entry.via === 'input'));\n if (!catalogDeclaresAnyInput) return;\n for (const playbook of params.playbooks) {\n const required = FrameworkKnowledgeAuditService.readPlaybookRequiredFamilies(playbook);\n const declaredInputs = new Set(required.filter((entry) => entry.via === 'input').map((entry) => entry.family));\n const reported = new Set<string>();\n for (const entry of required) {\n if (entry.via !== 'precondition' || entry.kind === undefined || !readinessKinds.has(entry.kind)) continue;\n if (declaredInputs.has(entry.family) || reported.has(entry.family)) continue;\n reported.add(entry.family);\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" gates on artifact family \"${entry.family}\" at READINESS strength (${entry.kind}) `\n + 'but does not declare it in `inputs[]`. A readiness gate asserts the playbook needs that family\\'s CONTENT, so the '\n + 'declaration is missing: the brief loses that truth section, and derived-staleness silently omits the family from '\n + 'its comparison — a family not reported as moved reads as a family that is current. Add it to `inputs[]`, or '\n + 'weaken the gate to `artifact_expected` if the order is all that matters.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Rule 26 — a `STEP_AVAILABLE` gate must name a step some playbook in the catalog RETURNS.\n *\n * ## The failure it catches is silent and total\n *\n * A `step_available` precondition naming a ref no sibling declares in `stepOutputs[]` can never be\n * satisfied: the choreography scope only ever holds refs a child returned. The playbook is\n * therefore permanently ineligible INSIDE the composite, and nothing says so — the composite simply\n * gathers what it can, never offers that child, and stops with a stop-rationale that is honest\n * about what it was offered and blind to what it was not.\n *\n * That is not hypothetical. The composite's second live run (wonder-crm, 2026-08-29) landed nothing\n * for a different reason with exactly this SHAPE: the producing child was withheld from every\n * eligible set, the model stopped saying nothing further advanced the goal, and only the trace\n * revealed the child had never been on offer. A typo in a step ref reproduces that outcome with no\n * fix available short of reading the catalog by hand.\n *\n * ## Why it also checks `requires.path`\n *\n * A value assertion reads a declared FIELD of the step result. A path the producing step's schema\n * does not declare is the same defect one layer down — the comparison can only ever be `undefined\n * !== expected`, so the gate is permanently closed. The check is deliberately SHALLOW: it verifies\n * the step is declared and carries a `schemaRef` at all, because resolving the schema would mean\n * importing it, and this audit is buildless by design. **That shallowness is a real gap, not a\n * formality**: both adequacy gates carried a `schemaRef` naming the wrong package, passed this rule, and\n * were permanently closed at runtime (2026-09-21, #1273). Resolution is proven by the companion's\n * catalogue sweep (`playbook-step-schema-namespaces.models.test.ts`), and the resolver now refuses an\n * unresolvable contract instead of generating free text.\n *\n * ## FAIL, and why this one never needed a WARN period\n *\n * Rules 23 and 27 shipped soft because their live findings were TRUE and UNDECIDED: producing a\n * family, or teaching the phase derivation, is a product decision, and failing on someone else's\n * pending decision is a refusal with no door. There is no such dimension here. A gate naming an\n * undeclared step is not a decision anybody is weighing — it is a typo or a deleted producer, and\n * both fixes are mechanical (correct the ref, or declare it on the playbook that should produce\n * it). The catalog has never carried one.\n *\n * ## It says nothing when NO playbook declares a step\n *\n * Added 2026-09-01, when this rule was promoted; both siblings had this guard and it did not.\n * Without it a reader that failed to parse `stepOutputs` would report every `step_available` gate\n * in the catalog as dangling — and in the FAIL channel that turns a reader bug into a merge block\n * on a catalog that is fine. A broken reader and a clean catalog must not be indistinguishable,\n * which is the same reason the `scripts/code-conduct/` checkers ship a `--self-test`.\n *\n * The cost of the guard is one blind spot, stated rather than discovered: a catalog where nothing\n * declares a step AND a gate names one is not reported. That is a catalog with no choreography at\n * all, where the gate is inert for a more obvious reason.\n */\n private static checkRule26PlaybookStepGateNamesNoDeclaredStep(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const declaredSteps = new Map<string, { readonly producer: string; readonly schemaRef?: string }>();\n for (const playbook of params.playbooks) {\n const stepOutputs = playbook.json?.stepOutputs;\n if (!Array.isArray(stepOutputs)) continue;\n for (const entry of stepOutputs) {\n const record = entry as Record<string, unknown> | null;\n if (typeof record?.ref === 'string') {\n declaredSteps.set(record.ref, {\n producer: playbook.playbookRef,\n ...(typeof record.schemaRef === 'string' ? { schemaRef: record.schemaRef } : {}),\n });\n }\n }\n }\n // See \"It says nothing when NO playbook declares a step\" above.\n if (declaredSteps.size === 0) return;\n /*\n * The DERIVED half of the step-ref namespace (#1498).\n *\n * A leaf's advisory judge verdict is readable in a composite's run scope under\n * `judge:<playbookRef>`, and NO playbook declares it in `stepOutputs[]` — the runtime derives the\n * ref and writes the value after the leaf lands, because a judge is a property of every landing\n * rather than an output an author writes. Checked against `stepOutputs` alone, every such gate\n * was a FAIL with a message that misdirects (\"declare it on the playbook that should produce\n * it\"), so the adoption the mechanism exists for could not pass CI.\n *\n * What replaces the declaration check is STRONGER than it, not weaker, and that is why this is\n * not an exemption: the suffix must name a real catalog playbook, that playbook must declare an\n * `evaluationTreatmentSource` (without one the judge never runs, so the verdict never exists and\n * the gate is the permanently-ineligible shape this rule is for), and the asserted path must be\n * one the verdict actually has. The shape is fixed by the runtime's own\n * `toRoutableJudgeVerdict`: `{ definitionRef, overall, criteria: { <criterionRef>: verdict } }`.\n */\n const DERIVED_JUDGE_REF_PREFIX = 'judge:';\n const playbooksByRef = new Map(params.playbooks.map((entry) => [entry.playbookRef, entry]));\n for (const playbook of params.playbooks) {\n const preconditions = playbook.json?.preconditions;\n if (!Array.isArray(preconditions)) continue;\n for (const predicate of preconditions) {\n const record = predicate as Record<string, unknown> | null;\n if (record?.kind !== 'step_available' || typeof record.ref !== 'string') continue;\n if (record.ref.startsWith(DERIVED_JUDGE_REF_PREFIX)) {\n FrameworkKnowledgeAuditService.checkDerivedJudgeVerdictGate({\n playbook,\n gateRef: record.ref,\n requires: record.requires as Record<string, unknown> | undefined,\n judgedRef: record.ref.slice(DERIVED_JUDGE_REF_PREFIX.length),\n playbooksByRef,\n findings: params.findings,\n });\n continue;\n }\n const declared = declaredSteps.get(record.ref);\n if (!declared) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" gates on step \"${record.ref}\", which NO playbook declares in \\`stepOutputs[]\\`. `\n + 'A choreography scope only ever holds refs a child returned, so this gate can never be satisfied and the playbook '\n + 'is permanently ineligible inside any composite — silently, because a withheld child leaves no trace in the result. '\n + 'Fix the ref, or declare it on the playbook that should produce it.',\n location: playbook.structuredSourceFilePath,\n });\n continue;\n }\n /*\n * The SOFTER half of this rule, and it keeps the WARN channel deliberately.\n *\n * The gate above is an integrity break: the step does not exist, so the playbook is\n * permanently ineligible. This one is not — the step exists and the gate can be satisfied.\n * What is wrong is that the assertion compares against a field nothing guarantees, so it\n * passes or fails by accident. That is a correctness problem worth reporting and not a\n * reason to block an unrelated merge, which is the line the FAIL channel draws.\n */\n const requires = record.requires as Record<string, unknown> | undefined;\n if (requires !== undefined && declared.schemaRef === undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Warn,\n message: `Playbook \"${playbook.playbookRef}\" asserts a VALUE on step \"${record.ref}\" (\\`requires.path\\`), but \"${declared.producer}\" `\n + 'declares that step with no `schemaRef`. An unschema\\'d step returns whatever the model produced, so the assertion '\n + 'compares against a field nothing guarantees — the gate passes or fails by accident. Give the step a schemaRef, or drop the assertion.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n }\n\n /**\n * One `judge:<playbookRef>` gate, checked against what can actually produce a verdict (#1498).\n *\n * Three ways it can be permanently unsatisfiable, each named at its own cause rather than as \"the\n * step is undeclared\", which is never true of a derived ref:\n *\n * - the suffix names no playbook — a typo, the shape rule 26 exists for;\n * - the named playbook declares no `evaluationTreatmentSource`, so `runPlaybookJudge` is never\n * called for it and no verdict is ever written. This is the silent one: the gate reads as\n * well-formed and the child is simply never eligible;\n * - the asserted path is not one the verdict has. The runtime writes `overall` and\n * `criteria.<criterionRef>` and nothing else, so any other path compares against `undefined`\n * forever. The criterion REF itself is not checked here — the audit deliberately does not parse\n * `evaluationTreatmentSource` (see the export allow-list), so a wrong criterion ref is a gap this\n * states rather than one it hides.\n */\n private static checkDerivedJudgeVerdictGate(params: {\n playbook: ParsedPlaybook;\n gateRef: string;\n requires: Record<string, unknown> | undefined;\n judgedRef: string;\n playbooksByRef: ReadonlyMap<string, ParsedPlaybook>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const judged = params.playbooksByRef.get(params.judgedRef);\n if (!judged) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" gates on the derived judge verdict \"${params.gateRef}\", but \"${params.judgedRef}\" is not a playbook in this catalog. `\n + 'A `judge:<playbookRef>` gate reads the advisory verdict of the leaf it names, so the suffix must be a playbook folder.',\n location: params.playbook.structuredSourceFilePath,\n });\n return;\n }\n if (!judged.declaresEvaluationTreatment) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" gates on the derived judge verdict \"${params.gateRef}\", but \"${params.judgedRef}\" declares no \\`evaluationTreatmentSource\\`. `\n + 'The advisory judge only runs for a playbook that compiles a treatment, so no verdict is ever written under that ref and this gate can never be satisfied — '\n + 'silently, because a withheld child leaves no trace in the result. Author a treatment for that playbook, or drop the gate.',\n location: params.playbook.structuredSourceFilePath,\n });\n return;\n }\n const path = typeof params.requires?.['path'] === 'string' ? params.requires['path'] as string : undefined;\n if (path !== undefined && path !== 'overall' && !path.startsWith('criteria.')) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${params.playbook.playbookRef}\" asserts \\`requires.path: \"${path}\"\\` on the derived judge verdict \"${params.gateRef}\", which the verdict does not carry. `\n + 'A routable verdict is `{ definitionRef, overall, criteria: { <criterionRef>: verdict } }`, so the path is `overall` for the worst-of summary '\n + 'or `criteria.<criterionRef>` for the one criterion this gate answers.',\n location: params.playbook.structuredSourceFilePath,\n });\n }\n }\n\n private static checkRule15PlaybookContract(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const seenRefVersions = new Map<string, string>();\n\n for (const playbook of params.playbooks) {\n if (playbook.jsonContractError !== null) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" has an unusable canonical structured source: ${playbook.jsonContractError}`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n if (!playbook.methodExists) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" is missing its ${PLAYBOOK_METHOD_FILE_NAME}.`,\n location: playbook.methodFilePath,\n });\n }\n\n if (playbook.json !== null) {\n const declaredRef = playbook.json.ref;\n if (typeof declaredRef === 'string' && declaredRef !== playbook.playbookRef) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook folder \"${playbook.playbookRef}\" declares ref \"${declaredRef}\". The folder name is the loader address — they must match.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n const method = (playbook.json.method ?? {}) as Record<string, unknown>;\n if (method.guidance !== undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n for (const schemaRef of FrameworkKnowledgeAuditService.readPlaybookOutputSchemaRefs(playbook)) {\n if (PLAYBOOK_SCHEMA_REF_REGEX.test(schemaRef)) {\n continue;\n }\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookOutputSchemaRefInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" output schemaRef \"${schemaRef}\" does not match the pinned vocabulary ^(saas-models|saas-specifications):<ExportName>$.`,\n location: playbook.structuredSourceFilePath,\n });\n }\n\n const declaredVersion = playbook.json.version;\n if (typeof declaredRef === 'string' && typeof declaredVersion === 'string') {\n const identity = `${declaredRef}@${declaredVersion}`;\n const firstSeenAt = seenRefVersions.get(identity);\n if (firstSeenAt !== undefined) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookRefVersionDuplicate,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook identity \"${identity}\" is declared more than once (first seen in ${firstSeenAt}). ref@version must be unique across the compiled catalog.`,\n location: playbook.structuredSourceFilePath,\n });\n } else {\n seenRefVersions.set(identity, playbook.structuredSourceFilePath);\n }\n }\n }\n\n if (playbook.methodContent !== null) {\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(playbook.methodContent)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${playbook.methodFilePath}:${hit.lineNumber}`,\n });\n }\n }\n }\n }\n\n private static valuesAreUniqueAndSorted(values: string[]): boolean {\n return new Set(values).size === values.length && values.every((value, index) => index === 0 || (values[index - 1] ?? '') <= value);\n }\n\n /**\n * Skills-INDEX render-surface companion to Rule 15's placeholder lane.\n * Since the P-24 fix ships `src/skills/INDEX.md` through\n * `renderAuthoredMarkdownFile`, a topic-implicit placeholder there would\n * render VERBATIM into the compiled router (the catalog has no topic).\n * Bad `{{REFERENCE:<id>}}` ids in the INDEX ride Rules 1/2 via\n * `collectReferencePlaceholders`; this check covers the verbatim lane.\n */\n /**\n * The authored rules home, flat and `.md`-only — the same discovery the generator performs\n * (`readdirSync` + `.md` filter), kept in ONE place so the audit cannot come to disagree with the\n * generator about which files are rules.\n */\n private static listAuthoredRuleFiles(frameworkRoot: string): string[] {\n const rulesHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredRulesHome;\n if (!existsSync(rulesHome)) {\n return [];\n }\n return readdirSync(rulesHome)\n .filter((fileName) => fileName.endsWith('.md'))\n .sort((left, right) => left.localeCompare(right))\n .map((fileName) => join(rulesHome, fileName));\n }\n\n /**\n * Rules-channel companion to the skills-INDEX check above, for the same reason and against the\n * same renderer. An always-on policy shipped into every generated application is the last place a\n * `{{TITLE}}` should survive as four literal characters.\n */\n private static checkAuthoredRulesForbiddenPlaceholders(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n for (const ruleFilePath of FrameworkKnowledgeAuditService.listAuthoredRuleFiles(params.frameworkRoot)) {\n const ruleRelativePath = relative(params.frameworkRoot, ruleFilePath);\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(readFileSync(ruleFilePath, 'utf8'))) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.RuleForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `The authored rule ${ruleRelativePath} uses the topic-implicit placeholder {{${hit.placeholderName}}}. A rule has no topic — the generator would ship it verbatim into every generated application's .claude/rules/. Only {{PARTIAL:…}} and {{REFERENCE:<id>}} are allowed.`,\n location: `${ruleRelativePath}:${hit.lineNumber}`,\n });\n }\n }\n }\n\n private static checkSkillsIndexForbiddenPlaceholders(params: {\n frameworkRoot: string;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const layout = resolveFrameworkLayout(params.frameworkRoot);\n const indexFilePath = join(layout.frameworkKnowledgeAuthoredSkillsHome, 'INDEX.md');\n if (!existsSync(indexFilePath)) {\n return;\n }\n const indexRelativePath = relative(params.frameworkRoot, indexFilePath);\n for (const hit of FrameworkKnowledgeAuditService.collectForbiddenTopicImplicitPlaceholders(readFileSync(indexFilePath, 'utf8'))) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.SkillsIndexForbiddenTopicImplicitPlaceholder,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${indexRelativePath}:${hit.lineNumber}`,\n });\n }\n }\n\n /**\n * Scans markdown for topic-implicit placeholders. One hit per\n * OCCURRENCE — the regex is global, so two placeholders sharing a line\n * yield two hits (a per-line `exec` would silently drop the second).\n */\n private static collectForbiddenTopicImplicitPlaceholders(\n markdownContent: string,\n ): Array<{ lineNumber: number; placeholderName: string }> {\n const hits: Array<{ lineNumber: number; placeholderName: string }> = [];\n const lines = markdownContent.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n for (const match of lines[lineIndex].matchAll(FORBIDDEN_TOPIC_IMPLICIT_PLACEHOLDER_REGEX)) {\n hits.push({ lineNumber: lineIndex + 1, placeholderName: match[1] });\n }\n }\n return hits;\n }\n\n /** The wire values rule 28 joins a placeholder against — lifted enum-aware by the parser. */\n private static readPlaybookContextSources(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const contextSources = method.contextSources;\n if (!Array.isArray(contextSources)) return [];\n return contextSources.filter((entry): entry is string => typeof entry === 'string');\n }\n\n /**\n * Rule 28 — every `{{CONTEXT_SOURCE:<member>}}` in a playbook's method.md names a real\n * `MetaWorkflow_ContextSource` member that the playbook DECLARES. See the enum member's JSDoc for\n * why this join exists; the generator enforces the same predicate fail-closed at compile.\n */\n private static checkRule28PlaybookContextSourcePlaceholder(params: {\n playbooks: ParsedPlaybook[];\n contextSourceValues: ReadonlySet<string>;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n // Zero-guard, rule 27's discipline: an empty member set is indistinguishable from a parser that\n // lost the enum, and failing every placeholder in the catalog on a broken read would train\n // authors to stop using the placeholder — the opposite of the norm it exists to convert.\n if (params.contextSourceValues.size === 0) return;\n const placeholderRegex = /\\{\\{CONTEXT_SOURCE:([a-z0-9_]+)\\}\\}/gu;\n for (const playbook of params.playbooks) {\n if (playbook.methodContent === null) continue;\n const declared = new Set(FrameworkKnowledgeAuditService.readPlaybookContextSources(playbook));\n const lines = playbook.methodContent.split('\\n');\n for (let lineIndex = 0; lineIndex < lines.length; lineIndex += 1) {\n for (const match of lines[lineIndex].matchAll(placeholderRegex)) {\n const member = match[1];\n if (!params.contextSourceValues.has(member)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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(', ')}.`,\n location: `${playbook.methodFilePath}:${lineIndex + 1}`,\n });\n } else if (!declared.has(member)) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n 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.`,\n location: `${playbook.methodFilePath}:${lineIndex + 1}`,\n });\n }\n }\n }\n }\n }\n\n /**\n * Rule 30 — every `method.choreography.admits[]` entry must name a discovered playbook folder.\n *\n * The population is the CATALOG itself, which is the one thing separating this from rule 13: a\n * composite's children are playbooks, so the set it is checked against is the same set being\n * iterated. That makes the empty-catalog guard load-bearing rather than defensive — a reader that\n * parsed no playbook refs would report every child of every composite as dangling, which reads as a\n * broken catalog instead of a broken reader.\n */\n private static checkRule30PlaybookChoreographyAdmitsUnknownPlaybook(params: {\n playbooks: ParsedPlaybook[];\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n const declaredRefs = new Set<string>();\n for (const playbook of params.playbooks) {\n const ref = playbook.json?.ref;\n if (typeof ref === 'string' && ref.length > 0) declaredRefs.add(ref);\n // The folder name IS the loader address (rule 17 keeps the two equal), so it is admitted as an\n // identity too. Without it, a playbook whose structured source failed to parse would take every\n // composite that admits it down with it — one unreadable file reported as N dangling children.\n declaredRefs.add(playbook.playbookRef);\n }\n if (declaredRefs.size === 0) return;\n for (const playbook of params.playbooks) {\n for (const childRef of FrameworkKnowledgeAuditService.readPlaybookChoreographyAdmits(playbook)) {\n if (declaredRefs.has(childRef)) continue;\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookChoreographyAdmitsUnknownPlaybook,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Composite playbook \"${playbook.playbookRef}\" admits child \"${childRef}\" in method.choreography.admits, but no matching playbook folder exists under src/playbooks/. `\n + 'The choreography loop filters an unresolvable child out of the eligible set, so the lane would run silently short of what it declares. '\n + 'Either author the playbook, or remove the ref.',\n location: playbook.structuredSourceFilePath,\n });\n }\n }\n }\n\n /**\n * Does this playbook run with no shell and no file access? (#1435)\n *\n * `null` executor — unreadable, or a vocabulary that could not be loaded — answers NO, so a parse\n * failure never manufactures a finding. That direction is deliberate: rule 32's whole value is that\n * its findings are unambiguous, and an under-report is visible in `stats.toollessPlaybookCount`\n * while an over-report would send an author to correct a method that is fine.\n */\n private static playbookRunsWithoutTools(playbook: ParsedPlaybook, vocabulary: PlaybookVocabulary): boolean {\n const executor = playbook.json?.executor;\n return typeof executor === 'string' && vocabulary.toollessExecutorValues.has(executor);\n }\n\n private static checkRule32PlaybookMethodInstructsToollessShell(params: {\n playbooks: ParsedPlaybook[];\n vocabulary: PlaybookVocabulary;\n findings: FrameworkKnowledgeAuditFinding[];\n }): void {\n // A fenced shell block: ```bash / ```sh / ```shell / ```zsh, at the start of a line.\n const fencedShell = /^[ \\t]*```[ \\t]*(bash|sh|shell|zsh)\\b/gmu;\n for (const playbook of params.playbooks) {\n if (!FrameworkKnowledgeAuditService.playbookRunsWithoutTools(playbook, params.vocabulary)) continue;\n const method = playbook.methodContent;\n if (method === null) continue;\n fencedShell.lastIndex = 0;\n const languages = [...method.matchAll(fencedShell)].map((match) => match[1]);\n if (languages.length > 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" runs a TOOL-LESS executor and its method.md carries ${languages.length} fenced shell block(s) `\n + `(${[...new Set(languages)].join(', ')}). A structured generation has no shell: the instruction cannot be followed, and the model answers `\n + 'from the surrounding prose rather than refusing. Deliver the value as a context source, or remove the instruction.',\n location: playbook.methodFilePath,\n });\n }\n /*\n * The same defect one verb over (#1435): a method naming an INSTALLED FILE PATH. A tool-less\n * step cannot open `.claude/skills/<id>/SKILL.md` any more than it can run `rg`, so the path\n * is an instruction it answers from recollection. Measured 2026-09-22: 30 such references\n * across 8 tool-less playbooks, every one of them a contract the model was told to read and\n * had never seen.\n *\n * The remedy is not to delete the name — the skill IS the authoring contract that slice\n * belongs to, and a later coding agent opens it. It is to name the skill by REF and to say\n * what reaches this step: its body through `method.skillBodyRefs`, or a stated nothing.\n *\n * Scoped to a path INSIDE the skills tree rather than to any path. `specifications/src/…` in\n * a method is an output LOCATION — where the landed artifact goes — which the runtime\n * resolves and the model never opens.\n */\n const skillPaths = [...new Set([...method.matchAll(/\\.claude\\/skills\\/[A-Za-z0-9._/-]+/gu)].map((match) => match[0]))];\n if (skillPaths.length > 0) {\n params.findings.push({\n rule: FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell,\n severity: FrameworkKnowledgeAuditSeverity.Fail,\n message: `Playbook \"${playbook.playbookRef}\" runs a TOOL-LESS executor and its method.md names ${skillPaths.length} installed file path(s) `\n + `(${skillPaths.slice(0, 3).join(', ')}${skillPaths.length > 3 ? ', …' : ''}). A structured generation cannot open a file, so the model follows `\n + 'its recollection of that contract instead. Name the skill by its REF and say what reaches this step — its body through method.skillBodyRefs, '\n + 'or explicitly nothing.',\n location: playbook.methodFilePath,\n });\n }\n }\n }\n\n private static readPlaybookChoreographyAdmits(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const choreography = method.choreography as Record<string, unknown> | undefined;\n const admits = choreography?.admits;\n if (!Array.isArray(admits)) {\n return [];\n }\n return admits.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookSkillRefs(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json?.method ?? {}) as Record<string, unknown>;\n const skillRefs = method.skillRefs;\n if (!Array.isArray(skillRefs)) {\n return [];\n }\n return skillRefs.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookSkillBodyRefs(playbook: ParsedPlaybook): string[] {\n const method = (playbook.json as { method?: { skillBodyRefs?: unknown } } | null)?.method;\n const refs = method?.skillBodyRefs;\n if (!Array.isArray(refs)) {\n return [];\n }\n return refs.filter((entry): entry is string => typeof entry === 'string');\n }\n\n private static readPlaybookOutputSchemaRefs(playbook: ParsedPlaybook): string[] {\n const outputs = playbook.json?.outputs;\n if (!Array.isArray(outputs)) {\n return [];\n }\n return outputs\n .map((output) => (output as Record<string, unknown> | null)?.schemaRef)\n .filter((schemaRef): schemaRef is string => typeof schemaRef === 'string');\n }\n\n /** Families a playbook WRITES — the producer side of the catalog graph. */\n private static readPlaybookOutputFamilies(playbook: ParsedPlaybook): string[] {\n const outputs = playbook.json?.outputs;\n if (!Array.isArray(outputs)) return [];\n return outputs\n .map((output) => (output as Record<string, unknown> | null)?.family)\n .filter((family): family is string => typeof family === 'string');\n }\n\n /**\n * Families a playbook DEPENDS ON, each tagged with how.\n *\n * Preconditions and inputs are read together because they are the same dependency asked at\n * different strengths, and reading only one would miss half the graph — the dead playbook below\n * declares its missing family in BOTH places, but nothing guarantees the next one will.\n */\n private static readPlaybookRequiredFamilies(\n playbook: ParsedPlaybook,\n ): Array<{ family: string; via: 'precondition' | 'input'; kind?: string }> {\n const required: Array<{ family: string; via: 'precondition' | 'input'; kind?: string }> = [];\n const preconditions = playbook.json?.preconditions;\n if (Array.isArray(preconditions)) {\n for (const predicate of preconditions) {\n const record = predicate as Record<string, unknown> | null;\n const selector = record?.selector as Record<string, unknown> | undefined;\n if (typeof selector?.family === 'string') {\n required.push({\n family: selector.family,\n via: 'precondition',\n ...(typeof record?.kind === 'string' ? { kind: record.kind } : {}),\n });\n }\n }\n }\n const inputs = playbook.json?.inputs;\n if (Array.isArray(inputs)) {\n for (const entry of inputs) {\n const family = (entry as Record<string, unknown> | null)?.family;\n if (typeof family === 'string') required.push({ family, via: 'input' });\n }\n }\n return required;\n }\n\n private static readPlaybookPredicateKinds(playbook: ParsedPlaybook): string[] {\n const preconditions = playbook.json?.preconditions;\n if (!Array.isArray(preconditions)) return [];\n return preconditions\n .map((predicate) => (predicate as Record<string, unknown> | null)?.kind)\n .filter((kind): kind is string => typeof kind === 'string');\n }\n}\n"]}