@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,49 @@
1
+ /**
2
+ * A 403 anywhere a route can reach: ceiling 0.
3
+ *
4
+ * 403 tells a caller that the thing exists and they may not have it. That is a
5
+ * sentence about the family's trampoline, delivered to a stranger, and no
6
+ * amount of politeness in the body takes it back. Dad's answer is 404: absence
7
+ * and denial look the same from outside, so a caller with no relationship
8
+ * learns nothing at all.
9
+ *
10
+ * The reading is per package, over the production sources of the packages that
11
+ * declare routes, with comments removed so an essay arguing against 403 is not
12
+ * counted as one. A repository with no blueprints has no routes to return it
13
+ * and the signal says it was not measured: the number would otherwise be a zero
14
+ * that means "nothing was looked at".
15
+ */
16
+ import { strippedSourceLines } from "../scanners/package-graph.js";
17
+ import { readRouteModel } from "../scanners/route-model.js";
18
+ const FORBIDDEN_STATUS = /\b403\b/;
19
+ function forbiddenLinesIn(context, paths) {
20
+ const found = [];
21
+ for (const path of paths) {
22
+ for (const [index, line] of strippedSourceLines(context.read(path)).entries()) {
23
+ if (FORBIDDEN_STATUS.test(line)) {
24
+ found.push({ path, line: index + 1, name: "403" });
25
+ }
26
+ }
27
+ }
28
+ return found;
29
+ }
30
+ function countForbidden(context) {
31
+ const readings = new Map();
32
+ for (const declared of readRouteModel(context).packagesWithRoutes) {
33
+ const evidence = forbiddenLinesIn(context, declared.sources);
34
+ readings.set(declared.name, { value: evidence.length, evidence });
35
+ }
36
+ return readings;
37
+ }
38
+ export const forbidden403Signal = {
39
+ id: "forbidden-403",
40
+ issue: "people-pleasing",
41
+ question: "Does any route return 403?",
42
+ reads: "routes",
43
+ unit: "count",
44
+ direction: "ceiling",
45
+ thresholds: { standard: 0, strict: 0 },
46
+ sentence: "Existence is not a prize you owe a stranger. Dad said just 404.",
47
+ run: (context) => Promise.resolve(countForbidden(context)),
48
+ };
49
+ //# sourceMappingURL=forbidden-403.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forbidden-403.js","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/forbidden-403.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,gBAAgB,GAAG,SAAS,CAAC;AAEnC,SAAS,gBAAgB,CACvB,OAAsB,EACtB,KAAwB;IAExB,MAAM,KAAK,GAAqB,EAAE,CAAC;IACnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,mBAAmB,CAC7C,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CACnB,CAAC,OAAO,EAAE,EAAE,CAAC;YACZ,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBAChC,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;YACrD,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,cAAc,CAAC,OAAsB;IAC5C,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC,kBAAkB,EAAE,CAAC;QAClE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;QAC7D,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAiB;IAC9C,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EAAE,4BAA4B;IACtC,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,iEAAiE;IAC3E,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;CAC3D,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Request shapes that accept what they never advertised: ceiling 0.
3
+ *
4
+ * `z.object` strips. A client that sends `{ nmae: "Acme" }` gets a 201 and a
5
+ * record with no name, because the misspelled key was quietly dropped and the
6
+ * required one was optional all along. `z.looseObject` is the opposite and
7
+ * worse on the way in: it keeps whatever arrived. `z.strictObject` refuses
8
+ * the key nobody declared, which is the only answer that tells the caller.
9
+ *
10
+ * Responses are a different question and are left alone: on the way out,
11
+ * stripping is what stops an internal column reaching a client, and a strict
12
+ * response would turn a wide row into a 500. So an object in a response
13
+ * position does not count: inside a declaration named `…Response` or
14
+ * `…ResponseSchema`, inside a call whose name says response, or as the value
15
+ * of a `response` or `output` property.
16
+ *
17
+ * Either escape is allowed when the comment block above it names its authority
18
+ * — `// foreign-spec:` for an external specification that says to ignore what
19
+ * we do not advertise, `// response-shape:` for a shape travelling out. The
20
+ * comment is the point: it turns "somebody used `z.object`" into "somebody
21
+ * named why".
22
+ *
23
+ * Read where a request shape is decided: a module that declares routes, and
24
+ * every module of a contract package — one whose manifest name is `contract`,
25
+ * or ends in `-contract` or `-contracts`, which is where an application
26
+ * publishes the shapes its clients send. Every such module holding an object
27
+ * schema is a key, zeros included.
28
+ */
29
+ import type { DoctorSignal } from "../../doctor-signal.js";
30
+ export declare const looseContractObjectsSignal: DoctorSignal;
31
+ //# sourceMappingURL=loose-contract-objects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loose-contract-objects.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/loose-contract-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAGH,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,wBAAwB,CAAC;AA4IhC,eAAO,MAAM,0BAA0B,EAAE,YAWxC,CAAC"}
@@ -0,0 +1,166 @@
1
+ /**
2
+ * Request shapes that accept what they never advertised: ceiling 0.
3
+ *
4
+ * `z.object` strips. A client that sends `{ nmae: "Acme" }` gets a 201 and a
5
+ * record with no name, because the misspelled key was quietly dropped and the
6
+ * required one was optional all along. `z.looseObject` is the opposite and
7
+ * worse on the way in: it keeps whatever arrived. `z.strictObject` refuses
8
+ * the key nobody declared, which is the only answer that tells the caller.
9
+ *
10
+ * Responses are a different question and are left alone: on the way out,
11
+ * stripping is what stops an internal column reaching a client, and a strict
12
+ * response would turn a wide row into a 500. So an object in a response
13
+ * position does not count: inside a declaration named `…Response` or
14
+ * `…ResponseSchema`, inside a call whose name says response, or as the value
15
+ * of a `response` or `output` property.
16
+ *
17
+ * Either escape is allowed when the comment block above it names its authority
18
+ * — `// foreign-spec:` for an external specification that says to ignore what
19
+ * we do not advertise, `// response-shape:` for a shape travelling out. The
20
+ * comment is the point: it turns "somebody used `z.object`" into "somebody
21
+ * named why".
22
+ *
23
+ * Read where a request shape is decided: a module that declares routes, and
24
+ * every module of a contract package — one whose manifest name is `contract`,
25
+ * or ends in `-contract` or `-contracts`, which is where an application
26
+ * publishes the shapes its clients send. Every such module holding an object
27
+ * schema is a key, zeros included.
28
+ */
29
+ import { manifestRootOf, readPackageGraph } from "../scanners/package-graph.js";
30
+ import { declaresRoutes } from "../scanners/response-code.js";
31
+ import { evidenceAt, isProductionModule, lineOf, ts, visitNodes, } from "../scanners/typescript-program.js";
32
+ const OBJECT_BUILDERS = new Set(["object", "looseObject", "strictObject"]);
33
+ const STRICT = "strictObject";
34
+ const LOOSE = "looseObject";
35
+ const ZOD = "z";
36
+ const NAMED_ESCAPE = /^(?:\/\/|\/?\*+)\s*(?:foreign-spec|response-shape):/;
37
+ const COMMENT_LINE = /^(?:\/\/|\/\*|\*)/;
38
+ const RESPONSE_NAME = /Response(?:Schema)?$/;
39
+ const RESPONSE_CALL = /response/i;
40
+ const RESPONSE_PROPERTIES = new Set(["response", "output"]);
41
+ const CONTRACT_PACKAGE = /(?:^|[/-])contracts?$/;
42
+ /** The builder a `z.<builder>(…)` call names, or nothing. */
43
+ function objectBuilder(node) {
44
+ if (!ts.isCallExpression(node))
45
+ return undefined;
46
+ const callee = node.expression;
47
+ if (!ts.isPropertyAccessExpression(callee))
48
+ return undefined;
49
+ if (!ts.isIdentifier(callee.expression))
50
+ return undefined;
51
+ if (callee.expression.text !== ZOD)
52
+ return undefined;
53
+ return OBJECT_BUILDERS.has(callee.name.text) ? callee.name.text : undefined;
54
+ }
55
+ function positionNameOf(node) {
56
+ if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name)) {
57
+ return node.name.text;
58
+ }
59
+ if (ts.isFunctionDeclaration(node) && node.name !== undefined) {
60
+ return node.name.text;
61
+ }
62
+ if (ts.isPropertyAssignment(node) && ts.isIdentifier(node.name)) {
63
+ return node.name.text;
64
+ }
65
+ if (ts.isCallExpression(node) && ts.isIdentifier(node.expression)) {
66
+ return node.expression.text;
67
+ }
68
+ return undefined;
69
+ }
70
+ function marksResponse(node) {
71
+ const name = positionNameOf(node);
72
+ if (name === undefined)
73
+ return false;
74
+ if (ts.isVariableDeclaration(node) || ts.isFunctionDeclaration(node)) {
75
+ return RESPONSE_NAME.test(name);
76
+ }
77
+ if (ts.isPropertyAssignment(node))
78
+ return RESPONSE_PROPERTIES.has(name);
79
+ return RESPONSE_CALL.test(name);
80
+ }
81
+ /** True when the object is on its way out rather than in. */
82
+ function isResponsePosition(node) {
83
+ for (let current = node.parent; !ts.isSourceFile(current);) {
84
+ if (marksResponse(current))
85
+ return true;
86
+ current = current.parent;
87
+ }
88
+ return false;
89
+ }
90
+ /** The comment lines directly above a line, nearest first, blanks skipped. */
91
+ function commentLinesAbove(lines, line) {
92
+ const found = [];
93
+ for (let index = line - 2; index >= 0; index -= 1) {
94
+ const text = (lines[index] ?? "").trim();
95
+ if (text.length === 0 && found.length === 0)
96
+ continue;
97
+ if (!COMMENT_LINE.test(text))
98
+ break;
99
+ found.push(text);
100
+ }
101
+ return found;
102
+ }
103
+ /** True when the comment block above the call names its authority. */
104
+ function isEscaped(module, node) {
105
+ const lines = module.source.text.split("\n");
106
+ return commentLinesAbove(lines, lineOf(module, node)).some((text) => NAMED_ESCAPE.test(text));
107
+ }
108
+ /** The package roots whose manifest names a contract package. */
109
+ function contractRoots(context) {
110
+ return new Set(readPackageGraph(context)
111
+ .manifests.filter((manifest) => CONTRACT_PACKAGE.test(manifest.name ?? ""))
112
+ .map((manifest) => manifestRootOf(manifest)));
113
+ }
114
+ function isLooseRequest(module, node) {
115
+ const builder = objectBuilder(node);
116
+ if (builder === undefined || builder === STRICT)
117
+ return false;
118
+ if (isEscaped(module, node))
119
+ return false;
120
+ return builder === LOOSE || !isResponsePosition(node);
121
+ }
122
+ function readObjectSchemas(module) {
123
+ let seen = 0;
124
+ const loose = [];
125
+ visitNodes(module.source, (node) => {
126
+ if (objectBuilder(node) === undefined)
127
+ return;
128
+ seen += 1;
129
+ if (!isLooseRequest(module, node))
130
+ return;
131
+ loose.push(evidenceAt(module, node, `z.${objectBuilder(node) ?? ""}`));
132
+ });
133
+ return { seen, loose };
134
+ }
135
+ function countLooseObjects(context) {
136
+ const contracts = contractRoots(context);
137
+ const readings = new Map();
138
+ for (const module of context.program().modules) {
139
+ if (!isProductionModule(module.path))
140
+ continue;
141
+ if (!module.source.text.includes("bject("))
142
+ continue;
143
+ if (!contracts.has(module.packageRoot) && !declaresRoutes(module))
144
+ continue;
145
+ const found = readObjectSchemas(module);
146
+ if (found.seen === 0)
147
+ continue;
148
+ readings.set(module.path, {
149
+ value: found.loose.length,
150
+ evidence: found.loose,
151
+ });
152
+ }
153
+ return readings;
154
+ }
155
+ export const looseContractObjectsSignal = {
156
+ id: "loose-contract-objects",
157
+ issue: "people-pleasing",
158
+ question: "Does a published request shape use `z.object` or `z.looseObject` without a comment naming the authority that allows it?",
159
+ reads: "typescript",
160
+ unit: "count",
161
+ direction: "ceiling",
162
+ thresholds: { standard: 0, strict: 0 },
163
+ sentence: "Nobody loves you more. They just know you’ll fold.",
164
+ run: (context) => Promise.resolve(countLooseObjects(context)),
165
+ };
166
+ //# sourceMappingURL=loose-contract-objects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loose-contract-objects.js","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/loose-contract-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AASH,O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9D,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * A response type that is a union of shapes: ceiling 0.
3
+ *
4
+ * A union output is two contracts sharing a name. Every consumer has to
5
+ * discriminate before it can read a field, every client generator emits a
6
+ * type nobody wants to hold, and the second shape was added because one caller
7
+ * asked rather than because the route changed what it does. The cure is not a
8
+ * discriminator. It is a second route.
9
+ *
10
+ * The subject is a declared output type — a `type` whose name says response or
11
+ * output — and the reading is whether it is a union of more than one shape. A
12
+ * union with `undefined` or `null` is not counted: that is one shape and its
13
+ * absence, which is a different conversation. The handler half of the
14
+ * companion's question belongs to the route model, which reads the blueprints
15
+ * rather than the types.
16
+ */
17
+ import type { DoctorSignal } from "../../doctor-signal.js";
18
+ export declare const multiShapeResponsesSignal: DoctorSignal;
19
+ //# sourceMappingURL=multi-shape-responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-shape-responses.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/multi-shape-responses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA8ChC,eAAO,MAAM,yBAAyB,EAAE,YAYvC,CAAC"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * A response type that is a union of shapes: ceiling 0.
3
+ *
4
+ * A union output is two contracts sharing a name. Every consumer has to
5
+ * discriminate before it can read a field, every client generator emits a
6
+ * type nobody wants to hold, and the second shape was added because one caller
7
+ * asked rather than because the route changed what it does. The cure is not a
8
+ * discriminator. It is a second route.
9
+ *
10
+ * The subject is a declared output type — a `type` whose name says response or
11
+ * output — and the reading is whether it is a union of more than one shape. A
12
+ * union with `undefined` or `null` is not counted: that is one shape and its
13
+ * absence, which is a different conversation. The handler half of the
14
+ * companion's question belongs to the route model, which reads the blueprints
15
+ * rather than the types.
16
+ */
17
+ import { evidenceAt, exportedStatements, ts, } from "../scanners/typescript-program.js";
18
+ const OUTPUT_NAME = /(?:response|output)/i;
19
+ const ABSENCE = new Set([
20
+ ts.SyntaxKind.UndefinedKeyword,
21
+ ts.SyntaxKind.NullKeyword,
22
+ ts.SyntaxKind.VoidKeyword,
23
+ ts.SyntaxKind.NeverKeyword,
24
+ ]);
25
+ /** How many shapes a type offers, counting an absence as none. */
26
+ function shapeCount(type) {
27
+ if (!ts.isUnionTypeNode(type))
28
+ return 1;
29
+ return type.types.filter((member) => !ABSENCE.has(member.kind)).length;
30
+ }
31
+ function readOutputShapes(module, readings) {
32
+ for (const statement of exportedStatements(module)) {
33
+ if (!ts.isTypeAliasDeclaration(statement))
34
+ continue;
35
+ const name = statement.name.text;
36
+ if (!OUTPUT_NAME.test(name))
37
+ continue;
38
+ const shapes = shapeCount(statement.type);
39
+ readings.set(`${module.path} ${name}`, {
40
+ value: shapes > 1 ? shapes : 0,
41
+ evidence: [evidenceAt(module, statement, name)],
42
+ });
43
+ }
44
+ }
45
+ function countMultiShapeResponses(context) {
46
+ const readings = new Map();
47
+ for (const module of context.program().modules) {
48
+ readOutputShapes(module, readings);
49
+ }
50
+ return readings;
51
+ }
52
+ export const multiShapeResponsesSignal = {
53
+ id: "multi-shape-responses",
54
+ issue: "people-pleasing",
55
+ question: "Is a route's output a union, or does its handler return more than one shape?",
56
+ reads: "typescript",
57
+ unit: "count",
58
+ direction: "ceiling",
59
+ thresholds: { standard: 0, strict: 0 },
60
+ sentence: "You grow a second response shape, then a third. Nobody loves you more. They just know you’ll fold.",
61
+ run: (context) => Promise.resolve(countMultiShapeResponses(context)),
62
+ };
63
+ //# sourceMappingURL=multi-shape-responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multi-shape-responses.js","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/multi-shape-responses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAQH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,EAAE,GAEH,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WA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,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAiB;IACrD,EAAE,EAAE,uBAAuB;IAC3B,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EACN,8EAA8E;IAChF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,oGAAoG;IACtG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;CACrE,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Optional fields in an output schema: report, then 50%.
3
+ *
4
+ * Every optional output field is a promise not made. The caller has to branch,
5
+ * the client generator has to widen, and nobody can say from the contract
6
+ * whether the field is absent because the row had nothing or because the
7
+ * handler forgot. One is a modelling decision; half the schema is a habit of
8
+ * adding rather than deciding.
9
+ *
10
+ * The subject is a declared output — a type or a `z.object({…})` whose name
11
+ * says response or output — and the reading is the share of its fields that
12
+ * are optional. Both spellings of optional are read: the `?` on a property and
13
+ * the `.optional()` or `.nullish()` on a schema field.
14
+ *
15
+ * Report-only under `standard` and 50% under `strict`, so the schemas this
16
+ * emits are the ones already at or over that share.
17
+ */
18
+ import type { DoctorSignal } from "../../doctor-signal.js";
19
+ export declare const optionalCreepSignal: DoctorSignal;
20
+ //# sourceMappingURL=optional-creep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optional-creep.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/optional-creep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA6GhC,eAAO,MAAM,mBAAmB,EAAE,YAWjC,CAAC"}
@@ -0,0 +1,109 @@
1
+ /**
2
+ * Optional fields in an output schema: report, then 50%.
3
+ *
4
+ * Every optional output field is a promise not made. The caller has to branch,
5
+ * the client generator has to widen, and nobody can say from the contract
6
+ * whether the field is absent because the row had nothing or because the
7
+ * handler forgot. One is a modelling decision; half the schema is a habit of
8
+ * adding rather than deciding.
9
+ *
10
+ * The subject is a declared output — a type or a `z.object({…})` whose name
11
+ * says response or output — and the reading is the share of its fields that
12
+ * are optional. Both spellings of optional are read: the `?` on a property and
13
+ * the `.optional()` or `.nullish()` on a schema field.
14
+ *
15
+ * Report-only under `standard` and 50% under `strict`, so the schemas this
16
+ * emits are the ones already at or over that share.
17
+ */
18
+ import { evidenceAt, exportedStatements, ts, } from "../scanners/typescript-program.js";
19
+ /** The share `strict` refuses, which is also the share worth reporting. */
20
+ const CEILING = 50;
21
+ const OUTPUT_NAME = /(?:response|output)/i;
22
+ const OPTIONAL_CALLS = /\.(?:optional|nullish)\(/;
23
+ function tallyTypeLiteral(type) {
24
+ const properties = type.members.flatMap((member) => ts.isPropertySignature(member) ? [member] : []);
25
+ return {
26
+ fields: properties.length,
27
+ optional: properties.filter((member) => member.questionToken !== undefined)
28
+ .length,
29
+ };
30
+ }
31
+ function tallySchemaObject(object, module) {
32
+ const properties = object.properties.flatMap((property) => ts.isPropertyAssignment(property) ? [property] : []);
33
+ return {
34
+ fields: properties.length,
35
+ optional: properties.filter((property) => OPTIONAL_CALLS.test(property.initializer.getText(module.source))).length,
36
+ };
37
+ }
38
+ /** The object literal a `z.object({…})` call describes. */
39
+ function optionalSchemaObject(node) {
40
+ if (!ts.isCallExpression(node))
41
+ return undefined;
42
+ const callee = node.expression;
43
+ if (!ts.isPropertyAccessExpression(callee))
44
+ return undefined;
45
+ if (callee.name.text !== "object")
46
+ return undefined;
47
+ const argument = node.arguments[0];
48
+ return argument !== undefined && ts.isObjectLiteralExpression(argument)
49
+ ? argument
50
+ : undefined;
51
+ }
52
+ function tallyOf(statement, module) {
53
+ if (ts.isTypeAliasDeclaration(statement)) {
54
+ return ts.isTypeLiteralNode(statement.type)
55
+ ? tallyTypeLiteral(statement.type)
56
+ : undefined;
57
+ }
58
+ if (!ts.isVariableStatement(statement))
59
+ return undefined;
60
+ const initializer = statement.declarationList.declarations[0]?.initializer;
61
+ const object = initializer === undefined ? undefined : optionalSchemaObject(initializer);
62
+ return object === undefined ? undefined : tallySchemaObject(object, module);
63
+ }
64
+ function outputName(statement) {
65
+ if (ts.isTypeAliasDeclaration(statement))
66
+ return statement.name.text;
67
+ if (!ts.isVariableStatement(statement))
68
+ return undefined;
69
+ const declared = statement.declarationList.declarations[0]?.name;
70
+ return declared !== undefined && ts.isIdentifier(declared)
71
+ ? declared.text
72
+ : undefined;
73
+ }
74
+ function readOptionalShares(module, readings) {
75
+ for (const statement of exportedStatements(module)) {
76
+ const name = outputName(statement);
77
+ if (name === undefined || !OUTPUT_NAME.test(name))
78
+ continue;
79
+ const tally = tallyOf(statement, module);
80
+ if (tally === undefined || tally.fields === 0)
81
+ continue;
82
+ const share = Math.round((tally.optional / tally.fields) * 100);
83
+ if (share < CEILING)
84
+ continue;
85
+ readings.set(`${module.path} ${name}`, {
86
+ value: share,
87
+ evidence: [evidenceAt(module, statement, name)],
88
+ });
89
+ }
90
+ }
91
+ function countOptionalCreep(context) {
92
+ const readings = new Map();
93
+ for (const module of context.program().modules) {
94
+ readOptionalShares(module, readings);
95
+ }
96
+ return readings;
97
+ }
98
+ export const optionalCreepSignal = {
99
+ id: "optional-creep",
100
+ issue: "people-pleasing",
101
+ question: "Is the share of optional fields in output schemas above the profile's threshold?",
102
+ reads: "typescript",
103
+ unit: "percent",
104
+ direction: "ceiling",
105
+ thresholds: { standard: null, strict: CEILING },
106
+ sentence: "You add a field because one client sounded disappointed.",
107
+ run: (context) => Promise.resolve(countOptionalCreep(context)),
108
+ };
109
+ //# sourceMappingURL=optional-creep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optional-creep.js","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/optional-creep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,EAAE,GAEH,MAAM,mCAAmC,CAAC;AAE3C,2EAA2E;AAC3E,MAAM,OAAO,GAAG,EAAE,CAAC;AACnB,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAC3C,MAAM,cAAc,GAAG,0BAA0B,CAAC;AAOlD,SAAS,gBAAgB,CAAC,IAAwB;IAChD,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CACjD,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAC/C,CAAC;IACF,OAAO;QACL,MAAM,EAAE,UAAU,CAAC,MAAM;QACzB,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,KAAK,SAAS,CAAC;aACxE,MAAM;KACV,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,MAAkC,EAClC,MAAoB;IAEpB,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CACxD,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CACpD,CAAC;IACF,OAAO;QACL,MAAM,EAAE,UAAU,CAAC,MAAM;QACzB,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,QAAQ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,IAAI,IAAI,IAAI,EAAE,EAAE;YACrC,KAAK,EAAE,KAAK;YACZ,QAAQ,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;SAChD,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,OAAsB;IAChD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAiB;IAC/C,EAAE,EAAE,gBAAgB;IACpB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EACN,kFAAkF;IACpF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;IAC/C,QAAQ,EAAE,0DAA0D;IACpE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Raw failure messages shown to a customer: ceiling 0.
3
+ *
4
+ * A failure's message is written for whoever debugs it. Put it on a screen and
5
+ * the person who did nothing wrong reads a constraint name, a stack frame, or a
6
+ * vendor's sentence about a socket, and learns nothing they can act on except
7
+ * that the product was not expecting them. The renderer's job is to branch on
8
+ * the failure's stable data — its code, its status — and say something it
9
+ * wrote itself.
10
+ *
11
+ * The renderers asked are production modules that put words on a screen: a
12
+ * `.tsx` module, or any module in a package that depends on React, minus
13
+ * catalogs, tests and fixtures. The transport, the server and the logs keep the
14
+ * raw message, because that is where it belongs. Every renderer is a key,
15
+ * zeros included.
16
+ */
17
+ import type { DoctorSignal } from "../../doctor-signal.js";
18
+ export declare const rawErrorsInUiSignal: DoctorSignal;
19
+ //# sourceMappingURL=raw-errors-in-ui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"raw-errors-in-ui.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/raw-errors-in-ui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAkBhC,eAAO,MAAM,mBAAmB,EAAE,YAYjC,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Raw failure messages shown to a customer: ceiling 0.
3
+ *
4
+ * A failure's message is written for whoever debugs it. Put it on a screen and
5
+ * the person who did nothing wrong reads a constraint name, a stack frame, or a
6
+ * vendor's sentence about a socket, and learns nothing they can act on except
7
+ * that the product was not expecting them. The renderer's job is to branch on
8
+ * the failure's stable data — its code, its status — and say something it
9
+ * wrote itself.
10
+ *
11
+ * The renderers asked are production modules that put words on a screen: a
12
+ * `.tsx` module, or any module in a package that depends on React, minus
13
+ * catalogs, tests and fixtures. The transport, the server and the logs keep the
14
+ * raw message, because that is where it belongs. Every renderer is a key,
15
+ * zeros included.
16
+ */
17
+ import { rawFailureSpans } from "../scanners/raw-failures.js";
18
+ import { evidenceAt } from "../scanners/typescript-program.js";
19
+ import { readRendererScope } from "../scanners/web-renderers.js";
20
+ function countRawFailures(context) {
21
+ const scope = readRendererScope(context);
22
+ const readings = new Map();
23
+ for (const module of context.program().modules) {
24
+ if (!scope.isRenderer(module))
25
+ continue;
26
+ const evidence = rawFailureSpans(module.source).map((span) => evidenceAt(module, span.node, span.seam));
27
+ readings.set(module.path, { value: evidence.length, evidence });
28
+ }
29
+ return readings;
30
+ }
31
+ export const rawErrorsInUiSignal = {
32
+ id: "raw-errors-in-ui",
33
+ issue: "people-pleasing",
34
+ question: "Does a renderer show a failure's raw message instead of copy it chose for the failure's code?",
35
+ reads: "typescript",
36
+ unit: "count",
37
+ direction: "ceiling",
38
+ thresholds: { standard: 0, strict: 0 },
39
+ sentence: "You can’t sit with 404. You have to explain. That’s not kindness. That’s fear.",
40
+ run: (context) => Promise.resolve(countRawFailures(context)),
41
+ };
42
+ //# sourceMappingURL=raw-errors-in-ui.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"raw-errors-in-ui.js","sourceRoot":"","sources":["../../../../src/doctor/signals/people-pleasing/raw-errors-in-ui.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAQH,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,SAAS,gBAAgB,CAAC,OAAsB;IAC9C,MAAM,KAAK,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;YAAE,SAAS;QACxC,MAAM,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC3D,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CACzC,CAAC;QACF,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAiB;IAC/C,EAAE,EAAE,kBAAkB;IACtB,KAAK,EAAE,iBAAiB;IACxB,QAAQ,EACN,+FAA+F;IACjG,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,gFAAgF;IAClF,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;CAC7D,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The signals phase zero shipped: everything answerable from the file tree.
3
+ *
4
+ * One registry module per lane, so a lane that adds signals edits the file
5
+ * named for what its signals read and never the file another lane is editing.
6
+ * This is the lane that was already here, and its order is the order the report
7
+ * prints: the issues in `DAD.md` order, and within an issue the order the
8
+ * companion asks its numbered questions.
9
+ */
10
+ import type { DoctorSignal } from "../../doctor-signal.js";
11
+ /** The sixteen signals that read text, packages, or a recorded command. */
12
+ export declare const FOUNDATION_SIGNALS: readonly DoctorSignal[];
13
+ //# sourceMappingURL=foundation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/registry/foundation.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAkB3D,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB,EAAE,SAAS,YAAY,EAiBrD,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * The signals phase zero shipped: everything answerable from the file tree.
3
+ *
4
+ * One registry module per lane, so a lane that adds signals edits the file
5
+ * named for what its signals read and never the file another lane is editing.
6
+ * This is the lane that was already here, and its order is the order the report
7
+ * prints: the issues in `DAD.md` order, and within an issue the order the
8
+ * companion asks its numbered questions.
9
+ */
10
+ import { duplicatedHelpersSignal } from "../anxious-attachment/duplicated-helpers.js";
11
+ import { kindInversionsSignal } from "../anxious-attachment/kind-inversions.js";
12
+ import { docsConformancePackagesSignal } from "../avoidant-attachment/docs-conformance-packages.js";
13
+ import { invariantsFilesSignal } from "../avoidant-attachment/invariants-files.js";
14
+ import { soundnessCasesSignal } from "../commitment-issues/soundness-cases.js";
15
+ import { testCountSignal } from "../commitment-issues/test-count.js";
16
+ import { typeTestNegativeCasesSignal } from "../commitment-issues/type-test-negative-cases.js";
17
+ import { doctorCasesSignal } from "../dad-has-issues-too/doctor-cases.js";
18
+ import { lintSuppressionCommentsSignal } from "../daddy-issues/lint-suppression-comments.js";
19
+ import { tsSuppressionsSignal } from "../daddy-issues/ts-suppressions.js";
20
+ import { barrelImpuritySignal } from "../enmeshment/barrel-impurity.js";
21
+ import { clippyAllowsSignal } from "../enmeshment/clippy-allows.js";
22
+ import { filesOverCeilingSignal } from "../enmeshment/files-over-ceiling.js";
23
+ import { rustInlineTestsSignal } from "../enmeshment/rust-inline-tests.js";
24
+ import { testFilesOverCeilingSignal } from "../enmeshment/test-files-over-ceiling.js";
25
+ import { lintRulesSignal } from "../its-not-you-its-my-boundaries/lint-rules.js";
26
+ /** The sixteen signals that read text, packages, or a recorded command. */
27
+ export const FOUNDATION_SIGNALS = [
28
+ lintSuppressionCommentsSignal,
29
+ tsSuppressionsSignal,
30
+ kindInversionsSignal,
31
+ duplicatedHelpersSignal,
32
+ docsConformancePackagesSignal,
33
+ invariantsFilesSignal,
34
+ filesOverCeilingSignal,
35
+ testFilesOverCeilingSignal,
36
+ barrelImpuritySignal,
37
+ clippyAllowsSignal,
38
+ rustInlineTestsSignal,
39
+ testCountSignal,
40
+ typeTestNegativeCasesSignal,
41
+ soundnessCasesSignal,
42
+ lintRulesSignal,
43
+ doctorCasesSignal,
44
+ ];
45
+ //# sourceMappingURL=foundation.js.map