@shrkcrft/inspector 0.1.0-alpha.30 → 0.1.0-alpha.31
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 +51 -4
- 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/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/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 +106 -0
- package/dist/contribution-load-failures.d.ts.map +1 -0
- package/dist/contribution-load-failures.js +575 -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-registry.d.ts +22 -0
- package/dist/convention-registry.d.ts.map +1 -1
- package/dist/convention-registry.js +79 -39
- 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 +159 -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 +20 -0
- package/dist/decision-records.d.ts.map +1 -1
- package/dist/decision-records.js +68 -20
- 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 +50 -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 +68 -19
- package/dist/fix-preview.d.ts.map +1 -1
- package/dist/fix-preview.js +9 -5
- 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.js +1 -1
- 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 +24 -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-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-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-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-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-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-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 +141 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +172 -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 +24 -1
- package/dist/knowledge-authoring.d.ts.map +1 -1
- package/dist/knowledge-authoring.js +46 -7
- package/dist/knowledge-entry-verdict-record.d.ts +22 -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-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-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 +83 -0
- package/dist/knowledge-stale-gate.d.ts.map +1 -0
- package/dist/knowledge-stale-gate.js +429 -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 +110 -0
- package/dist/knowledge-stale.d.ts +122 -9
- package/dist/knowledge-stale.d.ts.map +1 -1
- package/dist/knowledge-stale.js +996 -291
- 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/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 +443 -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/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-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/resolve-project-config.d.ts +64 -0
- package/dist/resolve-project-config.d.ts.map +1 -1
- package/dist/resolve-project-config.js +240 -32
- 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 +1304 -181
- 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 +53 -280
- 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 +273 -26
- 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/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-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 +228 -0
- package/dist/why-file.d.ts +3 -0
- package/dist/why-file.d.ts.map +1 -1
- package/dist/why-file.js +7 -3
- package/package.json +17 -17
package/dist/role-views.js
CHANGED
|
@@ -62,10 +62,10 @@ const VIEWS = Object.freeze([
|
|
|
62
62
|
'shrk architecture map',
|
|
63
63
|
'shrk check boundaries',
|
|
64
64
|
'shrk drift',
|
|
65
|
-
'shrk
|
|
65
|
+
'shrk graph hubs',
|
|
66
66
|
'shrk constructs list',
|
|
67
67
|
],
|
|
68
|
-
relevantReports: ['architecture map', 'drift report', 'boundary report', 'intelligence graph'],
|
|
68
|
+
relevantReports: ['architecture map', 'drift report', 'boundary report', 'code-intelligence graph'],
|
|
69
69
|
relevantRisks: ['Layer violations', 'Public-API drift', 'Untested constructs'],
|
|
70
70
|
suggestedNextAction: 'shrk architecture map --risk',
|
|
71
71
|
},
|
|
@@ -92,12 +92,11 @@ const VIEWS = Object.freeze([
|
|
|
92
92
|
description: 'Safety surface — audit, compliance, policy, MCP no-write.',
|
|
93
93
|
topCommands: [
|
|
94
94
|
'shrk safety audit --deep',
|
|
95
|
-
'shrk
|
|
96
|
-
'shrk compliance check signed-pack-workflow',
|
|
95
|
+
'shrk packs signature-status --release-readiness',
|
|
97
96
|
'shrk policy run --explain-overrides',
|
|
98
97
|
'shrk packs doctor --release --require-signatures',
|
|
99
98
|
],
|
|
100
|
-
relevantReports: ['safety audit', '
|
|
99
|
+
relevantReports: ['safety audit', 'signature status', 'policy report'],
|
|
101
100
|
relevantRisks: ['MCP write tool introduced', 'Unsigned pack', 'Destructive demo line'],
|
|
102
101
|
suggestedNextAction: 'shrk safety audit --deep',
|
|
103
102
|
},
|
|
@@ -108,10 +107,10 @@ const VIEWS = Object.freeze([
|
|
|
108
107
|
description: 'Agent-facing surface — brief, handoff, MCP tools, forbidden actions.',
|
|
109
108
|
topCommands: [
|
|
110
109
|
'shrk brief "<task>"',
|
|
111
|
-
'shrk
|
|
110
|
+
'shrk brief "<task>" --mode handoff',
|
|
112
111
|
'shrk orchestrate "<task>"',
|
|
113
112
|
'shrk simulate "<task>"',
|
|
114
|
-
'shrk
|
|
113
|
+
'shrk risk "<task>"',
|
|
115
114
|
],
|
|
116
115
|
relevantReports: ['brief', 'handoff', 'orchestration plan', 'workflow simulation'],
|
|
117
116
|
relevantRisks: ['Auto-apply', 'MCP write attempt', 'Untracked pack command'],
|
|
@@ -143,7 +142,8 @@ function buildTaskCommands(role, intent, risk) {
|
|
|
143
142
|
const t = JSON.stringify(intent.task);
|
|
144
143
|
// Always start with a task brief
|
|
145
144
|
commands.push(`shrk brief ${t}`);
|
|
146
|
-
|
|
145
|
+
// The risk report carries the change intent; there is no separate intent verb.
|
|
146
|
+
commands.push(`shrk risk ${t}`);
|
|
147
147
|
// Per-role + intent
|
|
148
148
|
switch (role) {
|
|
149
149
|
case RoleId.Developer: {
|
|
@@ -155,7 +155,7 @@ function buildTaskCommands(role, intent, risk) {
|
|
|
155
155
|
commands.push(`shrk tests missing --since main`);
|
|
156
156
|
}
|
|
157
157
|
if (intent.kind === ChangeIntentKind.Bugfix)
|
|
158
|
-
commands.push(
|
|
158
|
+
commands.push(`shrk recommend ${t} --from-error <stderr-file>`);
|
|
159
159
|
reports.push('brief', 'task risk', 'impact', 'review packet');
|
|
160
160
|
break;
|
|
161
161
|
}
|
|
@@ -170,7 +170,7 @@ function buildTaskCommands(role, intent, risk) {
|
|
|
170
170
|
commands.push(`shrk architecture violations`);
|
|
171
171
|
}
|
|
172
172
|
if (intent.domains.includes('plugin') || intent.kind === ChangeIntentKind.Architecture) {
|
|
173
|
-
commands.push('shrk api
|
|
173
|
+
commands.push('shrk api-diff .sharkcraft/api-baseline.json --fail-on-breaking');
|
|
174
174
|
}
|
|
175
175
|
reports.push('review packet', 'task risk', 'ownership', 'policy', 'architecture violations');
|
|
176
176
|
break;
|
|
@@ -178,12 +178,12 @@ function buildTaskCommands(role, intent, risk) {
|
|
|
178
178
|
case RoleId.Architect: {
|
|
179
179
|
commands.push('shrk architecture map --risk --signals');
|
|
180
180
|
commands.push('shrk architecture violations');
|
|
181
|
-
commands.push('shrk
|
|
181
|
+
commands.push('shrk graph hubs');
|
|
182
182
|
commands.push('shrk drift --json');
|
|
183
183
|
if (intent.kind === ChangeIntentKind.Architecture || intent.domains.includes('boundaries')) {
|
|
184
184
|
commands.push('shrk check boundaries --json');
|
|
185
185
|
}
|
|
186
|
-
reports.push('architecture map', 'task risk', 'drift report', 'intelligence graph');
|
|
186
|
+
reports.push('architecture map', 'task risk', 'drift report', 'code-intelligence graph');
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
189
|
case RoleId.ReleaseManager: {
|
|
@@ -201,17 +201,17 @@ function buildTaskCommands(role, intent, risk) {
|
|
|
201
201
|
case RoleId.Security: {
|
|
202
202
|
commands.push('shrk safety audit --deep');
|
|
203
203
|
commands.push('shrk policy run --explain-overrides');
|
|
204
|
-
|
|
204
|
+
// The compliance verbs were retired; pack signing is checked here.
|
|
205
205
|
if (intent.kind === ChangeIntentKind.Policy || intent.domains.includes('safety')) {
|
|
206
|
-
commands.push('shrk
|
|
206
|
+
commands.push('shrk packs signature-status --release-readiness');
|
|
207
207
|
}
|
|
208
208
|
if (intent.kind === ChangeIntentKind.Release)
|
|
209
209
|
commands.push('shrk packs doctor --release --require-signatures');
|
|
210
|
-
reports.push('safety audit', 'task risk', '
|
|
210
|
+
reports.push('safety audit', 'task risk', 'signature status', 'policy report');
|
|
211
211
|
break;
|
|
212
212
|
}
|
|
213
213
|
case RoleId.AiAgent: {
|
|
214
|
-
commands.push(`shrk
|
|
214
|
+
commands.push(`shrk brief ${t} --mode handoff`);
|
|
215
215
|
commands.push(`shrk orchestrate ${t} --risk-aware`);
|
|
216
216
|
commands.push(`shrk simulate ${t} --mode conservative`);
|
|
217
217
|
commands.push(`shrk recommend ${t}`);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE routing-hint `recommends` channel table: every channel a hint may name,
|
|
3
|
+
* and the registry its ids resolve in.
|
|
4
|
+
*
|
|
5
|
+
* One table read by the load lint (an unknown channel key — `pipeline` for
|
|
6
|
+
* `pipelines` — is reported at load), the self-config doctor (every id probed
|
|
7
|
+
* through THE id resolver) and `prepareAgentTask` (the resolved non-command
|
|
8
|
+
* assets it hands the agent). `Record<keyof ITaskRoutingRecommends, …>` makes a
|
|
9
|
+
* channel added to the public shape without a row here a compile error, so a
|
|
10
|
+
* channel can never again load, validate, and reach nothing.
|
|
11
|
+
*/
|
|
12
|
+
import type { ITaskRoutingRecommends } from '@shrkcrft/plugin-api';
|
|
13
|
+
import type { ReferenceKind } from './reference-registry.js';
|
|
14
|
+
export declare const ROUTING_RECOMMENDS_CHANNELS: Readonly<Record<keyof ITaskRoutingRecommends, {
|
|
15
|
+
/** The registry the channel's ids resolve in; `command` goes through the injected command resolver. */
|
|
16
|
+
readonly kind: ReferenceKind | 'command';
|
|
17
|
+
/** Singular noun for finding codes and messages (`routing-hint-<label>-missing`). */
|
|
18
|
+
readonly label: string;
|
|
19
|
+
}>>;
|
|
20
|
+
/** Every channel key, in table order. */
|
|
21
|
+
export declare const ROUTING_RECOMMENDS_CHANNEL_KEYS: readonly (keyof ITaskRoutingRecommends)[];
|
|
22
|
+
/** True when `key` is a channel of the table. */
|
|
23
|
+
export declare function isRoutingRecommendsChannel(key: string): key is keyof ITaskRoutingRecommends;
|
|
24
|
+
//# sourceMappingURL=routing-recommends-channels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routing-recommends-channels.d.ts","sourceRoot":"","sources":["../src/routing-recommends-channels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAChD,MAAM,CACJ,MAAM,sBAAsB,EAC5B;IACE,uGAAuG;IACvG,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;IACzC,qFAAqF;IACrF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CACF,CAaD,CAAC;AAEH,yCAAyC;AACzC,eAAO,MAAM,+BAA+B,EAAE,SAAS,CAAC,MAAM,sBAAsB,CAAC,EAEpF,CAAC;AAEF,iDAAiD;AACjD,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,MAAM,sBAAsB,CAE3F"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const ROUTING_RECOMMENDS_CHANNELS = Object.freeze({
|
|
2
|
+
commands: { kind: 'command', label: 'command' },
|
|
3
|
+
templates: { kind: 'template', label: 'template' },
|
|
4
|
+
playbooks: { kind: 'playbook', label: 'playbook' },
|
|
5
|
+
helpers: { kind: 'helper', label: 'helper' },
|
|
6
|
+
profiles: { kind: 'migration-profile', label: 'profile' },
|
|
7
|
+
conventions: { kind: 'convention', label: 'convention' },
|
|
8
|
+
knowledge: { kind: 'knowledge', label: 'knowledge' },
|
|
9
|
+
policies: { kind: 'policy', label: 'policy' },
|
|
10
|
+
pipelines: { kind: 'pipeline', label: 'pipeline' },
|
|
11
|
+
rules: { kind: 'rule', label: 'rule' },
|
|
12
|
+
paths: { kind: 'path-convention', label: 'path' },
|
|
13
|
+
});
|
|
14
|
+
/** Every channel key, in table order. */
|
|
15
|
+
export const ROUTING_RECOMMENDS_CHANNEL_KEYS = Object.freeze(Object.keys(ROUTING_RECOMMENDS_CHANNELS));
|
|
16
|
+
/** True when `key` is a channel of the table. */
|
|
17
|
+
export function isRoutingRecommendsChannel(key) {
|
|
18
|
+
return Object.prototype.hasOwnProperty.call(ROUTING_RECOMMENDS_CHANNELS, key);
|
|
19
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { type IVerdictCoverage } from '@shrkcrft/core';
|
|
2
|
+
import { type IBoundaryRule, type IImportScanResult } from '@shrkcrft/boundaries';
|
|
3
|
+
import type { IRunBoundaryCheckOptions } from './boundary-check-options.model.js';
|
|
4
|
+
import type { IBoundaryCheckResult } from './boundary-check-result.model.js';
|
|
5
|
+
import type { IBoundaryLoadIssue } from './boundary-load-issue.model.js';
|
|
6
|
+
import type { IBoundaryRuleCheck } from './boundary-rule-check.model.js';
|
|
7
|
+
import type { IBoundaryRuleSetDiff } from './boundary-rule-set-diff.model.js';
|
|
8
|
+
import type { ISharkcraftInspection } from './sharkcraft-inspector.js';
|
|
9
|
+
/**
|
|
10
|
+
* THE boundary orchestrator (round 11, C#one-boundary-check-authority).
|
|
11
|
+
*
|
|
12
|
+
* `check boundaries`, finish's boundaries gate, `diff-check`, quality and both
|
|
13
|
+
* MCP boundary tools used to hand-assemble scan + evaluate each — and they
|
|
14
|
+
* disagreed: the MCP tools never loaded the tsconfig alias map, so an
|
|
15
|
+
* alias-resolved violation the CLI reported was invisible to an agent. This is
|
|
16
|
+
* now the only place that:
|
|
17
|
+
*
|
|
18
|
+
* - loads tsconfig paths and builds the known-package list;
|
|
19
|
+
* - runs scanImports + evaluateBoundaries;
|
|
20
|
+
* - applies the changed-scope filter WITH rule escalation (a rule edit's
|
|
21
|
+
* violations are never filed as "legacy");
|
|
22
|
+
* - turns load issues into errored rules and stale exceptions into findings;
|
|
23
|
+
* - re-settles every rule over what could not be read (`boundaryUnitLiveness`);
|
|
24
|
+
* - computes the proposed 0/1/2/3 exit and its coverage, and settles it.
|
|
25
|
+
*
|
|
26
|
+
* The CLI builds its gate envelope from `proposedExit` + the coverage records
|
|
27
|
+
* here (and adds its own `--allow-empty` valve). Both sides settle with core's
|
|
28
|
+
* `settleVerdict` — ONE fold, not a copy per layer — and
|
|
29
|
+
* `r75-boundary-parity.test.ts` asserts the envelope's exit equals `exitCode`.
|
|
30
|
+
*/
|
|
31
|
+
export declare function runBoundaryCheck(inspection: ISharkcraftInspection, options?: IRunBoundaryCheckOptions): IBoundaryCheckResult;
|
|
32
|
+
/**
|
|
33
|
+
* THE "did this selected rule check nothing?" predicate: the engine read no
|
|
34
|
+
* governed file for it AND no governed file went unread. A rule whose governed
|
|
35
|
+
* files could not be read matched real files it could not examine — PARTIAL
|
|
36
|
+
* through its coverage, never listed as "checked nothing" and never a
|
|
37
|
+
* failOnEmpty failure. Every boundary renderer reads this, not `detail.status`.
|
|
38
|
+
*/
|
|
39
|
+
export declare function boundaryRuleCheckedNothing(r: IBoundaryRuleCheck): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* THE coverage records a boundary run settles on: the run coverage, each
|
|
42
|
+
* selected rule's coverage (subject = the rule id) followed by its
|
|
43
|
+
* `expectEmpty` acceptance (round 13 — folded through core's
|
|
44
|
+
* `ruleVerdictRecords`, once when the two are the same record), and one record
|
|
45
|
+
* per errored rule. `runBoundaryCheck` settles with exactly this list, and every
|
|
46
|
+
* surface that folds a boundary run into its own verdict (drift, `architecture
|
|
47
|
+
* violations`, the validation loop) reads it too — never a re-derivation.
|
|
48
|
+
*/
|
|
49
|
+
export declare function boundaryCheckCoverage(result: Pick<IBoundaryCheckResult, 'runCoverage' | 'rules' | 'loadIssues'>): IVerdictCoverage[];
|
|
50
|
+
/** The selected rules of a run that checked nothing — {@link boundaryRuleCheckedNothing}, over the whole result. */
|
|
51
|
+
export declare function boundaryRulesCheckedNothing(result: Pick<IBoundaryCheckResult, 'rules'>): IBoundaryRuleCheck[];
|
|
52
|
+
/**
|
|
53
|
+
* THE "accepted as intended-empty" predicate (round 13, K6): the rule settled
|
|
54
|
+
* IntendedEmpty — every `from` inclusion marked `expectEmpty`, no file matched,
|
|
55
|
+
* so it examined 0 files and its coverage IS the acceptance. Read from the
|
|
56
|
+
* engine's settle (`acceptedAsIntendedEmpty`), never re-derived from a coverage
|
|
57
|
+
* shape.
|
|
58
|
+
*/
|
|
59
|
+
export declare function boundaryRuleAcceptedEmpty(r: IBoundaryRuleCheck): boolean;
|
|
60
|
+
/** The selected rules accepted as intended-empty — {@link boundaryRuleAcceptedEmpty}, over the whole result. */
|
|
61
|
+
export declare function boundaryRulesAcceptedEmpty(result: Pick<IBoundaryCheckResult, 'rules'>): IBoundaryRuleCheck[];
|
|
62
|
+
/**
|
|
63
|
+
* THE "rules evaluated" count every boundary surface reports: the selected
|
|
64
|
+
* rules minus the ones that checked nothing and minus the ones accepted as
|
|
65
|
+
* intended-empty (round 13 — each examined 0 files; a renderer prints them
|
|
66
|
+
* apart: `N evaluated, M accepted as intended-empty`, M from
|
|
67
|
+
* {@link boundaryRulesAcceptedEmpty}). A rule whose governed files went unread
|
|
68
|
+
* is counted (it is PARTIAL through its coverage, not "checked nothing"); a
|
|
69
|
+
* failOnEmpty rule that examined nothing is not. `check boundaries --json`,
|
|
70
|
+
* `diff-check` (CLI + MCP) and MCP `check_boundaries` all read it, so no
|
|
71
|
+
* surface can re-derive it from `detail.status` and disagree.
|
|
72
|
+
*/
|
|
73
|
+
export declare function boundaryRulesEvaluated(result: Pick<IBoundaryCheckResult, 'rules'>): number;
|
|
74
|
+
/** The `skipped[]` rows of a boundary JSON payload — one shape for the CLI and MCP. */
|
|
75
|
+
export declare function boundarySkippedRuleRows(result: Pick<IBoundaryCheckResult, 'rules'>): {
|
|
76
|
+
ruleId: string;
|
|
77
|
+
reason: string;
|
|
78
|
+
failed: boolean;
|
|
79
|
+
}[];
|
|
80
|
+
/** A label for a load issue — the rule id when known, else `<file>#<index>` / the file. */
|
|
81
|
+
export declare function boundaryLoadIssueLabel(issue: IBoundaryLoadIssue): string;
|
|
82
|
+
/**
|
|
83
|
+
* The coverage an errored boundary rule carries: one rule asked for, none
|
|
84
|
+
* examined. Shared by the orchestrator's settle and the CLI envelope's rows.
|
|
85
|
+
*/
|
|
86
|
+
export declare function boundaryLoadIssueCoverage(issue: IBoundaryLoadIssue): IVerdictCoverage;
|
|
87
|
+
/**
|
|
88
|
+
* Package names the workspace knows: node builtins, the root manifest's
|
|
89
|
+
* dependency sections, and the name + dependencies of every package.json the
|
|
90
|
+
* scan walked. A forbidden pattern naming one is resolvable even when nothing
|
|
91
|
+
* imports it today (a "never adopt X" guard is legitimate).
|
|
92
|
+
*/
|
|
93
|
+
export declare function collectKnownPackages(projectRoot: string, scan: IImportScanResult): string[];
|
|
94
|
+
/**
|
|
95
|
+
* `check boundaries --diff-against <file>`: what the candidate rule set would
|
|
96
|
+
* flag, relative to the active one — evaluated by the SAME engine as the gate,
|
|
97
|
+
* against ONE scan.
|
|
98
|
+
*
|
|
99
|
+
* The proposed set is an id overlay: active rules whose id the candidate does
|
|
100
|
+
* not define, plus every candidate rule (a same id REPLACES, a new id ADDS).
|
|
101
|
+
* `onlyRuleId` narrows both sides.
|
|
102
|
+
*
|
|
103
|
+
* Round 13 (P2): each candidate rule's record goes through the SAME unread
|
|
104
|
+
* re-settle as `check boundaries` (`boundaryUnitLiveness`) and the same read
|
|
105
|
+
* scope (`readScopeCoverage`) — an unreadable governed file is never a pass
|
|
106
|
+
* here either, and a dead unit it could refute is Unproven, not reported.
|
|
107
|
+
*/
|
|
108
|
+
export declare function diffBoundaryRuleSets(inspection: ISharkcraftInspection, candidate: {
|
|
109
|
+
readonly path: string;
|
|
110
|
+
readonly rules: readonly IBoundaryRule[];
|
|
111
|
+
readonly loadIssues?: readonly IBoundaryLoadIssue[];
|
|
112
|
+
}, options?: {
|
|
113
|
+
readonly onlyRuleId?: string;
|
|
114
|
+
readonly includeComments?: boolean;
|
|
115
|
+
/** `--fail-on-dead-units`: a candidate's dead unit, or local went-live marker, makes the proposal 1. */
|
|
116
|
+
readonly failOnDeadUnits?: boolean;
|
|
117
|
+
}): IBoundaryRuleSetDiff;
|
|
118
|
+
//# sourceMappingURL=run-boundary-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-boundary-check.d.ts","sourceRoot":"","sources":["../src/run-boundary-check.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAaL,KAAK,aAAa,EAKlB,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAI9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,qBAAqB,EACjC,OAAO,GAAE,wBAA6B,GACrC,oBAAoB,CA2TtB;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAEzE;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,aAAa,GAAG,OAAO,GAAG,YAAY,CAAC,GACzE,gBAAgB,EAAE,CAQpB;AAED,oHAAoH;AACpH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG,kBAAkB,EAAE,CAE7G;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAExE;AAED,gHAAgH;AAChH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG,kBAAkB,EAAE,CAE5G;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAAG,MAAM,CAI1F;AAED,uFAAuF;AACvF,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,GAC1C;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,EAAE,CAMvD;AAED,2FAA2F;AAC3F,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAGxE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,GAAG,gBAAgB,CAarF;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,GAAG,MAAM,EAAE,CAqB3F;AAUD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,qBAAqB,EACjC,SAAS,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;CAAE,EACnI,OAAO,GAAE;IACP,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,wGAAwG;IACxG,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC/B,GACL,oBAAoB,CA+HtB"}
|