@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.
- package/LICENSE.md +21 -0
- package/README.md +395 -2
- package/bin/dad.js +91 -0
- package/bin/usage.d.ts +2 -0
- package/bin/usage.js +37 -0
- package/dist/add-library-recipe.d.ts +23 -0
- package/dist/add-library-recipe.d.ts.map +1 -0
- package/dist/add-library-recipe.js +122 -0
- package/dist/add-library-recipe.js.map +1 -0
- package/dist/cli-baseline-commands.d.ts +2 -0
- package/dist/cli-baseline-commands.d.ts.map +1 -0
- package/dist/cli-baseline-commands.js +43 -0
- package/dist/cli-baseline-commands.js.map +1 -0
- package/dist/cli-boundary-commands.d.ts +2 -0
- package/dist/cli-boundary-commands.d.ts.map +1 -0
- package/dist/cli-boundary-commands.js +19 -0
- package/dist/cli-boundary-commands.js.map +1 -0
- package/dist/cli-doctor-commands.d.ts +58 -0
- package/dist/cli-doctor-commands.d.ts.map +1 -0
- package/dist/cli-doctor-commands.js +229 -0
- package/dist/cli-doctor-commands.js.map +1 -0
- package/dist/cli-doctor-gate.d.ts +52 -0
- package/dist/cli-doctor-gate.d.ts.map +1 -0
- package/dist/cli-doctor-gate.js +111 -0
- package/dist/cli-doctor-gate.js.map +1 -0
- package/dist/cli-documentation.d.ts +3 -0
- package/dist/cli-documentation.d.ts.map +1 -0
- package/dist/cli-documentation.js +13 -0
- package/dist/cli-documentation.js.map +1 -0
- package/dist/cli-generator-commands.d.ts +9 -0
- package/dist/cli-generator-commands.d.ts.map +1 -0
- package/dist/cli-generator-commands.js +68 -0
- package/dist/cli-generator-commands.js.map +1 -0
- package/dist/cli-inspection-commands.d.ts +12 -0
- package/dist/cli-inspection-commands.d.ts.map +1 -0
- package/dist/cli-inspection-commands.js +106 -0
- package/dist/cli-inspection-commands.js.map +1 -0
- package/dist/cli-io.d.ts +10 -0
- package/dist/cli-io.d.ts.map +1 -0
- package/dist/cli-io.js +28 -0
- package/dist/cli-io.js.map +1 -0
- package/dist/cli-library-commands.d.ts +2 -0
- package/dist/cli-library-commands.d.ts.map +1 -0
- package/dist/cli-library-commands.js +14 -0
- package/dist/cli-library-commands.js.map +1 -0
- package/dist/cli-project-commands.d.ts +4 -0
- package/dist/cli-project-commands.d.ts.map +1 -0
- package/dist/cli-project-commands.js +39 -0
- package/dist/cli-project-commands.js.map +1 -0
- package/dist/cli-route-inspection-commands.d.ts +2 -0
- package/dist/cli-route-inspection-commands.d.ts.map +1 -0
- package/dist/cli-route-inspection-commands.js +43 -0
- package/dist/cli-route-inspection-commands.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +82 -0
- package/dist/cli.js.map +1 -0
- package/dist/dads-initialization-arguments.d.ts +11 -0
- package/dist/dads-initialization-arguments.d.ts.map +1 -0
- package/dist/dads-initialization-arguments.js +88 -0
- package/dist/dads-initialization-arguments.js.map +1 -0
- package/dist/dependency-installation-receipt.d.ts +3 -0
- package/dist/dependency-installation-receipt.d.ts.map +1 -0
- package/dist/dependency-installation-receipt.js +37 -0
- package/dist/dependency-installation-receipt.js.map +1 -0
- package/dist/doctor/diagnose-workspace.d.ts +41 -0
- package/dist/doctor/diagnose-workspace.d.ts.map +1 -0
- package/dist/doctor/diagnose-workspace.js +65 -0
- package/dist/doctor/diagnose-workspace.js.map +1 -0
- package/dist/doctor/doctor-context.d.ts +142 -0
- package/dist/doctor/doctor-context.d.ts.map +1 -0
- package/dist/doctor/doctor-context.js +252 -0
- package/dist/doctor/doctor-context.js.map +1 -0
- package/dist/doctor/doctor-gate-base.d.ts +52 -0
- package/dist/doctor/doctor-gate-base.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-base.js +240 -0
- package/dist/doctor/doctor-gate-base.js.map +1 -0
- package/dist/doctor/doctor-gate-baseline.d.ts +40 -0
- package/dist/doctor/doctor-gate-baseline.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-baseline.js +209 -0
- package/dist/doctor/doctor-gate-baseline.js.map +1 -0
- package/dist/doctor/doctor-gate-model.d.ts +130 -0
- package/dist/doctor/doctor-gate-model.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-model.js +89 -0
- package/dist/doctor/doctor-gate-model.js.map +1 -0
- package/dist/doctor/doctor-gate-render.d.ts +30 -0
- package/dist/doctor/doctor-gate-render.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-render.js +75 -0
- package/dist/doctor/doctor-gate-render.js.map +1 -0
- package/dist/doctor/doctor-gate-retirements.d.ts +10 -0
- package/dist/doctor/doctor-gate-retirements.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-retirements.js +155 -0
- package/dist/doctor/doctor-gate-retirements.js.map +1 -0
- package/dist/doctor/doctor-gate-states.d.ts +22 -0
- package/dist/doctor/doctor-gate-states.d.ts.map +1 -0
- package/dist/doctor/doctor-gate-states.js +254 -0
- package/dist/doctor/doctor-gate-states.js.map +1 -0
- package/dist/doctor/doctor-gate.d.ts +56 -0
- package/dist/doctor/doctor-gate.d.ts.map +1 -0
- package/dist/doctor/doctor-gate.js +295 -0
- package/dist/doctor/doctor-gate.js.map +1 -0
- package/dist/doctor/doctor-report.d.ts +101 -0
- package/dist/doctor/doctor-report.d.ts.map +1 -0
- package/dist/doctor/doctor-report.js +215 -0
- package/dist/doctor/doctor-report.js.map +1 -0
- package/dist/doctor/doctor-signal.d.ts +91 -0
- package/dist/doctor/doctor-signal.d.ts.map +1 -0
- package/dist/doctor/doctor-signal.js +41 -0
- package/dist/doctor/doctor-signal.js.map +1 -0
- package/dist/doctor/doctor-signals.d.ts +35 -0
- package/dist/doctor/doctor-signals.d.ts.map +1 -0
- package/dist/doctor/doctor-signals.js +65 -0
- package/dist/doctor/doctor-signals.js.map +1 -0
- package/dist/doctor/hatch-names.d.ts +26 -0
- package/dist/doctor/hatch-names.d.ts.map +1 -0
- package/dist/doctor/hatch-names.js +26 -0
- package/dist/doctor/hatch-names.js.map +1 -0
- package/dist/doctor/issue-catalog-attachment.d.ts +12 -0
- package/dist/doctor/issue-catalog-attachment.d.ts.map +1 -0
- package/dist/doctor/issue-catalog-attachment.js +241 -0
- package/dist/doctor/issue-catalog-attachment.js.map +1 -0
- package/dist/doctor/issue-catalog-enforcement.d.ts +12 -0
- package/dist/doctor/issue-catalog-enforcement.d.ts.map +1 -0
- package/dist/doctor/issue-catalog-enforcement.js +302 -0
- package/dist/doctor/issue-catalog-enforcement.js.map +1 -0
- package/dist/doctor/issues.d.ts +42 -0
- package/dist/doctor/issues.d.ts.map +1 -0
- package/dist/doctor/issues.js +27 -0
- package/dist/doctor/issues.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts +19 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.js +44 -0
- package/dist/doctor/signals/anxious-attachment/blast-radius.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.d.ts +18 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.js +98 -0
- package/dist/doctor/signals/anxious-attachment/copied-types.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts +23 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js +58 -0
- package/dist/doctor/signals/anxious-attachment/duplicated-helpers.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts +25 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.js +90 -0
- package/dist/doctor/signals/anxious-attachment/kind-inversions.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts +21 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js +58 -0
- package/dist/doctor/signals/anxious-attachment/vendor-outside-adapter.js.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts +22 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.d.ts.map +1 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js +77 -0
- package/dist/doctor/signals/anxious-attachment/vendor-types-in-surface.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts +15 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js +43 -0
- package/dist/doctor/signals/avoidant-attachment/docs-conformance-packages.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts +19 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.js +54 -0
- package/dist/doctor/signals/avoidant-attachment/invariants-files.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.js +46 -0
- package/dist/doctor/signals/avoidant-attachment/readme-missing.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts +23 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js +67 -0
- package/dist/doctor/signals/avoidant-attachment/readme-nonconformant.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js +59 -0
- package/dist/doctor/signals/avoidant-attachment/responses-outside-envelope.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts +17 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.js +38 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-access.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts +21 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js +63 -0
- package/dist/doctor/signals/avoidant-attachment/routes-without-schema.js.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts +18 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.d.ts.map +1 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js +64 -0
- package/dist/doctor/signals/avoidant-attachment/undocumented-exports.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts +21 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.js +57 -0
- package/dist/doctor/signals/commitment-issues/access-without-denial-test.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts +18 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.js +68 -0
- package/dist/doctor/signals/commitment-issues/denial-tests-zero.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js +66 -0
- package/dist/doctor/signals/commitment-issues/mutations-without-ownership.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts +25 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js +95 -0
- package/dist/doctor/signals/commitment-issues/sequential-authz-writes.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js +44 -0
- package/dist/doctor/signals/commitment-issues/single-implementer-abstractions.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts +15 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.js +46 -0
- package/dist/doctor/signals/commitment-issues/skipped-tests.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts +12 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.js +36 -0
- package/dist/doctor/signals/commitment-issues/soundness-cases.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/test-count.d.ts +18 -0
- package/dist/doctor/signals/commitment-issues/test-count.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/test-count.js +111 -0
- package/dist/doctor/signals/commitment-issues/test-count.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-age.d.ts +24 -0
- package/dist/doctor/signals/commitment-issues/todo-age.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-age.js +73 -0
- package/dist/doctor/signals/commitment-issues/todo-age.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts +27 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.js +82 -0
- package/dist/doctor/signals/commitment-issues/todo-check-permission.js.map +1 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts +19 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.d.ts.map +1 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js +101 -0
- package/dist/doctor/signals/commitment-issues/type-test-negative-cases.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js +80 -0
- package/dist/doctor/signals/dad-has-issues-too/ci-duration-trend.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts +21 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js +71 -0
- package/dist/doctor/signals/dad-has-issues-too/doctor-cases.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts +24 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js +52 -0
- package/dist/doctor/signals/dad-has-issues-too/guards-fail-closed.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts +3 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js +66 -0
- package/dist/doctor/signals/dad-has-issues-too/hook-runtime.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js +69 -0
- package/dist/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.js.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts +22 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.d.ts.map +1 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js +55 -0
- package/dist/doctor/signals/dad-has-issues-too/stagnant-debt.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.d.ts +17 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.js +35 -0
- package/dist/doctor/signals/daddy-issues/explicit-any.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts +20 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js +43 -0
- package/dist/doctor/signals/daddy-issues/lint-suppression-comments.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts +14 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.js +32 -0
- package/dist/doctor/signals/daddy-issues/non-null-assertions.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts +15 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.js +43 -0
- package/dist/doctor/signals/daddy-issues/ts-suppressions.js.map +1 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.d.ts +16 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.d.ts.map +1 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.js +35 -0
- package/dist/doctor/signals/daddy-issues/type-assertions.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts +15 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js +34 -0
- package/dist/doctor/signals/disorganized-attachment/assertions-in-tests.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts +23 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js +125 -0
- package/dist/doctor/signals/disorganized-attachment/duplicate-wire-schemas.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts +15 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js +33 -0
- package/dist/doctor/signals/disorganized-attachment/interface-type-mix.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts +27 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js +160 -0
- package/dist/doctor/signals/disorganized-attachment/jsonb-without-schema.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts +27 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js +164 -0
- package/dist/doctor/signals/disorganized-attachment/migrations-out-of-order.js.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts +31 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.d.ts.map +1 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js +138 -0
- package/dist/doctor/signals/disorganized-attachment/unparsed-boundary-reads.js.map +1 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts +20 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.js +44 -0
- package/dist/doctor/signals/enmeshment/barrel-impurity.js.map +1 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.d.ts +24 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.js +84 -0
- package/dist/doctor/signals/enmeshment/clippy-allows.js.map +1 -0
- package/dist/doctor/signals/enmeshment/fan-out.d.ts +19 -0
- package/dist/doctor/signals/enmeshment/fan-out.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/fan-out.js +50 -0
- package/dist/doctor/signals/enmeshment/fan-out.js.map +1 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts +15 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.js +40 -0
- package/dist/doctor/signals/enmeshment/files-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts +22 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.js +139 -0
- package/dist/doctor/signals/enmeshment/functions-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/enmeshment/god-classes.d.ts +17 -0
- package/dist/doctor/signals/enmeshment/god-classes.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/god-classes.js +55 -0
- package/dist/doctor/signals/enmeshment/god-classes.js.map +1 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts +24 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.js +91 -0
- package/dist/doctor/signals/enmeshment/intra-package-cycles.js.map +1 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts +16 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.js +39 -0
- package/dist/doctor/signals/enmeshment/rust-inline-tests.js.map +1 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts +14 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.d.ts.map +1 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js +39 -0
- package/dist/doctor/signals/enmeshment/test-files-over-ceiling.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts +16 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.js +38 -0
- package/dist/doctor/signals/failure-to-launch/lists-without-filter.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts +19 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js +39 -0
- package/dist/doctor/signals/failure-to-launch/logic-in-controllers.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts +24 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.js +82 -0
- package/dist/doctor/signals/failure-to-launch/packages-without-surface.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts +21 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.js +62 -0
- package/dist/doctor/signals/failure-to-launch/reorganization-churn.js.map +1 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts +19 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.d.ts.map +1 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js +65 -0
- package/dist/doctor/signals/failure-to-launch/strict-profile-absent.js.map +1 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js +66 -0
- package/dist/doctor/signals/gaslighting/baseline-entries-without-reason.js.map +1 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.js +59 -0
- package/dist/doctor/signals/gaslighting/exempt-globs.js.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts +21 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js +70 -0
- package/dist/doctor/signals/gaslighting/generated-access-hand-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts +25 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js +82 -0
- package/dist/doctor/signals/gaslighting/generated-tables-hand-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts +27 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.js +101 -0
- package/dist/doctor/signals/gaslighting/marks-raised-in-history.js.map +1 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.d.ts +31 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.js +107 -0
- package/dist/doctor/signals/gaslighting/migrations-edited.js.map +1 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts +30 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.d.ts.map +1 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.js +68 -0
- package/dist/doctor/signals/gaslighting/suppressions-without-description.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js +79 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/branch-protection-off.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts +21 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js +81 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/ci-without-verify.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js +73 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/compiler-flags-off.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts +24 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js +46 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/force-push-in-workflows.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts +22 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js +62 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/hooks-not-wired.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts +22 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js +104 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/kinds-undeclared.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts +17 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js +40 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/lint-rules.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts +26 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js +58 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/no-verify-in-scripts.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts +25 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js +111 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rows-sent-whole.js.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts +18 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.d.ts.map +1 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js +41 -0
- package/dist/doctor/signals/its-not-you-its-my-boundaries/rules-at-warn.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.js +84 -0
- package/dist/doctor/signals/people-pleasing/denial-with-body.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts +16 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js +87 -0
- package/dist/doctor/signals/people-pleasing/deprecated-still-consumed.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts +18 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.js +49 -0
- package/dist/doctor/signals/people-pleasing/forbidden-403.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts +31 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.js +166 -0
- package/dist/doctor/signals/people-pleasing/loose-contract-objects.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.js +63 -0
- package/dist/doctor/signals/people-pleasing/multi-shape-responses.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.d.ts +20 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.js +109 -0
- package/dist/doctor/signals/people-pleasing/optional-creep.js.map +1 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts +19 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.d.ts.map +1 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js +42 -0
- package/dist/doctor/signals/people-pleasing/raw-errors-in-ui.js.map +1 -0
- package/dist/doctor/signals/registry/foundation.d.ts +13 -0
- package/dist/doctor/signals/registry/foundation.d.ts.map +1 -0
- package/dist/doctor/signals/registry/foundation.js +45 -0
- package/dist/doctor/signals/registry/foundation.js.map +1 -0
- package/dist/doctor/signals/registry/git.d.ts +23 -0
- package/dist/doctor/signals/registry/git.d.ts.map +1 -0
- package/dist/doctor/signals/registry/git.js +41 -0
- package/dist/doctor/signals/registry/git.js.map +1 -0
- package/dist/doctor/signals/registry/online.d.ts +20 -0
- package/dist/doctor/signals/registry/online.d.ts.map +1 -0
- package/dist/doctor/signals/registry/online.js +26 -0
- package/dist/doctor/signals/registry/online.js.map +1 -0
- package/dist/doctor/signals/registry/packages.d.ts +17 -0
- package/dist/doctor/signals/registry/packages.d.ts.map +1 -0
- package/dist/doctor/signals/registry/packages.js +37 -0
- package/dist/doctor/signals/registry/packages.js.map +1 -0
- package/dist/doctor/signals/registry/routes.d.ts +20 -0
- package/dist/doctor/signals/registry/routes.d.ts.map +1 -0
- package/dist/doctor/signals/registry/routes.js +38 -0
- package/dist/doctor/signals/registry/routes.js.map +1 -0
- package/dist/doctor/signals/registry/stored-and-sent.d.ts +18 -0
- package/dist/doctor/signals/registry/stored-and-sent.d.ts.map +1 -0
- package/dist/doctor/signals/registry/stored-and-sent.js +40 -0
- package/dist/doctor/signals/registry/stored-and-sent.js.map +1 -0
- package/dist/doctor/signals/registry/text-and-packages.d.ts +17 -0
- package/dist/doctor/signals/registry/text-and-packages.d.ts.map +1 -0
- package/dist/doctor/signals/registry/text-and-packages.js +57 -0
- package/dist/doctor/signals/registry/text-and-packages.js.map +1 -0
- package/dist/doctor/signals/registry/typescript.d.ts +16 -0
- package/dist/doctor/signals/registry/typescript.d.ts.map +1 -0
- package/dist/doctor/signals/registry/typescript.js +72 -0
- package/dist/doctor/signals/registry/typescript.js.map +1 -0
- package/dist/doctor/signals/scanners/access-artifacts.d.ts +23 -0
- package/dist/doctor/signals/scanners/access-artifacts.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/access-artifacts.js +46 -0
- package/dist/doctor/signals/scanners/access-artifacts.js.map +1 -0
- package/dist/doctor/signals/scanners/capability-model.d.ts +41 -0
- package/dist/doctor/signals/scanners/capability-model.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/capability-model.js +154 -0
- package/dist/doctor/signals/scanners/capability-model.js.map +1 -0
- package/dist/doctor/signals/scanners/counted-lines.d.ts +39 -0
- package/dist/doctor/signals/scanners/counted-lines.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/counted-lines.js +196 -0
- package/dist/doctor/signals/scanners/counted-lines.js.map +1 -0
- package/dist/doctor/signals/scanners/generated-artifacts.d.ts +32 -0
- package/dist/doctor/signals/scanners/generated-artifacts.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/generated-artifacts.js +137 -0
- package/dist/doctor/signals/scanners/generated-artifacts.js.map +1 -0
- package/dist/doctor/signals/scanners/git-history.d.ts +95 -0
- package/dist/doctor/signals/scanners/git-history.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/git-history.js +0 -0
- package/dist/doctor/signals/scanners/git-history.js.map +1 -0
- package/dist/doctor/signals/scanners/lint-configuration.d.ts +29 -0
- package/dist/doctor/signals/scanners/lint-configuration.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/lint-configuration.js +75 -0
- package/dist/doctor/signals/scanners/lint-configuration.js.map +1 -0
- package/dist/doctor/signals/scanners/migration-base.d.ts +27 -0
- package/dist/doctor/signals/scanners/migration-base.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/migration-base.js +58 -0
- package/dist/doctor/signals/scanners/migration-base.js.map +1 -0
- package/dist/doctor/signals/scanners/migration-files.d.ts +34 -0
- package/dist/doctor/signals/scanners/migration-files.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/migration-files.js +82 -0
- package/dist/doctor/signals/scanners/migration-files.js.map +1 -0
- package/dist/doctor/signals/scanners/online-requests.d.ts +67 -0
- package/dist/doctor/signals/scanners/online-requests.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/online-requests.js +136 -0
- package/dist/doctor/signals/scanners/online-requests.js.map +1 -0
- package/dist/doctor/signals/scanners/package-graph.d.ts +76 -0
- package/dist/doctor/signals/scanners/package-graph.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/package-graph.js +252 -0
- package/dist/doctor/signals/scanners/package-graph.js.map +1 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts +72 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.js +149 -0
- package/dist/doctor/signals/scanners/ratchet-baseline-history.js.map +1 -0
- package/dist/doctor/signals/scanners/raw-failures.d.ts +22 -0
- package/dist/doctor/signals/scanners/raw-failures.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/raw-failures.js +107 -0
- package/dist/doctor/signals/scanners/raw-failures.js.map +1 -0
- package/dist/doctor/signals/scanners/rendered-copy.d.ts +28 -0
- package/dist/doctor/signals/scanners/rendered-copy.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/rendered-copy.js +182 -0
- package/dist/doctor/signals/scanners/rendered-copy.js.map +1 -0
- package/dist/doctor/signals/scanners/response-code.d.ts +23 -0
- package/dist/doctor/signals/scanners/response-code.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/response-code.js +40 -0
- package/dist/doctor/signals/scanners/response-code.js.map +1 -0
- package/dist/doctor/signals/scanners/route-model.d.ts +22 -0
- package/dist/doctor/signals/scanners/route-model.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/route-model.js +45 -0
- package/dist/doctor/signals/scanners/route-model.js.map +1 -0
- package/dist/doctor/signals/scanners/source-classification.d.ts +29 -0
- package/dist/doctor/signals/scanners/source-classification.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/source-classification.js +66 -0
- package/dist/doctor/signals/scanners/source-classification.js.map +1 -0
- package/dist/doctor/signals/scanners/text-agent-harness.d.ts +38 -0
- package/dist/doctor/signals/scanners/text-agent-harness.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-agent-harness.js +86 -0
- package/dist/doctor/signals/scanners/text-agent-harness.js.map +1 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.d.ts +20 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.js +20 -0
- package/dist/doctor/signals/scanners/text-bypass-marks.js.map +1 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.d.ts +23 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.js +50 -0
- package/dist/doctor/signals/scanners/text-ci-workflows.js.map +1 -0
- package/dist/doctor/signals/scanners/text-comment-scan.d.ts +29 -0
- package/dist/doctor/signals/scanners/text-comment-scan.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-comment-scan.js +108 -0
- package/dist/doctor/signals/scanners/text-comment-scan.js.map +1 -0
- package/dist/doctor/signals/scanners/text-declared-packages.d.ts +28 -0
- package/dist/doctor/signals/scanners/text-declared-packages.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-declared-packages.js +44 -0
- package/dist/doctor/signals/scanners/text-declared-packages.js.map +1 -0
- package/dist/doctor/signals/scanners/text-permission-marks.d.ts +25 -0
- package/dist/doctor/signals/scanners/text-permission-marks.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-permission-marks.js +25 -0
- package/dist/doctor/signals/scanners/text-permission-marks.js.map +1 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts +27 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.js +54 -0
- package/dist/doctor/signals/scanners/text-ratchet-baseline.js.map +1 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.d.ts +28 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.js +46 -0
- package/dist/doctor/signals/scanners/text-suppressions-file.js.map +1 -0
- package/dist/doctor/signals/scanners/top-level-declarations.d.ts +34 -0
- package/dist/doctor/signals/scanners/top-level-declarations.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/top-level-declarations.js +206 -0
- package/dist/doctor/signals/scanners/top-level-declarations.js.map +1 -0
- package/dist/doctor/signals/scanners/typescript-program.d.ts +172 -0
- package/dist/doctor/signals/scanners/typescript-program.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/typescript-program.js +431 -0
- package/dist/doctor/signals/scanners/typescript-program.js.map +1 -0
- package/dist/doctor/signals/scanners/web-renderers.d.ts +24 -0
- package/dist/doctor/signals/scanners/web-renderers.d.ts.map +1 -0
- package/dist/doctor/signals/scanners/web-renderers.js +53 -0
- package/dist/doctor/signals/scanners/web-renderers.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts +3 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js +257 -0
- package/dist/doctor/signals/the-paper-wall/explicit-wrapper-conformance.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts +19 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js +50 -0
- package/dist/doctor/signals/the-paper-wall/no-in-memory-provider.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts +23 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js +91 -0
- package/dist/doctor/signals/the-paper-wall/provider-chosen-outside-root.js.map +1 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts +24 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.d.ts.map +1 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js +81 -0
- package/dist/doctor/signals/the-paper-wall/wrapper-without-conformance.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts +21 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js +48 -0
- package/dist/doctor/signals/the-silent-treatment/suppressed-violations.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts +22 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.js +106 -0
- package/dist/doctor/signals/the-silent-treatment/suppression-age.js.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts +19 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.d.ts.map +1 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js +41 -0
- package/dist/doctor/signals/the-silent-treatment/unused-suppressions.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts +23 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js +87 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/framework-in-core.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts +18 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js +43 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/hardcoded-ui-copy.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts +24 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js +109 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/scripture.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts +24 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js +96 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/stale-docs.js.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts +22 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.d.ts.map +1 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js +128 -0
- package/dist/doctor/signals/you-are-looking-for-a-father-figure/vendor-named-domain.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts +18 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js +43 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-entrypoint-missing.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts +22 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js +44 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/agent-hooks-unwired.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts +23 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js +110 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/entrypoint-over-budget.js.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts +23 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.d.ts.map +1 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js +52 -0
- package/dist/doctor/signals/you-let-the-babysitter-raise-them/orphan-paths.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts +15 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js +41 -0
- package/dist/doctor/signals/you-repeat-the-cycle/console-in-production.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts +19 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js +87 -0
- package/dist/doctor/signals/you-repeat-the-cycle/domain-in-apps.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts +22 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js +72 -0
- package/dist/doctor/signals/you-repeat-the-cycle/junk-drawer-directories.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts +18 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js +69 -0
- package/dist/doctor/signals/you-repeat-the-cycle/per-feature-authorization.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts +28 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js +128 -0
- package/dist/doctor/signals/you-repeat-the-cycle/role-if-ladders.js.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts +23 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.d.ts.map +1 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js +90 -0
- package/dist/doctor/signals/you-repeat-the-cycle/tenant-column-authorization.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts +16 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js +40 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/controlling-peers.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts +20 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js +60 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-catchall.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts +19 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js +88 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/shared-database.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts +18 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js +58 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/transport-at-root.js.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts +22 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.d.ts.map +1 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js +109 -0
- package/dist/doctor/signals/you-stay-with-people-who-cannot-meet-you/unmaintained-dependencies.js.map +1 -0
- package/dist/doctor/standalone-ratchet-base.d.ts +3 -0
- package/dist/doctor/standalone-ratchet-base.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet-base.js +62 -0
- package/dist/doctor/standalone-ratchet-base.js.map +1 -0
- package/dist/doctor/standalone-ratchet-policy.d.ts +9 -0
- package/dist/doctor/standalone-ratchet-policy.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet-policy.js +66 -0
- package/dist/doctor/standalone-ratchet-policy.js.map +1 -0
- package/dist/doctor/standalone-ratchet.d.ts +16 -0
- package/dist/doctor/standalone-ratchet.d.ts.map +1 -0
- package/dist/doctor/standalone-ratchet.js +86 -0
- package/dist/doctor/standalone-ratchet.js.map +1 -0
- package/dist/domain-boundaries/check-domain-boundaries.d.ts +14 -0
- package/dist/domain-boundaries/check-domain-boundaries.d.ts.map +1 -0
- package/dist/domain-boundaries/check-domain-boundaries.js +68 -0
- package/dist/domain-boundaries/check-domain-boundaries.js.map +1 -0
- package/dist/domain-boundaries/module-references.d.ts +9 -0
- package/dist/domain-boundaries/module-references.d.ts.map +1 -0
- package/dist/domain-boundaries/module-references.js +38 -0
- package/dist/domain-boundaries/module-references.js.map +1 -0
- package/dist/domain-boundaries/ownership.d.ts +17 -0
- package/dist/domain-boundaries/ownership.d.ts.map +1 -0
- package/dist/domain-boundaries/ownership.js +84 -0
- package/dist/domain-boundaries/ownership.js.map +1 -0
- package/dist/domain-boundaries/source-resolution.d.ts +10 -0
- package/dist/domain-boundaries/source-resolution.d.ts.map +1 -0
- package/dist/domain-boundaries/source-resolution.js +99 -0
- package/dist/domain-boundaries/source-resolution.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/initialize-dads-project.d.ts +17 -0
- package/dist/initialize-dads-project.d.ts.map +1 -0
- package/dist/initialize-dads-project.js +86 -0
- package/dist/initialize-dads-project.js.map +1 -0
- package/dist/library-recipe-files.d.ts +10 -0
- package/dist/library-recipe-files.d.ts.map +1 -0
- package/dist/library-recipe-files.js +59 -0
- package/dist/library-recipe-files.js.map +1 -0
- package/dist/library-recipe-manifests.d.ts +16 -0
- package/dist/library-recipe-manifests.d.ts.map +1 -0
- package/dist/library-recipe-manifests.js +110 -0
- package/dist/library-recipe-manifests.js.map +1 -0
- package/dist/missing-path-error.d.ts +12 -0
- package/dist/missing-path-error.d.ts.map +1 -0
- package/dist/missing-path-error.js +14 -0
- package/dist/missing-path-error.js.map +1 -0
- package/dist/parse-guards.d.ts +15 -0
- package/dist/parse-guards.d.ts.map +1 -0
- package/dist/parse-guards.js +21 -0
- package/dist/parse-guards.js.map +1 -0
- package/dist/project-files.d.ts +8 -0
- package/dist/project-files.d.ts.map +1 -0
- package/dist/project-files.js +24 -0
- package/dist/project-files.js.map +1 -0
- package/dist/project-orientation.d.ts +33 -0
- package/dist/project-orientation.d.ts.map +1 -0
- package/dist/project-orientation.js +184 -0
- package/dist/project-orientation.js.map +1 -0
- package/dist/recommend-changed-verification.d.ts +20 -0
- package/dist/recommend-changed-verification.d.ts.map +1 -0
- package/dist/recommend-changed-verification.js +32 -0
- package/dist/recommend-changed-verification.js.map +1 -0
- package/dist/resource-generators/access-generator.d.ts +5 -0
- package/dist/resource-generators/access-generator.d.ts.map +1 -0
- package/dist/resource-generators/access-generator.js +50 -0
- package/dist/resource-generators/access-generator.js.map +1 -0
- package/dist/resource-generators/domain-generator.d.ts +5 -0
- package/dist/resource-generators/domain-generator.d.ts.map +1 -0
- package/dist/resource-generators/domain-generator.js +68 -0
- package/dist/resource-generators/domain-generator.js.map +1 -0
- package/dist/resource-generators/email-generator.d.ts +3 -0
- package/dist/resource-generators/email-generator.d.ts.map +1 -0
- package/dist/resource-generators/email-generator.js +30 -0
- package/dist/resource-generators/email-generator.js.map +1 -0
- package/dist/resource-generators/endpoint-generator.d.ts +4 -0
- package/dist/resource-generators/endpoint-generator.d.ts.map +1 -0
- package/dist/resource-generators/endpoint-generator.js +65 -0
- package/dist/resource-generators/endpoint-generator.js.map +1 -0
- package/dist/resource-generators/flag-generator.d.ts +3 -0
- package/dist/resource-generators/flag-generator.d.ts.map +1 -0
- package/dist/resource-generators/flag-generator.js +22 -0
- package/dist/resource-generators/flag-generator.js.map +1 -0
- package/dist/resource-generators/generate-resource.d.ts +3 -0
- package/dist/resource-generators/generate-resource.d.ts.map +1 -0
- package/dist/resource-generators/generate-resource.js +17 -0
- package/dist/resource-generators/generate-resource.js.map +1 -0
- package/dist/resource-generators/generation-plan.d.ts +15 -0
- package/dist/resource-generators/generation-plan.d.ts.map +1 -0
- package/dist/resource-generators/generation-plan.js +99 -0
- package/dist/resource-generators/generation-plan.js.map +1 -0
- package/dist/resource-generators/generator-arguments.d.ts +23 -0
- package/dist/resource-generators/generator-arguments.d.ts.map +1 -0
- package/dist/resource-generators/generator-arguments.js +83 -0
- package/dist/resource-generators/generator-arguments.js.map +1 -0
- package/dist/resource-generators/generator-dependencies.d.ts +3 -0
- package/dist/resource-generators/generator-dependencies.d.ts.map +1 -0
- package/dist/resource-generators/generator-dependencies.js +59 -0
- package/dist/resource-generators/generator-dependencies.js.map +1 -0
- package/dist/resource-generators/names.d.ts +5 -0
- package/dist/resource-generators/names.d.ts.map +1 -0
- package/dist/resource-generators/names.js +16 -0
- package/dist/resource-generators/names.js.map +1 -0
- package/dist/resource-generators/page-generator.d.ts +3 -0
- package/dist/resource-generators/page-generator.d.ts.map +1 -0
- package/dist/resource-generators/page-generator.js +23 -0
- package/dist/resource-generators/page-generator.js.map +1 -0
- package/dist/resource-generators/resource-contract.d.ts +3 -0
- package/dist/resource-generators/resource-contract.d.ts.map +1 -0
- package/dist/resource-generators/resource-contract.js +40 -0
- package/dist/resource-generators/resource-contract.js.map +1 -0
- package/dist/resource-generators/resource-pages.d.ts +3 -0
- package/dist/resource-generators/resource-pages.d.ts.map +1 -0
- package/dist/resource-generators/resource-pages.js +85 -0
- package/dist/resource-generators/resource-pages.js.map +1 -0
- package/dist/resource-generators/resource-proof.d.ts +3 -0
- package/dist/resource-generators/resource-proof.d.ts.map +1 -0
- package/dist/resource-generators/resource-proof.js +89 -0
- package/dist/resource-generators/resource-proof.js.map +1 -0
- package/dist/resource-generators/resource-routes.d.ts +3 -0
- package/dist/resource-generators/resource-routes.d.ts.map +1 -0
- package/dist/resource-generators/resource-routes.js +62 -0
- package/dist/resource-generators/resource-routes.js.map +1 -0
- package/dist/resource-generators/resource-store.d.ts +3 -0
- package/dist/resource-generators/resource-store.d.ts.map +1 -0
- package/dist/resource-generators/resource-store.js +88 -0
- package/dist/resource-generators/resource-store.js.map +1 -0
- package/dist/resource-generators/table-generator.d.ts +3 -0
- package/dist/resource-generators/table-generator.d.ts.map +1 -0
- package/dist/resource-generators/table-generator.js +109 -0
- package/dist/resource-generators/table-generator.js.map +1 -0
- package/dist/resource-generators/web-client-exports.d.ts +3 -0
- package/dist/resource-generators/web-client-exports.d.ts.map +1 -0
- package/dist/resource-generators/web-client-exports.js +12 -0
- package/dist/resource-generators/web-client-exports.js.map +1 -0
- package/dist/route-inspection/read-route-source.d.ts +15 -0
- package/dist/route-inspection/read-route-source.d.ts.map +1 -0
- package/dist/route-inspection/read-route-source.js +138 -0
- package/dist/route-inspection/read-route-source.js.map +1 -0
- package/dist/route-inspection/route-source-facts.d.ts +14 -0
- package/dist/route-inspection/route-source-facts.d.ts.map +1 -0
- package/dist/route-inspection/route-source-facts.js +81 -0
- package/dist/route-inspection/route-source-facts.js.map +1 -0
- package/dist/starter-project/kit-starter.generated.d.ts +5 -0
- package/dist/starter-project/kit-starter.generated.d.ts.map +1 -0
- package/dist/starter-project/kit-starter.generated.js +124 -0
- package/dist/starter-project/kit-starter.generated.js.map +1 -0
- package/dist/starter-project/render-starter-project.d.ts +10 -0
- package/dist/starter-project/render-starter-project.d.ts.map +1 -0
- package/dist/starter-project/render-starter-project.js +19 -0
- package/dist/starter-project/render-starter-project.js.map +1 -0
- package/dist/starter-project/render-starter-staged-checks.d.ts +4 -0
- package/dist/starter-project/render-starter-staged-checks.d.ts.map +1 -0
- package/dist/starter-project/render-starter-staged-checks.js +73 -0
- package/dist/starter-project/render-starter-staged-checks.js.map +1 -0
- package/dist/starter-project/render-starter-verification-files.d.ts +4 -0
- package/dist/starter-project/render-starter-verification-files.d.ts.map +1 -0
- package/dist/starter-project/render-starter-verification-files.js +258 -0
- package/dist/starter-project/render-starter-verification-files.js.map +1 -0
- package/dist/starter-project/starter-ci-workflow.d.ts +5 -0
- package/dist/starter-project/starter-ci-workflow.d.ts.map +1 -0
- package/dist/starter-project/starter-ci-workflow.js +61 -0
- package/dist/starter-project/starter-ci-workflow.js.map +1 -0
- package/dist/synchronize-agent-skills.d.ts +12 -0
- package/dist/synchronize-agent-skills.d.ts.map +1 -0
- package/dist/synchronize-agent-skills.js +36 -0
- package/dist/synchronize-agent-skills.js.map +1 -0
- package/dist/toolbox.tsbuildinfo +1 -0
- package/dist/verification/canonical-bytes.d.ts +6 -0
- package/dist/verification/canonical-bytes.d.ts.map +1 -0
- package/dist/verification/canonical-bytes.js +23 -0
- package/dist/verification/canonical-bytes.js.map +1 -0
- package/dist/verification/execute-graph-task.d.ts +14 -0
- package/dist/verification/execute-graph-task.d.ts.map +1 -0
- package/dist/verification/execute-graph-task.js +193 -0
- package/dist/verification/execute-graph-task.js.map +1 -0
- package/dist/verification/filesystem-guards.d.ts +10 -0
- package/dist/verification/filesystem-guards.d.ts.map +1 -0
- package/dist/verification/filesystem-guards.js +54 -0
- package/dist/verification/filesystem-guards.js.map +1 -0
- package/dist/verification/format-verification-report.d.ts +3 -0
- package/dist/verification/format-verification-report.d.ts.map +1 -0
- package/dist/verification/format-verification-report.js +17 -0
- package/dist/verification/format-verification-report.js.map +1 -0
- package/dist/verification/git-environment.d.ts +14 -0
- package/dist/verification/git-environment.d.ts.map +1 -0
- package/dist/verification/git-environment.js +16 -0
- package/dist/verification/git-environment.js.map +1 -0
- package/dist/verification/logic/collect-candidate-tasks.d.ts +7 -0
- package/dist/verification/logic/collect-candidate-tasks.d.ts.map +1 -0
- package/dist/verification/logic/collect-candidate-tasks.js +214 -0
- package/dist/verification/logic/collect-candidate-tasks.js.map +1 -0
- package/dist/verification/logic/decide-task-reuse.d.ts +14 -0
- package/dist/verification/logic/decide-task-reuse.d.ts.map +1 -0
- package/dist/verification/logic/decide-task-reuse.js +43 -0
- package/dist/verification/logic/decide-task-reuse.js.map +1 -0
- package/dist/verification/publish-verification-outputs.d.ts +16 -0
- package/dist/verification/publish-verification-outputs.d.ts.map +1 -0
- package/dist/verification/publish-verification-outputs.js +122 -0
- package/dist/verification/publish-verification-outputs.js.map +1 -0
- package/dist/verification/read-changed-scope.d.ts +10 -0
- package/dist/verification/read-changed-scope.d.ts.map +1 -0
- package/dist/verification/read-changed-scope.js +108 -0
- package/dist/verification/read-changed-scope.js.map +1 -0
- package/dist/verification/receipt-store.d.ts +17 -0
- package/dist/verification/receipt-store.d.ts.map +1 -0
- package/dist/verification/receipt-store.js +166 -0
- package/dist/verification/receipt-store.js.map +1 -0
- package/dist/verification/run-verification-task.d.ts +27 -0
- package/dist/verification/run-verification-task.d.ts.map +1 -0
- package/dist/verification/run-verification-task.js +276 -0
- package/dist/verification/run-verification-task.js.map +1 -0
- package/dist/verification/snapshot-capture.d.ts +26 -0
- package/dist/verification/snapshot-capture.d.ts.map +1 -0
- package/dist/verification/snapshot-capture.js +237 -0
- package/dist/verification/snapshot-capture.js.map +1 -0
- package/dist/verification/verification-contract.d.ts +85 -0
- package/dist/verification/verification-contract.d.ts.map +1 -0
- package/dist/verification/verification-contract.js +2 -0
- package/dist/verification/verification-contract.js.map +1 -0
- package/dist/verification/verification-failure.d.ts +11 -0
- package/dist/verification/verification-failure.d.ts.map +1 -0
- package/dist/verification/verification-failure.js +15 -0
- package/dist/verification/verification-failure.js.map +1 -0
- package/dist/verification/verification-inputs.d.ts +62 -0
- package/dist/verification/verification-inputs.d.ts.map +1 -0
- package/dist/verification/verification-inputs.js +250 -0
- package/dist/verification/verification-inputs.js.map +1 -0
- package/dist/verification/verification-receipt.d.ts +28 -0
- package/dist/verification/verification-receipt.d.ts.map +1 -0
- package/dist/verification/verification-receipt.js +216 -0
- package/dist/verification/verification-receipt.js.map +1 -0
- package/dist/verification/verifier-identity.d.ts +3 -0
- package/dist/verification/verifier-identity.d.ts.map +1 -0
- package/dist/verification/verifier-identity.js +39 -0
- package/dist/verification/verifier-identity.js.map +1 -0
- package/dist/verification/verify-task-graph.d.ts +20 -0
- package/dist/verification/verify-task-graph.d.ts.map +1 -0
- package/dist/verification/verify-task-graph.js +112 -0
- package/dist/verification/verify-task-graph.js.map +1 -0
- package/dist/verification/workspace-git-context.d.ts +23 -0
- package/dist/verification/workspace-git-context.d.ts.map +1 -0
- package/dist/verification/workspace-git-context.js +194 -0
- package/dist/verification/workspace-git-context.js.map +1 -0
- package/dist/verification/workspace-git-evidence.d.ts +16 -0
- package/dist/verification/workspace-git-evidence.d.ts.map +1 -0
- package/dist/verification/workspace-git-evidence.js +44 -0
- package/dist/verification/workspace-git-evidence.js.map +1 -0
- package/dist/verification/workspace-snapshot.d.ts +9 -0
- package/dist/verification/workspace-snapshot.d.ts.map +1 -0
- package/dist/verification/workspace-snapshot.js +113 -0
- package/dist/verification/workspace-snapshot.js.map +1 -0
- package/dist/verification-policy-parsing.d.ts +22 -0
- package/dist/verification-policy-parsing.d.ts.map +1 -0
- package/dist/verification-policy-parsing.js +218 -0
- package/dist/verification-policy-parsing.js.map +1 -0
- package/dist/write-library-recipe.d.ts +9 -0
- package/dist/write-library-recipe.d.ts.map +1 -0
- package/dist/write-library-recipe.js +45 -0
- package/dist/write-library-recipe.js.map +1 -0
- package/package.json +40 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook-runtime.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/hook-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA4DhC,eAAO,MAAM,iBAAiB,EAAE,YAY/B,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { isRecord } from "../../../parse-guards.js";
|
|
2
|
+
const TIMING_FILE = ".dads/hook-timings.jsonl";
|
|
3
|
+
const RECENT_SAMPLES = 20;
|
|
4
|
+
const BUDGETS = { "pre-commit": 10_000, "pre-push": 60_000 };
|
|
5
|
+
function addSample(line, samples) {
|
|
6
|
+
let sample;
|
|
7
|
+
try {
|
|
8
|
+
sample = JSON.parse(line);
|
|
9
|
+
}
|
|
10
|
+
catch {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (!isRecord(sample))
|
|
14
|
+
return;
|
|
15
|
+
const hook = sample["hook"];
|
|
16
|
+
const duration = sample["durationMs"];
|
|
17
|
+
if (typeof hook !== "string" || typeof duration !== "number")
|
|
18
|
+
return;
|
|
19
|
+
if (!Number.isFinite(duration) || duration < 0)
|
|
20
|
+
return;
|
|
21
|
+
samples.get(hook)?.push(duration);
|
|
22
|
+
}
|
|
23
|
+
function hookReading(hook, samples, budget, context) {
|
|
24
|
+
const recent = samples.slice(-RECENT_SAMPLES).sort((a, b) => a - b);
|
|
25
|
+
const middle = Math.floor(recent.length / 2);
|
|
26
|
+
const upper = recent[middle] ?? 0;
|
|
27
|
+
const lower = recent[middle - 1] ?? upper;
|
|
28
|
+
const median = recent.length % 2 === 0 ? (lower + upper) / 2 : upper;
|
|
29
|
+
const summary = `${hook} median ${median} ms across ${recent.length} samples (budget ${budget} ms)`;
|
|
30
|
+
context.notes?.push(summary);
|
|
31
|
+
return {
|
|
32
|
+
value: Math.round((median / budget) * 100),
|
|
33
|
+
evidence: [{ path: TIMING_FILE, name: summary }],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function measureHookRuntime(context) {
|
|
37
|
+
if (!context.exists(TIMING_FILE))
|
|
38
|
+
throw new Error("no local hook timing samples");
|
|
39
|
+
const samples = new Map(Object.keys(BUDGETS).map((hook) => [hook, []]));
|
|
40
|
+
for (const line of context.read(TIMING_FILE).split("\n")) {
|
|
41
|
+
addSample(line, samples);
|
|
42
|
+
}
|
|
43
|
+
const readings = new Map();
|
|
44
|
+
for (const [hook, budget] of Object.entries(BUDGETS)) {
|
|
45
|
+
const measured = samples.get(hook);
|
|
46
|
+
if (measured === undefined || measured.length === 0)
|
|
47
|
+
continue;
|
|
48
|
+
readings.set(hook, hookReading(hook, measured, budget, context));
|
|
49
|
+
}
|
|
50
|
+
if (readings.size === 0)
|
|
51
|
+
throw new Error("no valid local hook timing samples");
|
|
52
|
+
return readings;
|
|
53
|
+
}
|
|
54
|
+
export const hookRuntimeSignal = {
|
|
55
|
+
id: "hook-runtime",
|
|
56
|
+
issue: "dad-has-issues-too",
|
|
57
|
+
question: "How much of the runtime budget do local Git hooks typically use?",
|
|
58
|
+
reads: "text",
|
|
59
|
+
unit: "percent",
|
|
60
|
+
direction: "ceiling",
|
|
61
|
+
thresholds: { standard: null, strict: null },
|
|
62
|
+
reportOnly: true,
|
|
63
|
+
sentence: "A no that cannot explain itself is a no the kids will route around.",
|
|
64
|
+
run: (context) => Promise.resolve(measureHookRuntime(context)),
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=hook-runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook-runtime.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/hook-runtime.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated files that churn on their own: report, 0 in strict.
|
|
3
|
+
*
|
|
4
|
+
* A generator whose output changes when its input did not is a rule producing
|
|
5
|
+
* noise. The diff is real, the review is empty, and after the third one nobody
|
|
6
|
+
* reads that file in a pull request again — which is how a generated file stops
|
|
7
|
+
* being checked at all. The evidence is a commit that changed nothing but
|
|
8
|
+
* generated files: if the inputs had moved, the same commit would carry them.
|
|
9
|
+
*
|
|
10
|
+
* Generated means what it means everywhere else in this command: a
|
|
11
|
+
* `.generated.ts` module, an extracted API report, and anything under a build
|
|
12
|
+
* directory. Lock files are deliberately not on the list. A lock file that
|
|
13
|
+
* moves without its manifest is a dependency update somebody meant, not a
|
|
14
|
+
* generator disagreeing with itself.
|
|
15
|
+
*
|
|
16
|
+
* The window is the ninety days before `--today`, so the reading describes the
|
|
17
|
+
* generator that is running now rather than one that was replaced a year ago.
|
|
18
|
+
* The key is the file, because the file is the thing that gets fixed.
|
|
19
|
+
*/
|
|
20
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
21
|
+
export declare const nondeterministicGeneratedFilesSignal: DoctorSignal;
|
|
22
|
+
//# sourceMappingURL=nondeterministic-generated-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nondeterministic-generated-files.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAsDhC,eAAO,MAAM,oCAAoC,EAAE,YAUlD,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated files that churn on their own: report, 0 in strict.
|
|
3
|
+
*
|
|
4
|
+
* A generator whose output changes when its input did not is a rule producing
|
|
5
|
+
* noise. The diff is real, the review is empty, and after the third one nobody
|
|
6
|
+
* reads that file in a pull request again — which is how a generated file stops
|
|
7
|
+
* being checked at all. The evidence is a commit that changed nothing but
|
|
8
|
+
* generated files: if the inputs had moved, the same commit would carry them.
|
|
9
|
+
*
|
|
10
|
+
* Generated means what it means everywhere else in this command: a
|
|
11
|
+
* `.generated.ts` module, an extracted API report, and anything under a build
|
|
12
|
+
* directory. Lock files are deliberately not on the list. A lock file that
|
|
13
|
+
* moves without its manifest is a dependency update somebody meant, not a
|
|
14
|
+
* generator disagreeing with itself.
|
|
15
|
+
*
|
|
16
|
+
* The window is the ninety days before `--today`, so the reading describes the
|
|
17
|
+
* generator that is running now rather than one that was replaced a year ago.
|
|
18
|
+
* The key is the file, because the file is the thing that gets fixed.
|
|
19
|
+
*/
|
|
20
|
+
import { readCommitLog, requireGitWorkspace, requireToday, shiftDays, shortSha, } from "../scanners/git-history.js";
|
|
21
|
+
const WINDOW_DAYS = 90;
|
|
22
|
+
const GENERATED_SUFFIXES = [".generated.ts", ".api.md"];
|
|
23
|
+
const BUILD_DIRECTORIES = new Set(["dist", "target", "node_modules"]);
|
|
24
|
+
/** True for a path nobody typed: emitted source, an API report, build output. */
|
|
25
|
+
function isGeneratedPath(path) {
|
|
26
|
+
if (GENERATED_SUFFIXES.some((suffix) => path.endsWith(suffix)))
|
|
27
|
+
return true;
|
|
28
|
+
return path.split("/").some((segment) => BUILD_DIRECTORIES.has(segment));
|
|
29
|
+
}
|
|
30
|
+
/** True when the commit touched something and all of it was generated. */
|
|
31
|
+
function isGeneratedOnly(commit) {
|
|
32
|
+
return (commit.changes.length > 0 &&
|
|
33
|
+
commit.changes.every((change) => isGeneratedPath(change.path)));
|
|
34
|
+
}
|
|
35
|
+
function countGeneratedChurn(context) {
|
|
36
|
+
requireGitWorkspace(context.root);
|
|
37
|
+
const today = requireToday(context.today);
|
|
38
|
+
const commits = readCommitLog(context.root, {
|
|
39
|
+
since: shiftDays(today, -WINDOW_DAYS),
|
|
40
|
+
detectRenames: true,
|
|
41
|
+
}).filter((commit) => isGeneratedOnly(commit));
|
|
42
|
+
const churn = new Map();
|
|
43
|
+
for (const commit of commits) {
|
|
44
|
+
for (const change of commit.changes) {
|
|
45
|
+
const found = churn.get(change.path) ?? [];
|
|
46
|
+
found.push({
|
|
47
|
+
path: change.path,
|
|
48
|
+
name: `${shortSha(commit.sha)} ${commit.message}`,
|
|
49
|
+
});
|
|
50
|
+
churn.set(change.path, found);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return new Map([...churn].map(([path, evidence]) => [
|
|
54
|
+
path,
|
|
55
|
+
{ value: evidence.length, evidence },
|
|
56
|
+
]));
|
|
57
|
+
}
|
|
58
|
+
export const nondeterministicGeneratedFilesSignal = {
|
|
59
|
+
id: "nondeterministic-generated-files",
|
|
60
|
+
issue: "dad-has-issues-too",
|
|
61
|
+
question: "Does any generated file churn without its input changing?",
|
|
62
|
+
reads: "git",
|
|
63
|
+
unit: "count",
|
|
64
|
+
direction: "ceiling",
|
|
65
|
+
thresholds: { standard: null, strict: 0 },
|
|
66
|
+
sentence: "A warning at `warn` that everybody learned to scroll past.",
|
|
67
|
+
run: (context) => Promise.resolve(countGeneratedChurn(context)),
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=nondeterministic-generated-files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nondeterministic-generated-files.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/nondeterministic-generated-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,QAAQ,GAET,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,MAAM,kBAAkB,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;AACxD,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC;AAEtE,iFAAiF;AACjF,SAAS,eAAe,CAAC,IAAY;IACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC5E,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,0EAA0E;AAC1E,SAAS,eAAe,CAAC,MAAiB;IACxC,OAAO,CACL,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAC/D,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAsB;IACjD,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC1C,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,EAAE;QAC1C,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC,WAAW,CAAC;QACrC,aAAa,EAAE,IAAI;KACpB,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,IAAI,GAAG,EAA4B,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACpC,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3C,KAAK,CAAC,IAAI,CAAC;gBACT,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,IAAI,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE;aAClD,CAAC,CAAC;YACH,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IACD,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC;QACnC,IAAI;QACJ,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE;KACrC,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAiB;IAChE,EAAE,EAAE,kCAAkC;IACtC,KAAK,EAAE,oBAAoB;IAC3B,QAAQ,EAAE,2DAA2D;IACrE,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE;IACzC,QAAQ,EAAE,4DAA4D;IACtE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAChE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How long a recorded exception has sat still: 180 days, 90 in strict.
|
|
3
|
+
*
|
|
4
|
+
* An entry in the baseline is a debt Dad agreed to carry for a while. The
|
|
5
|
+
* agreement is that it moves. A mark that has not moved since the day it was
|
|
6
|
+
* seeded is not scaffolding any more, it is architecture nobody voted for, and
|
|
7
|
+
* the number that says so is the number of days between the commit that last
|
|
8
|
+
* changed it and the day the report is about.
|
|
9
|
+
*
|
|
10
|
+
* Ceilings only. A floor is a count that has to keep rising and a floor that
|
|
11
|
+
* sits still is a package nobody added a test to, which is the floor's own
|
|
12
|
+
* business and a different signal's question. Debt is the exception somebody
|
|
13
|
+
* recorded so that a violation could stay, and that is what a ceiling entry is.
|
|
14
|
+
*
|
|
15
|
+
* The age is measured against `--today`, never a clock, so two runs over the
|
|
16
|
+
* same tree on the same declared day print the same number. A workspace with no
|
|
17
|
+
* recorded ceilings has no debt to age and says it was not measured, because
|
|
18
|
+
* zero days would read as debt that moved this morning.
|
|
19
|
+
*/
|
|
20
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
21
|
+
export declare const stagnantDebtSignal: DoctorSignal;
|
|
22
|
+
//# sourceMappingURL=stagnant-debt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stagnant-debt.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/stagnant-debt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAkChC,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How long a recorded exception has sat still: 180 days, 90 in strict.
|
|
3
|
+
*
|
|
4
|
+
* An entry in the baseline is a debt Dad agreed to carry for a while. The
|
|
5
|
+
* agreement is that it moves. A mark that has not moved since the day it was
|
|
6
|
+
* seeded is not scaffolding any more, it is architecture nobody voted for, and
|
|
7
|
+
* the number that says so is the number of days between the commit that last
|
|
8
|
+
* changed it and the day the report is about.
|
|
9
|
+
*
|
|
10
|
+
* Ceilings only. A floor is a count that has to keep rising and a floor that
|
|
11
|
+
* sits still is a package nobody added a test to, which is the floor's own
|
|
12
|
+
* business and a different signal's question. Debt is the exception somebody
|
|
13
|
+
* recorded so that a violation could stay, and that is what a ceiling entry is.
|
|
14
|
+
*
|
|
15
|
+
* The age is measured against `--today`, never a clock, so two runs over the
|
|
16
|
+
* same tree on the same declared day print the same number. A workspace with no
|
|
17
|
+
* recorded ceilings has no debt to age and says it was not measured, because
|
|
18
|
+
* zero days would read as debt that moved this morning.
|
|
19
|
+
*/
|
|
20
|
+
import { daysBefore, requireGitWorkspace, requireToday, } from "../scanners/git-history.js";
|
|
21
|
+
import { BASELINE_PATH, NO_RATCHET_BASELINE, lastMoveDate, readBaselineHistory, } from "../scanners/ratchet-baseline-history.js";
|
|
22
|
+
const CEILINGS = "ceilings/";
|
|
23
|
+
function ageRecordedDebt(context) {
|
|
24
|
+
requireGitWorkspace(context.root);
|
|
25
|
+
const today = requireToday(context.today);
|
|
26
|
+
const history = readBaselineHistory(context.root);
|
|
27
|
+
const newest = history[0];
|
|
28
|
+
if (newest === undefined)
|
|
29
|
+
throw new Error(NO_RATCHET_BASELINE);
|
|
30
|
+
const readings = new Map();
|
|
31
|
+
for (const key of newest.entries.keys()) {
|
|
32
|
+
if (!key.startsWith(CEILINGS))
|
|
33
|
+
continue;
|
|
34
|
+
const moved = lastMoveDate(history, key);
|
|
35
|
+
if (moved === undefined)
|
|
36
|
+
continue;
|
|
37
|
+
readings.set(key, {
|
|
38
|
+
value: daysBefore(moved, today),
|
|
39
|
+
evidence: [{ path: BASELINE_PATH, name: `${key} last moved ${moved}` }],
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return readings;
|
|
43
|
+
}
|
|
44
|
+
export const stagnantDebtSignal = {
|
|
45
|
+
id: "stagnant-debt",
|
|
46
|
+
issue: "dad-has-issues-too",
|
|
47
|
+
question: "Is any baseline entry older than the profile's threshold whose mark never moved?",
|
|
48
|
+
reads: "git",
|
|
49
|
+
unit: "days",
|
|
50
|
+
direction: "ceiling",
|
|
51
|
+
thresholds: { standard: 180, strict: 90 },
|
|
52
|
+
sentence: "The ratchet has a decommission date, because scaffolding that becomes architecture is just a wall you forgot you built.",
|
|
53
|
+
run: (context) => Promise.resolve(ageRecordedDebt(context)),
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=stagnant-debt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stagnant-debt.js","sourceRoot":"","sources":["../../../../src/doctor/signals/dad-has-issues-too/stagnant-debt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,GACpB,MAAM,yCAAyC,CAAC;AAEjD,MAAM,QAAQ,GAAG,WAAW,CAAC;AAE7B,SAAS,eAAe,CAAC,OAAsB;IAC7C,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC1C,MAAM,OAAO,GAAG,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1B,IAAI,MAAM,KAAK,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;QACxC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC;YAAE,SAAS;QACxC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QACzC,IAAI,KAAK,KAAK,SAAS;YAAE,SAAS;QAClC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE;YAChB,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC;YAC/B,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,GAAG,eAAe,KAAK,EAAE,EAAE,CAAC;SACxE,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAiB;IAC9C,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,oBAAoB;IAC3B,QAAQ,EACN,kFAAkF;IACpF,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE;IACzC,QAAQ,EACN,yHAAyH;IAC3H,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;CAC5D,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `any` keyword, wherever it is written: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* One keyword revokes every guarantee the compiler had made about a value, in
|
|
5
|
+
* line, with nothing recording that it happened. It is the same move whether
|
|
6
|
+
* it is written as an annotation, as the argument of a generic, or as the type
|
|
7
|
+
* of an assertion — so this counts the keyword itself rather than any of the
|
|
8
|
+
* spellings around it.
|
|
9
|
+
*
|
|
10
|
+
* The count is taken from the parsed module, which is why this package can
|
|
11
|
+
* measure a hatch it also has to name: the word inside a string or a comment
|
|
12
|
+
* is not a keyword, so the question in the companion and the id of this signal
|
|
13
|
+
* do not read as occurrences of the thing they describe.
|
|
14
|
+
*/
|
|
15
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
16
|
+
export declare const explicitAnySignal: DoctorSignal;
|
|
17
|
+
//# sourceMappingURL=explicit-any.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"explicit-any.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/explicit-any.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAY3E,eAAO,MAAM,iBAAiB,EAAE,YAY/B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `any` keyword, wherever it is written: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* One keyword revokes every guarantee the compiler had made about a value, in
|
|
5
|
+
* line, with nothing recording that it happened. It is the same move whether
|
|
6
|
+
* it is written as an annotation, as the argument of a generic, or as the type
|
|
7
|
+
* of an assertion — so this counts the keyword itself rather than any of the
|
|
8
|
+
* spellings around it.
|
|
9
|
+
*
|
|
10
|
+
* The count is taken from the parsed module, which is why this package can
|
|
11
|
+
* measure a hatch it also has to name: the word inside a string or a comment
|
|
12
|
+
* is not a keyword, so the question in the companion and the id of this signal
|
|
13
|
+
* do not read as occurrences of the thing they describe.
|
|
14
|
+
*/
|
|
15
|
+
import { countOccurrences, ts } from "../scanners/typescript-program.js";
|
|
16
|
+
function countAnyKeywords(context) {
|
|
17
|
+
return countOccurrences({
|
|
18
|
+
program: context.program(),
|
|
19
|
+
include: () => true,
|
|
20
|
+
match: (node) => node.kind === ts.SyntaxKind.AnyKeyword,
|
|
21
|
+
name: "any",
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export const explicitAnySignal = {
|
|
25
|
+
id: "explicit-any",
|
|
26
|
+
issue: "daddy-issues",
|
|
27
|
+
question: "Does any hand-written file annotate a value `any`, or write `as any`?",
|
|
28
|
+
reads: "typescript",
|
|
29
|
+
unit: "count",
|
|
30
|
+
direction: "ceiling",
|
|
31
|
+
thresholds: { standard: 0, strict: 0 },
|
|
32
|
+
sentence: "`any`? Not under this roof. Dad does not care if the other kids’ repos have it.",
|
|
33
|
+
run: (context) => Promise.resolve(countAnyKeywords(context)),
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=explicit-any.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"explicit-any.js","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/explicit-any.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,MAAM,mCAAmC,CAAC;AAEzE,SAAS,gBAAgB,CAAC,OAAsB;IAC9C,OAAO,gBAAgB,CAAC;QACtB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE;QAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI;QACnB,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;QACvD,IAAI,EAAE,KAAK;KACZ,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAiB;IAC7C,EAAE,EAAE,cAAc;IAClB,KAAK,EAAE,cAAc;IACrB,QAAQ,EACN,uEAAuE;IACzE,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,iFAAiF;IACnF,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;CAC7D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The lint suppression written into the source: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A repository has a supported way to record a lint exception — a
|
|
5
|
+
* suppressions file the linter itself prunes when the suppression stops being
|
|
6
|
+
* needed, and which a ratchet guards against growth. A comment in a source
|
|
7
|
+
* file is the unsupported way: nothing prunes it and nothing counts it, so it
|
|
8
|
+
* outlives the reason it was added.
|
|
9
|
+
*
|
|
10
|
+
* A key is emitted for every TypeScript file, zeros included, so a file that
|
|
11
|
+
* loses its last suppression reports as being at the ceiling rather than as a
|
|
12
|
+
* key nothing measures.
|
|
13
|
+
*
|
|
14
|
+
* This module is not named after the signal it defines, and `hatch-names.ts`
|
|
15
|
+
* explains why: an import specifier is file text, and the signal counts that
|
|
16
|
+
* text.
|
|
17
|
+
*/
|
|
18
|
+
import { type DoctorSignal } from "../../doctor-signal.js";
|
|
19
|
+
export declare const lintSuppressionCommentsSignal: DoctorSignal;
|
|
20
|
+
//# sourceMappingURL=lint-suppression-comments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lint-suppression-comments.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/lint-suppression-comments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAEL,KAAK,YAAY,EAElB,MAAM,wBAAwB,CAAC;AAiBhC,eAAO,MAAM,6BAA6B,EAAE,YAY3C,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The lint suppression written into the source: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A repository has a supported way to record a lint exception — a
|
|
5
|
+
* suppressions file the linter itself prunes when the suppression stops being
|
|
6
|
+
* needed, and which a ratchet guards against growth. A comment in a source
|
|
7
|
+
* file is the unsupported way: nothing prunes it and nothing counts it, so it
|
|
8
|
+
* outlives the reason it was added.
|
|
9
|
+
*
|
|
10
|
+
* A key is emitted for every TypeScript file, zeros included, so a file that
|
|
11
|
+
* loses its last suppression reports as being at the ceiling rather than as a
|
|
12
|
+
* key nothing measures.
|
|
13
|
+
*
|
|
14
|
+
* This module is not named after the signal it defines, and `hatch-names.ts`
|
|
15
|
+
* explains why: an import specifier is file text, and the signal counts that
|
|
16
|
+
* text.
|
|
17
|
+
*/
|
|
18
|
+
import { fileReading, } from "../../doctor-signal.js";
|
|
19
|
+
import { ESLINT_DISABLES_SIGNAL, ESLINT_DISABLE_MARK, } from "../../hatch-names.js";
|
|
20
|
+
import { isTypeScriptSource } from "../scanners/source-classification.js";
|
|
21
|
+
function countSuppressionComments(context) {
|
|
22
|
+
const readings = new Map();
|
|
23
|
+
for (const path of context.files()) {
|
|
24
|
+
if (!isTypeScriptSource(path))
|
|
25
|
+
continue;
|
|
26
|
+
const found = context.read(path).split(ESLINT_DISABLE_MARK).length - 1;
|
|
27
|
+
readings.set(path, fileReading(path, found));
|
|
28
|
+
}
|
|
29
|
+
return readings;
|
|
30
|
+
}
|
|
31
|
+
export const lintSuppressionCommentsSignal = {
|
|
32
|
+
id: ESLINT_DISABLES_SIGNAL,
|
|
33
|
+
issue: "daddy-issues",
|
|
34
|
+
question: `Does any TypeScript file carry an \`${ESLINT_DISABLE_MARK}\` comment?`,
|
|
35
|
+
reads: "text",
|
|
36
|
+
unit: "count",
|
|
37
|
+
direction: "ceiling",
|
|
38
|
+
thresholds: { standard: 0, strict: 0 },
|
|
39
|
+
sentence: "The compiler said something. You did not fix it. You put a comment over its mouth.",
|
|
40
|
+
measure: "eslintDisables",
|
|
41
|
+
run: (context) => Promise.resolve(countSuppressionComments(context)),
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=lint-suppression-comments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lint-suppression-comments.js","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/lint-suppression-comments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EACL,WAAW,GAGZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,SAAS,wBAAwB,CAAC,OAAsB;IACtD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA0C,CAAC;IACnE,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC;YAAE,SAAS;QACxC,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QACvE,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAiB;IACzD,EAAE,EAAE,sBAAsB;IAC1B,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,uCAAuC,mBAAmB,aAAa;IACjF,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,oFAAoF;IACtF,OAAO,EAAE,gBAAgB;IACzB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;CACrE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The postfix `!`: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* One character deletes `undefined` from a type and leaves no record that
|
|
5
|
+
* anybody decided it was safe. It is the smallest of the hatches and the
|
|
6
|
+
* hardest to find in review, because it looks like punctuation.
|
|
7
|
+
*
|
|
8
|
+
* Unlike `as`, this is counted in tests too. A test that asserts a value is
|
|
9
|
+
* present is a test that will report the wrong failure when it stops being
|
|
10
|
+
* present, and there is no scope in which that reads better.
|
|
11
|
+
*/
|
|
12
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
13
|
+
export declare const nonNullAssertionsSignal: DoctorSignal;
|
|
14
|
+
//# sourceMappingURL=non-null-assertions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"non-null-assertions.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/non-null-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAY3E,eAAO,MAAM,uBAAuB,EAAE,YAWrC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The postfix `!`: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* One character deletes `undefined` from a type and leaves no record that
|
|
5
|
+
* anybody decided it was safe. It is the smallest of the hatches and the
|
|
6
|
+
* hardest to find in review, because it looks like punctuation.
|
|
7
|
+
*
|
|
8
|
+
* Unlike `as`, this is counted in tests too. A test that asserts a value is
|
|
9
|
+
* present is a test that will report the wrong failure when it stops being
|
|
10
|
+
* present, and there is no scope in which that reads better.
|
|
11
|
+
*/
|
|
12
|
+
import { countOccurrences, ts } from "../scanners/typescript-program.js";
|
|
13
|
+
function countNonNullAssertions(context) {
|
|
14
|
+
return countOccurrences({
|
|
15
|
+
program: context.program(),
|
|
16
|
+
include: () => true,
|
|
17
|
+
match: (node) => ts.isNonNullExpression(node),
|
|
18
|
+
name: "non-null assertion",
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export const nonNullAssertionsSignal = {
|
|
22
|
+
id: "non-null-assertions",
|
|
23
|
+
issue: "daddy-issues",
|
|
24
|
+
question: "Does any hand-written file use `as` other than `as const`, or a postfix `!`?",
|
|
25
|
+
reads: "typescript",
|
|
26
|
+
unit: "count",
|
|
27
|
+
direction: "ceiling",
|
|
28
|
+
thresholds: { standard: 0, strict: 0 },
|
|
29
|
+
sentence: "You can smell a fatherless codebase. The `any`s. The hope.",
|
|
30
|
+
run: (context) => Promise.resolve(countNonNullAssertions(context)),
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=non-null-assertions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"non-null-assertions.js","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/non-null-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,MAAM,mCAAmC,CAAC;AAEzE,SAAS,sBAAsB,CAAC,OAAsB;IACpD,OAAO,gBAAgB,CAAC;QACtB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE;QAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI;QACnB,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QAC7C,IAAI,EAAE,oBAAoB;KAC3B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAiB;IACnD,EAAE,EAAE,qBAAqB;IACzB,KAAK,EAAE,cAAc;IACrB,QAAQ,EACN,8EAA8E;IAChF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,4DAA4D;IACtE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACnE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-checker suppressions outside `type-tests/`: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* Inside a `type-tests/` directory the expect-error comment is the assertion
|
|
5
|
+
* itself — it is how a negative type test states that an authoring mistake
|
|
6
|
+
* must not compile, and `type-test-negative-cases` puts a floor under how many
|
|
7
|
+
* of them there are. Anywhere else it is the same move as `as any`: the
|
|
8
|
+
* compiler found something and the code told it to be quiet.
|
|
9
|
+
*
|
|
10
|
+
* The ignore comment is counted alongside it because it is the same
|
|
11
|
+
* suppression without the safety of failing when it stops being needed.
|
|
12
|
+
*/
|
|
13
|
+
import { type DoctorSignal } from "../../doctor-signal.js";
|
|
14
|
+
export declare const tsSuppressionsSignal: DoctorSignal;
|
|
15
|
+
//# sourceMappingURL=ts-suppressions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-suppressions.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/ts-suppressions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AAsBhC,eAAO,MAAM,oBAAoB,EAAE,YAWlC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-checker suppressions outside `type-tests/`: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* Inside a `type-tests/` directory the expect-error comment is the assertion
|
|
5
|
+
* itself — it is how a negative type test states that an authoring mistake
|
|
6
|
+
* must not compile, and `type-test-negative-cases` puts a floor under how many
|
|
7
|
+
* of them there are. Anywhere else it is the same move as `as any`: the
|
|
8
|
+
* compiler found something and the code told it to be quiet.
|
|
9
|
+
*
|
|
10
|
+
* The ignore comment is counted alongside it because it is the same
|
|
11
|
+
* suppression without the safety of failing when it stops being needed.
|
|
12
|
+
*/
|
|
13
|
+
import { fileReading, } from "../../doctor-signal.js";
|
|
14
|
+
import { TS_EXPECT_ERROR_MARK, TS_IGNORE_MARK } from "../../hatch-names.js";
|
|
15
|
+
import { isTypeScriptSource } from "../scanners/source-classification.js";
|
|
16
|
+
const MARKS = [TS_EXPECT_ERROR_MARK, TS_IGNORE_MARK];
|
|
17
|
+
const TYPE_TEST_DIRECTORY = "/type-tests/";
|
|
18
|
+
function countTypeSuppressions(context) {
|
|
19
|
+
const readings = new Map();
|
|
20
|
+
for (const path of context.files()) {
|
|
21
|
+
if (!isTypeScriptSource(path))
|
|
22
|
+
continue;
|
|
23
|
+
if (path.includes(TYPE_TEST_DIRECTORY))
|
|
24
|
+
continue;
|
|
25
|
+
const text = context.read(path);
|
|
26
|
+
const found = MARKS.reduce((total, mark) => total + text.split(mark).length - 1, 0);
|
|
27
|
+
readings.set(path, fileReading(path, found));
|
|
28
|
+
}
|
|
29
|
+
return readings;
|
|
30
|
+
}
|
|
31
|
+
export const tsSuppressionsSignal = {
|
|
32
|
+
id: "ts-suppressions",
|
|
33
|
+
issue: "daddy-issues",
|
|
34
|
+
question: `Is there a \`${TS_IGNORE_MARK}\` or \`@ts-nocheck\`, or a \`${TS_EXPECT_ERROR_MARK}\` outside a \`type-tests/\` directory?`,
|
|
35
|
+
reads: "text",
|
|
36
|
+
unit: "count",
|
|
37
|
+
direction: "ceiling",
|
|
38
|
+
thresholds: { standard: 0, strict: 0 },
|
|
39
|
+
sentence: "That is not a boundary. That is refusing to talk about it.",
|
|
40
|
+
measure: "tsExpectErrorOutsideTypeTests",
|
|
41
|
+
run: (context) => Promise.resolve(countTypeSuppressions(context)),
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=ts-suppressions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-suppressions.js","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/ts-suppressions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EACL,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,MAAM,KAAK,GAAG,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAC;AACrD,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAE3C,SAAS,qBAAqB,CAAC,OAAsB;IACnD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC;YAAE,SAAS;QACxC,IAAI,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC;YAAE,SAAS;QACjD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CACxB,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,EACpD,CAAC,CACF,CAAC;QACF,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAiB;IAChD,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,gBAAgB,cAAc,iCAAiC,oBAAoB,yCAAyC;IACtI,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE,+BAA+B;IACxC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;CAClE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `as` in production source: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* An assertion is not a conversion. It is a sentence that says the compiler
|
|
5
|
+
* was wrong and nobody has to prove it, and the proof was the only thing the
|
|
6
|
+
* type was ever worth. `as const` is not counted: it narrows a literal to
|
|
7
|
+
* itself and gives nothing away.
|
|
8
|
+
*
|
|
9
|
+
* Tests are counted by `assertions-in-tests` rather than here, because the
|
|
10
|
+
* companion asks about them under a different issue — the failure there is one
|
|
11
|
+
* rule in production and another in the test beside it — and one occurrence
|
|
12
|
+
* must not be counted twice.
|
|
13
|
+
*/
|
|
14
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
15
|
+
export declare const typeAssertionsSignal: DoctorSignal;
|
|
16
|
+
//# sourceMappingURL=type-assertions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-assertions.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/type-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAgB3E,eAAO,MAAM,oBAAoB,EAAE,YAWlC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `as` in production source: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* An assertion is not a conversion. It is a sentence that says the compiler
|
|
5
|
+
* was wrong and nobody has to prove it, and the proof was the only thing the
|
|
6
|
+
* type was ever worth. `as const` is not counted: it narrows a literal to
|
|
7
|
+
* itself and gives nothing away.
|
|
8
|
+
*
|
|
9
|
+
* Tests are counted by `assertions-in-tests` rather than here, because the
|
|
10
|
+
* companion asks about them under a different issue — the failure there is one
|
|
11
|
+
* rule in production and another in the test beside it — and one occurrence
|
|
12
|
+
* must not be counted twice.
|
|
13
|
+
*/
|
|
14
|
+
import { isTestSource } from "../scanners/source-classification.js";
|
|
15
|
+
import { countOccurrences, isWideningAssertion, } from "../scanners/typescript-program.js";
|
|
16
|
+
function countTypeAssertions(context) {
|
|
17
|
+
return countOccurrences({
|
|
18
|
+
program: context.program(),
|
|
19
|
+
include: (path) => !isTestSource(path),
|
|
20
|
+
match: isWideningAssertion,
|
|
21
|
+
name: "as",
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export const typeAssertionsSignal = {
|
|
25
|
+
id: "type-assertions",
|
|
26
|
+
issue: "daddy-issues",
|
|
27
|
+
question: "Does any hand-written file use `as` other than `as const`, or a postfix `!`?",
|
|
28
|
+
reads: "typescript",
|
|
29
|
+
unit: "count",
|
|
30
|
+
direction: "ceiling",
|
|
31
|
+
thresholds: { standard: 0, strict: 0 },
|
|
32
|
+
sentence: "We don’t say `as` in this house. Use your narrowing words.",
|
|
33
|
+
run: (context) => Promise.resolve(countTypeAssertions(context)),
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=type-assertions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-assertions.js","sourceRoot":"","sources":["../../../../src/doctor/signals/daddy-issues/type-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mCAAmC,CAAC;AAE3C,SAAS,mBAAmB,CAAC,OAAsB;IACjD,OAAO,gBAAgB,CAAC;QACtB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE;QAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;QACtC,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAiB;IAChD,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,cAAc;IACrB,QAAQ,EACN,8EAA8E;IAChF,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EAAE,4DAA4D;IACtE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAChE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `as` inside a test: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A test is where the assertion is most tempting and least defensible. The
|
|
5
|
+
* value being asserted is one the test itself built, so if the type is wrong
|
|
6
|
+
* the test is wrong, and the assertion has hidden the only place the mistake
|
|
7
|
+
* was going to show. Worse, it makes the test a place where a different rule
|
|
8
|
+
* applies to the same repository, which is the failure this issue is about.
|
|
9
|
+
*
|
|
10
|
+
* The same `as` in production source is counted by `type-assertions`; the two
|
|
11
|
+
* scopes are read separately so one occurrence is never counted twice.
|
|
12
|
+
*/
|
|
13
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
14
|
+
export declare const assertionsInTestsSignal: DoctorSignal;
|
|
15
|
+
//# sourceMappingURL=assertions-in-tests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assertions-in-tests.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/disorganized-attachment/assertions-in-tests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,wBAAwB,CAAC;AAgB3E,eAAO,MAAM,uBAAuB,EAAE,YAWrC,CAAC"}
|