specweave 0.21.2 → 0.21.3

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 (553) hide show
  1. package/CLAUDE.md +232 -5
  2. package/dist/plugins/specweave-github/lib/IssueStateManager.d.ts +98 -0
  3. package/dist/plugins/specweave-github/lib/IssueStateManager.d.ts.map +1 -0
  4. package/dist/plugins/specweave-github/lib/IssueStateManager.js +146 -0
  5. package/dist/plugins/specweave-github/lib/IssueStateManager.js.map +1 -0
  6. package/dist/plugins/specweave-github/lib/user-story-issue-builder.d.ts.map +1 -1
  7. package/dist/plugins/specweave-github/lib/user-story-issue-builder.js +6 -0
  8. package/dist/plugins/specweave-github/lib/user-story-issue-builder.js.map +1 -1
  9. package/dist/src/cli/commands/check-hooks.d.ts +11 -0
  10. package/dist/src/cli/commands/check-hooks.d.ts.map +1 -0
  11. package/dist/src/cli/commands/check-hooks.js +144 -0
  12. package/dist/src/cli/commands/check-hooks.js.map +1 -0
  13. package/dist/src/cli/commands/cicd-monitor.js +3 -3
  14. package/dist/src/cli/commands/cicd-monitor.js.map +1 -1
  15. package/dist/src/cli/commands/import-docs.js +2 -2
  16. package/dist/src/cli/commands/import-docs.js.map +1 -1
  17. package/dist/src/cli/commands/init-multiproject.js +4 -4
  18. package/dist/src/cli/commands/init-multiproject.js.map +1 -1
  19. package/dist/src/cli/commands/migrate-to-multiproject.js +3 -3
  20. package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -1
  21. package/dist/src/cli/commands/plan/agent-invoker.d.ts +79 -0
  22. package/dist/src/cli/commands/plan/agent-invoker.d.ts.map +1 -0
  23. package/dist/src/cli/commands/plan/agent-invoker.js +383 -0
  24. package/dist/src/cli/commands/plan/agent-invoker.js.map +1 -0
  25. package/dist/src/cli/commands/plan/increment-detector.d.ts +27 -0
  26. package/dist/src/cli/commands/plan/increment-detector.d.ts.map +1 -0
  27. package/dist/src/cli/commands/plan/increment-detector.js +159 -0
  28. package/dist/src/cli/commands/plan/increment-detector.js.map +1 -0
  29. package/dist/src/cli/commands/plan/plan-orchestrator.d.ts +45 -0
  30. package/dist/src/cli/commands/plan/plan-orchestrator.d.ts.map +1 -0
  31. package/dist/src/cli/commands/plan/plan-orchestrator.js +229 -0
  32. package/dist/src/cli/commands/plan/plan-orchestrator.js.map +1 -0
  33. package/dist/src/cli/commands/plan/plan-validator.d.ts +36 -0
  34. package/dist/src/cli/commands/plan/plan-validator.d.ts.map +1 -0
  35. package/dist/src/cli/commands/plan/plan-validator.js +174 -0
  36. package/dist/src/cli/commands/plan/plan-validator.js.map +1 -0
  37. package/dist/src/cli/commands/plan/types.d.ts +170 -0
  38. package/dist/src/cli/commands/plan/types.d.ts.map +1 -0
  39. package/dist/src/cli/commands/plan/types.js +42 -0
  40. package/dist/src/cli/commands/plan/types.js.map +1 -0
  41. package/dist/src/cli/commands/plan-command.d.ts +16 -0
  42. package/dist/src/cli/commands/plan-command.d.ts.map +1 -0
  43. package/dist/src/cli/commands/plan-command.js +127 -0
  44. package/dist/src/cli/commands/plan-command.js.map +1 -0
  45. package/dist/src/cli/commands/switch-project.js +3 -3
  46. package/dist/src/cli/commands/switch-project.js.map +1 -1
  47. package/dist/src/cli/commands/validate-parent-repo.js +1 -1
  48. package/dist/src/cli/commands/validate-parent-repo.js.map +1 -1
  49. package/dist/src/config/ConfigManager.d.ts +69 -0
  50. package/dist/src/config/ConfigManager.d.ts.map +1 -0
  51. package/dist/src/config/ConfigManager.js +130 -0
  52. package/dist/src/config/ConfigManager.js.map +1 -0
  53. package/dist/src/config/types.d.ts +1357 -0
  54. package/dist/src/config/types.d.ts.map +1 -0
  55. package/dist/src/config/types.js +67 -0
  56. package/dist/src/config/types.js.map +1 -0
  57. package/dist/src/core/brownfield/importer.d.ts +1 -1
  58. package/dist/src/core/brownfield/importer.d.ts.map +1 -1
  59. package/dist/src/core/brownfield/importer.js +3 -3
  60. package/dist/src/core/brownfield/importer.js.map +1 -1
  61. package/dist/src/core/cicd/config-loader.d.ts +1 -1
  62. package/dist/src/core/cicd/config-loader.d.ts.map +1 -1
  63. package/dist/src/core/cicd/index.d.ts +6 -6
  64. package/dist/src/core/cicd/index.d.ts.map +1 -1
  65. package/dist/src/core/cicd/index.js +6 -6
  66. package/dist/src/core/cicd/index.js.map +1 -1
  67. package/dist/src/core/cicd/monitor-service.d.ts +3 -3
  68. package/dist/src/core/cicd/monitor-service.d.ts.map +1 -1
  69. package/dist/src/core/cicd/monitor-service.js +3 -3
  70. package/dist/src/core/cicd/monitor-service.js.map +1 -1
  71. package/dist/src/core/cicd/notifier.d.ts +1 -1
  72. package/dist/src/core/cicd/notifier.d.ts.map +1 -1
  73. package/dist/src/core/cicd/state-manager.d.ts +1 -1
  74. package/dist/src/core/cicd/state-manager.d.ts.map +1 -1
  75. package/dist/src/core/cicd/state-manager.js +1 -1
  76. package/dist/src/core/cicd/state-manager.js.map +1 -1
  77. package/dist/src/core/cicd/workflow-monitor.d.ts +1 -1
  78. package/dist/src/core/cicd/workflow-monitor.d.ts.map +1 -1
  79. package/dist/src/core/cicd/workflow-monitor.js +1 -1
  80. package/dist/src/core/cicd/workflow-monitor.js.map +1 -1
  81. package/dist/src/core/cost-tracker.d.ts +2 -2
  82. package/dist/src/core/cost-tracker.d.ts.map +1 -1
  83. package/dist/src/core/cost-tracker.js +1 -1
  84. package/dist/src/core/cost-tracker.js.map +1 -1
  85. package/dist/src/core/hooks/HealthReporter.d.ts +55 -0
  86. package/dist/src/core/hooks/HealthReporter.d.ts.map +1 -0
  87. package/dist/src/core/hooks/HealthReporter.js +268 -0
  88. package/dist/src/core/hooks/HealthReporter.js.map +1 -0
  89. package/dist/src/core/hooks/HookAutoFixer.d.ts +41 -0
  90. package/dist/src/core/hooks/HookAutoFixer.d.ts.map +1 -0
  91. package/dist/src/core/hooks/HookAutoFixer.js +222 -0
  92. package/dist/src/core/hooks/HookAutoFixer.js.map +1 -0
  93. package/dist/src/core/hooks/HookExecutor.d.ts +57 -0
  94. package/dist/src/core/hooks/HookExecutor.d.ts.map +1 -0
  95. package/dist/src/core/hooks/HookExecutor.js +287 -0
  96. package/dist/src/core/hooks/HookExecutor.js.map +1 -0
  97. package/dist/src/core/hooks/HookHealthChecker.d.ts +51 -0
  98. package/dist/src/core/hooks/HookHealthChecker.d.ts.map +1 -0
  99. package/dist/src/core/hooks/HookHealthChecker.js +212 -0
  100. package/dist/src/core/hooks/HookHealthChecker.js.map +1 -0
  101. package/dist/src/core/hooks/HookScanner.d.ts +65 -0
  102. package/dist/src/core/hooks/HookScanner.d.ts.map +1 -0
  103. package/dist/src/core/hooks/HookScanner.js +214 -0
  104. package/dist/src/core/hooks/HookScanner.js.map +1 -0
  105. package/dist/src/core/hooks/types.d.ts +281 -0
  106. package/dist/src/core/hooks/types.d.ts.map +1 -0
  107. package/dist/src/core/hooks/types.js +10 -0
  108. package/dist/src/core/hooks/types.js.map +1 -0
  109. package/dist/src/core/iac/index.d.ts +10 -0
  110. package/dist/src/core/iac/index.d.ts.map +1 -0
  111. package/dist/src/core/iac/index.js +11 -0
  112. package/dist/src/core/iac/index.js.map +1 -0
  113. package/dist/src/core/iac/template-engine.d.ts +77 -0
  114. package/dist/src/core/iac/template-engine.d.ts.map +1 -0
  115. package/dist/src/core/iac/template-engine.js +182 -0
  116. package/dist/src/core/iac/template-engine.js.map +1 -0
  117. package/dist/src/core/increment/ac-status-manager.d.ts +115 -0
  118. package/dist/src/core/increment/ac-status-manager.d.ts.map +1 -0
  119. package/dist/src/core/increment/ac-status-manager.js +343 -0
  120. package/dist/src/core/increment/ac-status-manager.js.map +1 -0
  121. package/dist/src/core/increment/auto-transition-manager.d.ts +60 -0
  122. package/dist/src/core/increment/auto-transition-manager.d.ts.map +1 -0
  123. package/dist/src/core/increment/auto-transition-manager.js +192 -0
  124. package/dist/src/core/increment/auto-transition-manager.js.map +1 -0
  125. package/dist/src/core/increment/limits.d.ts +1 -1
  126. package/dist/src/core/increment/limits.d.ts.map +1 -1
  127. package/dist/src/core/increment/limits.js +2 -2
  128. package/dist/src/core/increment/limits.js.map +1 -1
  129. package/dist/src/core/increment/spec-sync-manager.d.ts +177 -0
  130. package/dist/src/core/increment/spec-sync-manager.d.ts.map +1 -0
  131. package/dist/src/core/increment/spec-sync-manager.js +496 -0
  132. package/dist/src/core/increment/spec-sync-manager.js.map +1 -0
  133. package/dist/src/core/increment/status-auto-transition.d.ts +46 -0
  134. package/dist/src/core/increment/status-auto-transition.d.ts.map +1 -0
  135. package/dist/src/core/increment/status-auto-transition.js +178 -0
  136. package/dist/src/core/increment/status-auto-transition.js.map +1 -0
  137. package/dist/src/core/increment/task-state-manager.d.ts +75 -0
  138. package/dist/src/core/increment/task-state-manager.d.ts.map +1 -0
  139. package/dist/src/core/increment/task-state-manager.js +117 -0
  140. package/dist/src/core/increment/task-state-manager.js.map +1 -0
  141. package/dist/src/core/living-docs/CodeValidator.d.ts +68 -0
  142. package/dist/src/core/living-docs/CodeValidator.d.ts.map +1 -0
  143. package/dist/src/core/living-docs/CodeValidator.js +160 -0
  144. package/dist/src/core/living-docs/CodeValidator.js.map +1 -0
  145. package/dist/src/core/living-docs/CompletionPropagator.d.ts +84 -0
  146. package/dist/src/core/living-docs/CompletionPropagator.d.ts.map +1 -0
  147. package/dist/src/core/living-docs/CompletionPropagator.js +205 -0
  148. package/dist/src/core/living-docs/CompletionPropagator.js.map +1 -0
  149. package/dist/src/core/living-docs/ProjectDetector.d.ts +29 -0
  150. package/dist/src/core/living-docs/ProjectDetector.d.ts.map +1 -0
  151. package/dist/src/core/living-docs/ProjectDetector.js +94 -0
  152. package/dist/src/core/living-docs/ProjectDetector.js.map +1 -0
  153. package/dist/src/core/living-docs/SpecDistributor.d.ts +55 -0
  154. package/dist/src/core/living-docs/SpecDistributor.d.ts.map +1 -0
  155. package/dist/src/core/living-docs/SpecDistributor.js +216 -0
  156. package/dist/src/core/living-docs/SpecDistributor.js.map +1 -0
  157. package/dist/src/core/living-docs/ThreeLayerSyncManager.d.ts +116 -0
  158. package/dist/src/core/living-docs/ThreeLayerSyncManager.d.ts.map +1 -0
  159. package/dist/src/core/living-docs/ThreeLayerSyncManager.js +356 -0
  160. package/dist/src/core/living-docs/ThreeLayerSyncManager.js.map +1 -0
  161. package/dist/src/core/living-docs/hierarchy-mapper.d.ts.map +1 -1
  162. package/dist/src/core/living-docs/hierarchy-mapper.js +2 -1
  163. package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -1
  164. package/dist/src/core/living-docs/index.d.ts +1 -1
  165. package/dist/src/core/living-docs/index.d.ts.map +1 -1
  166. package/dist/src/core/living-docs/index.js +5 -1
  167. package/dist/src/core/living-docs/index.js.map +1 -1
  168. package/dist/src/core/living-docs/types.d.ts +70 -300
  169. package/dist/src/core/living-docs/types.d.ts.map +1 -1
  170. package/dist/src/core/living-docs/types.js +2 -10
  171. package/dist/src/core/living-docs/types.js.map +1 -1
  172. package/dist/src/core/project-manager.d.ts +1 -1
  173. package/dist/src/core/project-manager.d.ts.map +1 -1
  174. package/dist/src/core/project-manager.js +2 -2
  175. package/dist/src/core/project-manager.js.map +1 -1
  176. package/dist/src/core/qa/quality-gate-decider.d.ts +1 -1
  177. package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -1
  178. package/dist/src/core/qa/risk-calculator.d.ts +1 -1
  179. package/dist/src/core/qa/risk-calculator.d.ts.map +1 -1
  180. package/dist/src/core/repo-structure/setup-summary.d.ts +1 -1
  181. package/dist/src/core/repo-structure/setup-summary.d.ts.map +1 -1
  182. package/dist/src/core/rfc-generator-v2.d.ts +1 -1
  183. package/dist/src/core/rfc-generator-v2.d.ts.map +1 -1
  184. package/dist/src/core/rfc-generator-v2.js +1 -1
  185. package/dist/src/core/rfc-generator-v2.js.map +1 -1
  186. package/dist/src/core/serverless/context-detector.d.ts +12 -0
  187. package/dist/src/core/serverless/context-detector.d.ts.map +1 -0
  188. package/dist/src/core/serverless/context-detector.js +213 -0
  189. package/dist/src/core/serverless/context-detector.js.map +1 -0
  190. package/dist/src/core/serverless/cost-comparison.d.ts +73 -0
  191. package/dist/src/core/serverless/cost-comparison.d.ts.map +1 -0
  192. package/dist/src/core/serverless/cost-comparison.js +198 -0
  193. package/dist/src/core/serverless/cost-comparison.js.map +1 -0
  194. package/dist/src/core/serverless/cost-estimator.d.ts +69 -0
  195. package/dist/src/core/serverless/cost-estimator.d.ts.map +1 -0
  196. package/dist/src/core/serverless/cost-estimator.js +127 -0
  197. package/dist/src/core/serverless/cost-estimator.js.map +1 -0
  198. package/dist/src/core/serverless/cost-optimizer.d.ts +57 -0
  199. package/dist/src/core/serverless/cost-optimizer.d.ts.map +1 -0
  200. package/dist/src/core/serverless/cost-optimizer.js +221 -0
  201. package/dist/src/core/serverless/cost-optimizer.js.map +1 -0
  202. package/dist/src/core/serverless/index.d.ts +20 -0
  203. package/dist/src/core/serverless/index.d.ts.map +1 -0
  204. package/dist/src/core/serverless/index.js +26 -0
  205. package/dist/src/core/serverless/index.js.map +1 -0
  206. package/dist/src/core/serverless/learning-path-recommender.d.ts +152 -0
  207. package/dist/src/core/serverless/learning-path-recommender.d.ts.map +1 -0
  208. package/dist/src/core/serverless/learning-path-recommender.js +389 -0
  209. package/dist/src/core/serverless/learning-path-recommender.js.map +1 -0
  210. package/dist/src/core/serverless/platform-data-loader.d.ts +22 -0
  211. package/dist/src/core/serverless/platform-data-loader.d.ts.map +1 -0
  212. package/dist/src/core/serverless/platform-data-loader.js +49 -0
  213. package/dist/src/core/serverless/platform-data-loader.js.map +1 -0
  214. package/dist/src/core/serverless/platform-selector.d.ts +20 -0
  215. package/dist/src/core/serverless/platform-selector.d.ts.map +1 -0
  216. package/dist/src/core/serverless/platform-selector.js +279 -0
  217. package/dist/src/core/serverless/platform-selector.js.map +1 -0
  218. package/dist/src/core/serverless/recommendation-formatter.d.ts +24 -0
  219. package/dist/src/core/serverless/recommendation-formatter.d.ts.map +1 -0
  220. package/dist/src/core/serverless/recommendation-formatter.js +70 -0
  221. package/dist/src/core/serverless/recommendation-formatter.js.map +1 -0
  222. package/dist/src/core/serverless/suitability-analyzer.d.ts +22 -0
  223. package/dist/src/core/serverless/suitability-analyzer.d.ts.map +1 -0
  224. package/dist/src/core/serverless/suitability-analyzer.js +262 -0
  225. package/dist/src/core/serverless/suitability-analyzer.js.map +1 -0
  226. package/dist/src/core/serverless/types.d.ts +96 -0
  227. package/dist/src/core/serverless/types.d.ts.map +1 -0
  228. package/dist/src/core/serverless/types.js +5 -0
  229. package/dist/src/core/serverless/types.js.map +1 -0
  230. package/dist/src/core/sync/bidirectional-engine.d.ts +1 -1
  231. package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -1
  232. package/dist/src/core/sync/enhanced-content-builder.d.ts +1 -1
  233. package/dist/src/core/sync/enhanced-content-builder.d.ts.map +1 -1
  234. package/dist/src/core/sync/profile-manager.d.ts +1 -1
  235. package/dist/src/core/sync/profile-manager.d.ts.map +1 -1
  236. package/dist/src/core/sync/profile-selector.d.ts +1 -1
  237. package/dist/src/core/sync/profile-selector.d.ts.map +1 -1
  238. package/dist/src/core/sync/profile-selector.js +1 -1
  239. package/dist/src/core/sync/profile-selector.js.map +1 -1
  240. package/dist/src/core/sync/project-context.d.ts +1 -1
  241. package/dist/src/core/sync/project-context.d.ts.map +1 -1
  242. package/dist/src/core/sync/rate-limiter.d.ts +1 -1
  243. package/dist/src/core/sync/rate-limiter.d.ts.map +1 -1
  244. package/dist/src/core/sync/status-sync-engine.d.ts +2 -2
  245. package/dist/src/core/sync/status-sync-engine.d.ts.map +1 -1
  246. package/dist/src/core/sync/status-sync-engine.js +2 -2
  247. package/dist/src/core/sync/status-sync-engine.js.map +1 -1
  248. package/dist/src/core/sync/time-range-selector.d.ts +1 -1
  249. package/dist/src/core/sync/time-range-selector.d.ts.map +1 -1
  250. package/dist/src/core/sync/time-range-selector.js +1 -1
  251. package/dist/src/core/sync/time-range-selector.js.map +1 -1
  252. package/dist/src/core/types/increment-metadata.d.ts +27 -0
  253. package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
  254. package/dist/src/core/types/increment-metadata.js +45 -1
  255. package/dist/src/core/types/increment-metadata.js.map +1 -1
  256. package/dist/src/core/types/sync-profile.d.ts +2 -0
  257. package/dist/src/core/types/sync-profile.d.ts.map +1 -1
  258. package/dist/src/core/types/sync-profile.js.map +1 -1
  259. package/dist/src/core/validation/increment-structure-validator.d.ts +47 -0
  260. package/dist/src/core/validation/increment-structure-validator.d.ts.map +1 -0
  261. package/dist/src/core/validation/increment-structure-validator.js +187 -0
  262. package/dist/src/core/validation/increment-structure-validator.js.map +1 -0
  263. package/dist/src/core/validation/three-file-validator.d.ts +82 -0
  264. package/dist/src/core/validation/three-file-validator.d.ts.map +1 -0
  265. package/dist/src/core/validation/three-file-validator.js +320 -0
  266. package/dist/src/core/validation/three-file-validator.js.map +1 -0
  267. package/dist/src/core/workflow/phase-detector.d.ts +103 -0
  268. package/dist/src/core/workflow/phase-detector.d.ts.map +1 -0
  269. package/dist/src/core/workflow/phase-detector.js +704 -0
  270. package/dist/src/core/workflow/phase-detector.js.map +1 -0
  271. package/dist/src/core/workflow/types.d.ts +153 -0
  272. package/dist/src/core/workflow/types.d.ts.map +1 -0
  273. package/dist/src/core/workflow/types.js +47 -0
  274. package/dist/src/core/workflow/types.js.map +1 -0
  275. package/dist/src/init/InitFlow.d.ts +37 -0
  276. package/dist/src/init/InitFlow.d.ts.map +1 -0
  277. package/dist/src/init/InitFlow.js +209 -0
  278. package/dist/src/init/InitFlow.js.map +1 -0
  279. package/dist/src/init/architecture/ArchitectureDecisionEngine.d.ts +107 -0
  280. package/dist/src/init/architecture/ArchitectureDecisionEngine.d.ts.map +1 -0
  281. package/dist/src/init/architecture/ArchitectureDecisionEngine.js +405 -0
  282. package/dist/src/init/architecture/ArchitectureDecisionEngine.js.map +1 -0
  283. package/dist/src/init/architecture/CloudCreditsDatabase.d.ts +11 -0
  284. package/dist/src/init/architecture/CloudCreditsDatabase.d.ts.map +1 -0
  285. package/dist/src/init/architecture/CloudCreditsDatabase.js +92 -0
  286. package/dist/src/init/architecture/CloudCreditsDatabase.js.map +1 -0
  287. package/dist/src/init/architecture/types.d.ts +251 -0
  288. package/dist/src/init/architecture/types.d.ts.map +1 -0
  289. package/dist/src/init/architecture/types.js +54 -0
  290. package/dist/src/init/architecture/types.js.map +1 -0
  291. package/dist/src/init/compliance/ComplianceDetector.d.ts +17 -0
  292. package/dist/src/init/compliance/ComplianceDetector.d.ts.map +1 -0
  293. package/dist/src/init/compliance/ComplianceDetector.js +64 -0
  294. package/dist/src/init/compliance/ComplianceDetector.js.map +1 -0
  295. package/dist/src/init/compliance/standards-database.d.ts +48 -0
  296. package/dist/src/init/compliance/standards-database.d.ts.map +1 -0
  297. package/dist/src/init/compliance/standards-database.js +506 -0
  298. package/dist/src/init/compliance/standards-database.js.map +1 -0
  299. package/dist/src/init/compliance/types.d.ts +91 -0
  300. package/dist/src/init/compliance/types.d.ts.map +1 -0
  301. package/dist/src/init/compliance/types.js +43 -0
  302. package/dist/src/init/compliance/types.js.map +1 -0
  303. package/dist/src/init/repo/GitHubAPIClient.d.ts +51 -0
  304. package/dist/src/init/repo/GitHubAPIClient.d.ts.map +1 -0
  305. package/dist/src/init/repo/GitHubAPIClient.js +144 -0
  306. package/dist/src/init/repo/GitHubAPIClient.js.map +1 -0
  307. package/dist/src/init/repo/RepositorySelector.d.ts +45 -0
  308. package/dist/src/init/repo/RepositorySelector.d.ts.map +1 -0
  309. package/dist/src/init/repo/RepositorySelector.js +106 -0
  310. package/dist/src/init/repo/RepositorySelector.js.map +1 -0
  311. package/dist/src/init/repo/types.d.ts +95 -0
  312. package/dist/src/init/repo/types.d.ts.map +1 -0
  313. package/dist/src/init/repo/types.js +25 -0
  314. package/dist/src/init/repo/types.js.map +1 -0
  315. package/dist/src/init/research/CompetitorAnalyzer.d.ts +79 -0
  316. package/dist/src/init/research/CompetitorAnalyzer.d.ts.map +1 -0
  317. package/dist/src/init/research/CompetitorAnalyzer.js +265 -0
  318. package/dist/src/init/research/CompetitorAnalyzer.js.map +1 -0
  319. package/dist/src/init/research/MarketDetector.d.ts +62 -0
  320. package/dist/src/init/research/MarketDetector.d.ts.map +1 -0
  321. package/dist/src/init/research/MarketDetector.js +247 -0
  322. package/dist/src/init/research/MarketDetector.js.map +1 -0
  323. package/dist/src/init/research/OpportunityScorer.d.ts +58 -0
  324. package/dist/src/init/research/OpportunityScorer.d.ts.map +1 -0
  325. package/dist/src/init/research/OpportunityScorer.js +194 -0
  326. package/dist/src/init/research/OpportunityScorer.js.map +1 -0
  327. package/dist/src/init/research/QuestionGenerator.d.ts +68 -0
  328. package/dist/src/init/research/QuestionGenerator.d.ts.map +1 -0
  329. package/dist/src/init/research/QuestionGenerator.js +244 -0
  330. package/dist/src/init/research/QuestionGenerator.js.map +1 -0
  331. package/dist/src/init/research/ReportGenerator.d.ts +36 -0
  332. package/dist/src/init/research/ReportGenerator.d.ts.map +1 -0
  333. package/dist/src/init/research/ReportGenerator.js +125 -0
  334. package/dist/src/init/research/ReportGenerator.js.map +1 -0
  335. package/dist/src/init/research/VisionAnalyzer.d.ts +129 -0
  336. package/dist/src/init/research/VisionAnalyzer.d.ts.map +1 -0
  337. package/dist/src/init/research/VisionAnalyzer.js +212 -0
  338. package/dist/src/init/research/VisionAnalyzer.js.map +1 -0
  339. package/dist/src/init/research/keyword-extractor.d.ts +78 -0
  340. package/dist/src/init/research/keyword-extractor.d.ts.map +1 -0
  341. package/dist/src/init/research/keyword-extractor.js +230 -0
  342. package/dist/src/init/research/keyword-extractor.js.map +1 -0
  343. package/dist/src/init/research/src/config/ConfigManager.d.ts +14 -0
  344. package/dist/src/init/research/src/config/ConfigManager.d.ts.map +1 -0
  345. package/dist/src/init/research/src/config/ConfigManager.js +45 -0
  346. package/dist/src/init/research/src/config/ConfigManager.js.map +1 -0
  347. package/dist/src/init/research/src/config/types.d.ts +102 -0
  348. package/dist/src/init/research/src/config/types.d.ts.map +1 -0
  349. package/dist/src/init/research/src/config/types.js +24 -0
  350. package/dist/src/init/research/src/config/types.js.map +1 -0
  351. package/dist/src/init/research/types.d.ts +183 -0
  352. package/dist/src/init/research/types.d.ts.map +1 -0
  353. package/dist/src/init/research/types.js +65 -0
  354. package/dist/src/init/research/types.js.map +1 -0
  355. package/dist/src/init/team/ServerlessSavingsCalculator.d.ts +136 -0
  356. package/dist/src/init/team/ServerlessSavingsCalculator.d.ts.map +1 -0
  357. package/dist/src/init/team/ServerlessSavingsCalculator.js +360 -0
  358. package/dist/src/init/team/ServerlessSavingsCalculator.js.map +1 -0
  359. package/dist/src/init/team/TeamRecommender.d.ts +122 -0
  360. package/dist/src/init/team/TeamRecommender.d.ts.map +1 -0
  361. package/dist/src/init/team/TeamRecommender.js +405 -0
  362. package/dist/src/init/team/TeamRecommender.js.map +1 -0
  363. package/dist/src/init/team/types.d.ts +95 -0
  364. package/dist/src/init/team/types.d.ts.map +1 -0
  365. package/dist/src/init/team/types.js +23 -0
  366. package/dist/src/init/team/types.js.map +1 -0
  367. package/dist/src/integrations/jira/jira-mapper.d.ts +1 -1
  368. package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -1
  369. package/dist/src/types/cost-tracking.d.ts +1 -1
  370. package/dist/src/types/cost-tracking.d.ts.map +1 -1
  371. package/dist/src/utils/cost-reporter.d.ts +2 -2
  372. package/dist/src/utils/cost-reporter.d.ts.map +1 -1
  373. package/dist/src/utils/docs-preview/config-generator.d.ts +1 -1
  374. package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -1
  375. package/dist/src/utils/docs-preview/config-generator.js +1 -1
  376. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +1 -1
  377. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -1
  378. package/dist/src/utils/docs-preview/docusaurus-setup.js +4 -4
  379. package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -1
  380. package/dist/src/utils/docs-preview/index.d.ts +6 -6
  381. package/dist/src/utils/docs-preview/index.d.ts.map +1 -1
  382. package/dist/src/utils/docs-preview/index.js +6 -6
  383. package/dist/src/utils/docs-preview/index.js.map +1 -1
  384. package/dist/src/utils/docs-preview/package-installer.d.ts +1 -1
  385. package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -1
  386. package/dist/src/utils/docs-preview/package-installer.js +1 -1
  387. package/dist/src/utils/docs-preview/package-installer.js.map +1 -1
  388. package/dist/src/utils/docs-preview/server-manager.d.ts +1 -1
  389. package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -1
  390. package/dist/src/utils/docs-preview/server-manager.js +1 -1
  391. package/dist/src/utils/docs-preview/server-manager.js.map +1 -1
  392. package/dist/src/utils/docs-preview/sidebar-builder.d.ts +1 -1
  393. package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -1
  394. package/dist/src/utils/generate-skills-index.d.ts +1 -1
  395. package/dist/src/utils/generate-skills-index.js +1 -1
  396. package/dist/src/utils/project-detection.js +1 -1
  397. package/dist/src/utils/project-detection.js.map +1 -1
  398. package/package.json +9 -3
  399. package/plugins/specweave/agents/architect/AGENT.md +605 -0
  400. package/plugins/specweave/agents/infrastructure/AGENT.md +760 -0
  401. package/plugins/specweave/agents/pm/AGENT.md +14 -13
  402. package/plugins/specweave/commands/specweave-check-hooks.md +186 -0
  403. package/plugins/specweave/commands/specweave-plan.md +151 -0
  404. package/plugins/specweave/commands/specweave-sync-acs.md +342 -0
  405. package/plugins/specweave/commands/specweave-validate.md +60 -11
  406. package/plugins/specweave/hooks/lib/update-status-line.sh +8 -4
  407. package/plugins/specweave/hooks/post-increment-change.sh +4 -0
  408. package/plugins/specweave/hooks/post-increment-completion.sh +7 -1
  409. package/plugins/specweave/hooks/post-increment-planning.sh +4 -0
  410. package/plugins/specweave/hooks/post-increment-status-change.sh +4 -0
  411. package/plugins/specweave/hooks/user-prompt-submit.sh +78 -0
  412. package/plugins/specweave/iac-templates/aws-lambda/README.md.hbs +280 -0
  413. package/plugins/specweave/iac-templates/aws-lambda/defaults.json +118 -0
  414. package/plugins/specweave/iac-templates/aws-lambda/environments/dev.defaults.json +46 -0
  415. package/plugins/specweave/iac-templates/aws-lambda/environments/prod.defaults.json +67 -0
  416. package/plugins/specweave/iac-templates/aws-lambda/environments/staging.defaults.json +47 -0
  417. package/plugins/specweave/iac-templates/aws-lambda/main.tf.hbs +241 -0
  418. package/plugins/specweave/iac-templates/aws-lambda/outputs.tf.hbs +61 -0
  419. package/plugins/specweave/iac-templates/aws-lambda/provider.tf.hbs +15 -0
  420. package/plugins/specweave/iac-templates/aws-lambda/variables.tf.hbs +88 -0
  421. package/plugins/specweave/iac-templates/azure-functions/README.md.hbs +315 -0
  422. package/plugins/specweave/iac-templates/azure-functions/defaults.json +65 -0
  423. package/plugins/specweave/iac-templates/azure-functions/environments/dev.defaults.json +30 -0
  424. package/plugins/specweave/iac-templates/azure-functions/environments/prod.defaults.json +34 -0
  425. package/plugins/specweave/iac-templates/azure-functions/environments/staging.defaults.json +31 -0
  426. package/plugins/specweave/iac-templates/azure-functions/iam.tf.hbs +34 -0
  427. package/plugins/specweave/iac-templates/azure-functions/main.tf.hbs +247 -0
  428. package/plugins/specweave/iac-templates/azure-functions/outputs.tf.hbs +72 -0
  429. package/plugins/specweave/iac-templates/azure-functions/provider.tf.hbs +14 -0
  430. package/plugins/specweave/iac-templates/azure-functions/variables.tf.hbs +64 -0
  431. package/plugins/specweave/iac-templates/firebase/README.md.hbs +487 -0
  432. package/plugins/specweave/iac-templates/firebase/defaults.json +55 -0
  433. package/plugins/specweave/iac-templates/firebase/environments/dev.defaults.json +44 -0
  434. package/plugins/specweave/iac-templates/firebase/environments/prod.defaults.json +52 -0
  435. package/plugins/specweave/iac-templates/firebase/environments/staging.defaults.json +43 -0
  436. package/plugins/specweave/iac-templates/firebase/iam.tf.hbs +75 -0
  437. package/plugins/specweave/iac-templates/firebase/main.tf.hbs +297 -0
  438. package/plugins/specweave/iac-templates/firebase/outputs.tf.hbs +67 -0
  439. package/plugins/specweave/iac-templates/firebase/provider.tf.hbs +26 -0
  440. package/plugins/specweave/iac-templates/firebase/variables.tf.hbs +68 -0
  441. package/plugins/specweave/iac-templates/gcp-cloud-functions/README.md.hbs +330 -0
  442. package/plugins/specweave/iac-templates/gcp-cloud-functions/defaults.json +69 -0
  443. package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/dev.defaults.json +33 -0
  444. package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/prod.defaults.json +40 -0
  445. package/plugins/specweave/iac-templates/gcp-cloud-functions/environments/staging.defaults.json +33 -0
  446. package/plugins/specweave/iac-templates/gcp-cloud-functions/iam.tf.hbs +54 -0
  447. package/plugins/specweave/iac-templates/gcp-cloud-functions/main.tf.hbs +211 -0
  448. package/plugins/specweave/iac-templates/gcp-cloud-functions/outputs.tf.hbs +44 -0
  449. package/plugins/specweave/iac-templates/gcp-cloud-functions/provider.tf.hbs +14 -0
  450. package/plugins/specweave/iac-templates/gcp-cloud-functions/variables.tf.hbs +82 -0
  451. package/plugins/specweave/iac-templates/supabase/README.md.hbs +534 -0
  452. package/plugins/specweave/iac-templates/supabase/defaults.json +69 -0
  453. package/plugins/specweave/iac-templates/supabase/environments/dev.defaults.json +55 -0
  454. package/plugins/specweave/iac-templates/supabase/environments/prod.defaults.json +75 -0
  455. package/plugins/specweave/iac-templates/supabase/environments/staging.defaults.json +54 -0
  456. package/plugins/specweave/iac-templates/supabase/iam.tf.hbs +146 -0
  457. package/plugins/specweave/iac-templates/supabase/main.tf.hbs +310 -0
  458. package/plugins/specweave/iac-templates/supabase/outputs.tf.hbs +74 -0
  459. package/plugins/specweave/iac-templates/supabase/provider.tf.hbs +19 -0
  460. package/plugins/specweave/iac-templates/supabase/variables.tf.hbs +78 -0
  461. package/plugins/specweave/knowledge-base/serverless/FRESHNESS.md +69 -0
  462. package/plugins/specweave/knowledge-base/serverless/learning-paths.json +865 -0
  463. package/plugins/specweave/knowledge-base/serverless/platforms/aws-lambda.json +41 -0
  464. package/plugins/specweave/knowledge-base/serverless/platforms/azure-functions.json +41 -0
  465. package/plugins/specweave/knowledge-base/serverless/platforms/firebase.json +46 -0
  466. package/plugins/specweave/knowledge-base/serverless/platforms/gcp-cloud-functions.json +41 -0
  467. package/plugins/specweave/knowledge-base/serverless/platforms/supabase.json +41 -0
  468. package/plugins/specweave/knowledge-base/serverless/schema.json +155 -0
  469. package/plugins/specweave/lib/hooks/auto-transition.js +50 -0
  470. package/plugins/specweave/lib/hooks/auto-transition.ts +84 -0
  471. package/plugins/specweave/lib/hooks/invoke-translator-skill.js +1 -1
  472. package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +1 -1
  473. package/plugins/specweave/lib/hooks/sync-living-docs.js +4 -31
  474. package/plugins/specweave/lib/hooks/{sync-living-docs.ts → sync-living-docs.ts.DISABLED} +9 -48
  475. package/plugins/specweave/lib/hooks/translate-file.js +1 -1
  476. package/plugins/specweave/lib/hooks/translate-file.ts +1 -1
  477. package/plugins/specweave/lib/hooks/update-ac-status.js +24 -75
  478. package/plugins/specweave/lib/hooks/update-ac-status.ts +46 -135
  479. package/plugins/specweave/lib/hooks/update-tasks-md.js +115 -3
  480. package/plugins/specweave/lib/hooks/update-tasks-md.ts +182 -10
  481. package/plugins/specweave/lib/utils/validate-dev-setup.sh +133 -0
  482. package/plugins/specweave/skills/increment-planner/SKILL.md +25 -15
  483. package/plugins/specweave/skills/serverless-recommender/SKILL.md +368 -0
  484. package/plugins/specweave/templates/iac/aws-lambda/templates/iam.tf.hbs +137 -0
  485. package/plugins/specweave/templates/iac/aws-lambda/templates/main.tf.hbs +216 -0
  486. package/plugins/specweave-github/lib/IssueStateManager.js +117 -0
  487. package/plugins/specweave-github/lib/IssueStateManager.ts +231 -0
  488. package/plugins/specweave-github/lib/user-story-issue-builder.js +7 -0
  489. package/plugins/specweave-github/lib/user-story-issue-builder.ts +11 -0
  490. package/plugins/specweave-ui/.mcp.json +0 -10
  491. package/plugins/specweave-ui/README.md +26 -26
  492. package/plugins/specweave-ui/skills/browser-automation/SKILL.md +31 -18
  493. package/src/templates/tasks.md.template +51 -33
  494. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +0 -89
  495. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +0 -1
  496. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +0 -226
  497. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +0 -1
  498. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +0 -60
  499. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +0 -1
  500. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +0 -201
  501. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +0 -1
  502. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +0 -42
  503. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +0 -1
  504. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +0 -123
  505. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +0 -1
  506. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +0 -45
  507. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +0 -1
  508. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +0 -132
  509. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +0 -1
  510. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +0 -33
  511. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +0 -1
  512. package/dist/plugins/specweave/lib/hooks/reflection-parser.js +0 -419
  513. package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +0 -1
  514. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +0 -56
  515. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +0 -1
  516. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +0 -239
  517. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +0 -1
  518. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +0 -64
  519. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +0 -1
  520. package/dist/plugins/specweave/lib/hooks/reflection-storage.js +0 -305
  521. package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +0 -1
  522. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +0 -43
  523. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +0 -1
  524. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +0 -203
  525. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +0 -1
  526. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +0 -32
  527. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +0 -1
  528. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +0 -405
  529. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +0 -1
  530. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +0 -59
  531. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +0 -1
  532. package/dist/plugins/specweave/lib/hooks/translate-file.js +0 -350
  533. package/dist/plugins/specweave/lib/hooks/translate-file.js.map +0 -1
  534. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +0 -13
  535. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +0 -1
  536. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +0 -175
  537. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +0 -1
  538. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +0 -164
  539. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +0 -1
  540. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +0 -73
  541. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +0 -1
  542. package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts +0 -21
  543. package/dist/plugins/specweave/lib/hooks/update-ac-status.d.ts.map +0 -1
  544. package/dist/plugins/specweave/lib/hooks/update-ac-status.js +0 -162
  545. package/dist/plugins/specweave/lib/hooks/update-ac-status.js.map +0 -1
  546. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +0 -29
  547. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +0 -1
  548. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +0 -203
  549. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +0 -1
  550. package/dist/src/core/living-docs/spec-distributor.d.ts +0 -180
  551. package/dist/src/core/living-docs/spec-distributor.d.ts.map +0 -1
  552. package/dist/src/core/living-docs/spec-distributor.js +0 -1840
  553. package/dist/src/core/living-docs/spec-distributor.js.map +0 -1
@@ -0,0 +1,506 @@
1
+ /**
2
+ * Compliance Standards Database
3
+ *
4
+ * Comprehensive database of 30+ compliance standards across:
5
+ * - Healthcare (8 standards)
6
+ * - Payment (6 standards)
7
+ * - Privacy (10 standards)
8
+ * - Government (7 standards)
9
+ * - Education (2 standards)
10
+ * - Financial (3 standards)
11
+ * - Infrastructure (1 standard)
12
+ *
13
+ * All intelligence is encoded at spec-time based on official documentation.
14
+ */
15
+ /**
16
+ * Healthcare compliance standards (8 total)
17
+ */
18
+ export const HEALTHCARE_STANDARDS = [
19
+ {
20
+ id: 'HIPAA',
21
+ name: 'Health Insurance Portability and Accountability Act',
22
+ dataTypes: ['healthcare'],
23
+ regions: ['US'],
24
+ teamImpact: ['auth-team', 'data-team', 'devsecops-team'],
25
+ costImpact: '$3K+/month minimum',
26
+ certificationRequired: true,
27
+ auditFrequency: 'annual',
28
+ description: 'US federal law requiring safeguards for protected health information (PHI). Requires BAA agreements, encryption, access controls, and audit logs.',
29
+ documentationUrl: 'https://www.hhs.gov/hipaa/index.html'
30
+ },
31
+ {
32
+ id: 'HITRUST',
33
+ name: 'Health Information Trust Alliance',
34
+ dataTypes: ['healthcare'],
35
+ regions: ['US', 'global'],
36
+ teamImpact: ['auth-team', 'data-team', 'devsecops-team', 'ciso'],
37
+ costImpact: '$5K+/month (certification $15K-$50K)',
38
+ certificationRequired: true,
39
+ auditFrequency: 'annual',
40
+ description: 'Comprehensive security framework for healthcare. More stringent than HIPAA, often required by hospitals and payers.',
41
+ documentationUrl: 'https://hitrustalliance.net/'
42
+ },
43
+ {
44
+ id: 'FDA-21-CFR-Part-11',
45
+ name: 'FDA 21 CFR Part 11 (Electronic Records)',
46
+ dataTypes: ['healthcare'],
47
+ regions: ['US'],
48
+ teamImpact: ['data-team', 'compliance-team'],
49
+ costImpact: '$2K+/month',
50
+ certificationRequired: false,
51
+ auditFrequency: 'continuous',
52
+ description: 'FDA regulation for electronic records and signatures in pharmaceutical and medical device industries.',
53
+ documentationUrl: 'https://www.fda.gov/regulatory-information/search-fda-guidance-documents/part-11-electronic-records-electronic-signatures-scope-and-application'
54
+ },
55
+ {
56
+ id: 'HL7-FHIR',
57
+ name: 'HL7 Fast Healthcare Interoperability Resources',
58
+ dataTypes: ['healthcare'],
59
+ regions: ['global'],
60
+ teamImpact: ['data-team'],
61
+ costImpact: '$1K+/month (implementation)',
62
+ certificationRequired: false,
63
+ auditFrequency: 'none',
64
+ description: 'Healthcare interoperability standard for exchanging electronic health records.',
65
+ documentationUrl: 'https://www.hl7.org/fhir/'
66
+ },
67
+ {
68
+ id: 'GDPR-Healthcare',
69
+ name: 'GDPR (Healthcare-specific requirements)',
70
+ dataTypes: ['healthcare', 'personal'],
71
+ regions: ['EU'],
72
+ teamImpact: ['data-team', 'dpo', 'privacy-engineering'],
73
+ costImpact: '$2K+/month + DPO ($500-$1K/month)',
74
+ certificationRequired: false,
75
+ auditFrequency: 'continuous',
76
+ description: 'GDPR with additional healthcare data protection requirements for EU patients.',
77
+ documentationUrl: 'https://gdpr.eu/'
78
+ },
79
+ {
80
+ id: 'PIPEDA-Healthcare',
81
+ name: 'PIPEDA (Healthcare)',
82
+ dataTypes: ['healthcare', 'personal'],
83
+ regions: ['CA'],
84
+ teamImpact: ['privacy-engineering'],
85
+ costImpact: '$1K+/month',
86
+ certificationRequired: false,
87
+ auditFrequency: 'annual',
88
+ description: 'Canadian privacy law for health information.',
89
+ documentationUrl: 'https://www.priv.gc.ca/en/privacy-topics/privacy-laws-in-canada/the-personal-information-protection-and-electronic-documents-act-pipeda/'
90
+ },
91
+ {
92
+ id: 'PHIPA',
93
+ name: 'Personal Health Information Protection Act',
94
+ dataTypes: ['healthcare'],
95
+ regions: ['CA-ON'],
96
+ teamImpact: ['privacy-engineering', 'data-team'],
97
+ costImpact: '$1K+/month',
98
+ certificationRequired: false,
99
+ auditFrequency: 'annual',
100
+ description: 'Ontario (Canada) provincial law governing healthcare privacy.',
101
+ documentationUrl: 'https://www.ontario.ca/laws/statute/04p03'
102
+ },
103
+ {
104
+ id: 'LGPD-Healthcare',
105
+ name: 'LGPD (Healthcare data)',
106
+ dataTypes: ['healthcare', 'personal'],
107
+ regions: ['BR'],
108
+ teamImpact: ['privacy-engineering', 'dpo'],
109
+ costImpact: '$1K+/month',
110
+ certificationRequired: false,
111
+ auditFrequency: 'annual',
112
+ description: 'Brazilian data protection law with specific healthcare provisions.',
113
+ documentationUrl: 'https://iapp.org/resources/article/brazilian-data-protection-law-lgpd-english-translation/'
114
+ }
115
+ ];
116
+ /**
117
+ * Payment compliance standards (6 total)
118
+ */
119
+ export const PAYMENT_STANDARDS = [
120
+ {
121
+ id: 'PCI-DSS',
122
+ name: 'Payment Card Industry Data Security Standard',
123
+ dataTypes: ['payment'],
124
+ regions: ['global'],
125
+ teamImpact: ['payments-team', 'devsecops-team', 'auth-team'],
126
+ costImpact: '$15K+/month OR use Stripe ($0 + 2.9% + $0.30/txn)',
127
+ certificationRequired: true,
128
+ auditFrequency: 'annual',
129
+ description: 'Security standard for organizations handling credit card data. Level 1-4 based on transaction volume.',
130
+ documentationUrl: 'https://www.pcisecuritystandards.org/'
131
+ },
132
+ {
133
+ id: 'PSD2',
134
+ name: 'Payment Services Directive 2',
135
+ dataTypes: ['payment', 'financial'],
136
+ regions: ['EU'],
137
+ teamImpact: ['payments-team', 'auth-team'],
138
+ costImpact: '$3K+/month',
139
+ certificationRequired: true,
140
+ auditFrequency: 'annual',
141
+ description: 'EU regulation for electronic payment services and strong customer authentication (SCA).',
142
+ documentationUrl: 'https://ec.europa.eu/info/law/payment-services-psd-2-directive-eu-2015-2366_en'
143
+ },
144
+ {
145
+ id: 'SOX',
146
+ name: 'Sarbanes-Oxley Act',
147
+ dataTypes: ['financial'],
148
+ regions: ['US'],
149
+ teamImpact: ['compliance-team', 'devsecops-team'],
150
+ costImpact: '$5K+/month (public companies)',
151
+ certificationRequired: false,
152
+ auditFrequency: 'annual',
153
+ description: 'US federal law for financial reporting accuracy in public companies.',
154
+ documentationUrl: 'https://www.sec.gov/spotlight/sarbanes-oxley.htm'
155
+ },
156
+ {
157
+ id: 'GLBA',
158
+ name: 'Gramm-Leach-Bliley Act',
159
+ dataTypes: ['financial', 'personal'],
160
+ regions: ['US'],
161
+ teamImpact: ['privacy-engineering', 'data-team'],
162
+ costImpact: '$2K+/month',
163
+ certificationRequired: false,
164
+ auditFrequency: 'annual',
165
+ description: 'US law requiring financial institutions to protect consumer financial information.',
166
+ documentationUrl: 'https://www.ftc.gov/business-guidance/privacy-security/gramm-leach-bliley-act'
167
+ },
168
+ {
169
+ id: 'FINRA',
170
+ name: 'Financial Industry Regulatory Authority',
171
+ dataTypes: ['financial'],
172
+ regions: ['US'],
173
+ teamImpact: ['compliance-team', 'data-team'],
174
+ costImpact: '$3K+/month',
175
+ certificationRequired: true,
176
+ auditFrequency: 'continuous',
177
+ description: 'Self-regulatory organization for US brokerage firms and exchange markets.',
178
+ documentationUrl: 'https://www.finra.org/'
179
+ },
180
+ {
181
+ id: 'AML-KYC',
182
+ name: 'Anti-Money Laundering / Know Your Customer',
183
+ dataTypes: ['financial', 'personal'],
184
+ regions: ['global'],
185
+ teamImpact: ['compliance-team', 'data-team'],
186
+ costImpact: '$2K+/month',
187
+ certificationRequired: false,
188
+ auditFrequency: 'continuous',
189
+ description: 'Global financial regulations requiring customer identity verification.',
190
+ documentationUrl: 'https://www.fincen.gov/'
191
+ }
192
+ ];
193
+ /**
194
+ * Privacy compliance standards (10 total)
195
+ */
196
+ export const PRIVACY_STANDARDS = [
197
+ {
198
+ id: 'GDPR',
199
+ name: 'General Data Protection Regulation',
200
+ dataTypes: ['personal'],
201
+ regions: ['EU'],
202
+ teamImpact: ['dpo', 'privacy-engineering'],
203
+ costImpact: '$500-$1K/month (DPO) + implementation',
204
+ certificationRequired: false,
205
+ auditFrequency: 'continuous',
206
+ description: 'EU data protection law requiring consent, data portability, right to be forgotten.',
207
+ documentationUrl: 'https://gdpr.eu/'
208
+ },
209
+ {
210
+ id: 'CCPA',
211
+ name: 'California Consumer Privacy Act',
212
+ dataTypes: ['personal'],
213
+ regions: ['US-CA'],
214
+ teamImpact: ['privacy-engineering'],
215
+ costImpact: '$500+/month',
216
+ certificationRequired: false,
217
+ auditFrequency: 'continuous',
218
+ description: 'California privacy law requiring disclosure, deletion, and opt-out rights.',
219
+ documentationUrl: 'https://oag.ca.gov/privacy/ccpa'
220
+ },
221
+ {
222
+ id: 'CPRA',
223
+ name: 'California Privacy Rights Act',
224
+ dataTypes: ['personal', 'sensitive'],
225
+ regions: ['US-CA'],
226
+ teamImpact: ['privacy-engineering', 'dpo'],
227
+ costImpact: '$1K+/month',
228
+ certificationRequired: false,
229
+ auditFrequency: 'continuous',
230
+ description: 'Enhanced California privacy law (CCPA 2.0) with additional sensitive data protections.',
231
+ documentationUrl: 'https://cppa.ca.gov/'
232
+ },
233
+ {
234
+ id: 'PIPEDA',
235
+ name: 'Personal Information Protection and Electronic Documents Act',
236
+ dataTypes: ['personal'],
237
+ regions: ['CA'],
238
+ teamImpact: ['privacy-engineering'],
239
+ costImpact: '$500+/month',
240
+ certificationRequired: false,
241
+ auditFrequency: 'annual',
242
+ description: 'Canadian federal privacy law for commercial activities.',
243
+ documentationUrl: 'https://www.priv.gc.ca/en/privacy-topics/privacy-laws-in-canada/the-personal-information-protection-and-electronic-documents-act-pipeda/'
244
+ },
245
+ {
246
+ id: 'LGPD',
247
+ name: 'Lei Geral de Proteção de Dados',
248
+ dataTypes: ['personal'],
249
+ regions: ['BR'],
250
+ teamImpact: ['dpo', 'privacy-engineering'],
251
+ costImpact: '$500+/month',
252
+ certificationRequired: false,
253
+ auditFrequency: 'annual',
254
+ description: 'Brazilian general data protection law (similar to GDPR).',
255
+ documentationUrl: 'https://iapp.org/resources/article/brazilian-data-protection-law-lgpd-english-translation/'
256
+ },
257
+ {
258
+ id: 'PDPA-Singapore',
259
+ name: 'Personal Data Protection Act (Singapore)',
260
+ dataTypes: ['personal'],
261
+ regions: ['SG'],
262
+ teamImpact: ['privacy-engineering'],
263
+ costImpact: '$500+/month',
264
+ certificationRequired: false,
265
+ auditFrequency: 'annual',
266
+ description: 'Singapore personal data protection law.',
267
+ documentationUrl: 'https://www.pdpc.gov.sg/'
268
+ },
269
+ {
270
+ id: 'PDPA-Thailand',
271
+ name: 'Personal Data Protection Act (Thailand)',
272
+ dataTypes: ['personal'],
273
+ regions: ['TH'],
274
+ teamImpact: ['privacy-engineering'],
275
+ costImpact: '$500+/month',
276
+ certificationRequired: false,
277
+ auditFrequency: 'annual',
278
+ description: 'Thailand personal data protection law.',
279
+ documentationUrl: 'https://www.pdpc.or.th/'
280
+ },
281
+ {
282
+ id: 'POPIA',
283
+ name: 'Protection of Personal Information Act',
284
+ dataTypes: ['personal'],
285
+ regions: ['ZA'],
286
+ teamImpact: ['privacy-engineering'],
287
+ costImpact: '$500+/month',
288
+ certificationRequired: false,
289
+ auditFrequency: 'annual',
290
+ description: 'South African data protection law.',
291
+ documentationUrl: 'https://popia.co.za/'
292
+ },
293
+ {
294
+ id: 'DPA-UK',
295
+ name: 'UK Data Protection Act',
296
+ dataTypes: ['personal'],
297
+ regions: ['UK'],
298
+ teamImpact: ['dpo', 'privacy-engineering'],
299
+ costImpact: '$500+/month',
300
+ certificationRequired: false,
301
+ auditFrequency: 'continuous',
302
+ description: 'UK data protection law (GDPR equivalent post-Brexit).',
303
+ documentationUrl: 'https://www.gov.uk/data-protection'
304
+ },
305
+ {
306
+ id: 'APPI',
307
+ name: 'Act on the Protection of Personal Information',
308
+ dataTypes: ['personal'],
309
+ regions: ['JP'],
310
+ teamImpact: ['privacy-engineering'],
311
+ costImpact: '$500+/month',
312
+ certificationRequired: false,
313
+ auditFrequency: 'annual',
314
+ description: 'Japanese personal data protection law.',
315
+ documentationUrl: 'https://www.ppc.go.jp/en/'
316
+ }
317
+ ];
318
+ /**
319
+ * Government compliance standards (7 total)
320
+ */
321
+ export const GOVERNMENT_STANDARDS = [
322
+ {
323
+ id: 'FedRAMP',
324
+ name: 'Federal Risk and Authorization Management Program',
325
+ dataTypes: ['government'],
326
+ regions: ['US'],
327
+ teamImpact: ['devsecops-team', 'ciso', 'compliance-team'],
328
+ costImpact: '$50K+/month (certification $250K-$5M)',
329
+ certificationRequired: true,
330
+ auditFrequency: 'continuous',
331
+ description: 'US government cloud security authorization program. Required for cloud services used by federal agencies.',
332
+ documentationUrl: 'https://www.fedramp.gov/'
333
+ },
334
+ {
335
+ id: 'FISMA',
336
+ name: 'Federal Information Security Management Act',
337
+ dataTypes: ['government'],
338
+ regions: ['US'],
339
+ teamImpact: ['devsecops-team', 'ciso'],
340
+ costImpact: '$10K+/month',
341
+ certificationRequired: false,
342
+ auditFrequency: 'annual',
343
+ description: 'US federal law for information security in government systems.',
344
+ documentationUrl: 'https://csrc.nist.gov/topics/laws-and-regulations/laws/fisma'
345
+ },
346
+ {
347
+ id: 'CMMC',
348
+ name: 'Cybersecurity Maturity Model Certification',
349
+ dataTypes: ['government'],
350
+ regions: ['US-DOD'],
351
+ teamImpact: ['devsecops-team', 'ciso', 'compliance-team'],
352
+ costImpact: '$20K+/month (certification $15K-$100K)',
353
+ certificationRequired: true,
354
+ auditFrequency: 'annual',
355
+ description: 'DoD cybersecurity certification for defense contractors.',
356
+ documentationUrl: 'https://dodcio.defense.gov/CMMC/'
357
+ },
358
+ {
359
+ id: 'ITAR',
360
+ name: 'International Traffic in Arms Regulations',
361
+ dataTypes: ['government'],
362
+ regions: ['US'],
363
+ teamImpact: ['compliance-team', 'data-team'],
364
+ costImpact: '$5K+/month',
365
+ certificationRequired: true,
366
+ auditFrequency: 'continuous',
367
+ description: 'US export control for defense-related articles and services.',
368
+ documentationUrl: 'https://www.pmddtc.state.gov/ddtc_public'
369
+ },
370
+ {
371
+ id: 'StateRAMP',
372
+ name: 'State Risk and Authorization Management Program',
373
+ dataTypes: ['government'],
374
+ regions: ['US-State'],
375
+ teamImpact: ['devsecops-team', 'ciso'],
376
+ costImpact: '$10K+/month',
377
+ certificationRequired: true,
378
+ auditFrequency: 'annual',
379
+ description: 'State-level FedRAMP equivalent for state and local government cloud services.',
380
+ documentationUrl: 'https://www.stateramp.org/'
381
+ },
382
+ {
383
+ id: 'NIST-800-171',
384
+ name: 'NIST Special Publication 800-171',
385
+ dataTypes: ['government'],
386
+ regions: ['US'],
387
+ teamImpact: ['devsecops-team'],
388
+ costImpact: '$3K+/month',
389
+ certificationRequired: false,
390
+ auditFrequency: 'continuous',
391
+ description: 'NIST framework for protecting Controlled Unclassified Information (CUI).',
392
+ documentationUrl: 'https://csrc.nist.gov/publications/detail/sp/800-171/rev-2/final'
393
+ },
394
+ {
395
+ id: 'CJIS',
396
+ name: 'Criminal Justice Information Services Security Policy',
397
+ dataTypes: ['government'],
398
+ regions: ['US'],
399
+ teamImpact: ['devsecops-team', 'auth-team'],
400
+ costImpact: '$5K+/month',
401
+ certificationRequired: true,
402
+ auditFrequency: 'annual',
403
+ description: 'FBI security policy for criminal justice information systems.',
404
+ documentationUrl: 'https://www.fbi.gov/services/cjis/cjis-security-policy-resource-center'
405
+ }
406
+ ];
407
+ /**
408
+ * Education compliance standards (2 total)
409
+ */
410
+ export const EDUCATION_STANDARDS = [
411
+ {
412
+ id: 'FERPA',
413
+ name: 'Family Educational Rights and Privacy Act',
414
+ dataTypes: ['student', 'personal'],
415
+ regions: ['US'],
416
+ teamImpact: ['privacy-engineering', 'data-team'],
417
+ costImpact: '$1K+/month',
418
+ certificationRequired: false,
419
+ auditFrequency: 'annual',
420
+ description: 'US federal law protecting student education records.',
421
+ documentationUrl: 'https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html'
422
+ },
423
+ {
424
+ id: 'COPPA',
425
+ name: "Children's Online Privacy Protection Act",
426
+ dataTypes: ['children', 'personal'],
427
+ regions: ['US'],
428
+ teamImpact: ['privacy-engineering', 'compliance-team'],
429
+ costImpact: '$1K+/month',
430
+ certificationRequired: false,
431
+ auditFrequency: 'continuous',
432
+ description: 'US law protecting children under 13 online. Requires parental consent.',
433
+ documentationUrl: 'https://www.ftc.gov/legal-library/browse/rules/childrens-online-privacy-protection-rule-coppa'
434
+ }
435
+ ];
436
+ /**
437
+ * Financial/security compliance standards (3 total)
438
+ */
439
+ export const FINANCIAL_SECURITY_STANDARDS = [
440
+ {
441
+ id: 'SOC2',
442
+ name: 'Service Organization Control 2',
443
+ dataTypes: ['personal', 'financial'],
444
+ regions: ['global'],
445
+ teamImpact: ['devsecops-team', 'ciso'],
446
+ costImpact: '$3K+/month (audit $20K-$100K)',
447
+ certificationRequired: true,
448
+ auditFrequency: 'annual',
449
+ description: 'AICPA security framework for service providers. Type I (design) or Type II (effectiveness).',
450
+ documentationUrl: 'https://www.aicpa.org/interestareas/frc/assuranceadvisoryservices/aicpasoc2report.html'
451
+ },
452
+ {
453
+ id: 'ISO-27001',
454
+ name: 'ISO/IEC 27001 Information Security Management',
455
+ dataTypes: ['personal'],
456
+ regions: ['global'],
457
+ teamImpact: ['devsecops-team', 'ciso'],
458
+ costImpact: '$5K+/month (certification $15K-$50K)',
459
+ certificationRequired: true,
460
+ auditFrequency: 'annual',
461
+ description: 'International standard for information security management systems (ISMS).',
462
+ documentationUrl: 'https://www.iso.org/isoiec-27001-information-security.html'
463
+ },
464
+ {
465
+ id: 'ISO-27701',
466
+ name: 'ISO/IEC 27701 Privacy Information Management',
467
+ dataTypes: ['personal'],
468
+ regions: ['global'],
469
+ teamImpact: ['privacy-engineering', 'dpo', 'ciso'],
470
+ costImpact: '$5K+/month (certification $20K-$60K)',
471
+ certificationRequired: true,
472
+ auditFrequency: 'annual',
473
+ description: 'Extension of ISO 27001 for privacy information management.',
474
+ documentationUrl: 'https://www.iso.org/standard/71670.html'
475
+ }
476
+ ];
477
+ /**
478
+ * Infrastructure compliance standards (1 total)
479
+ */
480
+ export const INFRASTRUCTURE_STANDARDS = [
481
+ {
482
+ id: 'NERC-CIP',
483
+ name: 'NERC Critical Infrastructure Protection',
484
+ dataTypes: ['sensitive'],
485
+ regions: ['US'],
486
+ teamImpact: ['devsecops-team', 'ciso', 'compliance-team'],
487
+ costImpact: '$10K+/month',
488
+ certificationRequired: true,
489
+ auditFrequency: 'continuous',
490
+ description: 'Cybersecurity standards for North American bulk electric system.',
491
+ documentationUrl: 'https://www.nerc.com/pa/Stand/Pages/CIPStandards.aspx'
492
+ }
493
+ ];
494
+ /**
495
+ * All compliance standards (37 total)
496
+ */
497
+ export const ALL_COMPLIANCE_STANDARDS = [
498
+ ...HEALTHCARE_STANDARDS,
499
+ ...PAYMENT_STANDARDS,
500
+ ...PRIVACY_STANDARDS,
501
+ ...GOVERNMENT_STANDARDS,
502
+ ...EDUCATION_STANDARDS,
503
+ ...FINANCIAL_SECURITY_STANDARDS,
504
+ ...INFRASTRUCTURE_STANDARDS
505
+ ];
506
+ //# sourceMappingURL=standards-database.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standards-database.js","sourceRoot":"","sources":["../../../../src/init/compliance/standards-database.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAyB;IACxD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,qDAAqD;QAC3D,SAAS,EAAE,CAAC,YAAY,CAAC;QACzB,OAAO,EAAE,CAAC,IAAI,CAA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,GAAG,wBAAwB;CAC5B,CAAC"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Types for Compliance Standards Detection
3
+ *
4
+ * Defines data types, compliance standards, team requirements,
5
+ * and all related types for the compliance detection system.
6
+ */
7
+ import { z } from 'zod';
8
+ /**
9
+ * Data types that trigger compliance requirements
10
+ */
11
+ export type DataType = 'healthcare' | 'payment' | 'personal' | 'government' | 'student' | 'financial' | 'biometric' | 'location' | 'children' | 'sensitive';
12
+ /**
13
+ * Team requirements driven by compliance
14
+ */
15
+ export type TeamRequirement = 'auth-team' | 'data-team' | 'devsecops-team' | 'ciso' | 'dpo' | 'privacy-engineering' | 'payments-team' | 'compliance-team';
16
+ /**
17
+ * Compliance standard definition
18
+ */
19
+ export interface ComplianceStandard {
20
+ /** Unique identifier (e.g., "HIPAA") */
21
+ id: string;
22
+ /** Full name of the standard */
23
+ name: string;
24
+ /** Data types that trigger this standard */
25
+ dataTypes: DataType[];
26
+ /** Regions where this standard applies */
27
+ regions: string[];
28
+ /** Team requirements for compliance */
29
+ teamImpact: TeamRequirement[];
30
+ /** Estimated cost impact */
31
+ costImpact: string;
32
+ /** Whether certification is required */
33
+ certificationRequired: boolean;
34
+ /** Audit frequency */
35
+ auditFrequency: 'annual' | 'quarterly' | 'continuous' | 'none';
36
+ /** Description and key requirements */
37
+ description?: string;
38
+ /** Official documentation URL */
39
+ documentationUrl?: string;
40
+ }
41
+ /**
42
+ * Compliance detection result
43
+ */
44
+ export interface ComplianceDetectionResult {
45
+ /** All detected standards */
46
+ standards: ComplianceStandard[];
47
+ /** Unique team requirements across all standards */
48
+ teamRequirements: TeamRequirement[];
49
+ /** Total estimated cost impact (combined) */
50
+ totalCostEstimate: string;
51
+ /** Recommendations for user */
52
+ recommendations: string[];
53
+ }
54
+ /**
55
+ * Zod schema for ComplianceStandard validation
56
+ */
57
+ export declare const ComplianceStandardSchema: z.ZodObject<{
58
+ id: z.ZodString;
59
+ name: z.ZodString;
60
+ dataTypes: z.ZodArray<z.ZodEnum<["healthcare", "payment", "personal", "government", "student", "financial", "biometric", "location", "children", "sensitive"]>, "many">;
61
+ regions: z.ZodArray<z.ZodString, "many">;
62
+ teamImpact: z.ZodArray<z.ZodEnum<["auth-team", "data-team", "devsecops-team", "ciso", "dpo", "privacy-engineering", "payments-team", "compliance-team"]>, "many">;
63
+ costImpact: z.ZodString;
64
+ certificationRequired: z.ZodBoolean;
65
+ auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
66
+ description: z.ZodOptional<z.ZodString>;
67
+ documentationUrl: z.ZodOptional<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ name?: string;
70
+ description?: string;
71
+ id?: string;
72
+ dataTypes?: ("location" | "payment" | "healthcare" | "personal" | "government" | "student" | "financial" | "biometric" | "children" | "sensitive")[];
73
+ regions?: string[];
74
+ teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
75
+ costImpact?: string;
76
+ certificationRequired?: boolean;
77
+ auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
78
+ documentationUrl?: string;
79
+ }, {
80
+ name?: string;
81
+ description?: string;
82
+ id?: string;
83
+ dataTypes?: ("location" | "payment" | "healthcare" | "personal" | "government" | "student" | "financial" | "biometric" | "children" | "sensitive")[];
84
+ regions?: string[];
85
+ teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
86
+ costImpact?: string;
87
+ certificationRequired?: boolean;
88
+ auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
89
+ documentationUrl?: string;
90
+ }>;
91
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/init/compliance/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GA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 /**
2
+ * Types for Compliance Standards Detection
3
+ *
4
+ * Defines data types, compliance standards, team requirements,
5
+ * and all related types for the compliance detection system.
6
+ */
7
+ import { z } from 'zod';
8
+ /**
9
+ * Zod schema for ComplianceStandard validation
10
+ */
11
+ export const ComplianceStandardSchema = z.object({
12
+ id: z.string(),
13
+ name: z.string(),
14
+ dataTypes: z.array(z.enum([
15
+ 'healthcare',
16
+ 'payment',
17
+ 'personal',
18
+ 'government',
19
+ 'student',
20
+ 'financial',
21
+ 'biometric',
22
+ 'location',
23
+ 'children',
24
+ 'sensitive'
25
+ ])),
26
+ regions: z.array(z.string()),
27
+ teamImpact: z.array(z.enum([
28
+ 'auth-team',
29
+ 'data-team',
30
+ 'devsecops-team',
31
+ 'ciso',
32
+ 'dpo',
33
+ 'privacy-engineering',
34
+ 'payments-team',
35
+ 'compliance-team'
36
+ ])),
37
+ costImpact: z.string(),
38
+ certificationRequired: z.boolean(),
39
+ auditFrequency: z.enum(['annual', 'quarterly', 'continuous', 'none']),
40
+ description: z.string().optional(),
41
+ documentationUrl: z.string().url().optional()
42
+ });
43
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/init/compliance/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkFxB;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QACxB,YAAY;QACZ,SAAS;QACT,UAAU;QACV,YAAY;QACZ,SAAS;QACT,WAAW;QACX,WAAW;QACX,UAAU;QACV,UAAU;QACV,WAAW;KACZ,CAAC,CAAC;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QACzB,WAAW;QACX,WAAW;QACX,gBAAgB;QAChB,MAAM;QACN,KAAK;QACL,qBAAqB;QACrB,eAAe;QACf,iBAAiB;KAClB,CAAC,CAAC;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,qBAAqB,EAAE,CAAC,CAAC,OAAO,EAAE;IAClC,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;IACrE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC"}