driftdetect-core 0.5.0 → 0.6.1

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 (350) hide show
  1. package/dist/boundaries/types.d.ts +1 -1
  2. package/dist/boundaries/types.d.ts.map +1 -1
  3. package/dist/call-graph/analysis/graph-builder.d.ts.map +1 -1
  4. package/dist/call-graph/analysis/graph-builder.js +1 -0
  5. package/dist/call-graph/analysis/graph-builder.js.map +1 -1
  6. package/dist/call-graph/extractors/go-data-access-extractor.d.ts +80 -0
  7. package/dist/call-graph/extractors/go-data-access-extractor.d.ts.map +1 -0
  8. package/dist/call-graph/extractors/go-data-access-extractor.js +457 -0
  9. package/dist/call-graph/extractors/go-data-access-extractor.js.map +1 -0
  10. package/dist/call-graph/extractors/go-extractor.d.ts +103 -0
  11. package/dist/call-graph/extractors/go-extractor.d.ts.map +1 -0
  12. package/dist/call-graph/extractors/go-extractor.js +509 -0
  13. package/dist/call-graph/extractors/go-extractor.js.map +1 -0
  14. package/dist/call-graph/extractors/go-hybrid-extractor.d.ts +97 -0
  15. package/dist/call-graph/extractors/go-hybrid-extractor.d.ts.map +1 -0
  16. package/dist/call-graph/extractors/go-hybrid-extractor.js +496 -0
  17. package/dist/call-graph/extractors/go-hybrid-extractor.js.map +1 -0
  18. package/dist/call-graph/extractors/regex/go-regex.d.ts +51 -0
  19. package/dist/call-graph/extractors/regex/go-regex.d.ts.map +1 -0
  20. package/dist/call-graph/extractors/regex/go-regex.js +435 -0
  21. package/dist/call-graph/extractors/regex/go-regex.js.map +1 -0
  22. package/dist/call-graph/extractors/regex/index.d.ts +1 -0
  23. package/dist/call-graph/extractors/regex/index.d.ts.map +1 -1
  24. package/dist/call-graph/extractors/regex/index.js +8 -0
  25. package/dist/call-graph/extractors/regex/index.js.map +1 -1
  26. package/dist/call-graph/index.d.ts +3 -0
  27. package/dist/call-graph/index.d.ts.map +1 -1
  28. package/dist/call-graph/index.js +5 -0
  29. package/dist/call-graph/index.js.map +1 -1
  30. package/dist/call-graph/types.d.ts +1 -1
  31. package/dist/call-graph/types.d.ts.map +1 -1
  32. package/dist/constraints/extraction/constraint-synthesizer.d.ts +72 -0
  33. package/dist/constraints/extraction/constraint-synthesizer.d.ts.map +1 -0
  34. package/dist/constraints/extraction/constraint-synthesizer.js +336 -0
  35. package/dist/constraints/extraction/constraint-synthesizer.js.map +1 -0
  36. package/dist/constraints/extraction/index.d.ts +10 -0
  37. package/dist/constraints/extraction/index.d.ts.map +1 -0
  38. package/dist/constraints/extraction/index.js +10 -0
  39. package/dist/constraints/extraction/index.js.map +1 -0
  40. package/dist/constraints/extraction/invariant-detector.d.ts +109 -0
  41. package/dist/constraints/extraction/invariant-detector.d.ts.map +1 -0
  42. package/dist/constraints/extraction/invariant-detector.js +979 -0
  43. package/dist/constraints/extraction/invariant-detector.js.map +1 -0
  44. package/dist/constraints/index.d.ts +15 -0
  45. package/dist/constraints/index.d.ts.map +1 -0
  46. package/dist/constraints/index.js +16 -0
  47. package/dist/constraints/index.js.map +1 -0
  48. package/dist/constraints/store/constraint-store.d.ts +110 -0
  49. package/dist/constraints/store/constraint-store.d.ts.map +1 -0
  50. package/dist/constraints/store/constraint-store.js +584 -0
  51. package/dist/constraints/store/constraint-store.js.map +1 -0
  52. package/dist/constraints/types.d.ts +605 -0
  53. package/dist/constraints/types.d.ts.map +1 -0
  54. package/dist/constraints/types.js +57 -0
  55. package/dist/constraints/types.js.map +1 -0
  56. package/dist/constraints/verification/constraint-verifier.d.ts +100 -0
  57. package/dist/constraints/verification/constraint-verifier.d.ts.map +1 -0
  58. package/dist/constraints/verification/constraint-verifier.js +638 -0
  59. package/dist/constraints/verification/constraint-verifier.js.map +1 -0
  60. package/dist/constraints/verification/index.d.ts +8 -0
  61. package/dist/constraints/verification/index.d.ts.map +1 -0
  62. package/dist/constraints/verification/index.js +8 -0
  63. package/dist/constraints/verification/index.js.map +1 -0
  64. package/dist/decisions/analyzer/decision-mining-analyzer.d.ts +121 -0
  65. package/dist/decisions/analyzer/decision-mining-analyzer.d.ts.map +1 -0
  66. package/dist/decisions/analyzer/decision-mining-analyzer.js +904 -0
  67. package/dist/decisions/analyzer/decision-mining-analyzer.js.map +1 -0
  68. package/dist/decisions/analyzer/index.d.ts +5 -0
  69. package/dist/decisions/analyzer/index.d.ts.map +1 -0
  70. package/dist/decisions/analyzer/index.js +5 -0
  71. package/dist/decisions/analyzer/index.js.map +1 -0
  72. package/dist/decisions/extractors/base-commit-extractor.d.ts +104 -0
  73. package/dist/decisions/extractors/base-commit-extractor.d.ts.map +1 -0
  74. package/dist/decisions/extractors/base-commit-extractor.js +305 -0
  75. package/dist/decisions/extractors/base-commit-extractor.js.map +1 -0
  76. package/dist/decisions/extractors/csharp-commit-extractor.d.ts +18 -0
  77. package/dist/decisions/extractors/csharp-commit-extractor.d.ts.map +1 -0
  78. package/dist/decisions/extractors/csharp-commit-extractor.js +281 -0
  79. package/dist/decisions/extractors/csharp-commit-extractor.js.map +1 -0
  80. package/dist/decisions/extractors/index.d.ts +31 -0
  81. package/dist/decisions/extractors/index.d.ts.map +1 -0
  82. package/dist/decisions/extractors/index.js +63 -0
  83. package/dist/decisions/extractors/index.js.map +1 -0
  84. package/dist/decisions/extractors/java-commit-extractor.d.ts +18 -0
  85. package/dist/decisions/extractors/java-commit-extractor.d.ts.map +1 -0
  86. package/dist/decisions/extractors/java-commit-extractor.js +248 -0
  87. package/dist/decisions/extractors/java-commit-extractor.js.map +1 -0
  88. package/dist/decisions/extractors/php-commit-extractor.d.ts +18 -0
  89. package/dist/decisions/extractors/php-commit-extractor.d.ts.map +1 -0
  90. package/dist/decisions/extractors/php-commit-extractor.js +280 -0
  91. package/dist/decisions/extractors/php-commit-extractor.js.map +1 -0
  92. package/dist/decisions/extractors/python-commit-extractor.d.ts +18 -0
  93. package/dist/decisions/extractors/python-commit-extractor.d.ts.map +1 -0
  94. package/dist/decisions/extractors/python-commit-extractor.js +248 -0
  95. package/dist/decisions/extractors/python-commit-extractor.js.map +1 -0
  96. package/dist/decisions/extractors/typescript-commit-extractor.d.ts +37 -0
  97. package/dist/decisions/extractors/typescript-commit-extractor.d.ts.map +1 -0
  98. package/dist/decisions/extractors/typescript-commit-extractor.js +229 -0
  99. package/dist/decisions/extractors/typescript-commit-extractor.js.map +1 -0
  100. package/dist/decisions/git/commit-parser.d.ts +58 -0
  101. package/dist/decisions/git/commit-parser.d.ts.map +1 -0
  102. package/dist/decisions/git/commit-parser.js +344 -0
  103. package/dist/decisions/git/commit-parser.js.map +1 -0
  104. package/dist/decisions/git/diff-analyzer.d.ts +30 -0
  105. package/dist/decisions/git/diff-analyzer.d.ts.map +1 -0
  106. package/dist/decisions/git/diff-analyzer.js +492 -0
  107. package/dist/decisions/git/diff-analyzer.js.map +1 -0
  108. package/dist/decisions/git/git-walker.d.ts +64 -0
  109. package/dist/decisions/git/git-walker.d.ts.map +1 -0
  110. package/dist/decisions/git/git-walker.js +441 -0
  111. package/dist/decisions/git/git-walker.js.map +1 -0
  112. package/dist/decisions/git/index.d.ts +11 -0
  113. package/dist/decisions/git/index.d.ts.map +1 -0
  114. package/dist/decisions/git/index.js +13 -0
  115. package/dist/decisions/git/index.js.map +1 -0
  116. package/dist/decisions/git/types.d.ts +223 -0
  117. package/dist/decisions/git/types.d.ts.map +1 -0
  118. package/dist/decisions/git/types.js +7 -0
  119. package/dist/decisions/git/types.js.map +1 -0
  120. package/dist/decisions/index.d.ts +27 -0
  121. package/dist/decisions/index.d.ts.map +1 -0
  122. package/dist/decisions/index.js +45 -0
  123. package/dist/decisions/index.js.map +1 -0
  124. package/dist/decisions/types.d.ts +530 -0
  125. package/dist/decisions/types.d.ts.map +1 -0
  126. package/dist/decisions/types.js +8 -0
  127. package/dist/decisions/types.js.map +1 -0
  128. package/dist/go/go-analyzer.d.ts +203 -0
  129. package/dist/go/go-analyzer.d.ts.map +1 -0
  130. package/dist/go/go-analyzer.js +509 -0
  131. package/dist/go/go-analyzer.js.map +1 -0
  132. package/dist/go/index.d.ts +7 -0
  133. package/dist/go/index.d.ts.map +1 -0
  134. package/dist/go/index.js +8 -0
  135. package/dist/go/index.js.map +1 -0
  136. package/dist/index.d.ts +11 -0
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/index.js +56 -0
  139. package/dist/index.js.map +1 -1
  140. package/dist/parsers/tree-sitter/go-loader.d.ts +50 -0
  141. package/dist/parsers/tree-sitter/go-loader.d.ts.map +1 -0
  142. package/dist/parsers/tree-sitter/go-loader.js +161 -0
  143. package/dist/parsers/tree-sitter/go-loader.js.map +1 -0
  144. package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts +250 -0
  145. package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts.map +1 -0
  146. package/dist/parsers/tree-sitter/tree-sitter-go-parser.js +707 -0
  147. package/dist/parsers/tree-sitter/tree-sitter-go-parser.js.map +1 -0
  148. package/dist/parsers/types.d.ts +1 -1
  149. package/dist/parsers/types.d.ts.map +1 -1
  150. package/dist/simulation/approach-generator.d.ts +73 -0
  151. package/dist/simulation/approach-generator.d.ts.map +1 -0
  152. package/dist/simulation/approach-generator.js +371 -0
  153. package/dist/simulation/approach-generator.js.map +1 -0
  154. package/dist/simulation/index.d.ts +14 -0
  155. package/dist/simulation/index.d.ts.map +1 -0
  156. package/dist/simulation/index.js +19 -0
  157. package/dist/simulation/index.js.map +1 -0
  158. package/dist/simulation/language-strategies/csharp-strategies.d.ts +17 -0
  159. package/dist/simulation/language-strategies/csharp-strategies.d.ts.map +1 -0
  160. package/dist/simulation/language-strategies/csharp-strategies.js +118 -0
  161. package/dist/simulation/language-strategies/csharp-strategies.js.map +1 -0
  162. package/dist/simulation/language-strategies/index.d.ts +41 -0
  163. package/dist/simulation/language-strategies/index.d.ts.map +1 -0
  164. package/dist/simulation/language-strategies/index.js +92 -0
  165. package/dist/simulation/language-strategies/index.js.map +1 -0
  166. package/dist/simulation/language-strategies/java-strategies.d.ts +17 -0
  167. package/dist/simulation/language-strategies/java-strategies.d.ts.map +1 -0
  168. package/dist/simulation/language-strategies/java-strategies.js +119 -0
  169. package/dist/simulation/language-strategies/java-strategies.js.map +1 -0
  170. package/dist/simulation/language-strategies/php-strategies.d.ts +17 -0
  171. package/dist/simulation/language-strategies/php-strategies.d.ts.map +1 -0
  172. package/dist/simulation/language-strategies/php-strategies.js +129 -0
  173. package/dist/simulation/language-strategies/php-strategies.js.map +1 -0
  174. package/dist/simulation/language-strategies/python-strategies.d.ts +17 -0
  175. package/dist/simulation/language-strategies/python-strategies.d.ts.map +1 -0
  176. package/dist/simulation/language-strategies/python-strategies.js +208 -0
  177. package/dist/simulation/language-strategies/python-strategies.js.map +1 -0
  178. package/dist/simulation/language-strategies/types.d.ts +67 -0
  179. package/dist/simulation/language-strategies/types.d.ts.map +1 -0
  180. package/dist/simulation/language-strategies/types.js +23 -0
  181. package/dist/simulation/language-strategies/types.js.map +1 -0
  182. package/dist/simulation/language-strategies/typescript-strategies.d.ts +17 -0
  183. package/dist/simulation/language-strategies/typescript-strategies.d.ts.map +1 -0
  184. package/dist/simulation/language-strategies/typescript-strategies.js +251 -0
  185. package/dist/simulation/language-strategies/typescript-strategies.js.map +1 -0
  186. package/dist/simulation/scorers/friction-scorer.d.ts +45 -0
  187. package/dist/simulation/scorers/friction-scorer.d.ts.map +1 -0
  188. package/dist/simulation/scorers/friction-scorer.js +336 -0
  189. package/dist/simulation/scorers/friction-scorer.js.map +1 -0
  190. package/dist/simulation/scorers/impact-scorer.d.ts +56 -0
  191. package/dist/simulation/scorers/impact-scorer.d.ts.map +1 -0
  192. package/dist/simulation/scorers/impact-scorer.js +273 -0
  193. package/dist/simulation/scorers/impact-scorer.js.map +1 -0
  194. package/dist/simulation/scorers/index.d.ts +12 -0
  195. package/dist/simulation/scorers/index.d.ts.map +1 -0
  196. package/dist/simulation/scorers/index.js +12 -0
  197. package/dist/simulation/scorers/index.js.map +1 -0
  198. package/dist/simulation/scorers/pattern-alignment-scorer.d.ts +83 -0
  199. package/dist/simulation/scorers/pattern-alignment-scorer.d.ts.map +1 -0
  200. package/dist/simulation/scorers/pattern-alignment-scorer.js +367 -0
  201. package/dist/simulation/scorers/pattern-alignment-scorer.js.map +1 -0
  202. package/dist/simulation/scorers/security-scorer.d.ts +63 -0
  203. package/dist/simulation/scorers/security-scorer.d.ts.map +1 -0
  204. package/dist/simulation/scorers/security-scorer.js +346 -0
  205. package/dist/simulation/scorers/security-scorer.js.map +1 -0
  206. package/dist/simulation/simulation-engine.d.ts +89 -0
  207. package/dist/simulation/simulation-engine.d.ts.map +1 -0
  208. package/dist/simulation/simulation-engine.js +480 -0
  209. package/dist/simulation/simulation-engine.js.map +1 -0
  210. package/dist/simulation/types.d.ts +200 -0
  211. package/dist/simulation/types.d.ts.map +1 -0
  212. package/dist/simulation/types.js +23 -0
  213. package/dist/simulation/types.js.map +1 -0
  214. package/dist/speculative/approach-generator.d.ts +2 -0
  215. package/dist/speculative/approach-generator.d.ts.map +1 -0
  216. package/dist/speculative/approach-generator.js +2 -0
  217. package/dist/speculative/approach-generator.js.map +1 -0
  218. package/dist/speculative/templates/types.d.ts +133 -0
  219. package/dist/speculative/templates/types.d.ts.map +1 -0
  220. package/dist/speculative/templates/types.js +208 -0
  221. package/dist/speculative/templates/types.js.map +1 -0
  222. package/dist/speculative/types.d.ts +523 -0
  223. package/dist/speculative/types.d.ts.map +1 -0
  224. package/dist/speculative/types.js +71 -0
  225. package/dist/speculative/types.js.map +1 -0
  226. package/dist/test-topology/extractors/base-test-extractor.d.ts +1 -1
  227. package/dist/test-topology/extractors/base-test-extractor.d.ts.map +1 -1
  228. package/dist/test-topology/extractors/base-test-extractor.js.map +1 -1
  229. package/dist/test-topology/extractors/go-test-extractor.d.ts +33 -0
  230. package/dist/test-topology/extractors/go-test-extractor.d.ts.map +1 -0
  231. package/dist/test-topology/extractors/go-test-extractor.js +436 -0
  232. package/dist/test-topology/extractors/go-test-extractor.js.map +1 -0
  233. package/dist/test-topology/extractors/index.d.ts +1 -0
  234. package/dist/test-topology/extractors/index.d.ts.map +1 -1
  235. package/dist/test-topology/extractors/index.js +1 -0
  236. package/dist/test-topology/extractors/index.js.map +1 -1
  237. package/dist/test-topology/extractors/regex/go-test-regex.d.ts +62 -0
  238. package/dist/test-topology/extractors/regex/go-test-regex.d.ts.map +1 -0
  239. package/dist/test-topology/extractors/regex/go-test-regex.js +528 -0
  240. package/dist/test-topology/extractors/regex/go-test-regex.js.map +1 -0
  241. package/dist/test-topology/extractors/regex/index.d.ts +1 -0
  242. package/dist/test-topology/extractors/regex/index.d.ts.map +1 -1
  243. package/dist/test-topology/extractors/regex/index.js +4 -0
  244. package/dist/test-topology/extractors/regex/index.js.map +1 -1
  245. package/dist/test-topology/hybrid-test-topology-analyzer.d.ts.map +1 -1
  246. package/dist/test-topology/hybrid-test-topology-analyzer.js +1 -0
  247. package/dist/test-topology/hybrid-test-topology-analyzer.js.map +1 -1
  248. package/dist/test-topology/test-topology-analyzer.d.ts.map +1 -1
  249. package/dist/test-topology/test-topology-analyzer.js +1 -0
  250. package/dist/test-topology/test-topology-analyzer.js.map +1 -1
  251. package/dist/test-topology/types.d.ts +2 -2
  252. package/dist/test-topology/types.d.ts.map +1 -1
  253. package/dist/unified-provider/matching/database-sql-matcher.d.ts +42 -0
  254. package/dist/unified-provider/matching/database-sql-matcher.d.ts.map +1 -0
  255. package/dist/unified-provider/matching/database-sql-matcher.js +282 -0
  256. package/dist/unified-provider/matching/database-sql-matcher.js.map +1 -0
  257. package/dist/unified-provider/matching/gorm-matcher.d.ts +41 -0
  258. package/dist/unified-provider/matching/gorm-matcher.d.ts.map +1 -0
  259. package/dist/unified-provider/matching/gorm-matcher.js +222 -0
  260. package/dist/unified-provider/matching/gorm-matcher.js.map +1 -0
  261. package/dist/unified-provider/matching/index.d.ts +3 -0
  262. package/dist/unified-provider/matching/index.d.ts.map +1 -1
  263. package/dist/unified-provider/matching/index.js +4 -0
  264. package/dist/unified-provider/matching/index.js.map +1 -1
  265. package/dist/unified-provider/matching/matcher-registry.d.ts.map +1 -1
  266. package/dist/unified-provider/matching/matcher-registry.js +7 -0
  267. package/dist/unified-provider/matching/matcher-registry.js.map +1 -1
  268. package/dist/unified-provider/matching/sqlx-matcher.d.ts +40 -0
  269. package/dist/unified-provider/matching/sqlx-matcher.d.ts.map +1 -0
  270. package/dist/unified-provider/matching/sqlx-matcher.js +214 -0
  271. package/dist/unified-provider/matching/sqlx-matcher.js.map +1 -0
  272. package/dist/unified-provider/normalization/go-normalizer.d.ts +62 -0
  273. package/dist/unified-provider/normalization/go-normalizer.d.ts.map +1 -0
  274. package/dist/unified-provider/normalization/go-normalizer.js +608 -0
  275. package/dist/unified-provider/normalization/go-normalizer.js.map +1 -0
  276. package/dist/unified-provider/normalization/index.d.ts +1 -0
  277. package/dist/unified-provider/normalization/index.d.ts.map +1 -1
  278. package/dist/unified-provider/normalization/index.js +6 -1
  279. package/dist/unified-provider/normalization/index.js.map +1 -1
  280. package/dist/unified-provider/types.d.ts +1 -1
  281. package/dist/unified-provider/types.d.ts.map +1 -1
  282. package/dist/wpf/extractors/binding-error-detector.d.ts +75 -0
  283. package/dist/wpf/extractors/binding-error-detector.d.ts.map +1 -0
  284. package/dist/wpf/extractors/binding-error-detector.js +290 -0
  285. package/dist/wpf/extractors/binding-error-detector.js.map +1 -0
  286. package/dist/wpf/extractors/code-behind-linker.d.ts +70 -0
  287. package/dist/wpf/extractors/code-behind-linker.d.ts.map +1 -0
  288. package/dist/wpf/extractors/code-behind-linker.js +172 -0
  289. package/dist/wpf/extractors/code-behind-linker.js.map +1 -0
  290. package/dist/wpf/extractors/dependency-property-extractor.d.ts +61 -0
  291. package/dist/wpf/extractors/dependency-property-extractor.d.ts.map +1 -0
  292. package/dist/wpf/extractors/dependency-property-extractor.js +201 -0
  293. package/dist/wpf/extractors/dependency-property-extractor.js.map +1 -0
  294. package/dist/wpf/extractors/regex/viewmodel-regex.d.ts +82 -0
  295. package/dist/wpf/extractors/regex/viewmodel-regex.d.ts.map +1 -0
  296. package/dist/wpf/extractors/regex/viewmodel-regex.js +412 -0
  297. package/dist/wpf/extractors/regex/viewmodel-regex.js.map +1 -0
  298. package/dist/wpf/extractors/regex/xaml-regex.d.ts +77 -0
  299. package/dist/wpf/extractors/regex/xaml-regex.d.ts.map +1 -0
  300. package/dist/wpf/extractors/regex/xaml-regex.js +353 -0
  301. package/dist/wpf/extractors/regex/xaml-regex.js.map +1 -0
  302. package/dist/wpf/extractors/resource-dictionary-parser.d.ts +103 -0
  303. package/dist/wpf/extractors/resource-dictionary-parser.d.ts.map +1 -0
  304. package/dist/wpf/extractors/resource-dictionary-parser.js +296 -0
  305. package/dist/wpf/extractors/resource-dictionary-parser.js.map +1 -0
  306. package/dist/wpf/extractors/value-converter-extractor.d.ts +128 -0
  307. package/dist/wpf/extractors/value-converter-extractor.d.ts.map +1 -0
  308. package/dist/wpf/extractors/value-converter-extractor.js +312 -0
  309. package/dist/wpf/extractors/value-converter-extractor.js.map +1 -0
  310. package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts +104 -0
  311. package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts.map +1 -0
  312. package/dist/wpf/extractors/viewmodel-hybrid-extractor.js +513 -0
  313. package/dist/wpf/extractors/viewmodel-hybrid-extractor.js.map +1 -0
  314. package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts +98 -0
  315. package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts.map +1 -0
  316. package/dist/wpf/extractors/xaml-hybrid-extractor.js +444 -0
  317. package/dist/wpf/extractors/xaml-hybrid-extractor.js.map +1 -0
  318. package/dist/wpf/index.d.ts +25 -0
  319. package/dist/wpf/index.d.ts.map +1 -0
  320. package/dist/wpf/index.js +31 -0
  321. package/dist/wpf/index.js.map +1 -0
  322. package/dist/wpf/integration/wpf-callgraph-adapter.d.ts +82 -0
  323. package/dist/wpf/integration/wpf-callgraph-adapter.d.ts.map +1 -0
  324. package/dist/wpf/integration/wpf-callgraph-adapter.js +311 -0
  325. package/dist/wpf/integration/wpf-callgraph-adapter.js.map +1 -0
  326. package/dist/wpf/integration/wpf-data-flow-tracer.d.ts +129 -0
  327. package/dist/wpf/integration/wpf-data-flow-tracer.d.ts.map +1 -0
  328. package/dist/wpf/integration/wpf-data-flow-tracer.js +367 -0
  329. package/dist/wpf/integration/wpf-data-flow-tracer.js.map +1 -0
  330. package/dist/wpf/linkers/datacontext-resolver.d.ts +66 -0
  331. package/dist/wpf/linkers/datacontext-resolver.d.ts.map +1 -0
  332. package/dist/wpf/linkers/datacontext-resolver.js +240 -0
  333. package/dist/wpf/linkers/datacontext-resolver.js.map +1 -0
  334. package/dist/wpf/linkers/viewmodel-linker.d.ts +71 -0
  335. package/dist/wpf/linkers/viewmodel-linker.d.ts.map +1 -0
  336. package/dist/wpf/linkers/viewmodel-linker.js +268 -0
  337. package/dist/wpf/linkers/viewmodel-linker.js.map +1 -0
  338. package/dist/wpf/types.d.ts +451 -0
  339. package/dist/wpf/types.d.ts.map +1 -0
  340. package/dist/wpf/types.js +8 -0
  341. package/dist/wpf/types.js.map +1 -0
  342. package/dist/wpf/wpf-analyzer.d.ts +114 -0
  343. package/dist/wpf/wpf-analyzer.d.ts.map +1 -0
  344. package/dist/wpf/wpf-analyzer.js +332 -0
  345. package/dist/wpf/wpf-analyzer.js.map +1 -0
  346. package/dist/wrappers/integration/adapter.d.ts.map +1 -1
  347. package/dist/wrappers/integration/adapter.js +1 -0
  348. package/dist/wrappers/integration/adapter.js.map +1 -1
  349. package/package.json +29 -18
  350. package/LICENSE +0 -21
@@ -0,0 +1,605 @@
1
+ /**
2
+ * Constraint Protocol Types
3
+ *
4
+ * Defines all types for the architectural constraint system.
5
+ * Constraints are learned invariants that MUST be satisfied,
6
+ * derived from patterns, call graphs, boundaries, and test topology.
7
+ */
8
+ import type { PatternCategory } from '../store/types.js';
9
+ /**
10
+ * A constraint represents an architectural invariant learned from the codebase.
11
+ * Unlike patterns (which describe what IS), constraints enforce what MUST BE.
12
+ */
13
+ export interface Constraint {
14
+ /** Unique identifier */
15
+ id: string;
16
+ /** Human-readable name */
17
+ name: string;
18
+ /** Detailed description */
19
+ description: string;
20
+ /** Constraint category */
21
+ category: ConstraintCategory;
22
+ /** What this constraint was derived from */
23
+ derivedFrom: ConstraintSource;
24
+ /** The invariant being enforced */
25
+ invariant: ConstraintInvariant;
26
+ /** Where this constraint applies */
27
+ scope: ConstraintScope;
28
+ /** Confidence metrics */
29
+ confidence: ConstraintConfidence;
30
+ /** Enforcement configuration */
31
+ enforcement: ConstraintEnforcement;
32
+ /** Lifecycle status */
33
+ status: ConstraintStatus;
34
+ /** Language this constraint applies to (or 'all') */
35
+ language: ConstraintLanguage;
36
+ /** Metadata */
37
+ metadata: ConstraintMetadata;
38
+ }
39
+ /**
40
+ * Constraint categories aligned with Drift's analysis capabilities
41
+ */
42
+ export type ConstraintCategory = 'api' | 'auth' | 'data' | 'error' | 'test' | 'security' | 'structural' | 'performance' | 'logging' | 'validation';
43
+ /**
44
+ * Supported languages for constraints
45
+ */
46
+ export type ConstraintLanguage = 'typescript' | 'javascript' | 'python' | 'java' | 'csharp' | 'php' | 'all';
47
+ /**
48
+ * Constraint lifecycle status
49
+ */
50
+ export type ConstraintStatus = 'discovered' | 'approved' | 'ignored' | 'custom';
51
+ /**
52
+ * Tracks what Drift analysis data this constraint was derived from
53
+ */
54
+ export interface ConstraintSource {
55
+ /** Pattern IDs this was derived from */
56
+ patterns: string[];
57
+ /** Call graph paths analyzed */
58
+ callGraphPaths: string[];
59
+ /** Boundary rules involved */
60
+ boundaries: string[];
61
+ /** Test topology data */
62
+ testTopology?: string[];
63
+ /** Error handling analysis */
64
+ errorHandling?: string[];
65
+ /** Module coupling data */
66
+ moduleCoupling?: string[];
67
+ /** Wrapper detection data */
68
+ wrappers?: string[];
69
+ }
70
+ /**
71
+ * The invariant being enforced by this constraint
72
+ */
73
+ export interface ConstraintInvariant {
74
+ /** Type of invariant */
75
+ type: ConstraintType;
76
+ /** Human-readable condition */
77
+ condition: string;
78
+ /** Machine-checkable predicate */
79
+ predicate: ConstraintPredicate;
80
+ }
81
+ /**
82
+ * Types of invariants that can be enforced
83
+ */
84
+ export type ConstraintType = 'must_have' | 'must_not_have' | 'must_precede' | 'must_follow' | 'must_colocate' | 'must_separate' | 'must_wrap' | 'must_propagate' | 'cardinality' | 'data_flow' | 'naming' | 'structure';
85
+ /**
86
+ * Language-agnostic predicate that can be evaluated against code.
87
+ * Each field represents a different type of check.
88
+ */
89
+ export interface ConstraintPredicate {
90
+ /** Entry point constraints (API endpoints, controllers, etc.) */
91
+ entryPointMustHave?: EntryPointPredicate;
92
+ /** Function-level constraints */
93
+ functionMustHave?: FunctionPredicate;
94
+ /** Class-level constraints */
95
+ classMustHave?: ClassPredicate;
96
+ /** Data access constraints */
97
+ dataAccess?: DataAccessPredicate;
98
+ /** Call chain constraints */
99
+ callChain?: CallChainPredicate;
100
+ /** Test coverage constraints */
101
+ testCoverage?: TestCoveragePredicate;
102
+ /** Naming convention constraints */
103
+ naming?: NamingPredicate;
104
+ /** File structure constraints */
105
+ fileStructure?: FileStructurePredicate;
106
+ }
107
+ /**
108
+ * Predicate for entry point constraints (API endpoints, controllers)
109
+ */
110
+ export interface EntryPointPredicate {
111
+ /** Must have these in the call chain before the handler */
112
+ inCallChain?: string[];
113
+ /** Position requirement */
114
+ position?: 'before_handler' | 'after_handler' | 'anywhere';
115
+ /** Must have these decorators (TypeScript/Python) */
116
+ decorator?: string[];
117
+ /** Must have these annotations (Java) */
118
+ annotation?: string[];
119
+ /** Must have these attributes (C#) */
120
+ attribute?: string[];
121
+ /** Must have these middleware (Express/Laravel/etc.) */
122
+ middleware?: string[];
123
+ /** Must have specific HTTP methods */
124
+ httpMethods?: string[];
125
+ /** Must have specific response types */
126
+ responseType?: string[];
127
+ }
128
+ /**
129
+ * Predicate for function-level constraints
130
+ */
131
+ export interface FunctionPredicate {
132
+ /** Must have these decorators */
133
+ decorator?: string[];
134
+ /** Must have these annotations */
135
+ annotation?: string[];
136
+ /** Must have these attributes */
137
+ attribute?: string[];
138
+ /** Must have parameter matching criteria */
139
+ parameter?: {
140
+ type: string;
141
+ contains?: string[];
142
+ name?: string;
143
+ };
144
+ /** Must have specific return type */
145
+ returnType?: string;
146
+ /** Must have error handling */
147
+ errorHandling?: boolean;
148
+ /** Must be within N call levels of entry point */
149
+ withinDepthOf?: {
150
+ entryPoint?: number;
151
+ dataAccess?: number;
152
+ };
153
+ /** Function body must contain */
154
+ bodyContains?: string[];
155
+ /** Function body must not contain */
156
+ bodyMustNotContain?: string[];
157
+ /** Must be async */
158
+ isAsync?: boolean;
159
+ }
160
+ /**
161
+ * Predicate for class-level constraints
162
+ */
163
+ export interface ClassPredicate {
164
+ /** Must have these decorators */
165
+ decorator?: string[];
166
+ /** Must have these annotations */
167
+ annotation?: string[];
168
+ /** Must have these attributes */
169
+ attribute?: string[];
170
+ /** Must implement these interfaces */
171
+ implements?: string[];
172
+ /** Must extend these classes */
173
+ extends?: string[];
174
+ /** Methods must have these annotations */
175
+ methodAnnotation?: string[];
176
+ /** Class or methods must have these attributes */
177
+ classOrMethodAttribute?: string[];
178
+ /** Must have specific constructor parameters */
179
+ constructorParams?: string[];
180
+ /** Must have specific fields/properties */
181
+ fields?: string[];
182
+ }
183
+ /**
184
+ * Predicate for data access constraints
185
+ */
186
+ export interface DataAccessPredicate {
187
+ /** Table/collection being accessed */
188
+ table: string;
189
+ /** Must go through these classes/functions */
190
+ mustGoThrough?: string[];
191
+ /** Must not access directly */
192
+ mustNotAccess?: string[];
193
+ /** Requires authentication before access */
194
+ requiresAuth?: boolean;
195
+ /** Specific operations (read/write/delete) */
196
+ operations?: ('read' | 'write' | 'delete')[];
197
+ /** Sensitive fields that need extra protection */
198
+ sensitiveFields?: string[];
199
+ }
200
+ /**
201
+ * Predicate for call chain constraints
202
+ */
203
+ export interface CallChainPredicate {
204
+ /** Starting point (function, class, or 'entryPoint') */
205
+ from: string;
206
+ /** Ending point (function, class, or 'dataAccess') */
207
+ to: string;
208
+ /** Must include these in the chain */
209
+ mustInclude?: string[];
210
+ /** Must not include these in the chain */
211
+ mustNotInclude?: string[];
212
+ /** Maximum call depth */
213
+ maxDepth?: number;
214
+ /** Minimum call depth */
215
+ minDepth?: number;
216
+ }
217
+ /**
218
+ * Predicate for test coverage constraints
219
+ */
220
+ export interface TestCoveragePredicate {
221
+ /** Minimum number of tests */
222
+ minCoverage?: number;
223
+ /** Types of tests required */
224
+ types?: ('unit' | 'integration' | 'e2e')[];
225
+ /** Must test these scenarios */
226
+ mustTest?: ('happy_path' | 'error_cases' | 'edge_cases' | 'security')[];
227
+ /** Maximum mock ratio (mocks / real calls) */
228
+ maxMockRatio?: number;
229
+ /** Minimum assertion count */
230
+ minAssertions?: number;
231
+ }
232
+ /**
233
+ * Predicate for naming convention constraints
234
+ */
235
+ export interface NamingPredicate {
236
+ /** Regex pattern to match */
237
+ pattern: string;
238
+ /** What the pattern applies to */
239
+ scope: 'file' | 'function' | 'class' | 'variable' | 'parameter';
240
+ /** Case style */
241
+ caseStyle?: 'camelCase' | 'PascalCase' | 'snake_case' | 'SCREAMING_SNAKE_CASE' | 'kebab-case';
242
+ /** Required prefix */
243
+ prefix?: string;
244
+ /** Required suffix */
245
+ suffix?: string;
246
+ }
247
+ /**
248
+ * Predicate for file structure constraints
249
+ */
250
+ export interface FileStructurePredicate {
251
+ /** File must be in these directories */
252
+ directories?: string[];
253
+ /** File must match these glob patterns */
254
+ filePatterns?: string[];
255
+ /** Must have these imports */
256
+ mustImport?: string[];
257
+ /** Must not have these imports */
258
+ mustNotImport?: string[];
259
+ /** Must export these symbols */
260
+ mustExport?: string[];
261
+ /** Maximum file length (lines) */
262
+ maxLines?: number;
263
+ /** Maximum function count per file */
264
+ maxFunctions?: number;
265
+ }
266
+ /**
267
+ * Defines where a constraint applies
268
+ */
269
+ export interface ConstraintScope {
270
+ /** File glob patterns */
271
+ files?: string[];
272
+ /** Function name patterns (regex) */
273
+ functions?: string[];
274
+ /** Class name patterns (regex) */
275
+ classes?: string[];
276
+ /** Pattern categories this applies to */
277
+ categories?: PatternCategory[];
278
+ /** Apply to all entry points */
279
+ entryPoints?: boolean;
280
+ /** Apply to all data accessors */
281
+ dataAccessors?: boolean;
282
+ /** Apply to specific modules */
283
+ modules?: string[];
284
+ /** Framework-specific scope */
285
+ frameworks?: string[];
286
+ /** Exclusion patterns */
287
+ exclude?: {
288
+ files?: string[];
289
+ functions?: string[];
290
+ classes?: string[];
291
+ directories?: string[];
292
+ };
293
+ }
294
+ /**
295
+ * Confidence metrics for a constraint
296
+ */
297
+ export interface ConstraintConfidence {
298
+ /** Overall confidence score (0-1) */
299
+ score: number;
300
+ /** Number of conforming instances */
301
+ evidence: number;
302
+ /** Number of violations found */
303
+ violations: number;
304
+ /** Violation details for review */
305
+ violationDetails?: ConstraintViolationDetail[];
306
+ /** When confidence was last calculated */
307
+ lastVerified: string;
308
+ /** Confidence trend */
309
+ trend?: 'improving' | 'stable' | 'declining';
310
+ }
311
+ /**
312
+ * Detail about a specific violation during extraction
313
+ */
314
+ export interface ConstraintViolationDetail {
315
+ file: string;
316
+ line: number;
317
+ reason: string;
318
+ functionName?: string;
319
+ className?: string;
320
+ }
321
+ /**
322
+ * How a constraint is enforced
323
+ */
324
+ export interface ConstraintEnforcement {
325
+ /** Severity level */
326
+ level: 'error' | 'warning' | 'info';
327
+ /** Can this be auto-fixed? */
328
+ autoFix?: ConstraintFix;
329
+ /** Human guidance for fixing */
330
+ guidance: string;
331
+ /** Related documentation URL */
332
+ docs?: string;
333
+ /** Example of correct implementation */
334
+ example?: ConstraintExample;
335
+ }
336
+ /**
337
+ * Auto-fix configuration
338
+ */
339
+ export interface ConstraintFix {
340
+ /** Type of fix */
341
+ type: ConstraintFixType;
342
+ /** Fix template (language-specific) */
343
+ template: string;
344
+ /** Templates per language */
345
+ templates?: Partial<Record<ConstraintLanguage, string>>;
346
+ /** Confidence that fix is correct */
347
+ confidence: number;
348
+ /** Additional context for the fix */
349
+ context?: string;
350
+ }
351
+ /**
352
+ * Types of auto-fixes available
353
+ */
354
+ export type ConstraintFixType = 'add_decorator' | 'add_middleware' | 'wrap_try_catch' | 'add_annotation' | 'add_attribute' | 'add_import' | 'add_parameter' | 'add_validation' | 'add_logging' | 'refactor' | 'rename' | 'move_file';
355
+ /**
356
+ * Example of correct implementation
357
+ */
358
+ export interface ConstraintExample {
359
+ file: string;
360
+ line: number;
361
+ endLine?: number;
362
+ code: string;
363
+ description?: string;
364
+ }
365
+ /**
366
+ * Metadata about a constraint
367
+ */
368
+ export interface ConstraintMetadata {
369
+ /** When first discovered */
370
+ createdAt: string;
371
+ /** When last updated */
372
+ updatedAt: string;
373
+ /** Who approved (if approved) */
374
+ approvedBy?: string;
375
+ /** When approved */
376
+ approvedAt?: string;
377
+ /** Tags for filtering */
378
+ tags?: string[];
379
+ /** Related constraints */
380
+ relatedConstraints?: string[];
381
+ /** Notes */
382
+ notes?: string;
383
+ /** Version of the constraint schema */
384
+ schemaVersion: string;
385
+ }
386
+ /**
387
+ * Result of verifying code against constraints
388
+ */
389
+ export interface VerificationResult {
390
+ /** Overall pass/fail */
391
+ passed: boolean;
392
+ /** Summary message */
393
+ summary: string;
394
+ /** Constraints that were satisfied */
395
+ satisfied: SatisfiedConstraint[];
396
+ /** Constraints that were violated */
397
+ violations: ConstraintViolation[];
398
+ /** Constraints that couldn't be checked */
399
+ skipped: SkippedConstraint[];
400
+ /** Execution metadata */
401
+ metadata: VerificationMetadata;
402
+ }
403
+ /**
404
+ * A constraint that was satisfied
405
+ */
406
+ export interface SatisfiedConstraint {
407
+ constraintId: string;
408
+ constraintName: string;
409
+ category: ConstraintCategory;
410
+ }
411
+ /**
412
+ * A constraint violation
413
+ */
414
+ export interface ConstraintViolation {
415
+ /** Constraint that was violated */
416
+ constraintId: string;
417
+ constraintName: string;
418
+ category: ConstraintCategory;
419
+ severity: 'error' | 'warning' | 'info';
420
+ /** What was violated */
421
+ message: string;
422
+ /** Where in the code */
423
+ location: ViolationLocation;
424
+ /** Fix suggestion */
425
+ fix?: ViolationFix;
426
+ /** Example of correct implementation */
427
+ example?: ConstraintExample;
428
+ /** Human guidance */
429
+ guidance: string;
430
+ }
431
+ /**
432
+ * Location of a violation in code
433
+ */
434
+ export interface ViolationLocation {
435
+ file: string;
436
+ line: number;
437
+ column: number;
438
+ endLine?: number;
439
+ endColumn?: number;
440
+ snippet?: string;
441
+ }
442
+ /**
443
+ * Fix suggestion for a violation
444
+ */
445
+ export interface ViolationFix {
446
+ type: ConstraintFixType;
447
+ suggestion: string;
448
+ confidence: number;
449
+ /** Diff-style replacement */
450
+ replacement?: {
451
+ startLine: number;
452
+ endLine: number;
453
+ newContent: string;
454
+ };
455
+ }
456
+ /**
457
+ * A constraint that was skipped
458
+ */
459
+ export interface SkippedConstraint {
460
+ constraintId: string;
461
+ constraintName: string;
462
+ reason: string;
463
+ }
464
+ /**
465
+ * Metadata about the verification
466
+ */
467
+ export interface VerificationMetadata {
468
+ file: string;
469
+ language: ConstraintLanguage;
470
+ constraintsChecked: number;
471
+ executionTimeMs: number;
472
+ timestamp: string;
473
+ }
474
+ /**
475
+ * Index for fast constraint lookups
476
+ */
477
+ export interface ConstraintIndex {
478
+ version: string;
479
+ generatedAt: string;
480
+ /** Total counts */
481
+ counts: ConstraintCounts;
482
+ /** Quick lookup maps */
483
+ byFile: Record<string, string[]>;
484
+ byCategory: Record<string, string[]>;
485
+ byLanguage: Record<string, string[]>;
486
+ byStatus: Record<string, string[]>;
487
+ /** Constraint summaries for fast listing */
488
+ summaries: ConstraintSummary[];
489
+ }
490
+ /**
491
+ * Constraint counts by various dimensions
492
+ */
493
+ export interface ConstraintCounts {
494
+ total: number;
495
+ byStatus: Record<ConstraintStatus, number>;
496
+ byCategory: Record<ConstraintCategory, number>;
497
+ byLanguage: Record<ConstraintLanguage, number>;
498
+ byEnforcement: Record<'error' | 'warning' | 'info', number>;
499
+ }
500
+ /**
501
+ * Summary of a constraint for listing
502
+ */
503
+ export interface ConstraintSummary {
504
+ id: string;
505
+ name: string;
506
+ description: string;
507
+ category: ConstraintCategory;
508
+ language: ConstraintLanguage;
509
+ status: ConstraintStatus;
510
+ confidence: number;
511
+ enforcement: 'error' | 'warning' | 'info';
512
+ evidence: number;
513
+ violations: number;
514
+ type: ConstraintType;
515
+ }
516
+ /**
517
+ * Options for querying constraints
518
+ */
519
+ export interface ConstraintQueryOptions {
520
+ /** Filter by category */
521
+ category?: ConstraintCategory;
522
+ /** Filter by categories */
523
+ categories?: ConstraintCategory[];
524
+ /** Filter by status */
525
+ status?: ConstraintStatus;
526
+ /** Filter by statuses */
527
+ statuses?: ConstraintStatus[];
528
+ /** Filter by language */
529
+ language?: ConstraintLanguage;
530
+ /** Filter by minimum confidence */
531
+ minConfidence?: number;
532
+ /** Filter by enforcement level */
533
+ enforcement?: 'error' | 'warning' | 'info';
534
+ /** Filter by file (returns constraints applicable to file) */
535
+ file?: string;
536
+ /** Search in name/description */
537
+ search?: string;
538
+ /** Filter by tags */
539
+ tags?: string[];
540
+ /** Pagination limit */
541
+ limit?: number;
542
+ /** Pagination offset */
543
+ offset?: number;
544
+ }
545
+ /**
546
+ * Result of a constraint query
547
+ */
548
+ export interface ConstraintQueryResult {
549
+ constraints: Constraint[];
550
+ total: number;
551
+ hasMore: boolean;
552
+ offset: number;
553
+ limit: number;
554
+ }
555
+ /**
556
+ * Options for constraint extraction
557
+ */
558
+ export interface ExtractionOptions {
559
+ /** Minimum confidence threshold for discovered constraints */
560
+ minConfidence?: number;
561
+ /** Categories to extract */
562
+ categories?: ConstraintCategory[];
563
+ /** Languages to analyze */
564
+ languages?: ConstraintLanguage[];
565
+ /** Force re-extraction even if recent */
566
+ force?: boolean;
567
+ /** Include detailed violation info */
568
+ includeViolationDetails?: boolean;
569
+ }
570
+ /**
571
+ * Result of constraint extraction
572
+ */
573
+ export interface ExtractionResult {
574
+ /** Newly discovered constraints */
575
+ discovered: Constraint[];
576
+ /** Updated existing constraints */
577
+ updated: Constraint[];
578
+ /** Constraints that are no longer valid */
579
+ invalidated: string[];
580
+ /** Extraction statistics */
581
+ stats: ExtractionStats;
582
+ }
583
+ /**
584
+ * Statistics from extraction
585
+ */
586
+ export interface ExtractionStats {
587
+ patternsAnalyzed: number;
588
+ candidatesFound: number;
589
+ constraintsCreated: number;
590
+ constraintsUpdated: number;
591
+ constraintsInvalidated: number;
592
+ executionTimeMs: number;
593
+ byCategory: Record<ConstraintCategory, number>;
594
+ byLanguage: Record<ConstraintLanguage, number>;
595
+ }
596
+ export declare const CONSTRAINT_SCHEMA_VERSION = "1.0.0";
597
+ export declare const CONSTRAINT_CATEGORIES: ConstraintCategory[];
598
+ export declare const CONSTRAINT_LANGUAGES: ConstraintLanguage[];
599
+ export declare const CONSTRAINT_STATUSES: ConstraintStatus[];
600
+ export declare const CONSTRAINT_TYPES: ConstraintType[];
601
+ /** Default confidence threshold for constraint discovery */
602
+ export declare const DEFAULT_MIN_CONFIDENCE = 0.9;
603
+ /** Default enforcement level for discovered constraints */
604
+ export declare const DEFAULT_ENFORCEMENT_LEVEL: 'error' | 'warning' | 'info';
605
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/constraints/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMzD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IAEX,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IAEb,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IAEpB,0BAA0B;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAE7B,4CAA4C;IAC5C,WAAW,EAAE,gBAAgB,CAAC;IAE9B,mCAAmC;IACnC,SAAS,EAAE,mBAAmB,CAAC;IAE/B,oCAAoC;IACpC,KAAK,EAAE,eAAe,CAAC;IAEvB,y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,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAKjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAa5C,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,sBAAsB,MAAO,CAAC;AAE3C,2DAA2D;AAC3D,eAAO,MAAM,yBAAyB,EAAE,OAAO,GAAG,SAAS,GAAG,MAAkB,CAAC"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Constraint Protocol Types
3
+ *
4
+ * Defines all types for the architectural constraint system.
5
+ * Constraints are learned invariants that MUST be satisfied,
6
+ * derived from patterns, call graphs, boundaries, and test topology.
7
+ */
8
+ // =============================================================================
9
+ // Constants
10
+ // =============================================================================
11
+ export const CONSTRAINT_SCHEMA_VERSION = '1.0.0';
12
+ export const CONSTRAINT_CATEGORIES = [
13
+ 'api',
14
+ 'auth',
15
+ 'data',
16
+ 'error',
17
+ 'test',
18
+ 'security',
19
+ 'structural',
20
+ 'performance',
21
+ 'logging',
22
+ 'validation',
23
+ ];
24
+ export const CONSTRAINT_LANGUAGES = [
25
+ 'typescript',
26
+ 'javascript',
27
+ 'python',
28
+ 'java',
29
+ 'csharp',
30
+ 'php',
31
+ 'all',
32
+ ];
33
+ export const CONSTRAINT_STATUSES = [
34
+ 'discovered',
35
+ 'approved',
36
+ 'ignored',
37
+ 'custom',
38
+ ];
39
+ export const CONSTRAINT_TYPES = [
40
+ 'must_have',
41
+ 'must_not_have',
42
+ 'must_precede',
43
+ 'must_follow',
44
+ 'must_colocate',
45
+ 'must_separate',
46
+ 'must_wrap',
47
+ 'must_propagate',
48
+ 'cardinality',
49
+ 'data_flow',
50
+ 'naming',
51
+ 'structure',
52
+ ];
53
+ /** Default confidence threshold for constraint discovery */
54
+ export const DEFAULT_MIN_CONFIDENCE = 0.90;
55
+ /** Default enforcement level for discovered constraints */
56
+ export const DEFAULT_ENFORCEMENT_LEVEL = 'warning';
57
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/constraints/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA01BH,gFAAgF;AAChF,YAAY;AACZ,gFAAgF;AAEhF,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC;AAEjD,MAAM,CAAC,MAAM,qBAAqB,GAAyB;IACzD,KAAK;IACL,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,UAAU;IACV,YAAY;IACZ,aAAa;IACb,SAAS;IACT,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAyB;IACxD,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,KAAK;IACL,KAAK;CACN,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,YAAY;IACZ,UAAU;IACV,SAAS;IACT,QAAQ;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAChD,WAAW;IACX,eAAe;IACf,cAAc;IACd,aAAa;IACb,eAAe;IACf,eAAe;IACf,WAAW;IACX,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,QAAQ;IACR,WAAW;CACZ,CAAC;AAEF,4DAA4D;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC;AAE3C,2DAA2D;AAC3D,MAAM,CAAC,MAAM,yBAAyB,GAAiC,SAAS,CAAC"}