@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,164 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migrations whose order a database cannot trust: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* Two branches start from the same journal, each picks "the next stamp", and
|
|
5
|
+
* whichever merges second lands a migration older than one a database has
|
|
6
|
+
* already run. A runner that orders by stamp then skips it, or runs it out of
|
|
7
|
+
* order, and nobody can say afterwards which version of the schema shipped.
|
|
8
|
+
*
|
|
9
|
+
* A migration answers in one of two ways, and each is asked its own question.
|
|
10
|
+
*
|
|
11
|
+
* One that leaves its order to its stamp is read against the base line — the
|
|
12
|
+
* ref the caller named, else `origin/main`, else `main`: a migration this
|
|
13
|
+
* checkout adds past the base must be stamped later than every migration the
|
|
14
|
+
* base holds in its directory. What the base already holds was judged when it
|
|
15
|
+
* landed, and migrations added together on a branch are not ordered against
|
|
16
|
+
* each other. With no base, the whole history is read instead — each
|
|
17
|
+
* migration against what its directory held when the commit adding it landed
|
|
18
|
+
* — and the signal leaves a note saying so.
|
|
19
|
+
*
|
|
20
|
+
* One that states its order with `dependsOn` is read against the tree, and
|
|
21
|
+
* owes three things: a list the runner can read, every name on it a migration
|
|
22
|
+
* that exists, and no cycle through it. Its stamp is then only a name, so it
|
|
23
|
+
* is not asked the first question.
|
|
24
|
+
*/
|
|
25
|
+
import { addFinding } from "../scanners/typescript-program.js";
|
|
26
|
+
import { readCommitLog, requireGitWorkspace, shortSha, } from "../scanners/git-history.js";
|
|
27
|
+
import { NO_BASE_NOTE, readMigrationBase, } from "../scanners/migration-base.js";
|
|
28
|
+
import { isMigrationFile, migrationJournal, migrationName, migrationStamp, readPrerequisites, } from "../scanners/migration-files.js";
|
|
29
|
+
const ADDED = "A";
|
|
30
|
+
/** Every migration in the tree, by path, with how it declares its order. */
|
|
31
|
+
function readMigrationTree(context) {
|
|
32
|
+
const tree = new Map();
|
|
33
|
+
for (const path of context.files()) {
|
|
34
|
+
if (!isMigrationFile(path) || !context.exists(path))
|
|
35
|
+
continue;
|
|
36
|
+
tree.set(path, readPrerequisites(path, context.read(path)));
|
|
37
|
+
}
|
|
38
|
+
return tree;
|
|
39
|
+
}
|
|
40
|
+
function newerThanAll(newest, paths) {
|
|
41
|
+
for (const path of paths) {
|
|
42
|
+
const journal = migrationJournal(path);
|
|
43
|
+
const stamp = migrationStamp(path);
|
|
44
|
+
if (stamp > (newest.get(journal) ?? ""))
|
|
45
|
+
newest.set(journal, stamp);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function judgeAddition(readings, tree, path, addition) {
|
|
49
|
+
if (tree.get(path)?.kind !== "stamp")
|
|
50
|
+
return;
|
|
51
|
+
if (migrationStamp(path) > addition.before)
|
|
52
|
+
return;
|
|
53
|
+
addFinding(readings, path, {
|
|
54
|
+
path,
|
|
55
|
+
name: `${addition.name} added after ${addition.before}`,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function addedMigrations(commit) {
|
|
59
|
+
return commit.changes
|
|
60
|
+
.filter((change) => change.status === ADDED && isMigrationFile(change.path))
|
|
61
|
+
.map((change) => change.path);
|
|
62
|
+
}
|
|
63
|
+
/** Stamp-ordered migrations past the base, against the base's newest. */
|
|
64
|
+
function stampsPastBase(commits, base, tree, readings) {
|
|
65
|
+
const newest = new Map();
|
|
66
|
+
newerThanAll(newest, [...base.migrations]);
|
|
67
|
+
for (const commit of commits) {
|
|
68
|
+
if (base.commits.has(commit.sha))
|
|
69
|
+
continue;
|
|
70
|
+
for (const path of addedMigrations(commit)) {
|
|
71
|
+
const before = newest.get(migrationJournal(path)) ?? "";
|
|
72
|
+
judgeAddition(readings, tree, path, {
|
|
73
|
+
before,
|
|
74
|
+
name: shortSha(commit.sha),
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/** With no base: each addition against what its journal held when it landed. */
|
|
80
|
+
function stampsInHistory(commits, tree, readings) {
|
|
81
|
+
const newest = new Map();
|
|
82
|
+
for (const commit of [...commits].reverse()) {
|
|
83
|
+
const added = addedMigrations(commit);
|
|
84
|
+
for (const path of added) {
|
|
85
|
+
const before = newest.get(migrationJournal(path)) ?? "";
|
|
86
|
+
judgeAddition(readings, tree, path, {
|
|
87
|
+
before,
|
|
88
|
+
name: shortSha(commit.sha),
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
newerThanAll(newest, added);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function stampsOutOfOrder(context, tree, readings) {
|
|
95
|
+
const commits = readCommitLog(context.root);
|
|
96
|
+
const base = readMigrationBase(context);
|
|
97
|
+
if (base !== undefined) {
|
|
98
|
+
stampsPastBase(commits, base, tree, readings);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
context.notes?.push(NO_BASE_NOTE);
|
|
102
|
+
stampsInHistory(commits, tree, readings);
|
|
103
|
+
}
|
|
104
|
+
/** True when following a migration's prerequisites leads back to it. */
|
|
105
|
+
function reachesItself(start, graph) {
|
|
106
|
+
const seen = new Set();
|
|
107
|
+
const queue = [...(graph.get(start) ?? [])];
|
|
108
|
+
for (let next = queue.shift(); next !== undefined; next = queue.shift()) {
|
|
109
|
+
if (next === start)
|
|
110
|
+
return true;
|
|
111
|
+
if (seen.has(next))
|
|
112
|
+
continue;
|
|
113
|
+
seen.add(next);
|
|
114
|
+
queue.push(...(graph.get(next) ?? []));
|
|
115
|
+
}
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
/** The problems one migration's stated prerequisites have, in words. */
|
|
119
|
+
function prerequisiteProblems(path, graph) {
|
|
120
|
+
const problems = (graph.get(migrationName(path)) ?? [])
|
|
121
|
+
.filter((name) => !graph.has(name))
|
|
122
|
+
.map((name) => `missing prerequisite ${name}`);
|
|
123
|
+
return reachesItself(migrationName(path), graph)
|
|
124
|
+
? [...problems, "prerequisite cycle"]
|
|
125
|
+
: problems;
|
|
126
|
+
}
|
|
127
|
+
function declaredGraph(tree) {
|
|
128
|
+
const graph = new Map();
|
|
129
|
+
for (const [path, prerequisites] of tree) {
|
|
130
|
+
graph.set(migrationName(path), prerequisites.kind === "graph" ? prerequisites.dependencies : []);
|
|
131
|
+
}
|
|
132
|
+
return graph;
|
|
133
|
+
}
|
|
134
|
+
/** Stated orders the runner cannot read, cannot satisfy, or cannot finish. */
|
|
135
|
+
function graphProblems(tree, readings) {
|
|
136
|
+
const graph = declaredGraph(tree);
|
|
137
|
+
for (const [path, prerequisites] of tree) {
|
|
138
|
+
const problems = prerequisites.kind === "invalid"
|
|
139
|
+
? [{ path, name: "dependsOn is not an exported literal list" }]
|
|
140
|
+
: prerequisiteProblems(path, graph).map((name) => ({ path, name }));
|
|
141
|
+
for (const evidence of problems)
|
|
142
|
+
addFinding(readings, path, evidence);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function countOutOfOrder(context) {
|
|
146
|
+
requireGitWorkspace(context.root);
|
|
147
|
+
const tree = readMigrationTree(context);
|
|
148
|
+
const readings = new Map([...tree.keys()].map((path) => [path, { value: 0, evidence: [] }]));
|
|
149
|
+
stampsOutOfOrder(context, tree, readings);
|
|
150
|
+
graphProblems(tree, readings);
|
|
151
|
+
return readings;
|
|
152
|
+
}
|
|
153
|
+
export const migrationsOutOfOrderSignal = {
|
|
154
|
+
id: "migrations-out-of-order",
|
|
155
|
+
issue: "disorganized-attachment",
|
|
156
|
+
question: "Is a migration added past the base stamped older than its journal's newest on the base, or does one state prerequisites the runner cannot satisfy?",
|
|
157
|
+
reads: "git",
|
|
158
|
+
unit: "count",
|
|
159
|
+
direction: "ceiling",
|
|
160
|
+
thresholds: { standard: 0, strict: 0 },
|
|
161
|
+
sentence: "Sometimes you wake up to a production incident and cannot remember which version of you shipped.",
|
|
162
|
+
run: (context) => Promise.resolve(countOutOfOrder(context)),
|
|
163
|
+
};
|
|
164
|
+
//# sourceMappingURL=migrations-out-of-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrations-out-of-order.js","sourceRoot":"","sources":["../../../../src/doctor/signals/disorganized-attachment/migrations-out-of-order.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AASH,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,QAAQ,GAET,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,YAAY,EACZ,iBAAiB,GAElB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,E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,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,kGAAkG;IACpG,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;CAC5D,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A boundary read that reached a typed value without being parsed: report,
|
|
3
|
+
* then ceiling 0. A heuristic, and the companion says so.
|
|
4
|
+
*
|
|
5
|
+
* The failure this looks for is not "somebody called `JSON.parse`". It is a
|
|
6
|
+
* value arriving from outside the program — a file, the environment, a request
|
|
7
|
+
* body — and being given a type on the way in, with nothing between the read
|
|
8
|
+
* and the type that checked the value was that shape. The compiler then
|
|
9
|
+
* believes the annotation, and every reader after it does too.
|
|
10
|
+
*
|
|
11
|
+
* The proxy the companion names is "the result reaches a typed position with
|
|
12
|
+
* no parse call between them", and *reaches* is read strictly: the boundary
|
|
13
|
+
* read has to be the whole of what lands in the typed position — the
|
|
14
|
+
* initializer of an annotated declaration, or the expression a function with a
|
|
15
|
+
* declared return type returns — allowing only the wrappers that hide it
|
|
16
|
+
* without changing it, `await`, parentheses, and an assertion. A read that is
|
|
17
|
+
* one argument inside a larger expression has been transformed by whatever
|
|
18
|
+
* surrounds it, and a parse call in that position is the parse this asks for.
|
|
19
|
+
*
|
|
20
|
+
* Two further narrowings keep the proxy honest. The typed position must be a
|
|
21
|
+
* shape somebody named, not `string`: reading a file as text and calling it
|
|
22
|
+
* text is not a claim anybody could have checked, and `unknown` is the honest
|
|
23
|
+
* spelling that forces the parse at the next step. And tests are not measured,
|
|
24
|
+
* because a test builds the value it then reads.
|
|
25
|
+
*
|
|
26
|
+
* It is report-only under `standard` because it is a heuristic, and it earns
|
|
27
|
+
* its ceiling in `strict` only where the corpus shows it quiet.
|
|
28
|
+
*/
|
|
29
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
30
|
+
export declare const unparsedBoundaryReadsSignal: DoctorSignal;
|
|
31
|
+
//# sourceMappingURL=unparsed-boundary-reads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unparsed-boundary-reads.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/disorganized-attachment/unparsed-boundary-reads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA2GhC,eAAO,MAAM,2BAA2B,EAAE,YAYzC,CAAC"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A boundary read that reached a typed value without being parsed: report,
|
|
3
|
+
* then ceiling 0. A heuristic, and the companion says so.
|
|
4
|
+
*
|
|
5
|
+
* The failure this looks for is not "somebody called `JSON.parse`". It is a
|
|
6
|
+
* value arriving from outside the program — a file, the environment, a request
|
|
7
|
+
* body — and being given a type on the way in, with nothing between the read
|
|
8
|
+
* and the type that checked the value was that shape. The compiler then
|
|
9
|
+
* believes the annotation, and every reader after it does too.
|
|
10
|
+
*
|
|
11
|
+
* The proxy the companion names is "the result reaches a typed position with
|
|
12
|
+
* no parse call between them", and *reaches* is read strictly: the boundary
|
|
13
|
+
* read has to be the whole of what lands in the typed position — the
|
|
14
|
+
* initializer of an annotated declaration, or the expression a function with a
|
|
15
|
+
* declared return type returns — allowing only the wrappers that hide it
|
|
16
|
+
* without changing it, `await`, parentheses, and an assertion. A read that is
|
|
17
|
+
* one argument inside a larger expression has been transformed by whatever
|
|
18
|
+
* surrounds it, and a parse call in that position is the parse this asks for.
|
|
19
|
+
*
|
|
20
|
+
* Two further narrowings keep the proxy honest. The typed position must be a
|
|
21
|
+
* shape somebody named, not `string`: reading a file as text and calling it
|
|
22
|
+
* text is not a claim anybody could have checked, and `unknown` is the honest
|
|
23
|
+
* spelling that forces the parse at the next step. And tests are not measured,
|
|
24
|
+
* because a test builds the value it then reads.
|
|
25
|
+
*
|
|
26
|
+
* It is report-only under `standard` because it is a heuristic, and it earns
|
|
27
|
+
* its ceiling in `strict` only where the corpus shows it quiet.
|
|
28
|
+
*/
|
|
29
|
+
import { addFinding, evidenceAt, isProductionModule, ts, visitNodes, } from "../scanners/typescript-program.js";
|
|
30
|
+
const FILE_READS = new Set(["readFileSync", "readFile"]);
|
|
31
|
+
const REQUEST_NAMES = new Set(["request", "req"]);
|
|
32
|
+
function calleeName(expression) {
|
|
33
|
+
if (ts.isIdentifier(expression))
|
|
34
|
+
return expression.text;
|
|
35
|
+
if (!ts.isPropertyAccessExpression(expression))
|
|
36
|
+
return "";
|
|
37
|
+
const receiver = ts.isIdentifier(expression.expression)
|
|
38
|
+
? expression.expression.text
|
|
39
|
+
: "";
|
|
40
|
+
return `${receiver}.${expression.name.text}`;
|
|
41
|
+
}
|
|
42
|
+
function isEnvironmentRead(node) {
|
|
43
|
+
if (!ts.isPropertyAccessExpression(node))
|
|
44
|
+
return false;
|
|
45
|
+
const receiver = ts.isIdentifier(node.expression) ? node.expression.text : "";
|
|
46
|
+
return receiver === "process" && node.name.text === "env";
|
|
47
|
+
}
|
|
48
|
+
function isRequestBody(node) {
|
|
49
|
+
if (!ts.isPropertyAccessExpression(node))
|
|
50
|
+
return false;
|
|
51
|
+
const receiver = ts.isIdentifier(node.expression) ? node.expression.text : "";
|
|
52
|
+
return node.name.text === "body" && REQUEST_NAMES.has(receiver);
|
|
53
|
+
}
|
|
54
|
+
function isBoundaryRead(node) {
|
|
55
|
+
if (isEnvironmentRead(node) || isRequestBody(node))
|
|
56
|
+
return true;
|
|
57
|
+
if (!ts.isCallExpression(node))
|
|
58
|
+
return false;
|
|
59
|
+
const name = calleeName(node.expression);
|
|
60
|
+
return name === "JSON.parse" || FILE_READS.has(name);
|
|
61
|
+
}
|
|
62
|
+
/** What lands in the position, with the wrappers that only hide it removed. */
|
|
63
|
+
function landing(expression) {
|
|
64
|
+
if (ts.isAwaitExpression(expression))
|
|
65
|
+
return landing(expression.expression);
|
|
66
|
+
if (ts.isParenthesizedExpression(expression)) {
|
|
67
|
+
return landing(expression.expression);
|
|
68
|
+
}
|
|
69
|
+
if (ts.isAsExpression(expression))
|
|
70
|
+
return landing(expression.expression);
|
|
71
|
+
if (ts.isNonNullExpression(expression))
|
|
72
|
+
return landing(expression.expression);
|
|
73
|
+
return expression;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* A shape somebody claimed the value has: a named type or a type literal.
|
|
77
|
+
* `unknown` claims nothing and is the honest spelling of a boundary read;
|
|
78
|
+
* `string`, `number`, and `boolean` claim nothing a parser would have checked,
|
|
79
|
+
* because reading a file as text is text.
|
|
80
|
+
*/
|
|
81
|
+
function isClaimedShape(type) {
|
|
82
|
+
return ts.isTypeReferenceNode(type) || ts.isTypeLiteralNode(type);
|
|
83
|
+
}
|
|
84
|
+
function isUnparsed(expression) {
|
|
85
|
+
return expression !== undefined && isBoundaryRead(landing(expression));
|
|
86
|
+
}
|
|
87
|
+
function declaredReturnType(node) {
|
|
88
|
+
let current = node.parent;
|
|
89
|
+
while (!ts.isSourceFile(current)) {
|
|
90
|
+
if (ts.isFunctionLike(current))
|
|
91
|
+
return current.type;
|
|
92
|
+
current = current.parent;
|
|
93
|
+
}
|
|
94
|
+
return undefined;
|
|
95
|
+
}
|
|
96
|
+
/** What a node is doing wrong, when it is doing something wrong. */
|
|
97
|
+
function unparsedTarget(node) {
|
|
98
|
+
if (ts.isVariableDeclaration(node)) {
|
|
99
|
+
if (node.type === undefined || !isClaimedShape(node.type))
|
|
100
|
+
return undefined;
|
|
101
|
+
return isUnparsed(node.initializer) ? "read into a typed value" : undefined;
|
|
102
|
+
}
|
|
103
|
+
if (!ts.isReturnStatement(node))
|
|
104
|
+
return undefined;
|
|
105
|
+
const returned = declaredReturnType(node);
|
|
106
|
+
if (returned === undefined || !isClaimedShape(returned))
|
|
107
|
+
return undefined;
|
|
108
|
+
return isUnparsed(node.expression) ? "read returned as typed" : undefined;
|
|
109
|
+
}
|
|
110
|
+
function collectUnparsedReads(module, readings) {
|
|
111
|
+
visitNodes(module.source, (node) => {
|
|
112
|
+
const target = unparsedTarget(node);
|
|
113
|
+
if (target === undefined)
|
|
114
|
+
return;
|
|
115
|
+
addFinding(readings, module.packageRoot, evidenceAt(module, node, target));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function countUnparsedReads(context) {
|
|
119
|
+
const readings = new Map();
|
|
120
|
+
for (const module of context.program().modules) {
|
|
121
|
+
if (!isProductionModule(module.path))
|
|
122
|
+
continue;
|
|
123
|
+
collectUnparsedReads(module, readings);
|
|
124
|
+
}
|
|
125
|
+
return readings;
|
|
126
|
+
}
|
|
127
|
+
export const unparsedBoundaryReadsSignal = {
|
|
128
|
+
id: "unparsed-boundary-reads",
|
|
129
|
+
issue: "disorganized-attachment",
|
|
130
|
+
question: "Is the result of a boundary read — `JSON.parse`, `process.env`, a file read, a request body — used without passing through a parser in the same function? (heuristic)",
|
|
131
|
+
reads: "typescript",
|
|
132
|
+
unit: "count",
|
|
133
|
+
direction: "ceiling",
|
|
134
|
+
thresholds: { standard: null, strict: 0 },
|
|
135
|
+
sentence: "Sometimes you validate. Sometimes you trust. Sometimes you wake up to a production incident and cannot remember which version of you shipped.",
|
|
136
|
+
run: (context) => Promise.resolve(countUnparsedReads(context)),
|
|
137
|
+
};
|
|
138
|
+
//# sourceMappingURL=unparsed-boundary-reads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unparsed-boundary-reads.js","sourceRoot":"","sources":["../../../../src/doctor/signals/disorganized-attachment/unparsed-boundary-reads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAQH,OAAO,EACL,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,EAAE,EACF,UAAU,GAEX,MAAM,mCAAmC,CAAC;AAE3C,MAA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MAAM,KAAK,SAAS;YAAE,OAAO;QACjC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,kBAAkB,CAAC,OAAsB;IAChD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC;YAAE,SAAS;QAC/C,oBAAoB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,2BAA2B,GAAiB;IACvD,EAAE,EAAE,yBAAyB;IAC7B,KAAK,EAAE,yBAAyB;IAChC,QAAQ,EACN,uKAAuK;IACzK,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE;IACzC,QAAQ,EACN,+IAA+I;IACjJ,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC/D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Impure barrels: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A package's `src/index.ts` is its public surface, and the only thing a
|
|
5
|
+
* public surface should do is name what is public. A barrel that also declares
|
|
6
|
+
* a type, runs a constant, or re-implements a helper makes the surface a place
|
|
7
|
+
* where behavior hides: consumers import it for one symbol and get the rest,
|
|
8
|
+
* and the next contributor adds to the barrel because the barrel already has
|
|
9
|
+
* code in it.
|
|
10
|
+
*
|
|
11
|
+
* "Pure" means every top-level statement is a re-export with a module
|
|
12
|
+
* specifier. The count is taken from a skeleton of the source rather than from
|
|
13
|
+
* a pattern over raw text, so a multi-line re-export and a declaration that
|
|
14
|
+
* merely mentions the word `export` are told apart correctly.
|
|
15
|
+
*/
|
|
16
|
+
import { type DoctorSignal } from "../../doctor-signal.js";
|
|
17
|
+
/** Top-level statements in `text` that are not re-exports. */
|
|
18
|
+
export declare function countImpureStatements(text: string): number;
|
|
19
|
+
export declare const barrelImpuritySignal: DoctorSignal;
|
|
20
|
+
//# sourceMappingURL=barrel-impurity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barrel-impurity.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/barrel-impurity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AAQhC,8DAA8D;AAC9D,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI1D;AAcD,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Impure barrels: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A package's `src/index.ts` is its public surface, and the only thing a
|
|
5
|
+
* public surface should do is name what is public. A barrel that also declares
|
|
6
|
+
* a type, runs a constant, or re-implements a helper makes the surface a place
|
|
7
|
+
* where behavior hides: consumers import it for one symbol and get the rest,
|
|
8
|
+
* and the next contributor adds to the barrel because the barrel already has
|
|
9
|
+
* code in it.
|
|
10
|
+
*
|
|
11
|
+
* "Pure" means every top-level statement is a re-export with a module
|
|
12
|
+
* specifier. The count is taken from a skeleton of the source rather than from
|
|
13
|
+
* a pattern over raw text, so a multi-line re-export and a declaration that
|
|
14
|
+
* merely mentions the word `export` are told apart correctly.
|
|
15
|
+
*/
|
|
16
|
+
import { fileReading, } from "../../doctor-signal.js";
|
|
17
|
+
import { isReExportStatement, topLevelStatements, } from "../scanners/top-level-declarations.js";
|
|
18
|
+
const BARREL = /^packages\/(?:[^/]+\/)+src\/index\.ts$/;
|
|
19
|
+
/** Top-level statements in `text` that are not re-exports. */
|
|
20
|
+
export function countImpureStatements(text) {
|
|
21
|
+
return topLevelStatements(text).filter((statement) => !isReExportStatement(statement)).length;
|
|
22
|
+
}
|
|
23
|
+
function countBarrelImpurity(context) {
|
|
24
|
+
const readings = new Map();
|
|
25
|
+
for (const path of context.files()) {
|
|
26
|
+
if (!BARREL.test(path))
|
|
27
|
+
continue;
|
|
28
|
+
readings.set(path, fileReading(path, countImpureStatements(context.read(path))));
|
|
29
|
+
}
|
|
30
|
+
return readings;
|
|
31
|
+
}
|
|
32
|
+
export const barrelImpuritySignal = {
|
|
33
|
+
id: "barrel-impurity",
|
|
34
|
+
issue: "enmeshment",
|
|
35
|
+
question: "Does a package's `src/index.ts` contain a statement that is not `export ... from`?",
|
|
36
|
+
reads: "typescript",
|
|
37
|
+
unit: "count",
|
|
38
|
+
direction: "ceiling",
|
|
39
|
+
thresholds: { standard: 0, strict: 0 },
|
|
40
|
+
sentence: "The barrel is the same family with the front door taken off.",
|
|
41
|
+
measure: "barrelImpurity",
|
|
42
|
+
run: (context) => Promise.resolve(countBarrelImpurity(context)),
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=barrel-impurity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barrel-impurity.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/barrel-impurity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,MAAM,GAAG,wCAAwC,CAAC;AAExD,8DAA8D;AAC9D,MAAM,UAAU,qBAAqB,CAAC,IAAY;IAChD,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC,MAAM,CACpC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAC/C,CAAC,MAAM,CAAC;AACX,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAsB;IACjD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,SAAS;QACjC,QAAQ,CAAC,GAAG,CACV,IAAI,EACJ,WAAW,CAAC,IAAI,EAAE,qBAAqB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAC7D,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAiB;IAChD,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,YAAY;IACnB,QAAQ,EACN,oFAAoF;IACtF,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,8DAA8D;IACxE,OAAO,EAAE,gBAAgB;IACzB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAChE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Suppressed clippy lints in production Rust: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A workspace that denies `too_many_lines`, `unwrap_used`, `panic` and friends
|
|
5
|
+
* has one escape hatch left, and an escape hatch nobody counts becomes the
|
|
6
|
+
* default. Recording each one turns "we allowed this" into a line in the
|
|
7
|
+
* baseline with a reason and a name, and the ratchet makes removing one
|
|
8
|
+
* permanent.
|
|
9
|
+
*
|
|
10
|
+
* Test modules are excluded on purpose: they carry a blanket inner attribute
|
|
11
|
+
* at the module head, which is the intended shape and not an exception worth
|
|
12
|
+
* counting. The inner-attribute form is also excluded by the literal being
|
|
13
|
+
* matched, which begins with the outer form.
|
|
14
|
+
*/
|
|
15
|
+
import { type DoctorSignal } from "../../doctor-signal.js";
|
|
16
|
+
/**
|
|
17
|
+
* Counts allows outside `#[cfg(test)]` modules by tracking brace depth from
|
|
18
|
+
* the module's opening brace. Braces inside strings and comments are not
|
|
19
|
+
* excluded; a scanner is enough here because the shape being skipped is a
|
|
20
|
+
* module body, not an expression.
|
|
21
|
+
*/
|
|
22
|
+
export declare function countProductionAllows(text: string): number;
|
|
23
|
+
export declare const clippyAllowsSignal: DoctorSignal;
|
|
24
|
+
//# sourceMappingURL=clippy-allows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clippy-allows.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/clippy-allows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,wBAAwB,CAAC;AA0BhC;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAuB1D;AAcD,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Suppressed clippy lints in production Rust: ceiling 0.
|
|
3
|
+
*
|
|
4
|
+
* A workspace that denies `too_many_lines`, `unwrap_used`, `panic` and friends
|
|
5
|
+
* has one escape hatch left, and an escape hatch nobody counts becomes the
|
|
6
|
+
* default. Recording each one turns "we allowed this" into a line in the
|
|
7
|
+
* baseline with a reason and a name, and the ratchet makes removing one
|
|
8
|
+
* permanent.
|
|
9
|
+
*
|
|
10
|
+
* Test modules are excluded on purpose: they carry a blanket inner attribute
|
|
11
|
+
* at the module head, which is the intended shape and not an exception worth
|
|
12
|
+
* counting. The inner-attribute form is also excluded by the literal being
|
|
13
|
+
* matched, which begins with the outer form.
|
|
14
|
+
*/
|
|
15
|
+
import { fileReading, } from "../../doctor-signal.js";
|
|
16
|
+
import { isRustSource } from "../scanners/source-classification.js";
|
|
17
|
+
const ALLOW = "#[allow(clippy::";
|
|
18
|
+
const CFG_TEST = /#\[cfg\(test\)\]/;
|
|
19
|
+
function braceDelta(line) {
|
|
20
|
+
return line.split("{").length - line.split("}").length;
|
|
21
|
+
}
|
|
22
|
+
function scanTestModuleLine(line, scan) {
|
|
23
|
+
const delta = braceDelta(line);
|
|
24
|
+
if (delta > 0)
|
|
25
|
+
return { count: scan.count, depth: delta, armed: false };
|
|
26
|
+
return {
|
|
27
|
+
count: scan.count,
|
|
28
|
+
depth: 0,
|
|
29
|
+
armed: !line.trimEnd().endsWith(";"),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Counts allows outside `#[cfg(test)]` modules by tracking brace depth from
|
|
34
|
+
* the module's opening brace. Braces inside strings and comments are not
|
|
35
|
+
* excluded; a scanner is enough here because the shape being skipped is a
|
|
36
|
+
* module body, not an expression.
|
|
37
|
+
*/
|
|
38
|
+
export function countProductionAllows(text) {
|
|
39
|
+
let scan = { count: 0, depth: 0, armed: false };
|
|
40
|
+
for (const line of text.split("\n")) {
|
|
41
|
+
if (scan.depth > 0) {
|
|
42
|
+
const depth = Math.max(0, scan.depth + braceDelta(line));
|
|
43
|
+
scan = { count: scan.count, depth, armed: scan.armed };
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
if (scan.armed) {
|
|
47
|
+
const delta = braceDelta(line);
|
|
48
|
+
if (delta > 0) {
|
|
49
|
+
scan = { count: scan.count, depth: delta, armed: false };
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (line.includes(";"))
|
|
53
|
+
scan = { ...scan, armed: false };
|
|
54
|
+
}
|
|
55
|
+
if (CFG_TEST.test(line)) {
|
|
56
|
+
scan = scanTestModuleLine(line, scan);
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
scan = { ...scan, count: scan.count + line.split(ALLOW).length - 1 };
|
|
60
|
+
}
|
|
61
|
+
return scan.count;
|
|
62
|
+
}
|
|
63
|
+
function countClippyAllows(context) {
|
|
64
|
+
const readings = new Map();
|
|
65
|
+
for (const path of context.files()) {
|
|
66
|
+
if (!isRustSource(path))
|
|
67
|
+
continue;
|
|
68
|
+
readings.set(path, fileReading(path, countProductionAllows(context.read(path))));
|
|
69
|
+
}
|
|
70
|
+
return readings;
|
|
71
|
+
}
|
|
72
|
+
export const clippyAllowsSignal = {
|
|
73
|
+
id: "clippy-allows",
|
|
74
|
+
issue: "enmeshment",
|
|
75
|
+
question: "In Rust, is there an `#[allow(clippy::` mark in production?",
|
|
76
|
+
reads: "text",
|
|
77
|
+
unit: "count",
|
|
78
|
+
direction: "ceiling",
|
|
79
|
+
thresholds: { standard: 0, strict: 0 },
|
|
80
|
+
sentence: "The compiler is not confused. The compiler is the only one being honest with you.",
|
|
81
|
+
measure: "clippyAllows",
|
|
82
|
+
run: (context) => Promise.resolve(countClippyAllows(context)),
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=clippy-allows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clippy-allows.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/clippy-allows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EACL,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,MAAM,KAAK,GAAG,kBAAkB,CAAC;AACjC,MAAM,QAAQ,GAA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O;IACb,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACtC,QAAQ,EACN,mFAAmF;IACrF,OAAO,EAAE,cAAc;IACvB,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;CAC9D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A module that imports from more than fifteen places: report, then 15.
|
|
3
|
+
*
|
|
4
|
+
* Fan-out is how a file tells you it has more than one responsibility before
|
|
5
|
+
* it has grown long enough for the line ceiling to say so. Sixteen imports
|
|
6
|
+
* means sixteen reasons to be recompiled, sixteen things to stub before it can
|
|
7
|
+
* be tested, and a name that cannot describe what it does without a list.
|
|
8
|
+
*
|
|
9
|
+
* The count is distinct module specifiers a module *imports*, so importing
|
|
10
|
+
* four names from one module is one edge and a barrel re-exporting sixteen is
|
|
11
|
+
* none: a surface listing is what a barrel is for, and `barrel-impurity` is
|
|
12
|
+
* the signal that reads whether it is only that.
|
|
13
|
+
*
|
|
14
|
+
* Report-only under `standard` and 15 under `strict`, so the modules this
|
|
15
|
+
* emits are the ones already at or over that ceiling.
|
|
16
|
+
*/
|
|
17
|
+
import type { DoctorSignal } from "../../doctor-signal.js";
|
|
18
|
+
export declare const fanOutSignal: DoctorSignal;
|
|
19
|
+
//# sourceMappingURL=fan-out.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fan-out.d.ts","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/fan-out.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AA6BhC,eAAO,MAAM,YAAY,EAAE,YAW1B,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A module that imports from more than fifteen places: report, then 15.
|
|
3
|
+
*
|
|
4
|
+
* Fan-out is how a file tells you it has more than one responsibility before
|
|
5
|
+
* it has grown long enough for the line ceiling to say so. Sixteen imports
|
|
6
|
+
* means sixteen reasons to be recompiled, sixteen things to stub before it can
|
|
7
|
+
* be tested, and a name that cannot describe what it does without a list.
|
|
8
|
+
*
|
|
9
|
+
* The count is distinct module specifiers a module *imports*, so importing
|
|
10
|
+
* four names from one module is one edge and a barrel re-exporting sixteen is
|
|
11
|
+
* none: a surface listing is what a barrel is for, and `barrel-impurity` is
|
|
12
|
+
* the signal that reads whether it is only that.
|
|
13
|
+
*
|
|
14
|
+
* Report-only under `standard` and 15 under `strict`, so the modules this
|
|
15
|
+
* emits are the ones already at or over that ceiling.
|
|
16
|
+
*/
|
|
17
|
+
import { isProductionModule, moduleImports, } from "../scanners/typescript-program.js";
|
|
18
|
+
/** The count `strict` refuses, which is also the count worth reporting. */
|
|
19
|
+
const CEILING = 15;
|
|
20
|
+
function countFanOut(context) {
|
|
21
|
+
const readings = new Map();
|
|
22
|
+
for (const module of context.program().modules) {
|
|
23
|
+
if (!isProductionModule(module.path))
|
|
24
|
+
continue;
|
|
25
|
+
const reached = new Set(moduleImports(module)
|
|
26
|
+
.filter((imported) => !imported.reExport)
|
|
27
|
+
.map((imported) => imported.specifier));
|
|
28
|
+
if (reached.size <= CEILING)
|
|
29
|
+
continue;
|
|
30
|
+
readings.set(module.path, {
|
|
31
|
+
value: reached.size,
|
|
32
|
+
evidence: [...reached]
|
|
33
|
+
.sort()
|
|
34
|
+
.map((specifier) => ({ path: module.path, name: specifier })),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return readings;
|
|
38
|
+
}
|
|
39
|
+
export const fanOutSignal = {
|
|
40
|
+
id: "fan-out",
|
|
41
|
+
issue: "enmeshment",
|
|
42
|
+
question: "Does any module import from more places than the profile allows?",
|
|
43
|
+
reads: "typescript",
|
|
44
|
+
unit: "count",
|
|
45
|
+
direction: "ceiling",
|
|
46
|
+
thresholds: { standard: null, strict: CEILING },
|
|
47
|
+
sentence: "Enmeshed families cannot tell you who they are. They can only tell you who they are standing next to.",
|
|
48
|
+
run: (context) => Promise.resolve(countFanOut(context)),
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=fan-out.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fan-out.js","sourceRoot":"","sources":["../../../../src/doctor/signals/enmeshment/fan-out.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAQH,OAAO,EACL,kBAAkB,EAClB,aAAa,GACd,MAAM,mCAAmC,CAAC;AAE3C,2EAA2E;AAC3E,MAAM,OAAO,GAAG,EAAE,CAAC;AAEnB,SAAS,WAAW,CAAC,OAAsB;IACzC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC;YAAE,SAAS;QAC/C,MAAM,OAAO,GAAG,IAAI,GAAG,CACrB,aAAa,CAAC,MAAM,CAAC;aAClB,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;aACxC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CACzC,CAAC;QACF,IAAI,OAAO,CAAC,IAAI,IAAI,OAAO;YAAE,SAAS;QACtC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;YACxB,KAAK,EAAE,OAAO,CAAC,IAAI;YACnB,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC;iBACnB,IAAI,EAAE;iBACN,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,I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