@kubbisec/ai-linux-x64 0.1.25 → 0.1.28

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 (625) hide show
  1. package/bin/kubbisec +0 -0
  2. package/bundled/assets/terminal/banner-compact.ansi +7 -0
  3. package/bundled/assets/terminal/banner-wide.ansi +10 -0
  4. package/bundled/assets/terminal/logotipo-compact-fallback.ansi +7 -0
  5. package/bundled/assets/terminal/logotipo-compact.ansi +1 -0
  6. package/bundled/assets/terminal/logotipo-compact.png +0 -0
  7. package/bundled/assets/terminal/logotipo-wide-fallback.ansi +10 -0
  8. package/bundled/assets/terminal/logotipo-wide.ansi +1 -0
  9. package/bundled/assets/terminal/logotipo-wide.png +0 -0
  10. package/bundled/assets/terminal/mark.ansi +7 -0
  11. package/bundled/assets/terminal/wordmark-inline.ansi +1 -0
  12. package/bundled/assets/terminal/wordmark.ansi +4 -0
  13. package/bundled/assets/terminal/wordmark.png +0 -0
  14. package/bundled/components/kubbisec-model-selector.d.ts +44 -0
  15. package/bundled/components/kubbisec-model-selector.d.ts.map +1 -0
  16. package/bundled/components/kubbisec-model-selector.js +198 -0
  17. package/bundled/components/kubbisec-model-selector.js.map +1 -0
  18. package/bundled/config/config.d.ts +14 -0
  19. package/bundled/config/config.d.ts.map +1 -0
  20. package/bundled/config/config.js +67 -0
  21. package/bundled/config/config.js.map +1 -0
  22. package/bundled/config/detect-local-llm-providers.d.ts +33 -0
  23. package/bundled/config/detect-local-llm-providers.d.ts.map +1 -0
  24. package/bundled/config/detect-local-llm-providers.js +172 -0
  25. package/bundled/config/detect-local-llm-providers.js.map +1 -0
  26. package/bundled/config/ensure-kbs-project-settings.d.ts +20 -0
  27. package/bundled/config/ensure-kbs-project-settings.d.ts.map +1 -0
  28. package/bundled/config/ensure-kbs-project-settings.js +46 -0
  29. package/bundled/config/ensure-kbs-project-settings.js.map +1 -0
  30. package/bundled/config/ensure-kubbisec-project-settings.d.ts +31 -0
  31. package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +1 -0
  32. package/bundled/config/ensure-kubbisec-project-settings.js +107 -0
  33. package/bundled/config/ensure-kubbisec-project-settings.js.map +1 -0
  34. package/bundled/config/extended-context.d.ts +12 -0
  35. package/bundled/config/extended-context.d.ts.map +1 -0
  36. package/bundled/config/extended-context.js +36 -0
  37. package/bundled/config/extended-context.js.map +1 -0
  38. package/bundled/config/feature-flags.d.ts +2 -0
  39. package/bundled/config/feature-flags.d.ts.map +1 -0
  40. package/bundled/config/feature-flags.js +2 -0
  41. package/bundled/config/feature-flags.js.map +1 -0
  42. package/bundled/config/format-kubbisec-footer-status.d.ts +2 -0
  43. package/bundled/config/format-kubbisec-footer-status.d.ts.map +1 -0
  44. package/bundled/config/format-kubbisec-footer-status.js +37 -0
  45. package/bundled/config/format-kubbisec-footer-status.js.map +1 -0
  46. package/bundled/config/kubbisec-extension-manifest.d.ts +3 -0
  47. package/bundled/config/kubbisec-extension-manifest.d.ts.map +1 -0
  48. package/bundled/config/kubbisec-extension-manifest.js +22 -0
  49. package/bundled/config/kubbisec-extension-manifest.js.map +1 -0
  50. package/bundled/config/llm-config-mutations.d.ts +38 -0
  51. package/bundled/config/llm-config-mutations.d.ts.map +1 -0
  52. package/bundled/config/llm-config-mutations.js +207 -0
  53. package/bundled/config/llm-config-mutations.js.map +1 -0
  54. package/bundled/config/llm-config.d.ts +66 -0
  55. package/bundled/config/llm-config.d.ts.map +1 -0
  56. package/bundled/config/llm-config.js +246 -0
  57. package/bundled/config/llm-config.js.map +1 -0
  58. package/bundled/config/llm-provider-catalog.d.ts +22 -0
  59. package/bundled/config/llm-provider-catalog.d.ts.map +1 -0
  60. package/bundled/config/llm-provider-catalog.js +54 -0
  61. package/bundled/config/llm-provider-catalog.js.map +1 -0
  62. package/bundled/config/materialize-kubbisec-pi-resources.d.ts +19 -0
  63. package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +1 -0
  64. package/bundled/config/materialize-kubbisec-pi-resources.js +242 -0
  65. package/bundled/config/materialize-kubbisec-pi-resources.js.map +1 -0
  66. package/bundled/config/register-custom-llm-providers.d.ts +13 -0
  67. package/bundled/config/register-custom-llm-providers.d.ts.map +1 -0
  68. package/bundled/config/register-custom-llm-providers.js +21 -0
  69. package/bundled/config/register-custom-llm-providers.js.map +1 -0
  70. package/bundled/config/register-kubbisec-llm-provider.d.ts +14 -0
  71. package/bundled/config/register-kubbisec-llm-provider.d.ts.map +1 -0
  72. package/bundled/config/register-kubbisec-llm-provider.js +53 -0
  73. package/bundled/config/register-kubbisec-llm-provider.js.map +1 -0
  74. package/bundled/config/resolve-agents-context-file.d.ts +4 -0
  75. package/bundled/config/resolve-agents-context-file.d.ts.map +1 -0
  76. package/bundled/config/resolve-agents-context-file.js +47 -0
  77. package/bundled/config/resolve-agents-context-file.js.map +1 -0
  78. package/bundled/config/resource-budget.d.ts +17 -0
  79. package/bundled/config/resource-budget.d.ts.map +1 -0
  80. package/bundled/config/resource-budget.js +35 -0
  81. package/bundled/config/resource-budget.js.map +1 -0
  82. package/bundled/config/sync-kubbisec-pi-models.d.ts +12 -0
  83. package/bundled/config/sync-kubbisec-pi-models.d.ts.map +1 -0
  84. package/bundled/config/sync-kubbisec-pi-models.js +81 -0
  85. package/bundled/config/sync-kubbisec-pi-models.js.map +1 -0
  86. package/bundled/copy/cli-reference-index.d.ts +2 -0
  87. package/bundled/copy/cli-reference-index.d.ts.map +1 -0
  88. package/bundled/copy/cli-reference-index.js +2 -0
  89. package/bundled/copy/cli-reference-index.js.map +1 -0
  90. package/bundled/copy/kubbisec-shell-copy.d.ts +21 -0
  91. package/bundled/copy/kubbisec-shell-copy.d.ts.map +1 -0
  92. package/bundled/copy/kubbisec-shell-copy.js +21 -0
  93. package/bundled/copy/kubbisec-shell-copy.js.map +1 -0
  94. package/bundled/edit-format.md +17 -0
  95. package/bundled/extensions/cli-local-shared.d.ts +56 -0
  96. package/bundled/extensions/cli-local-shared.d.ts.map +1 -0
  97. package/bundled/extensions/cli-local-shared.js +159 -0
  98. package/bundled/extensions/cli-local-shared.js.map +1 -0
  99. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +18 -0
  100. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts.map +1 -0
  101. package/bundled/extensions/kubbisec-aspm-local.extension.js +109 -0
  102. package/bundled/extensions/kubbisec-aspm-local.extension.js.map +1 -0
  103. package/bundled/extensions/kubbisec-brand.extension.d.ts +3 -0
  104. package/bundled/extensions/kubbisec-brand.extension.d.ts.map +1 -0
  105. package/bundled/extensions/kubbisec-brand.extension.js +32 -0
  106. package/bundled/extensions/kubbisec-brand.extension.js.map +1 -0
  107. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +6 -0
  108. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts.map +1 -0
  109. package/bundled/extensions/kubbisec-byok-provider.extension.js +5 -0
  110. package/bundled/extensions/kubbisec-byok-provider.extension.js.map +1 -0
  111. package/bundled/extensions/kubbisec-clarify.extension.d.ts +50 -0
  112. package/bundled/extensions/kubbisec-clarify.extension.d.ts.map +1 -0
  113. package/bundled/extensions/kubbisec-clarify.extension.js +363 -0
  114. package/bundled/extensions/kubbisec-clarify.extension.js.map +1 -0
  115. package/bundled/extensions/kubbisec-exit.extension.d.ts +6 -0
  116. package/bundled/extensions/kubbisec-exit.extension.d.ts.map +1 -0
  117. package/bundled/extensions/kubbisec-exit.extension.js +41 -0
  118. package/bundled/extensions/kubbisec-exit.extension.js.map +1 -0
  119. package/bundled/extensions/kubbisec-extended-context.extension.d.ts +6 -0
  120. package/bundled/extensions/kubbisec-extended-context.extension.d.ts.map +1 -0
  121. package/bundled/extensions/kubbisec-extended-context.extension.js +50 -0
  122. package/bundled/extensions/kubbisec-extended-context.extension.js.map +1 -0
  123. package/bundled/extensions/kubbisec-footer.extension.d.ts +19 -0
  124. package/bundled/extensions/kubbisec-footer.extension.d.ts.map +1 -0
  125. package/bundled/extensions/kubbisec-footer.extension.js +255 -0
  126. package/bundled/extensions/kubbisec-footer.extension.js.map +1 -0
  127. package/bundled/extensions/kubbisec-github-local.extension.d.ts +23 -0
  128. package/bundled/extensions/kubbisec-github-local.extension.d.ts.map +1 -0
  129. package/bundled/extensions/kubbisec-github-local.extension.js +470 -0
  130. package/bundled/extensions/kubbisec-github-local.extension.js.map +1 -0
  131. package/bundled/extensions/kubbisec-llm-config.extension.d.ts +3 -0
  132. package/bundled/extensions/kubbisec-llm-config.extension.d.ts.map +1 -0
  133. package/bundled/extensions/kubbisec-llm-config.extension.js +211 -0
  134. package/bundled/extensions/kubbisec-llm-config.extension.js.map +1 -0
  135. package/bundled/extensions/kubbisec-memory.extension.d.ts +12 -0
  136. package/bundled/extensions/kubbisec-memory.extension.d.ts.map +1 -0
  137. package/bundled/extensions/kubbisec-memory.extension.js +107 -0
  138. package/bundled/extensions/kubbisec-memory.extension.js.map +1 -0
  139. package/bundled/extensions/kubbisec-naus-local.extension.d.ts +18 -0
  140. package/bundled/extensions/kubbisec-naus-local.extension.d.ts.map +1 -0
  141. package/bundled/extensions/kubbisec-naus-local.extension.js +112 -0
  142. package/bundled/extensions/kubbisec-naus-local.extension.js.map +1 -0
  143. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +30 -0
  144. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts.map +1 -0
  145. package/bundled/extensions/kubbisec-platform-tools.extension.js +185 -0
  146. package/bundled/extensions/kubbisec-platform-tools.extension.js.map +1 -0
  147. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +13 -0
  148. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts.map +1 -0
  149. package/bundled/extensions/kubbisec-runtime-status.extension.js +18 -0
  150. package/bundled/extensions/kubbisec-runtime-status.extension.js.map +1 -0
  151. package/bundled/extensions/kubbisec-scope.extension.d.ts +14 -0
  152. package/bundled/extensions/kubbisec-scope.extension.d.ts.map +1 -0
  153. package/bundled/extensions/kubbisec-scope.extension.js +18 -0
  154. package/bundled/extensions/kubbisec-scope.extension.js.map +1 -0
  155. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +25 -0
  156. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts.map +1 -0
  157. package/bundled/extensions/kubbisec-skill-mentions.extension.js +71 -0
  158. package/bundled/extensions/kubbisec-skill-mentions.extension.js.map +1 -0
  159. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +6 -0
  160. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts.map +1 -0
  161. package/bundled/extensions/kubbisec-skill-telemetry.extension.js +85 -0
  162. package/bundled/extensions/kubbisec-skill-telemetry.extension.js.map +1 -0
  163. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +6 -0
  164. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts.map +1 -0
  165. package/bundled/extensions/kubbisec-theme-lock.extension.js +43 -0
  166. package/bundled/extensions/kubbisec-theme-lock.extension.js.map +1 -0
  167. package/bundled/extensions/kubbisec-ui.extension.d.ts +6 -0
  168. package/bundled/extensions/kubbisec-ui.extension.d.ts.map +1 -0
  169. package/bundled/extensions/kubbisec-ui.extension.js +143 -0
  170. package/bundled/extensions/kubbisec-ui.extension.js.map +1 -0
  171. package/bundled/extensions/kubbisec-workflow.extension.d.ts +38 -0
  172. package/bundled/extensions/kubbisec-workflow.extension.d.ts.map +1 -0
  173. package/bundled/extensions/kubbisec-workflow.extension.js +179 -0
  174. package/bundled/extensions/kubbisec-workflow.extension.js.map +1 -0
  175. package/bundled/gate-system.md +27 -0
  176. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts +20 -0
  177. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts.map +1 -0
  178. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js +121 -0
  179. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js.map +1 -0
  180. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts +15 -0
  181. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts.map +1 -0
  182. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js +34 -0
  183. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js.map +1 -0
  184. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts +12 -0
  185. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts.map +1 -0
  186. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js +85 -0
  187. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js.map +1 -0
  188. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts +4 -0
  189. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts.map +1 -0
  190. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js +89 -0
  191. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js.map +1 -0
  192. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts +2 -0
  193. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts.map +1 -0
  194. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js +11 -0
  195. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js.map +1 -0
  196. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts +24 -0
  197. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts.map +1 -0
  198. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js +9 -0
  199. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js.map +1 -0
  200. package/bundled/node_modules/@kubbisec/chat-memory/package.json +32 -0
  201. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts +8 -0
  202. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts.map +1 -0
  203. package/bundled/node_modules/@kubbisec/home/dist/api-url.js +25 -0
  204. package/bundled/node_modules/@kubbisec/home/dist/api-url.js.map +1 -0
  205. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts +17 -0
  206. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts.map +1 -0
  207. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js +35 -0
  208. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js.map +1 -0
  209. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts +5 -0
  210. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts.map +1 -0
  211. package/bundled/node_modules/@kubbisec/home/dist/index.js +5 -0
  212. package/bundled/node_modules/@kubbisec/home/dist/index.js.map +1 -0
  213. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts +10 -0
  214. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts.map +1 -0
  215. package/bundled/node_modules/@kubbisec/home/dist/migrate.js +107 -0
  216. package/bundled/node_modules/@kubbisec/home/dist/migrate.js.map +1 -0
  217. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts +22 -0
  218. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts.map +1 -0
  219. package/bundled/node_modules/@kubbisec/home/dist/paths.js +69 -0
  220. package/bundled/node_modules/@kubbisec/home/dist/paths.js.map +1 -0
  221. package/bundled/node_modules/@kubbisec/home/package.json +26 -0
  222. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts +311 -0
  223. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts.map +1 -0
  224. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js +357 -0
  225. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js.map +1 -0
  226. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts +3 -0
  227. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts.map +1 -0
  228. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js +19 -0
  229. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js.map +1 -0
  230. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts +7 -0
  231. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts.map +1 -0
  232. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js +30 -0
  233. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js.map +1 -0
  234. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts +7 -0
  235. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts.map +1 -0
  236. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js +14 -0
  237. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js.map +1 -0
  238. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts +6 -0
  239. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts.map +1 -0
  240. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js +65 -0
  241. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js.map +1 -0
  242. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts +8 -0
  243. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts.map +1 -0
  244. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js +29 -0
  245. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js.map +1 -0
  246. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts +7 -0
  247. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts.map +1 -0
  248. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js +16 -0
  249. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js.map +1 -0
  250. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts +2 -0
  251. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts.map +1 -0
  252. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js +35 -0
  253. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js.map +1 -0
  254. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts +6 -0
  255. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts.map +1 -0
  256. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js +32 -0
  257. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js.map +1 -0
  258. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts +12 -0
  259. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts.map +1 -0
  260. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js +93 -0
  261. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js.map +1 -0
  262. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts +13 -0
  263. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts.map +1 -0
  264. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js +79 -0
  265. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js.map +1 -0
  266. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts +4 -0
  267. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts.map +1 -0
  268. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js +20 -0
  269. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js.map +1 -0
  270. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts +20 -0
  271. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts.map +1 -0
  272. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js +78 -0
  273. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js.map +1 -0
  274. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts +20 -0
  275. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts.map +1 -0
  276. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js +33 -0
  277. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js.map +1 -0
  278. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts +19 -0
  279. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts.map +1 -0
  280. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js +126 -0
  281. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js.map +1 -0
  282. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts +3 -0
  283. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts.map +1 -0
  284. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js +19 -0
  285. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js.map +1 -0
  286. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts +2 -0
  287. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts.map +1 -0
  288. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js +18 -0
  289. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js.map +1 -0
  290. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts +17 -0
  291. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts.map +1 -0
  292. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js +30 -0
  293. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js.map +1 -0
  294. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts +42 -0
  295. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts.map +1 -0
  296. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js +147 -0
  297. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js.map +1 -0
  298. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts +12 -0
  299. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts.map +1 -0
  300. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js +70 -0
  301. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js.map +1 -0
  302. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts +4 -0
  303. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts.map +1 -0
  304. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js +20 -0
  305. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js.map +1 -0
  306. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts +16 -0
  307. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts.map +1 -0
  308. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js +45 -0
  309. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js.map +1 -0
  310. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts +18 -0
  311. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts.map +1 -0
  312. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js +92 -0
  313. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js.map +1 -0
  314. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts +15 -0
  315. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts.map +1 -0
  316. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js +75 -0
  317. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js.map +1 -0
  318. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts +25 -0
  319. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +1 -0
  320. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js +85 -0
  321. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js.map +1 -0
  322. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts +17 -0
  323. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts.map +1 -0
  324. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js +98 -0
  325. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js.map +1 -0
  326. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts +32 -0
  327. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts.map +1 -0
  328. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js +209 -0
  329. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js.map +1 -0
  330. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts +65 -0
  331. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts.map +1 -0
  332. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js +354 -0
  333. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js.map +1 -0
  334. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts +27 -0
  335. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts.map +1 -0
  336. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js +145 -0
  337. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js.map +1 -0
  338. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts +8 -0
  339. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts.map +1 -0
  340. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js +51 -0
  341. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js.map +1 -0
  342. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts +34 -0
  343. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts.map +1 -0
  344. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js +189 -0
  345. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js.map +1 -0
  346. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts +17 -0
  347. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts.map +1 -0
  348. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js +51 -0
  349. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js.map +1 -0
  350. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts +203 -0
  351. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts.map +1 -0
  352. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js +42 -0
  353. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js.map +1 -0
  354. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts +6 -0
  355. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts.map +1 -0
  356. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js +31 -0
  357. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js.map +1 -0
  358. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts +7 -0
  359. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts.map +1 -0
  360. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js +47 -0
  361. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js.map +1 -0
  362. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts +6 -0
  363. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts.map +1 -0
  364. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js +36 -0
  365. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js.map +1 -0
  366. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts +9 -0
  367. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts.map +1 -0
  368. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js +52 -0
  369. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js.map +1 -0
  370. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts +9 -0
  371. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts.map +1 -0
  372. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js +58 -0
  373. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js.map +1 -0
  374. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts +6 -0
  375. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts.map +1 -0
  376. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js +30 -0
  377. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js.map +1 -0
  378. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts +88 -0
  379. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts.map +1 -0
  380. package/bundled/node_modules/@kubbisec/shared/dist/enums.js +136 -0
  381. package/bundled/node_modules/@kubbisec/shared/dist/enums.js.map +1 -0
  382. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts +6 -0
  383. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts.map +1 -0
  384. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js +9 -0
  385. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js.map +1 -0
  386. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts +23 -0
  387. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts.map +1 -0
  388. package/bundled/node_modules/@kubbisec/shared/dist/index.js +39 -0
  389. package/bundled/node_modules/@kubbisec/shared/dist/index.js.map +1 -0
  390. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts +22 -0
  391. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts.map +1 -0
  392. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js +52 -0
  393. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js.map +1 -0
  394. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts +37 -0
  395. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts.map +1 -0
  396. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js +51 -0
  397. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js.map +1 -0
  398. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts +6 -0
  399. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts.map +1 -0
  400. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js +68 -0
  401. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js.map +1 -0
  402. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts +8 -0
  403. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts.map +1 -0
  404. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js +115 -0
  405. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js.map +1 -0
  406. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts +12 -0
  407. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts.map +1 -0
  408. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js +86 -0
  409. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js.map +1 -0
  410. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts +8 -0
  411. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts.map +1 -0
  412. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js +33 -0
  413. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js.map +1 -0
  414. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts +4 -0
  415. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts.map +1 -0
  416. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js +23 -0
  417. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js.map +1 -0
  418. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts +4 -0
  419. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts.map +1 -0
  420. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js +19 -0
  421. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js.map +1 -0
  422. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts +11 -0
  423. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts.map +1 -0
  424. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js +148 -0
  425. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js.map +1 -0
  426. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts +2 -0
  427. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map +1 -0
  428. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js +36 -0
  429. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js.map +1 -0
  430. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts +49 -0
  431. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts.map +1 -0
  432. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js +600 -0
  433. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js.map +1 -0
  434. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts +24 -0
  435. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts.map +1 -0
  436. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js +64 -0
  437. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js.map +1 -0
  438. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts +23 -0
  439. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts.map +1 -0
  440. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js +53 -0
  441. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js.map +1 -0
  442. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts +8 -0
  443. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts.map +1 -0
  444. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js +24 -0
  445. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js.map +1 -0
  446. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +9 -0
  447. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +1 -0
  448. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js +91 -0
  449. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js.map +1 -0
  450. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts +12 -0
  451. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts.map +1 -0
  452. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js +86 -0
  453. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js.map +1 -0
  454. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts +8 -0
  455. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts.map +1 -0
  456. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js +19 -0
  457. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js.map +1 -0
  458. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts +16 -0
  459. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts.map +1 -0
  460. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js +61 -0
  461. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js.map +1 -0
  462. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts +10 -0
  463. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts.map +1 -0
  464. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js +200 -0
  465. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js.map +1 -0
  466. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts +7 -0
  467. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts.map +1 -0
  468. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js +23 -0
  469. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js.map +1 -0
  470. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts +14 -0
  471. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts.map +1 -0
  472. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js +251 -0
  473. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js.map +1 -0
  474. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts +19 -0
  475. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts.map +1 -0
  476. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js +61 -0
  477. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js.map +1 -0
  478. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts +3 -0
  479. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts.map +1 -0
  480. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js +54 -0
  481. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js.map +1 -0
  482. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts +4 -0
  483. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts.map +1 -0
  484. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js +72 -0
  485. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js.map +1 -0
  486. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts +27 -0
  487. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts.map +1 -0
  488. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js +30 -0
  489. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js.map +1 -0
  490. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts +7 -0
  491. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts.map +1 -0
  492. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js +184 -0
  493. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js.map +1 -0
  494. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts +7 -0
  495. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts.map +1 -0
  496. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js +23 -0
  497. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js.map +1 -0
  498. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts +5 -0
  499. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts.map +1 -0
  500. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js +74 -0
  501. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js.map +1 -0
  502. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts +43 -0
  503. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts.map +1 -0
  504. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js +22 -0
  505. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js.map +1 -0
  506. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts +8 -0
  507. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts.map +1 -0
  508. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js +47 -0
  509. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js.map +1 -0
  510. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts +4 -0
  511. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts.map +1 -0
  512. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js +10 -0
  513. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js.map +1 -0
  514. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts +4 -0
  515. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts.map +1 -0
  516. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js +20 -0
  517. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js.map +1 -0
  518. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts +2 -0
  519. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts.map +1 -0
  520. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js +9 -0
  521. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js.map +1 -0
  522. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts +3 -0
  523. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts.map +1 -0
  524. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js +18 -0
  525. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js.map +1 -0
  526. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts +26 -0
  527. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts.map +1 -0
  528. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js +202 -0
  529. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js.map +1 -0
  530. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts +16 -0
  531. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts.map +1 -0
  532. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js +67 -0
  533. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js.map +1 -0
  534. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts +7 -0
  535. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts.map +1 -0
  536. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js +30 -0
  537. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js.map +1 -0
  538. package/bundled/node_modules/@kubbisec/shared/package.json +77 -0
  539. package/bundled/reflect-system.md +31 -0
  540. package/bundled/resolve-bundled-dist-root.js +166 -0
  541. package/bundled/resolve-bundled-dist-root.js.map +1 -0
  542. package/bundled/skills/aspm-platform/SKILL.md +95 -0
  543. package/bundled/skills/at-path-mentions.d.ts +7 -0
  544. package/bundled/skills/at-path-mentions.d.ts.map +1 -0
  545. package/bundled/skills/at-path-mentions.js +184 -0
  546. package/bundled/skills/at-path-mentions.js.map +1 -0
  547. package/bundled/skills/at-path-mentions.test.ts +64 -0
  548. package/bundled/skills/at-path-mentions.ts +209 -0
  549. package/bundled/skills/chat-mention-render.d.ts +7 -0
  550. package/bundled/skills/chat-mention-render.d.ts.map +1 -0
  551. package/bundled/skills/chat-mention-render.js +160 -0
  552. package/bundled/skills/chat-mention-render.js.map +1 -0
  553. package/bundled/skills/chat-mention-render.test.ts +70 -0
  554. package/bundled/skills/chat-mention-render.ts +192 -0
  555. package/bundled/skills/chat-mentions.d.ts +28 -0
  556. package/bundled/skills/chat-mentions.d.ts.map +1 -0
  557. package/bundled/skills/chat-mentions.js +108 -0
  558. package/bundled/skills/chat-mentions.js.map +1 -0
  559. package/bundled/skills/chat-mentions.test.ts +39 -0
  560. package/bundled/skills/chat-mentions.ts +133 -0
  561. package/bundled/skills/github-local/SKILL.md +16 -0
  562. package/bundled/skills/kubbisec-resource-router/SKILL.md +3 -0
  563. package/bundled/skills/list-bundled-skills.d.ts +7 -0
  564. package/bundled/skills/list-bundled-skills.d.ts.map +1 -0
  565. package/bundled/skills/list-bundled-skills.js +44 -0
  566. package/bundled/skills/list-bundled-skills.js.map +1 -0
  567. package/bundled/skills/list-bundled-skills.ts +49 -0
  568. package/bundled/skills/naus-pipelines/SKILL.md +127 -0
  569. package/bundled/skills/remediation/SKILL.md +12 -0
  570. package/bundled/skills/scanner-gitleaks/SKILL.md +10 -0
  571. package/bundled/skills/scanner-nmap/SKILL.md +10 -0
  572. package/bundled/skills/scanner-osv/SKILL.md +10 -0
  573. package/bundled/skills/scanner-semgrep/SKILL.md +10 -0
  574. package/bundled/skills/scanner-skipfish/SKILL.md +10 -0
  575. package/bundled/skills/scanner-sonar/SKILL.md +10 -0
  576. package/bundled/skills/scanner-syft/SKILL.md +10 -0
  577. package/bundled/skills/scanner-trivy/SKILL.md +10 -0
  578. package/bundled/skills/sec-brainstorm/SKILL.md +74 -0
  579. package/bundled/skills/sec-clarify/SKILL.md +53 -0
  580. package/bundled/skills/sec-debug/SKILL.md +94 -0
  581. package/bundled/skills/sec-plan/SKILL.md +101 -0
  582. package/bundled/skills/sec-review/SKILL.md +110 -0
  583. package/bundled/skills/sec-review/code-reviewer-sec.md +176 -0
  584. package/bundled/skills/sec-using-skills/SKILL.md +81 -0
  585. package/bundled/skills/sec-verify/SKILL.md +77 -0
  586. package/bundled/skills/skill-mention.d.ts +3 -0
  587. package/bundled/skills/skill-mention.d.ts.map +1 -0
  588. package/bundled/skills/skill-mention.js +3 -0
  589. package/bundled/skills/skill-mention.js.map +1 -0
  590. package/bundled/skills/skill-mention.test.ts +46 -0
  591. package/bundled/skills/skill-mention.ts +10 -0
  592. package/bundled/theme/clear-terminal.d.ts +3 -0
  593. package/bundled/theme/clear-terminal.d.ts.map +1 -0
  594. package/bundled/theme/clear-terminal.js +7 -0
  595. package/bundled/theme/clear-terminal.js.map +1 -0
  596. package/bundled/theme/footer-render-hook.d.ts +3 -0
  597. package/bundled/theme/footer-render-hook.d.ts.map +1 -0
  598. package/bundled/theme/footer-render-hook.js +8 -0
  599. package/bundled/theme/footer-render-hook.js.map +1 -0
  600. package/bundled/theme/kubbisec-brand-fg.d.ts +4 -0
  601. package/bundled/theme/kubbisec-brand-fg.d.ts.map +1 -0
  602. package/bundled/theme/kubbisec-brand-fg.js +7 -0
  603. package/bundled/theme/kubbisec-brand-fg.js.map +1 -0
  604. package/bundled/theme/kubbisec-menu-themes.d.ts +16 -0
  605. package/bundled/theme/kubbisec-menu-themes.d.ts.map +1 -0
  606. package/bundled/theme/kubbisec-menu-themes.js +47 -0
  607. package/bundled/theme/kubbisec-menu-themes.js.map +1 -0
  608. package/bundled/theme/kubbisec-theme-name.d.ts +2 -0
  609. package/bundled/theme/kubbisec-theme-name.d.ts.map +1 -0
  610. package/bundled/theme/kubbisec-theme-name.js +2 -0
  611. package/bundled/theme/kubbisec-theme-name.js.map +1 -0
  612. package/bundled/theme/kubbisec.json +93 -0
  613. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +3 -0
  614. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts.map +1 -0
  615. package/bundled/theme/patch-pi-settings-theme.runtime.js +16 -0
  616. package/bundled/theme/patch-pi-settings-theme.runtime.js.map +1 -0
  617. package/bundled/theme/render-compact-header.d.ts +21 -0
  618. package/bundled/theme/render-compact-header.d.ts.map +1 -0
  619. package/bundled/theme/render-compact-header.js +197 -0
  620. package/bundled/theme/render-compact-header.js.map +1 -0
  621. package/bundled/workflow/session-workflow-mode.d.ts +10 -0
  622. package/bundled/workflow/session-workflow-mode.d.ts.map +1 -0
  623. package/bundled/workflow/session-workflow-mode.js +51 -0
  624. package/bundled/workflow/session-workflow-mode.js.map +1 -0
  625. package/package.json +1 -1
@@ -0,0 +1,74 @@
1
+ ---
2
+ name: sec-brainstorm
3
+ description: "Before any implementation: explore context, threat model, design; write .kbs/specs/*.md; HARD-GATE until user approves."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ requires: [session-questionnaire.json]
8
+ produces: kbs-spec
9
+ ---
10
+
11
+ # sec-brainstorm — Design + threat model (KubbiSec)
12
+
13
+ **Announce:** `Using sec-brainstorm to explore design and write runtime spec.`
14
+
15
+ <HARD-GATE>
16
+ Do NOT invoke implementation actions (edit/write/bash that mutates repo), domain skills that change code, or claim work complete until:
17
+
18
+ 1. A runtime spec exists at `.kbs/specs/*.md`, AND
19
+ 2. The user has explicitly approved it (`approved` / `aprovado`).
20
+
21
+ Read-only tools (read, grep, ls) are always allowed.
22
+ </HARD-GATE>
23
+
24
+ ## When to use
25
+
26
+ - New feature, refactor, or security policy change in chat
27
+ - `/mode:plan` or `@plan` with no approved runtime spec yet
28
+ - After `sec-clarify` (or equivalent structured brief)
29
+
30
+ ## When NOT to use
31
+
32
+ - CVE remediation in `kbs fix` harness
33
+ - Trivial typo-only changes (user must confirm below HARD-GATE threshold in writing)
34
+ - Mid-implementation — use domain skills instead
35
+
36
+ ## Process
37
+
38
+ 1. **Explore context** — read relevant repo paths, `docs/`, recent git log (read-only)
39
+ 2. **Clarifying questions** — one at a time, max 5 after clarify if gaps remain
40
+ 3. **Propose 2–3 approaches** — security trade-offs; recommend one
41
+ 4. **Present design** — section by section; user confirms or revises
42
+ 5. **Threat model** — STRIDE-lite table (min 3 rows for auth/network/deps)
43
+ 6. **Write spec** — `.kbs/specs/YYYY-MM-DD-<slug>.md` with `status: draft`
44
+ 7. **Self-review** — fix placeholders, contradictions inline
45
+ 8. **Request approval** — "Revise o arquivo ou responda `approved` para liberar implementação."
46
+ 9. **Handoff** — on approval, invoke **`sec-plan` only** (never direct implementation)
47
+
48
+ ## Runtime spec template
49
+
50
+ Write `.kbs/specs/YYYY-MM-DD-<slug>.md` with these sections:
51
+
52
+ - **Metadata** — yaml block: `id`, `status: draft`, `created`, `orgId`, `projectId`
53
+ - **Problem statement**
54
+ - **Threat model (required)** — table: Threat | STRIDE | Mitigation in design | Verification
55
+ - **Design** — recommended approach
56
+ - **Out of scope**
57
+ - **Approval** — checkbox for user `approved` / `aprovado`
58
+
59
+ Slug rules: `YYYY-MM-DD-<kebab-slug>.md`, max 48 chars, `[a-z0-9-]` only.
60
+
61
+ ## Threat model must address
62
+
63
+ - Injection, authz, secrets handling, supply chain (deps), logging sensitive data
64
+ - Do not propose storing credentials in repo or `.kbs/`
65
+
66
+ ## Anti-patterns
67
+
68
+ - Skipping HARD-GATE for "simple" changes without user written confirmation
69
+ - Writing app code before `approved`
70
+ - Conflicts with `docs/kubbisec-ai/specs/` — prefer repo product specs as platform truth; note conflicts in spec
71
+
72
+ ---
73
+
74
+ *Adapted from Superpowers (obra/superpowers) — MIT License.*
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: sec-clarify
3
+ description: "Chat-only: collect scope via the questionnaire tool before mutations."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ surfaces: [chat]
8
+ excludes: [fix, watch, run]
9
+ ---
10
+
11
+ # sec-clarify — Session scope (KubbiSec)
12
+
13
+ **Announce briefly:** `A recolher escopo antes de alterações.`
14
+
15
+ ## Primary mechanism
16
+
17
+ KubbiSec **auto-asks** the next scope question in the panel above the editor when the gate is active. You may still use the **`questionnaire` tool** to `record` prose scope or `complete` when sufficient.
18
+
19
+ | Action | When |
20
+ |--------|------|
21
+ | `status` | Check missing fields + scenario hints |
22
+ | `record` | User already gave scope in prose — persist fields |
23
+ | `complete` | Scope is sufficient — unblock mutations |
24
+ | `ask` | Rare — auto-ask already queues questions; use only for custom copy |
25
+
26
+ ## Panel UX
27
+
28
+ - Up to **3 options (A–C)** plus **D) Outro**; user can also type free text below.
29
+ - **Space** toggles selection (multi when relevant, e.g. severity).
30
+ - **Enter** confirms a panel selection; typed text submits as custom answer.
31
+ - **Never** repeat option lists in chat or say "painel acima" unless the panel is actually showing.
32
+
33
+ ## When to use
34
+
35
+ - Execute/remediation intent without enough scope
36
+ - Before destructive tools or `@plan` when decisions are unclear
37
+
38
+ ## When NOT to use
39
+
40
+ - Questionnaire already **ready**
41
+ - Factual/docs questions
42
+ - `KUBBISEC_SKIP_CLARIFY=1`
43
+ - Headless `kbs fix` / `watch`
44
+
45
+ ## Common scope fields
46
+
47
+ - `projectIds`, `severityMin`, `remediationMode` (remediation)
48
+ - `customNotes`, `nausConstraints` (plan/pipeline context)
49
+ - Any extra key → stored in `extras`
50
+
51
+ ## Handoff
52
+
53
+ When status is **ready**, proceed with remediation, `sec-plan`, or the user request.
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: sec-debug
3
+ description: "Systematic root-cause analysis for test failures, harness errors, and failed remediations before proposing fixes."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ surfaces: [chat, fix, watch]
8
+ follows: [sec-verify]
9
+ ---
10
+
11
+ # sec-debug — Systematic debugging (KubbiSec)
12
+
13
+ **Announce:** `Using sec-debug — Phase 1 investigation.`
14
+
15
+ ## Iron Law
16
+
17
+ **NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.**
18
+
19
+ Even under time pressure, complete Phase 1 summary before any edit.
20
+
21
+ ## When to use
22
+
23
+ - `sec-verify` reported failures
24
+ - Remediation harness empty diff or retry loop
25
+ - `kbs watch` tick failure
26
+ - Flaky or intermittent CI vs local delta
27
+
28
+ Pairs with `remediation` after root cause is proven for CVE-scoped work.
29
+
30
+ ## Four phases
31
+
32
+ | Phase | Name | Activities | Exit criteria |
33
+ |-------|------|------------|---------------|
34
+ | 1 | Root cause investigation | Read errors, reproduce, git diff, recent changes | Written hypothesis with evidence |
35
+ | 2 | Pattern analysis | Compare similar code, search repo, check deps | Hypothesis confirmed or ruled out |
36
+ | 3 | Hypothesis test | Minimal experiment, logging, single-variable change | Root cause proven |
37
+ | 4 | Fix implementation | Minimal fix + `sec-verify` | Verify evidence attached |
38
+
39
+ Show phase headers to user: `Fase 1/4 — Investigação`.
40
+
41
+ ## Multi-component boundaries (KubbiSec)
42
+
43
+ | Boundary | Diagnostic action |
44
+ |----------|-------------------|
45
+ | CLI → API | Log HTTP status + request id |
46
+ | API → Prisma | Log query error code |
47
+ | Harness → git | Log diff stat + exit code |
48
+ | Scanner → finding | Log rule id + file path |
49
+
50
+ ## Debug log artifact (optional)
51
+
52
+ Write `.kbs/context/debug-YYYY-MM-DD-<slug>.md`:
53
+
54
+ ```markdown
55
+ ## Symptom
56
+ ...
57
+
58
+ ## Reproduction steps
59
+ 1. ...
60
+
61
+ ## Evidence
62
+ - command: ...
63
+ - output: ...
64
+
65
+ ## Root cause
66
+ ...
67
+
68
+ ## Fix (minimal)
69
+ ...
70
+ ```
71
+
72
+ No secrets from `.env` or tokens in reproduction commands. Use test accounts for auth bugs.
73
+
74
+ ## Empty remediation diff playbook
75
+
76
+ Phase 1: read harness JSON, model tool calls, task XML.
77
+
78
+ Root cause categories: tool-weak model, wrong branch, permission, prompt drift.
79
+
80
+ Handoff to `remediation` or config change — not blind retry.
81
+
82
+ ## Escalation
83
+
84
+ - **3rd failed fix:** Stop auto-retry; escalate human with debug log summary
85
+ - **Cannot reproduce:** Do not fix; list data needed from user
86
+ - **Multiple root causes:** Split debug sessions per cause
87
+
88
+ ## Copy (PT)
89
+
90
+ `Investigando causa raiz antes de novo patch.`
91
+
92
+ ---
93
+
94
+ *Adapted from Superpowers (obra/superpowers) — MIT License.*
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: sec-plan
3
+ description: "After approved .kbs/specs: produce bite-sized implementation plan at .kbs/plans/ with verification steps."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ requires: [kbs-spec-approved]
8
+ produces: kbs-plan
9
+ ---
10
+
11
+ # sec-plan — Implementation plan (KubbiSec)
12
+
13
+ **Announce:** `Using sec-plan to decompose work from <spec-path>.`
14
+
15
+ ## When to use
16
+
17
+ - `.kbs/specs/*.md` has `status: approved`
18
+ - Handoff from `sec-brainstorm` after user approval
19
+ - User invokes `/skill:sec-plan` or `@plan` with approved spec
20
+
21
+ ## When NOT to use
22
+
23
+ - Spec still `draft` — refuse; link to sec-brainstorm approval step
24
+ - Headless remediation unless task metadata sets `requirePlan=true`
25
+ - Emergency plan without spec — only with `deferred-spec: true` header + explicit user sign-off (discouraged)
26
+
27
+ ## Process
28
+
29
+ 1. Read approved spec + questionnaire + affected package layout
30
+ 2. Draft **file map** (which packages touched; `packages/shared` first if types change)
31
+ 3. Write `.kbs/plans/YYYY-MM-DD-<slug>.md` paired with spec (same date + slug)
32
+ 4. Present plan summary; user may edit plan file
33
+ 5. Implementation begins; mark checkboxes as tasks complete
34
+ 6. After each task or batch: run **`sec-verify`** before claiming done
35
+
36
+ ## Plan header (required)
37
+
38
+ ```markdown
39
+ # <Feature> — Implementation Plan
40
+
41
+ > **Spec:** `.kbs/specs/YYYY-MM-DD-<slug>.md` (approved)
42
+ > **For KubbiSec agents:** Execute tasks in order; run `sec-verify` before marking task done.
43
+
44
+ **Goal:** <one sentence>
45
+
46
+ **Architecture:** <2-3 sentences>
47
+
48
+ **Tech stack:** <e.g. NestJS, Prisma, Vitest, React, NAUS>
49
+
50
+ **Security notes:** <top mitigations from threat model>
51
+
52
+ ---
53
+ ```
54
+
55
+ ## Task entry schema
56
+
57
+ ```markdown
58
+ ### Task N: <name>
59
+
60
+ **Files:**
61
+ - Create: `path/to/file`
62
+ - Modify: `path/to/existing.ts:10-40`
63
+ - Test: `path/to/file.test.ts`
64
+
65
+ - [ ] **Step 1:** <action>
66
+ - Verify: `pnpm --filter <pkg> test path -v`
67
+ - Expected: PASS
68
+
69
+ - [ ] **Step 2:** ...
70
+ ```
71
+
72
+ Optional frontmatter:
73
+
74
+ ```yaml
75
+ ---
76
+ kbsPlan:
77
+ specRef: .kbs/specs/2026-05-29-mfa-login.md
78
+ estimatedTasks: 8
79
+ ---
80
+ ```
81
+
82
+ ## Dispatch reviewer (orchestrator)
83
+
84
+ After each batch of ~3 tasks (or before merge), dispatch `code-reviewer-sec` subagent — see `sec-review/code-reviewer-sec.md`.
85
+
86
+ ## Rules
87
+
88
+ - Each task includes ≥1 verify command
89
+ - Reference threat model mitigations for auth, crypto, CI secrets tasks
90
+ - Never embed credentials; reference EnvPack key **names** only
91
+ - NAUS tasks: reference `@kubbisec/naus-validation` and relevant scanner skill
92
+ - If plan exists: ask overwrite vs `-v2` suffix
93
+ - Low-resource mode: cap at 6 tasks
94
+
95
+ ## Handoff copy (PT)
96
+
97
+ `Plano salvo em .kbs/plans/. Marque cada passo após sec-verify.`
98
+
99
+ ---
100
+
101
+ *Adapted from Superpowers (obra/superpowers) — MIT License.*
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: sec-review
3
+ description: "Review git diffs for OWASP issues, authz bugs, secrets, and supply-chain risks before merge or PR."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ surfaces: [chat, fix]
8
+ pairsWith: [sec-verify]
9
+ ---
10
+
11
+ # sec-review — Security code review (KubbiSec)
12
+
13
+ **Announce:** `Using sec-review on diff {BASE}..{HEAD}.`
14
+
15
+ Read-only skill. Do not exfiltrate secrets from diff into `.kbs/` files — redact matches (`***` + line number).
16
+
17
+ ## When to use
18
+
19
+ - `kbs chat --mode review` or `/skill:sec-review`
20
+ - Before merge / PR after implementation
21
+ - After remediation harness produces non-empty diff (FIX-001)
22
+ - Pairs with `sec-verify` — review alone does not prove merge-safe
23
+
24
+ ## Git commands
25
+
26
+ ```bash
27
+ git diff --stat {BASE}..{HEAD}
28
+ git diff {BASE}..{HEAD}
29
+ git log --oneline {BASE}..{HEAD} # optional
30
+ ```
31
+
32
+ Default base: `origin/main`. Invalid SHA → ask user or use `HEAD~1`.
33
+
34
+ ## OWASP Top 10:2021 checklist
35
+
36
+ | ID | Category | Review focus |
37
+ |----|----------|--------------|
38
+ | A01 | Broken Access Control | Guards, IDOR, role checks, BOLA |
39
+ | A02 | Cryptographic Failures | Weak algos, hardcoded keys, TLS |
40
+ | A03 | Injection | SQL/NoSQL/OS/command/template |
41
+ | A04 | Insecure Design | Rate limits, trust boundaries |
42
+ | A05 | Security Misconfiguration | Debug flags, default creds, CORS `*` |
43
+ | A06 | Vulnerable Components | Dep bumps without audit |
44
+ | A07 | Auth Failures | Session fixation, weak MFA, passwords |
45
+ | A08 | Integrity Failures | Unsigned artifacts, unsafe deserialization |
46
+ | A09 | Logging Failures | Sensitive data in logs, missing audit |
47
+ | A10 | SSRF | User-controlled URLs in server fetch |
48
+
49
+ ## KubbiSec-specific checks
50
+
51
+ | Check | Trigger |
52
+ |-------|---------|
53
+ | Secrets in repo | Regex + gitleaks patterns in diff |
54
+ | EnvPack leakage | `GITHUB_TOKEN`, API keys in tests/fixtures |
55
+ | NAUS pipeline | Unsafe `curl \| bash`, privileged containers |
56
+ | Multi-tenant | `organizationId` scoping on new endpoints |
57
+
58
+ ## Output format
59
+
60
+ ```markdown
61
+ ## sec-review — <short title>
62
+
63
+ **Range:** `<base>..<head>`
64
+ **Spec/plan:** <path or N/A>
65
+
66
+ ### Strengths
67
+ - ...
68
+
69
+ ### OWASP findings
70
+
71
+ | OWASP | Severity | File:line | Issue | Fix hint |
72
+ |-------|----------|-----------|-------|----------|
73
+ | A03 | Critical | api/foo.ts:42 | ... | ... |
74
+
75
+ ### Other issues
76
+
77
+ #### Critical (must fix before merge)
78
+ 1. ...
79
+
80
+ #### Important
81
+ 1. ...
82
+
83
+ #### Minor
84
+ 1. ...
85
+
86
+ ### Assessment
87
+ **Ready to merge?** Yes / No / With fixes
88
+ **Reasoning:** ...
89
+ ```
90
+
91
+ ## Edge cases
92
+
93
+ - **Empty diff:** Report "no changes"; skip OWASP table except note
94
+ - **Large diff (>500 files):** Prioritize `apps/api`, auth, deps; note scope limit
95
+ - **No git repo:** Review user-pasted patch; warn reduced confidence
96
+ - **Binary diff:** Skip with note
97
+
98
+ ## Subagent template
99
+
100
+ For orchestrator batch reviews, use `code-reviewer-sec.md` in this directory — same OWASP matrix plus Compliance and Supply chain sections.
101
+
102
+ ## Critical rules
103
+
104
+ **DO:** Cite file:line; separate severity buckets; acknowledge strengths.
105
+
106
+ **DON'T:** Approve without reading diff; mark nits Critical; claim tests pass without verify evidence.
107
+
108
+ ---
109
+
110
+ *Adapted from Superpowers (obra/superpowers) — MIT License.*
@@ -0,0 +1,176 @@
1
+ # KubbiSec Security Code Review Agent
2
+
3
+ You are reviewing code changes for **production readiness and DevSecOps compliance** on the KubbiSec platform.
4
+
5
+ **Your task:**
6
+
7
+ 1. Review {WHAT_WAS_IMPLEMENTED}
8
+ 2. Compare against {PLAN_OR_REQUIREMENTS}
9
+ 3. Run git diff analysis between {BASE_SHA} and {HEAD_SHA}
10
+ 4. Apply **Code Quality**, **Security (OWASP)**, **Compliance**, and **Supply chain** checklists
11
+ 5. Categorize issues: Critical / Important / Minor
12
+ 6. Assess merge readiness — require sec-verify evidence if author claims tests pass
13
+
14
+ ## What Was Implemented
15
+
16
+ {DESCRIPTION}
17
+
18
+ ## Requirements / Plan / Spec
19
+
20
+ {PLAN_OR_REQUIREMENTS}
21
+
22
+ ## Finding context (remediation)
23
+
24
+ {FINDING_CONTEXT}
25
+
26
+ ## Git range
27
+
28
+ **Base:** {BASE_SHA}
29
+ **Head:** {HEAD_SHA}
30
+
31
+ ```bash
32
+ git diff --stat {BASE_SHA}..{HEAD_SHA}
33
+ git diff {BASE_SHA}..{HEAD_SHA}
34
+ ```
35
+
36
+ ---
37
+
38
+ ## Review checklist — Code quality
39
+
40
+ - Separation of concerns and SRP
41
+ - Error handling and typed exceptions
42
+ - TypeScript types (no unjustified `any`)
43
+ - DRY without premature abstraction
44
+ - Edge cases and null safety
45
+ - Architecture matches plan/spec
46
+ - Tests cover changed behavior
47
+ - Requirements from spec/plan satisfied
48
+ - Production readiness (no debug flags, TODO blockers)
49
+
50
+ ---
51
+
52
+ ## Review checklist — Security (OWASP Top 10:2021)
53
+
54
+ For each category, mark **Pass / Fail / N/A** with file:line refs on Fail:
55
+
56
+ | ID | Category | Pass/Fail/N/A | Notes |
57
+ |----|----------|---------------|-------|
58
+ | A01 | Broken Access Control | | |
59
+ | A02 | Cryptographic Failures | | |
60
+ | A03 | Injection | | |
61
+ | A04 | Insecure Design | | |
62
+ | A05 | Security Misconfiguration | | |
63
+ | A06 | Vulnerable Components | | |
64
+ | A07 | Auth Failures | | |
65
+ | A08 | Integrity Failures | | |
66
+ | A09 | Logging Failures | | |
67
+ | A10 | SSRF | | |
68
+
69
+ **KubbiSec-specific:**
70
+
71
+ - [ ] Multi-tenant `organizationId` / `projectId` scoping on new endpoints
72
+ - [ ] No secrets in code, tests, fixtures, or `.kbs/` artifacts
73
+ - [ ] Platform tools respect RBAC (no privilege escalation via assistant)
74
+
75
+ ---
76
+
77
+ ## Review checklist — Compliance
78
+
79
+ Mark **Pass / Fail / N/A** with rationale (engineering controls only — no legal advice):
80
+
81
+ | Area | Checks |
82
+ |------|--------|
83
+ | **Data protection** | PII minimization, retention notes, encryption at rest/transit for new fields |
84
+ | **Auditability** | Security-relevant actions logged with actor + tenant ids |
85
+ | **Access control** | Role checks documented; default-deny for new routes |
86
+ | **Regulatory hooks** | If health/finance keywords in spec: flag need for human compliance review |
87
+ | **License** | New deps have compatible licenses; NOTICE updated if required |
88
+
89
+ ---
90
+
91
+ ## Review checklist — Supply chain
92
+
93
+ | Check | Pass/Fail/N/A | Notes |
94
+ |-------|---------------|-------|
95
+ | Dependency changes reviewed (`package.json`, lockfiles) | | |
96
+ | Pinning vs range policy respected | | |
97
+ | CI pipeline changes (`*.yml`, NAUS) — no untrusted scripts | | |
98
+ | Container/base image bumps traced | | |
99
+ | SBOM impact noted if monorepo publishes SBOM | | |
100
+ | Third-party GitHub Actions pinned to SHA | | |
101
+
102
+ ---
103
+
104
+ ## Output format
105
+
106
+ ### Strengths
107
+
108
+ ...
109
+
110
+ ### Issues
111
+
112
+ #### Critical (must fix)
113
+
114
+ - File:line — issue — why — fix hint
115
+
116
+ #### Important (should fix)
117
+
118
+ ...
119
+
120
+ #### Minor (nice to have)
121
+
122
+ ...
123
+
124
+ ### Security summary
125
+
126
+ | OWASP | Highest severity found |
127
+ |-------|------------------------|
128
+
129
+ ### Compliance summary
130
+
131
+ ...
132
+
133
+ ### Supply chain summary
134
+
135
+ ...
136
+
137
+ ### Recommendations
138
+
139
+ ...
140
+
141
+ ### Assessment
142
+
143
+ **Ready to merge?** Yes / No / With fixes
144
+
145
+ **sec-verify required:** List commands author must run if not attached.
146
+
147
+ **Reasoning:** 1-2 sentences.
148
+
149
+ ---
150
+
151
+ ## Critical rules
152
+
153
+ **DO:** Cite file:line; separate OWASP vs compliance vs supply chain; acknowledge strengths; clear verdict.
154
+
155
+ **DON'T:** Approve without reading diff; mark nits Critical; claim tests pass without log evidence; provide legal certification.
156
+
157
+ ---
158
+
159
+ ## Dispatch protocol
160
+
161
+ **When to dispatch `code-reviewer-sec`:**
162
+
163
+ - After each plan task batch (~3 tasks) OR before merge
164
+ - Mandatory after remediation diff (FIX-001)
165
+ - When sec-review findings include any Critical/Important open items
166
+
167
+ **How:**
168
+
169
+ 1. Resolve BASE_SHA / HEAD_SHA
170
+ 2. Spawn subagent with this template
171
+ 3. Feed outputs back to implementing agent
172
+ 4. Critical → fix immediately; Important → fix before next task
173
+
174
+ ---
175
+
176
+ *Adapted from Superpowers (obra/superpowers) — MIT License. KubbiSec modifications: OWASP Top 10 matrix, Compliance and Supply chain checklists, tenant/secrets rules, sec-verify evidence requirement. Interactive chat equivalent: `/skill:sec-review`.*
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: sec-using-skills
3
+ description: "Route KubbiSec chat to sec-* workflow skills vs domain skills (naus-pipelines, remediation, scanner-*, aspm-platform). Invoke before choosing a skill path."
4
+ metadata:
5
+ kubbisec:
6
+ category: workflow
7
+ surfaces: [chat]
8
+ ---
9
+
10
+ # sec-using-skills — Skill routing (KubbiSec)
11
+
12
+ Use this skill when the user intent is unclear, when multiple skills could apply, or at the start of a non-trivial session.
13
+
14
+ **Announce:** `Using sec-using-skills to pick the right workflow.`
15
+
16
+ ## The rule
17
+
18
+ If a **sec-*** workflow skill might apply, invoke it **before** domain skills or code changes. User explicit `@skill <name>` overrides routing.
19
+
20
+ ## Skill categories
21
+
22
+ | Category | Examples | Purpose |
23
+ |----------|----------|---------|
24
+ | **workflow** | `sec-clarify`, `sec-brainstorm`, `sec-plan`, `sec-review`, `sec-verify`, `sec-debug` | Specify, plan, review, verify |
25
+ | **domain** | `naus-pipelines`, `remediation`, `aspm-platform`, `github-local` | ASPM, CI, CVE fixes, GitHub |
26
+ | **scanner** | `scanner-semgrep`, `scanner-trivy`, … | Run one scanner per turn |
27
+
28
+ ## Routing matrix
29
+
30
+ | User intent | Primary skill | Optional secondary | Never combine |
31
+ |-------------|---------------|-------------------|---------------|
32
+ | Vague scope, missing org/project/CVE context | `sec-clarify` | — | `sec-plan` before clarify done |
33
+ | New feature / refactor / policy (chat) | `sec-brainstorm` → `sec-plan` | `naus-pipelines` if CI-only | `remediation` |
34
+ | Implement approved `.kbs/specs/*.md` | `sec-plan` | domain skill for file area | `sec-brainstorm` mid-implementation |
35
+ | Review diff before merge / after fix | `sec-review` | `sec-verify` | `sec-brainstorm` |
36
+ | Claim "done", "tests pass", open PR | `sec-verify` | — | skip verify |
37
+ | Failed remediation / flaky test / regression | `sec-debug` | `remediation` (CVE-scoped) | `sec-plan` |
38
+ | NAUS pipeline YAML | `naus-pipelines` | `sec-review` if auth/secrets touched | — |
39
+ | `naus` CLI (validate/plan/run/register) | `naus-pipelines` | — | invent flags without `naus_pipeline_docs` |
40
+ | `aspm` CLI (scan/upload/doctor) | `aspm-platform` | one `scanner-*` if single tool | invent flags without `aspm_docs` |
41
+ | CVE minimal patch | `remediation` | `sec-verify` on exit | `sec-brainstorm` |
42
+ | ASPM API / findings | `aspm-platform` | — | — |
43
+ | Local GitHub clone/status | `github-local` | — | — |
44
+ | Run Semgrep/Trivy/etc. | one `scanner-*` | — | multiple scanners same turn |
45
+
46
+ ## Invocation surfaces
47
+
48
+ | Surface | sec-* | Domain |
49
+ |---------|-------|--------|
50
+ | `kbs chat` | Yes (`/skill:sec-*`, `@skill sec-*`) | Yes |
51
+ | `kbs chat --mode plan` | **Required:** clarify → brainstorm → plan | Read-only discovery only |
52
+ | `kbs chat --mode review` | **Prefer** `sec-review` | Read + diff tools |
53
+ | `kbs fix` / remediation harness | `sec-review` + `sec-verify` only | `remediation` implicit |
54
+ | `kbs watch` | `sec-debug` on failure | scanner-* per policy |
55
+
56
+ ## Typical greenfield flow
57
+
58
+ 1. `sec-clarify` — lock org/project/acceptance criteria → `.kbs/context/session-questionnaire.json`
59
+ 2. `sec-brainstorm` — threat model + design → `.kbs/specs/YYYY-MM-DD-<slug>.md` (HARD-GATE until `approved`)
60
+ 3. `sec-plan` — bite-sized tasks → `.kbs/plans/YYYY-MM-DD-<slug>.md`
61
+ 4. Implement with domain skills as needed
62
+ 5. `sec-review` on diff, then `sec-verify` with command evidence before PR
63
+
64
+ ## Env / flags
65
+
66
+ ```bash
67
+ KUBBISEC_CHAT_MODE=default|plan|review
68
+ KUBBISEC_FORCE_SKILL=sec-brainstorm # escape hatch; log warning
69
+ KUBBISEC_SKIP_CLARIFY=1 # skip questionnaire; still log skip
70
+ ```
71
+
72
+ ## Anti-patterns
73
+
74
+ - Loading `sec-brainstorm` + `remediation` in the same turn
75
+ - Running `sec-plan` before spec is `approved`
76
+ - Claiming merge-ready without `sec-review` + `sec-verify`
77
+ - Multiple `scanner-*` skills in one turn
78
+
79
+ ---
80
+
81
+ *Adapted from Superpowers (obra/superpowers) — MIT License.*