@dads-framework/toolbox 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (959) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +395 -2
  3. package/bin/dad.js +91 -0
  4. package/bin/usage.d.ts +2 -0
  5. package/bin/usage.js +37 -0
  6. package/dist/add-library-recipe.d.ts +23 -0
  7. package/dist/add-library-recipe.d.ts.map +1 -0
  8. package/dist/add-library-recipe.js +122 -0
  9. package/dist/add-library-recipe.js.map +1 -0
  10. package/dist/cli-baseline-commands.d.ts +2 -0
  11. package/dist/cli-baseline-commands.d.ts.map +1 -0
  12. package/dist/cli-baseline-commands.js +43 -0
  13. package/dist/cli-baseline-commands.js.map +1 -0
  14. package/dist/cli-boundary-commands.d.ts +2 -0
  15. package/dist/cli-boundary-commands.d.ts.map +1 -0
  16. package/dist/cli-boundary-commands.js +19 -0
  17. package/dist/cli-boundary-commands.js.map +1 -0
  18. package/dist/cli-doctor-commands.d.ts +58 -0
  19. package/dist/cli-doctor-commands.d.ts.map +1 -0
  20. package/dist/cli-doctor-commands.js +229 -0
  21. package/dist/cli-doctor-commands.js.map +1 -0
  22. package/dist/cli-doctor-gate.d.ts +52 -0
  23. package/dist/cli-doctor-gate.d.ts.map +1 -0
  24. package/dist/cli-doctor-gate.js +111 -0
  25. package/dist/cli-doctor-gate.js.map +1 -0
  26. package/dist/cli-documentation.d.ts +3 -0
  27. package/dist/cli-documentation.d.ts.map +1 -0
  28. package/dist/cli-documentation.js +13 -0
  29. package/dist/cli-documentation.js.map +1 -0
  30. package/dist/cli-generator-commands.d.ts +9 -0
  31. package/dist/cli-generator-commands.d.ts.map +1 -0
  32. package/dist/cli-generator-commands.js +68 -0
  33. package/dist/cli-generator-commands.js.map +1 -0
  34. package/dist/cli-inspection-commands.d.ts +12 -0
  35. package/dist/cli-inspection-commands.d.ts.map +1 -0
  36. package/dist/cli-inspection-commands.js +106 -0
  37. package/dist/cli-inspection-commands.js.map +1 -0
  38. package/dist/cli-io.d.ts +10 -0
  39. package/dist/cli-io.d.ts.map +1 -0
  40. package/dist/cli-io.js +28 -0
  41. package/dist/cli-io.js.map +1 -0
  42. package/dist/cli-library-commands.d.ts +2 -0
  43. package/dist/cli-library-commands.d.ts.map +1 -0
  44. package/dist/cli-library-commands.js +14 -0
  45. package/dist/cli-library-commands.js.map +1 -0
  46. package/dist/cli-project-commands.d.ts +4 -0
  47. package/dist/cli-project-commands.d.ts.map +1 -0
  48. package/dist/cli-project-commands.js +39 -0
  49. package/dist/cli-project-commands.js.map +1 -0
  50. package/dist/cli-route-inspection-commands.d.ts +2 -0
  51. package/dist/cli-route-inspection-commands.d.ts.map +1 -0
  52. package/dist/cli-route-inspection-commands.js +43 -0
  53. package/dist/cli-route-inspection-commands.js.map +1 -0
  54. package/dist/cli.d.ts +3 -0
  55. package/dist/cli.d.ts.map +1 -0
  56. package/dist/cli.js +82 -0
  57. package/dist/cli.js.map +1 -0
  58. package/dist/dads-initialization-arguments.d.ts +11 -0
  59. package/dist/dads-initialization-arguments.d.ts.map +1 -0
  60. package/dist/dads-initialization-arguments.js +88 -0
  61. package/dist/dads-initialization-arguments.js.map +1 -0
  62. package/dist/dependency-installation-receipt.d.ts +3 -0
  63. package/dist/dependency-installation-receipt.d.ts.map +1 -0
  64. package/dist/dependency-installation-receipt.js +37 -0
  65. package/dist/dependency-installation-receipt.js.map +1 -0
  66. package/dist/doctor/diagnose-workspace.d.ts +41 -0
  67. package/dist/doctor/diagnose-workspace.d.ts.map +1 -0
  68. package/dist/doctor/diagnose-workspace.js +65 -0
  69. package/dist/doctor/diagnose-workspace.js.map +1 -0
  70. package/dist/doctor/doctor-context.d.ts +142 -0
  71. package/dist/doctor/doctor-context.d.ts.map +1 -0
  72. package/dist/doctor/doctor-context.js +252 -0
  73. package/dist/doctor/doctor-context.js.map +1 -0
  74. package/dist/doctor/doctor-gate-base.d.ts +52 -0
  75. package/dist/doctor/doctor-gate-base.d.ts.map +1 -0
  76. package/dist/doctor/doctor-gate-base.js +240 -0
  77. package/dist/doctor/doctor-gate-base.js.map +1 -0
  78. package/dist/doctor/doctor-gate-baseline.d.ts +40 -0
  79. package/dist/doctor/doctor-gate-baseline.d.ts.map +1 -0
  80. package/dist/doctor/doctor-gate-baseline.js +209 -0
  81. package/dist/doctor/doctor-gate-baseline.js.map +1 -0
  82. package/dist/doctor/doctor-gate-model.d.ts +130 -0
  83. package/dist/doctor/doctor-gate-model.d.ts.map +1 -0
  84. package/dist/doctor/doctor-gate-model.js +89 -0
  85. package/dist/doctor/doctor-gate-model.js.map +1 -0
  86. package/dist/doctor/doctor-gate-render.d.ts +30 -0
  87. package/dist/doctor/doctor-gate-render.d.ts.map +1 -0
  88. package/dist/doctor/doctor-gate-render.js +75 -0
  89. package/dist/doctor/doctor-gate-render.js.map +1 -0
  90. package/dist/doctor/doctor-gate-retirements.d.ts +10 -0
  91. package/dist/doctor/doctor-gate-retirements.d.ts.map +1 -0
  92. package/dist/doctor/doctor-gate-retirements.js +155 -0
  93. package/dist/doctor/doctor-gate-retirements.js.map +1 -0
  94. package/dist/doctor/doctor-gate-states.d.ts +22 -0
  95. package/dist/doctor/doctor-gate-states.d.ts.map +1 -0
  96. package/dist/doctor/doctor-gate-states.js +254 -0
  97. package/dist/doctor/doctor-gate-states.js.map +1 -0
  98. package/dist/doctor/doctor-gate.d.ts +56 -0
  99. package/dist/doctor/doctor-gate.d.ts.map +1 -0
  100. package/dist/doctor/doctor-gate.js +295 -0
  101. package/dist/doctor/doctor-gate.js.map +1 -0
  102. package/dist/doctor/doctor-report.d.ts +101 -0
  103. package/dist/doctor/doctor-report.d.ts.map +1 -0
  104. package/dist/doctor/doctor-report.js +215 -0
  105. package/dist/doctor/doctor-report.js.map +1 -0
  106. package/dist/doctor/doctor-signal.d.ts +91 -0
  107. package/dist/doctor/doctor-signal.d.ts.map +1 -0
  108. package/dist/doctor/doctor-signal.js +41 -0
  109. package/dist/doctor/doctor-signal.js.map +1 -0
  110. package/dist/doctor/doctor-signals.d.ts +35 -0
  111. package/dist/doctor/doctor-signals.d.ts.map +1 -0
  112. package/dist/doctor/doctor-signals.js +65 -0
  113. package/dist/doctor/doctor-signals.js.map +1 -0
  114. package/dist/doctor/hatch-names.d.ts +26 -0
  115. package/dist/doctor/hatch-names.d.ts.map +1 -0
  116. package/dist/doctor/hatch-names.js +26 -0
  117. package/dist/doctor/hatch-names.js.map +1 -0
  118. package/dist/doctor/issue-catalog-attachment.d.ts +12 -0
  119. package/dist/doctor/issue-catalog-attachment.d.ts.map +1 -0
  120. package/dist/doctor/issue-catalog-attachment.js +241 -0
  121. package/dist/doctor/issue-catalog-attachment.js.map +1 -0
  122. package/dist/doctor/issue-catalog-enforcement.d.ts +12 -0
  123. package/dist/doctor/issue-catalog-enforcement.d.ts.map +1 -0
  124. package/dist/doctor/issue-catalog-enforcement.js +302 -0
  125. package/dist/doctor/issue-catalog-enforcement.js.map +1 -0
  126. package/dist/doctor/issues.d.ts +42 -0
  127. package/dist/doctor/issues.d.ts.map +1 -0
  128. package/dist/doctor/issues.js +27 -0
  129. package/dist/doctor/issues.js.map +1 -0
  130. package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts +19 -0
  131. package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts.map +1 -0
  132. package/dist/doctor/signals/anxious-attachment/blast-radius.js +44 -0
  133. package/dist/doctor/signals/anxious-attachment/blast-radius.js.map +1 -0
  134. package/dist/doctor/signals/anxious-attachment/copied-types.d.ts +18 -0
  135. package/dist/doctor/signals/anxious-attachment/copied-types.d.ts.map +1 -0
  136. package/dist/doctor/signals/anxious-attachment/copied-types.js +98 -0
  137. package/dist/doctor/signals/anxious-attachment/copied-types.js.map +1 -0
  138. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts +23 -0
  139. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts.map +1 -0
  140. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js +58 -0
  141. package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js.map +1 -0
  142. package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts +25 -0
  143. package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts.map +1 -0
  144. package/dist/doctor/signals/anxious-attachment/kind-inversions.js +90 -0
  145. package/dist/doctor/signals/anxious-attachment/kind-inversions.js.map +1 -0
  146. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts +21 -0
  147. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts.map +1 -0
  148. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js +58 -0
  149. package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js.map +1 -0
  150. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts +22 -0
  151. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts.map +1 -0
  152. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js +77 -0
  153. package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js.map +1 -0
  154. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts +15 -0
  155. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts.map +1 -0
  156. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js +43 -0
  157. package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js.map +1 -0
  158. package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts +19 -0
  159. package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts.map +1 -0
  160. package/dist/doctor/signals/avoidant-attachment/invariants-files.js +54 -0
  161. package/dist/doctor/signals/avoidant-attachment/invariants-files.js.map +1 -0
  162. package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts +21 -0
  163. package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts.map +1 -0
  164. package/dist/doctor/signals/avoidant-attachment/readme-missing.js +46 -0
  165. package/dist/doctor/signals/avoidant-attachment/readme-missing.js.map +1 -0
  166. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts +23 -0
  167. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts.map +1 -0
  168. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js +67 -0
  169. package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js.map +1 -0
  170. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts +21 -0
  171. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts.map +1 -0
  172. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js +59 -0
  173. package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js.map +1 -0
  174. package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts +17 -0
  175. package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts.map +1 -0
  176. package/dist/doctor/signals/avoidant-attachment/routes-without-access.js +38 -0
  177. package/dist/doctor/signals/avoidant-attachment/routes-without-access.js.map +1 -0
  178. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts +21 -0
  179. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts.map +1 -0
  180. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js +63 -0
  181. package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js.map +1 -0
  182. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts +18 -0
  183. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts.map +1 -0
  184. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js +64 -0
  185. package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js.map +1 -0
  186. package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts +21 -0
  187. package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts.map +1 -0
  188. package/dist/doctor/signals/commitment-issues/access-without-denial-test.js +57 -0
  189. package/dist/doctor/signals/commitment-issues/access-without-denial-test.js.map +1 -0
  190. package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts +18 -0
  191. package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts.map +1 -0
  192. package/dist/doctor/signals/commitment-issues/denial-tests-zero.js +68 -0
  193. package/dist/doctor/signals/commitment-issues/denial-tests-zero.js.map +1 -0
  194. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts +19 -0
  195. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts.map +1 -0
  196. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js +66 -0
  197. package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js.map +1 -0
  198. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts +25 -0
  199. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts.map +1 -0
  200. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js +95 -0
  201. package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js.map +1 -0
  202. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts +19 -0
  203. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts.map +1 -0
  204. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js +44 -0
  205. package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js.map +1 -0
  206. package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts +15 -0
  207. package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts.map +1 -0
  208. package/dist/doctor/signals/commitment-issues/skipped-tests.js +46 -0
  209. package/dist/doctor/signals/commitment-issues/skipped-tests.js.map +1 -0
  210. package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts +12 -0
  211. package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts.map +1 -0
  212. package/dist/doctor/signals/commitment-issues/soundness-cases.js +36 -0
  213. package/dist/doctor/signals/commitment-issues/soundness-cases.js.map +1 -0
  214. package/dist/doctor/signals/commitment-issues/test-count.d.ts +18 -0
  215. package/dist/doctor/signals/commitment-issues/test-count.d.ts.map +1 -0
  216. package/dist/doctor/signals/commitment-issues/test-count.js +111 -0
  217. package/dist/doctor/signals/commitment-issues/test-count.js.map +1 -0
  218. package/dist/doctor/signals/commitment-issues/todo-age.d.ts +24 -0
  219. package/dist/doctor/signals/commitment-issues/todo-age.d.ts.map +1 -0
  220. package/dist/doctor/signals/commitment-issues/todo-age.js +73 -0
  221. package/dist/doctor/signals/commitment-issues/todo-age.js.map +1 -0
  222. package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts +27 -0
  223. package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts.map +1 -0
  224. package/dist/doctor/signals/commitment-issues/todo-check-permission.js +82 -0
  225. package/dist/doctor/signals/commitment-issues/todo-check-permission.js.map +1 -0
  226. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts +19 -0
  227. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts.map +1 -0
  228. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js +101 -0
  229. package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js.map +1 -0
  230. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts +22 -0
  231. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts.map +1 -0
  232. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js +80 -0
  233. package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js.map +1 -0
  234. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts +21 -0
  235. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts.map +1 -0
  236. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js +71 -0
  237. package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js.map +1 -0
  238. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts +24 -0
  239. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts.map +1 -0
  240. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js +52 -0
  241. package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js.map +1 -0
  242. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts +3 -0
  243. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts.map +1 -0
  244. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js +66 -0
  245. package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js.map +1 -0
  246. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts +22 -0
  247. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts.map +1 -0
  248. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js +69 -0
  249. package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js.map +1 -0
  250. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts +22 -0
  251. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts.map +1 -0
  252. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js +55 -0
  253. package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js.map +1 -0
  254. package/dist/doctor/signals/daddy-issues/explicit-any.d.ts +17 -0
  255. package/dist/doctor/signals/daddy-issues/explicit-any.d.ts.map +1 -0
  256. package/dist/doctor/signals/daddy-issues/explicit-any.js +35 -0
  257. package/dist/doctor/signals/daddy-issues/explicit-any.js.map +1 -0
  258. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts +20 -0
  259. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts.map +1 -0
  260. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js +43 -0
  261. package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js.map +1 -0
  262. package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts +14 -0
  263. package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts.map +1 -0
  264. package/dist/doctor/signals/daddy-issues/non-null-assertions.js +32 -0
  265. package/dist/doctor/signals/daddy-issues/non-null-assertions.js.map +1 -0
  266. package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts +15 -0
  267. package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts.map +1 -0
  268. package/dist/doctor/signals/daddy-issues/ts-suppressions.js +43 -0
  269. package/dist/doctor/signals/daddy-issues/ts-suppressions.js.map +1 -0
  270. package/dist/doctor/signals/daddy-issues/type-assertions.d.ts +16 -0
  271. package/dist/doctor/signals/daddy-issues/type-assertions.d.ts.map +1 -0
  272. package/dist/doctor/signals/daddy-issues/type-assertions.js +35 -0
  273. package/dist/doctor/signals/daddy-issues/type-assertions.js.map +1 -0
  274. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts +15 -0
  275. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts.map +1 -0
  276. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js +34 -0
  277. package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js.map +1 -0
  278. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts +23 -0
  279. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts.map +1 -0
  280. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js +125 -0
  281. package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js.map +1 -0
  282. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts +15 -0
  283. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts.map +1 -0
  284. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js +33 -0
  285. package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js.map +1 -0
  286. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts +27 -0
  287. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts.map +1 -0
  288. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js +160 -0
  289. package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js.map +1 -0
  290. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts +27 -0
  291. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts.map +1 -0
  292. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js +164 -0
  293. package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js.map +1 -0
  294. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts +31 -0
  295. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts.map +1 -0
  296. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js +138 -0
  297. package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js.map +1 -0
  298. package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts +20 -0
  299. package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts.map +1 -0
  300. package/dist/doctor/signals/enmeshment/barrel-impurity.js +44 -0
  301. package/dist/doctor/signals/enmeshment/barrel-impurity.js.map +1 -0
  302. package/dist/doctor/signals/enmeshment/clippy-allows.d.ts +24 -0
  303. package/dist/doctor/signals/enmeshment/clippy-allows.d.ts.map +1 -0
  304. package/dist/doctor/signals/enmeshment/clippy-allows.js +84 -0
  305. package/dist/doctor/signals/enmeshment/clippy-allows.js.map +1 -0
  306. package/dist/doctor/signals/enmeshment/fan-out.d.ts +19 -0
  307. package/dist/doctor/signals/enmeshment/fan-out.d.ts.map +1 -0
  308. package/dist/doctor/signals/enmeshment/fan-out.js +50 -0
  309. package/dist/doctor/signals/enmeshment/fan-out.js.map +1 -0
  310. package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts +15 -0
  311. package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts.map +1 -0
  312. package/dist/doctor/signals/enmeshment/files-over-ceiling.js +40 -0
  313. package/dist/doctor/signals/enmeshment/files-over-ceiling.js.map +1 -0
  314. package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts +22 -0
  315. package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts.map +1 -0
  316. package/dist/doctor/signals/enmeshment/functions-over-ceiling.js +139 -0
  317. package/dist/doctor/signals/enmeshment/functions-over-ceiling.js.map +1 -0
  318. package/dist/doctor/signals/enmeshment/god-classes.d.ts +17 -0
  319. package/dist/doctor/signals/enmeshment/god-classes.d.ts.map +1 -0
  320. package/dist/doctor/signals/enmeshment/god-classes.js +55 -0
  321. package/dist/doctor/signals/enmeshment/god-classes.js.map +1 -0
  322. package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts +24 -0
  323. package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts.map +1 -0
  324. package/dist/doctor/signals/enmeshment/intra-package-cycles.js +91 -0
  325. package/dist/doctor/signals/enmeshment/intra-package-cycles.js.map +1 -0
  326. package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts +16 -0
  327. package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts.map +1 -0
  328. package/dist/doctor/signals/enmeshment/rust-inline-tests.js +39 -0
  329. package/dist/doctor/signals/enmeshment/rust-inline-tests.js.map +1 -0
  330. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts +14 -0
  331. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts.map +1 -0
  332. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js +39 -0
  333. package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js.map +1 -0
  334. package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts +16 -0
  335. package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts.map +1 -0
  336. package/dist/doctor/signals/failure-to-launch/lists-without-filter.js +38 -0
  337. package/dist/doctor/signals/failure-to-launch/lists-without-filter.js.map +1 -0
  338. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts +19 -0
  339. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts.map +1 -0
  340. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js +39 -0
  341. package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js.map +1 -0
  342. package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts +24 -0
  343. package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts.map +1 -0
  344. package/dist/doctor/signals/failure-to-launch/packages-without-surface.js +82 -0
  345. package/dist/doctor/signals/failure-to-launch/packages-without-surface.js.map +1 -0
  346. package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts +21 -0
  347. package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts.map +1 -0
  348. package/dist/doctor/signals/failure-to-launch/reorganization-churn.js +62 -0
  349. package/dist/doctor/signals/failure-to-launch/reorganization-churn.js.map +1 -0
  350. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts +19 -0
  351. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts.map +1 -0
  352. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js +65 -0
  353. package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js.map +1 -0
  354. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts +21 -0
  355. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts.map +1 -0
  356. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js +66 -0
  357. package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js.map +1 -0
  358. package/dist/doctor/signals/gaslighting/exempt-globs.d.ts +21 -0
  359. package/dist/doctor/signals/gaslighting/exempt-globs.d.ts.map +1 -0
  360. package/dist/doctor/signals/gaslighting/exempt-globs.js +59 -0
  361. package/dist/doctor/signals/gaslighting/exempt-globs.js.map +1 -0
  362. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts +21 -0
  363. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts.map +1 -0
  364. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js +70 -0
  365. package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js.map +1 -0
  366. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts +25 -0
  367. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts.map +1 -0
  368. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js +82 -0
  369. package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js.map +1 -0
  370. package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts +27 -0
  371. package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts.map +1 -0
  372. package/dist/doctor/signals/gaslighting/marks-raised-in-history.js +101 -0
  373. package/dist/doctor/signals/gaslighting/marks-raised-in-history.js.map +1 -0
  374. package/dist/doctor/signals/gaslighting/migrations-edited.d.ts +31 -0
  375. package/dist/doctor/signals/gaslighting/migrations-edited.d.ts.map +1 -0
  376. package/dist/doctor/signals/gaslighting/migrations-edited.js +107 -0
  377. package/dist/doctor/signals/gaslighting/migrations-edited.js.map +1 -0
  378. package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts +30 -0
  379. package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts.map +1 -0
  380. package/dist/doctor/signals/gaslighting/suppressions-without-description.js +68 -0
  381. package/dist/doctor/signals/gaslighting/suppressions-without-description.js.map +1 -0
  382. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts +24 -0
  383. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts.map +1 -0
  384. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js +79 -0
  385. package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js.map +1 -0
  386. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts +21 -0
  387. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts.map +1 -0
  388. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js +81 -0
  389. package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js.map +1 -0
  390. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts +24 -0
  391. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts.map +1 -0
  392. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js +73 -0
  393. package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js.map +1 -0
  394. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts +24 -0
  395. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts.map +1 -0
  396. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js +46 -0
  397. package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js.map +1 -0
  398. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts +22 -0
  399. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts.map +1 -0
  400. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js +62 -0
  401. package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js.map +1 -0
  402. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts +22 -0
  403. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts.map +1 -0
  404. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js +104 -0
  405. package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js.map +1 -0
  406. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts +17 -0
  407. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts.map +1 -0
  408. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js +40 -0
  409. package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js.map +1 -0
  410. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts +26 -0
  411. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts.map +1 -0
  412. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js +58 -0
  413. package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js.map +1 -0
  414. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts +25 -0
  415. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts.map +1 -0
  416. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js +111 -0
  417. package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js.map +1 -0
  418. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts +18 -0
  419. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts.map +1 -0
  420. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js +41 -0
  421. package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js.map +1 -0
  422. package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts +19 -0
  423. package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts.map +1 -0
  424. package/dist/doctor/signals/people-pleasing/denial-with-body.js +84 -0
  425. package/dist/doctor/signals/people-pleasing/denial-with-body.js.map +1 -0
  426. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts +16 -0
  427. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts.map +1 -0
  428. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js +87 -0
  429. package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js.map +1 -0
  430. package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts +18 -0
  431. package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts.map +1 -0
  432. package/dist/doctor/signals/people-pleasing/forbidden-403.js +49 -0
  433. package/dist/doctor/signals/people-pleasing/forbidden-403.js.map +1 -0
  434. package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts +31 -0
  435. package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts.map +1 -0
  436. package/dist/doctor/signals/people-pleasing/loose-contract-objects.js +166 -0
  437. package/dist/doctor/signals/people-pleasing/loose-contract-objects.js.map +1 -0
  438. package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts +19 -0
  439. package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts.map +1 -0
  440. package/dist/doctor/signals/people-pleasing/multi-shape-responses.js +63 -0
  441. package/dist/doctor/signals/people-pleasing/multi-shape-responses.js.map +1 -0
  442. package/dist/doctor/signals/people-pleasing/optional-creep.d.ts +20 -0
  443. package/dist/doctor/signals/people-pleasing/optional-creep.d.ts.map +1 -0
  444. package/dist/doctor/signals/people-pleasing/optional-creep.js +109 -0
  445. package/dist/doctor/signals/people-pleasing/optional-creep.js.map +1 -0
  446. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts +19 -0
  447. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts.map +1 -0
  448. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js +42 -0
  449. package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js.map +1 -0
  450. package/dist/doctor/signals/registry/foundation.d.ts +13 -0
  451. package/dist/doctor/signals/registry/foundation.d.ts.map +1 -0
  452. package/dist/doctor/signals/registry/foundation.js +45 -0
  453. package/dist/doctor/signals/registry/foundation.js.map +1 -0
  454. package/dist/doctor/signals/registry/git.d.ts +23 -0
  455. package/dist/doctor/signals/registry/git.d.ts.map +1 -0
  456. package/dist/doctor/signals/registry/git.js +41 -0
  457. package/dist/doctor/signals/registry/git.js.map +1 -0
  458. package/dist/doctor/signals/registry/online.d.ts +20 -0
  459. package/dist/doctor/signals/registry/online.d.ts.map +1 -0
  460. package/dist/doctor/signals/registry/online.js +26 -0
  461. package/dist/doctor/signals/registry/online.js.map +1 -0
  462. package/dist/doctor/signals/registry/packages.d.ts +17 -0
  463. package/dist/doctor/signals/registry/packages.d.ts.map +1 -0
  464. package/dist/doctor/signals/registry/packages.js +37 -0
  465. package/dist/doctor/signals/registry/packages.js.map +1 -0
  466. package/dist/doctor/signals/registry/routes.d.ts +20 -0
  467. package/dist/doctor/signals/registry/routes.d.ts.map +1 -0
  468. package/dist/doctor/signals/registry/routes.js +38 -0
  469. package/dist/doctor/signals/registry/routes.js.map +1 -0
  470. package/dist/doctor/signals/registry/stored-and-sent.d.ts +18 -0
  471. package/dist/doctor/signals/registry/stored-and-sent.d.ts.map +1 -0
  472. package/dist/doctor/signals/registry/stored-and-sent.js +40 -0
  473. package/dist/doctor/signals/registry/stored-and-sent.js.map +1 -0
  474. package/dist/doctor/signals/registry/text-and-packages.d.ts +17 -0
  475. package/dist/doctor/signals/registry/text-and-packages.d.ts.map +1 -0
  476. package/dist/doctor/signals/registry/text-and-packages.js +57 -0
  477. package/dist/doctor/signals/registry/text-and-packages.js.map +1 -0
  478. package/dist/doctor/signals/registry/typescript.d.ts +16 -0
  479. package/dist/doctor/signals/registry/typescript.d.ts.map +1 -0
  480. package/dist/doctor/signals/registry/typescript.js +72 -0
  481. package/dist/doctor/signals/registry/typescript.js.map +1 -0
  482. package/dist/doctor/signals/scanners/access-artifacts.d.ts +23 -0
  483. package/dist/doctor/signals/scanners/access-artifacts.d.ts.map +1 -0
  484. package/dist/doctor/signals/scanners/access-artifacts.js +46 -0
  485. package/dist/doctor/signals/scanners/access-artifacts.js.map +1 -0
  486. package/dist/doctor/signals/scanners/capability-model.d.ts +41 -0
  487. package/dist/doctor/signals/scanners/capability-model.d.ts.map +1 -0
  488. package/dist/doctor/signals/scanners/capability-model.js +154 -0
  489. package/dist/doctor/signals/scanners/capability-model.js.map +1 -0
  490. package/dist/doctor/signals/scanners/counted-lines.d.ts +39 -0
  491. package/dist/doctor/signals/scanners/counted-lines.d.ts.map +1 -0
  492. package/dist/doctor/signals/scanners/counted-lines.js +196 -0
  493. package/dist/doctor/signals/scanners/counted-lines.js.map +1 -0
  494. package/dist/doctor/signals/scanners/generated-artifacts.d.ts +32 -0
  495. package/dist/doctor/signals/scanners/generated-artifacts.d.ts.map +1 -0
  496. package/dist/doctor/signals/scanners/generated-artifacts.js +137 -0
  497. package/dist/doctor/signals/scanners/generated-artifacts.js.map +1 -0
  498. package/dist/doctor/signals/scanners/git-history.d.ts +95 -0
  499. package/dist/doctor/signals/scanners/git-history.d.ts.map +1 -0
  500. package/dist/doctor/signals/scanners/git-history.js +0 -0
  501. package/dist/doctor/signals/scanners/git-history.js.map +1 -0
  502. package/dist/doctor/signals/scanners/lint-configuration.d.ts +29 -0
  503. package/dist/doctor/signals/scanners/lint-configuration.d.ts.map +1 -0
  504. package/dist/doctor/signals/scanners/lint-configuration.js +75 -0
  505. package/dist/doctor/signals/scanners/lint-configuration.js.map +1 -0
  506. package/dist/doctor/signals/scanners/migration-base.d.ts +27 -0
  507. package/dist/doctor/signals/scanners/migration-base.d.ts.map +1 -0
  508. package/dist/doctor/signals/scanners/migration-base.js +58 -0
  509. package/dist/doctor/signals/scanners/migration-base.js.map +1 -0
  510. package/dist/doctor/signals/scanners/migration-files.d.ts +34 -0
  511. package/dist/doctor/signals/scanners/migration-files.d.ts.map +1 -0
  512. package/dist/doctor/signals/scanners/migration-files.js +82 -0
  513. package/dist/doctor/signals/scanners/migration-files.js.map +1 -0
  514. package/dist/doctor/signals/scanners/online-requests.d.ts +67 -0
  515. package/dist/doctor/signals/scanners/online-requests.d.ts.map +1 -0
  516. package/dist/doctor/signals/scanners/online-requests.js +136 -0
  517. package/dist/doctor/signals/scanners/online-requests.js.map +1 -0
  518. package/dist/doctor/signals/scanners/package-graph.d.ts +76 -0
  519. package/dist/doctor/signals/scanners/package-graph.d.ts.map +1 -0
  520. package/dist/doctor/signals/scanners/package-graph.js +252 -0
  521. package/dist/doctor/signals/scanners/package-graph.js.map +1 -0
  522. package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts +72 -0
  523. package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts.map +1 -0
  524. package/dist/doctor/signals/scanners/ratchet-baseline-history.js +149 -0
  525. package/dist/doctor/signals/scanners/ratchet-baseline-history.js.map +1 -0
  526. package/dist/doctor/signals/scanners/raw-failures.d.ts +22 -0
  527. package/dist/doctor/signals/scanners/raw-failures.d.ts.map +1 -0
  528. package/dist/doctor/signals/scanners/raw-failures.js +107 -0
  529. package/dist/doctor/signals/scanners/raw-failures.js.map +1 -0
  530. package/dist/doctor/signals/scanners/rendered-copy.d.ts +28 -0
  531. package/dist/doctor/signals/scanners/rendered-copy.d.ts.map +1 -0
  532. package/dist/doctor/signals/scanners/rendered-copy.js +182 -0
  533. package/dist/doctor/signals/scanners/rendered-copy.js.map +1 -0
  534. package/dist/doctor/signals/scanners/response-code.d.ts +23 -0
  535. package/dist/doctor/signals/scanners/response-code.d.ts.map +1 -0
  536. package/dist/doctor/signals/scanners/response-code.js +40 -0
  537. package/dist/doctor/signals/scanners/response-code.js.map +1 -0
  538. package/dist/doctor/signals/scanners/route-model.d.ts +22 -0
  539. package/dist/doctor/signals/scanners/route-model.d.ts.map +1 -0
  540. package/dist/doctor/signals/scanners/route-model.js +45 -0
  541. package/dist/doctor/signals/scanners/route-model.js.map +1 -0
  542. package/dist/doctor/signals/scanners/source-classification.d.ts +29 -0
  543. package/dist/doctor/signals/scanners/source-classification.d.ts.map +1 -0
  544. package/dist/doctor/signals/scanners/source-classification.js +66 -0
  545. package/dist/doctor/signals/scanners/source-classification.js.map +1 -0
  546. package/dist/doctor/signals/scanners/text-agent-harness.d.ts +38 -0
  547. package/dist/doctor/signals/scanners/text-agent-harness.d.ts.map +1 -0
  548. package/dist/doctor/signals/scanners/text-agent-harness.js +86 -0
  549. package/dist/doctor/signals/scanners/text-agent-harness.js.map +1 -0
  550. package/dist/doctor/signals/scanners/text-bypass-marks.d.ts +20 -0
  551. package/dist/doctor/signals/scanners/text-bypass-marks.d.ts.map +1 -0
  552. package/dist/doctor/signals/scanners/text-bypass-marks.js +20 -0
  553. package/dist/doctor/signals/scanners/text-bypass-marks.js.map +1 -0
  554. package/dist/doctor/signals/scanners/text-ci-workflows.d.ts +23 -0
  555. package/dist/doctor/signals/scanners/text-ci-workflows.d.ts.map +1 -0
  556. package/dist/doctor/signals/scanners/text-ci-workflows.js +50 -0
  557. package/dist/doctor/signals/scanners/text-ci-workflows.js.map +1 -0
  558. package/dist/doctor/signals/scanners/text-comment-scan.d.ts +29 -0
  559. package/dist/doctor/signals/scanners/text-comment-scan.d.ts.map +1 -0
  560. package/dist/doctor/signals/scanners/text-comment-scan.js +108 -0
  561. package/dist/doctor/signals/scanners/text-comment-scan.js.map +1 -0
  562. package/dist/doctor/signals/scanners/text-declared-packages.d.ts +28 -0
  563. package/dist/doctor/signals/scanners/text-declared-packages.d.ts.map +1 -0
  564. package/dist/doctor/signals/scanners/text-declared-packages.js +44 -0
  565. package/dist/doctor/signals/scanners/text-declared-packages.js.map +1 -0
  566. package/dist/doctor/signals/scanners/text-permission-marks.d.ts +25 -0
  567. package/dist/doctor/signals/scanners/text-permission-marks.d.ts.map +1 -0
  568. package/dist/doctor/signals/scanners/text-permission-marks.js +25 -0
  569. package/dist/doctor/signals/scanners/text-permission-marks.js.map +1 -0
  570. package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts +27 -0
  571. package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts.map +1 -0
  572. package/dist/doctor/signals/scanners/text-ratchet-baseline.js +54 -0
  573. package/dist/doctor/signals/scanners/text-ratchet-baseline.js.map +1 -0
  574. package/dist/doctor/signals/scanners/text-suppressions-file.d.ts +28 -0
  575. package/dist/doctor/signals/scanners/text-suppressions-file.d.ts.map +1 -0
  576. package/dist/doctor/signals/scanners/text-suppressions-file.js +46 -0
  577. package/dist/doctor/signals/scanners/text-suppressions-file.js.map +1 -0
  578. package/dist/doctor/signals/scanners/top-level-declarations.d.ts +34 -0
  579. package/dist/doctor/signals/scanners/top-level-declarations.d.ts.map +1 -0
  580. package/dist/doctor/signals/scanners/top-level-declarations.js +206 -0
  581. package/dist/doctor/signals/scanners/top-level-declarations.js.map +1 -0
  582. package/dist/doctor/signals/scanners/typescript-program.d.ts +172 -0
  583. package/dist/doctor/signals/scanners/typescript-program.d.ts.map +1 -0
  584. package/dist/doctor/signals/scanners/typescript-program.js +431 -0
  585. package/dist/doctor/signals/scanners/typescript-program.js.map +1 -0
  586. package/dist/doctor/signals/scanners/web-renderers.d.ts +24 -0
  587. package/dist/doctor/signals/scanners/web-renderers.d.ts.map +1 -0
  588. package/dist/doctor/signals/scanners/web-renderers.js +53 -0
  589. package/dist/doctor/signals/scanners/web-renderers.js.map +1 -0
  590. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts +3 -0
  591. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts.map +1 -0
  592. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js +257 -0
  593. package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js.map +1 -0
  594. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts +19 -0
  595. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts.map +1 -0
  596. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js +50 -0
  597. package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js.map +1 -0
  598. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts +23 -0
  599. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts.map +1 -0
  600. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js +91 -0
  601. package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js.map +1 -0
  602. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts +24 -0
  603. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts.map +1 -0
  604. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js +81 -0
  605. package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js.map +1 -0
  606. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts +21 -0
  607. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts.map +1 -0
  608. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js +48 -0
  609. package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js.map +1 -0
  610. package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts +22 -0
  611. package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts.map +1 -0
  612. package/dist/doctor/signals/the-silent-treatment/suppression-age.js +106 -0
  613. package/dist/doctor/signals/the-silent-treatment/suppression-age.js.map +1 -0
  614. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts +19 -0
  615. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts.map +1 -0
  616. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js +41 -0
  617. package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js.map +1 -0
  618. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts +23 -0
  619. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts.map +1 -0
  620. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js +87 -0
  621. package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js.map +1 -0
  622. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts +18 -0
  623. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts.map +1 -0
  624. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js +43 -0
  625. package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js.map +1 -0
  626. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts +24 -0
  627. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts.map +1 -0
  628. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js +109 -0
  629. package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js.map +1 -0
  630. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts +24 -0
  631. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts.map +1 -0
  632. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js +96 -0
  633. package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js.map +1 -0
  634. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts +22 -0
  635. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts.map +1 -0
  636. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js +128 -0
  637. package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js.map +1 -0
  638. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts +18 -0
  639. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts.map +1 -0
  640. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js +43 -0
  641. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js.map +1 -0
  642. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts +22 -0
  643. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts.map +1 -0
  644. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js +44 -0
  645. package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js.map +1 -0
  646. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts +23 -0
  647. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts.map +1 -0
  648. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js +110 -0
  649. package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js.map +1 -0
  650. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts +23 -0
  651. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts.map +1 -0
  652. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js +52 -0
  653. package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js.map +1 -0
  654. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts +15 -0
  655. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts.map +1 -0
  656. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js +41 -0
  657. package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js.map +1 -0
  658. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts +19 -0
  659. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts.map +1 -0
  660. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js +87 -0
  661. package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js.map +1 -0
  662. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts +22 -0
  663. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts.map +1 -0
  664. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js +72 -0
  665. package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js.map +1 -0
  666. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts +18 -0
  667. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts.map +1 -0
  668. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js +69 -0
  669. package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js.map +1 -0
  670. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts +28 -0
  671. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts.map +1 -0
  672. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js +128 -0
  673. package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js.map +1 -0
  674. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts +23 -0
  675. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts.map +1 -0
  676. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js +90 -0
  677. package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js.map +1 -0
  678. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts +16 -0
  679. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts.map +1 -0
  680. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js +40 -0
  681. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js.map +1 -0
  682. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts +20 -0
  683. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts.map +1 -0
  684. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js +60 -0
  685. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js.map +1 -0
  686. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts +19 -0
  687. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts.map +1 -0
  688. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js +88 -0
  689. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js.map +1 -0
  690. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts +18 -0
  691. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts.map +1 -0
  692. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js +58 -0
  693. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js.map +1 -0
  694. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts +22 -0
  695. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts.map +1 -0
  696. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js +109 -0
  697. package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js.map +1 -0
  698. package/dist/doctor/standalone-ratchet-base.d.ts +3 -0
  699. package/dist/doctor/standalone-ratchet-base.d.ts.map +1 -0
  700. package/dist/doctor/standalone-ratchet-base.js +62 -0
  701. package/dist/doctor/standalone-ratchet-base.js.map +1 -0
  702. package/dist/doctor/standalone-ratchet-policy.d.ts +9 -0
  703. package/dist/doctor/standalone-ratchet-policy.d.ts.map +1 -0
  704. package/dist/doctor/standalone-ratchet-policy.js +66 -0
  705. package/dist/doctor/standalone-ratchet-policy.js.map +1 -0
  706. package/dist/doctor/standalone-ratchet.d.ts +16 -0
  707. package/dist/doctor/standalone-ratchet.d.ts.map +1 -0
  708. package/dist/doctor/standalone-ratchet.js +86 -0
  709. package/dist/doctor/standalone-ratchet.js.map +1 -0
  710. package/dist/domain-boundaries/check-domain-boundaries.d.ts +14 -0
  711. package/dist/domain-boundaries/check-domain-boundaries.d.ts.map +1 -0
  712. package/dist/domain-boundaries/check-domain-boundaries.js +68 -0
  713. package/dist/domain-boundaries/check-domain-boundaries.js.map +1 -0
  714. package/dist/domain-boundaries/module-references.d.ts +9 -0
  715. package/dist/domain-boundaries/module-references.d.ts.map +1 -0
  716. package/dist/domain-boundaries/module-references.js +38 -0
  717. package/dist/domain-boundaries/module-references.js.map +1 -0
  718. package/dist/domain-boundaries/ownership.d.ts +17 -0
  719. package/dist/domain-boundaries/ownership.d.ts.map +1 -0
  720. package/dist/domain-boundaries/ownership.js +84 -0
  721. package/dist/domain-boundaries/ownership.js.map +1 -0
  722. package/dist/domain-boundaries/source-resolution.d.ts +10 -0
  723. package/dist/domain-boundaries/source-resolution.d.ts.map +1 -0
  724. package/dist/domain-boundaries/source-resolution.js +99 -0
  725. package/dist/domain-boundaries/source-resolution.js.map +1 -0
  726. package/dist/index.d.ts +10 -0
  727. package/dist/index.d.ts.map +1 -0
  728. package/dist/index.js +10 -0
  729. package/dist/index.js.map +1 -0
  730. package/dist/initialize-dads-project.d.ts +17 -0
  731. package/dist/initialize-dads-project.d.ts.map +1 -0
  732. package/dist/initialize-dads-project.js +86 -0
  733. package/dist/initialize-dads-project.js.map +1 -0
  734. package/dist/library-recipe-files.d.ts +10 -0
  735. package/dist/library-recipe-files.d.ts.map +1 -0
  736. package/dist/library-recipe-files.js +59 -0
  737. package/dist/library-recipe-files.js.map +1 -0
  738. package/dist/library-recipe-manifests.d.ts +16 -0
  739. package/dist/library-recipe-manifests.d.ts.map +1 -0
  740. package/dist/library-recipe-manifests.js +110 -0
  741. package/dist/library-recipe-manifests.js.map +1 -0
  742. package/dist/missing-path-error.d.ts +12 -0
  743. package/dist/missing-path-error.d.ts.map +1 -0
  744. package/dist/missing-path-error.js +14 -0
  745. package/dist/missing-path-error.js.map +1 -0
  746. package/dist/parse-guards.d.ts +15 -0
  747. package/dist/parse-guards.d.ts.map +1 -0
  748. package/dist/parse-guards.js +21 -0
  749. package/dist/parse-guards.js.map +1 -0
  750. package/dist/project-files.d.ts +8 -0
  751. package/dist/project-files.d.ts.map +1 -0
  752. package/dist/project-files.js +24 -0
  753. package/dist/project-files.js.map +1 -0
  754. package/dist/project-orientation.d.ts +33 -0
  755. package/dist/project-orientation.d.ts.map +1 -0
  756. package/dist/project-orientation.js +184 -0
  757. package/dist/project-orientation.js.map +1 -0
  758. package/dist/recommend-changed-verification.d.ts +20 -0
  759. package/dist/recommend-changed-verification.d.ts.map +1 -0
  760. package/dist/recommend-changed-verification.js +32 -0
  761. package/dist/recommend-changed-verification.js.map +1 -0
  762. package/dist/resource-generators/access-generator.d.ts +5 -0
  763. package/dist/resource-generators/access-generator.d.ts.map +1 -0
  764. package/dist/resource-generators/access-generator.js +50 -0
  765. package/dist/resource-generators/access-generator.js.map +1 -0
  766. package/dist/resource-generators/domain-generator.d.ts +5 -0
  767. package/dist/resource-generators/domain-generator.d.ts.map +1 -0
  768. package/dist/resource-generators/domain-generator.js +68 -0
  769. package/dist/resource-generators/domain-generator.js.map +1 -0
  770. package/dist/resource-generators/email-generator.d.ts +3 -0
  771. package/dist/resource-generators/email-generator.d.ts.map +1 -0
  772. package/dist/resource-generators/email-generator.js +30 -0
  773. package/dist/resource-generators/email-generator.js.map +1 -0
  774. package/dist/resource-generators/endpoint-generator.d.ts +4 -0
  775. package/dist/resource-generators/endpoint-generator.d.ts.map +1 -0
  776. package/dist/resource-generators/endpoint-generator.js +65 -0
  777. package/dist/resource-generators/endpoint-generator.js.map +1 -0
  778. package/dist/resource-generators/flag-generator.d.ts +3 -0
  779. package/dist/resource-generators/flag-generator.d.ts.map +1 -0
  780. package/dist/resource-generators/flag-generator.js +22 -0
  781. package/dist/resource-generators/flag-generator.js.map +1 -0
  782. package/dist/resource-generators/generate-resource.d.ts +3 -0
  783. package/dist/resource-generators/generate-resource.d.ts.map +1 -0
  784. package/dist/resource-generators/generate-resource.js +17 -0
  785. package/dist/resource-generators/generate-resource.js.map +1 -0
  786. package/dist/resource-generators/generation-plan.d.ts +15 -0
  787. package/dist/resource-generators/generation-plan.d.ts.map +1 -0
  788. package/dist/resource-generators/generation-plan.js +99 -0
  789. package/dist/resource-generators/generation-plan.js.map +1 -0
  790. package/dist/resource-generators/generator-arguments.d.ts +23 -0
  791. package/dist/resource-generators/generator-arguments.d.ts.map +1 -0
  792. package/dist/resource-generators/generator-arguments.js +83 -0
  793. package/dist/resource-generators/generator-arguments.js.map +1 -0
  794. package/dist/resource-generators/generator-dependencies.d.ts +3 -0
  795. package/dist/resource-generators/generator-dependencies.d.ts.map +1 -0
  796. package/dist/resource-generators/generator-dependencies.js +59 -0
  797. package/dist/resource-generators/generator-dependencies.js.map +1 -0
  798. package/dist/resource-generators/names.d.ts +5 -0
  799. package/dist/resource-generators/names.d.ts.map +1 -0
  800. package/dist/resource-generators/names.js +16 -0
  801. package/dist/resource-generators/names.js.map +1 -0
  802. package/dist/resource-generators/page-generator.d.ts +3 -0
  803. package/dist/resource-generators/page-generator.d.ts.map +1 -0
  804. package/dist/resource-generators/page-generator.js +23 -0
  805. package/dist/resource-generators/page-generator.js.map +1 -0
  806. package/dist/resource-generators/resource-contract.d.ts +3 -0
  807. package/dist/resource-generators/resource-contract.d.ts.map +1 -0
  808. package/dist/resource-generators/resource-contract.js +40 -0
  809. package/dist/resource-generators/resource-contract.js.map +1 -0
  810. package/dist/resource-generators/resource-pages.d.ts +3 -0
  811. package/dist/resource-generators/resource-pages.d.ts.map +1 -0
  812. package/dist/resource-generators/resource-pages.js +85 -0
  813. package/dist/resource-generators/resource-pages.js.map +1 -0
  814. package/dist/resource-generators/resource-proof.d.ts +3 -0
  815. package/dist/resource-generators/resource-proof.d.ts.map +1 -0
  816. package/dist/resource-generators/resource-proof.js +89 -0
  817. package/dist/resource-generators/resource-proof.js.map +1 -0
  818. package/dist/resource-generators/resource-routes.d.ts +3 -0
  819. package/dist/resource-generators/resource-routes.d.ts.map +1 -0
  820. package/dist/resource-generators/resource-routes.js +62 -0
  821. package/dist/resource-generators/resource-routes.js.map +1 -0
  822. package/dist/resource-generators/resource-store.d.ts +3 -0
  823. package/dist/resource-generators/resource-store.d.ts.map +1 -0
  824. package/dist/resource-generators/resource-store.js +88 -0
  825. package/dist/resource-generators/resource-store.js.map +1 -0
  826. package/dist/resource-generators/table-generator.d.ts +3 -0
  827. package/dist/resource-generators/table-generator.d.ts.map +1 -0
  828. package/dist/resource-generators/table-generator.js +109 -0
  829. package/dist/resource-generators/table-generator.js.map +1 -0
  830. package/dist/resource-generators/web-client-exports.d.ts +3 -0
  831. package/dist/resource-generators/web-client-exports.d.ts.map +1 -0
  832. package/dist/resource-generators/web-client-exports.js +12 -0
  833. package/dist/resource-generators/web-client-exports.js.map +1 -0
  834. package/dist/route-inspection/read-route-source.d.ts +15 -0
  835. package/dist/route-inspection/read-route-source.d.ts.map +1 -0
  836. package/dist/route-inspection/read-route-source.js +138 -0
  837. package/dist/route-inspection/read-route-source.js.map +1 -0
  838. package/dist/route-inspection/route-source-facts.d.ts +14 -0
  839. package/dist/route-inspection/route-source-facts.d.ts.map +1 -0
  840. package/dist/route-inspection/route-source-facts.js +81 -0
  841. package/dist/route-inspection/route-source-facts.js.map +1 -0
  842. package/dist/starter-project/kit-starter.generated.d.ts +5 -0
  843. package/dist/starter-project/kit-starter.generated.d.ts.map +1 -0
  844. package/dist/starter-project/kit-starter.generated.js +124 -0
  845. package/dist/starter-project/kit-starter.generated.js.map +1 -0
  846. package/dist/starter-project/render-starter-project.d.ts +10 -0
  847. package/dist/starter-project/render-starter-project.d.ts.map +1 -0
  848. package/dist/starter-project/render-starter-project.js +19 -0
  849. package/dist/starter-project/render-starter-project.js.map +1 -0
  850. package/dist/starter-project/render-starter-staged-checks.d.ts +4 -0
  851. package/dist/starter-project/render-starter-staged-checks.d.ts.map +1 -0
  852. package/dist/starter-project/render-starter-staged-checks.js +73 -0
  853. package/dist/starter-project/render-starter-staged-checks.js.map +1 -0
  854. package/dist/starter-project/render-starter-verification-files.d.ts +4 -0
  855. package/dist/starter-project/render-starter-verification-files.d.ts.map +1 -0
  856. package/dist/starter-project/render-starter-verification-files.js +258 -0
  857. package/dist/starter-project/render-starter-verification-files.js.map +1 -0
  858. package/dist/starter-project/starter-ci-workflow.d.ts +5 -0
  859. package/dist/starter-project/starter-ci-workflow.d.ts.map +1 -0
  860. package/dist/starter-project/starter-ci-workflow.js +61 -0
  861. package/dist/starter-project/starter-ci-workflow.js.map +1 -0
  862. package/dist/synchronize-agent-skills.d.ts +12 -0
  863. package/dist/synchronize-agent-skills.d.ts.map +1 -0
  864. package/dist/synchronize-agent-skills.js +36 -0
  865. package/dist/synchronize-agent-skills.js.map +1 -0
  866. package/dist/toolbox.tsbuildinfo +1 -0
  867. package/dist/verification/canonical-bytes.d.ts +6 -0
  868. package/dist/verification/canonical-bytes.d.ts.map +1 -0
  869. package/dist/verification/canonical-bytes.js +23 -0
  870. package/dist/verification/canonical-bytes.js.map +1 -0
  871. package/dist/verification/execute-graph-task.d.ts +14 -0
  872. package/dist/verification/execute-graph-task.d.ts.map +1 -0
  873. package/dist/verification/execute-graph-task.js +193 -0
  874. package/dist/verification/execute-graph-task.js.map +1 -0
  875. package/dist/verification/filesystem-guards.d.ts +10 -0
  876. package/dist/verification/filesystem-guards.d.ts.map +1 -0
  877. package/dist/verification/filesystem-guards.js +54 -0
  878. package/dist/verification/filesystem-guards.js.map +1 -0
  879. package/dist/verification/format-verification-report.d.ts +3 -0
  880. package/dist/verification/format-verification-report.d.ts.map +1 -0
  881. package/dist/verification/format-verification-report.js +17 -0
  882. package/dist/verification/format-verification-report.js.map +1 -0
  883. package/dist/verification/git-environment.d.ts +14 -0
  884. package/dist/verification/git-environment.d.ts.map +1 -0
  885. package/dist/verification/git-environment.js +16 -0
  886. package/dist/verification/git-environment.js.map +1 -0
  887. package/dist/verification/logic/collect-candidate-tasks.d.ts +7 -0
  888. package/dist/verification/logic/collect-candidate-tasks.d.ts.map +1 -0
  889. package/dist/verification/logic/collect-candidate-tasks.js +214 -0
  890. package/dist/verification/logic/collect-candidate-tasks.js.map +1 -0
  891. package/dist/verification/logic/decide-task-reuse.d.ts +14 -0
  892. package/dist/verification/logic/decide-task-reuse.d.ts.map +1 -0
  893. package/dist/verification/logic/decide-task-reuse.js +43 -0
  894. package/dist/verification/logic/decide-task-reuse.js.map +1 -0
  895. package/dist/verification/publish-verification-outputs.d.ts +16 -0
  896. package/dist/verification/publish-verification-outputs.d.ts.map +1 -0
  897. package/dist/verification/publish-verification-outputs.js +122 -0
  898. package/dist/verification/publish-verification-outputs.js.map +1 -0
  899. package/dist/verification/read-changed-scope.d.ts +10 -0
  900. package/dist/verification/read-changed-scope.d.ts.map +1 -0
  901. package/dist/verification/read-changed-scope.js +108 -0
  902. package/dist/verification/read-changed-scope.js.map +1 -0
  903. package/dist/verification/receipt-store.d.ts +17 -0
  904. package/dist/verification/receipt-store.d.ts.map +1 -0
  905. package/dist/verification/receipt-store.js +166 -0
  906. package/dist/verification/receipt-store.js.map +1 -0
  907. package/dist/verification/run-verification-task.d.ts +27 -0
  908. package/dist/verification/run-verification-task.d.ts.map +1 -0
  909. package/dist/verification/run-verification-task.js +276 -0
  910. package/dist/verification/run-verification-task.js.map +1 -0
  911. package/dist/verification/snapshot-capture.d.ts +26 -0
  912. package/dist/verification/snapshot-capture.d.ts.map +1 -0
  913. package/dist/verification/snapshot-capture.js +237 -0
  914. package/dist/verification/snapshot-capture.js.map +1 -0
  915. package/dist/verification/verification-contract.d.ts +85 -0
  916. package/dist/verification/verification-contract.d.ts.map +1 -0
  917. package/dist/verification/verification-contract.js +2 -0
  918. package/dist/verification/verification-contract.js.map +1 -0
  919. package/dist/verification/verification-failure.d.ts +11 -0
  920. package/dist/verification/verification-failure.d.ts.map +1 -0
  921. package/dist/verification/verification-failure.js +15 -0
  922. package/dist/verification/verification-failure.js.map +1 -0
  923. package/dist/verification/verification-inputs.d.ts +62 -0
  924. package/dist/verification/verification-inputs.d.ts.map +1 -0
  925. package/dist/verification/verification-inputs.js +250 -0
  926. package/dist/verification/verification-inputs.js.map +1 -0
  927. package/dist/verification/verification-receipt.d.ts +28 -0
  928. package/dist/verification/verification-receipt.d.ts.map +1 -0
  929. package/dist/verification/verification-receipt.js +216 -0
  930. package/dist/verification/verification-receipt.js.map +1 -0
  931. package/dist/verification/verifier-identity.d.ts +3 -0
  932. package/dist/verification/verifier-identity.d.ts.map +1 -0
  933. package/dist/verification/verifier-identity.js +39 -0
  934. package/dist/verification/verifier-identity.js.map +1 -0
  935. package/dist/verification/verify-task-graph.d.ts +20 -0
  936. package/dist/verification/verify-task-graph.d.ts.map +1 -0
  937. package/dist/verification/verify-task-graph.js +112 -0
  938. package/dist/verification/verify-task-graph.js.map +1 -0
  939. package/dist/verification/workspace-git-context.d.ts +23 -0
  940. package/dist/verification/workspace-git-context.d.ts.map +1 -0
  941. package/dist/verification/workspace-git-context.js +194 -0
  942. package/dist/verification/workspace-git-context.js.map +1 -0
  943. package/dist/verification/workspace-git-evidence.d.ts +16 -0
  944. package/dist/verification/workspace-git-evidence.d.ts.map +1 -0
  945. package/dist/verification/workspace-git-evidence.js +44 -0
  946. package/dist/verification/workspace-git-evidence.js.map +1 -0
  947. package/dist/verification/workspace-snapshot.d.ts +9 -0
  948. package/dist/verification/workspace-snapshot.d.ts.map +1 -0
  949. package/dist/verification/workspace-snapshot.js +113 -0
  950. package/dist/verification/workspace-snapshot.js.map +1 -0
  951. package/dist/verification-policy-parsing.d.ts +22 -0
  952. package/dist/verification-policy-parsing.d.ts.map +1 -0
  953. package/dist/verification-policy-parsing.js +218 -0
  954. package/dist/verification-policy-parsing.js.map +1 -0
  955. package/dist/write-library-recipe.d.ts +9 -0
  956. package/dist/write-library-recipe.d.ts.map +1 -0
  957. package/dist/write-library-recipe.js +45 -0
  958. package/dist/write-library-recipe.js.map +1 -0
  959. package/package.json +40 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"denial-tests-zero.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/denial-tests-zero.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,YAAY,EAAqB,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,YAAY,GAAG;IACnB,gCAAgC;IAChC,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,cAAc;CACf,CAAC;AACF,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAExE,S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,QAAQ,EACN,KAAK,KAAK,SAAS;gBACjB,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;gBAChD,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;SAC7C,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAiB;IACjD,EAAE,EAAE,mBAAmB;IACvB,KAAK,EAAE,mBAAmB;IAC1B,QAAQ,EACN,2EAA2E;IAC7E,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,4DAA4D;IACtE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;CACvE,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * A creator that never wrote down who owns the row: ceiling 0.
3
+ *
4
+ * You created the row. You did not write the ownership tuple. From then on the
5
+ * only thing that knows who owns it is the request that made it, and that
6
+ * request is gone. Every later access check has to guess, and guessing is how a
7
+ * tenant column ends up in a `WHERE` clause.
8
+ *
9
+ * Every `POST` operation is asked. The evidence is searched in the package that
10
+ * declares the route rather than in the handler, because a route that delegates
11
+ * is doing the right thing: the tuple is written by the operation it calls, and
12
+ * demanding it inline would reward the handler that does too much. So the
13
+ * reading is per operation and the answer is per package: a package that writes
14
+ * ownership somewhere, or registers an executed ownership proof, has answered
15
+ * for all of its creators, and one that does neither has answered for none.
16
+ */
17
+ import type { DoctorSignal } from "../../doctor-signal.js";
18
+ export declare const mutationsWithoutOwnershipSignal: DoctorSignal;
19
+ //# sourceMappingURL=mutations-without-ownership.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations-without-ownership.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/mutations-without-ownership.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,wBAAwB,CAAC;AA+C1E,eAAO,MAAM,+BAA+B,EAAE,YAY7C,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * A creator that never wrote down who owns the row: ceiling 0.
3
+ *
4
+ * You created the row. You did not write the ownership tuple. From then on the
5
+ * only thing that knows who owns it is the request that made it, and that
6
+ * request is gone. Every later access check has to guess, and guessing is how a
7
+ * tenant column ends up in a `WHERE` clause.
8
+ *
9
+ * Every `POST` operation is asked. The evidence is searched in the package that
10
+ * declares the route rather than in the handler, because a route that delegates
11
+ * is doing the right thing: the tuple is written by the operation it calls, and
12
+ * demanding it inline would reward the handler that does too much. So the
13
+ * reading is per operation and the answer is per package: a package that writes
14
+ * ownership somewhere, or registers an executed ownership proof, has answered
15
+ * for all of its creators, and one that does neither has answered for none.
16
+ */
17
+ import { packageFiles } from "../scanners/package-graph.js";
18
+ import { operationEvidence, operationKey, readRouteModel, } from "../scanners/route-model.js";
19
+ const OWNERSHIP_MARKS = [
20
+ "proveOwnershipIntent",
21
+ "relationships.add(",
22
+ ".owner(",
23
+ ".owner.",
24
+ ];
25
+ const READABLE = [".ts", ".tsx", ".mts", ".cts", ".js", ".mjs", ".cjs"];
26
+ /** True when anything in the package writes an ownership relationship. */
27
+ function showsOwnership(context, declared) {
28
+ for (const path of packageFiles(context, declared)) {
29
+ if (!READABLE.some((extension) => path.endsWith(extension)))
30
+ continue;
31
+ const text = context.read(path);
32
+ if (OWNERSHIP_MARKS.some((mark) => text.includes(mark)))
33
+ return true;
34
+ }
35
+ return false;
36
+ }
37
+ function countCreatorsWithoutOwnership(context) {
38
+ const model = readRouteModel(context);
39
+ const answered = new Map();
40
+ for (const declared of model.packagesWithRoutes) {
41
+ answered.set(declared.name, showsOwnership(context, declared));
42
+ }
43
+ const readings = new Map();
44
+ for (const operation of model.operations) {
45
+ if (operation.method !== "POST")
46
+ continue;
47
+ const shown = answered.get(operation.packageName) ?? false;
48
+ readings.set(operationKey(operation), {
49
+ value: shown || operation.resourceFreeTelemetry === true ? 0 : 1,
50
+ evidence: [operationEvidence(operation)],
51
+ });
52
+ }
53
+ return readings;
54
+ }
55
+ export const mutationsWithoutOwnershipSignal = {
56
+ id: "mutations-without-ownership",
57
+ issue: "commitment-issues",
58
+ question: "Does a create route write no ownership tuple and carry no ownership proof?",
59
+ reads: "routes",
60
+ unit: "count",
61
+ direction: "ceiling",
62
+ thresholds: { standard: 0, strict: 0 },
63
+ sentence: "You created the row. You did not write the ownership tuple. You said labels make you uncomfortable.",
64
+ run: (context) => Promise.resolve(countCreatorsWithoutOwnership(context)),
65
+ };
66
+ //# sourceMappingURL=mutations-without-ownership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations-without-ownership.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/mutations-without-ownership.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,YAAY,EAAqB,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,cAAc,GACf,MAAM,4BAA4B,CAAC;AAEpC,MAAM,eAAe,GAAG;IACtB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,SAAS;CACV,CAAC;AACF,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAExE,0EAA0E;AAC1E,SAAS,cAAc,CACrB,OAAsB,EACtB,QAAsB;IAEtB,KAAK,MAAM,IAAI,IAAI,YAAY,CAAC,OAAO,EAAE,QAAQ,CAA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AAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,+BAA+B,GAAiB;IAC3D,EAAE,EAAE,6BAA6B;IACjC,KAAK,EAAE,mBAAmB;IAC1B,QAAQ,EACN,4EAA4E;IAC9E,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,qGAAqG;IACvG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;CAC1E,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * A row and its authorization facts written in two steps: ceiling 0.
3
+ *
4
+ * Insert the row, then write the relationships: two statements, and a crash
5
+ * between them leaves a row nobody can reach, an administrator included,
6
+ * because the tuple that would have let them is the one that never got
7
+ * written. The authorization kit's answer is to state the facts as data
8
+ * (`accessChangesToWrite`) and hand them to the writer, which enqueues them in
9
+ * the insert's own transaction, so there is no moment between the two.
10
+ *
11
+ * `mutations-without-ownership` asks whether a creator records ownership at
12
+ * all. This asks how: a function that inserts a row and, in the same body,
13
+ * either calls `writeRelationships` or pulls it off an object to call later,
14
+ * or calls `.append(` in a module that holds the outbox seam — the method for a
15
+ * fact with no row of its own, which beside an insert runs as its own
16
+ * statement and gives back the window the outbox exists to close.
17
+ *
18
+ * It reads the shape of one function, not the writer behind it: whether the
19
+ * entries reach the transaction is what a test that fails after the enqueue
20
+ * proves. Every production module holding a function that inserts is a key,
21
+ * zeros included.
22
+ */
23
+ import type { DoctorSignal } from "../../doctor-signal.js";
24
+ export declare const sequentialAuthzWritesSignal: DoctorSignal;
25
+ //# sourceMappingURL=sequential-authz-writes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sequential-authz-writes.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/sequential-authz-writes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,wBAAwB,CAAC;AAkFhC,eAAO,MAAM,2BAA2B,EAAE,YAYzC,CAAC"}
@@ -0,0 +1,95 @@
1
+ /**
2
+ * A row and its authorization facts written in two steps: ceiling 0.
3
+ *
4
+ * Insert the row, then write the relationships: two statements, and a crash
5
+ * between them leaves a row nobody can reach, an administrator included,
6
+ * because the tuple that would have let them is the one that never got
7
+ * written. The authorization kit's answer is to state the facts as data
8
+ * (`accessChangesToWrite`) and hand them to the writer, which enqueues them in
9
+ * the insert's own transaction, so there is no moment between the two.
10
+ *
11
+ * `mutations-without-ownership` asks whether a creator records ownership at
12
+ * all. This asks how: a function that inserts a row and, in the same body,
13
+ * either calls `writeRelationships` or pulls it off an object to call later,
14
+ * or calls `.append(` in a module that holds the outbox seam — the method for a
15
+ * fact with no row of its own, which beside an insert runs as its own
16
+ * statement and gives back the window the outbox exists to close.
17
+ *
18
+ * It reads the shape of one function, not the writer behind it: whether the
19
+ * entries reach the transaction is what a test that fails after the enqueue
20
+ * proves. Every production module holding a function that inserts is a key,
21
+ * zeros included.
22
+ */
23
+ import { containsInScope, evidenceAt, functionBodyOf, functionName, isFunctionNode, isProductionModule, ts, visitNodes, } from "../scanners/typescript-program.js";
24
+ const INSERT = "insert";
25
+ const SEQUENTIAL_WRITE = "writeRelationships";
26
+ const ROWLESS_APPEND = "append";
27
+ const OUTBOX_SEAM = /\bEnqueueAccessChanges\b|\baccessChangesToWrite\b/;
28
+ function callsMethod(node, method) {
29
+ return (ts.isCallExpression(node) &&
30
+ ts.isPropertyAccessExpression(node.expression) &&
31
+ node.expression.name.text === method);
32
+ }
33
+ /** `const { writeRelationships } = …`, which is the same call, deferred. */
34
+ function bindsSequentialWrite(node) {
35
+ if (!ts.isObjectBindingPattern(node))
36
+ return false;
37
+ return node.elements.some((element) => {
38
+ const name = element.propertyName ?? element.name;
39
+ return ts.isIdentifier(name) && name.text === SEQUENTIAL_WRITE;
40
+ });
41
+ }
42
+ /** True when an inserting body also writes the facts as a step of its own. */
43
+ function writesInTwoSteps(body, holdsOutbox) {
44
+ return containsInScope(body, (node) => callsMethod(node, SEQUENTIAL_WRITE) ||
45
+ bindsSequentialWrite(node) ||
46
+ (holdsOutbox && callsMethod(node, ROWLESS_APPEND)));
47
+ }
48
+ function readInsertingFunctions(module) {
49
+ const holdsOutbox = OUTBOX_SEAM.test(module.source.text);
50
+ let inserting = 0;
51
+ const twoStep = [];
52
+ visitNodes(module.source, (node) => {
53
+ if (!isFunctionNode(node))
54
+ return;
55
+ const body = functionBodyOf(node);
56
+ if (body === undefined)
57
+ return;
58
+ if (!containsInScope(body, (child) => callsMethod(child, INSERT)))
59
+ return;
60
+ inserting += 1;
61
+ if (!writesInTwoSteps(body, holdsOutbox))
62
+ return;
63
+ twoStep.push(evidenceAt(module, node, functionName(node)));
64
+ });
65
+ return { inserting, twoStep };
66
+ }
67
+ function countTwoStepWrites(context) {
68
+ const readings = new Map();
69
+ for (const module of context.program().modules) {
70
+ if (!isProductionModule(module.path))
71
+ continue;
72
+ if (!module.source.text.includes(INSERT))
73
+ continue;
74
+ const found = readInsertingFunctions(module);
75
+ if (found.inserting === 0)
76
+ continue;
77
+ readings.set(module.path, {
78
+ value: found.twoStep.length,
79
+ evidence: found.twoStep,
80
+ });
81
+ }
82
+ return readings;
83
+ }
84
+ export const sequentialAuthzWritesSignal = {
85
+ id: "sequential-authz-writes",
86
+ issue: "commitment-issues",
87
+ question: "Does a function insert a row and write its relationships as a separate step, rather than handing the facts to the insert's transaction?",
88
+ reads: "typescript",
89
+ unit: "count",
90
+ direction: "ceiling",
91
+ thresholds: { standard: 0, strict: 0 },
92
+ sentence: "You created the row. You did not write the ownership tuple. You said labels make you uncomfortable.",
93
+ run: (context) => Promise.resolve(countTwoStepWrites(context)),
94
+ };
95
+ //# sourceMappingURL=sequential-authz-writes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sequential-authz-writes.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/sequential-authz-writes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AASH,OAAO,EACL,eAAe,EACf,UAAU,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,EAAE,EACF,UAAU,GAEX,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,GAAG,QAAQ,CAAC;AACxB,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAC9C,MAAM,cAAc,GAAG,QAAQ,CAAC;AAChC,MAAM,WAAW,GAAG,mDAAmD,CAAC;AAExE,SAAS,WAAW,CAAC,IAAa,EAAE,MAAc;IAChD,OAAO,CACL,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;QACzB,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC,UAAU,CAAC;QAC9C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CACrC,CAAC;AACJ,CAAC;AAED,4EAA4E;AAC5E,SAAS,oBAAoB,CAAC,IAAa;IACzC,IAAI,CAAC,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IACnD,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;QACpC,MAAM,IAAI,GAAG,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;QAClD,OAAO,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC;IACjE,CAAC,CAAC,CAAC;AACL,CAAC;AAED,8EAA8E;AAC9E,SAAS,gBAAgB,CAAC,IAAc,EAAE,WAAoB;IAC5D,OAAO,eAAe,CACpB,IAAI,EACJ,CAAC,IAAI,EAAE,EAAE,CACP,WAAW,CAAC,IAAI,EAAE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C,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,SAAS;QACnD,MAAM,KAAK,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,KAAK,CAAC,SAAS,KAAK,CAAC;YAAE,SAAS;QACpC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;YACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM;YAC3B,QAAQ,EAAE,KAAK,CAAC,OAAO;SACxB,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAiB;IACvD,EAAE,EAAE,yBAAyB;IAC7B,KAAK,EAAE,mBAAmB;IAC1B,QAAQ,EACN,yIAAyI;IAC3I,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,qGAAqG;IACvG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * A capability with one implementer and one consumer: report-only, both
3
+ * profiles. A heuristic.
4
+ *
5
+ * Twelve abstractions in week one is the shape this reads. An interface with
6
+ * one implementation and one caller is not a boundary; it is a second name for
7
+ * the same thing, and every change now has to be made in both. It may become a
8
+ * boundary — the second provider is sometimes a quarter away — which is why
9
+ * this never gets a threshold in either profile. It is a list to be argued
10
+ * with, not a rule.
11
+ *
12
+ * The same reading under `the paper wall` asks a sharper question:
13
+ * `no-in-memory-provider` narrows this to the capabilities that also have no
14
+ * stand-in, and those are the ones where the boundary was announced and never
15
+ * built.
16
+ */
17
+ import type { DoctorSignal } from "../../doctor-signal.js";
18
+ export declare const singleImplementerAbstractionsSignal: DoctorSignal;
19
+ //# sourceMappingURL=single-implementer-abstractions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-implementer-abstractions.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/single-implementer-abstractions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAgBhC,eAAO,MAAM,mCAAmC,EAAE,YAajD,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * A capability with one implementer and one consumer: report-only, both
3
+ * profiles. A heuristic.
4
+ *
5
+ * Twelve abstractions in week one is the shape this reads. An interface with
6
+ * one implementation and one caller is not a boundary; it is a second name for
7
+ * the same thing, and every change now has to be made in both. It may become a
8
+ * boundary — the second provider is sometimes a quarter away — which is why
9
+ * this never gets a threshold in either profile. It is a list to be argued
10
+ * with, not a rule.
11
+ *
12
+ * The same reading under `the paper wall` asks a sharper question:
13
+ * `no-in-memory-provider` narrows this to the capabilities that also have no
14
+ * stand-in, and those are the ones where the boundary was announced and never
15
+ * built.
16
+ */
17
+ import { readCapabilities } from "../scanners/capability-model.js";
18
+ function countSingleImplementers(context) {
19
+ const readings = new Map();
20
+ for (const capability of readCapabilities(context.program())) {
21
+ if (capability.implementers.length !== 1)
22
+ continue;
23
+ if (capability.consumers.length !== 1)
24
+ continue;
25
+ readings.set(`${capability.declaredIn} ${capability.name}`, {
26
+ value: 1,
27
+ evidence: [capability.evidence, ...capability.implementers],
28
+ });
29
+ }
30
+ return readings;
31
+ }
32
+ export const singleImplementerAbstractionsSignal = {
33
+ id: "single-implementer-abstractions",
34
+ issue: "commitment-issues",
35
+ alsoUnder: ["the-paper-wall"],
36
+ question: "Is there a type with exactly one implementer and one consumer? (heuristic)",
37
+ reads: "typescript",
38
+ unit: "count",
39
+ direction: "ceiling",
40
+ thresholds: { standard: null, strict: null },
41
+ sentence: "Love-bombed the codebase. Twelve abstractions. Week one. By Thursday he’d moved out and changed his name to `utils`.",
42
+ run: (context) => Promise.resolve(countSingleImplementers(context)),
43
+ };
44
+ //# sourceMappingURL=single-implementer-abstractions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-implementer-abstractions.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/single-implementer-abstractions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAQH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,SAAS,uBAAuB,CAAC,OAAsB;IACrD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,UAAU,IAAI,gBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC;QAC7D,IAAI,UAAU,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QACnD,IAAI,UAAU,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAChD,QAAQ,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,UAAU,IAAI,UAAU,CAAC,IAAI,EAAE,EAAE;YAC1D,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC;SAC5D,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAiB;IAC/D,EAAE,EAAE,iCAAiC;IACrC,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,CAAC,gBAAgB,CAAC;IAC7B,QAAQ,EACN,4EAA4E;IAC9E,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IAC5C,QAAQ,EACN,sHAAsH;IACxH,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;CACpE,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * A test that was turned off in place: ceiling 0.
3
+ *
4
+ * `skip` is a decision to stop asking a question, taken at the moment the
5
+ * answer became inconvenient, recorded nowhere anybody reads. `only` is worse:
6
+ * it turns off every other test in the file and the suite still reports green.
7
+ * `todo` is a promise with no date on it.
8
+ *
9
+ * `skipIf(condition)` is not counted. A test that names the environment it
10
+ * cannot run in is still asking its question everywhere else, and the
11
+ * condition is the record the bare `skip` never had.
12
+ */
13
+ import type { DoctorSignal } from "../../doctor-signal.js";
14
+ export declare const skippedTestsSignal: DoctorSignal;
15
+ //# sourceMappingURL=skipped-tests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skipped-tests.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/skipped-tests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AA0B3E,eAAO,MAAM,kBAAkB,EAAE,YAWhC,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * A test that was turned off in place: ceiling 0.
3
+ *
4
+ * `skip` is a decision to stop asking a question, taken at the moment the
5
+ * answer became inconvenient, recorded nowhere anybody reads. `only` is worse:
6
+ * it turns off every other test in the file and the suite still reports green.
7
+ * `todo` is a promise with no date on it.
8
+ *
9
+ * `skipIf(condition)` is not counted. A test that names the environment it
10
+ * cannot run in is still asking its question everywhere else, and the
11
+ * condition is the record the bare `skip` never had.
12
+ */
13
+ import { isTestSource } from "../scanners/source-classification.js";
14
+ import { countOccurrences, ts } from "../scanners/typescript-program.js";
15
+ const RUNNERS = new Set(["it", "test", "describe", "suite", "bench"]);
16
+ const SWITCHED_OFF = new Set(["skip", "only", "todo", "failing"]);
17
+ function isSwitchedOffTest(node) {
18
+ if (!ts.isCallExpression(node))
19
+ return false;
20
+ const callee = node.expression;
21
+ if (!ts.isPropertyAccessExpression(callee))
22
+ return false;
23
+ if (!SWITCHED_OFF.has(callee.name.text))
24
+ return false;
25
+ return (ts.isIdentifier(callee.expression) && RUNNERS.has(callee.expression.text));
26
+ }
27
+ function countSkippedTests(context) {
28
+ return countOccurrences({
29
+ program: context.program(),
30
+ include: isTestSource,
31
+ match: isSwitchedOffTest,
32
+ name: "switched-off test",
33
+ });
34
+ }
35
+ export const skippedTestsSignal = {
36
+ id: "skipped-tests",
37
+ issue: "commitment-issues",
38
+ question: "Is any `it.only`, `it.skip`, or `it.todo` present?",
39
+ reads: "typescript",
40
+ unit: "count",
41
+ direction: "ceiling",
42
+ thresholds: { standard: 0, strict: 0 },
43
+ sentence: "You went no-contact with tests, then checked their status every five minutes in CI.",
44
+ run: (context) => Promise.resolve(countSkippedTests(context)),
45
+ };
46
+ //# sourceMappingURL=skipped-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skipped-tests.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/skipped-tests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,MAAM,mCAAmC,CAAC;AAEzE,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AACtE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAElE,SAAS,iBAAiB,CAAC,IAAa;IACtC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IAC7C,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;IAC/B,IAAI,CAAC,EAAE,CAAC,0BAA0B,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAC;IACzD,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IACtD,OAAO,CACL,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,OAAsB;IAC/C,OAAO,gBAAgB,CAAC;QACtB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE;QAC1B,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,mBAAmB;KAC1B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAiB;IAC9C,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,mBAAmB;IAC1B,QAAQ,EAAE,oDAAoD;IAC9D,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,qFAAqF;IACvF,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;CAC9D,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Cases in the sealed soundness corpus: a floor.
3
+ *
4
+ * A test-selection planner is only as trustworthy as the corpus that proves it
5
+ * picks the same tasks before and after a change. That makes deleting a case
6
+ * the cheapest way to make a refactor look safe, which is exactly what this
7
+ * floor forbids. Cases are counted structurally, from the array, so
8
+ * reformatting the file cannot move the number.
9
+ */
10
+ import type { DoctorSignal } from "../../doctor-signal.js";
11
+ export declare const soundnessCasesSignal: DoctorSignal;
12
+ //# sourceMappingURL=soundness-cases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"soundness-cases.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/soundness-cases.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAiB3E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Cases in the sealed soundness corpus: a floor.
3
+ *
4
+ * A test-selection planner is only as trustworthy as the corpus that proves it
5
+ * picks the same tasks before and after a change. That makes deleting a case
6
+ * the cheapest way to make a refactor look safe, which is exactly what this
7
+ * floor forbids. Cases are counted structurally, from the array, so
8
+ * reformatting the file cannot move the number.
9
+ */
10
+ import { isRecord, isString, isUnknownArray } from "../../../parse-guards.js";
11
+ const CORPUS_FILE = "fixtures/testing-soundness/cases.json";
12
+ function countSoundnessCases(context) {
13
+ if (!context.exists(CORPUS_FILE))
14
+ return new Map();
15
+ const parsed = JSON.parse(context.read(CORPUS_FILE));
16
+ const cases = isRecord(parsed) ? parsed["cases"] : undefined;
17
+ if (!isUnknownArray(cases))
18
+ return new Map();
19
+ const defined = cases.filter((entry) => isRecord(entry) && isString(entry["id"]));
20
+ return new Map([
21
+ ["cases", { value: defined.length, evidence: [{ path: CORPUS_FILE }] }],
22
+ ]);
23
+ }
24
+ export const soundnessCasesSignal = {
25
+ id: "soundness-cases",
26
+ issue: "commitment-issues",
27
+ question: "Has the sealed test-selection corpus lost a case?",
28
+ reads: "text",
29
+ unit: "count",
30
+ direction: "floor",
31
+ thresholds: { standard: null, strict: null },
32
+ sentence: "You do not want a relationship. You just need to know they still pass.",
33
+ measure: "soundnessCases",
34
+ run: (context) => Promise.resolve(countSoundnessCases(context)),
35
+ };
36
+ //# sourceMappingURL=soundness-cases.js.map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EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IAC5C,QAAQ,EACN,wEAAwE;IAC1E,OAAO,EAAE,gBAAgB;IACzB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAChE,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Tests per package: a floor.
3
+ *
4
+ * Nearly every other signal is a ceiling, and a ceiling rewards deleting code.
5
+ * The suites are the net that makes deletion visible, so the net needs its own
6
+ * ratchet: a package may gain tests and may never quietly lose them. Skipped
7
+ * tests are not counted, because a skip is a test that stopped proving
8
+ * anything.
9
+ *
10
+ * The input is a Vitest JSON report. It is a build product, not a tracked
11
+ * file, so it is read from disk rather than from the file list, and it is
12
+ * often simply absent — a fast offline run does not execute the suites. An
13
+ * absent report yields nothing at all, which is reported as not measured and
14
+ * never as zero.
15
+ */
16
+ import type { DoctorSignal } from "../../doctor-signal.js";
17
+ export declare const testCountSignal: DoctorSignal;
18
+ //# sourceMappingURL=test-count.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-count.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/test-count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAsFhC,eAAO,MAAM,eAAe,EAAE,YAc7B,CAAC"}
@@ -0,0 +1,111 @@
1
+ /**
2
+ * Tests per package: a floor.
3
+ *
4
+ * Nearly every other signal is a ceiling, and a ceiling rewards deleting code.
5
+ * The suites are the net that makes deletion visible, so the net needs its own
6
+ * ratchet: a package may gain tests and may never quietly lose them. Skipped
7
+ * tests are not counted, because a skip is a test that stopped proving
8
+ * anything.
9
+ *
10
+ * The input is a Vitest JSON report. It is a build product, not a tracked
11
+ * file, so it is read from disk rather than from the file list, and it is
12
+ * often simply absent — a fast offline run does not execute the suites. An
13
+ * absent report yields nothing at all, which is reported as not measured and
14
+ * never as zero.
15
+ */
16
+ import { isRecord, isString, isUnknownArray } from "../../../parse-guards.js";
17
+ const REPORT_FILE = "node_modules/.dads/vitest-report.json";
18
+ const COUNTED = new Set(["passed", "failed"]);
19
+ const MANIFEST_SUFFIX = "/package.json";
20
+ /** Every package directory in the file list mapped to its declared name. */
21
+ function packageDirectories(context) {
22
+ const owners = new Map();
23
+ for (const path of context.files()) {
24
+ if (!path.endsWith(MANIFEST_SUFFIX))
25
+ continue;
26
+ const directory = path.slice(0, path.length - MANIFEST_SUFFIX.length);
27
+ const name = readSuiteOwnerName(context, path);
28
+ if (name !== undefined)
29
+ owners.set(directory, name);
30
+ }
31
+ return owners;
32
+ }
33
+ function readSuiteOwnerName(context, path) {
34
+ try {
35
+ const parsed = JSON.parse(context.read(path));
36
+ const name = isRecord(parsed) ? parsed["name"] : undefined;
37
+ return isString(name) ? name : undefined;
38
+ }
39
+ catch {
40
+ return undefined;
41
+ }
42
+ }
43
+ /** The most specific package directory that contains `path`. */
44
+ function ownerOf(path, owners) {
45
+ let best;
46
+ for (const directory of owners.keys()) {
47
+ if (!path.startsWith(`${directory}/`))
48
+ continue;
49
+ if (best === undefined || directory.length > best.length)
50
+ best = directory;
51
+ }
52
+ return best === undefined ? undefined : owners.get(best);
53
+ }
54
+ function countAssertions(suite) {
55
+ if (!isRecord(suite))
56
+ return 0;
57
+ const results = suite["assertionResults"];
58
+ if (!isUnknownArray(results))
59
+ return 0;
60
+ return results.filter((assertion) => {
61
+ if (!isRecord(assertion))
62
+ return false;
63
+ const status = assertion["status"];
64
+ return isString(status) && COUNTED.has(status);
65
+ }).length;
66
+ }
67
+ function suitePath(suite, root) {
68
+ if (!isRecord(suite))
69
+ return "";
70
+ const name = suite["name"];
71
+ if (!isString(name))
72
+ return "";
73
+ const prefix = `${root}/`;
74
+ return name.startsWith(prefix) ? name.slice(prefix.length) : name;
75
+ }
76
+ function countTestsPerPackage(context) {
77
+ if (!context.exists(REPORT_FILE))
78
+ return new Map();
79
+ const parsed = JSON.parse(context.read(REPORT_FILE));
80
+ const suites = isRecord(parsed) ? parsed["testResults"] : undefined;
81
+ if (!isUnknownArray(suites))
82
+ return new Map();
83
+ const owners = packageDirectories(context);
84
+ const readings = new Map();
85
+ for (const suite of suites) {
86
+ const path = suitePath(suite, context.root);
87
+ const owner = ownerOf(path, owners);
88
+ if (owner === undefined)
89
+ continue;
90
+ const known = readings.get(owner);
91
+ readings.set(owner, {
92
+ value: (known?.value ?? 0) + countAssertions(suite),
93
+ evidence: [...(known?.evidence ?? []), { path }],
94
+ });
95
+ }
96
+ return readings;
97
+ }
98
+ export const testCountSignal = {
99
+ id: "test-count",
100
+ issue: "commitment-issues",
101
+ question: "Has any package's passing test count fallen below its recorded floor?",
102
+ reads: "text",
103
+ unit: "count",
104
+ direction: "floor",
105
+ thresholds: { standard: null, strict: null },
106
+ reportOnly: true,
107
+ sentence: "You went no-contact with tests, then checked their status every five minutes in CI.",
108
+ measure: "testCount",
109
+ run: (context) => Promise.resolve(countTestsPerPackage(context)),
110
+ };
111
+ //# sourceMappingURL=test-count.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-count.js","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/test-count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAQ9E,MAAM,WAAW,GAAG,uCAAuC,CAAC;AAC5D,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC9C,MAAM,eAAe,GAAG,eAAe,CAAC;AAExC,4EAA4E;AAC5E,SAAS,kBAAkB,CACzB,OAAsB;IAEtB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IACzC,KAAK,MAAM,IAAI,IAAI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AE,MAAM,EAAE,IAAI,EAAE;IAC5C,UAAU,EAAE,IAAI;IAChB,QAAQ,EACN,qFAAqF;IACvF,OAAO,EAAE,WAAW;IACpB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;CACjE,CAAC"}
@@ -0,0 +1,24 @@
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 type { DoctorSignal } from "../../doctor-signal.js";
23
+ export declare const todoAgeSignal: DoctorSignal;
24
+ //# sourceMappingURL=todo-age.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todo-age.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/commitment-issues/todo-age.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EACV,YAAY,EAIb,MAAM,wBAAwB,CAAC;AAwDhC,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC"}