@dads-framework/toolbox 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (959) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +395 -2
  3. package/bin/dad.js +91 -0
  4. package/bin/usage.d.ts +2 -0
  5. package/bin/usage.js +37 -0
  6. package/dist/add-library-recipe.d.ts +23 -0
  7. package/dist/add-library-recipe.d.ts.map +1 -0
  8. package/dist/add-library-recipe.js +122 -0
  9. package/dist/add-library-recipe.js.map +1 -0
  10. package/dist/cli-baseline-commands.d.ts +2 -0
  11. package/dist/cli-baseline-commands.d.ts.map +1 -0
  12. package/dist/cli-baseline-commands.js +43 -0
  13. package/dist/cli-baseline-commands.js.map +1 -0
  14. package/dist/cli-boundary-commands.d.ts +2 -0
  15. package/dist/cli-boundary-commands.d.ts.map +1 -0
  16. package/dist/cli-boundary-commands.js +19 -0
  17. package/dist/cli-boundary-commands.js.map +1 -0
  18. package/dist/cli-doctor-commands.d.ts +58 -0
  19. package/dist/cli-doctor-commands.d.ts.map +1 -0
  20. package/dist/cli-doctor-commands.js +229 -0
  21. package/dist/cli-doctor-commands.js.map +1 -0
  22. package/dist/cli-doctor-gate.d.ts +52 -0
  23. package/dist/cli-doctor-gate.d.ts.map +1 -0
  24. package/dist/cli-doctor-gate.js +111 -0
  25. package/dist/cli-doctor-gate.js.map +1 -0
  26. package/dist/cli-documentation.d.ts +3 -0
  27. package/dist/cli-documentation.d.ts.map +1 -0
  28. package/dist/cli-documentation.js +13 -0
  29. package/dist/cli-documentation.js.map +1 -0
  30. package/dist/cli-generator-commands.d.ts +9 -0
  31. package/dist/cli-generator-commands.d.ts.map +1 -0
  32. package/dist/cli-generator-commands.js +68 -0
  33. package/dist/cli-generator-commands.js.map +1 -0
  34. package/dist/cli-inspection-commands.d.ts +12 -0
  35. package/dist/cli-inspection-commands.d.ts.map +1 -0
  36. package/dist/cli-inspection-commands.js +106 -0
  37. package/dist/cli-inspection-commands.js.map +1 -0
  38. package/dist/cli-io.d.ts +10 -0
  39. package/dist/cli-io.d.ts.map +1 -0
  40. package/dist/cli-io.js +28 -0
  41. package/dist/cli-io.js.map +1 -0
  42. package/dist/cli-library-commands.d.ts +2 -0
  43. package/dist/cli-library-commands.d.ts.map +1 -0
  44. package/dist/cli-library-commands.js +14 -0
  45. package/dist/cli-library-commands.js.map +1 -0
  46. package/dist/cli-project-commands.d.ts +4 -0
  47. package/dist/cli-project-commands.d.ts.map +1 -0
  48. package/dist/cli-project-commands.js +39 -0
  49. package/dist/cli-project-commands.js.map +1 -0
  50. package/dist/cli-route-inspection-commands.d.ts +2 -0
  51. package/dist/cli-route-inspection-commands.d.ts.map +1 -0
  52. package/dist/cli-route-inspection-commands.js +43 -0
  53. package/dist/cli-route-inspection-commands.js.map +1 -0
  54. package/dist/cli.d.ts +3 -0
  55. package/dist/cli.d.ts.map +1 -0
  56. package/dist/cli.js +82 -0
  57. package/dist/cli.js.map +1 -0
  58. package/dist/dads-initialization-arguments.d.ts +11 -0
  59. package/dist/dads-initialization-arguments.d.ts.map +1 -0
  60. package/dist/dads-initialization-arguments.js +88 -0
  61. package/dist/dads-initialization-arguments.js.map +1 -0
  62. package/dist/dependency-installation-receipt.d.ts +3 -0
  63. package/dist/dependency-installation-receipt.d.ts.map +1 -0
  64. package/dist/dependency-installation-receipt.js +37 -0
  65. package/dist/dependency-installation-receipt.js.map +1 -0
  66. package/dist/doctor/diagnose-workspace.d.ts +41 -0
  67. package/dist/doctor/diagnose-workspace.d.ts.map +1 -0
  68. package/dist/doctor/diagnose-workspace.js +65 -0
  69. package/dist/doctor/diagnose-workspace.js.map +1 -0
  70. package/dist/doctor/doctor-context.d.ts +142 -0
  71. package/dist/doctor/doctor-context.d.ts.map +1 -0
  72. package/dist/doctor/doctor-context.js +252 -0
  73. package/dist/doctor/doctor-context.js.map +1 -0
  74. package/dist/doctor/doctor-gate-base.d.ts +52 -0
  75. package/dist/doctor/doctor-gate-base.d.ts.map +1 -0
  76. package/dist/doctor/doctor-gate-base.js +240 -0
  77. package/dist/doctor/doctor-gate-base.js.map +1 -0
  78. package/dist/doctor/doctor-gate-baseline.d.ts +40 -0
  79. package/dist/doctor/doctor-gate-baseline.d.ts.map +1 -0
  80. package/dist/doctor/doctor-gate-baseline.js +209 -0
  81. package/dist/doctor/doctor-gate-baseline.js.map +1 -0
  82. package/dist/doctor/doctor-gate-model.d.ts +130 -0
  83. package/dist/doctor/doctor-gate-model.d.ts.map +1 -0
  84. package/dist/doctor/doctor-gate-model.js +89 -0
  85. package/dist/doctor/doctor-gate-model.js.map +1 -0
  86. package/dist/doctor/doctor-gate-render.d.ts +30 -0
  87. package/dist/doctor/doctor-gate-render.d.ts.map +1 -0
  88. package/dist/doctor/doctor-gate-render.js +75 -0
  89. package/dist/doctor/doctor-gate-render.js.map +1 -0
  90. package/dist/doctor/doctor-gate-retirements.d.ts +10 -0
  91. package/dist/doctor/doctor-gate-retirements.d.ts.map +1 -0
  92. package/dist/doctor/doctor-gate-retirements.js +155 -0
  93. package/dist/doctor/doctor-gate-retirements.js.map +1 -0
  94. package/dist/doctor/doctor-gate-states.d.ts +22 -0
  95. package/dist/doctor/doctor-gate-states.d.ts.map +1 -0
  96. package/dist/doctor/doctor-gate-states.js +254 -0
  97. package/dist/doctor/doctor-gate-states.js.map +1 -0
  98. package/dist/doctor/doctor-gate.d.ts +56 -0
  99. package/dist/doctor/doctor-gate.d.ts.map +1 -0
  100. package/dist/doctor/doctor-gate.js +295 -0
  101. package/dist/doctor/doctor-gate.js.map +1 -0
  102. package/dist/doctor/doctor-report.d.ts +101 -0
  103. package/dist/doctor/doctor-report.d.ts.map +1 -0
  104. package/dist/doctor/doctor-report.js +215 -0
  105. package/dist/doctor/doctor-report.js.map +1 -0
  106. package/dist/doctor/doctor-signal.d.ts +91 -0
  107. package/dist/doctor/doctor-signal.d.ts.map +1 -0
  108. package/dist/doctor/doctor-signal.js +41 -0
  109. package/dist/doctor/doctor-signal.js.map +1 -0
  110. package/dist/doctor/doctor-signals.d.ts +35 -0
  111. package/dist/doctor/doctor-signals.d.ts.map +1 -0
  112. package/dist/doctor/doctor-signals.js +65 -0
  113. package/dist/doctor/doctor-signals.js.map +1 -0
  114. package/dist/doctor/hatch-names.d.ts +26 -0
  115. package/dist/doctor/hatch-names.d.ts.map +1 -0
  116. package/dist/doctor/hatch-names.js +26 -0
  117. package/dist/doctor/hatch-names.js.map +1 -0
  118. package/dist/doctor/issue-catalog-attachment.d.ts +12 -0
  119. package/dist/doctor/issue-catalog-attachment.d.ts.map +1 -0
  120. package/dist/doctor/issue-catalog-attachment.js +241 -0
  121. package/dist/doctor/issue-catalog-attachment.js.map +1 -0
  122. package/dist/doctor/issue-catalog-enforcement.d.ts +12 -0
  123. package/dist/doctor/issue-catalog-enforcement.d.ts.map +1 -0
  124. package/dist/doctor/issue-catalog-enforcement.js +302 -0
  125. package/dist/doctor/issue-catalog-enforcement.js.map +1 -0
  126. package/dist/doctor/issues.d.ts +42 -0
  127. package/dist/doctor/issues.d.ts.map +1 -0
  128. package/dist/doctor/issues.js +27 -0
  129. package/dist/doctor/issues.js.map +1 -0
  130. package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts +19 -0
  131. package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts.map +1 -0
  132. package/dist/doctor/signals/anxious-attachment/blast-radius.js +44 -0
  133. package/dist/doctor/signals/anxious-attachment/blast-radius.js.map +1 -0
  134. package/dist/doctor/signals/anxious-attachment/copied-types.d.ts +18 -0
  135. package/dist/doctor/signals/anxious-attachment/copied-types.d.ts.map +1 -0
  136. package/dist/doctor/signals/anxious-attachment/copied-types.js +98 -0
  137. package/dist/doctor/signals/anxious-attachment/copied-types.js.map +1 -0
  138. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts +23 -0
  139. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts.map +1 -0
  140. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js +58 -0
  141. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js.map +1 -0
  142. package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts +25 -0
  143. package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts.map +1 -0
  144. package/dist/doctor/signals/anxious-attachment/kind-inversions.js +90 -0
  145. package/dist/doctor/signals/anxious-attachment/kind-inversions.js.map +1 -0
  146. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts +21 -0
  147. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts.map +1 -0
  148. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js +58 -0
  149. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js.map +1 -0
  150. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts +22 -0
  151. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts.map +1 -0
  152. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js +77 -0
  153. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js.map +1 -0
  154. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts +15 -0
  155. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts.map +1 -0
  156. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js +43 -0
  157. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js.map +1 -0
  158. package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts +19 -0
  159. package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts.map +1 -0
  160. package/dist/doctor/signals/avoidant-attachment/invariants-files.js +54 -0
  161. package/dist/doctor/signals/avoidant-attachment/invariants-files.js.map +1 -0
  162. package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts +21 -0
  163. package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts.map +1 -0
  164. package/dist/doctor/signals/avoidant-attachment/readme-missing.js +46 -0
  165. package/dist/doctor/signals/avoidant-attachment/readme-missing.js.map +1 -0
  166. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts +23 -0
  167. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts.map +1 -0
  168. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js +67 -0
  169. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js.map +1 -0
  170. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts +21 -0
  171. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts.map +1 -0
  172. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js +59 -0
  173. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js.map +1 -0
  174. package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts +17 -0
  175. package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts.map +1 -0
  176. package/dist/doctor/signals/avoidant-attachment/routes-without-access.js +38 -0
  177. package/dist/doctor/signals/avoidant-attachment/routes-without-access.js.map +1 -0
  178. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts +21 -0
  179. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts.map +1 -0
  180. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js +63 -0
  181. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js.map +1 -0
  182. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts +18 -0
  183. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts.map +1 -0
  184. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js +64 -0
  185. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js.map +1 -0
  186. package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts +21 -0
  187. package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts.map +1 -0
  188. package/dist/doctor/signals/commitment-issues/access-without-denial-test.js +57 -0
  189. package/dist/doctor/signals/commitment-issues/access-without-denial-test.js.map +1 -0
  190. package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts +18 -0
  191. package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts.map +1 -0
  192. package/dist/doctor/signals/commitment-issues/denial-tests-zero.js +68 -0
  193. package/dist/doctor/signals/commitment-issues/denial-tests-zero.js.map +1 -0
  194. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts +19 -0
  195. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts.map +1 -0
  196. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js +66 -0
  197. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js.map +1 -0
  198. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts +25 -0
  199. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts.map +1 -0
  200. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js +95 -0
  201. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js.map +1 -0
  202. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts +19 -0
  203. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts.map +1 -0
  204. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js +44 -0
  205. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js.map +1 -0
  206. package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts +15 -0
  207. package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts.map +1 -0
  208. package/dist/doctor/signals/commitment-issues/skipped-tests.js +46 -0
  209. package/dist/doctor/signals/commitment-issues/skipped-tests.js.map +1 -0
  210. package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts +12 -0
  211. package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts.map +1 -0
  212. package/dist/doctor/signals/commitment-issues/soundness-cases.js +36 -0
  213. package/dist/doctor/signals/commitment-issues/soundness-cases.js.map +1 -0
  214. package/dist/doctor/signals/commitment-issues/test-count.d.ts +18 -0
  215. package/dist/doctor/signals/commitment-issues/test-count.d.ts.map +1 -0
  216. package/dist/doctor/signals/commitment-issues/test-count.js +111 -0
  217. package/dist/doctor/signals/commitment-issues/test-count.js.map +1 -0
  218. package/dist/doctor/signals/commitment-issues/todo-age.d.ts +24 -0
  219. package/dist/doctor/signals/commitment-issues/todo-age.d.ts.map +1 -0
  220. package/dist/doctor/signals/commitment-issues/todo-age.js +73 -0
  221. package/dist/doctor/signals/commitment-issues/todo-age.js.map +1 -0
  222. package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts +27 -0
  223. package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts.map +1 -0
  224. package/dist/doctor/signals/commitment-issues/todo-check-permission.js +82 -0
  225. package/dist/doctor/signals/commitment-issues/todo-check-permission.js.map +1 -0
  226. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts +19 -0
  227. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts.map +1 -0
  228. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js +101 -0
  229. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js.map +1 -0
  230. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts +22 -0
  231. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts.map +1 -0
  232. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js +80 -0
  233. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js.map +1 -0
  234. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts +21 -0
  235. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts.map +1 -0
  236. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js +71 -0
  237. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js.map +1 -0
  238. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts +24 -0
  239. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts.map +1 -0
  240. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js +52 -0
  241. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js.map +1 -0
  242. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts +3 -0
  243. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts.map +1 -0
  244. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js +66 -0
  245. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js.map +1 -0
  246. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts +22 -0
  247. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts.map +1 -0
  248. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js +69 -0
  249. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js.map +1 -0
  250. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts +22 -0
  251. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts.map +1 -0
  252. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js +55 -0
  253. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js.map +1 -0
  254. package/dist/doctor/signals/daddy-issues/explicit-any.d.ts +17 -0
  255. package/dist/doctor/signals/daddy-issues/explicit-any.d.ts.map +1 -0
  256. package/dist/doctor/signals/daddy-issues/explicit-any.js +35 -0
  257. package/dist/doctor/signals/daddy-issues/explicit-any.js.map +1 -0
  258. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts +20 -0
  259. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts.map +1 -0
  260. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js +43 -0
  261. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js.map +1 -0
  262. package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts +14 -0
  263. package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts.map +1 -0
  264. package/dist/doctor/signals/daddy-issues/non-null-assertions.js +32 -0
  265. package/dist/doctor/signals/daddy-issues/non-null-assertions.js.map +1 -0
  266. package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts +15 -0
  267. package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts.map +1 -0
  268. package/dist/doctor/signals/daddy-issues/ts-suppressions.js +43 -0
  269. package/dist/doctor/signals/daddy-issues/ts-suppressions.js.map +1 -0
  270. package/dist/doctor/signals/daddy-issues/type-assertions.d.ts +16 -0
  271. package/dist/doctor/signals/daddy-issues/type-assertions.d.ts.map +1 -0
  272. package/dist/doctor/signals/daddy-issues/type-assertions.js +35 -0
  273. package/dist/doctor/signals/daddy-issues/type-assertions.js.map +1 -0
  274. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts +15 -0
  275. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts.map +1 -0
  276. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js +34 -0
  277. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js.map +1 -0
  278. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts +23 -0
  279. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts.map +1 -0
  280. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js +125 -0
  281. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js.map +1 -0
  282. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts +15 -0
  283. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts.map +1 -0
  284. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js +33 -0
  285. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js.map +1 -0
  286. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts +27 -0
  287. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts.map +1 -0
  288. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js +160 -0
  289. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js.map +1 -0
  290. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts +27 -0
  291. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts.map +1 -0
  292. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js +164 -0
  293. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js.map +1 -0
  294. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts +31 -0
  295. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts.map +1 -0
  296. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js +138 -0
  297. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js.map +1 -0
  298. package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts +20 -0
  299. package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts.map +1 -0
  300. package/dist/doctor/signals/enmeshment/barrel-impurity.js +44 -0
  301. package/dist/doctor/signals/enmeshment/barrel-impurity.js.map +1 -0
  302. package/dist/doctor/signals/enmeshment/clippy-allows.d.ts +24 -0
  303. package/dist/doctor/signals/enmeshment/clippy-allows.d.ts.map +1 -0
  304. package/dist/doctor/signals/enmeshment/clippy-allows.js +84 -0
  305. package/dist/doctor/signals/enmeshment/clippy-allows.js.map +1 -0
  306. package/dist/doctor/signals/enmeshment/fan-out.d.ts +19 -0
  307. package/dist/doctor/signals/enmeshment/fan-out.d.ts.map +1 -0
  308. package/dist/doctor/signals/enmeshment/fan-out.js +50 -0
  309. package/dist/doctor/signals/enmeshment/fan-out.js.map +1 -0
  310. package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts +15 -0
  311. package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts.map +1 -0
  312. package/dist/doctor/signals/enmeshment/files-over-ceiling.js +40 -0
  313. package/dist/doctor/signals/enmeshment/files-over-ceiling.js.map +1 -0
  314. package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts +22 -0
  315. package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts.map +1 -0
  316. package/dist/doctor/signals/enmeshment/functions-over-ceiling.js +139 -0
  317. package/dist/doctor/signals/enmeshment/functions-over-ceiling.js.map +1 -0
  318. package/dist/doctor/signals/enmeshment/god-classes.d.ts +17 -0
  319. package/dist/doctor/signals/enmeshment/god-classes.d.ts.map +1 -0
  320. package/dist/doctor/signals/enmeshment/god-classes.js +55 -0
  321. package/dist/doctor/signals/enmeshment/god-classes.js.map +1 -0
  322. package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts +24 -0
  323. package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts.map +1 -0
  324. package/dist/doctor/signals/enmeshment/intra-package-cycles.js +91 -0
  325. package/dist/doctor/signals/enmeshment/intra-package-cycles.js.map +1 -0
  326. package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts +16 -0
  327. package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts.map +1 -0
  328. package/dist/doctor/signals/enmeshment/rust-inline-tests.js +39 -0
  329. package/dist/doctor/signals/enmeshment/rust-inline-tests.js.map +1 -0
  330. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts +14 -0
  331. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts.map +1 -0
  332. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js +39 -0
  333. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js.map +1 -0
  334. package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts +16 -0
  335. package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts.map +1 -0
  336. package/dist/doctor/signals/failure-to-launch/lists-without-filter.js +38 -0
  337. package/dist/doctor/signals/failure-to-launch/lists-without-filter.js.map +1 -0
  338. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts +19 -0
  339. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts.map +1 -0
  340. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js +39 -0
  341. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js.map +1 -0
  342. package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts +24 -0
  343. package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts.map +1 -0
  344. package/dist/doctor/signals/failure-to-launch/packages-without-surface.js +82 -0
  345. package/dist/doctor/signals/failure-to-launch/packages-without-surface.js.map +1 -0
  346. package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts +21 -0
  347. package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts.map +1 -0
  348. package/dist/doctor/signals/failure-to-launch/reorganization-churn.js +62 -0
  349. package/dist/doctor/signals/failure-to-launch/reorganization-churn.js.map +1 -0
  350. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts +19 -0
  351. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts.map +1 -0
  352. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js +65 -0
  353. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js.map +1 -0
  354. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts +21 -0
  355. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts.map +1 -0
  356. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js +66 -0
  357. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js.map +1 -0
  358. package/dist/doctor/signals/gaslighting/exempt-globs.d.ts +21 -0
  359. package/dist/doctor/signals/gaslighting/exempt-globs.d.ts.map +1 -0
  360. package/dist/doctor/signals/gaslighting/exempt-globs.js +59 -0
  361. package/dist/doctor/signals/gaslighting/exempt-globs.js.map +1 -0
  362. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts +21 -0
  363. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts.map +1 -0
  364. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js +70 -0
  365. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js.map +1 -0
  366. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts +25 -0
  367. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts.map +1 -0
  368. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js +82 -0
  369. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js.map +1 -0
  370. package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts +27 -0
  371. package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts.map +1 -0
  372. package/dist/doctor/signals/gaslighting/marks-raised-in-history.js +101 -0
  373. package/dist/doctor/signals/gaslighting/marks-raised-in-history.js.map +1 -0
  374. package/dist/doctor/signals/gaslighting/migrations-edited.d.ts +31 -0
  375. package/dist/doctor/signals/gaslighting/migrations-edited.d.ts.map +1 -0
  376. package/dist/doctor/signals/gaslighting/migrations-edited.js +107 -0
  377. package/dist/doctor/signals/gaslighting/migrations-edited.js.map +1 -0
  378. package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts +30 -0
  379. package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts.map +1 -0
  380. package/dist/doctor/signals/gaslighting/suppressions-without-description.js +68 -0
  381. package/dist/doctor/signals/gaslighting/suppressions-without-description.js.map +1 -0
  382. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts +24 -0
  383. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts.map +1 -0
  384. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js +79 -0
  385. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js.map +1 -0
  386. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts +21 -0
  387. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts.map +1 -0
  388. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js +81 -0
  389. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js.map +1 -0
  390. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts +24 -0
  391. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts.map +1 -0
  392. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js +73 -0
  393. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js.map +1 -0
  394. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts +24 -0
  395. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts.map +1 -0
  396. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js +46 -0
  397. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js.map +1 -0
  398. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts +22 -0
  399. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts.map +1 -0
  400. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js +62 -0
  401. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js.map +1 -0
  402. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts +22 -0
  403. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts.map +1 -0
  404. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js +104 -0
  405. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js.map +1 -0
  406. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts +17 -0
  407. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts.map +1 -0
  408. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js +40 -0
  409. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js.map +1 -0
  410. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts +26 -0
  411. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts.map +1 -0
  412. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js +58 -0
  413. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js.map +1 -0
  414. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts +25 -0
  415. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts.map +1 -0
  416. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js +111 -0
  417. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js.map +1 -0
  418. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts +18 -0
  419. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts.map +1 -0
  420. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js +41 -0
  421. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js.map +1 -0
  422. package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts +19 -0
  423. package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts.map +1 -0
  424. package/dist/doctor/signals/people-pleasing/denial-with-body.js +84 -0
  425. package/dist/doctor/signals/people-pleasing/denial-with-body.js.map +1 -0
  426. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts +16 -0
  427. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts.map +1 -0
  428. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js +87 -0
  429. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js.map +1 -0
  430. package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts +18 -0
  431. package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts.map +1 -0
  432. package/dist/doctor/signals/people-pleasing/forbidden-403.js +49 -0
  433. package/dist/doctor/signals/people-pleasing/forbidden-403.js.map +1 -0
  434. package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts +31 -0
  435. package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts.map +1 -0
  436. package/dist/doctor/signals/people-pleasing/loose-contract-objects.js +166 -0
  437. package/dist/doctor/signals/people-pleasing/loose-contract-objects.js.map +1 -0
  438. package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts +19 -0
  439. package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts.map +1 -0
  440. package/dist/doctor/signals/people-pleasing/multi-shape-responses.js +63 -0
  441. package/dist/doctor/signals/people-pleasing/multi-shape-responses.js.map +1 -0
  442. package/dist/doctor/signals/people-pleasing/optional-creep.d.ts +20 -0
  443. package/dist/doctor/signals/people-pleasing/optional-creep.d.ts.map +1 -0
  444. package/dist/doctor/signals/people-pleasing/optional-creep.js +109 -0
  445. package/dist/doctor/signals/people-pleasing/optional-creep.js.map +1 -0
  446. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts +19 -0
  447. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts.map +1 -0
  448. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js +42 -0
  449. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js.map +1 -0
  450. package/dist/doctor/signals/registry/foundation.d.ts +13 -0
  451. package/dist/doctor/signals/registry/foundation.d.ts.map +1 -0
  452. package/dist/doctor/signals/registry/foundation.js +45 -0
  453. package/dist/doctor/signals/registry/foundation.js.map +1 -0
  454. package/dist/doctor/signals/registry/git.d.ts +23 -0
  455. package/dist/doctor/signals/registry/git.d.ts.map +1 -0
  456. package/dist/doctor/signals/registry/git.js +41 -0
  457. package/dist/doctor/signals/registry/git.js.map +1 -0
  458. package/dist/doctor/signals/registry/online.d.ts +20 -0
  459. package/dist/doctor/signals/registry/online.d.ts.map +1 -0
  460. package/dist/doctor/signals/registry/online.js +26 -0
  461. package/dist/doctor/signals/registry/online.js.map +1 -0
  462. package/dist/doctor/signals/registry/packages.d.ts +17 -0
  463. package/dist/doctor/signals/registry/packages.d.ts.map +1 -0
  464. package/dist/doctor/signals/registry/packages.js +37 -0
  465. package/dist/doctor/signals/registry/packages.js.map +1 -0
  466. package/dist/doctor/signals/registry/routes.d.ts +20 -0
  467. package/dist/doctor/signals/registry/routes.d.ts.map +1 -0
  468. package/dist/doctor/signals/registry/routes.js +38 -0
  469. package/dist/doctor/signals/registry/routes.js.map +1 -0
  470. package/dist/doctor/signals/registry/stored-and-sent.d.ts +18 -0
  471. package/dist/doctor/signals/registry/stored-and-sent.d.ts.map +1 -0
  472. package/dist/doctor/signals/registry/stored-and-sent.js +40 -0
  473. package/dist/doctor/signals/registry/stored-and-sent.js.map +1 -0
  474. package/dist/doctor/signals/registry/text-and-packages.d.ts +17 -0
  475. package/dist/doctor/signals/registry/text-and-packages.d.ts.map +1 -0
  476. package/dist/doctor/signals/registry/text-and-packages.js +57 -0
  477. package/dist/doctor/signals/registry/text-and-packages.js.map +1 -0
  478. package/dist/doctor/signals/registry/typescript.d.ts +16 -0
  479. package/dist/doctor/signals/registry/typescript.d.ts.map +1 -0
  480. package/dist/doctor/signals/registry/typescript.js +72 -0
  481. package/dist/doctor/signals/registry/typescript.js.map +1 -0
  482. package/dist/doctor/signals/scanners/access-artifacts.d.ts +23 -0
  483. package/dist/doctor/signals/scanners/access-artifacts.d.ts.map +1 -0
  484. package/dist/doctor/signals/scanners/access-artifacts.js +46 -0
  485. package/dist/doctor/signals/scanners/access-artifacts.js.map +1 -0
  486. package/dist/doctor/signals/scanners/capability-model.d.ts +41 -0
  487. package/dist/doctor/signals/scanners/capability-model.d.ts.map +1 -0
  488. package/dist/doctor/signals/scanners/capability-model.js +154 -0
  489. package/dist/doctor/signals/scanners/capability-model.js.map +1 -0
  490. package/dist/doctor/signals/scanners/counted-lines.d.ts +39 -0
  491. package/dist/doctor/signals/scanners/counted-lines.d.ts.map +1 -0
  492. package/dist/doctor/signals/scanners/counted-lines.js +196 -0
  493. package/dist/doctor/signals/scanners/counted-lines.js.map +1 -0
  494. package/dist/doctor/signals/scanners/generated-artifacts.d.ts +32 -0
  495. package/dist/doctor/signals/scanners/generated-artifacts.d.ts.map +1 -0
  496. package/dist/doctor/signals/scanners/generated-artifacts.js +137 -0
  497. package/dist/doctor/signals/scanners/generated-artifacts.js.map +1 -0
  498. package/dist/doctor/signals/scanners/git-history.d.ts +95 -0
  499. package/dist/doctor/signals/scanners/git-history.d.ts.map +1 -0
  500. package/dist/doctor/signals/scanners/git-history.js +0 -0
  501. package/dist/doctor/signals/scanners/git-history.js.map +1 -0
  502. package/dist/doctor/signals/scanners/lint-configuration.d.ts +29 -0
  503. package/dist/doctor/signals/scanners/lint-configuration.d.ts.map +1 -0
  504. package/dist/doctor/signals/scanners/lint-configuration.js +75 -0
  505. package/dist/doctor/signals/scanners/lint-configuration.js.map +1 -0
  506. package/dist/doctor/signals/scanners/migration-base.d.ts +27 -0
  507. package/dist/doctor/signals/scanners/migration-base.d.ts.map +1 -0
  508. package/dist/doctor/signals/scanners/migration-base.js +58 -0
  509. package/dist/doctor/signals/scanners/migration-base.js.map +1 -0
  510. package/dist/doctor/signals/scanners/migration-files.d.ts +34 -0
  511. package/dist/doctor/signals/scanners/migration-files.d.ts.map +1 -0
  512. package/dist/doctor/signals/scanners/migration-files.js +82 -0
  513. package/dist/doctor/signals/scanners/migration-files.js.map +1 -0
  514. package/dist/doctor/signals/scanners/online-requests.d.ts +67 -0
  515. package/dist/doctor/signals/scanners/online-requests.d.ts.map +1 -0
  516. package/dist/doctor/signals/scanners/online-requests.js +136 -0
  517. package/dist/doctor/signals/scanners/online-requests.js.map +1 -0
  518. package/dist/doctor/signals/scanners/package-graph.d.ts +76 -0
  519. package/dist/doctor/signals/scanners/package-graph.d.ts.map +1 -0
  520. package/dist/doctor/signals/scanners/package-graph.js +252 -0
  521. package/dist/doctor/signals/scanners/package-graph.js.map +1 -0
  522. package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts +72 -0
  523. package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts.map +1 -0
  524. package/dist/doctor/signals/scanners/ratchet-baseline-history.js +149 -0
  525. package/dist/doctor/signals/scanners/ratchet-baseline-history.js.map +1 -0
  526. package/dist/doctor/signals/scanners/raw-failures.d.ts +22 -0
  527. package/dist/doctor/signals/scanners/raw-failures.d.ts.map +1 -0
  528. package/dist/doctor/signals/scanners/raw-failures.js +107 -0
  529. package/dist/doctor/signals/scanners/raw-failures.js.map +1 -0
  530. package/dist/doctor/signals/scanners/rendered-copy.d.ts +28 -0
  531. package/dist/doctor/signals/scanners/rendered-copy.d.ts.map +1 -0
  532. package/dist/doctor/signals/scanners/rendered-copy.js +182 -0
  533. package/dist/doctor/signals/scanners/rendered-copy.js.map +1 -0
  534. package/dist/doctor/signals/scanners/response-code.d.ts +23 -0
  535. package/dist/doctor/signals/scanners/response-code.d.ts.map +1 -0
  536. package/dist/doctor/signals/scanners/response-code.js +40 -0
  537. package/dist/doctor/signals/scanners/response-code.js.map +1 -0
  538. package/dist/doctor/signals/scanners/route-model.d.ts +22 -0
  539. package/dist/doctor/signals/scanners/route-model.d.ts.map +1 -0
  540. package/dist/doctor/signals/scanners/route-model.js +45 -0
  541. package/dist/doctor/signals/scanners/route-model.js.map +1 -0
  542. package/dist/doctor/signals/scanners/source-classification.d.ts +29 -0
  543. package/dist/doctor/signals/scanners/source-classification.d.ts.map +1 -0
  544. package/dist/doctor/signals/scanners/source-classification.js +66 -0
  545. package/dist/doctor/signals/scanners/source-classification.js.map +1 -0
  546. package/dist/doctor/signals/scanners/text-agent-harness.d.ts +38 -0
  547. package/dist/doctor/signals/scanners/text-agent-harness.d.ts.map +1 -0
  548. package/dist/doctor/signals/scanners/text-agent-harness.js +86 -0
  549. package/dist/doctor/signals/scanners/text-agent-harness.js.map +1 -0
  550. package/dist/doctor/signals/scanners/text-bypass-marks.d.ts +20 -0
  551. package/dist/doctor/signals/scanners/text-bypass-marks.d.ts.map +1 -0
  552. package/dist/doctor/signals/scanners/text-bypass-marks.js +20 -0
  553. package/dist/doctor/signals/scanners/text-bypass-marks.js.map +1 -0
  554. package/dist/doctor/signals/scanners/text-ci-workflows.d.ts +23 -0
  555. package/dist/doctor/signals/scanners/text-ci-workflows.d.ts.map +1 -0
  556. package/dist/doctor/signals/scanners/text-ci-workflows.js +50 -0
  557. package/dist/doctor/signals/scanners/text-ci-workflows.js.map +1 -0
  558. package/dist/doctor/signals/scanners/text-comment-scan.d.ts +29 -0
  559. package/dist/doctor/signals/scanners/text-comment-scan.d.ts.map +1 -0
  560. package/dist/doctor/signals/scanners/text-comment-scan.js +108 -0
  561. package/dist/doctor/signals/scanners/text-comment-scan.js.map +1 -0
  562. package/dist/doctor/signals/scanners/text-declared-packages.d.ts +28 -0
  563. package/dist/doctor/signals/scanners/text-declared-packages.d.ts.map +1 -0
  564. package/dist/doctor/signals/scanners/text-declared-packages.js +44 -0
  565. package/dist/doctor/signals/scanners/text-declared-packages.js.map +1 -0
  566. package/dist/doctor/signals/scanners/text-permission-marks.d.ts +25 -0
  567. package/dist/doctor/signals/scanners/text-permission-marks.d.ts.map +1 -0
  568. package/dist/doctor/signals/scanners/text-permission-marks.js +25 -0
  569. package/dist/doctor/signals/scanners/text-permission-marks.js.map +1 -0
  570. package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts +27 -0
  571. package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts.map +1 -0
  572. package/dist/doctor/signals/scanners/text-ratchet-baseline.js +54 -0
  573. package/dist/doctor/signals/scanners/text-ratchet-baseline.js.map +1 -0
  574. package/dist/doctor/signals/scanners/text-suppressions-file.d.ts +28 -0
  575. package/dist/doctor/signals/scanners/text-suppressions-file.d.ts.map +1 -0
  576. package/dist/doctor/signals/scanners/text-suppressions-file.js +46 -0
  577. package/dist/doctor/signals/scanners/text-suppressions-file.js.map +1 -0
  578. package/dist/doctor/signals/scanners/top-level-declarations.d.ts +34 -0
  579. package/dist/doctor/signals/scanners/top-level-declarations.d.ts.map +1 -0
  580. package/dist/doctor/signals/scanners/top-level-declarations.js +206 -0
  581. package/dist/doctor/signals/scanners/top-level-declarations.js.map +1 -0
  582. package/dist/doctor/signals/scanners/typescript-program.d.ts +172 -0
  583. package/dist/doctor/signals/scanners/typescript-program.d.ts.map +1 -0
  584. package/dist/doctor/signals/scanners/typescript-program.js +431 -0
  585. package/dist/doctor/signals/scanners/typescript-program.js.map +1 -0
  586. package/dist/doctor/signals/scanners/web-renderers.d.ts +24 -0
  587. package/dist/doctor/signals/scanners/web-renderers.d.ts.map +1 -0
  588. package/dist/doctor/signals/scanners/web-renderers.js +53 -0
  589. package/dist/doctor/signals/scanners/web-renderers.js.map +1 -0
  590. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts +3 -0
  591. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts.map +1 -0
  592. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js +257 -0
  593. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js.map +1 -0
  594. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts +19 -0
  595. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts.map +1 -0
  596. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js +50 -0
  597. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js.map +1 -0
  598. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts +23 -0
  599. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts.map +1 -0
  600. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js +91 -0
  601. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js.map +1 -0
  602. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts +24 -0
  603. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts.map +1 -0
  604. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js +81 -0
  605. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js.map +1 -0
  606. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts +21 -0
  607. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts.map +1 -0
  608. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js +48 -0
  609. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js.map +1 -0
  610. package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts +22 -0
  611. package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts.map +1 -0
  612. package/dist/doctor/signals/the-silent-treatment/suppression-age.js +106 -0
  613. package/dist/doctor/signals/the-silent-treatment/suppression-age.js.map +1 -0
  614. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts +19 -0
  615. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts.map +1 -0
  616. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js +41 -0
  617. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js.map +1 -0
  618. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts +23 -0
  619. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts.map +1 -0
  620. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js +87 -0
  621. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js.map +1 -0
  622. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts +18 -0
  623. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts.map +1 -0
  624. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js +43 -0
  625. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js.map +1 -0
  626. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts +24 -0
  627. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts.map +1 -0
  628. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js +109 -0
  629. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js.map +1 -0
  630. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts +24 -0
  631. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts.map +1 -0
  632. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js +96 -0
  633. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js.map +1 -0
  634. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts +22 -0
  635. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts.map +1 -0
  636. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js +128 -0
  637. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js.map +1 -0
  638. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts +18 -0
  639. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts.map +1 -0
  640. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js +43 -0
  641. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js.map +1 -0
  642. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts +22 -0
  643. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts.map +1 -0
  644. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js +44 -0
  645. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js.map +1 -0
  646. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts +23 -0
  647. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts.map +1 -0
  648. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js +110 -0
  649. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js.map +1 -0
  650. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts +23 -0
  651. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts.map +1 -0
  652. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js +52 -0
  653. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js.map +1 -0
  654. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts +15 -0
  655. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts.map +1 -0
  656. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js +41 -0
  657. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js.map +1 -0
  658. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts +19 -0
  659. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts.map +1 -0
  660. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js +87 -0
  661. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js.map +1 -0
  662. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts +22 -0
  663. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts.map +1 -0
  664. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js +72 -0
  665. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js.map +1 -0
  666. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts +18 -0
  667. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts.map +1 -0
  668. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js +69 -0
  669. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js.map +1 -0
  670. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts +28 -0
  671. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts.map +1 -0
  672. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js +128 -0
  673. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js.map +1 -0
  674. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts +23 -0
  675. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts.map +1 -0
  676. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js +90 -0
  677. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js.map +1 -0
  678. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts +16 -0
  679. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts.map +1 -0
  680. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js +40 -0
  681. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js.map +1 -0
  682. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts +20 -0
  683. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts.map +1 -0
  684. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js +60 -0
  685. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js.map +1 -0
  686. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts +19 -0
  687. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts.map +1 -0
  688. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js +88 -0
  689. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js.map +1 -0
  690. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts +18 -0
  691. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts.map +1 -0
  692. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js +58 -0
  693. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js.map +1 -0
  694. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts +22 -0
  695. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts.map +1 -0
  696. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js +109 -0
  697. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js.map +1 -0
  698. package/dist/doctor/standalone-ratchet-base.d.ts +3 -0
  699. package/dist/doctor/standalone-ratchet-base.d.ts.map +1 -0
  700. package/dist/doctor/standalone-ratchet-base.js +62 -0
  701. package/dist/doctor/standalone-ratchet-base.js.map +1 -0
  702. package/dist/doctor/standalone-ratchet-policy.d.ts +9 -0
  703. package/dist/doctor/standalone-ratchet-policy.d.ts.map +1 -0
  704. package/dist/doctor/standalone-ratchet-policy.js +66 -0
  705. package/dist/doctor/standalone-ratchet-policy.js.map +1 -0
  706. package/dist/doctor/standalone-ratchet.d.ts +16 -0
  707. package/dist/doctor/standalone-ratchet.d.ts.map +1 -0
  708. package/dist/doctor/standalone-ratchet.js +86 -0
  709. package/dist/doctor/standalone-ratchet.js.map +1 -0
  710. package/dist/domain-boundaries/check-domain-boundaries.d.ts +14 -0
  711. package/dist/domain-boundaries/check-domain-boundaries.d.ts.map +1 -0
  712. package/dist/domain-boundaries/check-domain-boundaries.js +68 -0
  713. package/dist/domain-boundaries/check-domain-boundaries.js.map +1 -0
  714. package/dist/domain-boundaries/module-references.d.ts +9 -0
  715. package/dist/domain-boundaries/module-references.d.ts.map +1 -0
  716. package/dist/domain-boundaries/module-references.js +38 -0
  717. package/dist/domain-boundaries/module-references.js.map +1 -0
  718. package/dist/domain-boundaries/ownership.d.ts +17 -0
  719. package/dist/domain-boundaries/ownership.d.ts.map +1 -0
  720. package/dist/domain-boundaries/ownership.js +84 -0
  721. package/dist/domain-boundaries/ownership.js.map +1 -0
  722. package/dist/domain-boundaries/source-resolution.d.ts +10 -0
  723. package/dist/domain-boundaries/source-resolution.d.ts.map +1 -0
  724. package/dist/domain-boundaries/source-resolution.js +99 -0
  725. package/dist/domain-boundaries/source-resolution.js.map +1 -0
  726. package/dist/index.d.ts +10 -0
  727. package/dist/index.d.ts.map +1 -0
  728. package/dist/index.js +10 -0
  729. package/dist/index.js.map +1 -0
  730. package/dist/initialize-dads-project.d.ts +17 -0
  731. package/dist/initialize-dads-project.d.ts.map +1 -0
  732. package/dist/initialize-dads-project.js +86 -0
  733. package/dist/initialize-dads-project.js.map +1 -0
  734. package/dist/library-recipe-files.d.ts +10 -0
  735. package/dist/library-recipe-files.d.ts.map +1 -0
  736. package/dist/library-recipe-files.js +59 -0
  737. package/dist/library-recipe-files.js.map +1 -0
  738. package/dist/library-recipe-manifests.d.ts +16 -0
  739. package/dist/library-recipe-manifests.d.ts.map +1 -0
  740. package/dist/library-recipe-manifests.js +110 -0
  741. package/dist/library-recipe-manifests.js.map +1 -0
  742. package/dist/missing-path-error.d.ts +12 -0
  743. package/dist/missing-path-error.d.ts.map +1 -0
  744. package/dist/missing-path-error.js +14 -0
  745. package/dist/missing-path-error.js.map +1 -0
  746. package/dist/parse-guards.d.ts +15 -0
  747. package/dist/parse-guards.d.ts.map +1 -0
  748. package/dist/parse-guards.js +21 -0
  749. package/dist/parse-guards.js.map +1 -0
  750. package/dist/project-files.d.ts +8 -0
  751. package/dist/project-files.d.ts.map +1 -0
  752. package/dist/project-files.js +24 -0
  753. package/dist/project-files.js.map +1 -0
  754. package/dist/project-orientation.d.ts +33 -0
  755. package/dist/project-orientation.d.ts.map +1 -0
  756. package/dist/project-orientation.js +184 -0
  757. package/dist/project-orientation.js.map +1 -0
  758. package/dist/recommend-changed-verification.d.ts +20 -0
  759. package/dist/recommend-changed-verification.d.ts.map +1 -0
  760. package/dist/recommend-changed-verification.js +32 -0
  761. package/dist/recommend-changed-verification.js.map +1 -0
  762. package/dist/resource-generators/access-generator.d.ts +5 -0
  763. package/dist/resource-generators/access-generator.d.ts.map +1 -0
  764. package/dist/resource-generators/access-generator.js +50 -0
  765. package/dist/resource-generators/access-generator.js.map +1 -0
  766. package/dist/resource-generators/domain-generator.d.ts +5 -0
  767. package/dist/resource-generators/domain-generator.d.ts.map +1 -0
  768. package/dist/resource-generators/domain-generator.js +68 -0
  769. package/dist/resource-generators/domain-generator.js.map +1 -0
  770. package/dist/resource-generators/email-generator.d.ts +3 -0
  771. package/dist/resource-generators/email-generator.d.ts.map +1 -0
  772. package/dist/resource-generators/email-generator.js +30 -0
  773. package/dist/resource-generators/email-generator.js.map +1 -0
  774. package/dist/resource-generators/endpoint-generator.d.ts +4 -0
  775. package/dist/resource-generators/endpoint-generator.d.ts.map +1 -0
  776. package/dist/resource-generators/endpoint-generator.js +65 -0
  777. package/dist/resource-generators/endpoint-generator.js.map +1 -0
  778. package/dist/resource-generators/flag-generator.d.ts +3 -0
  779. package/dist/resource-generators/flag-generator.d.ts.map +1 -0
  780. package/dist/resource-generators/flag-generator.js +22 -0
  781. package/dist/resource-generators/flag-generator.js.map +1 -0
  782. package/dist/resource-generators/generate-resource.d.ts +3 -0
  783. package/dist/resource-generators/generate-resource.d.ts.map +1 -0
  784. package/dist/resource-generators/generate-resource.js +17 -0
  785. package/dist/resource-generators/generate-resource.js.map +1 -0
  786. package/dist/resource-generators/generation-plan.d.ts +15 -0
  787. package/dist/resource-generators/generation-plan.d.ts.map +1 -0
  788. package/dist/resource-generators/generation-plan.js +99 -0
  789. package/dist/resource-generators/generation-plan.js.map +1 -0
  790. package/dist/resource-generators/generator-arguments.d.ts +23 -0
  791. package/dist/resource-generators/generator-arguments.d.ts.map +1 -0
  792. package/dist/resource-generators/generator-arguments.js +83 -0
  793. package/dist/resource-generators/generator-arguments.js.map +1 -0
  794. package/dist/resource-generators/generator-dependencies.d.ts +3 -0
  795. package/dist/resource-generators/generator-dependencies.d.ts.map +1 -0
  796. package/dist/resource-generators/generator-dependencies.js +59 -0
  797. package/dist/resource-generators/generator-dependencies.js.map +1 -0
  798. package/dist/resource-generators/names.d.ts +5 -0
  799. package/dist/resource-generators/names.d.ts.map +1 -0
  800. package/dist/resource-generators/names.js +16 -0
  801. package/dist/resource-generators/names.js.map +1 -0
  802. package/dist/resource-generators/page-generator.d.ts +3 -0
  803. package/dist/resource-generators/page-generator.d.ts.map +1 -0
  804. package/dist/resource-generators/page-generator.js +23 -0
  805. package/dist/resource-generators/page-generator.js.map +1 -0
  806. package/dist/resource-generators/resource-contract.d.ts +3 -0
  807. package/dist/resource-generators/resource-contract.d.ts.map +1 -0
  808. package/dist/resource-generators/resource-contract.js +40 -0
  809. package/dist/resource-generators/resource-contract.js.map +1 -0
  810. package/dist/resource-generators/resource-pages.d.ts +3 -0
  811. package/dist/resource-generators/resource-pages.d.ts.map +1 -0
  812. package/dist/resource-generators/resource-pages.js +85 -0
  813. package/dist/resource-generators/resource-pages.js.map +1 -0
  814. package/dist/resource-generators/resource-proof.d.ts +3 -0
  815. package/dist/resource-generators/resource-proof.d.ts.map +1 -0
  816. package/dist/resource-generators/resource-proof.js +89 -0
  817. package/dist/resource-generators/resource-proof.js.map +1 -0
  818. package/dist/resource-generators/resource-routes.d.ts +3 -0
  819. package/dist/resource-generators/resource-routes.d.ts.map +1 -0
  820. package/dist/resource-generators/resource-routes.js +62 -0
  821. package/dist/resource-generators/resource-routes.js.map +1 -0
  822. package/dist/resource-generators/resource-store.d.ts +3 -0
  823. package/dist/resource-generators/resource-store.d.ts.map +1 -0
  824. package/dist/resource-generators/resource-store.js +88 -0
  825. package/dist/resource-generators/resource-store.js.map +1 -0
  826. package/dist/resource-generators/table-generator.d.ts +3 -0
  827. package/dist/resource-generators/table-generator.d.ts.map +1 -0
  828. package/dist/resource-generators/table-generator.js +109 -0
  829. package/dist/resource-generators/table-generator.js.map +1 -0
  830. package/dist/resource-generators/web-client-exports.d.ts +3 -0
  831. package/dist/resource-generators/web-client-exports.d.ts.map +1 -0
  832. package/dist/resource-generators/web-client-exports.js +12 -0
  833. package/dist/resource-generators/web-client-exports.js.map +1 -0
  834. package/dist/route-inspection/read-route-source.d.ts +15 -0
  835. package/dist/route-inspection/read-route-source.d.ts.map +1 -0
  836. package/dist/route-inspection/read-route-source.js +138 -0
  837. package/dist/route-inspection/read-route-source.js.map +1 -0
  838. package/dist/route-inspection/route-source-facts.d.ts +14 -0
  839. package/dist/route-inspection/route-source-facts.d.ts.map +1 -0
  840. package/dist/route-inspection/route-source-facts.js +81 -0
  841. package/dist/route-inspection/route-source-facts.js.map +1 -0
  842. package/dist/starter-project/kit-starter.generated.d.ts +5 -0
  843. package/dist/starter-project/kit-starter.generated.d.ts.map +1 -0
  844. package/dist/starter-project/kit-starter.generated.js +124 -0
  845. package/dist/starter-project/kit-starter.generated.js.map +1 -0
  846. package/dist/starter-project/render-starter-project.d.ts +10 -0
  847. package/dist/starter-project/render-starter-project.d.ts.map +1 -0
  848. package/dist/starter-project/render-starter-project.js +19 -0
  849. package/dist/starter-project/render-starter-project.js.map +1 -0
  850. package/dist/starter-project/render-starter-staged-checks.d.ts +4 -0
  851. package/dist/starter-project/render-starter-staged-checks.d.ts.map +1 -0
  852. package/dist/starter-project/render-starter-staged-checks.js +73 -0
  853. package/dist/starter-project/render-starter-staged-checks.js.map +1 -0
  854. package/dist/starter-project/render-starter-verification-files.d.ts +4 -0
  855. package/dist/starter-project/render-starter-verification-files.d.ts.map +1 -0
  856. package/dist/starter-project/render-starter-verification-files.js +258 -0
  857. package/dist/starter-project/render-starter-verification-files.js.map +1 -0
  858. package/dist/starter-project/starter-ci-workflow.d.ts +5 -0
  859. package/dist/starter-project/starter-ci-workflow.d.ts.map +1 -0
  860. package/dist/starter-project/starter-ci-workflow.js +61 -0
  861. package/dist/starter-project/starter-ci-workflow.js.map +1 -0
  862. package/dist/synchronize-agent-skills.d.ts +12 -0
  863. package/dist/synchronize-agent-skills.d.ts.map +1 -0
  864. package/dist/synchronize-agent-skills.js +36 -0
  865. package/dist/synchronize-agent-skills.js.map +1 -0
  866. package/dist/toolbox.tsbuildinfo +1 -0
  867. package/dist/verification/canonical-bytes.d.ts +6 -0
  868. package/dist/verification/canonical-bytes.d.ts.map +1 -0
  869. package/dist/verification/canonical-bytes.js +23 -0
  870. package/dist/verification/canonical-bytes.js.map +1 -0
  871. package/dist/verification/execute-graph-task.d.ts +14 -0
  872. package/dist/verification/execute-graph-task.d.ts.map +1 -0
  873. package/dist/verification/execute-graph-task.js +193 -0
  874. package/dist/verification/execute-graph-task.js.map +1 -0
  875. package/dist/verification/filesystem-guards.d.ts +10 -0
  876. package/dist/verification/filesystem-guards.d.ts.map +1 -0
  877. package/dist/verification/filesystem-guards.js +54 -0
  878. package/dist/verification/filesystem-guards.js.map +1 -0
  879. package/dist/verification/format-verification-report.d.ts +3 -0
  880. package/dist/verification/format-verification-report.d.ts.map +1 -0
  881. package/dist/verification/format-verification-report.js +17 -0
  882. package/dist/verification/format-verification-report.js.map +1 -0
  883. package/dist/verification/git-environment.d.ts +14 -0
  884. package/dist/verification/git-environment.d.ts.map +1 -0
  885. package/dist/verification/git-environment.js +16 -0
  886. package/dist/verification/git-environment.js.map +1 -0
  887. package/dist/verification/logic/collect-candidate-tasks.d.ts +7 -0
  888. package/dist/verification/logic/collect-candidate-tasks.d.ts.map +1 -0
  889. package/dist/verification/logic/collect-candidate-tasks.js +214 -0
  890. package/dist/verification/logic/collect-candidate-tasks.js.map +1 -0
  891. package/dist/verification/logic/decide-task-reuse.d.ts +14 -0
  892. package/dist/verification/logic/decide-task-reuse.d.ts.map +1 -0
  893. package/dist/verification/logic/decide-task-reuse.js +43 -0
  894. package/dist/verification/logic/decide-task-reuse.js.map +1 -0
  895. package/dist/verification/publish-verification-outputs.d.ts +16 -0
  896. package/dist/verification/publish-verification-outputs.d.ts.map +1 -0
  897. package/dist/verification/publish-verification-outputs.js +122 -0
  898. package/dist/verification/publish-verification-outputs.js.map +1 -0
  899. package/dist/verification/read-changed-scope.d.ts +10 -0
  900. package/dist/verification/read-changed-scope.d.ts.map +1 -0
  901. package/dist/verification/read-changed-scope.js +108 -0
  902. package/dist/verification/read-changed-scope.js.map +1 -0
  903. package/dist/verification/receipt-store.d.ts +17 -0
  904. package/dist/verification/receipt-store.d.ts.map +1 -0
  905. package/dist/verification/receipt-store.js +166 -0
  906. package/dist/verification/receipt-store.js.map +1 -0
  907. package/dist/verification/run-verification-task.d.ts +27 -0
  908. package/dist/verification/run-verification-task.d.ts.map +1 -0
  909. package/dist/verification/run-verification-task.js +276 -0
  910. package/dist/verification/run-verification-task.js.map +1 -0
  911. package/dist/verification/snapshot-capture.d.ts +26 -0
  912. package/dist/verification/snapshot-capture.d.ts.map +1 -0
  913. package/dist/verification/snapshot-capture.js +237 -0
  914. package/dist/verification/snapshot-capture.js.map +1 -0
  915. package/dist/verification/verification-contract.d.ts +85 -0
  916. package/dist/verification/verification-contract.d.ts.map +1 -0
  917. package/dist/verification/verification-contract.js +2 -0
  918. package/dist/verification/verification-contract.js.map +1 -0
  919. package/dist/verification/verification-failure.d.ts +11 -0
  920. package/dist/verification/verification-failure.d.ts.map +1 -0
  921. package/dist/verification/verification-failure.js +15 -0
  922. package/dist/verification/verification-failure.js.map +1 -0
  923. package/dist/verification/verification-inputs.d.ts +62 -0
  924. package/dist/verification/verification-inputs.d.ts.map +1 -0
  925. package/dist/verification/verification-inputs.js +250 -0
  926. package/dist/verification/verification-inputs.js.map +1 -0
  927. package/dist/verification/verification-receipt.d.ts +28 -0
  928. package/dist/verification/verification-receipt.d.ts.map +1 -0
  929. package/dist/verification/verification-receipt.js +216 -0
  930. package/dist/verification/verification-receipt.js.map +1 -0
  931. package/dist/verification/verifier-identity.d.ts +3 -0
  932. package/dist/verification/verifier-identity.d.ts.map +1 -0
  933. package/dist/verification/verifier-identity.js +39 -0
  934. package/dist/verification/verifier-identity.js.map +1 -0
  935. package/dist/verification/verify-task-graph.d.ts +20 -0
  936. package/dist/verification/verify-task-graph.d.ts.map +1 -0
  937. package/dist/verification/verify-task-graph.js +112 -0
  938. package/dist/verification/verify-task-graph.js.map +1 -0
  939. package/dist/verification/workspace-git-context.d.ts +23 -0
  940. package/dist/verification/workspace-git-context.d.ts.map +1 -0
  941. package/dist/verification/workspace-git-context.js +194 -0
  942. package/dist/verification/workspace-git-context.js.map +1 -0
  943. package/dist/verification/workspace-git-evidence.d.ts +16 -0
  944. package/dist/verification/workspace-git-evidence.d.ts.map +1 -0
  945. package/dist/verification/workspace-git-evidence.js +44 -0
  946. package/dist/verification/workspace-git-evidence.js.map +1 -0
  947. package/dist/verification/workspace-snapshot.d.ts +9 -0
  948. package/dist/verification/workspace-snapshot.d.ts.map +1 -0
  949. package/dist/verification/workspace-snapshot.js +113 -0
  950. package/dist/verification/workspace-snapshot.js.map +1 -0
  951. package/dist/verification-policy-parsing.d.ts +22 -0
  952. package/dist/verification-policy-parsing.d.ts.map +1 -0
  953. package/dist/verification-policy-parsing.js +218 -0
  954. package/dist/verification-policy-parsing.js.map +1 -0
  955. package/dist/write-library-recipe.d.ts +9 -0
  956. package/dist/write-library-recipe.d.ts.map +1 -0
  957. package/dist/write-library-recipe.js +45 -0
  958. package/dist/write-library-recipe.js.map +1 -0
  959. package/package.json +40 -4
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The production file budget: 400 counted lines.
3
+ *
4
+ * A file is the smallest unit an agent loads, reviews, and edits. The budget
5
+ * is a proxy for "one responsibility per file". It exists so that an agent
6
+ * hits a hard stop before a file becomes the only place anything can go.
7
+ *
8
+ * Test files are excluded here because `test-files-over-ceiling` owns them at
9
+ * 600. A Rust file's inline test module is deliberately *not* excluded: it
10
+ * counts toward the production file, which is the pressure that moves it into
11
+ * a sibling `tests.rs`.
12
+ */
13
+ import { type DoctorSignal } from "../../doctor-signal.js";
14
+ export declare const filesOverCeilingSignal: DoctorSignal;
15
+ //# sourceMappingURL=files-over-ceiling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files-over-ceiling.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/files-over-ceiling.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AAyBhC,eAAO,MAAM,sBAAsB,EAAE,YAWpC,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * The production file budget: 400 counted lines.
3
+ *
4
+ * A file is the smallest unit an agent loads, reviews, and edits. The budget
5
+ * is a proxy for "one responsibility per file". It exists so that an agent
6
+ * hits a hard stop before a file becomes the only place anything can go.
7
+ *
8
+ * Test files are excluded here because `test-files-over-ceiling` owns them at
9
+ * 600. A Rust file's inline test module is deliberately *not* excluded: it
10
+ * counts toward the production file, which is the pressure that moves it into
11
+ * a sibling `tests.rs`.
12
+ */
13
+ import { fileReading, } from "../../doctor-signal.js";
14
+ import { countCodeLines } from "../scanners/counted-lines.js";
15
+ import { budgetedSourceFiles, isTestSource, } from "../scanners/source-classification.js";
16
+ function countProductionFileLines(context) {
17
+ const readings = new Map();
18
+ const hasRootSourcePackage = context
19
+ .packages()
20
+ .some(({ root }) => root === "src");
21
+ for (const path of budgetedSourceFiles(context.files(), hasRootSourcePackage)) {
22
+ if (isTestSource(path))
23
+ continue;
24
+ readings.set(path, fileReading(path, countCodeLines(context.read(path), path)));
25
+ }
26
+ return readings;
27
+ }
28
+ export const filesOverCeilingSignal = {
29
+ id: "files-over-ceiling",
30
+ issue: "enmeshment",
31
+ question: "Does any source file exceed 400 counted lines?",
32
+ reads: "text",
33
+ unit: "lines",
34
+ direction: "ceiling",
35
+ thresholds: { standard: 400, strict: 400 },
36
+ sentence: "Three thousand lines in one bed. You call it cohesion.",
37
+ measure: "fileLines",
38
+ run: (context) => Promise.resolve(countProductionFileLines(context)),
39
+ };
40
+ //# sourceMappingURL=files-over-ceiling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files-over-ceiling.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/files-over-ceiling.ts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+ /**
2
+ * A function over any of the four ceilings: ceiling 0.
3
+ *
4
+ * One function carrying eighty-one statements is not a strong function. The
5
+ * four ceilings are the four ways a function gets that way — too many
6
+ * branches, too many statements, too deeply nested, too many callbacks inside
7
+ * each other — and a function is over this signal when it is over any of them.
8
+ * The reading is therefore how many of the four it exceeds, and the evidence
9
+ * says which, with the number.
10
+ *
11
+ * The ceilings are the ones ESLint already holds this repository to, measured
12
+ * the same way: complexity and depth within the function's own body, stopping
13
+ * at any function nested inside it, because that one is measured separately;
14
+ * statements as the statements of the body itself; and callback nesting as the
15
+ * chain of functions passed as arguments, wherever it runs.
16
+ *
17
+ * Tests are not measured. A test's arrange-act-assert body is long on purpose
18
+ * and its ceiling is the file one.
19
+ */
20
+ import type { DoctorSignal } from "../../doctor-signal.js";
21
+ export declare const functionsOverCeilingSignal: DoctorSignal;
22
+ //# sourceMappingURL=functions-over-ceiling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-over-ceiling.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/functions-over-ceiling.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,wBAAwB,CAAC;AAsIhC,eAAO,MAAM,0BAA0B,EAAE,YAYxC,CAAC"}
@@ -0,0 +1,139 @@
1
+ /**
2
+ * A function over any of the four ceilings: ceiling 0.
3
+ *
4
+ * One function carrying eighty-one statements is not a strong function. The
5
+ * four ceilings are the four ways a function gets that way — too many
6
+ * branches, too many statements, too deeply nested, too many callbacks inside
7
+ * each other — and a function is over this signal when it is over any of them.
8
+ * The reading is therefore how many of the four it exceeds, and the evidence
9
+ * says which, with the number.
10
+ *
11
+ * The ceilings are the ones ESLint already holds this repository to, measured
12
+ * the same way: complexity and depth within the function's own body, stopping
13
+ * at any function nested inside it, because that one is measured separately;
14
+ * statements as the statements of the body itself; and callback nesting as the
15
+ * chain of functions passed as arguments, wherever it runs.
16
+ *
17
+ * Tests are not measured. A test's arrange-act-assert body is long on purpose
18
+ * and its ceiling is the file one.
19
+ */
20
+ import { evidenceAt, functionBodyOf, functionName, isFunctionNode, isProductionModule, lineOf, ts, visitNodes, } from "../scanners/typescript-program.js";
21
+ const COMPLEXITY_CEILING = 10;
22
+ const STATEMENT_CEILING = 20;
23
+ const DEPTH_CEILING = 3;
24
+ const CALLBACK_CEILING = 2;
25
+ const BRANCHES = new Set([
26
+ ts.SyntaxKind.IfStatement,
27
+ ts.SyntaxKind.ForStatement,
28
+ ts.SyntaxKind.ForInStatement,
29
+ ts.SyntaxKind.ForOfStatement,
30
+ ts.SyntaxKind.WhileStatement,
31
+ ts.SyntaxKind.DoStatement,
32
+ ts.SyntaxKind.ConditionalExpression,
33
+ ts.SyntaxKind.CatchClause,
34
+ ts.SyntaxKind.CaseClause,
35
+ ]);
36
+ const NESTING = new Set([
37
+ ts.SyntaxKind.IfStatement,
38
+ ts.SyntaxKind.ForStatement,
39
+ ts.SyntaxKind.ForInStatement,
40
+ ts.SyntaxKind.ForOfStatement,
41
+ ts.SyntaxKind.WhileStatement,
42
+ ts.SyntaxKind.DoStatement,
43
+ ts.SyntaxKind.SwitchStatement,
44
+ ts.SyntaxKind.TryStatement,
45
+ ]);
46
+ const LOGICAL = new Set([
47
+ ts.SyntaxKind.AmpersandAmpersandToken,
48
+ ts.SyntaxKind.BarBarToken,
49
+ ts.SyntaxKind.QuestionQuestionToken,
50
+ ]);
51
+ function isLogicalBranch(node) {
52
+ return ts.isBinaryExpression(node) && LOGICAL.has(node.operatorToken.kind);
53
+ }
54
+ /** An `else if` is the same arm of one decision, not a deeper one. */
55
+ function deepens(node) {
56
+ if (!NESTING.has(node.kind))
57
+ return false;
58
+ if (!ts.isIfStatement(node))
59
+ return true;
60
+ const parent = node.parent;
61
+ return !(ts.isIfStatement(parent) && parent.elseStatement === node);
62
+ }
63
+ function measureOwnBody(node, depth, tally) {
64
+ node.forEachChild((child) => {
65
+ if (isFunctionNode(child))
66
+ return;
67
+ if (BRANCHES.has(child.kind) || isLogicalBranch(child)) {
68
+ tally.complexity += 1;
69
+ }
70
+ const next = deepens(child) ? depth + 1 : depth;
71
+ tally.depth = Math.max(tally.depth, next);
72
+ measureOwnBody(child, next, tally);
73
+ });
74
+ }
75
+ function isCallbackFunction(node) {
76
+ if (!ts.isArrowFunction(node) && !ts.isFunctionExpression(node))
77
+ return false;
78
+ const parent = node.parent;
79
+ if (!ts.isCallExpression(parent))
80
+ return false;
81
+ return parent.arguments.some((argument) => argument === node);
82
+ }
83
+ function measureCallbacks(node, level, tally) {
84
+ node.forEachChild((child) => {
85
+ const next = isCallbackFunction(child) ? level + 1 : level;
86
+ tally.callbacks = Math.max(tally.callbacks, next);
87
+ measureCallbacks(child, next, tally);
88
+ });
89
+ }
90
+ /** Which ceilings this body is over, with the number that put it there. */
91
+ function breaches(body) {
92
+ const tally = { complexity: 1, depth: 0, callbacks: 0 };
93
+ measureOwnBody(body, 0, tally);
94
+ measureCallbacks(body, 0, tally);
95
+ const statements = body.statements.length;
96
+ return [
97
+ tally.complexity > COMPLEXITY_CEILING
98
+ ? `complexity ${tally.complexity}`
99
+ : "",
100
+ statements > STATEMENT_CEILING ? `statements ${statements}` : "",
101
+ tally.depth > DEPTH_CEILING ? `depth ${tally.depth}` : "",
102
+ tally.callbacks > CALLBACK_CEILING ? `callbacks ${tally.callbacks}` : "",
103
+ ].filter((over) => over.length > 0);
104
+ }
105
+ function measureModule(module, readings) {
106
+ visitNodes(module.source, (node) => {
107
+ const body = functionBodyOf(node);
108
+ if (body === undefined)
109
+ return;
110
+ const over = breaches(body);
111
+ const evidence = over.map((detail) => evidenceAt(module, node, detail));
112
+ const where = `${module.path}:${lineOf(module, node)}`;
113
+ readings.set(`${where} ${functionName(node)}`, {
114
+ value: over.length,
115
+ evidence,
116
+ });
117
+ });
118
+ }
119
+ function countFunctionsOverCeiling(context) {
120
+ const readings = new Map();
121
+ for (const module of context.program().modules) {
122
+ if (!isProductionModule(module.path))
123
+ continue;
124
+ measureModule(module, readings);
125
+ }
126
+ return readings;
127
+ }
128
+ export const functionsOverCeilingSignal = {
129
+ id: "functions-over-ceiling",
130
+ issue: "enmeshment",
131
+ question: "Does any production function exceed complexity 10, 20 statements, depth 3, or 2 nested callbacks?",
132
+ reads: "typescript",
133
+ unit: "count",
134
+ direction: "ceiling",
135
+ thresholds: { standard: 0, strict: 0 },
136
+ sentence: "One function carrying eighty-one statements is not a strong function. It is the oldest kid doing six jobs because nobody was allowed a job of their own.",
137
+ run: (context) => Promise.resolve(countFunctionsOverCeiling(context)),
138
+ };
139
+ //# sourceMappingURL=functions-over-ceiling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-over-ceiling.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/functions-over-ceiling.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AASH,OAAO,EACL,UAAU,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,MAAM,EACN,EAAE,EACF,UAAU,GAEX,MAAM,mCAAmC,CAAC;AAE3C,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,aAAa,GAAG,CAAC,CAAC;AACxB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAE3B,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC;IACvB,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,YAAY;IAC1B,EAAE,CAAC,UAAU,CAAC,cAAc;IAC5B,EAAE,CAAC,UAAU,CAAC,cAAc;IAC5B,EAAE,CAAC,UAAU,CAAC,cAAc;IAC5B,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,qBAAqB;IACnC,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,UAAU;CACzB,CAA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is a room with thirteen people in it who have
5
+ * been told they are one person. Nothing inside can be named, moved, or
6
+ * replaced on its own, and the reason given is always that they all touch the
7
+ * same state — which is the definition of the problem rather than a defence of
8
+ * it.
9
+ *
10
+ * Constructors and accessors are not counted: a constructor is assembly and an
11
+ * accessor is a field with manners. Report-only under `standard` and 12 under
12
+ * `strict`, so the classes this emits are the ones already at or over that
13
+ * ceiling.
14
+ */
15
+ import type { DoctorSignal } from "../../doctor-signal.js";
16
+ export declare const godClassesSignal: DoctorSignal;
17
+ //# sourceMappingURL=god-classes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"god-classes.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/god-classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA0ChC,eAAO,MAAM,gBAAgB,EAAE,YAW9B,CAAC"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * A class with more than twelve methods: report, then 12.
3
+ *
4
+ * A class with thirteen methods is a room with thirteen people in it who have
5
+ * been told they are one person. Nothing inside can be named, moved, or
6
+ * replaced on its own, and the reason given is always that they all touch the
7
+ * same state — which is the definition of the problem rather than a defence of
8
+ * it.
9
+ *
10
+ * Constructors and accessors are not counted: a constructor is assembly and an
11
+ * accessor is a field with manners. Report-only under `standard` and 12 under
12
+ * `strict`, so the classes this emits are the ones already at or over that
13
+ * ceiling.
14
+ */
15
+ import { evidenceAt, isProductionModule, lineOf, ts, visitNodes, } from "../scanners/typescript-program.js";
16
+ /** The count `strict` refuses, which is also the count worth reporting. */
17
+ const CEILING = 12;
18
+ function methodCount(node) {
19
+ return node.members.filter((member) => ts.isMethodDeclaration(member)).length;
20
+ }
21
+ function measureClasses(module, readings) {
22
+ visitNodes(module.source, (node) => {
23
+ if (!ts.isClassDeclaration(node))
24
+ return;
25
+ const methods = methodCount(node);
26
+ if (methods <= CEILING)
27
+ return;
28
+ const name = node.name === undefined ? "anonymous class" : node.name.text;
29
+ readings.set(`${module.path}:${lineOf(module, node)} ${name}`, {
30
+ value: methods,
31
+ evidence: [evidenceAt(module, node, `${methods} methods`)],
32
+ });
33
+ });
34
+ }
35
+ function countGodClasses(context) {
36
+ const readings = new Map();
37
+ for (const module of context.program().modules) {
38
+ if (!isProductionModule(module.path))
39
+ continue;
40
+ measureClasses(module, readings);
41
+ }
42
+ return readings;
43
+ }
44
+ export const godClassesSignal = {
45
+ id: "god-classes",
46
+ issue: "enmeshment",
47
+ question: "Does any class carry more methods than the profile's ceiling?",
48
+ reads: "typescript",
49
+ unit: "count",
50
+ direction: "ceiling",
51
+ thresholds: { standard: null, strict: CEILING },
52
+ sentence: "Ask the file what it does and it says “stuff.” Ask the function and it says “everything.”",
53
+ run: (context) => Promise.resolve(countGodClasses(context)),
54
+ };
55
+ //# sourceMappingURL=god-classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"god-classes.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/god-classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAQH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,MAAM,EACN,EAAE,EACF,UAAU,GAEX,MAAM,mCAAmC,CAAC;AAE3C,2EAA2E;AAC3E,MAAM,OAAO,GAAG,EAAE,CAAC;AAEnB,SAAS,WAAW,CAAC,IAAyB;IAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;AAChF,CAAC;AAED,SAAS,cAAc,CACrB,MAAoB,EACpB,QAAoC;IAEpC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;QACjC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;YAAE,OAAO;QACzC,MAAM,OAAO,GAAG,WA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@@ -0,0 +1,24 @@
1
+ /**
2
+ * An import cycle inside a package: ceiling 0.
3
+ *
4
+ * A cycle is two files that were never really two files. Neither can be read,
5
+ * moved, tested, or deleted without the other, the initialisation order
6
+ * becomes something you learn by being burned, and the package has no order in
7
+ * which a reader can meet it.
8
+ *
9
+ * The reading is per package, and the number is how many imports close a
10
+ * cycle — the edge a depth-first walk finds pointing back at a module it is
11
+ * still inside. Every one of them is an import somebody can delete or invert,
12
+ * so the evidence points at the import rather than at the cycle, which nobody
13
+ * can act on as a whole.
14
+ *
15
+ * Only production modules are walked, and only relative imports that survive
16
+ * compilation. A package that reaches its own modules through its published
17
+ * name has a different problem; a test that imports the module under test is
18
+ * not a cycle; and an `import type` that closes a loop is erased before
19
+ * anything runs, so it cannot put a module in the wrong initialisation order
20
+ * and is not counted.
21
+ */
22
+ import type { DoctorSignal } from "../../doctor-signal.js";
23
+ export declare const intraPackageCyclesSignal: DoctorSignal;
24
+ //# sourceMappingURL=intra-package-cycles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intra-package-cycles.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/intra-package-cycles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,wBAAwB,CAAC;AA+EhC,eAAO,MAAM,wBAAwB,EAAE,YAUtC,CAAC"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * An import cycle inside a package: ceiling 0.
3
+ *
4
+ * A cycle is two files that were never really two files. Neither can be read,
5
+ * moved, tested, or deleted without the other, the initialisation order
6
+ * becomes something you learn by being burned, and the package has no order in
7
+ * which a reader can meet it.
8
+ *
9
+ * The reading is per package, and the number is how many imports close a
10
+ * cycle — the edge a depth-first walk finds pointing back at a module it is
11
+ * still inside. Every one of them is an import somebody can delete or invert,
12
+ * so the evidence points at the import rather than at the cycle, which nobody
13
+ * can act on as a whole.
14
+ *
15
+ * Only production modules are walked, and only relative imports that survive
16
+ * compilation. A package that reaches its own modules through its published
17
+ * name has a different problem; a test that imports the module under test is
18
+ * not a cycle; and an `import type` that closes a loop is erased before
19
+ * anything runs, so it cannot put a module in the wrong initialisation order
20
+ * and is not counted.
21
+ */
22
+ import { evidenceAt, isProductionModule, moduleImports, resolveRelativeImport, } from "../scanners/typescript-program.js";
23
+ const VISITING = 1;
24
+ const VISITED = 2;
25
+ function edgesFrom(module, inPackage) {
26
+ const edges = [];
27
+ for (const imported of moduleImports(module)) {
28
+ if (imported.typeOnly)
29
+ continue;
30
+ const target = resolveRelativeImport(module.path, imported.specifier).find((candidate) => inPackage.has(candidate));
31
+ if (target === undefined)
32
+ continue;
33
+ edges.push({
34
+ to: target,
35
+ evidence: evidenceAt(module, imported.node, `imports ${target}`),
36
+ });
37
+ }
38
+ return edges;
39
+ }
40
+ /** Every import that points back at a module the walk is still inside. */
41
+ function backEdges(graph) {
42
+ const state = new Map();
43
+ const found = [];
44
+ const walk = (from) => {
45
+ state.set(from, VISITING);
46
+ for (const edge of graph.get(from) ?? []) {
47
+ const seen = state.get(edge.to);
48
+ if (seen === VISITING)
49
+ found.push(edge.evidence);
50
+ else if (seen !== VISITED)
51
+ walk(edge.to);
52
+ }
53
+ state.set(from, VISITED);
54
+ };
55
+ for (const from of graph.keys()) {
56
+ if (state.get(from) === undefined)
57
+ walk(from);
58
+ }
59
+ return found;
60
+ }
61
+ function countIntraPackageCycles(context) {
62
+ const byPackage = new Map();
63
+ for (const module of context.program().modules) {
64
+ if (!isProductionModule(module.path))
65
+ continue;
66
+ byPackage.set(module.packageRoot, [
67
+ ...(byPackage.get(module.packageRoot) ?? []),
68
+ module,
69
+ ]);
70
+ }
71
+ const readings = new Map();
72
+ for (const [root, modules] of byPackage) {
73
+ const inPackage = new Set(modules.map((module) => module.path));
74
+ const graph = new Map(modules.map((module) => [module.path, edgesFrom(module, inPackage)]));
75
+ const found = backEdges(graph);
76
+ readings.set(root, { value: found.length, evidence: found });
77
+ }
78
+ return readings;
79
+ }
80
+ export const intraPackageCyclesSignal = {
81
+ id: "intra-package-cycles",
82
+ issue: "enmeshment",
83
+ question: "Is there an import cycle inside a package?",
84
+ reads: "typescript",
85
+ unit: "count",
86
+ direction: "ceiling",
87
+ thresholds: { standard: 0, strict: 0 },
88
+ sentence: "Nobody in this family has a door.",
89
+ run: (context) => Promise.resolve(countIntraPackageCycles(context)),
90
+ };
91
+ //# sourceMappingURL=intra-package-cycles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intra-package-cycles.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/intra-package-cycles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AASH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,qBAAqB,GAEtB,MAAM,mCAAmC,CAAC;AAO3C,MAAM,QAAQ,GAAG,CAAC,CAAC;AACnB,MAAM,OAAO,GAAG,CAAC,CAAC;AAElB,SAAS,SAAS,CAChB,MAAoB,EACpB,SAA8B;IAE9B,MAAM,KAAK,GAAW,EAAE,CAAC;IACzB,KAAK,MAAM,QAAQ,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7C,IAAI,QAAQ,CAAC,QAAQ;YAAE,SAAS;QAChC,MAAM,MAAM,GAAG,qBAAqB,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,IAAI,CACxE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CACxC,CAAC;QACF,IAAI,MAAM,KAAK,SAAS;YAAE,SAAS;QACnC,KAAK,CAAC,IAAI,CAAC;YACT,EAAE,EAAE,MAAM;YACV,QAAQ,EAAE,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,MAAM,EAAE,CAAC;SACjE,CAAC,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC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... }` at the bottom of a production file is how
5
+ * an oversized crate file grows: the tests are already there, so the next
6
+ * behavior goes there too. The supported shape is `#[cfg(test)] mod tests;`
7
+ * with a sibling `tests.rs`, which `test-files-over-ceiling` then budgets at
8
+ * 600 on its own.
9
+ *
10
+ * A key is emitted for every candidate file, including the zeros, so a file
11
+ * whose block has been moved out reads as being at the ceiling rather than as
12
+ * a key nothing measures.
13
+ */
14
+ import { type DoctorSignal } from "../../doctor-signal.js";
15
+ export declare const rustInlineTestsSignal: DoctorSignal;
16
+ //# sourceMappingURL=rust-inline-tests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rust-inline-tests.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/rust-inline-tests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AAehC,eAAO,MAAM,qBAAqB,EAAE,YAWnC,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Inline Rust test modules: ceiling 0.
3
+ *
4
+ * A `#[cfg(test)] mod tests { ... }` at the bottom of a production file is how
5
+ * an oversized crate file grows: the tests are already there, so the next
6
+ * behavior goes there too. The supported shape is `#[cfg(test)] mod tests;`
7
+ * with a sibling `tests.rs`, which `test-files-over-ceiling` then budgets at
8
+ * 600 on its own.
9
+ *
10
+ * A key is emitted for every candidate file, including the zeros, so a file
11
+ * whose block has been moved out reads as being at the ceiling rather than as
12
+ * a key nothing measures.
13
+ */
14
+ import { fileReading, } from "../../doctor-signal.js";
15
+ import { isRustSource } from "../scanners/source-classification.js";
16
+ const INLINE_TEST_MODULE = /#\[cfg\(test\)\]\s*mod\s+tests\s*\{/g;
17
+ function countInlineTestModules(context) {
18
+ const readings = new Map();
19
+ for (const path of context.files()) {
20
+ if (!isRustSource(path) || path.endsWith("/tests.rs"))
21
+ continue;
22
+ const found = context.read(path).match(INLINE_TEST_MODULE);
23
+ readings.set(path, fileReading(path, found === null ? 0 : found.length));
24
+ }
25
+ return readings;
26
+ }
27
+ export const rustInlineTestsSignal = {
28
+ id: "rust-inline-tests",
29
+ issue: "enmeshment",
30
+ question: "In Rust, is there a `#[cfg(test)] mod tests` outside `tests.rs`?",
31
+ reads: "text",
32
+ unit: "count",
33
+ direction: "ceiling",
34
+ thresholds: { standard: 0, strict: 0 },
35
+ sentence: "Nobody in this family has a door.",
36
+ measure: "rustInlineTests",
37
+ run: (context) => Promise.resolve(countInlineTestModules(context)),
38
+ };
39
+ //# sourceMappingURL=rust-inline-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rust-inline-tests.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/rust-inline-tests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EACL,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;AAElE,SAAS,sBAAsB,CAAC,OAAsB;IACpD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;YAAE,SAAS;QAChE,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC3D,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAiB;IACjD,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,kEAAkE;IAC5E,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,mCAAmC;IAC7C,OAAO,EAAE,iBAAiB;IAC1B,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACnE,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The test file budget: 600 counted lines.
3
+ *
4
+ * Tests get more room than production code because a suite is a list of cases
5
+ * and a list is allowed to be long. They still get a ceiling, because a 1200
6
+ * line suite hides which behaviors are covered as surely as a 1200 line module
7
+ * hides which responsibilities it has.
8
+ *
9
+ * The classification is shared with `files-over-ceiling`, so every budgeted
10
+ * file lands under exactly one of the two ceilings.
11
+ */
12
+ import { type DoctorSignal } from "../../doctor-signal.js";
13
+ export declare const testFilesOverCeilingSignal: DoctorSignal;
14
+ //# sourceMappingURL=test-files-over-ceiling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-files-over-ceiling.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/test-files-over-ceiling.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AAyBhC,eAAO,MAAM,0BAA0B,EAAE,YAWxC,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The test file budget: 600 counted lines.
3
+ *
4
+ * Tests get more room than production code because a suite is a list of cases
5
+ * and a list is allowed to be long. They still get a ceiling, because a 1200
6
+ * line suite hides which behaviors are covered as surely as a 1200 line module
7
+ * hides which responsibilities it has.
8
+ *
9
+ * The classification is shared with `files-over-ceiling`, so every budgeted
10
+ * file lands under exactly one of the two ceilings.
11
+ */
12
+ import { fileReading, } from "../../doctor-signal.js";
13
+ import { countCodeLines } from "../scanners/counted-lines.js";
14
+ import { budgetedSourceFiles, isTestSource, } from "../scanners/source-classification.js";
15
+ function countTestFileLines(context) {
16
+ const readings = new Map();
17
+ const hasRootSourcePackage = context
18
+ .packages()
19
+ .some(({ root }) => root === "src");
20
+ for (const path of budgetedSourceFiles(context.files(), hasRootSourcePackage)) {
21
+ if (!isTestSource(path))
22
+ continue;
23
+ readings.set(path, fileReading(path, countCodeLines(context.read(path), path)));
24
+ }
25
+ return readings;
26
+ }
27
+ export const testFilesOverCeilingSignal = {
28
+ id: "test-files-over-ceiling",
29
+ issue: "enmeshment",
30
+ question: "Does any test file exceed 600 counted lines?",
31
+ reads: "text",
32
+ unit: "lines",
33
+ direction: "ceiling",
34
+ thresholds: { standard: 600, strict: 600 },
35
+ sentence: "Ask the file what it does and it says “stuff.”",
36
+ measure: "testFileLines",
37
+ run: (context) => Promise.resolve(countTestFileLines(context)),
38
+ };
39
+ //# sourceMappingURL=test-files-over-ceiling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-files-over-ceiling.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/test-files-over-ceiling.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,mBAAmB,EACnB,YAAY,GACb,MAAM,sCAAsC,CAAC;AAE9C,SAAS,kBAAkB,CAAC,OAAsB;IAChD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,MAAM,oBAAoB,GAAG,OAAO;SACjC,QAAQ,EAAE;SACV,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC;IACtC,KAAK,MAAM,IAAI,IAAI,mBAAmB,CACpC,OAAO,CAAC,KAAK,EAAE,EACf,oBAAoB,CACrB,EAAE,CAAC;QACF,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;YAAE,SAAS;QAClC,QAAQ,CAAC,GAAG,CACV,IAAI,EACJ,WAAW,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAC5D,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAiB;IACtD,EAAE,EAAE,yBAAyB;IAC7B,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,8CAA8C;IACxD,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE;IAC1C,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE,eAAe;IACxB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A list route that takes no query: ceiling 0.
3
+ *
4
+ * A list with no query schema is a list that returns everything, and it stays
5
+ * that way until the day it cannot. Then the filter arrives as a parameter
6
+ * nobody declared, a header, or a second route, because the contract never had
7
+ * a place to put one. The query schema is that place, and declaring it is what
8
+ * makes paging and filtering a change to a contract instead of a new endpoint.
9
+ *
10
+ * A list route is one that declares an `item`: the operation returns a page of
11
+ * a shape rather than one of it. Everything else is not asked, and a workspace
12
+ * with no list routes reports that it was not measured.
13
+ */
14
+ import type { DoctorSignal } from "../../doctor-signal.js";
15
+ export declare const listsWithoutFilterSignal: DoctorSignal;
16
+ //# sourceMappingURL=lists-without-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lists-without-filter.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/failure-to-launch/lists-without-filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,wBAAwB,CAAC;AAoB1E,eAAO,MAAM,wBAAwB,EAAE,YAWtC,CAAC"}