@wildo-ai/framework-knowledge 1.1.9 → 1.1.10

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 (376) hide show
  1. package/dist/claude-marketplace/.claude-plugin/marketplace.json +1 -1
  2. package/dist/claude-marketplace/plugins/wildo/.claude-plugin/plugin.json +1 -1
  3. package/dist/claude-marketplace/plugins/wildo/references/acceptance.md +11 -0
  4. package/dist/claude-marketplace/plugins/wildo/references/expert-personas-and-deliberations.md +26 -7
  5. package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +4 -2
  6. package/dist/claude-marketplace/plugins/wildo/skills/accept/SKILL.md +4 -2
  7. package/dist/claude-marketplace/plugins/wildo/skills/why/SKILL.md +9 -3
  8. package/dist/esm/framework-knowledge.definitions.d.ts +1 -1
  9. package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
  10. package/dist/esm/framework-knowledge.definitions.js +84 -4
  11. package/dist/esm/framework-knowledge.definitions.js.map +1 -1
  12. package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
  13. package/dist/esm/index.d.ts.map +1 -1
  14. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +1 -1
  15. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts.map +1 -1
  16. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js +1 -1
  17. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js.map +1 -1
  18. package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts.map +1 -1
  19. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +39 -1
  20. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts.map +1 -1
  21. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +132 -20
  22. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
  23. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts.map +1 -1
  24. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts +8 -4
  25. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts.map +1 -1
  26. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js +13 -6
  27. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
  28. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts +2 -1
  29. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
  30. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +85 -8
  31. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
  32. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts +4 -3
  33. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts.map +1 -1
  34. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js +4 -3
  35. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js.map +1 -1
  36. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +12 -3
  37. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts.map +1 -1
  38. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js +8 -4
  39. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js.map +1 -1
  40. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts +4 -1
  41. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts.map +1 -1
  42. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js +2 -1
  43. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js.map +1 -1
  44. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts.map +1 -1
  45. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts.map +1 -1
  46. package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.d.ts.map +1 -1
  47. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts.map +1 -1
  48. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map +1 -1
  49. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts +1 -1
  50. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts.map +1 -1
  51. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js +13 -1
  52. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
  53. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts.map +1 -1
  54. package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.map +1 -1
  55. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +2 -2
  56. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
  57. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +10 -4
  58. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
  59. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts +2 -1
  60. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts.map +1 -1
  61. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js +5 -3
  62. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js.map +1 -1
  63. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts +2 -1
  64. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts.map +1 -1
  65. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js +11 -9
  66. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js.map +1 -1
  67. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts +17 -3
  68. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts.map +1 -1
  69. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js +19 -2
  70. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js.map +1 -1
  71. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
  72. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
  73. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
  74. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -1
  75. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  76. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
  77. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts.map +1 -1
  78. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
  79. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts +27 -6
  80. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts.map +1 -1
  81. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js +32 -12
  82. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js.map +1 -1
  83. package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.d.ts.map +1 -1
  84. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.d.ts.map +1 -1
  85. package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  86. package/dist/esm/playbooks/top_down.market-research/playbook.definition.d.ts.map +1 -1
  87. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts +2 -1
  88. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts.map +1 -1
  89. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js +13 -5
  90. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js.map +1 -1
  91. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
  92. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +38 -3
  93. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
  94. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts +2 -1
  95. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts.map +1 -1
  96. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js +23 -8
  97. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js.map +1 -1
  98. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts.map +1 -1
  99. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
  100. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -1
  101. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
  102. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +11 -0
  103. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
  104. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -1
  105. package/dist/knowledge/manifest.json +7 -7
  106. package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +1 -1
  107. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-protocol.json +1 -1
  108. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-treatment.json +1 -1
  109. package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +149 -11
  110. package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +40 -2
  111. package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +55 -0
  112. package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +1 -1
  113. package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +10 -2
  114. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-protocol.json +1 -1
  115. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-treatment.json +1 -1
  116. package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +107 -11
  117. package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +4 -2
  118. package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +28 -6
  119. package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +5 -4
  120. package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +50 -0
  121. package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +16 -4
  122. package/dist/knowledge/playbooks/bottom_up.website-plan/method.md +19 -0
  123. package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +5 -2
  124. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +2 -1
  125. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +1 -1
  126. package/dist/knowledge/playbooks/refinement.document-facts/method.md +8 -0
  127. package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +3 -2
  128. package/dist/knowledge/playbooks/refinement.feature-contribution/method.md +5 -2
  129. package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +1 -1
  130. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
  131. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
  132. package/dist/knowledge/playbooks/top_down.brand-identity/method.md +7 -3
  133. package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +3 -3
  134. package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +56 -16
  135. package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +6 -4
  136. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-protocol.json +1 -1
  137. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-treatment.json +1 -1
  138. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/method.md +30 -9
  139. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +5 -3
  140. package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +12 -1
  141. package/dist/knowledge/playbooks/top_down.capability-map/method.md +10 -9
  142. package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +1 -1
  143. package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +16 -2
  144. package/dist/knowledge/playbooks/top_down.feature-drafts/method.md +5 -2
  145. package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +1 -1
  146. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-protocol.json +1 -1
  147. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-treatment.json +1 -1
  148. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/method.md +26 -0
  149. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +4 -2
  150. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-protocol.json +1 -1
  151. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-treatment.json +1 -1
  152. package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +1 -1
  153. package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-protocol.json +1 -1
  154. package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-treatment.json +1 -1
  155. package/dist/knowledge/playbooks/top_down.requirements-definition/method.md +84 -9
  156. package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +6 -3
  157. package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +19 -0
  158. package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +19 -1
  159. package/dist/knowledge/references/brand.name-choice.config.md +20 -3
  160. package/dist/knowledge/references/brand.name-screening.config.md +58 -3
  161. package/dist/knowledge/references/build-plan.task-graph.config.md +55 -0
  162. package/dist/knowledge/references/companion.market.prompt-renderer.md +11 -6
  163. package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +44 -0
  164. package/dist/knowledge/references/example.backend.custom-operation.audit-event.md +81 -0
  165. package/dist/knowledge/references/example.backend.custom-operation.child-line-total.md +258 -0
  166. package/dist/knowledge/references/example.backend.custom-operation.computed-total.md +153 -0
  167. package/dist/knowledge/references/example.backend.custom-operation.create-related-resource.md +107 -0
  168. package/dist/knowledge/references/example.data-seeding.minimal.md +10 -9
  169. package/dist/knowledge/references/example.data-seeding.row-reference.md +80 -0
  170. package/dist/knowledge/references/example.email.template.minimal.md +1 -1
  171. package/dist/knowledge/references/example.resource.config-wiring.retention-policy-operations.md +74 -0
  172. package/dist/knowledge/references/example.resource.personal-data.free-text-field.md +19 -0
  173. package/dist/knowledge/references/example.resource.personal-data.person-without-account.md +27 -0
  174. package/dist/knowledge/references/example.resource.status-lifecycle.quote.md +152 -0
  175. package/dist/knowledge/references/example.resource.ui-behavior.filter-presets.md +15 -0
  176. package/dist/knowledge/references/example.resource.ui-behavior.operation-icon.md +8 -0
  177. package/dist/knowledge/references/example.views.app-level.home-definition.md +13 -0
  178. package/dist/knowledge/references/example.views.chart-definition.shared.md +83 -0
  179. package/dist/knowledge/references/experience-plan.config.md +60 -7
  180. package/dist/knowledge/references/market.context-block.builder.md +1 -1
  181. package/dist/knowledge/references/placement-plan.config.md +43 -0
  182. package/dist/knowledge/references/requirements.functional-requirement.config.md +8 -2
  183. package/dist/knowledge/references/requirements.non-functional-requirement.config.md +2 -0
  184. package/dist/knowledge/references/requirements.references.conventions.md +1 -1
  185. package/dist/knowledge/references/requirements.snapshot.config.md +57 -1
  186. package/dist/knowledge/references/requirements.snapshot.validation.md +35 -1
  187. package/dist/knowledge/references/saas.backend.audit-logs.log-event.md +63 -0
  188. package/dist/knowledge/references/saas.backend.document-sequence.issue-in-operation.md +60 -0
  189. package/dist/knowledge/references/saas.backend.document-sequence.raise-floor.md +156 -0
  190. package/dist/knowledge/references/saas.backend.email.send.md +77 -0
  191. package/dist/knowledge/references/saas.backend.notifications.operation-email-template-ref.md +60 -0
  192. package/dist/knowledge/references/saas.data-seeding.computed-entry.md +43 -0
  193. package/dist/knowledge/references/saas.data-seeding.definition-input.md +8 -2
  194. package/dist/knowledge/references/saas.data-seeding.row-reference.md +93 -0
  195. package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +124 -0
  196. package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +316 -0
  197. package/dist/knowledge/references/saas.frontend.launcher.merge-rules.md +106 -0
  198. package/dist/knowledge/references/saas.frontend.launcher.runtime-availability.md +60 -0
  199. package/dist/knowledge/references/saas.frontend.resource-label-params.md +52 -0
  200. package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +47 -18
  201. package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +4 -1
  202. package/dist/knowledge/references/saas.frontend.settings-hub.engine-destination-roles.md +25 -0
  203. package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +2 -2
  204. package/dist/knowledge/references/saas.models.audit.trail-config.md +45 -0
  205. package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +5 -3
  206. package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +26 -0
  207. package/dist/knowledge/references/saas.models.roles.definition.md +61 -0
  208. package/dist/knowledge/references/saas.models.roles.organization-defaults.md +97 -0
  209. package/dist/knowledge/references/saas.public-runtime.contract.md +26 -0
  210. package/dist/knowledge/references/saas.website.astro.bridge.md +10 -0
  211. package/dist/knowledge/references/saas.website.astro.label-loader.md +3 -0
  212. package/dist/knowledge/references/saas.website.astro.llms-txt-server.md +14 -1
  213. package/dist/knowledge/references/saas.website.astro.site-context.md +13 -0
  214. package/dist/knowledge/references/saas.website.blog.bridge.md +4 -0
  215. package/dist/knowledge/references/saas.website.config.site-context-loader.md +3 -0
  216. package/dist/knowledge/references/saas.website.legal.public-document-links.md +76 -0
  217. package/dist/knowledge/references/saas.website.root-config.seo.md +2 -1
  218. package/dist/knowledge/references/saas.website.runtime.context.md +7 -0
  219. package/dist/knowledge/references/saas.website.seo.llms-txt-config.md +2 -0
  220. package/dist/knowledge/references/website-plan.config.md +26 -0
  221. package/dist/knowledge/references/zod.decorators.chainable-runtime.md +13 -0
  222. package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +7 -0
  223. package/dist/knowledge/references/zod.decorators.document-sequence.md +65 -0
  224. package/dist/knowledge/references/zod.decorators.schema-metadata.md +1 -0
  225. package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +21 -0
  226. package/dist/knowledge/references/zod.factories.bigdecimal.md +1 -0
  227. package/dist/knowledge/references/zod.factories.code.md +1 -0
  228. package/dist/knowledge/references/zod.factories.duration.md +1 -0
  229. package/dist/knowledge/references/zod.factories.money.md +1 -0
  230. package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
  231. package/dist/knowledge/registries/framework-topics.json +337 -1
  232. package/dist/knowledge/registries/playbooks.json +18 -18
  233. package/dist/knowledge/registries/source-tags.json +1435 -873
  234. package/dist/knowledge/rules/live-context-door.md +1 -1
  235. package/dist/knowledge/skills/INDEX.md +3 -1
  236. package/dist/knowledge/skills/application-consumer-documentation-authoring/SKILL.md +16 -3
  237. package/dist/knowledge/skills/application-database-migrations/SKILL.md +14 -3
  238. package/dist/knowledge/skills/application-roles-authoring/SKILL.md +158 -0
  239. package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +169 -0
  240. package/dist/knowledge/skills/application-roles-authoring/references/office-and-field-worked-example.md +63 -0
  241. package/dist/knowledge/skills/authorization-unit-narrowing/SKILL.md +6 -1
  242. package/dist/knowledge/skills/backend-custom-operation/SKILL.md +256 -9
  243. package/dist/knowledge/skills/backend-custom-operation/references/after-the-operation.md +42 -0
  244. package/dist/knowledge/skills/backend-custom-operation/references/framework-audit-log-event-api.md +220 -0
  245. package/dist/knowledge/skills/brand-logo-authoring/SKILL.md +5 -0
  246. package/dist/knowledge/skills/brand-name-screening/SKILL.md +33 -9
  247. package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +78 -6
  248. package/dist/knowledge/skills/brand-name-screening/references/screening-procedure.md +30 -8
  249. package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +2 -1
  250. package/dist/knowledge/skills/config-app-shell/SKILL.md +58 -5
  251. package/dist/knowledge/skills/config-app-shell/references/framework-launcher-items-api.md +461 -0
  252. package/dist/knowledge/skills/config-app-shell/references/framework-launcher-visibility-api.md +80 -0
  253. package/dist/knowledge/skills/config-design-system/SKILL.md +28 -6
  254. package/dist/knowledge/skills/config-navigation/SKILL.md +14 -3
  255. package/dist/knowledge/skills/config-saas/SKILL.md +25 -11
  256. package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +51 -1
  257. package/dist/knowledge/skills/config-saas/references/framework-audit-trail-config-api.md +62 -2
  258. package/dist/knowledge/skills/config-saas-backend/SKILL.md +6 -1
  259. package/dist/knowledge/skills/configure-billing/SKILL.md +18 -4
  260. package/dist/knowledge/skills/email-add-template/SKILL.md +27 -5
  261. package/dist/knowledge/skills/email-add-template/references/email-artifact-paths.md +1 -1
  262. package/dist/knowledge/skills/email-add-template/references/framework-email-send-api.md +128 -0
  263. package/dist/knowledge/skills/email-add-template/references/framework-operation-email-template-ref-api.md +99 -0
  264. package/dist/knowledge/skills/engine-component-registration/SKILL.md +6 -1
  265. package/dist/knowledge/skills/engine-product-definitions/SKILL.md +21 -8
  266. package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +10 -2
  267. package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +18 -4
  268. package/dist/knowledge/skills/frontend-component-catalog/SKILL.md +11 -3
  269. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +2 -1
  270. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +8 -0
  271. package/dist/knowledge/skills/i18n-rerun-pipeline/SKILL.md +18 -4
  272. package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +10 -2
  273. package/dist/knowledge/skills/infra-environment-config/SKILL.md +6 -1
  274. package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +6 -1
  275. package/dist/knowledge/skills/market-add-feature-benefit/SKILL.md +10 -2
  276. package/dist/knowledge/skills/market-alternatives/SKILL.md +10 -2
  277. package/dist/knowledge/skills/market-authoring-overview/SKILL.md +10 -2
  278. package/dist/knowledge/skills/market-category/SKILL.md +21 -7
  279. package/dist/knowledge/skills/market-channels/SKILL.md +6 -1
  280. package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +11 -3
  281. package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +1 -1
  282. package/dist/knowledge/skills/market-generation-cli/SKILL.md +21 -11
  283. package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +11 -6
  284. package/dist/knowledge/skills/market-icp/SKILL.md +10 -2
  285. package/dist/knowledge/skills/market-jobs-pains-gains/SKILL.md +6 -1
  286. package/dist/knowledge/skills/market-message-templates-authoring/SKILL.md +6 -1
  287. package/dist/knowledge/skills/market-persona/SKILL.md +14 -3
  288. package/dist/knowledge/skills/market-positioning-authoring/SKILL.md +6 -1
  289. package/dist/knowledge/skills/market-proof-and-objection/SKILL.md +10 -2
  290. package/dist/knowledge/skills/market-scoring-interpretation/SKILL.md +6 -1
  291. package/dist/knowledge/skills/market-snapshot-validation/SKILL.md +14 -3
  292. package/dist/knowledge/skills/market-tone-of-voice/SKILL.md +6 -1
  293. package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +26 -0
  294. package/dist/knowledge/skills/module-companion-exports/SKILL.md +7 -1
  295. package/dist/knowledge/skills/module-relationships/SKILL.md +31 -4
  296. package/dist/knowledge/skills/pdf-template-authoring/SKILL.md +4 -2
  297. package/dist/knowledge/skills/provider-address-lookup/SKILL.md +14 -3
  298. package/dist/knowledge/skills/provider-frontend-file-picker/SKILL.md +6 -1
  299. package/dist/knowledge/skills/provider-operation-calls/SKILL.md +14 -3
  300. package/dist/knowledge/skills/rate-limit-authoring/SKILL.md +10 -2
  301. package/dist/knowledge/skills/resource-add-field/SKILL.md +10 -2
  302. package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +46 -17
  303. package/dist/knowledge/skills/resource-add-resource/SKILL.md +14 -2
  304. package/dist/knowledge/skills/resource-add-resource/references/framework-new-resource-core-config-api.md +26 -0
  305. package/dist/knowledge/skills/resource-config-wiring/SKILL.md +29 -3
  306. package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +19 -4
  307. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +5 -2
  308. package/dist/knowledge/skills/resource-config-wiring/references/framework-personal-data-declaration-api.md +103 -0
  309. package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +135 -0
  310. package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +26 -0
  311. package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +26 -7
  312. package/dist/knowledge/skills/resource-custom-view/SKILL.md +10 -2
  313. package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +46 -17
  314. package/dist/knowledge/skills/resource-external-data/references/erasure-suppression.md +2 -2
  315. package/dist/knowledge/skills/resource-retention-binding/SKILL.md +5 -1
  316. package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +15 -1
  317. package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +569 -0
  318. package/dist/knowledge/skills/resource-schema-authoring/references/document-numbers.md +358 -0
  319. package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +8 -0
  320. package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +21 -0
  321. package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +7 -2
  322. package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +13 -0
  323. package/dist/knowledge/skills/resource-status-lifecycle/SKILL.md +153 -0
  324. package/dist/knowledge/skills/resource-status-lifecycle/references/commercial-documents.md +46 -0
  325. package/dist/knowledge/skills/resource-status-lifecycle/references/quote-lifecycle-worked-example.md +198 -0
  326. package/dist/knowledge/skills/resource-ui-behavior/SKILL.md +30 -4
  327. package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +157 -0
  328. package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +101 -19
  329. package/dist/knowledge/skills/seeding-authoring/SKILL.md +155 -40
  330. package/dist/knowledge/skills/seeding-authoring/references/cross-seed-row-references.md +67 -0
  331. package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +148 -4
  332. package/dist/knowledge/skills/seeding-authoring/references/seed-row-overlay.md +22 -0
  333. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +43 -0
  334. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +2 -2
  335. package/dist/knowledge/skills/spec-companion-exports/SKILL.md +6 -1
  336. package/dist/knowledge/skills/spec-component-update/SKILL.md +10 -2
  337. package/dist/knowledge/skills/spec-composite-view-update/SKILL.md +2 -2
  338. package/dist/knowledge/skills/spec-family-update/SKILL.md +71 -66
  339. package/dist/knowledge/skills/spec-family-update/references/family-spec-routing.md +1 -1
  340. package/dist/knowledge/skills/spec-resource-update/SKILL.md +30 -10
  341. package/dist/knowledge/skills/spec-resource-update/references/resource-spec-field-routing.md +28 -0
  342. package/dist/knowledge/skills/spec-update-after-change/SKILL.md +22 -5
  343. package/dist/knowledge/skills/views-add-composite-view/SKILL.md +6 -1
  344. package/dist/knowledge/skills/views-add-custom-view/SKILL.md +10 -2
  345. package/dist/knowledge/skills/views-app-level/SKILL.md +13 -3
  346. package/dist/knowledge/skills/views-app-level/references/application-home.md +56 -0
  347. package/dist/knowledge/skills/views-chart-authoring/SKILL.md +221 -37
  348. package/dist/knowledge/skills/views-composite-authoring/SKILL.md +22 -5
  349. package/dist/knowledge/skills/views-execution-authoring/SKILL.md +1 -1
  350. package/dist/knowledge/skills/website-anonymous-session/SKILL.md +32 -2
  351. package/dist/knowledge/skills/website-blog-authoring/SKILL.md +16 -3
  352. package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +4 -0
  353. package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +7 -1
  354. package/dist/knowledge/skills/website-consent-gate-overrides/SKILL.md +13 -1
  355. package/dist/knowledge/skills/website-factory-advanced/SKILL.md +10 -2
  356. package/dist/knowledge/skills/website-inbound-contact-forms/SKILL.md +13 -1
  357. package/dist/knowledge/skills/website-layout-overrides/SKILL.md +6 -1
  358. package/dist/knowledge/skills/website-marketing-metadata-extension/SKILL.md +19 -1
  359. package/dist/knowledge/skills/website-navigation-authoring/SKILL.md +55 -18
  360. package/dist/knowledge/skills/website-navigation-authoring/references/framework-public-document-links-api.md +98 -0
  361. package/dist/knowledge/skills/website-navigation-authoring/references/worked-examples-header-footer.md +8 -11
  362. package/dist/knowledge/skills/website-page-authoring/SKILL.md +16 -5
  363. package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +3 -0
  364. package/dist/knowledge/skills/website-primitive-overrides/SKILL.md +6 -1
  365. package/dist/knowledge/skills/website-section-faq/SKILL.md +6 -1
  366. package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +6 -1
  367. package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +10 -2
  368. package/dist/knowledge/skills/website-section-hero/SKILL.md +6 -1
  369. package/dist/knowledge/skills/website-section-pricing/SKILL.md +6 -1
  370. package/dist/knowledge/skills/website-section-social-proof/SKILL.md +12 -2
  371. package/dist/knowledge/skills/website-seo-aeo-geo/SKILL.md +15 -3
  372. package/dist/knowledge/skills/website-seo-aeo-geo/references/geo-api.md +16 -1
  373. package/dist/knowledge/skills/website-seo-aeo-geo/references/seo-api.md +2 -1
  374. package/dist/knowledge/topic-index.json +1441 -269
  375. package/dist/tsconfig.build.tsbuildinfo +1 -1
  376. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-identity/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCA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F,CAAC;QAC7H,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,yDAAyD;QACpE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's grounding rules (#1487): the ADVISORY\n * judge reads the landed brief against the interview, the vision and the market voice, so an invented\n * mark direction or an audience naming an ICP the market does not hold is reported before the logo\n * step generates from it. Advisory: a verdict is a note beside the creator's `approve_result` review.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.brand-identity\",\n \"version\": \"0.3.0\",\n \"phase\": \"top_down\",\n \"intent\": \"Brand-identity elicitation: draw the product's VISUAL identity out of the creator — the brand name (CHOSEN by the creator from the screened candidates `top_down.brand-naming` landed), the logo creative direction (mark type, motifs, symbolism, imagery don'ts, background), and the visual tone (style keywords, mood, color story) — and capture it as a single validated BrandSnapshot (the `brand-brief` artifact family). The visual counterpart to the vision (intent) and market (verbal voice) briefs: it derives symbolism from the VisionSnapshot's idea/mission and, when a MarketSnapshot exists, translates its verbal `tonesOfVoice` into a visual register. The emitted brand-brief is the INPUT the companion logo step generates the master logo + derived assets from, and via `BrandSnapshot.resolvedAssets` the single source of truth every logo/favicon/brand-image consumer resolves against. Progressive: may persist a partially-directed brand (logoDirection/visualTone optional) and resume. v1 scaffold methodology — iterate the interview.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n // The name is CHOSEN from the screened candidates, so the screening must exist before the interview can be answered: its `brand-name` options are computed from it.\n { \"kind\": \"artifact_valid\", \"selector\": { \"family\": \"brand-name-screening\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\", \"aspects\": [\"vision.idea\", \"vision.problem\", \"vision.mission\"], \"//aspects\": \"What the method derives the symbolism from (#2146). The constraints and success criteria still reach the brief as a map; measured on app-creation-test-004, the landed brand cites none of the compliance regimes the constraints carry, so a compliance posture written into the vision no longer re-derives the brand.\" },\n { \"family\": \"market-snapshot\", \"intent\": \"voice\" },\n { \"family\": \"brand-brief\" },\n { \"family\": \"brand-name-screening\", \"//\": \"What the chosen name's screening found, so the brief never contradicts it and the judge can check the name against it.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"brand-brief\",\n \"schemaRef\": \"saas-specifications:BrandSnapshot\",\n \"description\": \"The visual-identity artifact — one BrandSnapshot per product (name + logo direction + visual tone; resolvedAssets left empty for the companion logo step to populate). Read by the companion logo generation step (which produces the master + derived assets) and, via resolvedAssets, by every downstream logo/favicon/brand-image consumer. Validated by validateBrandSnapshot.\"\n }\n ],\n \"method\": {\n \"//briefAdequacyGate\": \"ON because this is the only playbook in the catalog that NARROWS an input (the market by INTENT; the vision by ASPECTS since #2146, whose repair the same gate can make), and the market narrowing is by INTENT \\u2014 the least precise form, since it selects whichever aspects declare `servesIntents: VOICE` rather than aspects someone chose for this brief. Measured 2026-09-22: `voice` selects 7 of market-snapshot\\u0027s 16 aspects and withholds 9, among them `market.persona`, `market.pain` and `market.gain` \\u2014 every one of which a brand voice can legitimately rest on, and none of which the declaration can name per application. The gate is what notices at run time; its repair is add-only and bounded to the families this playbook already declares, so it can widen what this brief reads and can never reach a family nobody declared (#1422).\",\n \"briefAdequacyGate\": true,\n \"skillRefs\": [\"brand-logo-authoring\"],\n /*\n * This method says \"follow the `brand-logo-authoring` skill\", and a structured generation has no\n * tools — so only its purpose line ever arrived and the model followed a document it had\n * never been shown (#1435). Declaring the body puts the contract in the brief.\n */\n \"skillBodyRefs\": [\"brand-logo-authoring\"],\n \"elicitation\": {\n /*\n * Interview depth (#2177). A QUICK interview asks only `brand-name`. Every other question is DETAIL: each has a\n * stated default (\"none\", the combination mark, the transparent background) or describes what the method derives\n * from the vision and the market voice anyway, so the companion proposes it instead of the creator writing it —\n * reviewed on an open surface, or recorded as an assumption by an unattended round. A detailed interview asks\n * them all.\n */\n \"questions\": [\n {\n \"ref\": \"brand-name\",\n /*\n * A CHOICE computed from the landed brand-name screening, never free text and never written by a model: the\n * companion proposes and screens (`top_down.brand-naming`), the creator chooses. A conflicting proposal is not\n * offered; a conflicting name of the creator's own is offered only as an explicit `[keep-despite-conflict]`\n * option, and the creator's answer is the record of that decision. To screen another name of their own, the\n * creator adds it to `top_down.brand-naming`'s interview and re-runs it.\n */\n \"question\": \"Which screened name should the brand carry? This exact string is what the logo renders and every surface prints. A name marked [screening-incomplete] could not be checked in every register; [keep-despite-conflict] keeps your own name although the screening found a conflicting mark or competitor. This is a minimal trademark screening, not a legal clearance — consult an IP professional before filing or launching.\",\n \"kind\": \"choice\",\n \"optionsFrom\": \"brand_name_screening_candidates\",\n // The one question a quick interview asks (#2177): the name is what every surface prints.\n \"depth\": \"essential\",\n /*\n * ASKED, never proposed: the companion proposes the CANDIDATES, and choosing one is the creator's decision —\n * including choosing to keep a conflicting name. A proposal recorded as an assumption would make the model the\n * one who chose, which is the whole thing this step exists to prevent.\n */\n \"whenUnknown\": \"ask\"\n },\n {\n \"ref\": \"brand-tagline\",\n \"question\": \"Is there a tagline / supporting line to lock up with the name (e.g. \\\"Ship the week, not the meeting.\\\")? Answer \\\"none\\\" if not.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"logo-mark-type\",\n \"question\": \"Which logo archetype fits the brand? A combination mark (symbol + wordmark) is the safe default — it yields both a header lockup and a square app icon.\",\n \"kind\": \"choice\",\n \"options\": [\"combination_mark\", \"wordmark\", \"lettermark\", \"pictorial_mark\", \"abstract_mark\", \"emblem\", \"mascot\"],\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"logo-background\",\n \"question\": \"How should the master logo be composed? A transparent, isolated mark is the default — it rasterizes cleanly into favicons and monochrome / dark-light variants. Choose otherwise only if the brand truly needs it.\",\n \"kind\": \"choice\",\n \"options\": [\"transparent_isolated\", \"solid_field\", \"contextual_scene\"],\n \"depth\": \"detail\"\n },\n /*\n * ONE steering question in place of six (#2137). Symbolism, motifs, imagery to avoid, style keywords, mood and\n * colour story are DERIVED: symbolism from the vision's idea and mission, the visual tone from the market's\n * verbal voice — the method already said so, and on a real first run the creator answered all six \"leave it to\n * the companion\". Asking them cost answers that carried no information and put a deferral into the brief as if it\n * were direction. What only the creator can add is a preference the vision and the market do not imply, so that\n * is what is asked, and \"none\" lets the derivation stand.\n */\n {\n \"ref\": \"visual-direction\",\n \"question\": \"Is there anything the logo or the look should evoke, include or avoid that the vision and the market's voice would not suggest on their own (e.g. \\\"no literal buildings\\\", \\\"a nod to craftsmanship\\\", \\\"warm, not corporate\\\")? Answer \\\"none\\\" and the symbolism, imagery and visual tone are derived from the vision and the market voice.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"visual-color-seeds\",\n \"question\": \"Has the brand already committed to specific hex colors that the mark must agree with? If so, list them; otherwise answer \\\"none\\\" and let the design system own the palette.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n }\n ]\n }\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/brand-identity',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/brand-identity',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-brand-identity-verdict',\n /*\n * Two criteria: what the brief SAYS (grounded in the creator and the vision) and what it HANDS OFF (an\n * audience the market holds, and no hand-authored assets). Aspect-scoped so the judge reads the brand's\n * own sections beside the vision's idea and mission and the market's ICPs, not the whole snapshot.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-grounding-in-creator-and-vision',\n criterionVersion: 1,\n instruction:\n \"Determine whether the brand brief is GROUNDED: the brand name is exactly the name the creator chose in the interview (an option may carry a bracketed qualifier such as [screening-incomplete] or [keep-despite-conflict] — the name is the text before it, and the qualifier never appears in the brand name); the mark type, background and colour seeds are the creator's answers; the symbolism, motifs and imagery to avoid DERIVE from the vision's idea and mission; the visual tone translates the market's verbal voice where a market snapshot exists and is noted as provisional where it does not; and the creator's visual-direction answer, when it is not \\\"none\\\", is honoured and outranks the derivation. Derived direction is expected — the interview no longer asks for it — but it must trace to the vision or the market voice, never be a decorative choice of the model's own. A partially-directed brief (name only, direction still open) is a legitimate state, not a finding.\",\n assessesAspects: ['brand.name', 'brand.logo-direction', 'brand.visual-tone', 'vision.idea', 'vision.mission'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-and-brand-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: \"The name and the mark choices are the creator's, the symbolism and imagery trace to the vision, the tone follows the market voice or is honestly provisional, and the creator's visual direction is honoured.\",\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with a thin symbolism rationale, a tone that only loosely follows the market voice, or a background treatment the pipeline must compensate for.',\n [MetaWorkflow_EvaluationVerdict.GAP]: \"A name or mark choice that differs from the interview, a visual direction the creator gave that the brief ignores, or symbolism and tone that trace to neither the vision nor the market voice.\",\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The interview answers or the vision are not in evidence, so grounding cannot be established.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-audience-and-handoff',\n criterionVersion: 1,\n instruction:\n \"Determine whether the brief hands off correctly: every targetIcpRef in the audience names an ICP the market snapshot holds and none is an anti-target; the audience rationale follows from the brief's own tone and mission; and resolvedAssets is EMPTY, because assets are the companion logo step's output and a hand-authored asset reference would be overwritten or flagged.\",\n assessesAspects: ['brand.audience', 'brand.asset', 'market.icp'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-audience-and-handoff',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-and-brand-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every audience ref resolves to a market ICP that is not an anti-target, and resolvedAssets is empty.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The audience is absent although the market snapshot names ICPs the tone was chosen for, or the rationale is generic.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An audience ref naming an ICP the market does not hold or an anti-target, or a resolvedAssets entry authored by hand.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The market snapshot's ICPs are not in evidence, so the audience cannot be checked.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-name-screened-and-unclaimed',\n criterionVersion: 1,\n instruction:\n \"Determine whether the chosen NAME stands honestly against its screening: the brand name is a candidate of the brand-name screening, whose queries cover every jurisdiction and Nice class the screening declares; where the screening could not check a register, nothing in the brief presents the name as cleared; where the creator kept a name despite a conflict, the brief does not hide or soften it; and nothing in the brief asserts that the name is available, free to use, registered by this product or legally cleared — a minimal trademark screening is never a clearance opinion.\",\n assessesAspects: ['brand.name', 'brand-name-screening.candidate', 'brand-name-screening.jurisdiction', 'brand-name-screening.nice-class'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-name-screened-and-unclaimed',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/brand-name-screening-and-brand-candidate',\n minCount: 2,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The name is a screened candidate covered in every declared jurisdiction and class, and the brief claims no availability or clearance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The name was chosen as screening-incomplete or kept despite a conflict, and the brief says so plainly.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The name is not among the screened candidates, an unchecked or conflicting name is presented as clear, or the brief asserts availability or legal clearance.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The brand-name screening is not in evidence, so the name\\'s standing cannot be checked.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/brand-identity',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/brand-identity-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/brand-brief-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/brand-brief-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-brand-brief-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/brand-identity-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-brand-identity-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/brand-brief-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/brand-identity-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-brand-brief',\n riskClassRef: 'application-creation:risk/brand-brief-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/brand-identity',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-identity/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,8gCAA8gC;IACxhC,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACvE,oKAAoK;QACpK,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,sBAAsB,EAAE,EAAE;KAC/E;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,WAAW,EAAE,0TAA0T,EAAE;QACra,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,EAAE;QAClD,EAAE,QAAQ,EAAE,aAAa,EAAE;QAC3B,EAAE,QAAQ,EAAE,sBAAsB,EAAE,IA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uB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's grounding rules (#1487): the ADVISORY\n * judge reads the landed brief against the interview, the vision and the market voice, so an invented\n * mark direction or an audience naming an ICP the market does not hold is reported before the logo\n * step generates from it. Advisory: a verdict is a note beside the creator's `approve_result` review.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.brand-identity\",\n \"version\": \"0.4.0\",\n \"phase\": \"top_down\",\n \"intent\": \"Brand-identity elicitation: draw the product's VISUAL identity out of the creator — the brand name (CHOSEN by the creator from the screened candidates `top_down.brand-naming` landed), the logo creative direction (mark type, motifs, symbolism, imagery don'ts, background), and the visual tone (style keywords, mood, color story) — and capture it as a single validated BrandSnapshot (the `brand-brief` artifact family). The visual counterpart to the vision (intent) and market (verbal voice) briefs: it derives symbolism from the VisionSnapshot's idea/mission and, when a MarketSnapshot exists, translates its verbal `tonesOfVoice` into a visual register. The emitted brand-brief is the INPUT the companion logo step generates the master logo + derived assets from, and via `BrandSnapshot.resolvedAssets` the single source of truth every logo/favicon/brand-image consumer resolves against. Progressive: may persist a partially-directed brand (logoDirection/visualTone optional) and resume. v1 scaffold methodology — iterate the interview.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n // The name is CHOSEN from the screened candidates, so the screening must exist before the interview can be answered: its `brand-name` options are computed from it.\n { \"kind\": \"artifact_valid\", \"selector\": { \"family\": \"brand-name-screening\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\", \"aspects\": [\"vision.idea\", \"vision.problem\", \"vision.mission\"], \"//aspects\": \"What the method derives the symbolism from (#2146). The constraints and success criteria still reach the brief as a map; measured on app-creation-test-004, the landed brand cites none of the compliance regimes the constraints carry, so a compliance posture written into the vision no longer re-derives the brand.\" },\n { \"family\": \"market-snapshot\", \"intent\": \"voice\" },\n { \"family\": \"brand-brief\" },\n { \"family\": \"brand-name-screening\", \"//\": \"What the chosen name's screening found, so the brief never contradicts it and the judge can check the name against it.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"brand-brief\",\n \"schemaRef\": \"saas-specifications:BrandSnapshot\",\n \"description\": \"The visual-identity artifact — one BrandSnapshot per product (name + logo direction + visual tone; resolvedAssets left empty for the companion logo step to populate). Read by the companion logo generation step (which produces the master + derived assets) and, via resolvedAssets, by every downstream logo/favicon/brand-image consumer. Validated by validateBrandSnapshot.\"\n }\n ],\n \"method\": {\n \"//briefAdequacyGate\": \"ON because this is the only playbook in the catalog that NARROWS an input (the market by INTENT; the vision by ASPECTS since #2146, whose repair the same gate can make), and the market narrowing is by INTENT \\u2014 the least precise form, since it selects whichever aspects declare `servesIntents: VOICE` rather than aspects someone chose for this brief. Measured 2026-09-22: `voice` selects 7 of market-snapshot\\u0027s 16 aspects and withholds 9, among them `market.persona`, `market.pain` and `market.gain` \\u2014 every one of which a brand voice can legitimately rest on, and none of which the declaration can name per application. The gate is what notices at run time; its repair is add-only and bounded to the families this playbook already declares, so it can widen what this brief reads and can never reach a family nobody declared (#1422).\",\n \"briefAdequacyGate\": true,\n \"skillRefs\": [\"brand-logo-authoring\"],\n /*\n * This method says \"follow the `brand-logo-authoring` skill\", and a structured generation has no\n * tools — so only its purpose line ever arrived and the model followed a document it had\n * never been shown (#1435). Declaring the body puts the contract in the brief.\n */\n \"skillBodyRefs\": [\"brand-logo-authoring\"],\n \"elicitation\": {\n /*\n * Interview depth (#2177). A QUICK interview asks only `brand-name`. Every other question is DETAIL: each has a\n * stated default (\"none\", the combination mark, the transparent background) or describes what the method derives\n * from the vision and the market voice anyway, so the companion proposes it instead of the creator writing it —\n * reviewed on an open surface, or recorded as an assumption by an unattended round. A detailed interview asks\n * them all.\n */\n \"questions\": [\n {\n \"ref\": \"brand-name\",\n /*\n * A CHOICE computed from the landed brand-name screening, never free text and never written by a model: the\n * companion proposes and screens (`top_down.brand-naming`), the creator chooses. A conflicting proposal is not\n * offered; a conflicting name of the creator's own is offered only as an explicit `[keep-despite-conflict]`\n * option, and the creator's answer is the record of that decision. To screen another name of their own, the\n * creator adds it to `top_down.brand-naming`'s interview and re-runs it.\n */\n /*\n * #2337: the option's bracketed qualifier records HOW the creator chose and is never part of the name; the\n * question used to say \"this exact string is what the logo renders\", which the method contradicted. Each\n * option is shown with what its qualifier summarizes (the computed `optionDetails`), and the chosen line is\n * recorded with the answer.\n */\n \"question\": \"Which screened name should the brand carry? The name is what the logo renders and every surface prints; a bracketed note after it records how you chose and is never printed. [not-screened]: no trademark register could be read for this name. [screening-incomplete]: some registers were read, not all. [keep-despite-conflict]: your own name, kept although the screening found a conflicting mark or a product already using the name — the line under each option says which. This is a minimal trademark screening, not a legal clearance — consult an IP professional before filing or launching.\",\n \"kind\": \"choice\",\n \"optionsFrom\": \"brand_name_screening_candidates\",\n // The one question a quick interview asks (#2177): the name is what every surface prints.\n \"depth\": \"essential\",\n /*\n * ASKED, never proposed: the companion proposes the CANDIDATES, and choosing one is the creator's decision —\n * including choosing to keep a conflicting name. A proposal recorded as an assumption would make the model the\n * one who chose, which is the whole thing this step exists to prevent.\n */\n \"whenUnknown\": \"ask\"\n },\n {\n \"ref\": \"brand-tagline\",\n \"question\": \"Is there a tagline / supporting line to lock up with the name (e.g. \\\"Ship the week, not the meeting.\\\")? Answer \\\"none\\\" if not.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"logo-mark-type\",\n \"question\": \"Which logo archetype fits the brand? A combination mark (symbol + wordmark) is the safe default — it yields both a header lockup and a square app icon.\",\n \"kind\": \"choice\",\n \"options\": [\"combination_mark\", \"wordmark\", \"lettermark\", \"pictorial_mark\", \"abstract_mark\", \"emblem\", \"mascot\"],\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"logo-background\",\n \"question\": \"How should the master logo be composed? A transparent, isolated mark is the default — it rasterizes cleanly into favicons and monochrome / dark-light variants. Choose otherwise only if the brand truly needs it.\",\n \"kind\": \"choice\",\n \"options\": [\"transparent_isolated\", \"solid_field\", \"contextual_scene\"],\n \"depth\": \"detail\"\n },\n /*\n * ONE steering question in place of six (#2137). Symbolism, motifs, imagery to avoid, style keywords, mood and\n * colour story are DERIVED: symbolism from the vision's idea and mission, the visual tone from the market's\n * verbal voice — the method already said so, and on a real first run the creator answered all six \"leave it to\n * the companion\". Asking them cost answers that carried no information and put a deferral into the brief as if it\n * were direction. What only the creator can add is a preference the vision and the market do not imply, so that\n * is what is asked, and \"none\" lets the derivation stand.\n */\n {\n \"ref\": \"visual-direction\",\n \"question\": \"Is there anything the logo or the look should evoke, include or avoid that the vision and the market's voice would not suggest on their own (e.g. \\\"no literal buildings\\\", \\\"a nod to craftsmanship\\\", \\\"warm, not corporate\\\")? Answer \\\"none\\\" and the symbolism, imagery and visual tone are derived from the vision and the market voice.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"visual-color-seeds\",\n \"question\": \"Has the brand already committed to specific hex colors that the mark must agree with? If so, list them; otherwise answer \\\"none\\\" and let the design system own the palette.\",\n \"kind\": \"free_text\",\n \"depth\": \"detail\"\n }\n ]\n }\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/brand-identity',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/brand-identity',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-brand-identity-verdict',\n /*\n * Two criteria: what the brief SAYS (grounded in the creator and the vision) and what it HANDS OFF (an\n * audience the market holds, and no hand-authored assets). Aspect-scoped so the judge reads the brand's\n * own sections beside the vision's idea and mission and the market's ICPs, not the whole snapshot.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-grounding-in-creator-and-vision',\n criterionVersion: 1,\n instruction:\n \"Determine whether the brand brief is GROUNDED: the brand name is exactly the name the creator chose in the interview (an option may carry a bracketed qualifier such as [not-screened], [screening-incomplete] or [keep-despite-conflict] — the name is the text before it, and the qualifier never appears in the brand name); the mark type, background and colour seeds are the creator's answers; the symbolism, motifs and imagery to avoid DERIVE from the vision's idea and mission; the visual tone translates the market's verbal voice where a market snapshot exists and is noted as provisional where it does not; and the creator's visual-direction answer, when it is not \\\"none\\\", is honoured and outranks the derivation. Derived direction is expected — the interview no longer asks for it — but it must trace to the vision or the market voice, never be a decorative choice of the model's own. A partially-directed brief (name only, direction still open) is a legitimate state, not a finding.\",\n assessesAspects: ['brand.name', 'brand.logo-direction', 'brand.visual-tone', 'vision.idea', 'vision.mission'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-and-brand-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: \"The name and the mark choices are the creator's, the symbolism and imagery trace to the vision, the tone follows the market voice or is honestly provisional, and the creator's visual direction is honoured.\",\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with a thin symbolism rationale, a tone that only loosely follows the market voice, or a background treatment the pipeline must compensate for.',\n [MetaWorkflow_EvaluationVerdict.GAP]: \"A name or mark choice that differs from the interview, a visual direction the creator gave that the brief ignores, or symbolism and tone that trace to neither the vision nor the market voice.\",\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The interview answers or the vision are not in evidence, so grounding cannot be established.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-audience-and-handoff',\n criterionVersion: 1,\n instruction:\n \"Determine whether the brief hands off correctly: every targetIcpRef in the audience names an ICP the market snapshot holds and none is an anti-target; the audience rationale follows from the brief's own tone and mission; and resolvedAssets is EMPTY, because assets are the companion logo step's output and a hand-authored asset reference would be overwritten or flagged.\",\n assessesAspects: ['brand.audience', 'brand.asset', 'market.icp'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-audience-and-handoff',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-and-brand-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every audience ref resolves to a market ICP that is not an anti-target, and resolvedAssets is empty.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The audience is absent although the market snapshot names ICPs the tone was chosen for, or the rationale is generic.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An audience ref naming an ICP the market does not hold or an anti-target, or a resolvedAssets entry authored by hand.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The market snapshot's ICPs are not in evidence, so the audience cannot be checked.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-identity-name-screened-and-unclaimed',\n criterionVersion: 1,\n instruction:\n \"Determine whether the chosen NAME stands honestly against its screening: the brand name is a candidate of the brand-name screening, whose queries cover every jurisdiction and Nice class the screening declares; where the screening could not check a register, nothing in the brief presents the name as cleared; where the creator kept a name despite a conflict, the brief does not hide or soften it; and nothing in the brief asserts that the name is available, free to use, registered by this product or legally cleared — a minimal trademark screening is never a clearance opinion.\",\n assessesAspects: ['brand.name', 'brand-name-screening.candidate', 'brand-name-screening.jurisdiction', 'brand-name-screening.nice-class'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-identity-name-screened-and-unclaimed',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/brand-name-screening-and-brand-candidate',\n minCount: 2,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The name is a screened candidate covered in every declared jurisdiction and class, and the brief claims no availability or clearance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The name was chosen as not screened, screening-incomplete or kept despite a conflict, and the brief says so plainly.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The name is not among the screened candidates, an unchecked or conflicting name is presented as clear, or the brief asserts availability or legal clearance.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The brand-name screening is not in evidence, so the name\\'s standing cannot be checked.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/brand-identity',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/brand-identity-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/brand-brief-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/brand-brief-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-brand-brief-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/brand-identity-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-brand-identity-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/brand-brief-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/brand-identity-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-brand-brief',\n riskClassRef: 'application-creation:risk/brand-brief-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/brand-identity-grounding-in-creator-and-vision'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/brand-identity',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
@@ -1,5 +1,5 @@
1
1
  import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-models/meta-workflows';
2
- import { MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
2
+ import { MetaWorkflow_ContextSource, MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
3
3
  /**
4
4
  * Propose brand-name candidates and SCREEN each against the public trademark registers — the research
5
5
  * half of `top_down.brand-naming`.
@@ -31,6 +31,7 @@ export declare const playbookDefinition: {
31
31
  }[];
32
32
  method: {
33
33
  skillRefs: string[];
34
+ contextSources: MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS[];
34
35
  };
35
36
  executor: MetaWorkflow_Executor.RESEARCH_AGENT;
36
37
  approval: MetaWorkflow_ApprovalPolicy.AUTO;
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-name-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC9B,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-name-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC9B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-models/meta-workflows';
2
- import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
2
+ import { MetaWorkflow_ContextSource, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
3
3
  /**
4
4
  * Propose brand-name candidates and SCREEN each against the public trademark registers — the research
5
5
  * half of `top_down.brand-naming`.
@@ -11,7 +11,7 @@ import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-c
11
11
  */
12
12
  export const playbookDefinition = {
13
13
  ref: 'top_down.brand-name-research',
14
- version: '0.1.0',
14
+ version: '0.2.0',
15
15
  phase: MetaWorkflow_Phase.TOP_DOWN,
16
16
  intent: 'Propose candidate names for the product, grounded in the vision and the market snapshot, and run a minimal trademark screening of every candidate — proposed or supplied by the creator — against the public registers of the jurisdictions the product targets, in the Nice classes it lives in, for identical and near-identical live marks, with domain and same-category signals beside them. Returns a condensed, source-attributed brief and authors nothing. Never a legal clearance opinion: a register it could not query is reported as not checked, never as clear.',
17
17
  preconditions: [
@@ -27,11 +27,13 @@ export const playbookDefinition = {
27
27
  outputs: [],
28
28
  stepOutputs: [{
29
29
  ref: 'brand-name-evidence',
30
- condensation: 'A brief of at most ~2500 words. First the jurisdictions (each with what declared it) and the Nice classes searched (each with why). Then, per candidate: the exact name, who put it on the list (the companion or the creator), one line on why it fits (proposals only), and for EVERY register query — the register, the jurisdictions it covers, the classes searched, the match types searched (identical, near-identical), the result (no conflict found / conflict / not checked), each live conflicting mark with its owner, number, classes, status and record URL, the search URL and the date. Then any competitor or alternative the market snapshot names that the candidate is identical or close to, the domains checked with their status, and any company already trading under the name in this category. End with what could NOT be checked, and why. Every claim carries the URL it came from; raw page text is never returned.',
30
+ condensation: 'A brief of at most ~2500 words. First the jurisdictions (each with what declared it — the market, the vision, the application\'s declared operating jurisdictions, or the creator\'s own target-jurisdictions answer — and, for each targeted country, whether its national office or a TMview search covers it) and the Nice classes searched (each with why). Then, per candidate: the exact name, who put it on the list (the companion or the creator), one line on why it fits (proposals only), and for EVERY register query — the register, how it was reached (its machine interface, or its web page), the jurisdictions it covers, the classes searched, the match types searched (identical, near-identical), the result (no conflict found / conflict / not checked), each live conflicting mark with its owner, number, classes, status and record URL, the search URL and the date. Then any competitor or alternative the market snapshot names that the candidate is identical or close to, every product doing the SAME JOB under an identical or near-identical name (a collision too), the domains checked with their status, and every other company trading under the name with how its category relates (same job, adjacent, unrelated). End with what could NOT be checked, and why. Every claim carries the URL it came from; raw page text is never returned.',
31
31
  description: 'Screened brand-name candidates with per-register results and sources, condensed for the produce sibling.',
32
32
  }],
33
33
  method: {
34
34
  skillRefs: ['brand-name-screening'],
35
+ // The TYPED declaration of where the product operates (#2335): every declared country is a trademark target.
36
+ contextSources: [MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS],
35
37
  },
36
38
  executor: MetaWorkflow_Executor.RESEARCH_AGENT,
37
39
  approval: MetaWorkflow_ApprovalPolicy.AUTO,
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-name-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,8BAA8B;IACnC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,gjBAAgjB;IACljB,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE;KAC7F;IACD,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,iBAAiB,EAAE;QAC7B,+EAA+E;QAC/E,EAAE,MAAM,EAAE,sBAAsB,EAAE;KACnC;IACD,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,qBAAqB;YAC1B,YAAY,EACV,o5BAAo5B;YACt5B,WAAW,EAAE,0GAA0G;SACxH,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,sBAAsB,CAAC;KACpC;IACD,QAAQ,EAAE,qBAAqB,CAAC,cAAc;IAC9C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Propose brand-name candidates and SCREEN each against the public trademark registers — the research\n * half of `top_down.brand-naming`.\n *\n * A RESEARCH_AGENT, not a structured generation, because the register lookups need the web: a tool-less\n * generation asked whether a name is a registered mark answers from memory, which is confident and wrong\n * in exactly the case that matters. It is read-only and lands nothing; its brief is the evidence the\n * produce sibling derives the `brand-name-screening` family from.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-name-research',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Propose candidate names for the product, grounded in the vision and the market snapshot, and run a minimal trademark screening of every candidate — proposed or supplied by the creator — against the public registers of the jurisdictions the product targets, in the Nice classes it lives in, for identical and near-identical live marks, with domain and same-category signals beside them. Returns a condensed, source-attributed brief and authors nothing. Never a legal clearance opinion: a register it could not query is reported as not checked, never as clear.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n // A re-run re-screens the names already on record rather than forgetting them.\n { family: 'brand-name-screening' },\n ],\n outputs: [],\n stepOutputs: [{\n ref: 'brand-name-evidence',\n condensation:\n 'A brief of at most ~2500 words. First the jurisdictions (each with what declared it) and the Nice classes searched (each with why). Then, per candidate: the exact name, who put it on the list (the companion or the creator), one line on why it fits (proposals only), and for EVERY register query — the register, the jurisdictions it covers, the classes searched, the match types searched (identical, near-identical), the result (no conflict found / conflict / not checked), each live conflicting mark with its owner, number, classes, status and record URL, the search URL and the date. Then any competitor or alternative the market snapshot names that the candidate is identical or close to, the domains checked with their status, and any company already trading under the name in this category. End with what could NOT be checked, and why. Every claim carries the URL it came from; raw page text is never returned.',\n description: 'Screened brand-name candidates with per-register results and sources, condensed for the produce sibling.',\n }],\n method: {\n skillRefs: ['brand-name-screening'],\n },\n executor: MetaWorkflow_Executor.RESEARCH_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-name-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,8BAA8B;IACnC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,gjBAAgjB;IACljB,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE;KAC7F;IACD,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,iBAAiB,EAAE;QAC7B,+EAA+E;QAC/E,EAAE,MAAM,EAAE,sBAAsB,EAAE;KACnC;IACD,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,qBAAqB;YAC1B,YAAY,EACV,wzCAAwzC;YAC1zC,WAAW,EAAE,0GAA0G;SACxH,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,sBAAsB,CAAC;QACnC,6GAA6G;QAC7G,cAAc,EAAE,CAAC,0BAA0B,CAAC,uBAAuB,CAAC;KACrE;IACD,QAAQ,EAAE,qBAAqB,CAAC,cAAc;IAC9C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Propose brand-name candidates and SCREEN each against the public trademark registers — the research\n * half of `top_down.brand-naming`.\n *\n * A RESEARCH_AGENT, not a structured generation, because the register lookups need the web: a tool-less\n * generation asked whether a name is a registered mark answers from memory, which is confident and wrong\n * in exactly the case that matters. It is read-only and lands nothing; its brief is the evidence the\n * produce sibling derives the `brand-name-screening` family from.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-name-research',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Propose candidate names for the product, grounded in the vision and the market snapshot, and run a minimal trademark screening of every candidate — proposed or supplied by the creator — against the public registers of the jurisdictions the product targets, in the Nice classes it lives in, for identical and near-identical live marks, with domain and same-category signals beside them. Returns a condensed, source-attributed brief and authors nothing. Never a legal clearance opinion: a register it could not query is reported as not checked, never as clear.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n // A re-run re-screens the names already on record rather than forgetting them.\n { family: 'brand-name-screening' },\n ],\n outputs: [],\n stepOutputs: [{\n ref: 'brand-name-evidence',\n condensation:\n 'A brief of at most ~2500 words. First the jurisdictions (each with what declared it — the market, the vision, the application\\'s declared operating jurisdictions, or the creator\\'s own target-jurisdictions answer — and, for each targeted country, whether its national office or a TMview search covers it) and the Nice classes searched (each with why). Then, per candidate: the exact name, who put it on the list (the companion or the creator), one line on why it fits (proposals only), and for EVERY register query — the register, how it was reached (its machine interface, or its web page), the jurisdictions it covers, the classes searched, the match types searched (identical, near-identical), the result (no conflict found / conflict / not checked), each live conflicting mark with its owner, number, classes, status and record URL, the search URL and the date. Then any competitor or alternative the market snapshot names that the candidate is identical or close to, every product doing the SAME JOB under an identical or near-identical name (a collision too), the domains checked with their status, and every other company trading under the name with how its category relates (same job, adjacent, unrelated). End with what could NOT be checked, and why. Every claim carries the URL it came from; raw page text is never returned.',\n description: 'Screened brand-name candidates with per-register results and sources, condensed for the produce sibling.',\n }],\n method: {\n skillRefs: ['brand-name-screening'],\n // The TYPED declaration of where the product operates (#2335): every declared country is a trademark target.\n contextSources: [MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS],\n },\n executor: MetaWorkflow_Executor.RESEARCH_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMode, MetaWorkflow_AuthorityInteractionChannel, MetaWorkflow_ContinuationAction, MetaWorkflow_DecisionConsequence, MetaWorkflow_DecisionRuleBoundaryClass, MetaWorkflow_EvaluationAggregationStrategy, MetaWorkflow_EvaluationPromptAssemblyStrategy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_EvidenceRequirementKind, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_HardFloorPosture, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-models/meta-workflows';
2
- import { MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
2
+ import { MetaWorkflow_ContextSource, MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
3
3
  /**
4
4
  * Land the `brand-name-screening` from the evidence `top_down.brand-name-research` gathered — the
5
5
  * artifact-producing child of `top_down.brand-naming`.
@@ -41,6 +41,7 @@ export declare const playbookDefinition: {
41
41
  }[];
42
42
  method: {
43
43
  skillRefs: string[];
44
+ contextSources: MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS[];
44
45
  skillBodyRefs: string[];
45
46
  };
46
47
  executor: MetaWorkflow_Executor.COMPANION_AGENT;
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-name-screening-produce/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC+G,CAAC;AAG/I,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-name-screening-produce/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC+G,CAAC;AAG/I,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJW,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMode, MetaWorkflow_AuthorityInteractionChannel, MetaWorkflow_ContinuationAction, MetaWorkflow_DecisionConsequence, MetaWorkflow_DecisionRuleBoundaryClass, MetaWorkflow_EvaluationAggregationStrategy, MetaWorkflow_EvaluationPromptAssemblyStrategy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_EvidenceRequirementKind, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_HardFloorPosture, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-models/meta-workflows';
2
- import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
2
+ import { MetaWorkflow_ContextSource, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
3
3
  /**
4
4
  * Land the `brand-name-screening` from the evidence `top_down.brand-name-research` gathered — the
5
5
  * artifact-producing child of `top_down.brand-naming`.
@@ -17,7 +17,7 @@ import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-c
17
17
  */
18
18
  export const playbookDefinition = {
19
19
  ref: 'top_down.brand-name-screening-produce',
20
- version: '0.1.0',
20
+ version: '0.2.0',
21
21
  phase: MetaWorkflow_Phase.TOP_DOWN,
22
22
  intent: 'Derive the validated brand-name screening from the vision, the market snapshot and the evidence a sibling research step gathered: the jurisdictions and Nice classes searched, and per candidate its origin, why it fits, every register query with its result, conflicting marks, source and date, the competitor collisions, and the domain and same-category signals. Transcribes, never concludes: a candidate\'s standing is derived from its queries. A minimal trademark screening, never a legal clearance opinion.',
23
23
  preconditions: [
@@ -39,6 +39,8 @@ export const playbookDefinition = {
39
39
  }],
40
40
  method: {
41
41
  skillRefs: ['brand-name-screening'],
42
+ // The TYPED declaration of where the product operates (#2335): every declared country is a trademark target.
43
+ contextSources: [MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS],
42
44
  // A structured generation has no tools, so the skill's body must be IN the brief, not named (#1435).
43
45
  skillBodyRefs: ['brand-name-screening'],
44
46
  },
@@ -63,8 +65,8 @@ export const evaluationTreatmentSource = {
63
65
  {
64
66
  schemaVersion: 1,
65
67
  criterionRef: 'application-creation:criterion/brand-name-screening-coverage-and-honesty',
66
- criterionVersion: 1,
67
- instruction: "Determine whether the screening COVERS what it declares and reports it HONESTLY: the declared jurisdictions follow from the market's ICP geographies and the vision (an EU member state target brings the EU trade mark with it; a region tag is resolved to countries), the Nice classes include 9 and 42 and any class the product category implies, every candidate has a query reaching each declared jurisdiction in those classes for identical and near-identical marks, every query cites a source URL and a date, and no register the evidence reports as unreachable or unread appears with a clear result. A register that could not be checked and is recorded as not checked is a legitimate, honest state, not a finding.",
68
+ criterionVersion: 2,
69
+ instruction: "Determine whether the screening COVERS what it declares and reports it HONESTLY: the declared jurisdictions are the union of the market's ICP geographies, the vision, the operating jurisdictions the application declares in its configuration (operatingJurisdictions) and the creator's own target-jurisdictions answer (an EU member state target brings the EU trade mark with it; a region tag is resolved to countries; every country the creator names or the configuration declares is declared and reached by its national office or a TMview search listing it), the Nice classes include 9 and 42 and any class the product category implies, every candidate has a query reaching each declared jurisdiction in those classes for identical and near-identical marks, every query cites a source URL and a date, and no register the evidence reports as unreachable or unread appears with a clear result. A register that could not be checked and is recorded as not checked is a legitimate, honest state, not a finding — UNLESS no register returned a result for any candidate: then the screening screened nothing, however honestly it says so, and that is the worst verdict.",
68
70
  assessesAspects: ['brand-name-screening.candidate', 'brand-name-screening.jurisdiction', 'brand-name-screening.nice-class', 'market.icp'],
69
71
  evidenceRequirements: [{
70
72
  schemaVersion: 1,
@@ -83,16 +85,16 @@ export const evaluationTreatmentSource = {
83
85
  }],
84
86
  verdictGuidance: {
85
87
  [MetaWorkflow_EvaluationVerdict.PASS]: 'Jurisdictions and classes follow from the product, every candidate is queried across them with sources and dates, and nothing unchecked is shown as clear.',
86
- [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is honest but thin: a class the category implies is missing, or several registers could not be checked and are correctly recorded as such.',
87
- [MetaWorkflow_EvaluationVerdict.GAP]: 'A query the evidence reports as unreachable or unread is recorded as clear, a declared jurisdiction is never queried while the candidate reads as cleared, or a query has no source.',
88
+ [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is honest but thin: a class the category implies is missing, or several registers could not be checked and are correctly recorded as such while at least one register returned a result.',
89
+ [MetaWorkflow_EvaluationVerdict.GAP]: 'No register returned a result for ANY candidate (0% coverage: nothing was screened), a country the creator named or the configuration declares (operatingJurisdictions) is not a declared jurisdiction, a query the evidence reports as unreachable or unread is recorded as clear, a declared jurisdiction is never queried while the candidate reads as cleared, or a query has no source.',
88
90
  [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The research evidence or the market snapshot is not in evidence, so coverage and honesty cannot be established.',
89
91
  },
90
92
  },
91
93
  {
92
94
  schemaVersion: 1,
93
95
  criterionRef: 'application-creation:criterion/brand-name-proposals-grounded-and-distinct',
94
- criterionVersion: 1,
95
- instruction: "Determine whether the PROPOSALS are worth choosing from: each companion-proposed name carries a rationale traceable to the vision's idea or mission and to the market's category language or tone of voice; no proposal is identical or close to a competitor or alternative the market snapshot names, or to a company the evidence found trading in the same category (a creator-supplied name may collide — it is offered only as an explicit keep-despite-conflict, so it is not a finding here); and every name the creator listed in the interview is on the list, marked as theirs. Nothing in the screening may assert that a name is available, free to use or legally cleared.",
96
+ criterionVersion: 2,
97
+ instruction: "Determine whether the PROPOSALS are worth choosing from: each companion-proposed name carries a rationale traceable to the vision's idea or mission and to the market's category language or tone of voice; no proposal is identical or close to a competitor or alternative the market snapshot names, or to a company the evidence found doing the same job under that name — and every such same-job product is recorded as a competitor collision, with a SAME_JOB category relation, never only as a same-category use (a creator-supplied name may collide — it is offered only as an explicit keep-despite-conflict, so it is not a finding here); and every name the creator listed in the interview is on the list, marked as theirs. Nothing in the screening may assert that a name is available, free to use or legally cleared.",
96
98
  assessesAspects: ['brand-name-screening.candidate', 'vision.idea', 'vision.mission', 'market.category', 'market.alternative', 'market.tone-of-voice'],
97
99
  evidenceRequirements: [{
98
100
  schemaVersion: 1,
@@ -112,7 +114,7 @@ export const evaluationTreatmentSource = {
112
114
  verdictGuidance: {
113
115
  [MetaWorkflow_EvaluationVerdict.PASS]: 'Every proposal is grounded and distinct from the named competitors, the creator\'s names are all present, and nothing claims availability or clearance.',
114
116
  [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with a generic rationale, a weakly distinctive or purely descriptive proposal, or fewer than three proposals surviving the screening.',
115
- [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposal collides with a named competitor, a creator-listed name is missing, or the screening claims a name is available or legally cleared.',
117
+ [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposal collides with a named competitor or a same-job product, a same-job product with a candidate\'s name is recorded only as a same-category use, a creator-listed name is missing, or the screening claims a name is available or legally cleared.',
116
118
  [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision, the market snapshot or the creator\'s interview answer is not in evidence.',
117
119
  },
118
120
  },
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-name-screening-produce/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5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CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Land the `brand-name-screening` from the evidence `top_down.brand-name-research` gathered — the\n * artifact-producing child of `top_down.brand-naming`.\n *\n * A structured generation over a strict provider contract: the model transcribes what each register\n * returned, and the trusted runtime stamps refs and version. There is no candidate-level verdict for it to\n * write — a candidate's standing is DERIVED from its queries, so an unchecked register reads as \"not\n * cleared\" whatever the model would have said. The validator refuses only what would make the record\n * untrue (a conflict naming no mark, a mark beside a clear result, a duplicated name).\n *\n * The ADVISORY judge below reads the landed screening against the evidence and the market: coverage of\n * the declared jurisdictions and classes, no unchecked register presented as clear, candidates distinct\n * from the named competitors, and no claim of availability or legal clearance. A verdict is a note beside\n * the creator's review; it never un-lands the file.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-name-screening-produce',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Derive the validated brand-name screening from the vision, the market snapshot and the evidence a sibling research step gathered: the jurisdictions and Nice classes searched, and per candidate its origin, why it fits, every register query with its result, conflicting marks, source and date, the competitor collisions, and the domain and same-category signals. Transcribes, never concludes: a candidate\\'s standing is derived from its queries. A minimal trademark screening, never a legal clearance opinion.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n // The evidence, READ: a screening derived without it would be a model's memory of which marks exist.\n { kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE, ref: 'brand-name-evidence' },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n // Its own family: a re-run keeps the candidates already screened (and their refs) and re-checks them, rather than forgetting them.\n { family: 'brand-name-screening' },\n ],\n outputs: [{\n family: 'brand-name-screening',\n schemaRef: 'saas-specifications:BrandNameScreening',\n description: 'The screened brand-name candidates — jurisdictions and classes searched, per-register results with sources and dates, competitor collisions and domain signals — validated by validateBrandNameScreening. The brand-identity interview offers its `brand-name` CHOICE from it.',\n }],\n method: {\n skillRefs: ['brand-name-screening'],\n // A structured generation has no tools, so the skill's body must be IN the brief, not named (#1435).\n skillBodyRefs: ['brand-name-screening'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/brand-name-screening',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/brand-name-screening',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-brand-name-screening-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-name-screening-coverage-and-honesty',\n criterionVersion: 1,\n instruction:\n \"Determine whether the screening COVERS what it declares and reports it HONESTLY: the declared jurisdictions follow from the market's ICP geographies and the vision (an EU member state target brings the EU trade mark with it; a region tag is resolved to countries), the Nice classes include 9 and 42 and any class the product category implies, every candidate has a query reaching each declared jurisdiction in those classes for identical and near-identical marks, every query cites a source URL and a date, and no register the evidence reports as unreachable or unread appears with a clear result. A register that could not be checked and is recorded as not checked is a legitimate, honest state, not a finding.\",\n assessesAspects: ['brand-name-screening.candidate', 'brand-name-screening.jurisdiction', 'brand-name-screening.nice-class', 'market.icp'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-research-and-brand-name-screening-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-name-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Jurisdictions and classes follow from the product, every candidate is queried across them with sources and dates, and nothing unchecked is shown as clear.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is honest but thin: a class the category implies is missing, or several registers could not be checked and are correctly recorded as such.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A query the evidence reports as unreachable or unread is recorded as clear, a declared jurisdiction is never queried while the candidate reads as cleared, or a query has no source.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The research evidence or the market snapshot is not in evidence, so coverage and honesty cannot be established.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-name-proposals-grounded-and-distinct',\n criterionVersion: 1,\n instruction:\n \"Determine whether the PROPOSALS are worth choosing from: each companion-proposed name carries a rationale traceable to the vision's idea or mission and to the market's category language or tone of voice; no proposal is identical or close to a competitor or alternative the market snapshot names, or to a company the evidence found trading in the same category (a creator-supplied name may collide — it is offered only as an explicit keep-despite-conflict, so it is not a finding here); and every name the creator listed in the interview is on the list, marked as theirs. Nothing in the screening may assert that a name is available, free to use or legally cleared.\",\n assessesAspects: ['brand-name-screening.candidate', 'vision.idea', 'vision.mission', 'market.category', 'market.alternative', 'market.tone-of-voice'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-name-proposals-grounded-and-distinct',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-research-and-brand-name-screening-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-name-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every proposal is grounded and distinct from the named competitors, the creator\\'s names are all present, and nothing claims availability or clearance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with a generic rationale, a weakly distinctive or purely descriptive proposal, or fewer than three proposals surviving the screening.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposal collides with a named competitor, a creator-listed name is missing, or the screening claims a name is available or legally cleared.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision, the market snapshot or the creator\\'s interview answer is not in evidence.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/brand-name-screening',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/brand-name-screening-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/brand-name-screening-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/brand-name-screening-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-brand-name-screening-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/brand-name-screening-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-brand-name-screening-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/brand-name-screening-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/brand-name-screening-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-brand-name-screening',\n riskClassRef: 'application-creation:risk/brand-name-screening-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/brand-name-screening',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-name-screening-produce/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,uCAAuC;IAC5C,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,6fAA6f;IAC/f,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BA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AgB,EAAE,uDAAuD;QACzE,kBAAkB,EAAE,IAAI;QACxB,oBAAoB,EAAE,kCAAkC,CAAC,8BAA8B;QACvF,gBAAgB,EAAE,oCAAoC,CAAC,gBAAgB;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,qFAAqF,CAAC;QACxH,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,+DAA+D;QAC1E,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Land the `brand-name-screening` from the evidence `top_down.brand-name-research` gathered — the\n * artifact-producing child of `top_down.brand-naming`.\n *\n * A structured generation over a strict provider contract: the model transcribes what each register\n * returned, and the trusted runtime stamps refs and version. There is no candidate-level verdict for it to\n * write — a candidate's standing is DERIVED from its queries, so an unchecked register reads as \"not\n * cleared\" whatever the model would have said. The validator refuses only what would make the record\n * untrue (a conflict naming no mark, a mark beside a clear result, a duplicated name).\n *\n * The ADVISORY judge below reads the landed screening against the evidence and the market: coverage of\n * the declared jurisdictions and classes, no unchecked register presented as clear, candidates distinct\n * from the named competitors, and no claim of availability or legal clearance. A verdict is a note beside\n * the creator's review; it never un-lands the file.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-name-screening-produce',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Derive the validated brand-name screening from the vision, the market snapshot and the evidence a sibling research step gathered: the jurisdictions and Nice classes searched, and per candidate its origin, why it fits, every register query with its result, conflicting marks, source and date, the competitor collisions, and the domain and same-category signals. Transcribes, never concludes: a candidate\\'s standing is derived from its queries. A minimal trademark screening, never a legal clearance opinion.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n // The evidence, READ: a screening derived without it would be a model's memory of which marks exist.\n { kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE, ref: 'brand-name-evidence' },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n // Its own family: a re-run keeps the candidates already screened (and their refs) and re-checks them, rather than forgetting them.\n { family: 'brand-name-screening' },\n ],\n outputs: [{\n family: 'brand-name-screening',\n schemaRef: 'saas-specifications:BrandNameScreening',\n description: 'The screened brand-name candidates — jurisdictions and classes searched, per-register results with sources and dates, competitor collisions and domain signals — validated by validateBrandNameScreening. The brand-identity interview offers its `brand-name` CHOICE from it.',\n }],\n method: {\n skillRefs: ['brand-name-screening'],\n // The TYPED declaration of where the product operates (#2335): every declared country is a trademark target.\n contextSources: [MetaWorkflow_ContextSource.OPERATING_JURISDICTIONS],\n // A structured generation has no tools, so the skill's body must be IN the brief, not named (#1435).\n skillBodyRefs: ['brand-name-screening'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/brand-name-screening',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/brand-name-screening',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-brand-name-screening-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-name-screening-coverage-and-honesty',\n criterionVersion: 2,\n instruction:\n \"Determine whether the screening COVERS what it declares and reports it HONESTLY: the declared jurisdictions are the union of the market's ICP geographies, the vision, the operating jurisdictions the application declares in its configuration (operatingJurisdictions) and the creator's own target-jurisdictions answer (an EU member state target brings the EU trade mark with it; a region tag is resolved to countries; every country the creator names or the configuration declares is declared and reached by its national office or a TMview search listing it), the Nice classes include 9 and 42 and any class the product category implies, every candidate has a query reaching each declared jurisdiction in those classes for identical and near-identical marks, every query cites a source URL and a date, and no register the evidence reports as unreachable or unread appears with a clear result. A register that could not be checked and is recorded as not checked is a legitimate, honest state, not a finding — UNLESS no register returned a result for any candidate: then the screening screened nothing, however honestly it says so, and that is the worst verdict.\",\n assessesAspects: ['brand-name-screening.candidate', 'brand-name-screening.jurisdiction', 'brand-name-screening.nice-class', 'market.icp'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-research-and-brand-name-screening-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-name-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Jurisdictions and classes follow from the product, every candidate is queried across them with sources and dates, and nothing unchecked is shown as clear.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is honest but thin: a class the category implies is missing, or several registers could not be checked and are correctly recorded as such while at least one register returned a result.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'No register returned a result for ANY candidate (0% coverage: nothing was screened), a country the creator named or the configuration declares (operatingJurisdictions) is not a declared jurisdiction, a query the evidence reports as unreachable or unread is recorded as clear, a declared jurisdiction is never queried while the candidate reads as cleared, or a query has no source.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The research evidence or the market snapshot is not in evidence, so coverage and honesty cannot be established.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-name-proposals-grounded-and-distinct',\n criterionVersion: 2,\n instruction:\n \"Determine whether the PROPOSALS are worth choosing from: each companion-proposed name carries a rationale traceable to the vision's idea or mission and to the market's category language or tone of voice; no proposal is identical or close to a competitor or alternative the market snapshot names, or to a company the evidence found doing the same job under that name — and every such same-job product is recorded as a competitor collision, with a SAME_JOB category relation, never only as a same-category use (a creator-supplied name may collide — it is offered only as an explicit keep-despite-conflict, so it is not a finding here); and every name the creator listed in the interview is on the list, marked as theirs. Nothing in the screening may assert that a name is available, free to use or legally cleared.\",\n assessesAspects: ['brand-name-screening.candidate', 'vision.idea', 'vision.mission', 'market.category', 'market.alternative', 'market.tone-of-voice'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-name-proposals-grounded-and-distinct',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-research-and-brand-name-screening-candidate',\n minCount: 2,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-brand-name-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every proposal is grounded and distinct from the named competitors, the creator\\'s names are all present, and nothing claims availability or clearance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with a generic rationale, a weakly distinctive or purely descriptive proposal, or fewer than three proposals surviving the screening.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposal collides with a named competitor or a same-job product, a same-job product with a candidate\\'s name is recorded only as a same-category use, a creator-listed name is missing, or the screening claims a name is available or legally cleared.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision, the market snapshot or the creator\\'s interview answer is not in evidence.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/brand-name-screening',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/brand-name-screening-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/brand-name-screening-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/brand-name-screening-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-brand-name-screening-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/brand-name-screening-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-brand-name-screening-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/brand-name-screening-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/brand-name-screening-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-brand-name-screening',\n riskClassRef: 'application-creation:risk/brand-name-screening-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/brand-name-screening-coverage-and-honesty'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/brand-name-screening',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
@@ -1,5 +1,5 @@
1
1
  import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';
2
- import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationUnknownPolicy, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-models/meta-workflows';
2
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationQuestionDepth, MetaWorkflow_ElicitationUnknownPolicy, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-models/meta-workflows';
3
3
  import { MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
4
4
  /**
5
5
  * The brand-NAMING umbrella — a composite: it proposes names and screens them, and lands the
@@ -46,12 +46,26 @@ export declare const playbookDefinition: {
46
46
  method: {
47
47
  skillRefs: string[];
48
48
  elicitation: {
49
- questions: {
49
+ questions: ({
50
50
  ref: string;
51
51
  question: string;
52
52
  kind: HumanDecision_FieldKind.FREE_TEXT;
53
53
  whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK;
54
- }[];
54
+ depth?: undefined;
55
+ regulatedDomain?: undefined;
56
+ sameDecisionAs?: undefined;
57
+ } | {
58
+ ref: string;
59
+ question: string;
60
+ kind: HumanDecision_FieldKind.FREE_TEXT;
61
+ depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL;
62
+ regulatedDomain: true;
63
+ sameDecisionAs: {
64
+ playbookRef: string;
65
+ questionRef: string;
66
+ };
67
+ whenUnknown?: undefined;
68
+ })[];
55
69
  };
56
70
  choreography: {
57
71
  admits: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-naming/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,qCAAqC,EACrC,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD9B,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-naming/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,qCAAqC,EACrC,qCAAqC,EACrC,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE9B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';
2
- import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationUnknownPolicy, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-models/meta-workflows';
2
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationQuestionDepth, MetaWorkflow_ElicitationUnknownPolicy, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-models/meta-workflows';
3
3
  import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
4
4
  /**
5
5
  * The brand-NAMING umbrella — a composite: it proposes names and screens them, and lands the
@@ -30,7 +30,7 @@ import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-c
30
30
  */
31
31
  export const playbookDefinition = {
32
32
  ref: 'top_down.brand-naming',
33
- version: '0.1.0',
33
+ version: '0.2.0',
34
34
  phase: MetaWorkflow_Phase.TOP_DOWN,
35
35
  intent: 'Propose names for the product and screen each against the public trademark registers of the jurisdictions it targets, landing the brand-name screening the brand-identity interview offers the creator a choice from. An umbrella: it authors nothing itself — research proposes and screens with web access, a sibling lands the validated screening. The companion proposes; the creator chooses. A minimal trademark screening, never a legal clearance opinion.',
36
36
  preconditions: [
@@ -56,6 +56,23 @@ export const playbookDefinition = {
56
56
  */
57
57
  whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK,
58
58
  },
59
+ {
60
+ ref: 'target-jurisdictions',
61
+ question: 'In which jurisdictions do your users live and your data reside or transit (e.g. EU/EEA, UK, US, California, Canada, specific countries)? This is what drives which privacy regimes apply.',
62
+ kind: HumanDecision_FieldKind.FREE_TEXT,
63
+ // Disposed as its owner is, so the question reads the same wherever it is asked.
64
+ depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL,
65
+ regulatedDomain: true,
66
+ /*
67
+ * ONE decision, asked once (#2335): where the product's users are is the compliance interview's
68
+ * `jurisdictions` question, and the screening needs the same answer — a mark is protected where it is used
69
+ * in trade. On app-creation-test-005 the creator named Germany, France, Italy and Spain there, the research
70
+ * saw only the market snapshot, and Italy and Spain were never searched. Declared here so the composite's
71
+ * interview carries the answer to its research child; the dossier lists it once, at its owner.
72
+ * The question text is the owner's, verbatim: one answer satisfies both.
73
+ */
74
+ sameDecisionAs: { playbookRef: 'top_down.compliance-analysis', questionRef: 'jurisdictions' },
75
+ },
59
76
  ],
60
77
  },
61
78
  choreography: {
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.brand-naming/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,qCAAqC,EACrC,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,uBAAuB;IAC5B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,qcAAqc;IACvc,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,2HAA2H;QAC3H,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE;KAC7F;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IACnE,iGAAiG;IACjG,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,sBAAsB,CAAC;QACnC,WAAW,EAAE;YACX,SAAS,EAAE;gBACT;oBACE,GAAG,EAAE,iBAAiB;oBACtB,QAAQ,EACN,4KAA4K;oBAC9K,IAAI,EAAE,uBAAuB,CAAC,SAAS;oBACvC;;;;uBAIG;oBACH,WAAW,EAAE,qCAAqC,CAAC,GAAG;iBACvD;aACF;SACF;QACD,YAAY,EAAE;YACZ,4GAA4G;YAC5G,MAAM,EAAE,CAAC,uCAAuC,EAAE,8BAA8B,CAAC;YACjF,uHAAuH;YACvH,iBAAiB,EAAE,CAAC;YACpB,6EAA6E;YAC7E,wBAAwB,EAAE,CAAC;YAC3B,sGAAsG;YACtG,iBAAiB,EAAE,SAAS;SAC7B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_ElicitationUnknownPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The brand-NAMING umbrella — a composite: it proposes names and screens them, and lands the\n * `brand-name-screening` the brand-identity interview chooses from.\n *\n * ## Why naming is its own step, and why it comes before the brand identity\n *\n * The brand name used to be a REQUIRED pre-run free-text question of `top_down.brand-identity`. On the\n * first real run the creator expected the companion to propose names; it could not, a coding assistant\n * improvised four in chat with no check at all, and one was almost certainly a registered software mark.\n * So the companion now PROPOSES — grounded in the vision and the market snapshot's category language and\n * voice — and every candidate, proposed or the creator's own, gets a minimal trademark screening before\n * anyone is asked to choose. The creator still chooses: the `brand-name` question of the brand identity\n * is a CHOICE computed from what lands here, and the choice is recorded as the creator's answer.\n *\n * ## The two children, and why the order is not written here\n *\n * `top_down.brand-name-research` (RESEARCH_AGENT) proposes and screens against the public registers, with\n * web access; `top_down.brand-name-screening-produce` turns that evidence into the validated family. The\n * produce step needs the research to have returned (`step_available`), so the order is its precondition,\n * not this list. A second research round is the remedy for a thin or unreachable first one.\n *\n * ## One interview question, answerable with \"none\"\n *\n * Whether the creator already has names they want screened. Their answer travels into the research\n * objective verbatim (the dispatching composite's interview reaches every child), so a creator's own name\n * is screened exactly like a proposed one — and changing the answer and re-running is how they add another.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-naming',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Propose names for the product and screen each against the public trademark registers of the jurisdictions it targets, landing the brand-name screening the brand-identity interview offers the creator a choice from. An umbrella: it authors nothing itself — research proposes and screens with web access, a sibling lands the validated screening. The companion proposes; the creator chooses. A minimal trademark screening, never a legal clearance opinion.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n // The market names the competitors a candidate must stay distinct from, and the geographies that decide the jurisdictions.\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'market-snapshot' }],\n // Nothing: a composite's deliverable is what its children land (see `top_down.market-analysis`).\n outputs: [],\n method: {\n skillRefs: ['brand-name-screening'],\n elicitation: {\n questions: [\n {\n ref: 'names-to-screen',\n question:\n 'Do you already have names you want screened alongside the ones the companion will propose? List each exactly as you would spell it, separated by commas, or answer \"none\".',\n kind: HumanDecision_FieldKind.FREE_TEXT,\n /*\n * ASKED, never proposed: a name listed here is screened as the CREATOR'S own, and that origin decides what is\n * offered (a creator's conflicting name may be kept; a companion proposal that conflicts may not). A model\n * proposing this answer would make its own names read as the creator's.\n */\n whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK,\n },\n ],\n },\n choreography: {\n // UNORDERED, produce first on purpose: read as a sequence it would try to land before any evidence existed.\n admits: ['top_down.brand-name-screening-produce', 'top_down.brand-name-research'],\n // Research → produce is two iterations; a second research round when the first could not reach a register is two more.\n maximumIterations: 6,\n // Breadth: one lane can propose while another screens a creator's own names.\n maximumLanesPerIteration: 2,\n // A literal (the definition evaluator computes no expressions). 30 minutes — a breaker, not a budget.\n maximumDurationMs: 1_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-naming/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,qCAAqC,EACrC,qCAAqC,EACrC,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,uBAAuB;IAC5B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EAC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AAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import { HumanDecision_FieldKind } from '@wildo-ai/saas-models';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_ElicitationQuestionDepth,\n MetaWorkflow_ElicitationUnknownPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The brand-NAMING umbrella — a composite: it proposes names and screens them, and lands the\n * `brand-name-screening` the brand-identity interview chooses from.\n *\n * ## Why naming is its own step, and why it comes before the brand identity\n *\n * The brand name used to be a REQUIRED pre-run free-text question of `top_down.brand-identity`. On the\n * first real run the creator expected the companion to propose names; it could not, a coding assistant\n * improvised four in chat with no check at all, and one was almost certainly a registered software mark.\n * So the companion now PROPOSES — grounded in the vision and the market snapshot's category language and\n * voice — and every candidate, proposed or the creator's own, gets a minimal trademark screening before\n * anyone is asked to choose. The creator still chooses: the `brand-name` question of the brand identity\n * is a CHOICE computed from what lands here, and the choice is recorded as the creator's answer.\n *\n * ## The two children, and why the order is not written here\n *\n * `top_down.brand-name-research` (RESEARCH_AGENT) proposes and screens against the public registers, with\n * web access; `top_down.brand-name-screening-produce` turns that evidence into the validated family. The\n * produce step needs the research to have returned (`step_available`), so the order is its precondition,\n * not this list. A second research round is the remedy for a thin or unreachable first one.\n *\n * ## One interview question, answerable with \"none\"\n *\n * Whether the creator already has names they want screened. Their answer travels into the research\n * objective verbatim (the dispatching composite's interview reaches every child), so a creator's own name\n * is screened exactly like a proposed one — and changing the answer and re-running is how they add another.\n */\nexport const playbookDefinition = {\n ref: 'top_down.brand-naming',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Propose names for the product and screen each against the public trademark registers of the jurisdictions it targets, landing the brand-name screening the brand-identity interview offers the creator a choice from. An umbrella: it authors nothing itself — research proposes and screens with web access, a sibling lands the validated screening. The companion proposes; the creator chooses. A minimal trademark screening, never a legal clearance opinion.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n // The market names the competitors a candidate must stay distinct from, and the geographies that decide the jurisdictions.\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'market-snapshot' }],\n // Nothing: a composite's deliverable is what its children land (see `top_down.market-analysis`).\n outputs: [],\n method: {\n skillRefs: ['brand-name-screening'],\n elicitation: {\n questions: [\n {\n ref: 'names-to-screen',\n question:\n 'Do you already have names you want screened alongside the ones the companion will propose? List each exactly as you would spell it, separated by commas, or answer \"none\".',\n kind: HumanDecision_FieldKind.FREE_TEXT,\n /*\n * ASKED, never proposed: a name listed here is screened as the CREATOR'S own, and that origin decides what is\n * offered (a creator's conflicting name may be kept; a companion proposal that conflicts may not). A model\n * proposing this answer would make its own names read as the creator's.\n */\n whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK,\n },\n {\n ref: 'target-jurisdictions',\n question:\n 'In which jurisdictions do your users live and your data reside or transit (e.g. EU/EEA, UK, US, California, Canada, specific countries)? This is what drives which privacy regimes apply.',\n kind: HumanDecision_FieldKind.FREE_TEXT,\n // Disposed as its owner is, so the question reads the same wherever it is asked.\n depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL,\n regulatedDomain: true,\n /*\n * ONE decision, asked once (#2335): where the product's users are is the compliance interview's\n * `jurisdictions` question, and the screening needs the same answer — a mark is protected where it is used\n * in trade. On app-creation-test-005 the creator named Germany, France, Italy and Spain there, the research\n * saw only the market snapshot, and Italy and Spain were never searched. Declared here so the composite's\n * interview carries the answer to its research child; the dossier lists it once, at its owner.\n * The question text is the owner's, verbatim: one answer satisfies both.\n */\n sameDecisionAs: { playbookRef: 'top_down.compliance-analysis', questionRef: 'jurisdictions' },\n },\n ],\n },\n choreography: {\n // UNORDERED, produce first on purpose: read as a sequence it would try to land before any evidence existed.\n admits: ['top_down.brand-name-screening-produce', 'top_down.brand-name-research'],\n // Research → produce is two iterations; a second research round when the first could not reach a register is two more.\n maximumIterations: 6,\n // Breadth: one lane can propose while another screens a creator's own names.\n maximumLanesPerIteration: 2,\n // A literal (the definition evaluator computes no expressions). 30 minutes — a breaker, not a budget.\n maximumDurationMs: 1_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.business-model/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,EAClD,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,qCAAqC,EACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkF+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsHW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.business-model/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,EAClD,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,qCAAqC,EACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkF+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsHW,CAAC"}