@dads-framework/toolbox 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +396 -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 +77 -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,295 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `dad doctor --gate`: the same signals, held to a recorded baseline.
|
|
3
|
+
*
|
|
4
|
+
* The report describes a repository. The gate judges one, and it is the same
|
|
5
|
+
* measurement either way — one signal, two views. A signal the active profile
|
|
6
|
+
* gives a threshold is a **ceiling** the baseline may record exceptions to; a
|
|
7
|
+
* signal whose direction is `floor` is judged against the number it was
|
|
8
|
+
* recorded at, because a floor has no threshold to reach except the one the
|
|
9
|
+
* repository already earned. A signal this profile only reports is not gated
|
|
10
|
+
* and is not seeded: there is nothing to judge it against, and recording a
|
|
11
|
+
* number nobody promised would be inventing a rule.
|
|
12
|
+
*
|
|
13
|
+
* The baseline section a signal is judged under is its `measure` name where it
|
|
14
|
+
* names one and its id otherwise, so a baseline written by the source-budget
|
|
15
|
+
* ratchet keeps working with no edit at all.
|
|
16
|
+
*
|
|
17
|
+
* A signal that cannot answer is a warning that names the reason, never a
|
|
18
|
+
* confident zero and never a failure of the gate: a repository with no history
|
|
19
|
+
* is not a repository that raised a mark. Its recorded entries are left exactly
|
|
20
|
+
* as they are, so `--update` can never delete a baseline it could not measure.
|
|
21
|
+
*
|
|
22
|
+
* Nothing here reads the clock. Dates arrive through `--today`.
|
|
23
|
+
*/
|
|
24
|
+
import { writeFileSync } from "node:fs";
|
|
25
|
+
import { join } from "node:path";
|
|
26
|
+
import { createDoctorContext, } from "./doctor-context.js";
|
|
27
|
+
import { compareToBase, } from "./doctor-gate-base.js";
|
|
28
|
+
import { matchesExemptGlob, readGateBaseline, serializeBaseline, } from "./doctor-gate-baseline.js";
|
|
29
|
+
import { BASELINE_PATH, countEntries, } from "./doctor-gate-model.js";
|
|
30
|
+
import { renderGateOutput, summarizeGate, } from "./doctor-gate-render.js";
|
|
31
|
+
import { evaluateCeiling, evaluateFloor } from "./doctor-gate-states.js";
|
|
32
|
+
import { thresholdFor } from "./doctor-signal.js";
|
|
33
|
+
import { DOCTOR_SIGNALS, runDoctorSignals, } from "./doctor-signals.js";
|
|
34
|
+
import { runGit } from "./signals/scanners/git-history.js";
|
|
35
|
+
import { isTypeScriptProjectFile } from "./signals/scanners/typescript-program.js";
|
|
36
|
+
/** Never measured, whatever a baseline does or does not say. */
|
|
37
|
+
const ALWAYS_EXEMPT = ["**/node_modules/**", "**/dist/**"];
|
|
38
|
+
/** The section of the baseline a signal is recorded under. */
|
|
39
|
+
export function baselineSectionOf(signal) {
|
|
40
|
+
return signal.measure ?? signal.id;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The signals a gate run judges: every floor, and every ceiling this profile
|
|
44
|
+
* gives a number, except a signal marked report-only. File-scoped runs
|
|
45
|
+
* leave repository floors, history, and network checks to the full gate.
|
|
46
|
+
*/
|
|
47
|
+
export function gatedSignals(signals, mode) {
|
|
48
|
+
return signals.filter((signal) => {
|
|
49
|
+
if (signal.reportOnly === true)
|
|
50
|
+
return false;
|
|
51
|
+
if (mode.files !== undefined &&
|
|
52
|
+
(signal.direction === "floor" ||
|
|
53
|
+
signal.reads === "git" ||
|
|
54
|
+
signal.reads === "online")) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
if (signal.direction === "floor")
|
|
58
|
+
return true;
|
|
59
|
+
return thresholdFor(signal, mode.profile) !== null;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/** Runs one invocation of the gate. */
|
|
63
|
+
export async function runDoctorGate(input) {
|
|
64
|
+
const mode = input.mode;
|
|
65
|
+
const probe = createDoctorContext({
|
|
66
|
+
root: input.root,
|
|
67
|
+
today: mode.today,
|
|
68
|
+
exec: input.exec,
|
|
69
|
+
});
|
|
70
|
+
const baseline = readGateBaseline(probe);
|
|
71
|
+
const before = serializeBaseline(baseline);
|
|
72
|
+
const measured = mode.base === undefined
|
|
73
|
+
? await measuredOutcome(input, probe, baseline)
|
|
74
|
+
: comparedOutcome(input, probe, baseline);
|
|
75
|
+
const outcome = mode.seed ? withSeedNote(measured, baseline) : measured;
|
|
76
|
+
const wrote = writeBaseline(input, outcome, before);
|
|
77
|
+
const summary = summarizeGate(outcome);
|
|
78
|
+
return {
|
|
79
|
+
exitCode: summary.errors > 0 ? 1 : 0,
|
|
80
|
+
output: renderGateOutput(outcome, summary),
|
|
81
|
+
findings: outcome.findings,
|
|
82
|
+
baseline: outcome.baseline,
|
|
83
|
+
wrote,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
// ---------------------------------------------------------------------------
|
|
87
|
+
// Measuring
|
|
88
|
+
// ---------------------------------------------------------------------------
|
|
89
|
+
async function measuredOutcome(input, probe, baseline) {
|
|
90
|
+
const mode = input.mode;
|
|
91
|
+
const selection = selectFiles(probe, baseline, mode);
|
|
92
|
+
const context = createDoctorContext({
|
|
93
|
+
root: input.root,
|
|
94
|
+
today: mode.today,
|
|
95
|
+
exec: input.exec,
|
|
96
|
+
files: selection.visible,
|
|
97
|
+
});
|
|
98
|
+
const signals = gatedSignals(input.signals ?? DOCTOR_SIGNALS, mode);
|
|
99
|
+
const outcomes = await runDoctorSignals(context, signals);
|
|
100
|
+
return judgeOutcomes(outcomes, baseline, mode, selection.judged);
|
|
101
|
+
}
|
|
102
|
+
function selectFiles(context, baseline, mode) {
|
|
103
|
+
const exempt = [...baseline.exempt, ...ALWAYS_EXEMPT];
|
|
104
|
+
const isExempt = (path) => exempt.some((glob) => matchesExemptGlob(path, glob));
|
|
105
|
+
if (mode.files === undefined) {
|
|
106
|
+
const visible = context.files().filter((path) => !isExempt(path));
|
|
107
|
+
return { visible, judged: undefined };
|
|
108
|
+
}
|
|
109
|
+
const judged = [...new Set(mode.files)].filter((path) => !isExempt(path) && context.exists(path));
|
|
110
|
+
if (judged.length === 0) {
|
|
111
|
+
return { visible: [], judged: new Set() };
|
|
112
|
+
}
|
|
113
|
+
const projects = context.files().filter(isTypeScriptProjectFile);
|
|
114
|
+
return {
|
|
115
|
+
visible: [...new Set([...projects, ...judged])],
|
|
116
|
+
judged: new Set(judged),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function judgeOutcomes(outcomes, baseline, mode, judged) {
|
|
120
|
+
const judgement = {
|
|
121
|
+
findings: [],
|
|
122
|
+
notes: [],
|
|
123
|
+
inventory: [],
|
|
124
|
+
ceilings: new Map(baseline.ceilings),
|
|
125
|
+
floors: new Map(baseline.floors),
|
|
126
|
+
};
|
|
127
|
+
for (const outcome of outcomes) {
|
|
128
|
+
judgeOne(judgement, outcome, mode, judged);
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
mode,
|
|
132
|
+
baseline: {
|
|
133
|
+
...baseline,
|
|
134
|
+
ceilings: judgement.ceilings,
|
|
135
|
+
floors: judgement.floors,
|
|
136
|
+
},
|
|
137
|
+
findings: judgement.findings,
|
|
138
|
+
notes: judgement.notes,
|
|
139
|
+
inventory: judgement.inventory,
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
function judgeOne(judgement, outcome, mode, judged) {
|
|
143
|
+
const signal = outcome.signal;
|
|
144
|
+
const section = baselineSectionOf(signal);
|
|
145
|
+
judgement.notes.push(...notesOf(section, outcome));
|
|
146
|
+
if (outcome.failure !== undefined) {
|
|
147
|
+
judgement.findings.push(notMeasured(section, outcome.failure));
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const ceiling = signal.direction === "ceiling";
|
|
151
|
+
const values = narrowValues(outcome, judged);
|
|
152
|
+
if (!ceiling && values.size === 0) {
|
|
153
|
+
judgement.notes.push(`${section}: not measured (no report)`);
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
const measure = {
|
|
157
|
+
name: section,
|
|
158
|
+
threshold: thresholdFor(signal, mode.profile) ?? 0,
|
|
159
|
+
unit: signal.unit,
|
|
160
|
+
};
|
|
161
|
+
const sections = ceiling ? judgement.ceilings : judgement.floors;
|
|
162
|
+
const entries = sections.get(section) ?? new Map();
|
|
163
|
+
recordInventory(judgement.inventory, signal, measure, entries, values);
|
|
164
|
+
const evaluated = ceiling
|
|
165
|
+
? evaluateCeiling(measure, entries, values, mode)
|
|
166
|
+
: evaluateFloor(measure, entries, values, mode);
|
|
167
|
+
judgement.findings.push(...evaluated.findings);
|
|
168
|
+
if (evaluated.entries.size > 0)
|
|
169
|
+
sections.set(section, evaluated.entries);
|
|
170
|
+
else
|
|
171
|
+
sections.delete(section);
|
|
172
|
+
}
|
|
173
|
+
/** What a signal said about how it answered, under its section's name. */
|
|
174
|
+
function notesOf(section, outcome) {
|
|
175
|
+
return (outcome.notes ?? []).map((note) => `${section}: ${note}`);
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* A signal that could not answer says so and fails nothing. The absence of a
|
|
179
|
+
* git history, of a TypeScript project, or of a date is not a loosening, and a
|
|
180
|
+
* gate that failed on it would be a gate nobody could run on their own
|
|
181
|
+
* repository.
|
|
182
|
+
*/
|
|
183
|
+
function notMeasured(section, reason) {
|
|
184
|
+
return {
|
|
185
|
+
level: "warning",
|
|
186
|
+
measure: section,
|
|
187
|
+
key: "",
|
|
188
|
+
value: undefined,
|
|
189
|
+
mark: undefined,
|
|
190
|
+
message: `not measured: ${reason}`,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* The numbers, keyed the way the baseline keys them. A narrowed run keeps only
|
|
195
|
+
* the keys it was narrowed to, which covers the signals that answer from
|
|
196
|
+
* somewhere other than the file list. A file-scoped run judges only the
|
|
197
|
+
* selected paths, whatever else a signal counted on the way.
|
|
198
|
+
*/
|
|
199
|
+
function narrowValues(outcome, judged) {
|
|
200
|
+
const values = new Map();
|
|
201
|
+
for (const [key, reading] of outcome.readings) {
|
|
202
|
+
if (judged !== undefined && !judged.has(key))
|
|
203
|
+
continue;
|
|
204
|
+
values.set(key, reading.value);
|
|
205
|
+
}
|
|
206
|
+
return values;
|
|
207
|
+
}
|
|
208
|
+
function recordInventory(inventory, signal, measure, entries, values) {
|
|
209
|
+
const ceiling = signal.direction === "ceiling";
|
|
210
|
+
for (const [key, value] of values) {
|
|
211
|
+
const entry = entries.get(key);
|
|
212
|
+
const movedTo = entry?.movedTo;
|
|
213
|
+
inventory.push({
|
|
214
|
+
measure: measure.name,
|
|
215
|
+
direction: signal.direction,
|
|
216
|
+
threshold: ceiling ? measure.threshold : null,
|
|
217
|
+
unit: measure.unit,
|
|
218
|
+
key,
|
|
219
|
+
value,
|
|
220
|
+
mark: entry?.value,
|
|
221
|
+
...(movedTo === undefined ? {} : { movedTo }),
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
// ---------------------------------------------------------------------------
|
|
226
|
+
// Comparing against a ref
|
|
227
|
+
// ---------------------------------------------------------------------------
|
|
228
|
+
/** The baseline names of the floors the gate only reports. */
|
|
229
|
+
function reportOnlyFloorMeasures(signals) {
|
|
230
|
+
return new Set(signals
|
|
231
|
+
.filter((signal) => signal.reportOnly === true)
|
|
232
|
+
.map((signal) => signal.measure ?? signal.id));
|
|
233
|
+
}
|
|
234
|
+
function comparedOutcome(input, context, baseline) {
|
|
235
|
+
const compared = compareToBase({
|
|
236
|
+
baseline,
|
|
237
|
+
context,
|
|
238
|
+
base: input.mode.base ?? "",
|
|
239
|
+
readAtRef: input.readAtRef ?? gitShowAtRef(input.root),
|
|
240
|
+
reportOnlyFloors: reportOnlyFloorMeasures(input.signals ?? DOCTOR_SIGNALS),
|
|
241
|
+
});
|
|
242
|
+
return {
|
|
243
|
+
mode: input.mode,
|
|
244
|
+
baseline,
|
|
245
|
+
findings: compared.findings,
|
|
246
|
+
notes: compared.notes,
|
|
247
|
+
inventory: [],
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
/** One read-only `git show`, through the one function the doctor spawns git in. */
|
|
251
|
+
function gitShowAtRef(root) {
|
|
252
|
+
return (ref, path) => runGit(root, "show", [`${ref}:${path}`]);
|
|
253
|
+
}
|
|
254
|
+
// ---------------------------------------------------------------------------
|
|
255
|
+
// Writing
|
|
256
|
+
// ---------------------------------------------------------------------------
|
|
257
|
+
/**
|
|
258
|
+
* `--update` writes what it fixed even when something else still fails: a new
|
|
259
|
+
* offender elsewhere must not block the marks that legitimately came down.
|
|
260
|
+
* `--seed` writes even when it recorded nothing, so a repository that adopts
|
|
261
|
+
* the gate gets its baseline file.
|
|
262
|
+
*/
|
|
263
|
+
function writeBaseline(input, outcome, before) {
|
|
264
|
+
const mode = input.mode;
|
|
265
|
+
if (!mode.update && !mode.seed)
|
|
266
|
+
return false;
|
|
267
|
+
const serialized = serializeBaseline(outcome.baseline);
|
|
268
|
+
if (!mode.seed && serialized === before)
|
|
269
|
+
return false;
|
|
270
|
+
const write = input.write ?? defaultWrite(input.root);
|
|
271
|
+
write(BASELINE_PATH, serialized);
|
|
272
|
+
return true;
|
|
273
|
+
}
|
|
274
|
+
function defaultWrite(root) {
|
|
275
|
+
return (path, text) => {
|
|
276
|
+
writeFileSync(join(root, path), text);
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* What a seed run recorded, said out loud, because it wrote a tracked file.
|
|
281
|
+
* A seed only ever adds, so the numbers are the entries this run is
|
|
282
|
+
* responsible for and not the size of the baseline it joined.
|
|
283
|
+
*/
|
|
284
|
+
function withSeedNote(outcome, before) {
|
|
285
|
+
const ceilings = countEntries(outcome.baseline.ceilings) - countEntries(before.ceilings);
|
|
286
|
+
const floors = countEntries(outcome.baseline.floors) - countEntries(before.floors);
|
|
287
|
+
return {
|
|
288
|
+
...outcome,
|
|
289
|
+
notes: [
|
|
290
|
+
...outcome.notes,
|
|
291
|
+
`seeded ${ceilings} ceiling entries and ${floors} floor entries into ${BASELINE_PATH}`,
|
|
292
|
+
],
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
//# sourceMappingURL=doctor-gate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-gate.js","sourceRoot":"","sources":["../../src/doctor/doctor-gate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EACL,mBAAmB,GAGpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,GAGd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,EACb,YAAY,GAQb,MAAM,wBAAwB,C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ACjC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,YAAY,CAAC,IAAY;IAChC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE;QACpB,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,YAAY,CAAC,OAAoB,EAAE,MAAoB;IAC9D,MAAM,QAAQ,GACZ,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC1E,MAAM,MAAM,GACV,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE,OAAO;QACL,GAAG,OAAO;QACV,KAAK,EAAE;YACL,GAAG,OAAO,CAAC,KAAK;YAChB,UAAU,QAAQ,wBAAwB,MAAM,uBAAuB,aAAa,EAAE;SACvF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The report: one verdict per issue, one line per signal, and the sentence the
|
|
3
|
+
* verdict is answerable with.
|
|
4
|
+
*
|
|
5
|
+
* Three verdicts and no fourth. An issue is `present` when a signal with a
|
|
6
|
+
* threshold is over it, `partial` when a signal the strict profile judges saw
|
|
7
|
+
* something this profile only reports, and `absent` otherwise. Nothing is ever
|
|
8
|
+
* at warn: a signal either has a number to be judged against in this profile,
|
|
9
|
+
* or its line says it has none.
|
|
10
|
+
*
|
|
11
|
+
* A signal that is report-only in both profiles is information, not evidence.
|
|
12
|
+
* `blast-radius` says how far one change reaches; no count of reached packages
|
|
13
|
+
* is an illness, so no reading of it can make an issue partial. Only a signal
|
|
14
|
+
* that is report-only in `standard` and judged in `strict` is evidence: Dad
|
|
15
|
+
* has already said what the number should be, and has only declined to hold
|
|
16
|
+
* this profile to it yet.
|
|
17
|
+
*
|
|
18
|
+
* A floor is the same, and it is not a verdict. Its judge is the recorded
|
|
19
|
+
* baseline, which the gate reads; until then a floor prints its number, says
|
|
20
|
+
* `report`, and moves no verdict — a package with 439 error-level lint rules
|
|
21
|
+
* is not partially ill.
|
|
22
|
+
*
|
|
23
|
+
* A signal that ran and found nothing is not a signal that did not run. Only a
|
|
24
|
+
* failure is `not measured`; an empty map is `0 seen`, at the state the reading
|
|
25
|
+
* earned — `ok` under a threshold, `report` without one.
|
|
26
|
+
*
|
|
27
|
+
* Every line carries the number, the threshold, where the threshold came from,
|
|
28
|
+
* and the state, because a verdict a reader cannot check is one they will
|
|
29
|
+
* route around.
|
|
30
|
+
*/
|
|
31
|
+
import { type DoctorProfile, type DoctorSignal, type SignalDirection, type SignalEvidence, type SignalInput, type SignalUnit } from "./doctor-signal.js";
|
|
32
|
+
import type { SignalOutcome } from "./doctor-signals.js";
|
|
33
|
+
import type { DaddyIssue, DaddyIssueId } from "./issues.js";
|
|
34
|
+
export type IssueVerdict = "present" | "partial" | "absent";
|
|
35
|
+
export type SignalState = "over" | "ok" | "report" | "not measured";
|
|
36
|
+
export type ReportedReading = {
|
|
37
|
+
readonly key: string;
|
|
38
|
+
readonly value: number;
|
|
39
|
+
readonly evidence: readonly SignalEvidence[];
|
|
40
|
+
};
|
|
41
|
+
export type ReportedSignal = {
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly question: string;
|
|
44
|
+
readonly reads: SignalInput;
|
|
45
|
+
readonly unit: SignalUnit;
|
|
46
|
+
readonly direction: SignalDirection;
|
|
47
|
+
readonly measure: string | null;
|
|
48
|
+
readonly threshold: number | null;
|
|
49
|
+
readonly thresholdSource: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the strict profile holds this signal to a number. A signal no
|
|
52
|
+
* profile judges is information, and information moves no verdict.
|
|
53
|
+
*/
|
|
54
|
+
readonly judgedInStrict: boolean;
|
|
55
|
+
readonly state: SignalState;
|
|
56
|
+
readonly measured: number;
|
|
57
|
+
readonly over: number;
|
|
58
|
+
readonly total: number;
|
|
59
|
+
readonly sentence: string;
|
|
60
|
+
readonly failure: string | undefined;
|
|
61
|
+
/** What the signal said about how it answered, printed under its line. */
|
|
62
|
+
readonly notes: readonly string[];
|
|
63
|
+
readonly readings: readonly ReportedReading[];
|
|
64
|
+
};
|
|
65
|
+
export type ReportedIssue = {
|
|
66
|
+
readonly id: DaddyIssueId;
|
|
67
|
+
readonly title: string;
|
|
68
|
+
readonly anchor: string;
|
|
69
|
+
readonly sentence: string;
|
|
70
|
+
readonly verdict: IssueVerdict;
|
|
71
|
+
readonly signals: readonly ReportedSignal[];
|
|
72
|
+
};
|
|
73
|
+
export type DoctorReport = {
|
|
74
|
+
readonly ok: true;
|
|
75
|
+
readonly root: string;
|
|
76
|
+
readonly profile: DoctorProfile;
|
|
77
|
+
/** The date `--today` supplied, or `null`. Nothing here asks a clock. */
|
|
78
|
+
readonly today: string | null;
|
|
79
|
+
readonly issues: readonly ReportedIssue[];
|
|
80
|
+
};
|
|
81
|
+
export type DoctorReportInput = {
|
|
82
|
+
readonly root: string;
|
|
83
|
+
readonly profile: DoctorProfile;
|
|
84
|
+
readonly today: string | undefined;
|
|
85
|
+
readonly outcomes: readonly SignalOutcome[];
|
|
86
|
+
readonly issues: readonly DaddyIssue[];
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Groups the outcomes under their issues, in `DAD.md` order. A cross-listed
|
|
90
|
+
* signal is measured once and reported under every issue it evidences, so each
|
|
91
|
+
* issue's verdict sees it; the reading is the same object everywhere it
|
|
92
|
+
* appears.
|
|
93
|
+
*/
|
|
94
|
+
export declare function buildDoctorReport(input: DoctorReportInput): DoctorReport;
|
|
95
|
+
/** One machine-readable line, with the evidence behind every reading. */
|
|
96
|
+
export declare function renderDoctorJson(report: DoctorReport): string;
|
|
97
|
+
/** The human report: an issue, its signals, then the sentence it answers with. */
|
|
98
|
+
export declare function renderDoctorReport(report: DoctorReport): string;
|
|
99
|
+
/** What `dad doctor explain <issue-id>` prints: the essay, the test, the cure. */
|
|
100
|
+
export declare function renderIssueExplanation(issue: DaddyIssue, signals: readonly DoctorSignal[], profile: DoctorProfile): string;
|
|
101
|
+
//# sourceMappingURL=doctor-report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-report.d.ts","sourceRoot":"","sources":["../../src/doctor/doctor-report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQ5D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,OAAO,E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AM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;CACxC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY,CAqBxE;AA4FD,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAE7D;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAY/D;AAyCD,kFAAkF;AAClF,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,OAAO,EAAE,aAAa,GACrB,MAAM,CA2BR"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The report: one verdict per issue, one line per signal, and the sentence the
|
|
3
|
+
* verdict is answerable with.
|
|
4
|
+
*
|
|
5
|
+
* Three verdicts and no fourth. An issue is `present` when a signal with a
|
|
6
|
+
* threshold is over it, `partial` when a signal the strict profile judges saw
|
|
7
|
+
* something this profile only reports, and `absent` otherwise. Nothing is ever
|
|
8
|
+
* at warn: a signal either has a number to be judged against in this profile,
|
|
9
|
+
* or its line says it has none.
|
|
10
|
+
*
|
|
11
|
+
* A signal that is report-only in both profiles is information, not evidence.
|
|
12
|
+
* `blast-radius` says how far one change reaches; no count of reached packages
|
|
13
|
+
* is an illness, so no reading of it can make an issue partial. Only a signal
|
|
14
|
+
* that is report-only in `standard` and judged in `strict` is evidence: Dad
|
|
15
|
+
* has already said what the number should be, and has only declined to hold
|
|
16
|
+
* this profile to it yet.
|
|
17
|
+
*
|
|
18
|
+
* A floor is the same, and it is not a verdict. Its judge is the recorded
|
|
19
|
+
* baseline, which the gate reads; until then a floor prints its number, says
|
|
20
|
+
* `report`, and moves no verdict — a package with 439 error-level lint rules
|
|
21
|
+
* is not partially ill.
|
|
22
|
+
*
|
|
23
|
+
* A signal that ran and found nothing is not a signal that did not run. Only a
|
|
24
|
+
* failure is `not measured`; an empty map is `0 seen`, at the state the reading
|
|
25
|
+
* earned — `ok` under a threshold, `report` without one.
|
|
26
|
+
*
|
|
27
|
+
* Every line carries the number, the threshold, where the threshold came from,
|
|
28
|
+
* and the state, because a verdict a reader cannot check is one they will
|
|
29
|
+
* route around.
|
|
30
|
+
*/
|
|
31
|
+
import { signalEvidences, thresholdFor, } from "./doctor-signal.js";
|
|
32
|
+
const ISSUE_WIDTH = 62;
|
|
33
|
+
const SIGNAL_WIDTH = 34;
|
|
34
|
+
const AMOUNT_WIDTH = 24;
|
|
35
|
+
const SOURCE_WIDTH = 24;
|
|
36
|
+
const SENTENCE_WIDTH = 74;
|
|
37
|
+
/**
|
|
38
|
+
* Groups the outcomes under their issues, in `DAD.md` order. A cross-listed
|
|
39
|
+
* signal is measured once and reported under every issue it evidences, so each
|
|
40
|
+
* issue's verdict sees it; the reading is the same object everywhere it
|
|
41
|
+
* appears.
|
|
42
|
+
*/
|
|
43
|
+
export function buildDoctorReport(input) {
|
|
44
|
+
const issues = input.issues.map((issue) => {
|
|
45
|
+
const signals = input.outcomes
|
|
46
|
+
.filter((outcome) => signalEvidences(outcome.signal, issue.id))
|
|
47
|
+
.map((outcome) => reportSignal(outcome, input.profile));
|
|
48
|
+
return {
|
|
49
|
+
id: issue.id,
|
|
50
|
+
title: issue.title,
|
|
51
|
+
anchor: issue.anchor,
|
|
52
|
+
sentence: issue.sentence,
|
|
53
|
+
verdict: verdictOf(signals),
|
|
54
|
+
signals,
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
return {
|
|
58
|
+
ok: true,
|
|
59
|
+
root: input.root,
|
|
60
|
+
profile: input.profile,
|
|
61
|
+
today: input.today ?? null,
|
|
62
|
+
issues,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function reportSignal(outcome, profile) {
|
|
66
|
+
const signal = outcome.signal;
|
|
67
|
+
const threshold = thresholdFor(signal, profile);
|
|
68
|
+
const values = [...outcome.readings.values()].map((reading) => reading.value);
|
|
69
|
+
const over = threshold === null
|
|
70
|
+
? values.filter((value) => value > 0).length
|
|
71
|
+
: values.filter((value) => value > threshold).length;
|
|
72
|
+
return {
|
|
73
|
+
id: signal.id,
|
|
74
|
+
question: signal.question,
|
|
75
|
+
reads: signal.reads,
|
|
76
|
+
unit: signal.unit,
|
|
77
|
+
direction: signal.direction,
|
|
78
|
+
measure: signal.measure ?? null,
|
|
79
|
+
threshold,
|
|
80
|
+
thresholdSource: describeThreshold(signal, profile),
|
|
81
|
+
judgedInStrict: signal.thresholds.strict !== null,
|
|
82
|
+
state: stateOf(outcome, signal.direction, threshold, over),
|
|
83
|
+
measured: outcome.readings.size,
|
|
84
|
+
over,
|
|
85
|
+
total: values.reduce((sum, value) => sum + value, 0),
|
|
86
|
+
sentence: signal.sentence,
|
|
87
|
+
failure: outcome.failure,
|
|
88
|
+
notes: outcome.notes ?? [],
|
|
89
|
+
readings: selectReadings(outcome, threshold),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A thresholded ceiling reports the keys that are over it; everything else
|
|
94
|
+
* reports every key it read, because that is the whole of what it found.
|
|
95
|
+
*/
|
|
96
|
+
function selectReadings(outcome, threshold) {
|
|
97
|
+
const reported = [];
|
|
98
|
+
for (const [key, reading] of outcome.readings) {
|
|
99
|
+
if (threshold !== null && reading.value <= threshold)
|
|
100
|
+
continue;
|
|
101
|
+
reported.push({ key, value: reading.value, evidence: reading.evidence });
|
|
102
|
+
}
|
|
103
|
+
return reported;
|
|
104
|
+
}
|
|
105
|
+
function stateOf(outcome, direction, threshold, over) {
|
|
106
|
+
if (outcome.failure !== undefined)
|
|
107
|
+
return "not measured";
|
|
108
|
+
if (direction === "floor" || threshold === null)
|
|
109
|
+
return "report";
|
|
110
|
+
return over > 0 ? "over" : "ok";
|
|
111
|
+
}
|
|
112
|
+
function describeThreshold(signal, profile) {
|
|
113
|
+
if (signal.direction === "floor")
|
|
114
|
+
return "Dad: floor";
|
|
115
|
+
const threshold = thresholdFor(signal, profile);
|
|
116
|
+
if (threshold === null)
|
|
117
|
+
return "Dad: report-only";
|
|
118
|
+
const amount = signal.unit === "count" ? `${threshold}` : `${threshold} ${signal.unit}`;
|
|
119
|
+
const tightened = profile === "strict" &&
|
|
120
|
+
signal.thresholds.strict !== signal.thresholds.standard;
|
|
121
|
+
return tightened ? `Dad: ${amount}; strict` : `Dad: ${amount}`;
|
|
122
|
+
}
|
|
123
|
+
function verdictOf(signals) {
|
|
124
|
+
if (signals.some((signal) => signal.state === "over"))
|
|
125
|
+
return "present";
|
|
126
|
+
const seen = signals.some((signal) => signal.direction === "ceiling" &&
|
|
127
|
+
signal.threshold === null &&
|
|
128
|
+
signal.judgedInStrict &&
|
|
129
|
+
signal.over > 0);
|
|
130
|
+
return seen ? "partial" : "absent";
|
|
131
|
+
}
|
|
132
|
+
// ---------------------------------------------------------------------------
|
|
133
|
+
// Rendering
|
|
134
|
+
// ---------------------------------------------------------------------------
|
|
135
|
+
/** One machine-readable line, with the evidence behind every reading. */
|
|
136
|
+
export function renderDoctorJson(report) {
|
|
137
|
+
return `${JSON.stringify(report)}\n`;
|
|
138
|
+
}
|
|
139
|
+
/** The human report: an issue, its signals, then the sentence it answers with. */
|
|
140
|
+
export function renderDoctorReport(report) {
|
|
141
|
+
const lines = [];
|
|
142
|
+
for (const issue of report.issues) {
|
|
143
|
+
lines.push(`${issue.title.padEnd(ISSUE_WIDTH)}${issue.verdict}`);
|
|
144
|
+
if (issue.signals.length === 0) {
|
|
145
|
+
lines.push(" no signal reads this issue yet");
|
|
146
|
+
}
|
|
147
|
+
lines.push(...issue.signals.flatMap(renderSignalLines));
|
|
148
|
+
lines.push(...wrapSentence(issue.sentence));
|
|
149
|
+
lines.push("");
|
|
150
|
+
}
|
|
151
|
+
return `${lines.join("\n").trimEnd()}\n`;
|
|
152
|
+
}
|
|
153
|
+
function renderSignalLines(signal) {
|
|
154
|
+
const amount = describeAmount(signal).padEnd(AMOUNT_WIDTH);
|
|
155
|
+
const source = `(${signal.thresholdSource})`.padEnd(SOURCE_WIDTH);
|
|
156
|
+
return [
|
|
157
|
+
` ${signal.id.padEnd(SIGNAL_WIDTH)}${amount}${source}${signal.state}`,
|
|
158
|
+
...signal.notes.map((note) => ` note: ${note}`),
|
|
159
|
+
];
|
|
160
|
+
}
|
|
161
|
+
function describeAmount(signal) {
|
|
162
|
+
if (signal.failure !== undefined)
|
|
163
|
+
return signal.failure;
|
|
164
|
+
if (signal.direction === "floor")
|
|
165
|
+
return `${signal.total} counted`;
|
|
166
|
+
if (signal.measured === 0)
|
|
167
|
+
return "0 seen";
|
|
168
|
+
if (signal.threshold === null) {
|
|
169
|
+
return `${signal.over} of ${signal.measured} seen`;
|
|
170
|
+
}
|
|
171
|
+
return `${signal.over} of ${signal.measured} over`;
|
|
172
|
+
}
|
|
173
|
+
function wrapSentence(sentence) {
|
|
174
|
+
const lines = [];
|
|
175
|
+
let current = "";
|
|
176
|
+
for (const word of sentence.split(" ")) {
|
|
177
|
+
const candidate = current.length === 0 ? word : `${current} ${word}`;
|
|
178
|
+
if (candidate.length > SENTENCE_WIDTH) {
|
|
179
|
+
lines.push(` ${current}`);
|
|
180
|
+
current = word;
|
|
181
|
+
continue;
|
|
182
|
+
}
|
|
183
|
+
current = candidate;
|
|
184
|
+
}
|
|
185
|
+
if (current.length > 0)
|
|
186
|
+
lines.push(` ${current}`);
|
|
187
|
+
return lines;
|
|
188
|
+
}
|
|
189
|
+
// ---------------------------------------------------------------------------
|
|
190
|
+
// Explaining one issue
|
|
191
|
+
// ---------------------------------------------------------------------------
|
|
192
|
+
/** What `dad doctor explain <issue-id>` prints: the essay, the test, the cure. */
|
|
193
|
+
export function renderIssueExplanation(issue, signals, profile) {
|
|
194
|
+
const lines = [
|
|
195
|
+
issue.title,
|
|
196
|
+
"",
|
|
197
|
+
...wrapSentence(issue.sentence),
|
|
198
|
+
"",
|
|
199
|
+
`Essay: DAD.md${issue.anchor}`,
|
|
200
|
+
`Companion: docs/daddy-issues.md${issue.anchor}`,
|
|
201
|
+
"",
|
|
202
|
+
"Test:",
|
|
203
|
+
...issue.questions.map((question, index) => ` ${index + 1}. ${question.text} (${question.signals.join(", ")})`),
|
|
204
|
+
"",
|
|
205
|
+
"Signals Dad measures today:",
|
|
206
|
+
...(signals.length === 0
|
|
207
|
+
? [" none yet"]
|
|
208
|
+
: signals.map((signal) => ` ${signal.id.padEnd(SIGNAL_WIDTH)}${describeThreshold(signal, profile)}`)),
|
|
209
|
+
"",
|
|
210
|
+
"Cure:",
|
|
211
|
+
...wrapSentence(issue.cure),
|
|
212
|
+
];
|
|
213
|
+
return `${lines.join("\n")}\n`;
|
|
214
|
+
}
|
|
215
|
+
//# sourceMappingURL=doctor-report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-report.js","sourceRoot":"","sources":["../../src/doctor/doctor-report.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EACL,eAAe,EACf,YAAY,GAOb,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,cAAc,GAAG,EAAE,CAAC;AAkE1B;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAwB;IACxD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CA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