businesslens 0.2.3 → 0.5.0

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 (384) hide show
  1. package/{THIRD_PARTY_NOTICES.md → LICENSE} +1 -8
  2. package/README.md +115 -104
  3. package/dist/cli.js +1820 -0
  4. package/docs/ci.md +68 -0
  5. package/docs/cli.md +190 -0
  6. package/docs/format.md +264 -0
  7. package/docs/index.md +46 -0
  8. package/docs/pdd-and-sdd.md +35 -0
  9. package/docs/quickstart.md +71 -0
  10. package/docs/skills.md +60 -0
  11. package/package.json +34 -51
  12. package/skills/businesslens-deep-dive/SKILL.md +47 -0
  13. package/skills/businesslens-deep-dive/agents/openai.yaml +4 -0
  14. package/skills/businesslens-deep-dive/references/analysis-rubric.md +10 -0
  15. package/skills/businesslens-deep-dive/references/evidence-policy.md +8 -0
  16. package/skills/businesslens-deep-dive/references/format.md +49 -0
  17. package/skills/businesslens-doctor/SKILL.md +42 -0
  18. package/skills/businesslens-doctor/agents/openai.yaml +4 -0
  19. package/skills/businesslens-init/SKILL.md +88 -0
  20. package/skills/businesslens-init/agents/openai.yaml +4 -0
  21. package/skills/businesslens-init/references/analysis-rubric.md +24 -0
  22. package/skills/businesslens-init/references/evidence-policy.md +12 -0
  23. package/skills/businesslens-init/references/format.md +209 -0
  24. package/skills/businesslens-init/scripts/inventory-repository.mjs +71 -0
  25. package/skills/businesslens-publish/SKILL.md +87 -0
  26. package/skills/businesslens-publish/agents/openai.yaml +4 -0
  27. package/skills/businesslens-publish/scripts/run-businesslens.mjs +62 -0
  28. package/skills/businesslens-sync/SKILL.md +48 -0
  29. package/skills/businesslens-sync/agents/openai.yaml +4 -0
  30. package/skills/businesslens-sync/references/evidence-policy.md +8 -0
  31. package/skills/businesslens-sync/references/format.md +19 -0
  32. package/skills/businesslens-validate/SKILL.md +50 -0
  33. package/skills/businesslens-validate/agents/openai.yaml +4 -0
  34. package/.output/nitro.json +0 -15
  35. package/.output/public/_nuxt/ANTr5GBv.js +0 -1
  36. package/.output/public/_nuxt/B3Z-Zt7l.js +0 -37
  37. package/.output/public/_nuxt/Bd76-HGM.js +0 -1
  38. package/.output/public/_nuxt/Bf4VrETn.js +0 -1
  39. package/.output/public/_nuxt/CR3jGlpM.js +0 -1
  40. package/.output/public/_nuxt/CntoM1kL.js +0 -1
  41. package/.output/public/_nuxt/DogqooqX.js +0 -1
  42. package/.output/public/_nuxt/Zsu92SSr.js +0 -1
  43. package/.output/public/_nuxt/builds/latest.json +0 -1
  44. package/.output/public/_nuxt/builds/meta/a94fa122-3b15-46e8-aee4-d998bd498a61.json +0 -1
  45. package/.output/public/_nuxt/default.CRZmPCG_.css +0 -1
  46. package/.output/public/_nuxt/e3lOfLH3.js +0 -1
  47. package/.output/public/_nuxt/entry.SgkJh-3P.css +0 -1
  48. package/.output/public/_nuxt/error-404.CTIGkQtd.css +0 -1
  49. package/.output/public/_nuxt/error-500.CKBWIF4V.css +0 -1
  50. package/.output/public/_nuxt/fCd72uLR.js +0 -1
  51. package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  52. package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  53. package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  54. package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  55. package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  56. package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  57. package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  58. package/.output/public/_nuxt/vk0fkBN0.js +0 -1
  59. package/.output/public/_nuxt/zg6VsE4d.js +0 -39
  60. package/.output/public/brand/logo/businesslens-mark.svg +0 -20
  61. package/.output/public/favicon.svg +0 -13
  62. package/.output/server/chunks/_/error-500.mjs +0 -19
  63. package/.output/server/chunks/_/error-500.mjs.map +0 -1
  64. package/.output/server/chunks/_/icons.mjs +0 -6150
  65. package/.output/server/chunks/_/icons.mjs.map +0 -1
  66. package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs +0 -161
  67. package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs.map +0 -1
  68. package/.output/server/chunks/build/EntityInspector-DBgkWDWm.mjs +0 -4412
  69. package/.output/server/chunks/build/EntityInspector-DBgkWDWm.mjs.map +0 -1
  70. package/.output/server/chunks/build/Slideover-BHWWQ_lr.mjs +0 -4226
  71. package/.output/server/chunks/build/Slideover-BHWWQ_lr.mjs.map +0 -1
  72. package/.output/server/chunks/build/Tooltip-QOXW-H4k.mjs +0 -1338
  73. package/.output/server/chunks/build/Tooltip-QOXW-H4k.mjs.map +0 -1
  74. package/.output/server/chunks/build/client.precomputed.mjs +0 -4
  75. package/.output/server/chunks/build/client.precomputed.mjs.map +0 -1
  76. package/.output/server/chunks/build/default-CUPDAKH4.mjs +0 -8999
  77. package/.output/server/chunks/build/default-CUPDAKH4.mjs.map +0 -1
  78. package/.output/server/chunks/build/default-styles.BYgqaNao.mjs +0 -8
  79. package/.output/server/chunks/build/default-styles.BYgqaNao.mjs.map +0 -1
  80. package/.output/server/chunks/build/error-404-BoBs6QZW.mjs +0 -96
  81. package/.output/server/chunks/build/error-404-BoBs6QZW.mjs.map +0 -1
  82. package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs +0 -8
  83. package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs.map +0 -1
  84. package/.output/server/chunks/build/error-500-sBsolLLb.mjs +0 -79
  85. package/.output/server/chunks/build/error-500-sBsolLLb.mjs.map +0 -1
  86. package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs +0 -8
  87. package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs.map +0 -1
  88. package/.output/server/chunks/build/index-B6QgpSul.mjs +0 -313
  89. package/.output/server/chunks/build/index-B6QgpSul.mjs.map +0 -1
  90. package/.output/server/chunks/build/journeys-B0vPqSny.mjs +0 -244
  91. package/.output/server/chunks/build/journeys-B0vPqSny.mjs.map +0 -1
  92. package/.output/server/chunks/build/server.mjs +0 -14099
  93. package/.output/server/chunks/build/server.mjs.map +0 -1
  94. package/.output/server/chunks/build/styles.mjs +0 -9
  95. package/.output/server/chunks/build/styles.mjs.map +0 -1
  96. package/.output/server/chunks/build/topology-88PQmLg5.mjs +0 -295
  97. package/.output/server/chunks/build/topology-88PQmLg5.mjs.map +0 -1
  98. package/.output/server/chunks/build/useReport-pDAk-ETG.mjs +0 -406
  99. package/.output/server/chunks/build/useReport-pDAk-ETG.mjs.map +0 -1
  100. package/.output/server/chunks/nitro/nitro.mjs +0 -5770
  101. package/.output/server/chunks/nitro/nitro.mjs.map +0 -1
  102. package/.output/server/chunks/routes/api/report.get.mjs +0 -617
  103. package/.output/server/chunks/routes/api/report.get.mjs.map +0 -1
  104. package/.output/server/chunks/routes/renderer.mjs +0 -451
  105. package/.output/server/chunks/routes/renderer.mjs.map +0 -1
  106. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
  107. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
  108. package/.output/server/index.mjs +0 -12
  109. package/.output/server/index.mjs.map +0 -1
  110. package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +0 -290
  111. package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +0 -49
  112. package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +0 -257
  113. package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +0 -53
  114. package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14599
  115. package/.output/server/node_modules/@babel/parser/package.json +0 -50
  116. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
  117. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
  118. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
  119. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
  120. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
  121. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
  122. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
  123. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
  124. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
  125. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
  126. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
  127. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
  128. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
  129. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
  130. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
  131. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
  132. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
  133. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
  134. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
  135. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
  136. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
  137. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
  138. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
  139. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
  140. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
  141. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
  142. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
  143. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
  144. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
  145. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
  146. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
  147. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
  148. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
  149. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
  150. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
  151. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
  152. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
  153. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
  154. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
  155. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
  156. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
  157. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
  158. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
  159. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
  160. package/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
  161. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
  162. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
  163. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
  164. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
  165. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
  166. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
  167. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
  168. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
  169. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
  170. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
  171. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
  172. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
  173. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
  174. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
  175. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
  176. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
  177. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
  178. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
  179. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
  180. package/.output/server/node_modules/@iconify/utils/package.json +0 -119
  181. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6759
  182. package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
  183. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -689
  184. package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
  185. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1413
  186. package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
  187. package/.output/server/node_modules/@vue/devtools-api/dist/index.js +0 -2
  188. package/.output/server/node_modules/@vue/devtools-api/package.json +0 -34
  189. package/.output/server/node_modules/@vue/devtools-kit/dist/index.js +0 -5670
  190. package/.output/server/node_modules/@vue/devtools-kit/package.json +0 -44
  191. package/.output/server/node_modules/@vue/devtools-shared/dist/index.js +0 -239
  192. package/.output/server/node_modules/@vue/devtools-shared/package.json +0 -33
  193. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1899
  194. package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
  195. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6940
  196. package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
  197. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1822
  198. package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
  199. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -896
  200. package/.output/server/node_modules/@vue/server-renderer/package.json +0 -55
  201. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -604
  202. package/.output/server/node_modules/@vue/shared/package.json +0 -47
  203. package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +0 -10186
  204. package/.output/server/node_modules/@vue-flow/core/package.json +0 -95
  205. package/.output/server/node_modules/ajv/dist/2020.js +0 -55
  206. package/.output/server/node_modules/ajv/dist/ajv.js +0 -50
  207. package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  208. package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  209. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  210. package/.output/server/node_modules/ajv/dist/compile/errors.js +0 -123
  211. package/.output/server/node_modules/ajv/dist/compile/index.js +0 -242
  212. package/.output/server/node_modules/ajv/dist/compile/names.js +0 -28
  213. package/.output/server/node_modules/ajv/dist/compile/ref_error.js +0 -12
  214. package/.output/server/node_modules/ajv/dist/compile/resolve.js +0 -155
  215. package/.output/server/node_modules/ajv/dist/compile/rules.js +0 -26
  216. package/.output/server/node_modules/ajv/dist/compile/util.js +0 -178
  217. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  218. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  219. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  220. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  221. package/.output/server/node_modules/ajv/dist/compile/validate/index.js +0 -520
  222. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  223. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  224. package/.output/server/node_modules/ajv/dist/core.js +0 -618
  225. package/.output/server/node_modules/ajv/dist/refs/data.json +0 -13
  226. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  227. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  228. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  229. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  230. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  231. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  232. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  233. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  234. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  235. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  236. package/.output/server/node_modules/ajv/dist/runtime/equal.js +0 -7
  237. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  238. package/.output/server/node_modules/ajv/dist/runtime/uri.js +0 -6
  239. package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  240. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  241. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  242. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  243. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  244. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  245. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  246. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  247. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  248. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  249. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  250. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  251. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  252. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  253. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  254. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  255. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  256. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  257. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  258. package/.output/server/node_modules/ajv/dist/vocabularies/code.js +0 -131
  259. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  260. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  261. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  262. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  263. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  264. package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  265. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  266. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  267. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  268. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  269. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  270. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  271. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  272. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  273. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  274. package/.output/server/node_modules/ajv/dist/vocabularies/next.js +0 -8
  275. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  276. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  277. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  278. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  279. package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  280. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  281. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  282. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  283. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  284. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  285. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  286. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  287. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  288. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
  289. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  290. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  291. package/.output/server/node_modules/ajv/package.json +0 -126
  292. package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
  293. package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
  294. package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
  295. package/.output/server/node_modules/ajv-formats/package.json +0 -74
  296. package/.output/server/node_modules/birpc/dist/index.mjs +0 -291
  297. package/.output/server/node_modules/birpc/package.json +0 -57
  298. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +0 -280
  299. package/.output/server/node_modules/consola/dist/core.mjs +0 -512
  300. package/.output/server/node_modules/consola/dist/index.mjs +0 -651
  301. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  302. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  303. package/.output/server/node_modules/consola/package.json +0 -136
  304. package/.output/server/node_modules/devalue/index.js +0 -4
  305. package/.output/server/node_modules/devalue/package.json +0 -40
  306. package/.output/server/node_modules/devalue/src/base64.js +0 -60
  307. package/.output/server/node_modules/devalue/src/constants.js +0 -12
  308. package/.output/server/node_modules/devalue/src/parse.js +0 -283
  309. package/.output/server/node_modules/devalue/src/stringify.js +0 -401
  310. package/.output/server/node_modules/devalue/src/uneval.js +0 -552
  311. package/.output/server/node_modules/devalue/src/utils.js +0 -160
  312. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  313. package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
  314. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  315. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  316. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  317. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  318. package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
  319. package/.output/server/node_modules/entities/package.json +0 -120
  320. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  321. package/.output/server/node_modules/estree-walker/package.json +0 -37
  322. package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
  323. package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
  324. package/.output/server/node_modules/fast-uri/index.js +0 -406
  325. package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
  326. package/.output/server/node_modules/fast-uri/lib/utils.js +0 -443
  327. package/.output/server/node_modules/fast-uri/package.json +0 -68
  328. package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
  329. package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
  330. package/.output/server/node_modules/perfect-debounce/dist/index.mjs +0 -89
  331. package/.output/server/node_modules/perfect-debounce/package.json +0 -41
  332. package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
  333. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  334. package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
  335. package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
  336. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
  337. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
  338. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  339. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  340. package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
  341. package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
  342. package/.output/server/node_modules/source-map-js/package.json +0 -71
  343. package/.output/server/node_modules/source-map-js/source-map.js +0 -8
  344. package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +0 -1
  345. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
  346. package/.output/server/node_modules/tailwindcss/package.json +0 -89
  347. package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
  348. package/.output/server/node_modules/ufo/package.json +0 -48
  349. package/.output/server/node_modules/unhead/dist/index.mjs +0 -9
  350. package/.output/server/node_modules/unhead/dist/parser.mjs +0 -508
  351. package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -101
  352. package/.output/server/node_modules/unhead/dist/scripts.mjs +0 -30
  353. package/.output/server/node_modules/unhead/dist/server.mjs +0 -180
  354. package/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +0 -207
  355. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +0 -43
  356. package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +0 -269
  357. package/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +0 -182
  358. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +0 -71
  359. package/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +0 -236
  360. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +0 -196
  361. package/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +0 -44
  362. package/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +0 -166
  363. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +0 -38
  364. package/.output/server/node_modules/unhead/dist/utils.mjs +0 -5
  365. package/.output/server/node_modules/unhead/package.json +0 -105
  366. package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
  367. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
  368. package/.output/server/node_modules/vue/index.js +0 -7
  369. package/.output/server/node_modules/vue/index.mjs +0 -1
  370. package/.output/server/node_modules/vue/package.json +0 -112
  371. package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
  372. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -249
  373. package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -57
  374. package/.output/server/node_modules/vue-router/dist/devtools-DCoWQoU_.js +0 -1034
  375. package/.output/server/node_modules/vue-router/dist/useApi-s_02lHjl.js +0 -181
  376. package/.output/server/node_modules/vue-router/dist/vue-router.js +0 -1499
  377. package/.output/server/node_modules/vue-router/package.json +0 -226
  378. package/.output/server/node_modules/vue-router/vue-router.node.mjs +0 -2
  379. package/.output/server/package.json +0 -41
  380. package/bin/businesslens.mjs +0 -181
  381. package/packages/report-schema/schemas/report.schema.json +0 -235
  382. package/packages/report-schema/types/index.ts +0 -1
  383. package/packages/report-schema/types/report.ts +0 -101
  384. package/packages/report-schema/validate.mjs +0 -111
@@ -1,13 +1,6 @@
1
- # Third-party notices
2
-
3
- ## Nuxt UI Landing Template
4
-
5
- Portions of the BusinessLens landing-page structure and visual components are
6
- adapted from the [Nuxt UI Landing Template](https://github.com/nuxt-ui-templates/landing).
7
-
8
1
  MIT License
9
2
 
10
- Copyright (c) 2025 Nuxt UI Templates
3
+ Copyright (c) 2026 BusinessLens
11
4
 
12
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
13
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,138 +1,149 @@
1
1
  # BusinessLens
2
2
 
3
- BusinessLens turns source-backed software analysis into a local, navigable
4
- product report. Point the CLI at one validated JSON file and explore its
5
- actors, domains, journeys, scenarios, repository evidence, topology, coverage,
6
- and limitations in the browser.
7
-
8
- ## Run a report
3
+ **Product-Driven Design for coding agents.** BusinessLens builds a
4
+ Git-tracked product map in `.businesslens/`: who the product serves, what they
5
+ accomplish, and where the code proves it.
6
+
7
+ The map is Markdown, reviewable in pull requests, and useful without a hosted
8
+ service.
9
+
10
+ ```text
11
+ .businesslens/
12
+ ├── product.md
13
+ ├── actors/
14
+ ├── experiences/
15
+ ├── domains/
16
+ ├── journeys/<id>/journey.md
17
+ │ └── scenarios/<id>.md
18
+ └── coverage.md
19
+ ```
9
20
 
10
- Requires Node.js 22.13 or newer.
21
+ ## Getting started
11
22
 
12
- ```sh
13
- npx businesslens --report ./report.json
14
- ```
23
+ ### 1. Install the skills
15
24
 
16
- BusinessLens validates the report before starting, binds to `127.0.0.1`, uses
17
- port 3000 or the next available port, and opens the browser. Useful options:
25
+ Run this in the repository you want to map:
18
26
 
19
- ```sh
20
- npx businesslens --report ./report.json --port 4173 --no-open
21
- npx businesslens --help
27
+ ```bash
28
+ npx businesslens@latest install
22
29
  ```
23
30
 
24
- ## Included reports
31
+ The installer detects supported AI harnesses, lets you customize the
32
+ selection, asks for project or global scope, and installs only the
33
+ BusinessLens skills.
25
34
 
26
- This repository preserves four source-backed reports in the v2 single-file
27
- format:
35
+ For automated setup:
28
36
 
29
- - `reports/argo-cd/report.json`
30
- - `reports/argo-workflows/report.json`
31
- - `reports/gitea/report.json`
32
- - `reports/vibe-trading/report.json`
37
+ ```bash
38
+ npx businesslens@latest install \
39
+ --providers claude,codex,cursor \
40
+ --scope project \
41
+ --yes
42
+ ```
33
43
 
34
- Run one from a source checkout:
44
+ ### 2. Build the map in your AI harness
35
45
 
36
- ```sh
37
- pnpm install
38
- pnpm build
39
- node bin/businesslens.mjs --report ./reports/gitea/report.json
46
+ Invoke the initialization skill:
47
+
48
+ ```text
49
+ /businesslens-init
40
50
  ```
41
51
 
42
- For Nuxt development, pass the absolute report path through runtime config:
52
+ Codex users can invoke the same skill as `$businesslens-init`. The skill
53
+ inspects the repository without executing its application, authors the full
54
+ map, installs the managed `AGENTS.md` guidance, and validates the result.
43
55
 
44
- ```sh
45
- NUXT_REPORT_PATH="$PWD/reports/gitea/report.json" pnpm dev
46
- ```
56
+ ### 3. Review and commit
47
57
 
48
- ## Report contract
58
+ Review `.businesslens/`, then commit its authored files. Generated cache files
59
+ stay ignored.
49
60
 
50
- Each `reports/<report-id>/` directory contains exactly one `report.json` using
51
- schema version `2.0.0`. It includes:
61
+ ## Terminal or agent?
52
62
 
53
- - report identity and generation metadata;
54
- - source repository, optional logo, branch or tag, and pinned commit;
55
- - actors and product domains;
56
- - user journeys with entry points and repository evidence;
57
- - source-backed scenarios with triggers, ordered observable steps, outcomes,
58
- and edge cases;
59
- - analysis coverage, unmapped areas, and limitations.
63
+ BusinessLens has two deliberate surfaces:
60
64
 
61
- Validate every tracked report:
65
+ | Where | Command | Purpose |
66
+ | --- | --- | --- |
67
+ | Terminal | `npx businesslens install` | Install the agent skills |
68
+ | Terminal | `npx businesslens update` | Refresh managed skill installations |
69
+ | Terminal | `npx businesslens validate` | Deterministically validate the map |
70
+ | Terminal | `npx businesslens build` | Compile the map into the portable project document |
71
+ | Terminal | `npx businesslens publish` | Submit the map to the platform as a commit-pinned snapshot |
72
+ | AI harness | `businesslens-init` | Build the initial map |
73
+ | AI harness | `businesslens-sync` | Update the map after behavior changes |
74
+ | AI harness | `businesslens-deep-dive` | Expand one journey or experience |
75
+ | AI harness | `businesslens-validate` | Validate the map and explain every result |
76
+ | AI harness | `businesslens-doctor` | Diagnose validation, drift, and coverage |
77
+ | AI harness | `businesslens-publish` | Publish the map to the platform on explicit request |
62
78
 
63
- ```sh
64
- pnpm validate
65
- ```
79
+ The installer never creates `.businesslens/` or modifies `AGENTS.md`. Those
80
+ require repository analysis and belong to the initialization skill.
66
81
 
67
- Validate one file:
82
+ ## Skills
68
83
 
69
- ```sh
70
- node .agents/skills/businesslens-validate-report/scripts/validate-report.mjs \
71
- ./reports/gitea/report.json
72
- ```
84
+ | Skill | Use it when |
85
+ | --- | --- |
86
+ | `businesslens-init` | Adopting BusinessLens or rebuilding an incomplete map |
87
+ | `businesslens-sync` | Code changes affected product behavior |
88
+ | `businesslens-deep-dive` | One journey or experience needs exhaustive coverage |
89
+ | `businesslens-validate` | The map needs a read-only deterministic check |
90
+ | `businesslens-doctor` | The map fails validation, looks stale, or needs a health report |
91
+ | `businesslens-publish` | The user explicitly wants the map on the platform |
73
92
 
74
- ## Repository-analysis skills
93
+ Every skill is self-contained and follows the open Agent Skills folder format.
94
+ The CLI currently supports Claude Code, Codex, Cursor, Gemini CLI, and GitHub
95
+ Copilot installation paths.
75
96
 
76
- Agents that support `AGENTS.md` and the Agent Skills convention can use the
77
- workflows under `.agents/skills/`:
97
+ `businesslens-validate` is the read-only agent interface to the deterministic
98
+ CLI validator. `businesslens-doctor` goes further: it investigates drift,
99
+ coverage, and hygiene, and can repair problems when explicitly requested.
78
100
 
79
- - `$businesslens-analyze-repository` safely inventories a public HTTPS Git
80
- checkout and creates a v2 `report.json` without executing target code.
81
- - `$businesslens-validate-report` checks schema and semantic integrity.
82
- - `$businesslens-add-report` imports a validated file without replacing an
83
- existing report.
101
+ Claude Code plugin users may alternatively install from this repository's
102
+ marketplace manifest. The standalone CLI remains the primary installation
103
+ experience.
84
104
 
85
- ## Development tooling
105
+ ## Keep the map current
86
106
 
87
- The repository keeps shared MCP configuration for Codex, Claude, and other
88
- MCP-compatible development clients. It provides Nuxt UI documentation tools
89
- and a pinned Chrome DevTools integration without changing a contributor's
90
- sandbox or approval policy.
107
+ 1. Before changing behavior, read the relevant experiences, journeys, and
108
+ scenarios.
109
+ 2. Build against the repository's SDD change when one exists.
110
+ 3. Invoke `businesslens-sync` after behavior changes.
111
+ 4. Run `npx businesslens validate`.
91
112
 
92
- The Chrome integration expects a browser debugging endpoint on port `9222`.
93
- For example, on macOS:
113
+ PDD records what **is**. OpenSpec, spec-kit, and other SDD systems prescribe
114
+ what **will change**. BusinessLens links that intent without copying it. See
115
+ [PDD and SDD](./docs/pdd-and-sdd.md).
94
116
 
95
- ```sh
96
- open -na "Google Chrome" --args \
97
- --remote-debugging-port=9222 \
98
- --user-data-dir=/tmp/businesslens-chrome
117
+ ## Updating the skills
118
+
119
+ ```bash
120
+ npx businesslens@latest update
99
121
  ```
100
122
 
101
- ## Development and verification
123
+ Update discovers BusinessLens-managed installations through ownership markers
124
+ and refreshes only those skill directories. It does not touch `.businesslens/`
125
+ or `AGENTS.md`.
102
126
 
103
- ```sh
104
- pnpm install
105
- pnpm check
106
- ```
127
+ ## Documentation
107
128
 
108
- Before publishing, create and smoke-test both npm artifacts from the same
109
- canonical package:
110
-
111
- ```sh
112
- release_dir="$(mktemp -d)"
113
- version="$(node --print "require('./package.json').version")"
114
- pnpm pack:release "$release_dir"
115
- npx --package "$release_dir/businesslens-${version}.tgz" businesslens \
116
- --report ./reports/gitea/report.json --no-open
117
- npx --package "$release_dir/businesslens-cli-${version}.tgz" cli \
118
- --report ./reports/gitea/report.json --no-open
119
- ```
129
+ - [Introduction](./docs/index.md)
130
+ - [Quickstart](./docs/quickstart.md)
131
+ - [`.businesslens/` format](./docs/format.md)
132
+ - [CLI reference](./docs/cli.md)
133
+ - [Skills reference](./docs/skills.md)
134
+ - [CI validation and publishing](./docs/ci.md)
135
+ - [PDD and SDD](./docs/pdd-and-sdd.md)
120
136
 
121
- The canonical `businesslens` artifact exposes the `businesslens` executable.
122
- The compatibility `@businesslens/cli` artifact exposes both `cli` and
123
- `businesslens`, preserving the original command while supporting the canonical
124
- name. The publish workflow tests both tarballs and publishes any missing version
125
- to both npm package names.
126
-
127
- Trusted publishing is configured separately for each npm package. Both package
128
- settings must trust the GitHub Actions publisher for organization
129
- `businesslens`, repository `cli`, and workflow `publish.yml` with `npm publish`
130
- allowed. npm 11.17 or newer is required to send the allowed-action permission:
131
-
132
- ```sh
133
- npx --yes npm@11.17.0 trust github businesslens \
134
- --file publish.yml \
135
- --repo businesslens/cli \
136
- --allow-publish \
137
- --yes
138
- ```
137
+ ## Safety
138
+
139
+ - Skills inspect target repositories statically; they do not run target code.
140
+ - Installation refuses to overwrite unowned `businesslens-*` directories
141
+ unless `--force` is explicit.
142
+ - Updates replace only artifacts marked as BusinessLens-managed.
143
+ - No platform connection or publishing occurs during installation or mapping;
144
+ publishing happens only through the explicit `publish` command or the
145
+ `businesslens-publish` skill.
146
+
147
+ ## License
148
+
149
+ MIT.