@dads-framework/toolbox 0.0.0-stage → 0.1.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 +396 -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 +77 -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,73 @@
1
+ /**
2
+ * How old the breadcrumbs are: report, 30 days in strict.
3
+ *
4
+ * A marker left in a comment is a promise with no date on it, and the essay's
5
+ * example is the one that matters — a permission left as a note on a route that
6
+ * has been in production since March. The note is not the problem. The note
7
+ * being nine months old is.
8
+ *
9
+ * So the reading is an age, not a count, and the age comes from blame: the day
10
+ * the line carrying the marker was last written. A file is reported once, at
11
+ * the age of its oldest marker, because the file is the thing somebody opens.
12
+ * A line nobody has committed yet has no age and is left out; dating an
13
+ * uncommitted line to today would let a marker restart its clock by being moved
14
+ * two lines down.
15
+ *
16
+ * Only markers in comments count. The word appears in a string literal in
17
+ * generated scaffolding and in prose in a document, and neither is a promise
18
+ * anybody made. The two names are assembled from their parts for the same
19
+ * reason the escape hatches are: this file would otherwise be read by its own
20
+ * signal as a nine-month-old promise.
21
+ */
22
+ import { blameLineDates, daysBefore, requireGitWorkspace, requireToday, } from "../scanners/git-history.js";
23
+ import { budgetedSourceFiles } from "../scanners/source-classification.js";
24
+ /** The two markers, joined at load time so this module does not carry one. */
25
+ const MARKS = [["TO", "DO"].join(""), ["FIX", "ME"].join("")];
26
+ /** A marker that opens a comment, or continues a block comment's margin. */
27
+ const MARKER = new RegExp(`(?://|/\\*+|^\\s*[*#])\\s*(?:${MARKS.join("|")})\\b`);
28
+ /** The one-based lines of a file whose comment carries a marker. */
29
+ function markedLines(text) {
30
+ return text
31
+ .split("\n")
32
+ .flatMap((line, index) => (MARKER.test(line) ? [index + 1] : []));
33
+ }
34
+ function ageOneFile(context, path, today, lines) {
35
+ const dates = blameLineDates(context.root, path);
36
+ const evidence = [];
37
+ let oldest = 0;
38
+ for (const line of lines) {
39
+ const written = dates.get(line);
40
+ if (written === undefined)
41
+ continue;
42
+ const age = daysBefore(written, today);
43
+ oldest = Math.max(oldest, age);
44
+ evidence.push({ path, line, name: `${age} days` });
45
+ }
46
+ return { value: oldest, evidence };
47
+ }
48
+ function ageMarkedPromises(context) {
49
+ requireGitWorkspace(context.root);
50
+ const today = requireToday(context.today);
51
+ const readings = new Map();
52
+ for (const path of budgetedSourceFiles(context.files())) {
53
+ const lines = markedLines(context.read(path));
54
+ if (lines.length === 0)
55
+ continue;
56
+ const reading = ageOneFile(context, path, today, lines);
57
+ if (reading.evidence.length > 0)
58
+ readings.set(path, reading);
59
+ }
60
+ return readings;
61
+ }
62
+ export const todoAgeSignal = {
63
+ id: "todo-age",
64
+ issue: "commitment-issues",
65
+ question: "Is there a TODO or FIXME mentioning permission or auth within twenty lines of a route, or older than the profile's threshold?",
66
+ reads: "git",
67
+ unit: "days",
68
+ direction: "ceiling",
69
+ thresholds: { standard: null, strict: 30 },
70
+ sentence: "You left a breadcrumb instead: `TODO: check permission` on a route that’s been in prod since March.",
71
+ run: (context) => Promise.resolve(ageMarkedPromises(context)),
72
+ };
73
+ //# sourceMappingURL=todo-age.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todo-age.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/todo-age.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AASH,OAAO,EACL,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,8EAA8E;AAC9E,MAAM,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AAE9D,4EAA4E;AAC5E,MAAM,MAAM,GAAG,IAAI,MAAM,CACvB,gCAAgC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CACtD,CAAC;AAEF,oEAAoE;AACpE,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,IAAI;SACR,KAAK,CAAC,IAAI,CAAC;SACX,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,UAAU,CACjB,OAAsB,EACtB,IAAY,EACZ,KAAa,EACb,KAAwB;IAExB,MAAM,KAAK,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjD,MAAM,QAAQ,GAAqB,EAAE,CAAC;IACtC,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,OAAO,GAAG,KAAK,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;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE;IAC1C,QAAQ,EACN,qGAAqG;IACvG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;CAC9D,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Deferred access decisions beside a route: ceiling 0.
3
+ *
4
+ * A comment that puts off a decision about who may do something, written
5
+ * within twenty lines of the route that will ship without it, is the one
6
+ * breadcrumb in the whole essay that names its own failure out loud. The
7
+ * relationship was never written down and somebody said so in the file, and
8
+ * then the file shipped anyway.
9
+ *
10
+ * Two things have to be true of a reading, and both are cheap. The words come
11
+ * from a comment rather than from raw text, so a string containing them is a
12
+ * quotation rather than a promise; and the words themselves live in
13
+ * `text-permission-marks.ts` rather than here, because this module writes the
14
+ * lines that recognise a route and a module holding both halves would answer
15
+ * the question about itself.
16
+ *
17
+ * Twenty lines is the companion's number. It is a proximity rule, not a
18
+ * parser: what it buys is that a deferred decision in a module with no routes
19
+ * in it is somebody's note, and the same note beside a handler is a hole.
20
+ *
21
+ * A key is emitted for every module that declares a route, zeros included, so
22
+ * a handler that gains a note reports as being over rather than as a key
23
+ * nothing measures.
24
+ */
25
+ import type { DoctorSignal } from "../../doctor-signal.js";
26
+ export declare const todoCheckPermissionSignal: DoctorSignal;
27
+ //# sourceMappingURL=todo-check-permission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todo-check-permission.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/todo-check-permission.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA4DhC,eAAO,MAAM,yBAAyB,EAAE,YAYvC,CAAC"}
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Deferred access decisions beside a route: ceiling 0.
3
+ *
4
+ * A comment that puts off a decision about who may do something, written
5
+ * within twenty lines of the route that will ship without it, is the one
6
+ * breadcrumb in the whole essay that names its own failure out loud. The
7
+ * relationship was never written down and somebody said so in the file, and
8
+ * then the file shipped anyway.
9
+ *
10
+ * Two things have to be true of a reading, and both are cheap. The words come
11
+ * from a comment rather than from raw text, so a string containing them is a
12
+ * quotation rather than a promise; and the words themselves live in
13
+ * `text-permission-marks.ts` rather than here, because this module writes the
14
+ * lines that recognise a route and a module holding both halves would answer
15
+ * the question about itself.
16
+ *
17
+ * Twenty lines is the companion's number. It is a proximity rule, not a
18
+ * parser: what it buys is that a deferred decision in a module with no routes
19
+ * in it is somebody's note, and the same note beside a handler is a hole.
20
+ *
21
+ * A key is emitted for every module that declares a route, zeros included, so
22
+ * a handler that gains a note reports as being over rather than as a key
23
+ * nothing measures.
24
+ */
25
+ import { scanComments } from "../scanners/text-comment-scan.js";
26
+ import { DEFERRED_WORK_MARK, PERMISSION_WORD, } from "../scanners/text-permission-marks.js";
27
+ const SCANNED_EXTENSIONS = [".ts", ".tsx", ".mjs", ".cjs", ".js"];
28
+ const NEARBY_LINES = 20;
29
+ /** The lines that declare or register an HTTP route. */
30
+ const ROUTE_MARKS = [
31
+ /\bmethod\s*:\s*["'`](?:GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS)\b/i,
32
+ /\bpath\s*:\s*["'`]\//,
33
+ /\.(?:get|post|put|patch|del|delete|all|route)\s*\(\s*["'`]\//i,
34
+ /\b(?:defineRoute|createRoute|registerRoute|addRoute|routeBlueprint)\b/,
35
+ ];
36
+ function routeLines(text) {
37
+ const found = [];
38
+ text.split("\n").forEach((line, offset) => {
39
+ if (ROUTE_MARKS.some((mark) => mark.test(line)))
40
+ found.push(offset + 1);
41
+ });
42
+ return found;
43
+ }
44
+ function isNearARoute(line, routes) {
45
+ return routes.some((route) => Math.abs(route - line) <= NEARBY_LINES);
46
+ }
47
+ function deferredNear(text, routes) {
48
+ return scanComments(text)
49
+ .filter((comment) => DEFERRED_WORK_MARK.test(comment.text) &&
50
+ PERMISSION_WORD.test(comment.text) &&
51
+ isNearARoute(comment.line, routes))
52
+ .map((comment) => comment.line);
53
+ }
54
+ function countDeferredAccessDecisions(context) {
55
+ const readings = new Map();
56
+ for (const path of context.files()) {
57
+ if (!SCANNED_EXTENSIONS.some((suffix) => path.endsWith(suffix)))
58
+ continue;
59
+ const text = context.read(path);
60
+ const routes = routeLines(text);
61
+ if (routes.length === 0)
62
+ continue;
63
+ const found = deferredNear(text, routes);
64
+ readings.set(path, {
65
+ value: found.length,
66
+ evidence: found.map((line) => ({ path, line })),
67
+ });
68
+ }
69
+ return readings;
70
+ }
71
+ export const todoCheckPermissionSignal = {
72
+ id: "todo-check-permission",
73
+ issue: "commitment-issues",
74
+ question: "Is there a TODO or FIXME mentioning permission or auth within twenty lines of a route?",
75
+ reads: "text",
76
+ unit: "count",
77
+ direction: "ceiling",
78
+ thresholds: { standard: 0, strict: 0 },
79
+ sentence: "You left a breadcrumb instead: `TODO: check permission` on a route that’s been in prod since March.",
80
+ run: (context) => Promise.resolve(countDeferredAccessDecisions(context)),
81
+ };
82
+ //# sourceMappingURL=todo-check-permission.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todo-check-permission.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/todo-check-permission.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAQH,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,eAAe,GAChB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AAClE,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,wDAAwD;AACxD,MAAM,WAAW,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CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAAE,SAAS;QAC1E,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChC,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QAChC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAClC,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACzC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE;YACjB,KAAK,EAAE,KAAK,CAAC,MAAM;YACnB,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;SAChD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAiB;IACrD,EAAE,EAAE,uBAAuB;IAC3B,KAAK,EAAE,mBAAmB;IAC1B,QAAQ,EACN,wFAAwF;IAC1F,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,EACN,qGAAqG;IACvG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;CACzE,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Negative type tests per package: a floor.
3
+ *
4
+ * A type test that only asserts what compiles proves half of a contract. The
5
+ * other half is what must *not* compile, and in a `type-tests/` directory that
6
+ * is written as an expect-error comment above the authoring mistake the type
7
+ * is supposed to reject. Those are the assertions that catch a type
8
+ * accidentally widening in a refactor, and they are also the assertions a
9
+ * refactor is most tempted to delete, because deleting one always makes the
10
+ * type-check pass.
11
+ *
12
+ * Keyed per package so a package cannot lose its negative cases behind another
13
+ * package's gain.
14
+ */
15
+ import type { DoctorContext } from "../../doctor-context.js";
16
+ import type { DoctorSignal, SignalReadings } from "../../doctor-signal.js";
17
+ export declare function countNegativeCases(context: DoctorContext): SignalReadings;
18
+ export declare const typeTestNegativeCasesSignal: DoctorSignal;
19
+ //# sourceMappingURL=type-test-negative-cases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-test-negative-cases.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/type-test-negative-cases.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,YAAY,EAGZ,cAAc,EACf,MAAM,wBAAwB,CAAC;AAMhC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAuBzE;AAkED,eAAO,MAAM,2BAA2B,EAAE,YAYzC,CAAC"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Negative type tests per package: a floor.
3
+ *
4
+ * A type test that only asserts what compiles proves half of a contract. The
5
+ * other half is what must *not* compile, and in a `type-tests/` directory that
6
+ * is written as an expect-error comment above the authoring mistake the type
7
+ * is supposed to reject. Those are the assertions that catch a type
8
+ * accidentally widening in a refactor, and they are also the assertions a
9
+ * refactor is most tempted to delete, because deleting one always makes the
10
+ * type-check pass.
11
+ *
12
+ * Keyed per package so a package cannot lose its negative cases behind another
13
+ * package's gain.
14
+ */
15
+ import { TS_EXPECT_ERROR_MARK } from "../../hatch-names.js";
16
+ import { ts } from "../scanners/typescript-program.js";
17
+ const TYPE_TEST = /^(packages\/(?:[^/]+\/)+?)type-tests\/.+\.tsx?$/;
18
+ export function countNegativeCases(context) {
19
+ const readings = new Map();
20
+ const roots = context.packages().map((owner) => owner.root);
21
+ for (const path of context.files()) {
22
+ const prefix = TYPE_TEST.exec(path)?.[1];
23
+ if (prefix === undefined)
24
+ continue;
25
+ const owner = roots
26
+ .filter((root) => path.startsWith(`${root}/`))
27
+ .sort((left, right) => right.length - left.length)[0] ??
28
+ prefix.slice(0, -1);
29
+ const source = ts.createSourceFile(path, context.read(path), ts.ScriptTarget.Latest);
30
+ const found = countExpectError(source) + countVitestNegativeAssertions(source);
31
+ const known = readings.get(owner);
32
+ const evidence = [...(known?.evidence ?? []), { path }];
33
+ readings.set(owner, { value: (known?.value ?? 0) + found, evidence });
34
+ }
35
+ return readings;
36
+ }
37
+ function countExpectError(source) {
38
+ const directives = new Set();
39
+ function visit(node) {
40
+ const ranges = ts.getLeadingCommentRanges(source.text, node.pos) ?? [];
41
+ for (const { pos, end } of ranges) {
42
+ const comment = source.text.slice(pos + 2, end).trimStart();
43
+ if (comment.startsWith(TS_EXPECT_ERROR_MARK))
44
+ directives.add(pos);
45
+ }
46
+ ts.forEachChild(node, visit);
47
+ }
48
+ visit(source);
49
+ return directives.size;
50
+ }
51
+ function countVitestNegativeAssertions(source) {
52
+ const names = new Set(source.statements.flatMap(vitestMatchers));
53
+ let count = 0;
54
+ function visit(node) {
55
+ if (isNegativeAssertion(node, names))
56
+ count += 1;
57
+ ts.forEachChild(node, visit);
58
+ }
59
+ visit(source);
60
+ return count;
61
+ }
62
+ function vitestMatchers(statement) {
63
+ if (!ts.isImportDeclaration(statement) ||
64
+ !ts.isStringLiteral(statement.moduleSpecifier) ||
65
+ statement.moduleSpecifier.text !== "vitest")
66
+ return [];
67
+ const bindings = statement.importClause?.namedBindings;
68
+ if (bindings === undefined || !ts.isNamedImports(bindings))
69
+ return [];
70
+ return bindings.elements
71
+ .filter((entry) => (entry.propertyName ?? entry.name).text === "expectTypeOf")
72
+ .map((entry) => entry.name.text);
73
+ }
74
+ function isNegativeAssertion(node, names) {
75
+ if (!ts.isCallExpression(node) ||
76
+ !ts.isPropertyAccessExpression(node.expression))
77
+ return false;
78
+ const matcher = node.expression;
79
+ if (matcher.name.text !== "toExtend" && matcher.name.text !== "toEqualTypeOf")
80
+ return false;
81
+ const negated = matcher.expression;
82
+ if (!ts.isPropertyAccessExpression(negated) || negated.name.text !== "not")
83
+ return false;
84
+ const call = negated.expression;
85
+ return (ts.isCallExpression(call) &&
86
+ ts.isIdentifier(call.expression) &&
87
+ names.has(call.expression.text));
88
+ }
89
+ export const typeTestNegativeCasesSignal = {
90
+ id: "type-test-negative-cases",
91
+ issue: "commitment-issues",
92
+ question: "Has any package's count of negative type tests fallen below its recorded floor?",
93
+ reads: "text",
94
+ unit: "count",
95
+ direction: "floor",
96
+ thresholds: { standard: null, strict: null },
97
+ sentence: "Zero denial cases. They said “lgtm.” You still feel alone.",
98
+ measure: "typeTestNegativeCases",
99
+ run: (context) => Promise.resolve(countNegativeCases(context)),
100
+ };
101
+ //# sourceMappingURL=type-test-negative-cases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-test-negative-cases.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/type-test-negative-cases.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AASH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,EAAE,EAAE,MAAM,mCAAmC,CAAC;AAEvD,MAAM,SAAS,GAAG,iDAAiD,CAAC;AAEpE,MAAM,UAAU,kBAAkB,CAAC,OAAsB;IACvD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,MAAM,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC5D,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;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OAAO;IACb,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IAC5C,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE,uBAAuB;IAChC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * How long the gate has been taking: information, in both profiles.
3
+ *
4
+ * This is the one reading in the doctor that is not a rule and cannot become
5
+ * one. No number of minutes is an illness — a workspace that compiles four
6
+ * languages has earned its twenty — and a threshold here would be Dad deciding
7
+ * how long your build is allowed to be, which is the helicopter dad this issue
8
+ * is about. So it reports and moves no verdict.
9
+ *
10
+ * It is here because a gate people route around is the failure this issue owns,
11
+ * and the most common reason they route around one is that it got slow while
12
+ * nobody was watching. The median of a workflow's last runs is what makes that
13
+ * arguable: it is stable against the one run that queued for an hour, and it is
14
+ * the number somebody can point at when they say the gate has doubled.
15
+ *
16
+ * The duration is the run's own: from the moment it started to the moment it
17
+ * last changed, in whole minutes, keyed by workflow name. Nothing here reads a
18
+ * clock — both ends of every interval come out of the response.
19
+ */
20
+ import type { DoctorSignal } from "../../doctor-signal.js";
21
+ export declare const ciDurationTrendSignal: DoctorSignal;
22
+ //# sourceMappingURL=ci-duration-trend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ci-duration-trend.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/ci-duration-trend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAmEhC,eAAO,MAAM,qBAAqB,EAAE,YAWnC,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * How long the gate has been taking: information, in both profiles.
3
+ *
4
+ * This is the one reading in the doctor that is not a rule and cannot become
5
+ * one. No number of minutes is an illness — a workspace that compiles four
6
+ * languages has earned its twenty — and a threshold here would be Dad deciding
7
+ * how long your build is allowed to be, which is the helicopter dad this issue
8
+ * is about. So it reports and moves no verdict.
9
+ *
10
+ * It is here because a gate people route around is the failure this issue owns,
11
+ * and the most common reason they route around one is that it got slow while
12
+ * nobody was watching. The median of a workflow's last runs is what makes that
13
+ * arguable: it is stable against the one run that queued for an hour, and it is
14
+ * the number somebody can point at when they say the gate has doubled.
15
+ *
16
+ * The duration is the run's own: from the moment it started to the moment it
17
+ * last changed, in whole minutes, keyed by workflow name. Nothing here reads a
18
+ * clock — both ends of every interval come out of the response.
19
+ */
20
+ import { readJsonObject, readObjectArray, readStringField, repositoryUrl, requireOnline, requireOriginRepository, } from "../scanners/online-requests.js";
21
+ /** The window the catalog asks for: the last twenty runs that finished. */
22
+ const RECENT_RUNS = "actions/runs?per_page=20&status=completed";
23
+ const GITHUB = "https://github.com";
24
+ const MINUTE_MILLISECONDS = 60_000;
25
+ const HALF = 2;
26
+ async function measureCiDuration(context) {
27
+ requireOnline(context);
28
+ const named = requireOriginRepository(context);
29
+ const document = await readJsonObject(context, `${repositoryUrl(named)}/${RECENT_RUNS}`);
30
+ const actions = `${GITHUB}/${named.owner}/${named.repository}/actions`;
31
+ const readings = new Map();
32
+ for (const [workflow, minutes] of runMinutesByWorkflow(document)) {
33
+ readings.set(workflow, {
34
+ value: medianMinutes(minutes),
35
+ evidence: [{ path: actions, name: `${minutes.length} completed runs` }],
36
+ });
37
+ }
38
+ return readings;
39
+ }
40
+ /** Every listed run's length in minutes, gathered under its workflow's name. */
41
+ function runMinutesByWorkflow(document) {
42
+ const gathered = new Map();
43
+ for (const run of readObjectArray(document, "workflow_runs")) {
44
+ const workflow = readStringField(run, "name");
45
+ const minutes = runMinutes(run);
46
+ if (workflow === undefined || minutes === undefined)
47
+ continue;
48
+ gathered.set(workflow, [...(gathered.get(workflow) ?? []), minutes]);
49
+ }
50
+ return gathered;
51
+ }
52
+ /** One run's length, or `undefined` when it does not carry both ends. */
53
+ function runMinutes(run) {
54
+ const started = Date.parse(readStringField(run, "run_started_at") ?? "");
55
+ const ended = Date.parse(readStringField(run, "updated_at") ?? "");
56
+ if (Number.isNaN(started) || Number.isNaN(ended))
57
+ return undefined;
58
+ return Math.max(0, (ended - started) / MINUTE_MILLISECONDS);
59
+ }
60
+ /** The middle run, in whole minutes, so one queued hour cannot be the trend. */
61
+ function medianMinutes(minutes) {
62
+ const sorted = [...minutes].sort((left, right) => left - right);
63
+ const middle = Math.floor(sorted.length / HALF);
64
+ const above = sorted[middle] ?? 0;
65
+ if (sorted.length % HALF === 1)
66
+ return Math.round(above);
67
+ return Math.round(((sorted[middle - 1] ?? 0) + above) / HALF);
68
+ }
69
+ export const ciDurationTrendSignal = {
70
+ id: "ci-duration-trend",
71
+ issue: "dad-has-issues-too",
72
+ question: "How long has each workflow taken over its last completed runs? (report-only)",
73
+ reads: "online",
74
+ unit: "count",
75
+ direction: "ceiling",
76
+ thresholds: { standard: null, strict: null },
77
+ sentence: "Dad would rather be argued with than ignored.",
78
+ run: (context) => measureCiDuration(context),
79
+ };
80
+ //# sourceMappingURL=ci-duration-trend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ci-duration-trend.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/ci-duration-trend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,aAAa,EACb,aAAa,EACb,uBAAuB,GACxB,MAAM,gCAAgC,CAAC;AAExC,2EAA2E;AAC3E,MAAM,WAAW,GAAG,2CAA2C,CAAC;AAChE,MAAM,MAAM,GAAG,oBAAoB,CAAC;AACpC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC,MAAM,IAAI,GAAG,CAAC,CAAC;AAEf,KAAK,UAAU,iBAAiB,CAC9B,OAAsB;IAEtB,a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AAoB;IAC3B,QAAQ,EACN,8EAA8E;IAChF,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IAC5C,QAAQ,EAAE,+CAA+C;IACzD,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,iBAAiB,CAAC,OAAO,CAAC;CAC7C,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Cases in the doctor's own fixture corpus: a floor.
3
+ *
4
+ * Decision five of the plan this command comes from is that every signal ships
5
+ * with a fixture that trips it. A rule that fires without a case somebody can
6
+ * run is the helicopter dad `DAD.md` warns about, and the cheapest way to make
7
+ * a broken signal look fine is to delete its case. So the corpus is the one
8
+ * thing Dad holds against himself: the case count may rise and may never fall,
9
+ * and a signal added without a case shows up as a corpus that did not grow.
10
+ *
11
+ * A case is a directory rather than a line in a shared index, because an index
12
+ * is one file every lane adding a signal has to edit at once. So the count is
13
+ * the directories under `fixtures/daddy-issues/` holding a readable
14
+ * `fixture.json` whose `signal` is the directory's own name — a manifest that
15
+ * names somewhere else is not a case, and cannot raise the floor by sitting in
16
+ * the corpus. That the named signal is a registered one is the corpus test's
17
+ * question: it holds the directory names and the registered ids to be one set.
18
+ */
19
+ import type { DoctorSignal } from "../../doctor-signal.js";
20
+ export declare const doctorCasesSignal: DoctorSignal;
21
+ //# sourceMappingURL=doctor-cases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor-cases.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/doctor-cases.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AA4C3E,eAAO,MAAM,iBAAiB,EAAE,YAY/B,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Cases in the doctor's own fixture corpus: a floor.
3
+ *
4
+ * Decision five of the plan this command comes from is that every signal ships
5
+ * with a fixture that trips it. A rule that fires without a case somebody can
6
+ * run is the helicopter dad `DAD.md` warns about, and the cheapest way to make
7
+ * a broken signal look fine is to delete its case. So the corpus is the one
8
+ * thing Dad holds against himself: the case count may rise and may never fall,
9
+ * and a signal added without a case shows up as a corpus that did not grow.
10
+ *
11
+ * A case is a directory rather than a line in a shared index, because an index
12
+ * is one file every lane adding a signal has to edit at once. So the count is
13
+ * the directories under `fixtures/daddy-issues/` holding a readable
14
+ * `fixture.json` whose `signal` is the directory's own name — a manifest that
15
+ * names somewhere else is not a case, and cannot raise the floor by sitting in
16
+ * the corpus. That the named signal is a registered one is the corpus test's
17
+ * question: it holds the directory names and the registered ids to be one set.
18
+ */
19
+ import { isRecord, isString } from "../../../parse-guards.js";
20
+ const CORPUS_DIRECTORY = "fixtures/daddy-issues";
21
+ const MANIFEST = "fixture.json";
22
+ /** The manifest as JSON, or `undefined` when it cannot be read or parsed. */
23
+ function readManifest(context, path) {
24
+ if (!context.exists(path))
25
+ return undefined;
26
+ try {
27
+ const parsed = JSON.parse(context.read(path));
28
+ return parsed;
29
+ }
30
+ catch {
31
+ return undefined;
32
+ }
33
+ }
34
+ /** True when the directory's own manifest names the directory. */
35
+ function isCase(context, name) {
36
+ const manifest = readManifest(context, `${CORPUS_DIRECTORY}/${name}/${MANIFEST}`);
37
+ const signal = isRecord(manifest) ? manifest["signal"] : undefined;
38
+ return isString(signal) && signal === name;
39
+ }
40
+ function countDoctorCases(context) {
41
+ const cases = context
42
+ .directories(CORPUS_DIRECTORY)
43
+ .filter((name) => isCase(context, name));
44
+ if (cases.length === 0)
45
+ return new Map();
46
+ return new Map([
47
+ [
48
+ "cases",
49
+ {
50
+ value: cases.length,
51
+ evidence: cases.map((name) => ({
52
+ path: `${CORPUS_DIRECTORY}/${name}`,
53
+ })),
54
+ },
55
+ ],
56
+ ]);
57
+ }
58
+ export const doctorCasesSignal = {
59
+ id: "doctor-cases",
60
+ issue: "dad-has-issues-too",
61
+ question: "Does any signal ship without a case that trips it?",
62
+ reads: "text",
63
+ unit: "count",
64
+ direction: "floor",
65
+ thresholds: { standard: null, strict: null },
66
+ reportOnly: true,
67
+ sentence: "Every rule names the change it stops, or it goes.",
68
+ measure: "doctorCases",
69
+ run: (context) => Promise.resolve(countDoctorCases(context)),
70
+ };
71
+ //# sourceMappingURL=doctor-cases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor-cases.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/doctor-cases.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI9D,MAAM,gBAAgB,GAAG,uBAAuB,CAAC;AACjD,MAAM,QAAQ,GAAG,cAAc,CAAC;AAEhC,6EAA6E;AAC7E,SAAS,YAAY,CAAC,OAAsB,EAAE,IAAY;IACxD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IAC5C,IAAI,CAAC;QACH,MAAM,MAAM,GAAY,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACvD,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,kEAAkE;AAClE,SAAS,MAAM,CAAC,OAAsB,EAAE,IAAY;IAClD,MAAM,QAAQ,GAAG,YAAY,CAC3B,OAAO,EACP,GAAG,gBAAgB,IAAI,IAAI,IAAI,QAAQ,EAAE,CAC1C,CAAC;IACF,MAAM,MAAM,GAAY,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,KAAK,IAAI,CAAC;AAC7C,CAAC;AAED,SAAS,gBAAgB,CAAC,OAAsB;IAC9C,MAAM,KAAK,GAAG,OAAO;SAClB,WAAW,CAAC,gBAAgB,CAAC;SAC7B,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAC3C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,GAAG,EAAE,CAAC;IACzC,OAAO,IAAI,GAAG,CAAC;QACb;YACE,OAAO;YACP;gBACE,KAAK,EAAE,KAAK,CAAC,MAAM;gBACnB,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBAC7B,IAAI,EAAE,GAAG,gBAAgB,IAAI,IAAI,EAAE;iBACpC,CAAC,CAAC;aACJ;SACF;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAiB;IAC7C,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE,oBAAoB;IAC3B,QAAQ,EAAE,oDAAoD;IAC9D,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IAC5C,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,mDAAmD;IAC7D,OAAO,EAAE,aAAa;IACtB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;CAC7D,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * A guard that blocks when its own tool is missing: report-only.
3
+ *
4
+ * This is the reading Dad points at himself. A guard exists to stop a change
5
+ * that should not land. A guard that also stops every change on a machine
6
+ * where the formatter was never installed has stopped being a boundary and
7
+ * become an outage — and the person it locks out is whoever cloned the
8
+ * repository this morning, not whoever was trying to get past it.
9
+ *
10
+ * What is asked is narrow on purpose. The guards are the programs a harness
11
+ * configuration actually runs at edit time, not every script in the tree, and
12
+ * the question is asked only of the ones that shell out to a tool: a guard
13
+ * that decides from its input alone has no tool to be missing. Of those, one
14
+ * that names none of the ways a tool can be absent — an existence check, the
15
+ * error a spawn returns, a catch — has no branch on which it could let the
16
+ * edit through.
17
+ *
18
+ * It is report-only in both profiles, and it should be read as a prompt to go
19
+ * and look rather than as a verdict: a scanner can see that a program never
20
+ * mentions the failure, and cannot see what it does about it.
21
+ */
22
+ import type { DoctorSignal } from "../../doctor-signal.js";
23
+ export declare const guardsFailClosedSignal: DoctorSignal;
24
+ //# sourceMappingURL=guards-fail-closed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guards-fail-closed.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/guards-fail-closed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAuBhC,eAAO,MAAM,sBAAsB,EAAE,YAYpC,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * A guard that blocks when its own tool is missing: report-only.
3
+ *
4
+ * This is the reading Dad points at himself. A guard exists to stop a change
5
+ * that should not land. A guard that also stops every change on a machine
6
+ * where the formatter was never installed has stopped being a boundary and
7
+ * become an outage — and the person it locks out is whoever cloned the
8
+ * repository this morning, not whoever was trying to get past it.
9
+ *
10
+ * What is asked is narrow on purpose. The guards are the programs a harness
11
+ * configuration actually runs at edit time, not every script in the tree, and
12
+ * the question is asked only of the ones that shell out to a tool: a guard
13
+ * that decides from its input alone has no tool to be missing. Of those, one
14
+ * that names none of the ways a tool can be absent — an existence check, the
15
+ * error a spawn returns, a catch — has no branch on which it could let the
16
+ * edit through.
17
+ *
18
+ * It is report-only in both profiles, and it should be read as a prompt to go
19
+ * and look rather than as a verdict: a scanner can see that a program never
20
+ * mentions the failure, and cannot see what it does about it.
21
+ */
22
+ import { guardScriptOf, wiredGuards } from "../scanners/text-agent-harness.js";
23
+ const SPAWNS_A_TOOL = /\b(?:spawnSync|spawn|execSync|execFileSync|execFile)\s*\(/;
24
+ const HANDLES_ABSENCE = /\b(?:existsSync|ENOENT|catch|command -v|which)\b|\.error\b/;
25
+ function countGuardsThatFailClosed(context) {
26
+ const readings = new Map();
27
+ for (const guard of wiredGuards(context)) {
28
+ const script = guardScriptOf(guard.command);
29
+ if (script === undefined || !context.exists(script))
30
+ continue;
31
+ const text = context.read(script);
32
+ if (!SPAWNS_A_TOOL.test(text))
33
+ continue;
34
+ readings.set(script, {
35
+ value: HANDLES_ABSENCE.test(text) ? 0 : 1,
36
+ evidence: [{ path: script, name: guard.path }],
37
+ });
38
+ }
39
+ return readings;
40
+ }
41
+ export const guardsFailClosedSignal = {
42
+ id: "guards-fail-closed",
43
+ issue: "dad-has-issues-too",
44
+ question: "Does any guard block a change when its own tool is missing, rather than failing open? (heuristic)",
45
+ reads: "text",
46
+ unit: "count",
47
+ direction: "ceiling",
48
+ thresholds: { standard: null, strict: null },
49
+ sentence: "A missing tool fails open, because a house nobody can enter is not strict, it is empty.",
50
+ run: (context) => Promise.resolve(countGuardsThatFailClosed(context)),
51
+ };
52
+ //# sourceMappingURL=guards-fail-closed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guards-fail-closed.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/guards-fail-closed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAQH,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAE/E,MAAM,aAAa,GACjB,2DAA2D,CAAC;AAC9D,MAAM,eAAe,GACnB,4DAA4D,CAAC;AAE/D,SAAS,yBAAyB,CAAC,OAAsB;IACvD,MAAM,QAAQ,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