@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 @@
1
+ {"version":3,"file":"generated-access-hand-edited.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/generated-access-hand-edited.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAyDhC,eAAO,MAAM,+BAA+B,EAAE,YAW7C,CAAC"}
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Generated access schemas edited by hand: ceiling 0.
3
+ *
4
+ * The access kit writes a `.zed` schema from a package's TypeScript access
5
+ * declarations and puts its banner on the first line. Edit the schema by hand
6
+ * and the authorization server enforces a rule the declarations do not hold:
7
+ * the code a reviewer reads says one thing, the graph that answers says
8
+ * another, and the next regeneration erases the difference without a word.
9
+ *
10
+ * Each commit that added or changed a bannered schema is read. It is authored
11
+ * when the same commit also changed TypeScript (not a test) in the package the
12
+ * schema belongs to, or changed a `package.json` or the lockfile, because a
13
+ * kit upgrade regenerates every schema at once. Anything else counts once
14
+ * against the schema.
15
+ *
16
+ * Every bannered schema the tree holds is a key, zeros included; their history
17
+ * is read and nobody else's.
18
+ */
19
+ import { accessArtifacts, declaredRootsOf, owningRoot, } from "../scanners/access-artifacts.js";
20
+ import { readCommitLog, requireGitWorkspace, shortSha, } from "../scanners/git-history.js";
21
+ import { isTestSource } from "../scanners/source-classification.js";
22
+ import { addFinding } from "../scanners/typescript-program.js";
23
+ const WRITTEN = new Set(["A", "M"]);
24
+ const AUTHORING_EXTENSIONS = [".ts", ".tsx"];
25
+ const DEPENDENCY_FILES = ["package.json", "package-lock.json"];
26
+ function isDependencyFile(path) {
27
+ return DEPENDENCY_FILES.some((name) => path === name || path.endsWith(`/${name}`));
28
+ }
29
+ function isAuthoring(path, root) {
30
+ if (isDependencyFile(path))
31
+ return true;
32
+ if (!AUTHORING_EXTENSIONS.some((extension) => path.endsWith(extension))) {
33
+ return false;
34
+ }
35
+ return !isTestSource(path) && path.startsWith(`${root}/`);
36
+ }
37
+ /** True when the commit carries the source the schema was generated from. */
38
+ function carriesAuthoring(commit, root) {
39
+ return commit.changes.some((change) => isAuthoring(change.path, root));
40
+ }
41
+ function countHandEditedSchemas(context) {
42
+ requireGitWorkspace(context.root);
43
+ const roots = declaredRootsOf(context);
44
+ const readings = new Map(accessArtifacts(context).map((path) => [path, { value: 0, evidence: [] }]));
45
+ for (const commit of readCommitLog(context.root)) {
46
+ for (const change of commit.changes) {
47
+ if (!WRITTEN.has(change.status) || !readings.has(change.path))
48
+ continue;
49
+ if (carriesAuthoring(commit, owningRoot(change.path, roots)))
50
+ continue;
51
+ addFinding(readings, change.path, {
52
+ path: change.path,
53
+ name: `${shortSha(commit.sha)} ${commit.message}`,
54
+ });
55
+ }
56
+ }
57
+ return readings;
58
+ }
59
+ export const generatedAccessHandEditedSignal = {
60
+ id: "generated-access-hand-edited",
61
+ issue: "gaslighting",
62
+ question: "Was a generated access schema changed in a commit that changed none of the declarations it is generated from?",
63
+ reads: "git",
64
+ unit: "count",
65
+ direction: "ceiling",
66
+ thresholds: { standard: 0, strict: 0 },
67
+ sentence: "If you need the euphemism to live with it, you already know.",
68
+ run: (context) => Promise.resolve(countHandEditedSchemas(context)),
69
+ };
70
+ //# sourceMappingURL=generated-access-hand-edited.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-access-hand-edited.js","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/generated-access-hand-edited.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,EACL,eAAe,EACf,eAAe,EACf,UAAU,GACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,QAAQ,GAET,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AACpC,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAC7C,MAAM,gBAAgB,GAAG,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;AAE/D,SAAS,gBAAgB,CAAC,IAAY;IACpC,OAAO,gBAAgB,CAAC,IAAI,CAC1B,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC,CACrD,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,IAAY,EAAE,IAAY;IAC7C,IAAI,gBAAgB,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;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AAU,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,EAAE;gBAChC,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,IAAI,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE;aAClD,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,+BAA+B,GAAiB;IAC3D,EAAE,EAAE,8BAA8B;IAClC,KAAK,EAAE,aAAa;IACpB,QAAQ,EACN,+GAA+G;IACjH,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,8DAA8D;IACxE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACnE,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Generated table modules edited by hand: ceiling 0.
3
+ *
4
+ * A table module that says `// GENERATED - DO NOT EDIT` on its first line is a
5
+ * claim: this is what the migrations produce. Edit it by hand and the claim is
6
+ * still there, now false. The code compiles against a table the database does
7
+ * not have, and the next regeneration quietly takes the edit back.
8
+ *
9
+ * Each commit that added or changed such a module is read. It is authored when
10
+ * the same commit changed a migration, because then the module is the
11
+ * generator's answer to it. It is also allowed when the only difference from
12
+ * the revision before is a `.$type<Brand>()` added or changed on a column that
13
+ * already existed, plus the import that brand needs: the one fact about a
14
+ * column the database cannot report, and the one the generator reads back.
15
+ * Anything else counts once against the module.
16
+ *
17
+ * The modules asked about are the generated ones the tree holds now, each a
18
+ * key with zeros included, so a clean module reads as measured rather than as
19
+ * missing. Their history is read and nobody else's, which keeps the cost to
20
+ * one revision lookup per change to a generated module rather than one per
21
+ * change to any TypeScript file.
22
+ */
23
+ import type { DoctorSignal } from "../../doctor-signal.js";
24
+ export declare const generatedTablesHandEditedSignal: DoctorSignal;
25
+ //# sourceMappingURL=generated-tables-hand-edited.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-tables-hand-edited.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/generated-tables-hand-edited.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAgEhC,eAAO,MAAM,+BAA+B,EAAE,YAW7C,CAAC"}
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Generated table modules edited by hand: ceiling 0.
3
+ *
4
+ * A table module that says `// GENERATED - DO NOT EDIT` on its first line is a
5
+ * claim: this is what the migrations produce. Edit it by hand and the claim is
6
+ * still there, now false. The code compiles against a table the database does
7
+ * not have, and the next regeneration quietly takes the edit back.
8
+ *
9
+ * Each commit that added or changed such a module is read. It is authored when
10
+ * the same commit changed a migration, because then the module is the
11
+ * generator's answer to it. It is also allowed when the only difference from
12
+ * the revision before is a `.$type<Brand>()` added or changed on a column that
13
+ * already existed, plus the import that brand needs: the one fact about a
14
+ * column the database cannot report, and the one the generator reads back.
15
+ * Anything else counts once against the module.
16
+ *
17
+ * The modules asked about are the generated ones the tree holds now, each a
18
+ * key with zeros included, so a clean module reads as measured rather than as
19
+ * missing. Their history is read and nobody else's, which keeps the cost to
20
+ * one revision lookup per change to a generated module rather than one per
21
+ * change to any TypeScript file.
22
+ */
23
+ import { isBrandOnlyEdit, isGeneratedTableModule, } from "../scanners/generated-artifacts.js";
24
+ import { readCommitLog, readFileAtRevision, requireGitWorkspace, shortSha, } from "../scanners/git-history.js";
25
+ import { isMigrationFile } from "../scanners/migration-files.js";
26
+ import { addFinding } from "../scanners/typescript-program.js";
27
+ const TABLE_MODULE = ".ts";
28
+ const WRITTEN = new Set(["A", "M"]);
29
+ const MODIFIED = "M";
30
+ /** True when this change wrote a generated table module by hand. */
31
+ function isHandEdit(root, commit, change) {
32
+ const after = readFileAtRevision(root, commit.sha, change.path);
33
+ if (after === undefined || !isGeneratedTableModule(after))
34
+ return false;
35
+ if (change.status !== MODIFIED)
36
+ return true;
37
+ const before = readFileAtRevision(root, `${commit.sha}^`, change.path);
38
+ return before === undefined || !isBrandOnlyEdit(before, after);
39
+ }
40
+ function handEdits(root, commits, readings) {
41
+ for (const commit of commits) {
42
+ if (commit.changes.some((change) => isMigrationFile(change.path)))
43
+ continue;
44
+ for (const change of commit.changes) {
45
+ if (!WRITTEN.has(change.status))
46
+ continue;
47
+ if (!readings.has(change.path))
48
+ continue;
49
+ if (!isHandEdit(root, commit, change))
50
+ continue;
51
+ addFinding(readings, change.path, {
52
+ path: change.path,
53
+ name: `${shortSha(commit.sha)} ${commit.message}`,
54
+ });
55
+ }
56
+ }
57
+ }
58
+ function countHandEditedTables(context) {
59
+ requireGitWorkspace(context.root);
60
+ const readings = new Map();
61
+ for (const path of context.files()) {
62
+ if (!path.endsWith(TABLE_MODULE) || !context.exists(path))
63
+ continue;
64
+ if (!isGeneratedTableModule(context.read(path)))
65
+ continue;
66
+ readings.set(path, { value: 0, evidence: [] });
67
+ }
68
+ handEdits(context.root, readCommitLog(context.root), readings);
69
+ return readings;
70
+ }
71
+ export const generatedTablesHandEditedSignal = {
72
+ id: "generated-tables-hand-edited",
73
+ issue: "gaslighting",
74
+ question: "Was a generated table module changed in a commit that changed no migration, beyond a brand annotation?",
75
+ reads: "git",
76
+ unit: "count",
77
+ direction: "ceiling",
78
+ thresholds: { standard: 0, strict: 0 },
79
+ sentence: "That’s not a public contract. That’s just how the table looks.",
80
+ run: (context) => Promise.resolve(countHandEditedTables(context)),
81
+ };
82
+ //# sourceMappingURL=generated-tables-hand-edited.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-tables-hand-edited.js","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/generated-tables-hand-edited.ts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AED,MAAM,CAAC,MAAM,+BAA+B,GAAiB;IAC3D,EAAE,EAAE,8BAA8B;IAClC,KAAK,EAAE,aAAa;IACpB,QAAQ,EACN,wGAAwG;IAC1G,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,gEAAgE;IAC1E,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;CAClE,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Marks that moved the wrong way: ceiling 0.
3
+ *
4
+ * A ratchet is only a ratchet if the record of it says so. The baseline today
5
+ * cannot tell anybody whether a ceiling was raised the week somebody hit it,
6
+ * because the raised number looks exactly like a number that was always there.
7
+ * The history can, and it is the only thing that can, which is why this reading
8
+ * is a walk through the committed revisions of `.agents/source-budgets.json`
9
+ * rather than a look at the file on disk.
10
+ *
11
+ * One rule, both directions: a ceiling that went up and a floor that came down
12
+ * are the same move, and each is counted once per commit that made it. The one
13
+ * fall that is not a move is the one the same commit accounts for: a floor
14
+ * whose entry names the key its count went to, where that key rose by at least
15
+ * as much in the same diff. A split says so in the diff that makes it, and a
16
+ * split that says so is not a mark that moved. Only entries present on both
17
+ * sides of a diff are compared. A key that stopped
18
+ * existing is a measure that stopped being taken — a rename, a package that
19
+ * left — and the ratchet's own `--base` mode owns that question; calling it a
20
+ * raised mark here would report every reorganization as a loosening.
21
+ *
22
+ * The reading is per entry rather than per commit, because "which mark moved"
23
+ * is the thing a reader needs and "how many commits were involved" is not.
24
+ */
25
+ import type { DoctorSignal } from "../../doctor-signal.js";
26
+ export declare const marksRaisedInHistorySignal: DoctorSignal;
27
+ //# sourceMappingURL=marks-raised-in-history.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marks-raised-in-history.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/marks-raised-in-history.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAiFhC,eAAO,MAAM,0BAA0B,EAAE,YAaxC,CAAC"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Marks that moved the wrong way: ceiling 0.
3
+ *
4
+ * A ratchet is only a ratchet if the record of it says so. The baseline today
5
+ * cannot tell anybody whether a ceiling was raised the week somebody hit it,
6
+ * because the raised number looks exactly like a number that was always there.
7
+ * The history can, and it is the only thing that can, which is why this reading
8
+ * is a walk through the committed revisions of `.agents/source-budgets.json`
9
+ * rather than a look at the file on disk.
10
+ *
11
+ * One rule, both directions: a ceiling that went up and a floor that came down
12
+ * are the same move, and each is counted once per commit that made it. The one
13
+ * fall that is not a move is the one the same commit accounts for: a floor
14
+ * whose entry names the key its count went to, where that key rose by at least
15
+ * as much in the same diff. A split says so in the diff that makes it, and a
16
+ * split that says so is not a mark that moved. Only entries present on both
17
+ * sides of a diff are compared. A key that stopped
18
+ * existing is a measure that stopped being taken — a rename, a package that
19
+ * left — and the ratchet's own `--base` mode owns that question; calling it a
20
+ * raised mark here would report every reorganization as a loosening.
21
+ *
22
+ * The reading is per entry rather than per commit, because "which mark moved"
23
+ * is the thing a reader needs and "how many commits were involved" is not.
24
+ */
25
+ import { doctorCasesSignal } from "../dad-has-issues-too/doctor-cases.js";
26
+ import { testCountSignal } from "../commitment-issues/test-count.js";
27
+ import { shortSha, requireGitWorkspace } from "../scanners/git-history.js";
28
+ import { BASELINE_PATH, NO_RATCHET_BASELINE, isLoosening, readBaselineHistory, transferCoversFall, } from "../scanners/ratchet-baseline-history.js";
29
+ /** Every loosening move one pair of neighbouring revisions recorded. */
30
+ /**
31
+ * Baseline paths of the floors the gate only reports. A fall in a count the
32
+ * gate does not hold is not a loosening: dropping those floors from the gate
33
+ * is what let a healthy deletion lower them.
34
+ */
35
+ const REPORT_ONLY_PATHS = [testCountSignal, doctorCasesSignal]
36
+ .filter((signal) => signal.reportOnly === true)
37
+ .map((signal) => `floors/${signal.measure ?? signal.id}/`);
38
+ function isReportOnly(key) {
39
+ return REPORT_ONLY_PATHS.some((prefix) => key.startsWith(prefix));
40
+ }
41
+ function loosenedBetween(later, earlier) {
42
+ const moves = new Map();
43
+ for (const [key, entry] of later.entries) {
44
+ if (isReportOnly(key))
45
+ continue;
46
+ const before = earlier.entries.get(key);
47
+ if (before === undefined)
48
+ continue;
49
+ if (!isLoosening(before.value, entry.value, entry.section))
50
+ continue;
51
+ const fall = before.value - entry.value;
52
+ if (transferCoversFall(entry, fall, later.entries, earlier.entries)) {
53
+ continue;
54
+ }
55
+ moves.set(key, {
56
+ path: BASELINE_PATH,
57
+ name: `${shortSha(later.revision.sha)} ${key} ${before.value} -> ${entry.value}`,
58
+ });
59
+ }
60
+ return moves;
61
+ }
62
+ /** Every key a diff in this history could have moved, and how often it did. */
63
+ function countLoosenedMarks(context) {
64
+ requireGitWorkspace(context.root);
65
+ const history = readBaselineHistory(context.root);
66
+ if (history.length === 0)
67
+ throw new Error(NO_RATCHET_BASELINE);
68
+ const evidence = new Map();
69
+ for (let index = 0; index + 1 < history.length; index += 1) {
70
+ collectComparedKeys(evidence, history[index], history[index + 1]);
71
+ }
72
+ return new Map([...evidence].map(([key, found]) => [
73
+ key,
74
+ { value: found.length, evidence: found },
75
+ ]));
76
+ }
77
+ function collectComparedKeys(evidence, later, earlier) {
78
+ if (later === undefined || earlier === undefined)
79
+ return;
80
+ for (const key of later.entries.keys()) {
81
+ if (isReportOnly(key) || !earlier.entries.has(key))
82
+ continue;
83
+ evidence.set(key, evidence.get(key) ?? []);
84
+ }
85
+ for (const [key, moved] of loosenedBetween(later, earlier)) {
86
+ evidence.set(key, [...(evidence.get(key) ?? []), moved]);
87
+ }
88
+ }
89
+ export const marksRaisedInHistorySignal = {
90
+ id: "marks-raised-in-history",
91
+ issue: "gaslighting",
92
+ alsoUnder: ["dad-has-issues-too"],
93
+ question: "Does the baseline's history contain a diff where a ceiling mark went up or a floor came down?",
94
+ reads: "git",
95
+ unit: "count",
96
+ direction: "ceiling",
97
+ thresholds: { standard: 0, strict: 0 },
98
+ sentence: "First you rename the violation. Then you explain why it had to happen.",
99
+ run: (context) => Promise.resolve(countLoosenedMarks(context)),
100
+ };
101
+ //# sourceMappingURL=marks-raised-in-history.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marks-raised-in-history.js","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/marks-raised-in-history.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAQH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,GAEnB,MAAM,yCAAyC,CAAC;AAEjD,wEAAwE;AACxE;;;;GAIG;AACH,MAAM,iBAAiB,GAAG,CAAC,eAAe,EAAE,iBAAiB,CAAC;KAC3D,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,CAAC;KAC9C,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC;AAE7D,SAAS,YAAY,CAAC,GAAW;IAC/B,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;AACpE,CAAC;AAED,SAAS,eAAe,CACtB,KAAuB,EACvB,OAAyB;IAEzB,M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AK,EAAE,aAAa;IACpB,SAAS,EAAE,CAAC,oBAAoB,CAAC;IACjC,QAAQ,EACN,+FAA+F;IACjG,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,wEAAwE;IAC1E,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Migrations rewritten after they were committed: ceiling 0.
3
+ *
4
+ * A migration is a record of something a database already did. Once it is
5
+ * committed, some database somewhere has run it, and that database will never
6
+ * run it again: editing the file changes the story the repository tells
7
+ * without changing what happened. A fresh database and an old one then
8
+ * disagree about the schema, and the file says they cannot. The cure is a new
9
+ * migration, never an edit to an old one.
10
+ *
11
+ * A migration is frozen once it reaches the base line — the ref the caller
12
+ * named, else `origin/main`, else `main` — because that is the line databases
13
+ * are built from. Before that it is a draft, and a branch may fix it as often
14
+ * as it likes: nothing has run it yet. So the reading is every commit this
15
+ * checkout has and the base does not that modified, deleted, or renamed away a
16
+ * migration the base already holds, counted once against that migration.
17
+ * Drafts read zero, and so does a checkout sitting on the base itself: what
18
+ * the base already holds is history the gate judged when it landed.
19
+ *
20
+ * Renames are read as a delete and an add, so a moved migration counts too: a
21
+ * runner that keys on the file name sees a migration it has never run and one
22
+ * it can no longer find.
23
+ *
24
+ * With no base to draw the line, the reading falls back to the whole history —
25
+ * every change after the commit that added a migration counts — and the signal
26
+ * leaves a note saying so, so a repository with no `main` is not told its
27
+ * migrations were judged against one.
28
+ */
29
+ import type { DoctorSignal } from "../../doctor-signal.js";
30
+ export declare const migrationsEditedSignal: DoctorSignal;
31
+ //# sourceMappingURL=migrations-edited.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrations-edited.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/migrations-edited.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA4FhC,eAAO,MAAM,sBAAsB,EAAE,YAYpC,CAAC"}
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Migrations rewritten after they were committed: ceiling 0.
3
+ *
4
+ * A migration is a record of something a database already did. Once it is
5
+ * committed, some database somewhere has run it, and that database will never
6
+ * run it again: editing the file changes the story the repository tells
7
+ * without changing what happened. A fresh database and an old one then
8
+ * disagree about the schema, and the file says they cannot. The cure is a new
9
+ * migration, never an edit to an old one.
10
+ *
11
+ * A migration is frozen once it reaches the base line — the ref the caller
12
+ * named, else `origin/main`, else `main` — because that is the line databases
13
+ * are built from. Before that it is a draft, and a branch may fix it as often
14
+ * as it likes: nothing has run it yet. So the reading is every commit this
15
+ * checkout has and the base does not that modified, deleted, or renamed away a
16
+ * migration the base already holds, counted once against that migration.
17
+ * Drafts read zero, and so does a checkout sitting on the base itself: what
18
+ * the base already holds is history the gate judged when it landed.
19
+ *
20
+ * Renames are read as a delete and an add, so a moved migration counts too: a
21
+ * runner that keys on the file name sees a migration it has never run and one
22
+ * it can no longer find.
23
+ *
24
+ * With no base to draw the line, the reading falls back to the whole history —
25
+ * every change after the commit that added a migration counts — and the signal
26
+ * leaves a note saying so, so a repository with no `main` is not told its
27
+ * migrations were judged against one.
28
+ */
29
+ import { readCommitLog, requireGitWorkspace, shortSha, } from "../scanners/git-history.js";
30
+ import { NO_BASE_NOTE, readMigrationBase, } from "../scanners/migration-base.js";
31
+ import { isMigrationFile } from "../scanners/migration-files.js";
32
+ const ADDED = "A";
33
+ /**
34
+ * Records one change to a migration: the first add opens its record, and
35
+ * every change after that is an edit.
36
+ */
37
+ function recordChange(edits, commit, change) {
38
+ const found = edits.get(change.path);
39
+ if (found === undefined && change.status === ADDED) {
40
+ edits.set(change.path, []);
41
+ return;
42
+ }
43
+ const evidence = found ?? [];
44
+ evidence.push(editEvidence(commit, change));
45
+ edits.set(change.path, evidence);
46
+ }
47
+ function editEvidence(commit, change) {
48
+ return {
49
+ path: change.path,
50
+ name: `${shortSha(commit.sha)} ${change.status} ${commit.message}`,
51
+ };
52
+ }
53
+ /** With no base: every edit to a migration after it was added. */
54
+ function editsByMigration(commits) {
55
+ const edits = new Map();
56
+ for (const commit of [...commits].reverse()) {
57
+ for (const change of commit.changes) {
58
+ if (isMigrationFile(change.path))
59
+ recordChange(edits, commit, change);
60
+ }
61
+ }
62
+ return edits;
63
+ }
64
+ /** Changes past the base to migrations the base already holds. */
65
+ function editsPastBase(commits, base) {
66
+ const edits = new Map();
67
+ for (const commit of commits) {
68
+ for (const change of commit.changes) {
69
+ if (!isMigrationFile(change.path))
70
+ continue;
71
+ const found = edits.get(change.path) ?? [];
72
+ edits.set(change.path, found);
73
+ if (base.commits.has(commit.sha))
74
+ continue;
75
+ if (!base.migrations.has(change.path))
76
+ continue;
77
+ found.push(editEvidence(commit, change));
78
+ }
79
+ }
80
+ return edits;
81
+ }
82
+ function countMigrationEdits(context) {
83
+ requireGitWorkspace(context.root);
84
+ const commits = readCommitLog(context.root);
85
+ const base = readMigrationBase(context);
86
+ if (base === undefined)
87
+ context.notes?.push(NO_BASE_NOTE);
88
+ const edits = base === undefined
89
+ ? editsByMigration(commits)
90
+ : editsPastBase(commits, base);
91
+ return new Map([...edits].map(([path, evidence]) => [
92
+ path,
93
+ { value: evidence.length, evidence },
94
+ ]));
95
+ }
96
+ export const migrationsEditedSignal = {
97
+ id: "migrations-edited",
98
+ issue: "gaslighting",
99
+ question: "Was a migration the base line already holds modified, deleted, or renamed by a commit past the base?",
100
+ reads: "git",
101
+ unit: "count",
102
+ direction: "ceiling",
103
+ thresholds: { standard: 0, strict: 0 },
104
+ sentence: "First you rename the violation. Then you explain why it had to happen.",
105
+ run: (context) => Promise.resolve(countMigrationEdits(context)),
106
+ };
107
+ //# sourceMappingURL=migrations-edited.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrations-edited.js","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/migrations-edited.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAQH,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,QAAQ,GAGT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,YAAY,EACZ,iBAAiB,GAElB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,MAAM,KAAK,GAAG,GAAG,CAAC;AAElB;;;GAGG;AACH,SAAS,YAAY,CACnB,KAAoC,EACpC,MAAiB,EACjB,MAAiB;IAEjB,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrC,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;QACnD,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC3B,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,KAAK,IAAI,EAAE,CAAC;IAC7B,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5C,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,YAAY,CAAC,MAAiB,EAAE,MAAiB;IACxD,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,IAAI,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE;KACnE,CAAC;AACJ,CAAC;AAED,kEAAkE;AAClE,SAAS,g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IAClC,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,MAAM,IAAI,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACxC,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC1D,MAAM,KAAK,GACT,IAAI,KAAK,SAAS;QAChB,CAAC,CAAC,gBAAgB,CAAC,OAAO,CAAC;QAC3B,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnC,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC;QACnC,IAAI;QACJ,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE;KACrC,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAiB;IAClD,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,aAAa;IACpB,QAAQ,EACN,sGAAsG;IACxG,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,wEAAwE;IAC1E,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAChE,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Suppressions that do not say why: ceiling 0.
3
+ *
4
+ * The two hatches this counts are already held at zero by their own readings.
5
+ * This one is a different question about the same text, and it is the question
6
+ * that survives the exception being legitimate: when a repository does allow
7
+ * one — in a negative type test, in a generated boundary — the description is
8
+ * the whole of what makes it an exception rather than a silence. A hatch with
9
+ * no words after it is a decision nobody has to defend, and the next reader
10
+ * cannot tell whether it was thought about at all.
11
+ *
12
+ * Ten characters is the linter's own bar, and the reason it is a number rather
13
+ * than a judgement is that `// x` and `-- fix` are what a bar of one produces.
14
+ * The lint suppression is asked for the linter's description syntax — the
15
+ * text after a double dash — and the type-checker suppression for anything at
16
+ * all after the mark.
17
+ *
18
+ * The marks are joined at load time in `hatch-names.ts`, which explains why:
19
+ * a module that spelled either one whole would be counted by the readings that
20
+ * hold them at zero.
21
+ *
22
+ * A key is emitted for every TypeScript file, zeros included, so a file that
23
+ * gains an unexplained hatch reports as being over rather than as a key
24
+ * nothing measures.
25
+ */
26
+ import type { DoctorSignal } from "../../doctor-signal.js";
27
+ /** True when the comment carries a suppression nobody explained. */
28
+ export declare function isUndescribedSuppression(comment: string): boolean;
29
+ export declare const suppressionsWithoutDescriptionSignal: DoctorSignal;
30
+ //# sourceMappingURL=suppressions-without-description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressions-without-description.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/suppressions-without-description.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAiBhC,oEAAoE;AACpE,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAYjE;AAqBD,eAAO,MAAM,oCAAoC,EAAE,YAUlD,CAAC"}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Suppressions that do not say why: ceiling 0.
3
+ *
4
+ * The two hatches this counts are already held at zero by their own readings.
5
+ * This one is a different question about the same text, and it is the question
6
+ * that survives the exception being legitimate: when a repository does allow
7
+ * one — in a negative type test, in a generated boundary — the description is
8
+ * the whole of what makes it an exception rather than a silence. A hatch with
9
+ * no words after it is a decision nobody has to defend, and the next reader
10
+ * cannot tell whether it was thought about at all.
11
+ *
12
+ * Ten characters is the linter's own bar, and the reason it is a number rather
13
+ * than a judgement is that `// x` and `-- fix` are what a bar of one produces.
14
+ * The lint suppression is asked for the linter's description syntax — the
15
+ * text after a double dash — and the type-checker suppression for anything at
16
+ * all after the mark.
17
+ *
18
+ * The marks are joined at load time in `hatch-names.ts`, which explains why:
19
+ * a module that spelled either one whole would be counted by the readings that
20
+ * hold them at zero.
21
+ *
22
+ * A key is emitted for every TypeScript file, zeros included, so a file that
23
+ * gains an unexplained hatch reports as being over rather than as a key
24
+ * nothing measures.
25
+ */
26
+ import { ESLINT_DISABLE_MARK, TS_EXPECT_ERROR_MARK, TS_IGNORE_MARK, } from "../../hatch-names.js";
27
+ import { hasDescriptionAfter, scanComments, } from "../scanners/text-comment-scan.js";
28
+ import { isTypeScriptSource } from "../scanners/source-classification.js";
29
+ const LEAST_DESCRIPTION = 10;
30
+ const DESCRIPTION_SEPARATOR = " -- ";
31
+ const CHECKER_MARKS = [TS_EXPECT_ERROR_MARK, TS_IGNORE_MARK];
32
+ /** True when the comment carries a suppression nobody explained. */
33
+ export function isUndescribedSuppression(comment) {
34
+ if (comment.includes(ESLINT_DISABLE_MARK) &&
35
+ !hasDescriptionAfter(comment, DESCRIPTION_SEPARATOR, 1)) {
36
+ return true;
37
+ }
38
+ return CHECKER_MARKS.some((mark) => comment.includes(mark) &&
39
+ !hasDescriptionAfter(comment, mark, LEAST_DESCRIPTION));
40
+ }
41
+ function undescribedIn(comments) {
42
+ return comments.filter((comment) => isUndescribedSuppression(comment.text));
43
+ }
44
+ function countUndescribedSuppressions(context) {
45
+ const readings = new Map();
46
+ for (const path of context.files()) {
47
+ if (!isTypeScriptSource(path))
48
+ continue;
49
+ const found = undescribedIn(scanComments(context.read(path)));
50
+ readings.set(path, {
51
+ value: found.length,
52
+ evidence: found.map((comment) => ({ path, line: comment.line })),
53
+ });
54
+ }
55
+ return readings;
56
+ }
57
+ export const suppressionsWithoutDescriptionSignal = {
58
+ id: "suppressions-without-description",
59
+ issue: "gaslighting",
60
+ question: `Is there an \`${ESLINT_DISABLE_MARK}\` with no reason, or a \`${TS_EXPECT_ERROR_MARK}\` whose description is under ten characters?`,
61
+ reads: "text",
62
+ unit: "count",
63
+ direction: "ceiling",
64
+ thresholds: { standard: 0, strict: 0 },
65
+ sentence: "If you need the euphemism to live with it, you already know.",
66
+ run: (context) => Promise.resolve(countUndescribedSuppressions(context)),
67
+ };
68
+ //# sourceMappingURL=suppressions-without-description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressions-without-description.js","sourceRoot":"","sources":["../../../../src/doctor/signals/gaslighting/suppressions-without-description.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAQH,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,YAAY,GAEb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,aAAa,GAAG,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAC;AAE7D,oEAAoE;AACpE,MAAM,UAAU,wBAAwB,CAAC,OAAe;IACtD,IACE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAC;QACrC,CAAC,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,EAAE,CAAC,CAAC,EACvD,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,aAAa,CAAC,IAAI,CACvB,CAAC,IAAI,EAAE,EAAE,CACP,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC,mBAAmB,CAAC,OAAO,EAAE,IAAI,EAAE,iBAAiB,CAAC,CACzD,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CACpB,QAAkC;IAElC,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,wBAAwB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,4BAA4B,CAAC,OAAsB;IAC1D,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC;YAAE,SAAS;QACxC,MAAM,KAAK,GAAG,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC9D,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE;YACjB,KAAK,EAAE,KAAK,CAAC,MAAM;YACnB,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;SACjE,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAiB;IAChE,EAAE,EAAE,kCAAkC;IACtC,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE,iBAAiB,mBAAmB,6BAA6B,oBAAoB,+CAA+C;IAC9I,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,8DAA8D;IACxE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;CACzE,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The default branch, unprotected on the forge: report, and 0 in strict.
3
+ *
4
+ * Every other boundary in this issue is one this repository can hold by itself
5
+ * — a hook, a workflow, a compiler flag. This one it cannot. The branch the
6
+ * whole team merges into is protected on somebody's server or it is not, and a
7
+ * checkout has no way of knowing which. So the question is asked where the
8
+ * answer lives, and the reading is one key: the branch, at 1 when the forge
9
+ * says nothing protects it.
10
+ *
11
+ * Three answers and three different lines. Protection that exists is 0. A 404
12
+ * is the finding, because that is how GitHub says this branch has no protection
13
+ * rule. A 401 or a 403 is not a finding at all: an anonymous request cannot see
14
+ * protection on a private repository, and reading "you may not look" as "there
15
+ * is nothing there" is exactly the reassurance this issue is about. That is a
16
+ * failure naming the status, so the line says it was not measured.
17
+ *
18
+ * A remote that is not on GitHub is the same refusal. Another forge answers
19
+ * this question in another shape, and a repository that has never been pushed
20
+ * anywhere is not an unprotected branch; it is a question nobody can ask yet.
21
+ */
22
+ import type { DoctorSignal } from "../../doctor-signal.js";
23
+ export declare const branchProtectionOffSignal: DoctorSignal;
24
+ //# sourceMappingURL=branch-protection-off.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-protection-off.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAgE3E,eAAO,MAAM,yBAAyB,EAAE,YAUvC,CAAC"}