@shrkcrft/inspector 0.1.0-alpha.30 → 0.1.0-alpha.32
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/dist/acceptance-replay.js +1 -1
- package/dist/agent-contract-templates.js +6 -6
- package/dist/agent-contract.d.ts.map +1 -1
- package/dist/agent-contract.js +13 -8
- package/dist/agent-orchestration.js +2 -2
- package/dist/agent-task-prep.d.ts +16 -0
- package/dist/agent-task-prep.d.ts.map +1 -1
- package/dist/agent-task-prep.js +60 -5
- package/dist/ai-readiness.d.ts.map +1 -1
- package/dist/ai-readiness.js +21 -3
- package/dist/architecture-map.d.ts +16 -0
- package/dist/architecture-map.d.ts.map +1 -1
- package/dist/architecture-map.js +42 -26
- package/dist/area-explore.d.ts +2 -2
- package/dist/area-explore.d.ts.map +1 -1
- package/dist/area-explore.js +36 -16
- package/dist/area-map.d.ts +56 -11
- package/dist/area-map.d.ts.map +1 -1
- package/dist/area-map.js +106 -25
- package/dist/asset-doctor-proposed-exit.d.ts +21 -0
- package/dist/asset-doctor-proposed-exit.d.ts.map +1 -0
- package/dist/asset-doctor-proposed-exit.js +22 -0
- package/dist/asset-provenance.js +1 -1
- package/dist/boundaries-changed-only.d.ts +24 -1
- package/dist/boundaries-changed-only.d.ts.map +1 -1
- package/dist/boundaries-changed-only.js +12 -2
- package/dist/boundary-check-options.model.d.ts +40 -0
- package/dist/boundary-check-options.model.d.ts.map +1 -0
- package/dist/boundary-check-options.model.js +1 -0
- package/dist/boundary-check-result.model.d.ts +89 -0
- package/dist/boundary-check-result.model.d.ts.map +1 -0
- package/dist/boundary-check-result.model.js +1 -0
- package/dist/boundary-configuration-status.d.ts +38 -0
- package/dist/boundary-configuration-status.d.ts.map +1 -0
- package/dist/boundary-configuration-status.js +118 -0
- package/dist/boundary-configuration-status.model.d.ts +37 -0
- package/dist/boundary-configuration-status.model.d.ts.map +1 -0
- package/dist/boundary-configuration-status.model.js +1 -0
- package/dist/boundary-load-issue.model.d.ts +30 -0
- package/dist/boundary-load-issue.model.d.ts.map +1 -0
- package/dist/boundary-load-issue.model.js +1 -0
- package/dist/boundary-rule-check.model.d.ts +44 -0
- package/dist/boundary-rule-check.model.d.ts.map +1 -0
- package/dist/boundary-rule-check.model.js +1 -0
- package/dist/boundary-rule-invalidation.model.d.ts +31 -0
- package/dist/boundary-rule-invalidation.model.d.ts.map +1 -0
- package/dist/boundary-rule-invalidation.model.js +1 -0
- package/dist/boundary-rule-set-diff.model.d.ts +75 -0
- package/dist/boundary-rule-set-diff.model.d.ts.map +1 -0
- package/dist/boundary-rule-set-diff.model.js +1 -0
- package/dist/boundary-rule-sources.d.ts +28 -0
- package/dist/boundary-rule-sources.d.ts.map +1 -0
- package/dist/boundary-rule-sources.js +110 -0
- package/dist/boundary-stale-exception-finding.model.d.ts +12 -0
- package/dist/boundary-stale-exception-finding.model.d.ts.map +1 -0
- package/dist/boundary-stale-exception-finding.model.js +1 -0
- package/dist/boundary-unit-liveness.d.ts +35 -0
- package/dist/boundary-unit-liveness.d.ts.map +1 -0
- package/dist/boundary-unit-liveness.js +71 -0
- package/dist/change-intent.d.ts +3 -0
- package/dist/change-intent.d.ts.map +1 -1
- package/dist/change-intent.js +61 -27
- package/dist/changes-summary.d.ts.map +1 -1
- package/dist/changes-summary.js +19 -9
- package/dist/ci-integrity-report.js +1 -1
- package/dist/ci-predict.d.ts.map +1 -1
- package/dist/ci-predict.js +38 -5
- package/dist/code-intelligence-doctor.d.ts +6 -0
- package/dist/code-intelligence-doctor.d.ts.map +1 -1
- package/dist/code-intelligence-doctor.js +22 -7
- package/dist/codemod-assist.d.ts.map +1 -1
- package/dist/codemod-assist.js +3 -1
- package/dist/command-recommender.d.ts +45 -2
- package/dist/command-recommender.d.ts.map +1 -1
- package/dist/command-recommender.js +41 -263
- package/dist/command-resolution-status.d.ts +44 -0
- package/dist/command-resolution-status.d.ts.map +1 -0
- package/dist/command-resolution-status.js +44 -0
- package/dist/command-safety-level.d.ts +15 -0
- package/dist/command-safety-level.d.ts.map +1 -0
- package/dist/command-safety-level.js +43 -0
- package/dist/command-taxonomy.js +1 -1
- package/dist/comment-syntax.d.ts +15 -0
- package/dist/comment-syntax.d.ts.map +1 -0
- package/dist/comment-syntax.js +15 -0
- package/dist/compliance-evidence.js +1 -1
- package/dist/compliance-profiles.js +1 -1
- package/dist/construct-registry.d.ts +40 -0
- package/dist/construct-registry.d.ts.map +1 -1
- package/dist/construct-registry.js +186 -82
- package/dist/context-tuning.d.ts +4 -0
- package/dist/context-tuning.d.ts.map +1 -1
- package/dist/context-tuning.js +10 -7
- package/dist/contract-template-registry.d.ts +10 -0
- package/dist/contract-template-registry.d.ts.map +1 -1
- package/dist/contract-template-registry.js +59 -33
- package/dist/contribution-kind.d.ts +52 -0
- package/dist/contribution-kind.d.ts.map +1 -0
- package/dist/contribution-kind.js +52 -0
- package/dist/contribution-load-failures.d.ts +122 -0
- package/dist/contribution-load-failures.d.ts.map +1 -0
- package/dist/contribution-load-failures.js +592 -0
- package/dist/contributions-report.d.ts +28 -0
- package/dist/contributions-report.d.ts.map +1 -0
- package/dist/contributions-report.js +242 -0
- package/dist/convention-applicability.d.ts +46 -0
- package/dist/convention-applicability.d.ts.map +1 -0
- package/dist/convention-applicability.js +247 -0
- package/dist/convention-filter-level.d.ts +13 -0
- package/dist/convention-filter-level.d.ts.map +1 -0
- package/dist/convention-filter-level.js +13 -0
- package/dist/convention-registry.d.ts +51 -4
- package/dist/convention-registry.d.ts.map +1 -1
- package/dist/convention-registry.js +135 -60
- package/dist/coverage-report.d.ts.map +1 -1
- package/dist/coverage-report.js +6 -6
- package/dist/custom-checks.d.ts +60 -1
- package/dist/custom-checks.d.ts.map +1 -1
- package/dist/custom-checks.js +161 -6
- package/dist/dashboard/dashboard-data.d.ts +6 -0
- package/dist/dashboard/dashboard-data.d.ts.map +1 -1
- package/dist/dashboard/dashboard-data.js +99 -8
- package/dist/dashboard/dashboard-knowledge.d.ts.map +1 -1
- package/dist/dashboard/dashboard-knowledge.js +14 -2
- package/dist/decision-records.d.ts +24 -0
- package/dist/decision-records.d.ts.map +1 -1
- package/dist/decision-records.js +231 -84
- package/dist/declared-cross-references.d.ts +61 -0
- package/dist/declared-cross-references.d.ts.map +1 -0
- package/dist/declared-cross-references.js +550 -0
- package/dist/declared-gate-plane-rules.d.ts +24 -0
- package/dist/declared-gate-plane-rules.d.ts.map +1 -0
- package/dist/declared-gate-plane-rules.js +39 -0
- package/dist/declared-reference-coverage.d.ts +27 -0
- package/dist/declared-reference-coverage.d.ts.map +1 -0
- package/dist/declared-reference-coverage.js +55 -0
- package/dist/declared-xref-status.d.ts +19 -0
- package/dist/declared-xref-status.d.ts.map +1 -0
- package/dist/declared-xref-status.js +19 -0
- package/dist/delegate-pack-recipes.d.ts +13 -2
- package/dist/delegate-pack-recipes.d.ts.map +1 -1
- package/dist/delegate-pack-recipes.js +45 -14
- package/dist/demo-package.js +2 -2
- package/dist/demo-script.js +2 -2
- package/dist/demo-workflow.js +3 -3
- package/dist/dev-cycle.js +1 -1
- package/dist/dev-session.js +1 -1
- package/dist/doc-references.d.ts +23 -2
- package/dist/doc-references.d.ts.map +1 -1
- package/dist/doc-references.js +96 -17
- package/dist/doctor-result.d.ts +8 -0
- package/dist/doctor-result.d.ts.map +1 -1
- package/dist/doctor-verdict-kind.d.ts +19 -0
- package/dist/doctor-verdict-kind.d.ts.map +1 -0
- package/dist/doctor-verdict-kind.js +19 -0
- package/dist/doctor-verdict.d.ts +18 -0
- package/dist/doctor-verdict.d.ts.map +1 -0
- package/dist/doctor-verdict.js +28 -0
- package/dist/drift.d.ts +17 -0
- package/dist/drift.d.ts.map +1 -1
- package/dist/drift.js +40 -10
- package/dist/entrypoint-matrix.d.ts.map +1 -1
- package/dist/entrypoint-matrix.js +4 -1
- package/dist/feedback-ingestion.d.ts +28 -2
- package/dist/feedback-ingestion.d.ts.map +1 -1
- package/dist/feedback-ingestion.js +75 -20
- package/dist/file-languages.d.ts +9 -0
- package/dist/file-languages.d.ts.map +1 -0
- package/dist/file-languages.js +91 -0
- package/dist/fix-preview.d.ts.map +1 -1
- package/dist/fix-preview.js +87 -22
- package/dist/framework-extractor-outcomes.d.ts +27 -0
- package/dist/framework-extractor-outcomes.d.ts.map +1 -0
- package/dist/framework-extractor-outcomes.js +83 -0
- package/dist/fuzzy-impact.d.ts.map +1 -1
- package/dist/fuzzy-impact.js +3 -2
- package/dist/git-helpers.d.ts +29 -4
- package/dist/git-helpers.d.ts.map +1 -1
- package/dist/git-helpers.js +69 -10
- package/dist/healing-plan.d.ts.map +1 -1
- package/dist/healing-plan.js +3 -4
- package/dist/helper-catalog.d.ts +25 -0
- package/dist/helper-catalog.d.ts.map +1 -0
- package/dist/helper-catalog.js +91 -0
- package/dist/helper-registry.d.ts.map +1 -1
- package/dist/helper-registry.js +17 -1
- package/dist/helper-view.d.ts +33 -0
- package/dist/helper-view.d.ts.map +1 -0
- package/dist/helper-view.js +1 -0
- package/dist/i-asset-doctor-flags.d.ts +16 -0
- package/dist/i-asset-doctor-flags.d.ts.map +1 -0
- package/dist/i-asset-doctor-flags.js +1 -0
- package/dist/i-command-resolution.d.ts +22 -0
- package/dist/i-command-resolution.d.ts.map +1 -0
- package/dist/i-command-resolution.js +1 -0
- package/dist/i-command-resolve-options.d.ts +24 -0
- package/dist/i-command-resolve-options.d.ts.map +1 -0
- package/dist/i-command-resolve-options.js +1 -0
- package/dist/i-command-safety.d.ts +13 -0
- package/dist/i-command-safety.d.ts.map +1 -0
- package/dist/i-command-safety.js +1 -0
- package/dist/i-contribution-accepted-entry.d.ts +18 -0
- package/dist/i-contribution-accepted-entry.d.ts.map +1 -0
- package/dist/i-contribution-accepted-entry.js +1 -0
- package/dist/i-contribution-entry-rejection.d.ts +21 -0
- package/dist/i-contribution-entry-rejection.d.ts.map +1 -0
- package/dist/i-contribution-entry-rejection.js +1 -0
- package/dist/i-contribution-file-issue.d.ts +18 -0
- package/dist/i-contribution-file-issue.d.ts.map +1 -0
- package/dist/i-contribution-file-issue.js +1 -0
- package/dist/i-contribution-file-report.d.ts +40 -0
- package/dist/i-contribution-file-report.d.ts.map +1 -0
- package/dist/i-contribution-file-report.js +1 -0
- package/dist/i-contribution-file-validation.d.ts +32 -0
- package/dist/i-contribution-file-validation.d.ts.map +1 -0
- package/dist/i-contribution-file-validation.js +1 -0
- package/dist/i-contributions-report.d.ts +31 -0
- package/dist/i-contributions-report.d.ts.map +1 -0
- package/dist/i-contributions-report.js +1 -0
- package/dist/i-convention-applicability-reason.d.ts +29 -0
- package/dist/i-convention-applicability-reason.d.ts.map +1 -0
- package/dist/i-convention-applicability-reason.js +1 -0
- package/dist/i-convention-applicability.d.ts +9 -0
- package/dist/i-convention-applicability.d.ts.map +1 -0
- package/dist/i-convention-applicability.js +1 -0
- package/dist/i-convention-scope.d.ts +19 -0
- package/dist/i-convention-scope.d.ts.map +1 -0
- package/dist/i-convention-scope.js +1 -0
- package/dist/i-declared-xref-field.d.ts +25 -0
- package/dist/i-declared-xref-field.d.ts.map +1 -0
- package/dist/i-declared-xref-field.js +1 -0
- package/dist/i-declared-xref-issue.d.ts +25 -0
- package/dist/i-declared-xref-issue.d.ts.map +1 -0
- package/dist/i-declared-xref-issue.js +1 -0
- package/dist/i-declared-xref-report.d.ts +48 -0
- package/dist/i-declared-xref-report.d.ts.map +1 -0
- package/dist/i-declared-xref-report.js +1 -0
- package/dist/i-declared-xref-row.d.ts +29 -0
- package/dist/i-declared-xref-row.d.ts.map +1 -0
- package/dist/i-declared-xref-row.js +1 -0
- package/dist/i-doctor-verdict.d.ts +10 -0
- package/dist/i-doctor-verdict.d.ts.map +1 -0
- package/dist/i-doctor-verdict.js +1 -0
- package/dist/i-file-language.d.ts +11 -0
- package/dist/i-file-language.d.ts.map +1 -0
- package/dist/i-file-language.js +1 -0
- package/dist/i-kind-outcomes.d.ts +13 -0
- package/dist/i-kind-outcomes.d.ts.map +1 -0
- package/dist/i-kind-outcomes.js +1 -0
- package/dist/i-not-applicable-convention.d.ts +17 -0
- package/dist/i-not-applicable-convention.d.ts.map +1 -0
- package/dist/i-not-applicable-convention.js +1 -0
- package/dist/i-pack-doctor-verdict.d.ts +15 -0
- package/dist/i-pack-doctor-verdict.d.ts.map +1 -0
- package/dist/i-pack-doctor-verdict.js +1 -0
- package/dist/i-probed-id-field.d.ts +17 -0
- package/dist/i-probed-id-field.d.ts.map +1 -0
- package/dist/i-probed-id-field.js +1 -0
- package/dist/i-reference-kind-declaration.d.ts +38 -0
- package/dist/i-reference-kind-declaration.d.ts.map +1 -0
- package/dist/i-reference-kind-declaration.js +1 -0
- package/dist/i-reference-pack-origin.d.ts +13 -0
- package/dist/i-reference-pack-origin.d.ts.map +1 -0
- package/dist/i-reference-pack-origin.js +1 -0
- package/dist/i-reference-warm-options.d.ts +21 -0
- package/dist/i-reference-warm-options.d.ts.map +1 -0
- package/dist/i-reference-warm-options.js +1 -0
- package/dist/i-registry-outcomes.d.ts +16 -0
- package/dist/i-registry-outcomes.d.ts.map +1 -0
- package/dist/i-registry-outcomes.js +1 -0
- package/dist/i-scaffold-pattern-doctor-report.d.ts +35 -0
- package/dist/i-scaffold-pattern-doctor-report.d.ts.map +1 -0
- package/dist/i-scaffold-pattern-doctor-report.js +1 -0
- package/dist/i-search-tuning-key-probe.d.ts +30 -0
- package/dist/i-search-tuning-key-probe.d.ts.map +1 -0
- package/dist/i-search-tuning-key-probe.js +1 -0
- package/dist/i-search-tuning-lint-issue.d.ts +61 -0
- package/dist/i-search-tuning-lint-issue.d.ts.map +1 -0
- package/dist/i-search-tuning-lint-issue.js +1 -0
- package/dist/i-search-tuning-lint-report.d.ts +38 -0
- package/dist/i-search-tuning-lint-report.d.ts.map +1 -0
- package/dist/i-search-tuning-lint-report.js +1 -0
- package/dist/i-stale-path-hint-input.d.ts +18 -0
- package/dist/i-stale-path-hint-input.d.ts.map +1 -0
- package/dist/i-stale-path-hint-input.js +1 -0
- package/dist/i-unresolvable-reference-scan.d.ts +14 -0
- package/dist/i-unresolvable-reference-scan.d.ts.map +1 -0
- package/dist/i-unresolvable-reference-scan.js +1 -0
- package/dist/i-unresolvable-reference.d.ts +29 -0
- package/dist/i-unresolvable-reference.d.ts.map +1 -0
- package/dist/i-unresolvable-reference.js +1 -0
- package/dist/i-unverifiable-remedy-group.d.ts +10 -0
- package/dist/i-unverifiable-remedy-group.d.ts.map +1 -0
- package/dist/i-unverifiable-remedy-group.js +1 -0
- package/dist/i-workspace-profile-payload.d.ts +12 -0
- package/dist/i-workspace-profile-payload.d.ts.map +1 -0
- package/dist/i-workspace-profile-payload.js +1 -0
- package/dist/impact-analysis.d.ts +15 -0
- package/dist/impact-analysis.d.ts.map +1 -1
- package/dist/impact-analysis.js +58 -13
- package/dist/impact-render.d.ts.map +1 -1
- package/dist/impact-render.js +22 -0
- package/dist/import-hygiene.d.ts +35 -1
- package/dist/import-hygiene.d.ts.map +1 -1
- package/dist/import-hygiene.js +107 -13
- package/dist/index.d.ts +158 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +197 -0
- package/dist/inspection-discovery.d.ts +45 -0
- package/dist/inspection-discovery.d.ts.map +1 -0
- package/dist/inspection-discovery.js +70 -0
- package/dist/knowledge-advisory-code.d.ts +17 -0
- package/dist/knowledge-advisory-code.d.ts.map +1 -0
- package/dist/knowledge-advisory-code.js +17 -0
- package/dist/knowledge-aged-entry.d.ts +10 -0
- package/dist/knowledge-aged-entry.d.ts.map +1 -0
- package/dist/knowledge-aged-entry.js +1 -0
- package/dist/knowledge-authoring.d.ts +25 -2
- package/dist/knowledge-authoring.d.ts.map +1 -1
- package/dist/knowledge-authoring.js +53 -13
- package/dist/knowledge-contribution-slots.d.ts +18 -0
- package/dist/knowledge-contribution-slots.d.ts.map +1 -0
- package/dist/knowledge-contribution-slots.js +25 -0
- package/dist/knowledge-entry-rejections.d.ts +17 -0
- package/dist/knowledge-entry-rejections.d.ts.map +1 -0
- package/dist/knowledge-entry-rejections.js +79 -0
- package/dist/knowledge-entry-verdict-record.d.ts +34 -0
- package/dist/knowledge-entry-verdict-record.d.ts.map +1 -0
- package/dist/knowledge-entry-verdict-record.js +1 -0
- package/dist/knowledge-entry-verdict.d.ts +17 -0
- package/dist/knowledge-entry-verdict.d.ts.map +1 -0
- package/dist/knowledge-entry-verdict.js +17 -0
- package/dist/knowledge-graph.d.ts +6 -0
- package/dist/knowledge-graph.d.ts.map +1 -1
- package/dist/knowledge-graph.js +18 -7
- package/dist/knowledge-kind-bucket.d.ts +19 -0
- package/dist/knowledge-kind-bucket.d.ts.map +1 -0
- package/dist/knowledge-kind-bucket.js +1 -0
- package/dist/knowledge-load-failure.d.ts +23 -0
- package/dist/knowledge-load-failure.d.ts.map +1 -0
- package/dist/knowledge-load-failure.js +1 -0
- package/dist/knowledge-min-referenced-valve.d.ts +12 -0
- package/dist/knowledge-min-referenced-valve.d.ts.map +1 -0
- package/dist/knowledge-min-referenced-valve.js +12 -0
- package/dist/knowledge-reference-kind-bucket.d.ts +11 -0
- package/dist/knowledge-reference-kind-bucket.d.ts.map +1 -0
- package/dist/knowledge-reference-kind-bucket.js +1 -0
- package/dist/knowledge-rejected-entry.d.ts +28 -0
- package/dist/knowledge-rejected-entry.d.ts.map +1 -0
- package/dist/knowledge-rejected-entry.js +1 -0
- package/dist/knowledge-rename-command.d.ts +20 -0
- package/dist/knowledge-rename-command.d.ts.map +1 -0
- package/dist/knowledge-rename-command.js +34 -0
- package/dist/knowledge-rename-verb.d.ts +11 -0
- package/dist/knowledge-rename-verb.d.ts.map +1 -0
- package/dist/knowledge-rename-verb.js +11 -0
- package/dist/knowledge-rename.d.ts +1 -1
- package/dist/knowledge-rename.d.ts.map +1 -1
- package/dist/knowledge-rename.js +6 -5
- package/dist/knowledge-stale-advisory.d.ts +14 -0
- package/dist/knowledge-stale-advisory.d.ts.map +1 -0
- package/dist/knowledge-stale-advisory.js +1 -0
- package/dist/knowledge-stale-coverage.d.ts +19 -0
- package/dist/knowledge-stale-coverage.d.ts.map +1 -0
- package/dist/knowledge-stale-coverage.js +1 -0
- package/dist/knowledge-stale-gate-flags.d.ts +33 -0
- package/dist/knowledge-stale-gate-flags.d.ts.map +1 -0
- package/dist/knowledge-stale-gate-flags.js +1 -0
- package/dist/knowledge-stale-gate-input.d.ts +46 -0
- package/dist/knowledge-stale-gate-input.d.ts.map +1 -0
- package/dist/knowledge-stale-gate-input.js +1 -0
- package/dist/knowledge-stale-gate-result.d.ts +33 -0
- package/dist/knowledge-stale-gate-result.d.ts.map +1 -0
- package/dist/knowledge-stale-gate-result.js +1 -0
- package/dist/knowledge-stale-gate-rule.d.ts +33 -0
- package/dist/knowledge-stale-gate-rule.d.ts.map +1 -0
- package/dist/knowledge-stale-gate-rule.js +1 -0
- package/dist/knowledge-stale-gate-violation.d.ts +13 -0
- package/dist/knowledge-stale-gate-violation.d.ts.map +1 -0
- package/dist/knowledge-stale-gate-violation.js +1 -0
- package/dist/knowledge-stale-gate.d.ts +85 -0
- package/dist/knowledge-stale-gate.d.ts.map +1 -0
- package/dist/knowledge-stale-gate.js +501 -0
- package/dist/knowledge-stale-quality-gate.d.ts +26 -0
- package/dist/knowledge-stale-quality-gate.d.ts.map +1 -0
- package/dist/knowledge-stale-quality-gate.js +140 -0
- package/dist/knowledge-stale.d.ts +132 -9
- package/dist/knowledge-stale.d.ts.map +1 -1
- package/dist/knowledge-stale.js +1193 -294
- package/dist/knowledge-unverifiable-reason.d.ts +12 -0
- package/dist/knowledge-unverifiable-reason.d.ts.map +1 -0
- package/dist/knowledge-unverifiable-reason.js +12 -0
- package/dist/knowledge-unverifiable-remedy.d.ts +56 -0
- package/dist/knowledge-unverifiable-remedy.d.ts.map +1 -0
- package/dist/knowledge-unverifiable-remedy.js +0 -0
- package/dist/loader-diagnostics.d.ts +14 -2
- package/dist/loader-diagnostics.d.ts.map +1 -1
- package/dist/match-terms.d.ts +48 -0
- package/dist/match-terms.d.ts.map +1 -0
- package/dist/match-terms.js +155 -0
- package/dist/migration-profile-registry.d.ts +10 -0
- package/dist/migration-profile-registry.d.ts.map +1 -1
- package/dist/migration-profile-registry.js +57 -34
- package/dist/migration-readiness.d.ts.map +1 -1
- package/dist/migration-readiness.js +1 -3
- package/dist/nearest-id.d.ts +10 -26
- package/dist/nearest-id.d.ts.map +1 -1
- package/dist/nearest-id.js +9 -59
- package/dist/pack-asset-freshness.d.ts +65 -0
- package/dist/pack-asset-freshness.d.ts.map +1 -0
- package/dist/pack-asset-freshness.js +340 -0
- package/dist/pack-author-ux.d.ts +24 -3
- package/dist/pack-author-ux.d.ts.map +1 -1
- package/dist/pack-author-ux.js +87 -93
- package/dist/pack-contributions-inventory.d.ts +79 -39
- package/dist/pack-contributions-inventory.d.ts.map +1 -1
- package/dist/pack-contributions-inventory.js +445 -286
- package/dist/pack-doctor-verdict.d.ts +29 -0
- package/dist/pack-doctor-verdict.d.ts.map +1 -0
- package/dist/pack-doctor-verdict.js +45 -0
- package/dist/pack-doctor.d.ts +74 -1
- package/dist/pack-doctor.d.ts.map +1 -1
- package/dist/pack-doctor.js +281 -1
- package/dist/pack-helper-plan.d.ts +24 -0
- package/dist/pack-helper-plan.d.ts.map +1 -0
- package/dist/pack-helper-plan.js +77 -0
- package/dist/pack-helper-registry.d.ts +14 -0
- package/dist/pack-helper-registry.d.ts.map +1 -1
- package/dist/pack-helper-registry.js +76 -37
- package/dist/pack-manifest-reader.d.ts +8 -0
- package/dist/pack-manifest-reader.d.ts.map +1 -0
- package/dist/pack-manifest-reader.js +79 -0
- package/dist/pack-release-check.d.ts +14 -1
- package/dist/pack-release-check.d.ts.map +1 -1
- package/dist/pack-release-check.js +23 -1
- package/dist/pack-signature-status.d.ts +18 -6
- package/dist/pack-signature-status.d.ts.map +1 -1
- package/dist/pack-signature-status.js +59 -105
- package/dist/pack-test-runner.d.ts +27 -5
- package/dist/pack-test-runner.d.ts.map +1 -1
- package/dist/pack-test-runner.js +91 -35
- package/dist/pack-typecheck.d.ts +8 -0
- package/dist/pack-typecheck.d.ts.map +1 -0
- package/dist/pack-typecheck.js +76 -0
- package/dist/plan-review.d.ts +2 -0
- package/dist/plan-review.d.ts.map +1 -1
- package/dist/plan-review.js +17 -5
- package/dist/plan-simulation.d.ts.map +1 -1
- package/dist/plan-simulation.js +16 -5
- package/dist/playbook-load-issue.d.ts +16 -0
- package/dist/playbook-load-issue.d.ts.map +1 -0
- package/dist/playbook-load-issue.js +1 -0
- package/dist/playbook-registry.d.ts +32 -1
- package/dist/playbook-registry.d.ts.map +1 -1
- package/dist/playbook-registry.js +144 -55
- package/dist/policy-declaration.d.ts +18 -0
- package/dist/policy-declaration.d.ts.map +1 -0
- package/dist/policy-declaration.js +1 -0
- package/dist/policy-engine.d.ts +8 -0
- package/dist/policy-engine.d.ts.map +1 -1
- package/dist/policy-engine.js +26 -9
- package/dist/policy-overrides.d.ts.map +1 -1
- package/dist/policy-overrides.js +4 -4
- package/dist/policy-registry.d.ts +27 -0
- package/dist/policy-registry.d.ts.map +1 -1
- package/dist/policy-registry.js +87 -20
- package/dist/probed-id-fields.d.ts +21 -0
- package/dist/probed-id-fields.d.ts.map +1 -0
- package/dist/probed-id-fields.js +25 -0
- package/dist/probed-id-source.d.ts +11 -0
- package/dist/probed-id-source.d.ts.map +1 -0
- package/dist/probed-id-source.js +11 -0
- package/dist/profile-registry.d.ts +25 -2
- package/dist/profile-registry.d.ts.map +1 -1
- package/dist/profile-registry.js +59 -6
- package/dist/propose-knowledge.js +3 -2
- package/dist/quality-gate-examination.d.ts +15 -0
- package/dist/quality-gate-examination.d.ts.map +1 -0
- package/dist/quality-gate-examination.js +15 -0
- package/dist/quality-gate-row-status.d.ts +19 -0
- package/dist/quality-gate-row-status.d.ts.map +1 -0
- package/dist/quality-gate-row-status.js +28 -0
- package/dist/quality-gate-status.d.ts +16 -0
- package/dist/quality-gate-status.d.ts.map +1 -0
- package/dist/quality-gate-status.js +16 -0
- package/dist/quality-html.d.ts.map +1 -1
- package/dist/quality-html.js +14 -3
- package/dist/quality-report-coverage.d.ts +26 -0
- package/dist/quality-report-coverage.d.ts.map +1 -0
- package/dist/quality-report-coverage.js +48 -0
- package/dist/quality-report.d.ts +28 -1
- package/dist/quality-report.d.ts.map +1 -1
- package/dist/quality-report.js +263 -35
- package/dist/query-intent-kind.d.ts +18 -0
- package/dist/query-intent-kind.d.ts.map +1 -0
- package/dist/query-intent-kind.js +18 -0
- package/dist/query-intent-result.d.ts +23 -0
- package/dist/query-intent-result.d.ts.map +1 -0
- package/dist/query-intent-result.js +1 -0
- package/dist/query-intent.d.ts +18 -0
- package/dist/query-intent.d.ts.map +1 -0
- package/dist/query-intent.js +336 -0
- package/dist/query-resolver.d.ts +18 -0
- package/dist/query-resolver.d.ts.map +1 -1
- package/dist/query-resolver.js +7 -4
- package/dist/ranked-recommendations.d.ts +36 -0
- package/dist/ranked-recommendations.d.ts.map +1 -0
- package/dist/ranked-recommendations.js +1 -0
- package/dist/ranker-explainability.d.ts.map +1 -1
- package/dist/ranker-explainability.js +38 -10
- package/dist/recommend-recipe.d.ts +17 -0
- package/dist/recommend-recipe.d.ts.map +1 -0
- package/dist/recommend-recipe.js +1 -0
- package/dist/recommend-recipes.d.ts +9 -0
- package/dist/recommend-recipes.d.ts.map +1 -0
- package/dist/recommend-recipes.js +106 -0
- package/dist/recommendation-candidate.d.ts +30 -0
- package/dist/recommendation-candidate.d.ts.map +1 -0
- package/dist/recommendation-candidate.js +1 -0
- package/dist/recommendation-confidence.d.ts +27 -0
- package/dist/recommendation-confidence.d.ts.map +1 -0
- package/dist/recommendation-confidence.js +1 -0
- package/dist/recommendation-ranking-options.d.ts +24 -0
- package/dist/recommendation-ranking-options.d.ts.map +1 -0
- package/dist/recommendation-ranking-options.js +1 -0
- package/dist/recommendation-ranking.d.ts +50 -0
- package/dist/recommendation-ranking.d.ts.map +1 -0
- package/dist/recommendation-ranking.js +527 -0
- package/dist/recommendation-source.d.ts +23 -0
- package/dist/recommendation-source.d.ts.map +1 -0
- package/dist/recommendation-source.js +23 -0
- package/dist/recommendation-suppression.d.ts +14 -0
- package/dist/recommendation-suppression.d.ts.map +1 -0
- package/dist/recommendation-suppression.js +14 -0
- package/dist/reference-asset-kind.d.ts +14 -0
- package/dist/reference-asset-kind.d.ts.map +1 -0
- package/dist/reference-asset-kind.js +14 -0
- package/dist/reference-content-check.d.ts +32 -0
- package/dist/reference-content-check.d.ts.map +1 -0
- package/dist/reference-content-check.js +143 -0
- package/dist/reference-failure.d.ts +31 -0
- package/dist/reference-failure.d.ts.map +1 -0
- package/dist/reference-failure.js +31 -0
- package/dist/reference-id-status.d.ts +15 -0
- package/dist/reference-id-status.d.ts.map +1 -0
- package/dist/reference-id-status.js +15 -0
- package/dist/reference-kind-declarations.d.ts +42 -0
- package/dist/reference-kind-declarations.d.ts.map +1 -0
- package/dist/reference-kind-declarations.js +142 -0
- package/dist/reference-lookup.d.ts +6 -0
- package/dist/reference-lookup.d.ts.map +1 -1
- package/dist/reference-lookup.js +13 -5
- package/dist/reference-pack-origin.d.ts +18 -0
- package/dist/reference-pack-origin.d.ts.map +1 -0
- package/dist/reference-pack-origin.js +38 -0
- package/dist/reference-registry.d.ts +109 -11
- package/dist/reference-registry.d.ts.map +1 -1
- package/dist/reference-registry.js +186 -30
- package/dist/reference-subject.d.ts +20 -0
- package/dist/reference-subject.d.ts.map +1 -0
- package/dist/reference-subject.js +1 -0
- package/dist/registration-hint-discovery-status.d.ts +25 -0
- package/dist/registration-hint-discovery-status.d.ts.map +1 -0
- package/dist/registration-hint-discovery-status.js +25 -0
- package/dist/registration-hint-registry.d.ts +80 -0
- package/dist/registration-hint-registry.d.ts.map +1 -1
- package/dist/registration-hint-registry.js +356 -138
- package/dist/registry-lifecycle.d.ts +200 -19
- package/dist/registry-lifecycle.d.ts.map +1 -1
- package/dist/registry-lifecycle.js +526 -136
- package/dist/release-readiness.d.ts.map +1 -1
- package/dist/release-readiness.js +10 -7
- package/dist/release-smoke.d.ts.map +1 -1
- package/dist/release-smoke.js +11 -7
- package/dist/report-site.d.ts.map +1 -1
- package/dist/report-site.js +25 -7
- package/dist/repository-intelligence.d.ts.map +1 -1
- package/dist/repository-intelligence.js +3 -2
- package/dist/repository-knowledge-model.d.ts.map +1 -1
- package/dist/repository-knowledge-model.js +18 -5
- package/dist/repository-stats.d.ts.map +1 -1
- package/dist/repository-stats.js +3 -77
- package/dist/resolve-project-config.d.ts +64 -0
- package/dist/resolve-project-config.d.ts.map +1 -1
- package/dist/resolve-project-config.js +250 -33
- package/dist/reuse/compute-reuse-coverage.d.ts +29 -0
- package/dist/reuse/compute-reuse-coverage.d.ts.map +1 -0
- package/dist/reuse/compute-reuse-coverage.js +198 -0
- package/dist/reuse/rank-reuse-candidates.d.ts +38 -0
- package/dist/reuse/rank-reuse-candidates.d.ts.map +1 -0
- package/dist/reuse/rank-reuse-candidates.js +212 -0
- package/dist/reuse/rank-reuse-options.d.ts +20 -0
- package/dist/reuse/rank-reuse-options.d.ts.map +1 -0
- package/dist/reuse/rank-reuse-options.js +1 -0
- package/dist/reuse/rank-reuse-suggestions.d.ts +15 -0
- package/dist/reuse/rank-reuse-suggestions.d.ts.map +1 -0
- package/dist/reuse/rank-reuse-suggestions.js +31 -0
- package/dist/reuse/resolve-curated-reuse.d.ts +43 -0
- package/dist/reuse/resolve-curated-reuse.d.ts.map +1 -0
- package/dist/reuse/resolve-curated-reuse.js +115 -0
- package/dist/reuse/reuse-candidate.d.ts +29 -0
- package/dist/reuse/reuse-candidate.d.ts.map +1 -0
- package/dist/reuse/reuse-candidate.js +1 -0
- package/dist/reuse/reuse-coverage-report.d.ts +74 -0
- package/dist/reuse/reuse-coverage-report.d.ts.map +1 -0
- package/dist/reuse/reuse-coverage-report.js +1 -0
- package/dist/reuse/reuse-curated-coverage.d.ts +36 -0
- package/dist/reuse/reuse-curated-coverage.d.ts.map +1 -0
- package/dist/reuse/reuse-curated-coverage.js +1 -0
- package/dist/reuse/reuse-curated-resolution.d.ts +36 -0
- package/dist/reuse/reuse-curated-resolution.d.ts.map +1 -0
- package/dist/reuse/reuse-curated-resolution.js +1 -0
- package/dist/reuse/reuse-curated-status.d.ts +21 -0
- package/dist/reuse/reuse-curated-status.d.ts.map +1 -0
- package/dist/reuse/reuse-curated-status.js +21 -0
- package/dist/reuse/reuse-match-detail.d.ts +15 -0
- package/dist/reuse/reuse-match-detail.d.ts.map +1 -0
- package/dist/reuse/reuse-match-detail.js +1 -0
- package/dist/reuse/reuse-ranking.d.ts +37 -0
- package/dist/reuse/reuse-ranking.d.ts.map +1 -0
- package/dist/reuse/reuse-ranking.js +1 -0
- package/dist/reuse/reuse-suggestion.d.ts +19 -0
- package/dist/reuse/reuse-suggestion.d.ts.map +1 -0
- package/dist/reuse/reuse-suggestion.js +1 -0
- package/dist/reuse/reuse-symbol-lookup.d.ts +28 -0
- package/dist/reuse/reuse-symbol-lookup.d.ts.map +1 -0
- package/dist/reuse/reuse-symbol-lookup.js +1 -0
- package/dist/reuse/reuse-tokenize.d.ts +11 -0
- package/dist/reuse/reuse-tokenize.d.ts.map +1 -0
- package/dist/reuse/reuse-tokenize.js +26 -0
- package/dist/reuse/score-reuse-name.d.ts +16 -0
- package/dist/reuse/score-reuse-name.d.ts.map +1 -0
- package/dist/reuse/score-reuse-name.js +35 -0
- package/dist/reuse/score-reuse-primitive.d.ts +33 -0
- package/dist/reuse/score-reuse-primitive.d.ts.map +1 -0
- package/dist/reuse/score-reuse-primitive.js +92 -0
- package/dist/review-packet.d.ts +2 -0
- package/dist/review-packet.d.ts.map +1 -1
- package/dist/review-packet.js +13 -6
- package/dist/role-views.d.ts.map +1 -1
- package/dist/role-views.js +16 -16
- package/dist/routing-recommends-channels.d.ts +24 -0
- package/dist/routing-recommends-channels.d.ts.map +1 -0
- package/dist/routing-recommends-channels.js +19 -0
- package/dist/run-boundary-check.d.ts +118 -0
- package/dist/run-boundary-check.d.ts.map +1 -0
- package/dist/run-boundary-check.js +592 -0
- package/dist/safety-audit.js +1 -1
- package/dist/scaffold-coverage.js +1 -1
- package/dist/scaffold-pattern-doctor-report.d.ts +19 -0
- package/dist/scaffold-pattern-doctor-report.d.ts.map +1 -0
- package/dist/scaffold-pattern-doctor-report.js +54 -0
- package/dist/scaffold-patterns.d.ts +75 -1
- package/dist/scaffold-patterns.d.ts.map +1 -1
- package/dist/scaffold-patterns.js +375 -84
- package/dist/schema-inventory.d.ts.map +1 -1
- package/dist/schema-inventory.js +4 -3
- package/dist/search-document-id.d.ts +52 -0
- package/dist/search-document-id.d.ts.map +1 -0
- package/dist/search-document-id.js +72 -0
- package/dist/search-document-prefix.d.ts +7 -0
- package/dist/search-document-prefix.d.ts.map +1 -0
- package/dist/search-document-prefix.js +1 -0
- package/dist/search-index.d.ts.map +1 -1
- package/dist/search-index.js +20 -23
- package/dist/search-tuning-explain.d.ts +6 -0
- package/dist/search-tuning-explain.d.ts.map +1 -1
- package/dist/search-tuning-explain.js +19 -17
- package/dist/search-tuning-key-probes.d.ts +16 -0
- package/dist/search-tuning-key-probes.d.ts.map +1 -0
- package/dist/search-tuning-key-probes.js +65 -0
- package/dist/search-tuning-key-resolution.d.ts +25 -0
- package/dist/search-tuning-key-resolution.d.ts.map +1 -0
- package/dist/search-tuning-key-resolution.js +1 -0
- package/dist/search-tuning-key-resolver.d.ts +4 -0
- package/dist/search-tuning-key-resolver.d.ts.map +1 -0
- package/dist/search-tuning-key-resolver.js +107 -0
- package/dist/search-tuning-key-status.d.ts +24 -0
- package/dist/search-tuning-key-status.d.ts.map +1 -0
- package/dist/search-tuning-key-status.js +24 -0
- package/dist/search-tuning-lint.d.ts +9 -0
- package/dist/search-tuning-lint.d.ts.map +1 -0
- package/dist/search-tuning-lint.js +468 -0
- package/dist/search-tuning-registry.d.ts +43 -0
- package/dist/search-tuning-registry.d.ts.map +1 -1
- package/dist/search-tuning-registry.js +214 -49
- package/dist/self-audit.d.ts +12 -0
- package/dist/self-audit.d.ts.map +1 -1
- package/dist/self-audit.js +36 -10
- package/dist/self-config-doctor-v2.d.ts +145 -3
- package/dist/self-config-doctor-v2.d.ts.map +1 -1
- package/dist/self-config-doctor-v2.js +1369 -182
- package/dist/self-config-doctor.d.ts +20 -1
- package/dist/self-config-doctor.d.ts.map +1 -1
- package/dist/self-config-doctor.js +55 -281
- package/dist/settled-unit-states.d.ts +9 -0
- package/dist/settled-unit-states.d.ts.map +1 -0
- package/dist/settled-unit-states.js +14 -0
- package/dist/sharkcraft-inspector.d.ts +34 -0
- package/dist/sharkcraft-inspector.d.ts.map +1 -1
- package/dist/sharkcraft-inspector.js +314 -27
- package/dist/spec/spec-evidence.d.ts.map +1 -1
- package/dist/spec/spec-evidence.js +14 -20
- package/dist/split-identifier.d.ts +21 -0
- package/dist/split-identifier.d.ts.map +1 -0
- package/dist/split-identifier.js +27 -0
- package/dist/stale-path-hint.d.ts +3 -0
- package/dist/stale-path-hint.d.ts.map +1 -0
- package/dist/stale-path-hint.js +47 -0
- package/dist/start-here.d.ts.map +1 -1
- package/dist/start-here.js +1 -2
- package/dist/substitute-placeholders.d.ts +8 -0
- package/dist/substitute-placeholders.d.ts.map +1 -0
- package/dist/substitute-placeholders.js +9 -0
- package/dist/symbol-index.d.ts +33 -0
- package/dist/symbol-index.d.ts.map +1 -1
- package/dist/symbol-index.js +241 -3
- package/dist/symbol-member-entry.d.ts +26 -0
- package/dist/symbol-member-entry.d.ts.map +1 -0
- package/dist/symbol-member-entry.js +1 -0
- package/dist/symbol-member-kind.d.ts +14 -0
- package/dist/symbol-member-kind.d.ts.map +1 -0
- package/dist/symbol-member-kind.js +14 -0
- package/dist/task-packet.d.ts.map +1 -1
- package/dist/task-packet.js +52 -9
- package/dist/task-ranker.d.ts +8 -0
- package/dist/task-ranker.d.ts.map +1 -1
- package/dist/task-ranker.js +25 -13
- package/dist/task-risk.js +1 -1
- package/dist/task-routing-hint-registry.d.ts +20 -1
- package/dist/task-routing-hint-registry.d.ts.map +1 -1
- package/dist/task-routing-hint-registry.js +186 -42
- package/dist/template-authoring.d.ts +1 -1
- package/dist/template-authoring.d.ts.map +1 -1
- package/dist/template-authoring.js +2 -1
- package/dist/template-drift.d.ts.map +1 -1
- package/dist/template-drift.js +30 -9
- package/dist/template-lint.d.ts.map +1 -1
- package/dist/template-lint.js +160 -2
- package/dist/term-query.d.ts +10 -0
- package/dist/term-query.d.ts.map +1 -0
- package/dist/term-query.js +1 -0
- package/dist/test-definitions.d.ts +6 -3
- package/dist/test-definitions.d.ts.map +1 -1
- package/dist/test-runner.d.ts +95 -10
- package/dist/test-runner.d.ts.map +1 -1
- package/dist/test-runner.js +309 -308
- package/dist/tuning-query-tokens.d.ts +29 -0
- package/dist/tuning-query-tokens.d.ts.map +1 -0
- package/dist/tuning-query-tokens.js +51 -0
- package/dist/typecheck-files.d.ts +36 -0
- package/dist/typecheck-files.d.ts.map +1 -0
- package/dist/typecheck-files.js +158 -0
- package/dist/uncertainty.js +1 -1
- package/dist/universal-search.d.ts.map +1 -1
- package/dist/universal-search.js +5 -3
- package/dist/unregistered-exports.d.ts +19 -0
- package/dist/unregistered-exports.d.ts.map +1 -0
- package/dist/unregistered-exports.js +141 -0
- package/dist/unresolvable-reason.d.ts +11 -0
- package/dist/unresolvable-reason.d.ts.map +1 -0
- package/dist/unresolvable-reason.js +11 -0
- package/dist/upgrade-advisor.d.ts.map +1 -1
- package/dist/upgrade-advisor.js +16 -9
- package/dist/validate-contribution-file.d.ts +4 -0
- package/dist/validate-contribution-file.d.ts.map +1 -0
- package/dist/validate-contribution-file.js +233 -0
- package/dist/why-file.d.ts +3 -0
- package/dist/why-file.d.ts.map +1 -1
- package/dist/why-file.js +12 -7
- package/package.json +17 -17
package/dist/decision-records.js
CHANGED
|
@@ -6,11 +6,20 @@
|
|
|
6
6
|
* these — `decisions new` produces a dry-run preview unless
|
|
7
7
|
* `--write-draft` is passed.
|
|
8
8
|
*
|
|
9
|
+
* The frontmatter is read by THE parser (`splitFrontmatter` +
|
|
10
|
+
* `parseFrontmatter`, @shrkcrft/core — round 15 follow-up, F6) in its `Text`
|
|
11
|
+
* scalar mode: a decision's `id` / `title` / `status` / `date` are strings by
|
|
12
|
+
* contract, read verbatim as the old line splitter read them (`id: 0001`
|
|
13
|
+
* stays `0001`, `title: Fix #12` keeps its `#12`). A record whose frontmatter
|
|
14
|
+
* cannot be read as declared is REJECTED through the round-12 channel
|
|
15
|
+
* ({@link loadTsDecisionsWithIssues} `rejected`) — never listed from a partial
|
|
16
|
+
* reading, never dropped silently.
|
|
17
|
+
*
|
|
9
18
|
* Read-only operations: list, get, link (preview).
|
|
10
19
|
*/
|
|
11
20
|
import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
|
|
12
21
|
import * as nodePath from 'node:path';
|
|
13
|
-
import { importModuleViaLoader } from '@shrkcrft/core';
|
|
22
|
+
import { formatFrontmatterScalar, FrontmatterScalarMode, importModuleViaLoader, parseFrontmatter, RejectionCause, splitFrontmatter, } from '@shrkcrft/core';
|
|
14
23
|
export const DECISION_RECORD_SCHEMA = 'sharkcraft.decision/v1';
|
|
15
24
|
export var DecisionStatus;
|
|
16
25
|
(function (DecisionStatus) {
|
|
@@ -20,20 +29,146 @@ export var DecisionStatus;
|
|
|
20
29
|
DecisionStatus["Superseded"] = "superseded";
|
|
21
30
|
})(DecisionStatus || (DecisionStatus = {}));
|
|
22
31
|
const DECISION_DIRS = ['sharkcraft/decisions', 'docs/adr'];
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
/**
|
|
33
|
+
* A decision's frontmatter values are strings by contract — read verbatim
|
|
34
|
+
* (`Text` scalars), exactly as {@link previewDecisionDraft} writes them. Only
|
|
35
|
+
* the four keys a record reads are parsed (`keys`): any other key — MADR's
|
|
36
|
+
* `decision makers:`, a `summary:` wrapped onto an indented line, a map nested
|
|
37
|
+
* two levels — is skipped unparsed. The old splitter never read those lines
|
|
38
|
+
* either, and YAML the parser does not speak under a key nobody reads must not
|
|
39
|
+
* cost the record (the Markdown knowledge loader skips a key it drops the same
|
|
40
|
+
* way). No key is read as a list (`listKeys: []`, round 15 closing A1): an
|
|
41
|
+
* inline `title: [WIP]` is the title `[WIP]`, verbatim, as the old splitter
|
|
42
|
+
* read it — it used to REJECT the record as "a list".
|
|
43
|
+
*/
|
|
44
|
+
const DECISION_FRONTMATTER = Object.freeze({
|
|
45
|
+
scalars: FrontmatterScalarMode.Text,
|
|
46
|
+
keys: Object.freeze(['id', 'title', 'status', 'date']),
|
|
47
|
+
listKeys: Object.freeze([]),
|
|
48
|
+
});
|
|
49
|
+
function shapeOf(value) {
|
|
50
|
+
if (!Array.isArray(value))
|
|
51
|
+
return 'a map';
|
|
52
|
+
return value.some((v) => v !== null && typeof v === 'object') ? 'a list of maps' : 'a list';
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Read one Markdown decision record through THE frontmatter parser. Frontmatter
|
|
56
|
+
* the parser refuses in its top-level structure (a stray line naming no key)
|
|
57
|
+
* or under a key the record reads (`title:` wrapped onto an indented line), or
|
|
58
|
+
* an `id` / `title` / `status` / `date` that is not a single value (a block
|
|
59
|
+
* list under `title:`; an inline `title: [WIP]` is text) REJECTS the record, every reason named: the
|
|
60
|
+
* old line splitter skipped such a line silently and let an indented ` id:`
|
|
61
|
+
* under any block overwrite the record's own id. A key the record does not
|
|
62
|
+
* read is never parsed ({@link DECISION_FRONTMATTER}).
|
|
63
|
+
*/
|
|
64
|
+
function readMarkdownDecision(full, fileName) {
|
|
65
|
+
const split = splitFrontmatter(readFileSync(full, 'utf8'));
|
|
66
|
+
const problems = [];
|
|
67
|
+
// A decision record opening with `---` and never closing it is broken
|
|
68
|
+
// frontmatter, not a thematic break: its `id:` would silently become the
|
|
69
|
+
// file name (the old splitter did exactly that).
|
|
70
|
+
if (split.unterminated)
|
|
71
|
+
problems.push('frontmatter: an opening --- line has no closing --- line');
|
|
72
|
+
let fields = {};
|
|
73
|
+
if (split.frontmatter !== undefined) {
|
|
74
|
+
const parsed = parseFrontmatter(split.frontmatter, { ...DECISION_FRONTMATTER, lineOffset: split.lineOffset });
|
|
75
|
+
if (parsed.ok)
|
|
76
|
+
fields = parsed.value;
|
|
77
|
+
else
|
|
78
|
+
problems.push(`frontmatter: ${parsed.error.message}`);
|
|
79
|
+
}
|
|
80
|
+
const text = (key) => {
|
|
81
|
+
const v = fields[key];
|
|
82
|
+
if (v === undefined || v === null)
|
|
83
|
+
return undefined;
|
|
84
|
+
if (typeof v === 'string')
|
|
85
|
+
return v;
|
|
86
|
+
if (typeof v === 'number' || typeof v === 'boolean')
|
|
87
|
+
return String(v);
|
|
88
|
+
problems.push(`${key}: must be a single value (got ${shapeOf(v)}) — quote it if it is text`);
|
|
89
|
+
return undefined;
|
|
90
|
+
};
|
|
91
|
+
const declaredId = text('id')?.trim();
|
|
92
|
+
const title = text('title');
|
|
93
|
+
const status = text('status');
|
|
94
|
+
const date = text('date');
|
|
95
|
+
if (problems.length > 0) {
|
|
96
|
+
return {
|
|
97
|
+
rejected: {
|
|
98
|
+
file: full,
|
|
99
|
+
index: -1,
|
|
100
|
+
...(declaredId ? { entryId: declaredId } : {}),
|
|
101
|
+
reasons: problems,
|
|
102
|
+
cause: RejectionCause.Invalid,
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
// A key with no value (`id:`, `title:`, `status:`) is absent and falls back to
|
|
107
|
+
// its default — the old splitter read `id:` as the id "" and `title:` as the
|
|
108
|
+
// title "". An id that is empty after trimming falls back too: "" can never
|
|
109
|
+
// be referenced.
|
|
110
|
+
const id = declaredId || nodePath.basename(fileName, nodePath.extname(fileName)).trim();
|
|
111
|
+
const body = split.body;
|
|
112
|
+
return {
|
|
113
|
+
record: {
|
|
114
|
+
schema: DECISION_RECORD_SCHEMA,
|
|
115
|
+
id,
|
|
116
|
+
title: title ?? id,
|
|
117
|
+
status: status ?? DecisionStatus.Proposed,
|
|
118
|
+
context: sectionFromBody(body, 'Context'),
|
|
119
|
+
decision: sectionFromBody(body, 'Decision'),
|
|
120
|
+
consequences: sectionFromBody(body, 'Consequences'),
|
|
121
|
+
relatedRules: listLinesUnder(body, 'Related rules'),
|
|
122
|
+
relatedPolicies: listLinesUnder(body, 'Related policies'),
|
|
123
|
+
relatedConstructs: listLinesUnder(body, 'Related constructs'),
|
|
124
|
+
relatedFiles: listLinesUnder(body, 'Related files'),
|
|
125
|
+
date: date ?? '',
|
|
126
|
+
sourceFile: full,
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Every Markdown decision record under {@link DECISION_DIRS}, in a
|
|
132
|
+
* deterministic order: the records read, and every file refused. THE one pass
|
|
133
|
+
* both {@link listDecisions} (records) and {@link loadTsDecisionsWithIssues}
|
|
134
|
+
* (rejected) read, so what is listed and what is reported cannot disagree.
|
|
135
|
+
*/
|
|
136
|
+
function scanMarkdownDecisions(projectRoot) {
|
|
137
|
+
const records = [];
|
|
138
|
+
const rejected = [];
|
|
139
|
+
for (const rel of DECISION_DIRS) {
|
|
140
|
+
const dir = nodePath.join(projectRoot, rel);
|
|
141
|
+
if (!existsSync(dir))
|
|
31
142
|
continue;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
143
|
+
let entries = [];
|
|
144
|
+
try {
|
|
145
|
+
// Sort so the decision-record list (and the doctor findings derived from
|
|
146
|
+
// it) is deterministic, not filesystem-order-dependent.
|
|
147
|
+
entries = readdirSync(dir).sort();
|
|
148
|
+
}
|
|
149
|
+
catch {
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
for (const f of entries) {
|
|
153
|
+
if (!/\.(md|markdown)$/i.test(f))
|
|
154
|
+
continue;
|
|
155
|
+
const full = nodePath.join(dir, f);
|
|
156
|
+
try {
|
|
157
|
+
const st = statSync(full);
|
|
158
|
+
if (!st.isFile())
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
catch {
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
const read = readMarkdownDecision(full, f);
|
|
165
|
+
if ('record' in read)
|
|
166
|
+
records.push(read.record);
|
|
167
|
+
else
|
|
168
|
+
rejected.push(read.rejected);
|
|
169
|
+
}
|
|
35
170
|
}
|
|
36
|
-
return {
|
|
171
|
+
return { records, rejected };
|
|
37
172
|
}
|
|
38
173
|
function sectionFromBody(body, header) {
|
|
39
174
|
const lines = body.split('\n');
|
|
@@ -73,54 +208,10 @@ export function listDecisions(inspection) {
|
|
|
73
208
|
seenIds.add(rec.id);
|
|
74
209
|
out.push(rec);
|
|
75
210
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
let entries = [];
|
|
81
|
-
try {
|
|
82
|
-
// Sort so the decision-record list (and the doctor findings derived from
|
|
83
|
-
// it) is deterministic, not filesystem-order-dependent.
|
|
84
|
-
entries = readdirSync(dir).sort();
|
|
85
|
-
}
|
|
86
|
-
catch {
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
for (const f of entries) {
|
|
90
|
-
if (!/\.(md|markdown)$/i.test(f))
|
|
91
|
-
continue;
|
|
92
|
-
const full = nodePath.join(dir, f);
|
|
93
|
-
try {
|
|
94
|
-
const st = statSync(full);
|
|
95
|
-
if (!st.isFile())
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
catch {
|
|
99
|
-
continue;
|
|
100
|
-
}
|
|
101
|
-
const text = readFileSync(full, 'utf8');
|
|
102
|
-
const { fm, body } = frontmatterAndBody(text);
|
|
103
|
-
const id = (fm['id'] ?? nodePath.basename(f, nodePath.extname(f))).trim();
|
|
104
|
-
const title = fm['title'] ?? id;
|
|
105
|
-
const status = fm['status'] ?? DecisionStatus.Proposed;
|
|
106
|
-
const date = fm['date'] ?? '';
|
|
107
|
-
addMd({
|
|
108
|
-
schema: DECISION_RECORD_SCHEMA,
|
|
109
|
-
id,
|
|
110
|
-
title,
|
|
111
|
-
status,
|
|
112
|
-
context: sectionFromBody(body, 'Context'),
|
|
113
|
-
decision: sectionFromBody(body, 'Decision'),
|
|
114
|
-
consequences: sectionFromBody(body, 'Consequences'),
|
|
115
|
-
relatedRules: listLinesUnder(body, 'Related rules'),
|
|
116
|
-
relatedPolicies: listLinesUnder(body, 'Related policies'),
|
|
117
|
-
relatedConstructs: listLinesUnder(body, 'Related constructs'),
|
|
118
|
-
relatedFiles: listLinesUnder(body, 'Related files'),
|
|
119
|
-
date,
|
|
120
|
-
sourceFile: full,
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
}
|
|
211
|
+
// A Markdown record whose frontmatter cannot be read as declared is not
|
|
212
|
+
// listed — `loadTsDecisionsWithIssues` reports it rejected (same scan).
|
|
213
|
+
for (const rec of scanMarkdownDecisions(inspection.projectRoot).records)
|
|
214
|
+
addMd(rec);
|
|
124
215
|
// Also include sync-cached TS decisions if present (loaded by
|
|
125
216
|
// listDecisionsTsCached on prior async warm-up). Best-effort sync read.
|
|
126
217
|
for (const r of getTsDecisionsCached(inspection.projectRoot)) {
|
|
@@ -135,18 +226,59 @@ const TS_DECISION_CACHE = new Map();
|
|
|
135
226
|
function getTsDecisionsCached(projectRoot) {
|
|
136
227
|
return TS_DECISION_CACHE.get(projectRoot) ?? [];
|
|
137
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* THE TS-decision acceptance predicate (round 12, 12.1): a non-empty string
|
|
231
|
+
* `id` — `[]` means accepted. An id-less decision used to be dropped with no
|
|
232
|
+
* signal (`if (!rec?.id) return`).
|
|
233
|
+
*/
|
|
234
|
+
export function decisionRejectionReasons(raw) {
|
|
235
|
+
if (!raw || typeof raw !== 'object' || Array.isArray(raw))
|
|
236
|
+
return ['(entry): must be an object'];
|
|
237
|
+
const id = raw.id;
|
|
238
|
+
return typeof id === 'string' && id.length > 0 ? [] : ['id: must be a non-empty string'];
|
|
239
|
+
}
|
|
138
240
|
/**
|
|
139
241
|
* Async warm-up for `sharkcraft/decisions.ts` and pack-contributed
|
|
140
242
|
* decisions. Call this before `listDecisions` if you want TS decisions
|
|
141
243
|
* folded in.
|
|
142
244
|
*/
|
|
143
245
|
export async function loadTsDecisions(inspection) {
|
|
246
|
+
return (await loadTsDecisionsWithIssues(inspection)).decisions;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* {@link loadTsDecisions} with what did not take effect (round 12, 12.1): a
|
|
250
|
+
* decision file that failed to import (it used to be swallowed to `[]`), and
|
|
251
|
+
* every declared decision the loader refused — invalid, or a duplicate id.
|
|
252
|
+
* `rejected` also carries every Markdown record (`sharkcraft/decisions/*.md`,
|
|
253
|
+
* `docs/adr/*.md`) whose frontmatter THE parser cannot read as declared (round
|
|
254
|
+
* 15 follow-up, F6) — the same scan {@link listDecisions} reads, so a record is
|
|
255
|
+
* either listed or reported here, never neither.
|
|
256
|
+
*/
|
|
257
|
+
export async function loadTsDecisionsWithIssues(inspection) {
|
|
144
258
|
const out = [];
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
|
|
259
|
+
const issues = [];
|
|
260
|
+
const rejected = [...scanMarkdownDecisions(inspection.projectRoot).rejected];
|
|
261
|
+
const seen = new Map();
|
|
262
|
+
const addInput = (raw, source, index) => {
|
|
263
|
+
const reasons = decisionRejectionReasons(raw);
|
|
264
|
+
if (reasons.length > 0) {
|
|
265
|
+
rejected.push({ file: source, index, exportName: 'default', reasons, cause: RejectionCause.Invalid });
|
|
148
266
|
return;
|
|
149
|
-
|
|
267
|
+
}
|
|
268
|
+
const rec = raw;
|
|
269
|
+
const prev = seen.get(rec.id);
|
|
270
|
+
if (prev !== undefined) {
|
|
271
|
+
rejected.push({
|
|
272
|
+
file: source,
|
|
273
|
+
index,
|
|
274
|
+
exportName: 'default',
|
|
275
|
+
entryId: rec.id,
|
|
276
|
+
reasons: [`id: "${rec.id}" is already declared in ${prev}`],
|
|
277
|
+
cause: RejectionCause.DuplicateId,
|
|
278
|
+
});
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
seen.set(rec.id, source);
|
|
150
282
|
out.push({
|
|
151
283
|
schema: DECISION_RECORD_SCHEMA,
|
|
152
284
|
id: rec.id,
|
|
@@ -159,40 +291,51 @@ export async function loadTsDecisions(inspection) {
|
|
|
159
291
|
relatedPolicies: rec.relatedPolicies ?? [],
|
|
160
292
|
relatedConstructs: rec.relatedConstructs ?? [],
|
|
161
293
|
relatedFiles: rec.relatedFiles ?? [],
|
|
294
|
+
...(rec.relatedCommands && rec.relatedCommands.length > 0
|
|
295
|
+
? { relatedCommands: rec.relatedCommands }
|
|
296
|
+
: {}),
|
|
162
297
|
date: rec.date ?? '',
|
|
163
298
|
sourceFile: source,
|
|
164
299
|
});
|
|
165
300
|
};
|
|
301
|
+
const readInto = async (file, packageName) => {
|
|
302
|
+
const r = await importDefaultArray(file);
|
|
303
|
+
if (r.error !== undefined) {
|
|
304
|
+
issues.push({
|
|
305
|
+
severity: 'warning',
|
|
306
|
+
code: 'load-failed',
|
|
307
|
+
message: `${packageName ? `Pack ${packageName} (${nodePath.relative(inspection.projectRoot, file) || file})` : `Failed to load ${nodePath.relative(inspection.projectRoot, file) || file}`}: ${r.error}`,
|
|
308
|
+
source: file,
|
|
309
|
+
...(packageName ? { packageName } : {}),
|
|
310
|
+
});
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
r.items.forEach((item, i) => addInput(item, file, i));
|
|
314
|
+
};
|
|
166
315
|
// Local file.
|
|
167
316
|
if (inspection.sharkcraftDir) {
|
|
168
|
-
|
|
169
|
-
const arr = await importDefaultArray(local);
|
|
170
|
-
for (const r of arr)
|
|
171
|
-
addInput(r, local);
|
|
317
|
+
await readInto(nodePath.join(inspection.sharkcraftDir, 'decisions.ts'));
|
|
172
318
|
}
|
|
173
319
|
// Pack contributions.
|
|
174
320
|
for (const pack of inspection.packs.validPacks) {
|
|
175
321
|
const c = (pack.manifest?.contributions ?? {});
|
|
176
322
|
for (const rel of c.decisionFiles ?? []) {
|
|
177
|
-
|
|
178
|
-
const arr = await importDefaultArray(full);
|
|
179
|
-
for (const r of arr)
|
|
180
|
-
addInput(r, full);
|
|
323
|
+
await readInto(nodePath.resolve(pack.packageRoot, rel), pack.packageName);
|
|
181
324
|
}
|
|
182
325
|
}
|
|
183
326
|
TS_DECISION_CACHE.set(inspection.projectRoot, out);
|
|
184
|
-
return out;
|
|
327
|
+
return { decisions: out, issues, rejected };
|
|
185
328
|
}
|
|
329
|
+
/** A decision file's default array; `error` (first line) when the import threw. A missing file is `[]`. */
|
|
186
330
|
async function importDefaultArray(absPath) {
|
|
331
|
+
if (!existsSync(absPath))
|
|
332
|
+
return { items: [] };
|
|
187
333
|
try {
|
|
188
|
-
if (!existsSync(absPath))
|
|
189
|
-
return [];
|
|
190
|
-
const { pathToFileURL } = await import('node:url');
|
|
191
334
|
const mod = (await importModuleViaLoader(absPath));
|
|
192
|
-
return Array.isArray(mod.default) ? mod.default : [];
|
|
335
|
+
return { items: Array.isArray(mod.default) ? mod.default : [] };
|
|
193
336
|
}
|
|
194
|
-
catch {
|
|
195
|
-
return [];
|
|
337
|
+
catch (e) {
|
|
338
|
+
return { items: [], error: (e.message ?? String(e)).split('\n')[0].trim() };
|
|
196
339
|
}
|
|
197
340
|
}
|
|
198
341
|
export function getDecision(inspection, id) {
|
|
@@ -200,12 +343,16 @@ export function getDecision(inspection, id) {
|
|
|
200
343
|
}
|
|
201
344
|
export function previewDecisionDraft(input) {
|
|
202
345
|
const id = input.id.trim();
|
|
346
|
+
// Each value is written so THE parser reads it back as written (round 15
|
|
347
|
+
// follow-up, F6): a raw `title: [WIP]` reads as a list, `title: "Quoted"` as
|
|
348
|
+
// `Quoted`. A value that already reads back stays bare.
|
|
349
|
+
const value = (v) => formatFrontmatterScalar(v, DECISION_FRONTMATTER);
|
|
203
350
|
const lines = [];
|
|
204
351
|
lines.push('---');
|
|
205
|
-
lines.push(`id: ${id}`);
|
|
206
|
-
lines.push(`title: ${input.title}`);
|
|
207
|
-
lines.push(`status: ${input.status ?? DecisionStatus.Proposed}`);
|
|
208
|
-
lines.push(`date: ${input.date ?? new Date().toISOString().slice(0, 10)}`);
|
|
352
|
+
lines.push(`id: ${value(id)}`);
|
|
353
|
+
lines.push(`title: ${value(input.title)}`);
|
|
354
|
+
lines.push(`status: ${value(input.status ?? DecisionStatus.Proposed)}`);
|
|
355
|
+
lines.push(`date: ${value(input.date ?? new Date().toISOString().slice(0, 10))}`);
|
|
209
356
|
lines.push('---');
|
|
210
357
|
lines.push('');
|
|
211
358
|
lines.push(`# ${input.title}`);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { IVerdictCoverage } from '@shrkcrft/core';
|
|
2
|
+
import type { IKnowledgeRefResolution } from '@shrkcrft/knowledge';
|
|
3
|
+
import type { IDeclaredXrefField } from './i-declared-xref-field.js';
|
|
4
|
+
import type { IDeclaredXrefReport } from './i-declared-xref-report.js';
|
|
5
|
+
import type { IDeclaredXrefRow } from './i-declared-xref-row.js';
|
|
6
|
+
import { type ReferenceKind } from './reference-registry.js';
|
|
7
|
+
import type { ISelfConfigGraph } from './self-config-doctor.js';
|
|
8
|
+
import type { ISharkcraftInspection } from './sharkcraft-inspector.js';
|
|
9
|
+
export declare const DECLARED_XREF_SCHEMA: "sharkcraft.declared-xrefs/v1";
|
|
10
|
+
/**
|
|
11
|
+
* THE table of declared fields that carry cross-reference ids.
|
|
12
|
+
*
|
|
13
|
+
* Severity: a dangling `related`-style id shrinks a result silently but does
|
|
14
|
+
* not misroute anyone, so it is a warning (`--strict` makes it fail);
|
|
15
|
+
* `supersededBy` ROUTES a reader to the current entry, so a dangling one is an
|
|
16
|
+
* error. Another cluster that validates ids inside an asset field adds a row
|
|
17
|
+
* here — it never writes its own loop.
|
|
18
|
+
*/
|
|
19
|
+
export declare const DECLARED_XREF_FIELDS: readonly IDeclaredXrefField[];
|
|
20
|
+
/** Knowledge-backed kinds: removing a knowledge entry removes the rule / path it also is. */
|
|
21
|
+
export declare const KNOWLEDGE_BACKED_KINDS: readonly ReferenceKind[];
|
|
22
|
+
/**
|
|
23
|
+
* Resolve every declared cross-reference id. Synchronous: call it AFTER
|
|
24
|
+
* `warmReferenceRegistries` (or use {@link buildDeclaredXrefReport}). On a cold
|
|
25
|
+
* cache the cache-backed kinds cannot be looked up, so an id that might live
|
|
26
|
+
* in one is `unverified` — never `dangling` — and constructs are reported in
|
|
27
|
+
* `examined.unreadSources`. Never throws: a registry that will not load is its
|
|
28
|
+
* own surface's problem.
|
|
29
|
+
*/
|
|
30
|
+
export declare function collectDeclaredXrefs(inspection: ISharkcraftInspection): IDeclaredXrefReport;
|
|
31
|
+
/** Warm the async registries, then {@link collectDeclaredXrefs}. */
|
|
32
|
+
export declare function buildDeclaredXrefReport(inspection: ISharkcraftInspection): Promise<IDeclaredXrefReport>;
|
|
33
|
+
/** True for a row a reader following it would find broken: dangling or wrong-kind. */
|
|
34
|
+
export declare function isBrokenXref(row: IDeclaredXrefRow): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Who points at `targetId` — the reverse direction. With `asKinds`, only rows
|
|
37
|
+
* whose field could mean an id of one of those kinds (a construct's
|
|
38
|
+
* `relatedTemplates: ['x']` is not a reference to a knowledge entry `x`).
|
|
39
|
+
*/
|
|
40
|
+
export declare function reverseXrefs(report: IDeclaredXrefReport, targetId: string, asKinds?: readonly ReferenceKind[]): readonly IDeclaredXrefRow[];
|
|
41
|
+
/**
|
|
42
|
+
* The collector's coverage: every declared id must have been LOOKED UP. An
|
|
43
|
+
* unverified id (or a source that could not be enumerated) is an unexamined
|
|
44
|
+
* unit, so a verdict over it can never settle to a pass.
|
|
45
|
+
*/
|
|
46
|
+
export declare function declaredXrefCoverage(report: IDeclaredXrefReport): IVerdictCoverage;
|
|
47
|
+
/** The one-line summary every renderer prints (`N ids across M fields · …`). */
|
|
48
|
+
export declare function declaredXrefSummaryLine(report: IDeclaredXrefReport): string;
|
|
49
|
+
/**
|
|
50
|
+
* The self-config graph plus one edge per declared cross-reference; dangling
|
|
51
|
+
* and wrong-kind ones are also `brokenEdges`, so `self-config broken-links`
|
|
52
|
+
* agrees with the doctor instead of printing ✓ over dead ids.
|
|
53
|
+
*/
|
|
54
|
+
export declare function withDeclaredXrefEdges(graph: ISelfConfigGraph, report: IDeclaredXrefReport): ISelfConfigGraph;
|
|
55
|
+
/**
|
|
56
|
+
* The resolver `formatEntryFull` renders cross-references with (the knowledge
|
|
57
|
+
* package sits below this layer and cannot resolve ids itself). Warm first: on
|
|
58
|
+
* a cold cache an unresolvable id is `unverified`, never "unresolved".
|
|
59
|
+
*/
|
|
60
|
+
export declare function buildKnowledgeRefResolver(inspection: ISharkcraftInspection): (id: string) => IKnowledgeRefResolution;
|
|
61
|
+
//# sourceMappingURL=declared-cross-references.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declared-cross-references.d.ts","sourceRoot":"","sources":["../src/declared-cross-references.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAGnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAOL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAwB,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,qBAAqB,EAAe,MAAM,2BAA2B,CAAC;AAEpF,eAAO,MAAM,oBAAoB,EAAG,8BAAuC,CAAC;AAE5E;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,kBAAkB,EAkBpB,CAAC;AAS3C,6FAA6F;AAC7F,eAAO,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAItB,CAAC;AAuYtC;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,qBAAqB,GAAG,mBAAmB,CAqE3F;AAED,oEAAoE;AACpE,wBAAsB,uBAAuB,CAC3C,UAAU,EAAE,qBAAqB,GAChC,OAAO,CAAC,mBAAmB,CAAC,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,YAAY,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,GACjC,SAAS,gBAAgB,EAAE,CAM7B;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,mBAAmB,GAAG,gBAAgB,CAkBlF;AAED,gFAAgF;AAChF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,GAAG,MAAM,CAO3E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,gBAAgB,EACvB,MAAM,EAAE,mBAAmB,GAC1B,gBAAgB,CAalB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,qBAAqB,GAChC,CAAC,EAAE,EAAE,MAAM,KAAK,uBAAuB,CASzC"}
|