@zxyycom/vibe-check 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +154 -0
- package/dist/esm/check/check.mjs +5 -0
- package/dist/esm/check/check.mjs.map +1 -0
- package/dist/esm/check/descriptor-validation.mjs +37 -0
- package/dist/esm/check/descriptor-validation.mjs.map +1 -0
- package/dist/esm/check/descriptor.mjs +2 -0
- package/dist/esm/check/descriptor.mjs.map +1 -0
- package/dist/esm/check/inherited-collection.mjs +62 -0
- package/dist/esm/check/inherited-collection.mjs.map +1 -0
- package/dist/esm/check/options-snapshot.mjs +75 -0
- package/dist/esm/check/options-snapshot.mjs.map +1 -0
- package/dist/esm/check-settlement/fact-validation.mjs +216 -0
- package/dist/esm/check-settlement/fact-validation.mjs.map +1 -0
- package/dist/esm/check-settlement/facts.mjs +2 -0
- package/dist/esm/check-settlement/facts.mjs.map +1 -0
- package/dist/esm/check-settlement/outcome-normalization.mjs +80 -0
- package/dist/esm/check-settlement/outcome-normalization.mjs.map +1 -0
- package/dist/esm/check-settlement/record-store.mjs +59 -0
- package/dist/esm/check-settlement/record-store.mjs.map +1 -0
- package/dist/esm/check-settlement/session.mjs +179 -0
- package/dist/esm/check-settlement/session.mjs.map +1 -0
- package/dist/esm/data-boundary/canonical-data.mjs +159 -0
- package/dist/esm/data-boundary/canonical-data.mjs.map +1 -0
- package/dist/esm/data-boundary/canonical-json.mjs +2 -0
- package/dist/esm/data-boundary/canonical-json.mjs.map +1 -0
- package/dist/esm/data-boundary/closed-values.mjs +98 -0
- package/dist/esm/data-boundary/closed-values.mjs.map +1 -0
- package/dist/esm/data-boundary/value-shapes.mjs +13 -0
- package/dist/esm/data-boundary/value-shapes.mjs.map +1 -0
- package/dist/esm/finding-waivers/reconciliation.mjs +84 -0
- package/dist/esm/finding-waivers/reconciliation.mjs.map +1 -0
- package/dist/esm/index.mjs +26 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/machine-output/v4/atomic-publication.mjs +102 -0
- package/dist/esm/machine-output/v4/atomic-publication.mjs.map +1 -0
- package/dist/esm/machine-output/v4/freeze-publication-value.mjs +14 -0
- package/dist/esm/machine-output/v4/freeze-publication-value.mjs.map +1 -0
- package/dist/esm/machine-output/v4/projection.mjs +23 -0
- package/dist/esm/machine-output/v4/projection.mjs.map +1 -0
- package/dist/esm/machine-output/v4/publication-invariants.mjs +59 -0
- package/dist/esm/machine-output/v4/publication-invariants.mjs.map +1 -0
- package/dist/esm/machine-output/v4/publication-model.mjs +19 -0
- package/dist/esm/machine-output/v4/publication-model.mjs.map +1 -0
- package/dist/esm/machine-output/v4/publish.mjs +20 -0
- package/dist/esm/machine-output/v4/publish.mjs.map +1 -0
- package/dist/esm/machine-output/v4/records-fingerprint.mjs +9 -0
- package/dist/esm/machine-output/v4/records-fingerprint.mjs.map +1 -0
- package/dist/esm/machine-output/v4/schema-identities.mjs +8 -0
- package/dist/esm/machine-output/v4/schema-identities.mjs.map +1 -0
- package/dist/esm/machine-output/v4/schema.mjs +50 -0
- package/dist/esm/machine-output/v4/schema.mjs.map +1 -0
- package/dist/esm/machine-output/v4/serializers.mjs +9 -0
- package/dist/esm/machine-output/v4/serializers.mjs.map +1 -0
- package/dist/esm/machine-output/v4/validation-result.mjs +16 -0
- package/dist/esm/machine-output/v4/validation-result.mjs.map +1 -0
- package/dist/esm/machine-output/v4/validation.mjs +131 -0
- package/dist/esm/machine-output/v4/validation.mjs.map +1 -0
- package/dist/esm/package-checks/code-quality-findings/policy.mjs +49 -0
- package/dist/esm/package-checks/code-quality-findings/policy.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/area-policy.mjs +71 -0
- package/dist/esm/package-checks/duplicate-detection/area-policy.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/cache/cache-contract.mjs +2 -0
- package/dist/esm/package-checks/duplicate-detection/cache/cache-contract.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/cache/identity.mjs +37 -0
- package/dist/esm/package-checks/duplicate-detection/cache/identity.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/cache/key.mjs +38 -0
- package/dist/esm/package-checks/duplicate-detection/cache/key.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/cache/payload.mjs +47 -0
- package/dist/esm/package-checks/duplicate-detection/cache/payload.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/cache/store.mjs +44 -0
- package/dist/esm/package-checks/duplicate-detection/cache/store.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/default-check.mjs +39 -0
- package/dist/esm/package-checks/duplicate-detection/default-check.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/execution.mjs +124 -0
- package/dist/esm/package-checks/duplicate-detection/execution.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/final-data.mjs +6 -0
- package/dist/esm/package-checks/duplicate-detection/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/availability.mjs +77 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/availability.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/command-path.mjs +6 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/command-path.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/command-resolution.mjs +87 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/command-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/json-report.mjs +94 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/json-report.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scanner-contract.mjs +2 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scanner-contract.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scanner.mjs +180 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scanner.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scoped-fragments.mjs +10 -0
- package/dist/esm/package-checks/duplicate-detection/jscpd/scoped-fragments.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/measurement-model.mjs +2 -0
- package/dist/esm/package-checks/duplicate-detection/measurement-model.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/measurement.mjs +151 -0
- package/dist/esm/package-checks/duplicate-detection/measurement.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/options-resolution.mjs +126 -0
- package/dist/esm/package-checks/duplicate-detection/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/options-validation.mjs +60 -0
- package/dist/esm/package-checks/duplicate-detection/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/options.mjs +2 -0
- package/dist/esm/package-checks/duplicate-detection/options.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/project-revision.mjs +5 -0
- package/dist/esm/package-checks/duplicate-detection/project-revision.mjs.map +1 -0
- package/dist/esm/package-checks/duplicate-detection/records.mjs +119 -0
- package/dist/esm/package-checks/duplicate-detection/records.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/constructor.mjs +39 -0
- package/dist/esm/package-checks/file-metrics/constructor.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/execution.mjs +170 -0
- package/dist/esm/package-checks/file-metrics/execution.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/final-data.mjs +6 -0
- package/dist/esm/package-checks/file-metrics/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/measurement-model.mjs +2 -0
- package/dist/esm/package-checks/file-metrics/measurement-model.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/measurement.mjs +33 -0
- package/dist/esm/package-checks/file-metrics/measurement.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/options-resolution.mjs +171 -0
- package/dist/esm/package-checks/file-metrics/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/options-validation.mjs +82 -0
- package/dist/esm/package-checks/file-metrics/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/options.mjs +2 -0
- package/dist/esm/package-checks/file-metrics/options.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/records.mjs +109 -0
- package/dist/esm/package-checks/file-metrics/records.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/scc/availability.mjs +59 -0
- package/dist/esm/package-checks/file-metrics/scc/availability.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/scc/csv.mjs +17 -0
- package/dist/esm/package-checks/file-metrics/scc/csv.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/scc/parser.mjs +145 -0
- package/dist/esm/package-checks/file-metrics/scc/parser.mjs.map +1 -0
- package/dist/esm/package-checks/file-metrics/scc/scanner.mjs +54 -0
- package/dist/esm/package-checks/file-metrics/scc/scanner.mjs.map +1 -0
- package/dist/esm/package-checks/final-data-parsing.mjs +35 -0
- package/dist/esm/package-checks/final-data-parsing.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/analysis.mjs +96 -0
- package/dist/esm/package-checks/function-metrics/analysis.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/constructor.mjs +43 -0
- package/dist/esm/package-checks/function-metrics/constructor.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/execution.mjs +178 -0
- package/dist/esm/package-checks/function-metrics/execution.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/final-data.mjs +6 -0
- package/dist/esm/package-checks/function-metrics/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/lizard/availability.mjs +64 -0
- package/dist/esm/package-checks/function-metrics/lizard/availability.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/lizard/csv.mjs +17 -0
- package/dist/esm/package-checks/function-metrics/lizard/csv.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/lizard/parser.mjs +138 -0
- package/dist/esm/package-checks/function-metrics/lizard/parser.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/lizard/scanner.mjs +35 -0
- package/dist/esm/package-checks/function-metrics/lizard/scanner.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/measurement-model.mjs +2 -0
- package/dist/esm/package-checks/function-metrics/measurement-model.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/measurement.mjs +35 -0
- package/dist/esm/package-checks/function-metrics/measurement.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/options-resolution.mjs +171 -0
- package/dist/esm/package-checks/function-metrics/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/options-validation.mjs +71 -0
- package/dist/esm/package-checks/function-metrics/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/options.mjs +2 -0
- package/dist/esm/package-checks/function-metrics/options.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/records.mjs +133 -0
- package/dist/esm/package-checks/function-metrics/records.mjs.map +1 -0
- package/dist/esm/package-checks/function-metrics/target-files.mjs +75 -0
- package/dist/esm/package-checks/function-metrics/target-files.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/error-message.mjs +4 -0
- package/dist/esm/package-checks/host-environment/error-message.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/filesystem.mjs +81 -0
- package/dist/esm/package-checks/host-environment/filesystem.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/git.mjs +51 -0
- package/dist/esm/package-checks/host-environment/git.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/path.mjs +18 -0
- package/dist/esm/package-checks/host-environment/path.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/command.mjs +13 -0
- package/dist/esm/package-checks/host-environment/process/command.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/contract.mjs +2 -0
- package/dist/esm/package-checks/host-environment/process/contract.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/env.mjs +19 -0
- package/dist/esm/package-checks/host-environment/process/env.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/failure.mjs +34 -0
- package/dist/esm/package-checks/host-environment/process/failure.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/result.mjs +33 -0
- package/dist/esm/package-checks/host-environment/process/result.mjs.map +1 -0
- package/dist/esm/package-checks/host-environment/process/runner.mjs +30 -0
- package/dist/esm/package-checks/host-environment/process/runner.mjs.map +1 -0
- package/dist/esm/package-checks/json-document/strict-document.mjs +163 -0
- package/dist/esm/package-checks/json-document/strict-document.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/default-check.mjs +39 -0
- package/dist/esm/package-checks/json-schema-validation/default-check.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/execution-stages.mjs +141 -0
- package/dist/esm/package-checks/json-schema-validation/execution-stages.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/final-data.mjs +64 -0
- package/dist/esm/package-checks/json-schema-validation/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/issue-collector.mjs +35 -0
- package/dist/esm/package-checks/json-schema-validation/issue-collector.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/json-schema-validation.mjs +118 -0
- package/dist/esm/package-checks/json-schema-validation/json-schema-validation.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/options-resolution.mjs +45 -0
- package/dist/esm/package-checks/json-schema-validation/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/options-validation.mjs +212 -0
- package/dist/esm/package-checks/json-schema-validation/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/options.mjs +2 -0
- package/dist/esm/package-checks/json-schema-validation/options.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/reference-resolver.mjs +128 -0
- package/dist/esm/package-checks/json-schema-validation/reference-resolver.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/remote-response.mjs +71 -0
- package/dist/esm/package-checks/json-schema-validation/remote-response.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/schema-engine.mjs +190 -0
- package/dist/esm/package-checks/json-schema-validation/schema-engine.mjs.map +1 -0
- package/dist/esm/package-checks/json-schema-validation/schema-policy.mjs +234 -0
- package/dist/esm/package-checks/json-schema-validation/schema-policy.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/default-check.mjs +39 -0
- package/dist/esm/package-checks/json-validation/default-check.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/final-data.mjs +27 -0
- package/dist/esm/package-checks/json-validation/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/json-validation.mjs +138 -0
- package/dist/esm/package-checks/json-validation/json-validation.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/options-resolution.mjs +33 -0
- package/dist/esm/package-checks/json-validation/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/options-validation.mjs +16 -0
- package/dist/esm/package-checks/json-validation/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/json-validation/options.mjs +2 -0
- package/dist/esm/package-checks/json-validation/options.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/assessment-results.mjs +73 -0
- package/dist/esm/package-checks/maintenance-reminders/assessment-results.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/final-data.mjs +153 -0
- package/dist/esm/package-checks/maintenance-reminders/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/maintenance-reminders.mjs +155 -0
- package/dist/esm/package-checks/maintenance-reminders/maintenance-reminders.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/maintenance-support.mjs +58 -0
- package/dist/esm/package-checks/maintenance-reminders/maintenance-support.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/measurement.mjs +125 -0
- package/dist/esm/package-checks/maintenance-reminders/measurement.mjs.map +1 -0
- package/dist/esm/package-checks/maintenance-reminders/options-validation.mjs +72 -0
- package/dist/esm/package-checks/maintenance-reminders/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/default-check.mjs +55 -0
- package/dist/esm/package-checks/markdown-link-validation/default-check.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/execution.mjs +199 -0
- package/dist/esm/package-checks/markdown-link-validation/execution.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/filesystem-probes.mjs +109 -0
- package/dist/esm/package-checks/markdown-link-validation/filesystem-probes.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/final-data.mjs +28 -0
- package/dist/esm/package-checks/markdown-link-validation/final-data.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/local-resolution.mjs +158 -0
- package/dist/esm/package-checks/markdown-link-validation/local-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/local-resolver.mjs +17 -0
- package/dist/esm/package-checks/markdown-link-validation/local-resolver.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/markdown-parser.mjs +191 -0
- package/dist/esm/package-checks/markdown-link-validation/markdown-parser.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/options-resolution.mjs +83 -0
- package/dist/esm/package-checks/markdown-link-validation/options-resolution.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/options-validation.mjs +50 -0
- package/dist/esm/package-checks/markdown-link-validation/options-validation.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/options.mjs +2 -0
- package/dist/esm/package-checks/markdown-link-validation/options.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/records.mjs +32 -0
- package/dist/esm/package-checks/markdown-link-validation/records.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/resolver-engine.mjs +196 -0
- package/dist/esm/package-checks/markdown-link-validation/resolver-engine.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/target-descriptor.mjs +23 -0
- package/dist/esm/package-checks/markdown-link-validation/target-descriptor.mjs.map +1 -0
- package/dist/esm/package-checks/markdown-link-validation/traversal-result.mjs +41 -0
- package/dist/esm/package-checks/markdown-link-validation/traversal-result.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/collection.mjs +142 -0
- package/dist/esm/package-checks/project-files/collection.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/config-glob.mjs +11 -0
- package/dist/esm/package-checks/project-files/config-glob.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/configuration.mjs +104 -0
- package/dist/esm/package-checks/project-files/configuration.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/exact-input-measurement.mjs +24 -0
- package/dist/esm/package-checks/project-files/exact-input-measurement.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/file-fingerprint.mjs +36 -0
- package/dist/esm/package-checks/project-files/file-fingerprint.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/gitlink-revision.mjs +57 -0
- package/dist/esm/package-checks/project-files/gitlink-revision.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/gitlink-worktree.mjs +72 -0
- package/dist/esm/package-checks/project-files/gitlink-worktree.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/input-eligibility.mjs +13 -0
- package/dist/esm/package-checks/project-files/input-eligibility.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/reported-path.mjs +30 -0
- package/dist/esm/package-checks/project-files/reported-path.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/revision-paths.mjs +19 -0
- package/dist/esm/package-checks/project-files/revision-paths.mjs.map +1 -0
- package/dist/esm/package-checks/project-files/revision-worktree-files.mjs +102 -0
- package/dist/esm/package-checks/project-files/revision-worktree-files.mjs.map +1 -0
- package/dist/esm/project-definition/check-tree/authoring.mjs +242 -0
- package/dist/esm/project-definition/check-tree/authoring.mjs.map +1 -0
- package/dist/esm/project-definition/check-tree/materialization.mjs +50 -0
- package/dist/esm/project-definition/check-tree/materialization.mjs.map +1 -0
- package/dist/esm/project-definition/check-tree/resolution.mjs +60 -0
- package/dist/esm/project-definition/check-tree/resolution.mjs.map +1 -0
- package/dist/esm/project-definition/output-defaults.mjs +7 -0
- package/dist/esm/project-definition/output-defaults.mjs.map +1 -0
- package/dist/esm/project-definition/output-validation.mjs +44 -0
- package/dist/esm/project-definition/output-validation.mjs.map +1 -0
- package/dist/esm/project-definition/project-definition-validation.mjs +95 -0
- package/dist/esm/project-definition/project-definition-validation.mjs.map +1 -0
- package/dist/esm/project-definition/project-definition.mjs +92 -0
- package/dist/esm/project-definition/project-definition.mjs.map +1 -0
- package/dist/esm/project-run/aggregation.mjs +66 -0
- package/dist/esm/project-run/aggregation.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/callback.mjs +70 -0
- package/dist/esm/project-run/check-execution/callback.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/dependencies.mjs +50 -0
- package/dist/esm/project-run/check-execution/dependencies.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/execution-finalization.mjs +103 -0
- package/dist/esm/project-run/check-execution/execution-finalization.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/execution-settlement.mjs +90 -0
- package/dist/esm/project-run/check-execution/execution-settlement.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/messages.mjs +38 -0
- package/dist/esm/project-run/check-execution/messages.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/plan.mjs +35 -0
- package/dist/esm/project-run/check-execution/plan.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/preflight-result.mjs +83 -0
- package/dist/esm/project-run/check-execution/preflight-result.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/preflight.mjs +186 -0
- package/dist/esm/project-run/check-execution/preflight.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/resolved-checks.mjs +168 -0
- package/dist/esm/project-run/check-execution/resolved-checks.mjs.map +1 -0
- package/dist/esm/project-run/check-execution/terminal-result.mjs +49 -0
- package/dist/esm/project-run/check-execution/terminal-result.mjs.map +1 -0
- package/dist/esm/project-run/completion.mjs +173 -0
- package/dist/esm/project-run/completion.mjs.map +1 -0
- package/dist/esm/project-run/controls/contract.mjs +2 -0
- package/dist/esm/project-run/controls/contract.mjs.map +1 -0
- package/dist/esm/project-run/controls/outputs-override-validation.mjs +61 -0
- package/dist/esm/project-run/controls/outputs-override-validation.mjs.map +1 -0
- package/dist/esm/project-run/controls/validation-result.mjs +2 -0
- package/dist/esm/project-run/controls/validation-result.mjs.map +1 -0
- package/dist/esm/project-run/controls/validation.mjs +156 -0
- package/dist/esm/project-run/controls/validation.mjs.map +1 -0
- package/dist/esm/project-run/diagnostic-logging/diagnostic-detail-rendering.mjs +182 -0
- package/dist/esm/project-run/diagnostic-logging/diagnostic-detail-rendering.mjs.map +1 -0
- package/dist/esm/project-run/diagnostic-logging/logger.mjs +242 -0
- package/dist/esm/project-run/diagnostic-logging/logger.mjs.map +1 -0
- package/dist/esm/project-run/invocation-creation.mjs +111 -0
- package/dist/esm/project-run/invocation-creation.mjs.map +1 -0
- package/dist/esm/project-run/invocation.mjs +195 -0
- package/dist/esm/project-run/invocation.mjs.map +1 -0
- package/dist/esm/project-run/machine-publication.mjs +16 -0
- package/dist/esm/project-run/machine-publication.mjs.map +1 -0
- package/dist/esm/project-run/output-configuration.mjs +17 -0
- package/dist/esm/project-run/output-configuration.mjs.map +1 -0
- package/dist/esm/project-run/output-status.mjs +43 -0
- package/dist/esm/project-run/output-status.mjs.map +1 -0
- package/dist/esm/project-run/progress-rendering/presentation.mjs +135 -0
- package/dist/esm/project-run/progress-rendering/presentation.mjs.map +1 -0
- package/dist/esm/project-run/progress-rendering/renderer-formatting.mjs +100 -0
- package/dist/esm/project-run/progress-rendering/renderer-formatting.mjs.map +1 -0
- package/dist/esm/project-run/progress-rendering/renderer-lifecycle.mjs +123 -0
- package/dist/esm/project-run/progress-rendering/renderer-lifecycle.mjs.map +1 -0
- package/dist/esm/project-run/progress-rendering/renderer.mjs +12 -0
- package/dist/esm/project-run/progress-rendering/renderer.mjs.map +1 -0
- package/dist/esm/project-run/project-context.mjs +8 -0
- package/dist/esm/project-run/project-context.mjs.map +1 -0
- package/dist/esm/project-run/result.mjs +54 -0
- package/dist/esm/project-run/result.mjs.map +1 -0
- package/dist/esm/project-run/run.mjs +23 -0
- package/dist/esm/project-run/run.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/execution-state.mjs +66 -0
- package/dist/esm/project-run/task-scheduler/execution-state.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/graph-validation.mjs +119 -0
- package/dist/esm/project-run/task-scheduler/graph-validation.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/graph.mjs +116 -0
- package/dist/esm/project-run/task-scheduler/graph.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler-admission-decision.mjs +82 -0
- package/dist/esm/project-run/task-scheduler/scheduler-admission-decision.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler-blocker-summary.mjs +27 -0
- package/dist/esm/project-run/task-scheduler/scheduler-blocker-summary.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision-inspection.mjs +125 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision-inspection.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision-model.mjs +45 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision-model.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision.mjs +74 -0
- package/dist/esm/project-run/task-scheduler/scheduler-decision.mjs.map +1 -0
- package/dist/esm/project-run/task-scheduler/scheduler.mjs +147 -0
- package/dist/esm/project-run/task-scheduler/scheduler.mjs.map +1 -0
- package/docs/api-mechanics.md +205 -0
- package/docs/checks/duplicate-detection.md +195 -0
- package/docs/checks/file-metrics.md +229 -0
- package/docs/checks/function-metrics.md +222 -0
- package/docs/checks/json-schema-validation.md +190 -0
- package/docs/checks/json-validation.md +133 -0
- package/docs/checks/maintenance-reminders.md +158 -0
- package/docs/checks/markdown-link-validation.md +192 -0
- package/docs/examples/artifacts/mixed-outcomes/definition.ts +195 -0
- package/docs/examples/artifacts/mixed-outcomes/records.ndjson +2 -0
- package/docs/examples/artifacts/mixed-outcomes/run.json +70 -0
- package/docs/output.md +97 -0
- package/docs/schemas/vibe-check-record.schema.json +33 -0
- package/docs/schemas/vibe-check-run.schema.json +173 -0
- package/index.mjs +1 -0
- package/package.json +49 -0
- package/src/check/check.ts +497 -0
- package/src/check/descriptor-validation.ts +60 -0
- package/src/check/descriptor.ts +5 -0
- package/src/check/inherited-collection.ts +101 -0
- package/src/check/options-snapshot.ts +80 -0
- package/src/check-settlement/fact-validation.ts +289 -0
- package/src/check-settlement/facts.ts +27 -0
- package/src/check-settlement/outcome-normalization.ts +118 -0
- package/src/check-settlement/record-store.ts +73 -0
- package/src/check-settlement/session.ts +257 -0
- package/src/data-boundary/canonical-data.ts +188 -0
- package/src/data-boundary/canonical-json.ts +11 -0
- package/src/data-boundary/closed-values.ts +126 -0
- package/src/data-boundary/value-shapes.ts +15 -0
- package/src/finding-waivers/reconciliation.ts +176 -0
- package/src/index.ts +123 -0
- package/src/machine-output/v4/atomic-publication.ts +123 -0
- package/src/machine-output/v4/freeze-publication-value.ts +12 -0
- package/src/machine-output/v4/projection.ts +36 -0
- package/src/machine-output/v4/publication-invariants.ts +89 -0
- package/src/machine-output/v4/publication-model.ts +38 -0
- package/src/machine-output/v4/publish.ts +23 -0
- package/src/machine-output/v4/records-fingerprint.ts +12 -0
- package/src/machine-output/v4/schema-identities.ts +8 -0
- package/src/machine-output/v4/schema.ts +97 -0
- package/src/machine-output/v4/serializers.ts +18 -0
- package/src/machine-output/v4/validation-result.ts +59 -0
- package/src/machine-output/v4/validation.ts +166 -0
- package/src/package-checks/code-quality-findings/policy.ts +85 -0
- package/src/package-checks/duplicate-detection/area-policy.ts +103 -0
- package/src/package-checks/duplicate-detection/cache/cache-contract.ts +49 -0
- package/src/package-checks/duplicate-detection/cache/identity.ts +61 -0
- package/src/package-checks/duplicate-detection/cache/key.ts +46 -0
- package/src/package-checks/duplicate-detection/cache/payload.ts +78 -0
- package/src/package-checks/duplicate-detection/cache/store.ts +77 -0
- package/src/package-checks/duplicate-detection/default-check.ts +50 -0
- package/src/package-checks/duplicate-detection/execution.ts +168 -0
- package/src/package-checks/duplicate-detection/final-data.ts +10 -0
- package/src/package-checks/duplicate-detection/jscpd/availability.ts +137 -0
- package/src/package-checks/duplicate-detection/jscpd/command-path.ts +8 -0
- package/src/package-checks/duplicate-detection/jscpd/command-resolution.ts +112 -0
- package/src/package-checks/duplicate-detection/jscpd/json-report.ts +137 -0
- package/src/package-checks/duplicate-detection/jscpd/scanner-contract.ts +18 -0
- package/src/package-checks/duplicate-detection/jscpd/scanner.ts +257 -0
- package/src/package-checks/duplicate-detection/jscpd/scoped-fragments.ts +17 -0
- package/src/package-checks/duplicate-detection/measurement-model.ts +44 -0
- package/src/package-checks/duplicate-detection/measurement.ts +223 -0
- package/src/package-checks/duplicate-detection/options-resolution.ts +162 -0
- package/src/package-checks/duplicate-detection/options-validation.ts +75 -0
- package/src/package-checks/duplicate-detection/options.ts +72 -0
- package/src/package-checks/duplicate-detection/project-revision.ts +5 -0
- package/src/package-checks/duplicate-detection/records.ts +171 -0
- package/src/package-checks/file-metrics/constructor.ts +46 -0
- package/src/package-checks/file-metrics/execution.ts +233 -0
- package/src/package-checks/file-metrics/final-data.ts +10 -0
- package/src/package-checks/file-metrics/measurement-model.ts +10 -0
- package/src/package-checks/file-metrics/measurement.ts +52 -0
- package/src/package-checks/file-metrics/options-resolution.ts +213 -0
- package/src/package-checks/file-metrics/options-validation.ts +104 -0
- package/src/package-checks/file-metrics/options.ts +91 -0
- package/src/package-checks/file-metrics/records.ts +182 -0
- package/src/package-checks/file-metrics/scc/availability.ts +100 -0
- package/src/package-checks/file-metrics/scc/csv.ts +20 -0
- package/src/package-checks/file-metrics/scc/parser.ts +223 -0
- package/src/package-checks/file-metrics/scc/scanner.ts +68 -0
- package/src/package-checks/final-data-parsing.ts +49 -0
- package/src/package-checks/function-metrics/analysis.ts +138 -0
- package/src/package-checks/function-metrics/constructor.ts +55 -0
- package/src/package-checks/function-metrics/execution.ts +263 -0
- package/src/package-checks/function-metrics/final-data.ts +10 -0
- package/src/package-checks/function-metrics/lizard/availability.ts +90 -0
- package/src/package-checks/function-metrics/lizard/csv.ts +20 -0
- package/src/package-checks/function-metrics/lizard/parser.ts +179 -0
- package/src/package-checks/function-metrics/lizard/scanner.ts +62 -0
- package/src/package-checks/function-metrics/measurement-model.ts +30 -0
- package/src/package-checks/function-metrics/measurement.ts +57 -0
- package/src/package-checks/function-metrics/options-resolution.ts +215 -0
- package/src/package-checks/function-metrics/options-validation.ts +89 -0
- package/src/package-checks/function-metrics/options.ts +84 -0
- package/src/package-checks/function-metrics/records.ts +254 -0
- package/src/package-checks/function-metrics/target-files.ts +85 -0
- package/src/package-checks/host-environment/error-message.ts +3 -0
- package/src/package-checks/host-environment/filesystem.ts +110 -0
- package/src/package-checks/host-environment/git.ts +68 -0
- package/src/package-checks/host-environment/path.ts +20 -0
- package/src/package-checks/host-environment/process/command.ts +21 -0
- package/src/package-checks/host-environment/process/contract.ts +56 -0
- package/src/package-checks/host-environment/process/env.ts +25 -0
- package/src/package-checks/host-environment/process/failure.ts +40 -0
- package/src/package-checks/host-environment/process/result.ts +39 -0
- package/src/package-checks/host-environment/process/runner.ts +47 -0
- package/src/package-checks/json-document/strict-document.ts +209 -0
- package/src/package-checks/json-schema-validation/default-check.ts +54 -0
- package/src/package-checks/json-schema-validation/execution-stages.ts +230 -0
- package/src/package-checks/json-schema-validation/final-data.ts +115 -0
- package/src/package-checks/json-schema-validation/issue-collector.ts +43 -0
- package/src/package-checks/json-schema-validation/json-schema-validation.ts +191 -0
- package/src/package-checks/json-schema-validation/options-resolution.ts +61 -0
- package/src/package-checks/json-schema-validation/options-validation.ts +256 -0
- package/src/package-checks/json-schema-validation/options.ts +66 -0
- package/src/package-checks/json-schema-validation/reference-resolver.ts +165 -0
- package/src/package-checks/json-schema-validation/remote-response.ts +84 -0
- package/src/package-checks/json-schema-validation/schema-engine.ts +263 -0
- package/src/package-checks/json-schema-validation/schema-policy.ts +275 -0
- package/src/package-checks/json-validation/default-check.ts +48 -0
- package/src/package-checks/json-validation/final-data.ts +46 -0
- package/src/package-checks/json-validation/json-validation.ts +212 -0
- package/src/package-checks/json-validation/options-resolution.ts +50 -0
- package/src/package-checks/json-validation/options-validation.ts +27 -0
- package/src/package-checks/json-validation/options.ts +18 -0
- package/src/package-checks/maintenance-reminders/assessment-results.ts +117 -0
- package/src/package-checks/maintenance-reminders/final-data.ts +239 -0
- package/src/package-checks/maintenance-reminders/maintenance-reminders.ts +264 -0
- package/src/package-checks/maintenance-reminders/maintenance-support.ts +67 -0
- package/src/package-checks/maintenance-reminders/measurement.ts +183 -0
- package/src/package-checks/maintenance-reminders/options-validation.ts +88 -0
- package/src/package-checks/markdown-link-validation/default-check.ts +70 -0
- package/src/package-checks/markdown-link-validation/execution.ts +325 -0
- package/src/package-checks/markdown-link-validation/filesystem-probes.ts +127 -0
- package/src/package-checks/markdown-link-validation/final-data.ts +47 -0
- package/src/package-checks/markdown-link-validation/local-resolution.ts +306 -0
- package/src/package-checks/markdown-link-validation/local-resolver.ts +51 -0
- package/src/package-checks/markdown-link-validation/markdown-parser.ts +302 -0
- package/src/package-checks/markdown-link-validation/options-resolution.ts +114 -0
- package/src/package-checks/markdown-link-validation/options-validation.ts +72 -0
- package/src/package-checks/markdown-link-validation/options.ts +50 -0
- package/src/package-checks/markdown-link-validation/records.ts +77 -0
- package/src/package-checks/markdown-link-validation/resolver-engine.ts +276 -0
- package/src/package-checks/markdown-link-validation/target-descriptor.ts +34 -0
- package/src/package-checks/markdown-link-validation/traversal-result.ts +58 -0
- package/src/package-checks/project-files/collection.ts +199 -0
- package/src/package-checks/project-files/config-glob.ts +17 -0
- package/src/package-checks/project-files/configuration.ts +152 -0
- package/src/package-checks/project-files/exact-input-measurement.ts +38 -0
- package/src/package-checks/project-files/file-fingerprint.ts +46 -0
- package/src/package-checks/project-files/gitlink-revision.ts +82 -0
- package/src/package-checks/project-files/gitlink-worktree.ts +106 -0
- package/src/package-checks/project-files/input-eligibility.ts +21 -0
- package/src/package-checks/project-files/reported-path.ts +35 -0
- package/src/package-checks/project-files/revision-paths.ts +34 -0
- package/src/package-checks/project-files/revision-worktree-files.ts +148 -0
- package/src/project-definition/check-tree/authoring.ts +332 -0
- package/src/project-definition/check-tree/materialization.ts +56 -0
- package/src/project-definition/check-tree/resolution.ts +108 -0
- package/src/project-definition/output-defaults.ts +6 -0
- package/src/project-definition/output-validation.ts +54 -0
- package/src/project-definition/project-definition-validation.ts +123 -0
- package/src/project-definition/project-definition.ts +184 -0
- package/src/project-run/aggregation.ts +90 -0
- package/src/project-run/check-execution/callback.ts +106 -0
- package/src/project-run/check-execution/dependencies.ts +70 -0
- package/src/project-run/check-execution/execution-finalization.ts +177 -0
- package/src/project-run/check-execution/execution-settlement.ts +147 -0
- package/src/project-run/check-execution/messages.ts +46 -0
- package/src/project-run/check-execution/plan.ts +46 -0
- package/src/project-run/check-execution/preflight-result.ts +131 -0
- package/src/project-run/check-execution/preflight.ts +321 -0
- package/src/project-run/check-execution/resolved-checks.ts +285 -0
- package/src/project-run/check-execution/terminal-result.ts +74 -0
- package/src/project-run/completion.ts +263 -0
- package/src/project-run/controls/contract.ts +24 -0
- package/src/project-run/controls/outputs-override-validation.ts +86 -0
- package/src/project-run/controls/validation-result.ts +12 -0
- package/src/project-run/controls/validation.ts +176 -0
- package/src/project-run/diagnostic-logging/diagnostic-detail-rendering.ts +223 -0
- package/src/project-run/diagnostic-logging/logger.ts +325 -0
- package/src/project-run/invocation-creation.ts +160 -0
- package/src/project-run/invocation.ts +303 -0
- package/src/project-run/machine-publication.ts +23 -0
- package/src/project-run/output-configuration.ts +24 -0
- package/src/project-run/output-status.ts +69 -0
- package/src/project-run/progress-rendering/presentation.ts +189 -0
- package/src/project-run/progress-rendering/renderer-formatting.ts +141 -0
- package/src/project-run/progress-rendering/renderer-lifecycle.ts +152 -0
- package/src/project-run/progress-rendering/renderer.ts +68 -0
- package/src/project-run/project-context.ts +11 -0
- package/src/project-run/result.ts +175 -0
- package/src/project-run/run.ts +50 -0
- package/src/project-run/task-scheduler/execution-state.ts +153 -0
- package/src/project-run/task-scheduler/graph-validation.ts +176 -0
- package/src/project-run/task-scheduler/graph.ts +185 -0
- package/src/project-run/task-scheduler/scheduler-admission-decision.ts +177 -0
- package/src/project-run/task-scheduler/scheduler-blocker-summary.ts +42 -0
- package/src/project-run/task-scheduler/scheduler-decision-inspection.ts +199 -0
- package/src/project-run/task-scheduler/scheduler-decision-model.ts +158 -0
- package/src/project-run/task-scheduler/scheduler-decision.ts +103 -0
- package/src/project-run/task-scheduler/scheduler.ts +228 -0
- package/third-party-licenses/momoa-3.3.12-LICENSE +201 -0
- package/types/check/check.d.ts +350 -0
- package/types/check/descriptor-validation.d.ts +18 -0
- package/types/check/descriptor.d.ts +5 -0
- package/types/check/inherited-collection.d.ts +35 -0
- package/types/check/options-snapshot.d.ts +2 -0
- package/types/check-settlement/fact-validation.d.ts +14 -0
- package/types/check-settlement/facts.d.ts +19 -0
- package/types/check-settlement/outcome-normalization.d.ts +9 -0
- package/types/check-settlement/record-store.d.ts +14 -0
- package/types/check-settlement/session.d.ts +41 -0
- package/types/data-boundary/canonical-data.d.ts +13 -0
- package/types/data-boundary/canonical-json.d.ts +6 -0
- package/types/data-boundary/closed-values.d.ts +8 -0
- package/types/data-boundary/value-shapes.d.ts +4 -0
- package/types/finding-waivers/reconciliation.d.ts +66 -0
- package/types/index.d.ts +57 -0
- package/types/machine-output/v4/atomic-publication.d.ts +9 -0
- package/types/machine-output/v4/freeze-publication-value.d.ts +6 -0
- package/types/machine-output/v4/projection.d.ts +7 -0
- package/types/machine-output/v4/publication-invariants.d.ts +3 -0
- package/types/machine-output/v4/publication-model.d.ts +15 -0
- package/types/machine-output/v4/publish.d.ts +7 -0
- package/types/machine-output/v4/records-fingerprint.d.ts +4 -0
- package/types/machine-output/v4/schema-identities.d.ts +7 -0
- package/types/machine-output/v4/schema.d.ts +44 -0
- package/types/machine-output/v4/serializers.d.ts +6 -0
- package/types/machine-output/v4/validation-result.d.ts +26 -0
- package/types/machine-output/v4/validation.d.ts +6 -0
- package/types/package-checks/code-quality-findings/policy.d.ts +20 -0
- package/types/package-checks/duplicate-detection/area-policy.d.ts +3 -0
- package/types/package-checks/duplicate-detection/cache/cache-contract.d.ts +48 -0
- package/types/package-checks/duplicate-detection/cache/identity.d.ts +17 -0
- package/types/package-checks/duplicate-detection/cache/key.d.ts +4 -0
- package/types/package-checks/duplicate-detection/cache/payload.d.ts +4 -0
- package/types/package-checks/duplicate-detection/cache/store.d.ts +18 -0
- package/types/package-checks/duplicate-detection/default-check.d.ts +11 -0
- package/types/package-checks/duplicate-detection/execution.d.ts +11 -0
- package/types/package-checks/duplicate-detection/final-data.d.ts +5 -0
- package/types/package-checks/duplicate-detection/jscpd/availability.d.ts +19 -0
- package/types/package-checks/duplicate-detection/jscpd/command-path.d.ts +1 -0
- package/types/package-checks/duplicate-detection/jscpd/command-resolution.d.ts +23 -0
- package/types/package-checks/duplicate-detection/jscpd/json-report.d.ts +2 -0
- package/types/package-checks/duplicate-detection/jscpd/scanner-contract.d.ts +11 -0
- package/types/package-checks/duplicate-detection/jscpd/scanner.d.ts +21 -0
- package/types/package-checks/duplicate-detection/jscpd/scoped-fragments.d.ts +4 -0
- package/types/package-checks/duplicate-detection/measurement-model.d.ts +36 -0
- package/types/package-checks/duplicate-detection/measurement.d.ts +14 -0
- package/types/package-checks/duplicate-detection/options-resolution.d.ts +3 -0
- package/types/package-checks/duplicate-detection/options-validation.d.ts +1 -0
- package/types/package-checks/duplicate-detection/options.d.ts +65 -0
- package/types/package-checks/duplicate-detection/project-revision.d.ts +1 -0
- package/types/package-checks/duplicate-detection/records.d.ts +22 -0
- package/types/package-checks/file-metrics/constructor.d.ts +11 -0
- package/types/package-checks/file-metrics/execution.d.ts +11 -0
- package/types/package-checks/file-metrics/final-data.d.ts +5 -0
- package/types/package-checks/file-metrics/measurement-model.d.ts +12 -0
- package/types/package-checks/file-metrics/measurement.d.ts +13 -0
- package/types/package-checks/file-metrics/options-resolution.d.ts +3 -0
- package/types/package-checks/file-metrics/options-validation.d.ts +3 -0
- package/types/package-checks/file-metrics/options.d.ts +75 -0
- package/types/package-checks/file-metrics/records.d.ts +43 -0
- package/types/package-checks/file-metrics/scc/availability.d.ts +18 -0
- package/types/package-checks/file-metrics/scc/csv.d.ts +1 -0
- package/types/package-checks/file-metrics/scc/parser.d.ts +25 -0
- package/types/package-checks/file-metrics/scc/scanner.d.ts +14 -0
- package/types/package-checks/final-data-parsing.d.ts +9 -0
- package/types/package-checks/function-metrics/analysis.d.ts +10 -0
- package/types/package-checks/function-metrics/constructor.d.ts +11 -0
- package/types/package-checks/function-metrics/execution.d.ts +7 -0
- package/types/package-checks/function-metrics/final-data.d.ts +5 -0
- package/types/package-checks/function-metrics/lizard/availability.d.ts +11 -0
- package/types/package-checks/function-metrics/lizard/csv.d.ts +1 -0
- package/types/package-checks/function-metrics/lizard/parser.d.ts +17 -0
- package/types/package-checks/function-metrics/lizard/scanner.d.ts +15 -0
- package/types/package-checks/function-metrics/measurement-model.d.ts +26 -0
- package/types/package-checks/function-metrics/measurement.d.ts +21 -0
- package/types/package-checks/function-metrics/options-resolution.d.ts +3 -0
- package/types/package-checks/function-metrics/options-validation.d.ts +3 -0
- package/types/package-checks/function-metrics/options.d.ts +76 -0
- package/types/package-checks/function-metrics/records.d.ts +37 -0
- package/types/package-checks/function-metrics/target-files.d.ts +3 -0
- package/types/package-checks/host-environment/error-message.d.ts +1 -0
- package/types/package-checks/host-environment/filesystem.d.ts +19 -0
- package/types/package-checks/host-environment/git.d.ts +13 -0
- package/types/package-checks/host-environment/path.d.ts +3 -0
- package/types/package-checks/host-environment/process/command.d.ts +7 -0
- package/types/package-checks/host-environment/process/contract.d.ts +50 -0
- package/types/package-checks/host-environment/process/env.d.ts +16 -0
- package/types/package-checks/host-environment/process/failure.d.ts +4 -0
- package/types/package-checks/host-environment/process/result.d.ts +2 -0
- package/types/package-checks/host-environment/process/runner.d.ts +3 -0
- package/types/package-checks/json-document/strict-document.d.ts +35 -0
- package/types/package-checks/json-schema-validation/default-check.d.ts +11 -0
- package/types/package-checks/json-schema-validation/execution-stages.d.ts +27 -0
- package/types/package-checks/json-schema-validation/final-data.d.ts +15 -0
- package/types/package-checks/json-schema-validation/issue-collector.d.ts +12 -0
- package/types/package-checks/json-schema-validation/json-schema-validation.d.ts +42 -0
- package/types/package-checks/json-schema-validation/options-resolution.d.ts +3 -0
- package/types/package-checks/json-schema-validation/options-validation.d.ts +2 -0
- package/types/package-checks/json-schema-validation/options.d.ts +53 -0
- package/types/package-checks/json-schema-validation/reference-resolver.d.ts +23 -0
- package/types/package-checks/json-schema-validation/remote-response.d.ts +2 -0
- package/types/package-checks/json-schema-validation/schema-engine.d.ts +33 -0
- package/types/package-checks/json-schema-validation/schema-policy.d.ts +17 -0
- package/types/package-checks/json-validation/default-check.d.ts +11 -0
- package/types/package-checks/json-validation/final-data.d.ts +10 -0
- package/types/package-checks/json-validation/json-validation.d.ts +28 -0
- package/types/package-checks/json-validation/options-resolution.d.ts +3 -0
- package/types/package-checks/json-validation/options-validation.d.ts +2 -0
- package/types/package-checks/json-validation/options.d.ts +13 -0
- package/types/package-checks/maintenance-reminders/assessment-results.d.ts +10 -0
- package/types/package-checks/maintenance-reminders/final-data.d.ts +47 -0
- package/types/package-checks/maintenance-reminders/maintenance-reminders.d.ts +111 -0
- package/types/package-checks/maintenance-reminders/maintenance-support.d.ts +7 -0
- package/types/package-checks/maintenance-reminders/measurement.d.ts +10 -0
- package/types/package-checks/maintenance-reminders/options-validation.d.ts +3 -0
- package/types/package-checks/markdown-link-validation/default-check.d.ts +27 -0
- package/types/package-checks/markdown-link-validation/execution.d.ts +12 -0
- package/types/package-checks/markdown-link-validation/filesystem-probes.d.ts +10 -0
- package/types/package-checks/markdown-link-validation/final-data.d.ts +10 -0
- package/types/package-checks/markdown-link-validation/local-resolution.d.ts +92 -0
- package/types/package-checks/markdown-link-validation/local-resolver.d.ts +5 -0
- package/types/package-checks/markdown-link-validation/markdown-parser.d.ts +37 -0
- package/types/package-checks/markdown-link-validation/options-resolution.d.ts +3 -0
- package/types/package-checks/markdown-link-validation/options-validation.d.ts +2 -0
- package/types/package-checks/markdown-link-validation/options.d.ts +43 -0
- package/types/package-checks/markdown-link-validation/records.d.ts +37 -0
- package/types/package-checks/markdown-link-validation/resolver-engine.d.ts +15 -0
- package/types/package-checks/markdown-link-validation/target-descriptor.d.ts +5 -0
- package/types/package-checks/markdown-link-validation/traversal-result.d.ts +12 -0
- package/types/package-checks/project-files/collection.d.ts +9 -0
- package/types/package-checks/project-files/config-glob.d.ts +5 -0
- package/types/package-checks/project-files/configuration.d.ts +31 -0
- package/types/package-checks/project-files/exact-input-measurement.d.ts +12 -0
- package/types/package-checks/project-files/file-fingerprint.d.ts +7 -0
- package/types/package-checks/project-files/gitlink-revision.d.ts +9 -0
- package/types/package-checks/project-files/gitlink-worktree.d.ts +26 -0
- package/types/package-checks/project-files/input-eligibility.d.ts +7 -0
- package/types/package-checks/project-files/reported-path.d.ts +1 -0
- package/types/package-checks/project-files/revision-paths.d.ts +12 -0
- package/types/package-checks/project-files/revision-worktree-files.d.ts +5 -0
- package/types/project-definition/check-tree/authoring.d.ts +41 -0
- package/types/project-definition/check-tree/materialization.d.ts +4 -0
- package/types/project-definition/check-tree/resolution.d.ts +25 -0
- package/types/project-definition/output-defaults.d.ts +14 -0
- package/types/project-definition/output-validation.d.ts +3 -0
- package/types/project-definition/project-definition-validation.d.ts +6 -0
- package/types/project-definition/project-definition.d.ts +88 -0
- package/types/project-run/aggregation.d.ts +7 -0
- package/types/project-run/check-execution/callback.d.ts +24 -0
- package/types/project-run/check-execution/dependencies.d.ts +9 -0
- package/types/project-run/check-execution/execution-finalization.d.ts +18 -0
- package/types/project-run/check-execution/execution-settlement.d.ts +41 -0
- package/types/project-run/check-execution/messages.d.ts +3 -0
- package/types/project-run/check-execution/plan.d.ts +10 -0
- package/types/project-run/check-execution/preflight-result.d.ts +23 -0
- package/types/project-run/check-execution/preflight.d.ts +27 -0
- package/types/project-run/check-execution/resolved-checks.d.ts +51 -0
- package/types/project-run/check-execution/terminal-result.d.ts +27 -0
- package/types/project-run/completion.d.ts +14 -0
- package/types/project-run/controls/contract.d.ts +24 -0
- package/types/project-run/controls/outputs-override-validation.d.ts +3 -0
- package/types/project-run/controls/validation-result.d.ts +14 -0
- package/types/project-run/controls/validation.d.ts +3 -0
- package/types/project-run/diagnostic-logging/diagnostic-detail-rendering.d.ts +11 -0
- package/types/project-run/diagnostic-logging/logger.d.ts +33 -0
- package/types/project-run/invocation-creation.d.ts +12 -0
- package/types/project-run/invocation.d.ts +34 -0
- package/types/project-run/machine-publication.d.ts +10 -0
- package/types/project-run/output-configuration.d.ts +3 -0
- package/types/project-run/output-status.d.ts +21 -0
- package/types/project-run/progress-rendering/presentation.d.ts +28 -0
- package/types/project-run/progress-rendering/renderer-formatting.d.ts +23 -0
- package/types/project-run/progress-rendering/renderer-lifecycle.d.ts +24 -0
- package/types/project-run/progress-rendering/renderer.d.ts +44 -0
- package/types/project-run/project-context.d.ts +7 -0
- package/types/project-run/result.d.ts +99 -0
- package/types/project-run/run.d.ts +18 -0
- package/types/project-run/task-scheduler/execution-state.d.ts +67 -0
- package/types/project-run/task-scheduler/graph-validation.d.ts +11 -0
- package/types/project-run/task-scheduler/graph.d.ts +40 -0
- package/types/project-run/task-scheduler/scheduler-admission-decision.d.ts +8 -0
- package/types/project-run/task-scheduler/scheduler-blocker-summary.d.ts +4 -0
- package/types/project-run/task-scheduler/scheduler-decision-inspection.d.ts +24 -0
- package/types/project-run/task-scheduler/scheduler-decision-model.d.ts +94 -0
- package/types/project-run/task-scheduler/scheduler-decision.d.ts +8 -0
- package/types/project-run/task-scheduler/scheduler.d.ts +3 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FirstParentHistory, MaintenanceReminder, ReminderMeasurement } from "./maintenance-reminders.ts";
|
|
2
|
+
export declare function measureReminder(input: {
|
|
3
|
+
readonly entry: Readonly<MaintenanceReminder>;
|
|
4
|
+
readonly executable: string;
|
|
5
|
+
readonly history: FirstParentHistory;
|
|
6
|
+
readonly projectRoot: string;
|
|
7
|
+
readonly signal: AbortSignal;
|
|
8
|
+
}): Promise<ReminderMeasurement>;
|
|
9
|
+
export declare function parseCommitId(stdout: string): string | null;
|
|
10
|
+
export declare function parseFirstParentHistory(stdout: string, headCommit: string): FirstParentHistory | undefined;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type TypedCheckWithOptions } from "../../check/check.ts";
|
|
2
|
+
import { parseMarkdownLinkValidationData } from "./final-data.ts";
|
|
3
|
+
import type { MarkdownLinkValidationOptions, ResolvedMarkdownLinkValidationOptions } from "./options.ts";
|
|
4
|
+
/**
|
|
5
|
+
* 使用可省略的 source、target 与 work-limit policy 构造离线 Markdown 引用 Check。
|
|
6
|
+
*
|
|
7
|
+
* @param options - 省略字段由 package 补齐;files 数组是完整替换值,limits fields 可分别省略。
|
|
8
|
+
* @returns 固定 `markdown-link-validation` identity、完整冻结 options、parser 与执行逻辑。
|
|
9
|
+
* @throws {TypeError} input 含未知字段、非法 target policy 或非法 work limit 时抛出。
|
|
10
|
+
* @example 离线 Markdown 本地链接完整性
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { defineConfig, markdownLinkValidation, run } from "@zxyycom/vibe-check";
|
|
13
|
+
*
|
|
14
|
+
* const definition = defineConfig({
|
|
15
|
+
* checks: [markdownLinkValidation()],
|
|
16
|
+
* outputs: {
|
|
17
|
+
* diagnosticLogging: { enabled: false },
|
|
18
|
+
* machinePublication: { enabled: false },
|
|
19
|
+
* progressRendering: { enabled: false }
|
|
20
|
+
* }
|
|
21
|
+
* });
|
|
22
|
+
*
|
|
23
|
+
* const result = await run(definition);
|
|
24
|
+
* if (result.kind !== "completed") throw new Error(`Run did not complete: ${result.kind}`);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare function markdownLinkValidation(options?: MarkdownLinkValidationOptions): TypedCheckWithOptions<"markdown-link-validation", ResolvedMarkdownLinkValidationOptions, typeof parseMarkdownLinkValidationData>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ResolvedMarkdownLinkValidationOptions } from "./options.ts";
|
|
2
|
+
import type { CheckExecutionContext, CheckResult } from "../../check/check.ts";
|
|
3
|
+
import { type MarkdownLocalResolutionReason, type MarkdownSourceReadFailureReason } from "./local-resolver.ts";
|
|
4
|
+
import type { MarkdownLinkValidationFinalData } from "./final-data.ts";
|
|
5
|
+
export declare const MARKDOWN_LINK_VALIDATION_CHECK_DEFINITION: {
|
|
6
|
+
readonly checkId: "markdown-link-validation";
|
|
7
|
+
readonly displayName: "Markdown link validation";
|
|
8
|
+
};
|
|
9
|
+
/** `markdown-link-validation` whole-Check unavailable outcome 的稳定 reason code。 */
|
|
10
|
+
export type MarkdownLinkValidationUnavailableReason = "invalid-options" | "cancelled" | "occurrence-limit-exceeded" | "project-root-unavailable" | MarkdownLocalResolutionReason | MarkdownSourceReadFailureReason;
|
|
11
|
+
/** 验证本 Check 选中的 Markdown source 的离线本地链接完整性。 */
|
|
12
|
+
export declare function executeMarkdownLinkValidation(context: CheckExecutionContext<ResolvedMarkdownLinkValidationOptions>): Promise<CheckResult<MarkdownLinkValidationFinalData>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type EndpointProbe, type RootProbe } from "./local-resolution.ts";
|
|
2
|
+
export declare function probeRootContainedPath(canonicalProjectRoot: string, candidatePath: string): Promise<RootProbe>;
|
|
3
|
+
export declare function probeEndpoint(targetPath: string): Promise<EndpointProbe>;
|
|
4
|
+
export declare function readRegularFile(filePath: string, maxBytes: number): Promise<Readonly<{
|
|
5
|
+
readonly ok: true;
|
|
6
|
+
readonly bytes: Uint8Array;
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
readonly ok: false;
|
|
9
|
+
readonly reason: "too-large" | "unavailable";
|
|
10
|
+
}>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** `markdown-link-validation` 在 passed/failed outcome 中发布的主数据。 */
|
|
2
|
+
export interface MarkdownLinkValidationFinalData {
|
|
3
|
+
readonly sourceFileCount: number;
|
|
4
|
+
readonly occurrenceCount: number;
|
|
5
|
+
readonly targetReadCount: number;
|
|
6
|
+
readonly findingCount: number;
|
|
7
|
+
readonly rejectedInputCount: number;
|
|
8
|
+
}
|
|
9
|
+
/** 验证计数不变量并脱离一份 canonical final-data object。 */
|
|
10
|
+
export declare function parseMarkdownLinkValidationData(data: unknown): MarkdownLinkValidationFinalData;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MarkdownHeading, ParsedMarkdownLinkFacts } from "./markdown-parser.ts";
|
|
2
|
+
type RootExternalTargetMode = "ignore" | "report" | "validate";
|
|
3
|
+
/** Markdown local-link finding Record 的稳定 reason。 */
|
|
4
|
+
export type MarkdownLinkFindingReason = "anchor-on-directory" | "anchor-target-not-markdown" | "empty-directory" | "missing-anchor" | "missing-target" | "target-outside-project-root" | "unsupported-target-type";
|
|
5
|
+
type MarkdownLocalResolutionReason = "invalid-local-destination" | "target-read-limit-exceeded" | "target-unavailable";
|
|
6
|
+
type MarkdownSourceReadFailureReason = "markdown-parse-failed" | "source-unavailable" | "source-too-large";
|
|
7
|
+
interface MarkdownLinkSource {
|
|
8
|
+
readonly path: string;
|
|
9
|
+
readonly facts: ParsedMarkdownLinkFacts;
|
|
10
|
+
}
|
|
11
|
+
interface MarkdownLocalResolver {
|
|
12
|
+
readSource(rootRelativePath: string, maxMarkdownBytes: number): Promise<MarkdownSourceReadResult>;
|
|
13
|
+
resolve(request: MarkdownLocalResolutionRequest): Promise<MarkdownLocalResolution>;
|
|
14
|
+
readonly targetReadCount: number;
|
|
15
|
+
}
|
|
16
|
+
interface MarkdownLocalResolutionRequest {
|
|
17
|
+
readonly source: MarkdownLinkSource;
|
|
18
|
+
readonly rawDestination: string;
|
|
19
|
+
readonly rootExternalTargetMode: RootExternalTargetMode;
|
|
20
|
+
readonly requireExistingTargets: boolean;
|
|
21
|
+
readonly requireNonEmptyDirectories: boolean;
|
|
22
|
+
readonly validateSameDocumentAnchors: boolean;
|
|
23
|
+
readonly validateCrossDocumentAnchors: boolean;
|
|
24
|
+
readonly maxMarkdownBytes: number;
|
|
25
|
+
}
|
|
26
|
+
type MarkdownLocalResolverCreation = Readonly<{
|
|
27
|
+
readonly ok: true;
|
|
28
|
+
readonly resolver: MarkdownLocalResolver;
|
|
29
|
+
}> | Readonly<{
|
|
30
|
+
readonly ok: false;
|
|
31
|
+
readonly reason: "project-root-unavailable";
|
|
32
|
+
}>;
|
|
33
|
+
type MarkdownSourceReadResult = Readonly<{
|
|
34
|
+
readonly ok: true;
|
|
35
|
+
readonly source: MarkdownLinkSource;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
readonly ok: false;
|
|
38
|
+
readonly reason: MarkdownSourceReadFailureReason;
|
|
39
|
+
}>;
|
|
40
|
+
type MarkdownLocalResolution = Readonly<{
|
|
41
|
+
readonly kind: "not-local" | "ignored";
|
|
42
|
+
}> | Readonly<{
|
|
43
|
+
readonly kind: "valid";
|
|
44
|
+
readonly target: MarkdownSafeTargetDescriptor;
|
|
45
|
+
}> | Readonly<{
|
|
46
|
+
readonly kind: "finding";
|
|
47
|
+
readonly reason: MarkdownLinkFindingReason;
|
|
48
|
+
readonly target: MarkdownSafeTargetDescriptor;
|
|
49
|
+
}> | Readonly<{
|
|
50
|
+
readonly kind: "unavailable";
|
|
51
|
+
readonly reason: MarkdownLocalResolutionReason;
|
|
52
|
+
}>;
|
|
53
|
+
type MarkdownSafeTargetDescriptor = Readonly<{
|
|
54
|
+
readonly kind: "same-document" | "project-file" | "project-directory" | "project-path";
|
|
55
|
+
readonly path: string;
|
|
56
|
+
readonly fragment: string | null;
|
|
57
|
+
}> | Readonly<{
|
|
58
|
+
readonly kind: "outside-project-root";
|
|
59
|
+
}>;
|
|
60
|
+
interface ParsedLocalDestination {
|
|
61
|
+
readonly path: string;
|
|
62
|
+
readonly fragment: string | null;
|
|
63
|
+
readonly isAbsolute: boolean;
|
|
64
|
+
}
|
|
65
|
+
interface RootContainedPath {
|
|
66
|
+
readonly kind: "contained" | "missing";
|
|
67
|
+
readonly absolutePath: string;
|
|
68
|
+
}
|
|
69
|
+
type RootProbe = RootContainedPath | Readonly<{
|
|
70
|
+
readonly kind: "outside";
|
|
71
|
+
}> | Readonly<{
|
|
72
|
+
readonly kind: "unavailable";
|
|
73
|
+
}>;
|
|
74
|
+
type EndpointProbe = Readonly<{
|
|
75
|
+
readonly kind: "missing";
|
|
76
|
+
}> | Readonly<{
|
|
77
|
+
readonly kind: "directory" | "file" | "unsupported" | "unavailable";
|
|
78
|
+
}>;
|
|
79
|
+
export declare function parseLocalDestination(rawDestination: string): ParsedLocalDestination | "not-local" | null;
|
|
80
|
+
export declare function anchorResolution(headings: readonly MarkdownHeading[], fragment: string, target: MarkdownSafeTargetDescriptor): MarkdownLocalResolution;
|
|
81
|
+
export declare function isRootRelativePath(canonicalProjectRoot: string, rootRelativePath: string): boolean;
|
|
82
|
+
export declare function isWithinRoot(root: string, candidate: string): boolean;
|
|
83
|
+
export declare function relativeSegments(root: string, candidate: string): string[];
|
|
84
|
+
export declare function sameRootRelativePath(rootRelativePath: string, targetPath: string, canonicalProjectRoot: string): boolean;
|
|
85
|
+
export declare function isMarkdownPath(targetPath: string): boolean;
|
|
86
|
+
export declare function toSlashPath(filePath: string): string;
|
|
87
|
+
export declare function isNotFound(error: unknown): boolean;
|
|
88
|
+
export declare function sourceUnavailable(): MarkdownSourceReadResult;
|
|
89
|
+
export declare function valid(target: MarkdownSafeTargetDescriptor): MarkdownLocalResolution;
|
|
90
|
+
export declare function finding(reason: MarkdownLinkFindingReason, target: MarkdownSafeTargetDescriptor): MarkdownLocalResolution;
|
|
91
|
+
export declare function unavailable(reason: MarkdownLocalResolutionReason): MarkdownLocalResolution;
|
|
92
|
+
export type { MarkdownLinkSource, MarkdownLocalResolution, MarkdownLocalResolutionReason, MarkdownLocalResolver, MarkdownLocalResolverCreation, MarkdownLocalResolutionRequest, MarkdownSafeTargetDescriptor, MarkdownSourceReadResult, MarkdownSourceReadFailureReason, RootProbe, EndpointProbe, RootExternalTargetMode };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MarkdownLocalResolverCreation } from "./local-resolution.ts";
|
|
2
|
+
/** Link-private, per-invocation state for source reads and direct local targets. */
|
|
3
|
+
export declare function createMarkdownLocalResolver(projectRoot: string, maxTargetReads: number): Promise<MarkdownLocalResolverCreation>;
|
|
4
|
+
export { anchorResolution, finding, isMarkdownPath, isNotFound, isRootRelativePath, isWithinRoot, parseLocalDestination, relativeSegments, sameRootRelativePath, sourceUnavailable, toSlashPath, unavailable, valid } from "./local-resolution.ts";
|
|
5
|
+
export type { EndpointProbe, MarkdownLinkFindingReason, MarkdownLinkSource, MarkdownLocalResolution, MarkdownLocalResolutionReason, MarkdownLocalResolutionRequest, MarkdownLocalResolver, MarkdownLocalResolverCreation, MarkdownSafeTargetDescriptor, MarkdownSourceReadFailureReason, MarkdownSourceReadResult, RootExternalTargetMode, RootProbe } from "./local-resolution.ts";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type MarkdownOccurrenceKind = "image" | "link";
|
|
2
|
+
interface MarkdownSourcePosition {
|
|
3
|
+
readonly line: number;
|
|
4
|
+
readonly column: number;
|
|
5
|
+
}
|
|
6
|
+
interface MarkdownSourceRange {
|
|
7
|
+
readonly startOffset: number;
|
|
8
|
+
readonly endOffset: number;
|
|
9
|
+
readonly start: MarkdownSourcePosition;
|
|
10
|
+
readonly end: MarkdownSourcePosition;
|
|
11
|
+
}
|
|
12
|
+
interface MarkdownLinkOccurrence {
|
|
13
|
+
readonly kind: MarkdownOccurrenceKind;
|
|
14
|
+
readonly rawDestination: string;
|
|
15
|
+
readonly range: MarkdownSourceRange;
|
|
16
|
+
}
|
|
17
|
+
interface MarkdownHeading {
|
|
18
|
+
readonly slug: string;
|
|
19
|
+
readonly range: MarkdownSourceRange;
|
|
20
|
+
}
|
|
21
|
+
interface ParsedMarkdownLinkFacts {
|
|
22
|
+
readonly occurrences: readonly MarkdownLinkOccurrence[];
|
|
23
|
+
readonly headings: readonly MarkdownHeading[];
|
|
24
|
+
}
|
|
25
|
+
type MarkdownLinkParseResult = Readonly<{
|
|
26
|
+
readonly ok: true;
|
|
27
|
+
readonly facts: ParsedMarkdownLinkFacts;
|
|
28
|
+
}> | Readonly<{
|
|
29
|
+
readonly ok: false;
|
|
30
|
+
readonly reason: "markdown-parse-failure";
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Link-private Markdown grammar adapter. It deliberately exposes facts rather
|
|
34
|
+
* than the dependency AST, so resolver ownership starts after parsing.
|
|
35
|
+
*/
|
|
36
|
+
export declare function parseMarkdownLinkFacts(markdown: string): MarkdownLinkParseResult;
|
|
37
|
+
export type { MarkdownHeading, MarkdownLinkOccurrence, MarkdownLinkParseResult, MarkdownOccurrenceKind, MarkdownSourcePosition, MarkdownSourceRange, ParsedMarkdownLinkFacts };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { ProjectFileSelection, ProjectFileSelectionOptions } from "../project-files/configuration.ts";
|
|
2
|
+
import type { FindingPolicy } from "../code-quality-findings/policy.ts";
|
|
3
|
+
export type MarkdownRootExternalTargetMode = "ignore" | "report" | "validate";
|
|
4
|
+
/** 可省略的 Markdown validation work limits。 */
|
|
5
|
+
export interface MarkdownLinkValidationLimitOptions {
|
|
6
|
+
readonly maxMarkdownBytes?: number;
|
|
7
|
+
readonly maxOccurrences?: number;
|
|
8
|
+
readonly maxTargetReads?: number;
|
|
9
|
+
}
|
|
10
|
+
/** `markdownLinkValidation(options?)` 接受的可省略 authoring policy。 */
|
|
11
|
+
export interface MarkdownLinkValidationOptions {
|
|
12
|
+
/** 参与本 Check 的 Markdown source selection;省略字段使用 package defaults。 */
|
|
13
|
+
readonly files?: ProjectFileSelectionOptions;
|
|
14
|
+
/** local-reference finding 是否使本 Check failed;省略时为 non-blocking。 */
|
|
15
|
+
readonly findingPolicy?: FindingPolicy;
|
|
16
|
+
/** `false` 时缺失的本地文件或目录不构成 finding。 */
|
|
17
|
+
readonly requireExistingTargets?: boolean;
|
|
18
|
+
/** 是否检查 `#anchor` 对当前 Markdown 文档标题的引用。 */
|
|
19
|
+
readonly validateSameDocumentAnchors?: boolean;
|
|
20
|
+
/** 是否检查直接指向的 Markdown 文件中的 `#anchor`。 */
|
|
21
|
+
readonly validateCrossDocumentAnchors?: boolean;
|
|
22
|
+
/** root 外本机目标的授权模式;不授权网络请求。 */
|
|
23
|
+
readonly rootExternalTargetMode?: MarkdownRootExternalTargetMode;
|
|
24
|
+
/** 是否将空目录目标视为 finding。 */
|
|
25
|
+
readonly requireNonEmptyDirectories?: boolean;
|
|
26
|
+
/** 每次运行的 Markdown 内容、occurrence 和 direct target work 上限。 */
|
|
27
|
+
readonly limits?: MarkdownLinkValidationLimitOptions;
|
|
28
|
+
}
|
|
29
|
+
/** `markdown-link-validation` execution 消费的完整、冻结 options。 */
|
|
30
|
+
export interface ResolvedMarkdownLinkValidationOptions {
|
|
31
|
+
readonly files: ProjectFileSelection;
|
|
32
|
+
readonly findingPolicy: FindingPolicy;
|
|
33
|
+
readonly requireExistingTargets: boolean;
|
|
34
|
+
readonly validateSameDocumentAnchors: boolean;
|
|
35
|
+
readonly validateCrossDocumentAnchors: boolean;
|
|
36
|
+
readonly rootExternalTargetMode: MarkdownRootExternalTargetMode;
|
|
37
|
+
readonly requireNonEmptyDirectories: boolean;
|
|
38
|
+
readonly limits: Readonly<{
|
|
39
|
+
readonly maxMarkdownBytes: number;
|
|
40
|
+
readonly maxOccurrences: number;
|
|
41
|
+
readonly maxTargetReads: number;
|
|
42
|
+
}>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { MarkdownLinkFindingReason, MarkdownLocalResolution, MarkdownSafeTargetDescriptor } from "./local-resolver.ts";
|
|
2
|
+
import type { MarkdownLinkOccurrence } from "./markdown-parser.ts";
|
|
3
|
+
/** 一条本地 Markdown link finding supplemental Record 的 data。 */
|
|
4
|
+
export type MarkdownLinkFindingRecordData = Readonly<{
|
|
5
|
+
readonly occurrenceKind: "link" | "image";
|
|
6
|
+
readonly range: Readonly<{
|
|
7
|
+
readonly end: Readonly<{
|
|
8
|
+
readonly column: number;
|
|
9
|
+
readonly line: number;
|
|
10
|
+
}>;
|
|
11
|
+
readonly start: Readonly<{
|
|
12
|
+
readonly column: number;
|
|
13
|
+
readonly line: number;
|
|
14
|
+
}>;
|
|
15
|
+
}>;
|
|
16
|
+
readonly reason: MarkdownLinkFindingReason;
|
|
17
|
+
readonly sourcePath: string;
|
|
18
|
+
readonly target: MarkdownSafeTargetDescriptor;
|
|
19
|
+
}>;
|
|
20
|
+
/** 一条 files policy 已选中但不受 Markdown Link 支持的输入 Finding。 */
|
|
21
|
+
export type MarkdownLinkInputRejectedRecordData = Readonly<{
|
|
22
|
+
readonly blocking: false;
|
|
23
|
+
readonly kind: "input-rejected";
|
|
24
|
+
readonly path: string;
|
|
25
|
+
readonly reason: "unsupported-file-type";
|
|
26
|
+
}>;
|
|
27
|
+
/** Markdown Link 发布的 link 或 input-rejection Record data。 */
|
|
28
|
+
export type MarkdownLinkValidationRecordData = MarkdownLinkFindingRecordData | MarkdownLinkInputRejectedRecordData;
|
|
29
|
+
export interface MarkdownLinkRecordCandidate {
|
|
30
|
+
readonly data: MarkdownLinkFindingRecordData;
|
|
31
|
+
readonly id: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function buildMarkdownLinkRecordCandidate(sourcePath: string, occurrenceIndex: number, occurrence: MarkdownLinkOccurrence, resolution: MarkdownLocalResolution): MarkdownLinkRecordCandidate | undefined;
|
|
34
|
+
export declare function buildMarkdownInputRejectedRecord(path: string): Readonly<{
|
|
35
|
+
readonly data: MarkdownLinkInputRejectedRecordData;
|
|
36
|
+
readonly id: string;
|
|
37
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type MarkdownLocalResolution, type MarkdownLocalResolutionRequest, type MarkdownLocalResolver, type MarkdownSafeTargetDescriptor, type MarkdownSourceReadResult } from "./local-resolution.ts";
|
|
2
|
+
export declare class LinkLocalResolver implements MarkdownLocalResolver {
|
|
3
|
+
#private;
|
|
4
|
+
constructor(canonicalProjectRoot: string, maxTargetReads: number);
|
|
5
|
+
get targetReadCount(): number;
|
|
6
|
+
readSource(rootRelativePath: string, maxMarkdownBytes: number): Promise<MarkdownSourceReadResult>;
|
|
7
|
+
resolve(request: MarkdownLocalResolutionRequest): Promise<MarkdownLocalResolution>;
|
|
8
|
+
resolveRootContainedTarget(targetPath: string, fragment: string | null, request: MarkdownLocalResolutionRequest): Promise<MarkdownLocalResolution>;
|
|
9
|
+
resolveExternalTarget(targetPath: string, fragment: string | null, request: MarkdownLocalResolutionRequest): Promise<MarkdownLocalResolution>;
|
|
10
|
+
resolveEndpoint(targetPath: string, fragment: string | null, request: MarkdownLocalResolutionRequest, target: MarkdownSafeTargetDescriptor): Promise<MarkdownLocalResolution>;
|
|
11
|
+
resolveFile(targetPath: string, fragment: string | null, request: MarkdownLocalResolutionRequest, target: MarkdownSafeTargetDescriptor): Promise<MarkdownLocalResolution>;
|
|
12
|
+
resolveDirectory(targetPath: string, fragment: string | null, request: MarkdownLocalResolutionRequest, target: MarkdownSafeTargetDescriptor): Promise<MarkdownLocalResolution>;
|
|
13
|
+
beginTargetValidation(): boolean;
|
|
14
|
+
resolveSameDocument(fragment: string | null, request: MarkdownLocalResolutionRequest): MarkdownLocalResolution;
|
|
15
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type MarkdownSafeTargetDescriptor } from "./local-resolution.ts";
|
|
2
|
+
export declare function projectTarget(canonicalProjectRoot: string, targetPath: string, fragment: string | null, kind?: "project-directory" | "project-file" | "project-path"): MarkdownSafeTargetDescriptor;
|
|
3
|
+
export declare function outsideProjectRootTarget(): MarkdownSafeTargetDescriptor;
|
|
4
|
+
export declare function fileTargetDescriptor(target: MarkdownSafeTargetDescriptor): MarkdownSafeTargetDescriptor;
|
|
5
|
+
export declare function directoryTarget(target: MarkdownSafeTargetDescriptor): MarkdownSafeTargetDescriptor;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CheckResult } from "../../check/check.ts";
|
|
2
|
+
import type { MarkdownLinkValidationFinalData } from "./final-data.ts";
|
|
3
|
+
import type { ResolvedMarkdownLinkValidationOptions } from "./options.ts";
|
|
4
|
+
/** Materializes one completed source traversal into its Check-owned final result. */
|
|
5
|
+
export declare function settledMarkdownTraversalResult(input: Readonly<{
|
|
6
|
+
readonly findingCount: number;
|
|
7
|
+
readonly findingPolicy: ResolvedMarkdownLinkValidationOptions["findingPolicy"];
|
|
8
|
+
readonly occurrenceCount: number;
|
|
9
|
+
readonly rejectedInputCount: number;
|
|
10
|
+
readonly sourceFileCount: number;
|
|
11
|
+
readonly targetReadCount: number;
|
|
12
|
+
}>): CheckResult<MarkdownLinkValidationFinalData>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Project-root file discovery and selection helpers. */
|
|
2
|
+
import type { ProjectFileSelection } from "./configuration.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Resolves multiple named file sets while enumerating each distinct candidate source once.
|
|
5
|
+
*/
|
|
6
|
+
export declare function collectProjectFileSets(rootDir: string, selections: Readonly<Record<string, ProjectFileSelection>>): ReadonlyMap<string, readonly string[]>;
|
|
7
|
+
export declare function collectProjectFiles(rootDir: string, selection: ProjectFileSelection): string[];
|
|
8
|
+
/** 返回已收集的命名文件集合;缺失表示收集完整性失效,不能解释为空集合。 */
|
|
9
|
+
export declare function requireProjectFileSet(fileSets: ReadonlyMap<string, readonly string[]>, selectionId: string): readonly string[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const PROJECT_FILE_SOURCES: readonly ["filesystem", "git-worktree"];
|
|
2
|
+
/** 文件选择可使用的显式候选来源。 */
|
|
3
|
+
export type ProjectFileSource = (typeof PROJECT_FILE_SOURCES)[number];
|
|
4
|
+
/** 读取项目文件的 Check 所拥有的文件选择输入。 */
|
|
5
|
+
export interface ProjectFileSelectionOptions {
|
|
6
|
+
/** 候选文件来源;省略时使用 owning Check 的来源默认值,当前随包 Check 均为 `filesystem`。 */
|
|
7
|
+
readonly source?: ProjectFileSource;
|
|
8
|
+
/** 相对项目根目录且使用 `/` 的 glob;省略时使用 owning Check 的 include 默认值,显式数组完整替换。 */
|
|
9
|
+
readonly include?: readonly string[];
|
|
10
|
+
/** 优先于 `include` 的 glob;省略时使用 owning Check 的 exclude 默认值,显式数组完整替换。 */
|
|
11
|
+
readonly exclude?: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
/** Check execution 消费的完整项目文件选择。 */
|
|
14
|
+
export interface ProjectFileSelection {
|
|
15
|
+
readonly exclude: readonly string[];
|
|
16
|
+
readonly include: readonly string[];
|
|
17
|
+
readonly source: ProjectFileSource;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Package-provided Checks 共用的通用文件选择基线。
|
|
21
|
+
*
|
|
22
|
+
* 对象与数组均不可变;需要保留默认排除并追加项目规则时,使用对象与数组 spread 建立新值。
|
|
23
|
+
* 个别 Check 会从此 baseline 派生更精准的默认 include;显式组合此 value 仍表示通配全部路径。
|
|
24
|
+
*/
|
|
25
|
+
export declare const defaultProjectFileSelection: ProjectFileSelection;
|
|
26
|
+
/** 按 owning Check 提供的可信完整 defaults 解析并冻结一份 authoring selection。 */
|
|
27
|
+
export declare function resolveProjectFileSelection(value: unknown, defaults?: ProjectFileSelection): ProjectFileSelection | undefined;
|
|
28
|
+
export declare function snapshotDefaultProjectFileSelection(): ProjectFileSelection;
|
|
29
|
+
/** 为 owning Check 对可信的完整 selection 建立 detached、冻结快照。 */
|
|
30
|
+
export declare function snapshotProjectFileSelection(selection: ProjectFileSelection): ProjectFileSelection;
|
|
31
|
+
export declare function validProjectFileSelection(value: unknown): value is ProjectFileSelection;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ExactInputMeasurement<T> = {
|
|
2
|
+
readonly payload: T;
|
|
3
|
+
readonly sourcePaths: readonly string[];
|
|
4
|
+
};
|
|
5
|
+
export type ExactInputMeasurementAcceptance<T> = {
|
|
6
|
+
readonly ok: true;
|
|
7
|
+
readonly payloads: readonly T[];
|
|
8
|
+
} | {
|
|
9
|
+
readonly error: string;
|
|
10
|
+
readonly ok: false;
|
|
11
|
+
};
|
|
12
|
+
export declare function acceptExactInputMeasurements<T>(measurements: readonly ExactInputMeasurement<T>[], approvedExactPaths: readonly string[]): ExactInputMeasurementAcceptance<T>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface FileInputFingerprint {
|
|
2
|
+
readonly fileCount: number;
|
|
3
|
+
readonly fileList: readonly string[];
|
|
4
|
+
readonly fingerprint: string;
|
|
5
|
+
}
|
|
6
|
+
/** Fingerprints one exact path set from stable path order and normalized current file content. */
|
|
7
|
+
export declare function fingerprintProjectFiles(rootDir: string, paths: readonly string[]): FileInputFingerprint;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Reads canonical gitlink entries from a named Git tree revision. */
|
|
2
|
+
export type Gitlink = Readonly<{
|
|
3
|
+
readonly path: string;
|
|
4
|
+
readonly sha: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function gitlinksAtRevision({ repository, revision }: Readonly<{
|
|
7
|
+
readonly repository: string;
|
|
8
|
+
readonly revision: string;
|
|
9
|
+
}>): readonly Gitlink[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Canonical Git worktree checks for gitlink traversal. */
|
|
2
|
+
export type GitlinkWorktreeInspection = {
|
|
3
|
+
readonly kind: "initialized";
|
|
4
|
+
readonly repository: string;
|
|
5
|
+
} | {
|
|
6
|
+
readonly kind: "inspection-failed";
|
|
7
|
+
readonly error: string;
|
|
8
|
+
} | {
|
|
9
|
+
readonly kind: "missing";
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: "not-independent";
|
|
12
|
+
};
|
|
13
|
+
export declare function canonicalRepositoryPath(repository: string): string;
|
|
14
|
+
export declare function inspectGitlinkWorktree({ gitlinkPath, repository }: Readonly<{
|
|
15
|
+
readonly gitlinkPath: string;
|
|
16
|
+
readonly repository: string;
|
|
17
|
+
}>): GitlinkWorktreeInspection;
|
|
18
|
+
export declare function resolveDescendableGitlinkRepository({ gitlinkPath, repository, visitedRepositories }: Readonly<{
|
|
19
|
+
readonly gitlinkPath: string;
|
|
20
|
+
readonly repository: string;
|
|
21
|
+
readonly visitedRepositories: ReadonlySet<string>;
|
|
22
|
+
}>): string | null;
|
|
23
|
+
export declare function visitRepository({ repository, visitedRepositories }: Readonly<{
|
|
24
|
+
readonly repository: string;
|
|
25
|
+
readonly visitedRepositories: ReadonlySet<string>;
|
|
26
|
+
}>): ReadonlySet<string>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** 一个 Check 对完整 selected path set 做 eligibility 分类后的结果。 */
|
|
2
|
+
export interface ProjectFileEligibilityPartition {
|
|
3
|
+
readonly acceptedPaths: readonly string[];
|
|
4
|
+
readonly rejectedPaths: readonly string[];
|
|
5
|
+
}
|
|
6
|
+
/** 保持输入顺序,将每个 selected path 恰好分配给 accepted 或 rejected。 */
|
|
7
|
+
export declare function partitionProjectFilesByEligibility(selectedPaths: readonly string[], accepts: (path: string) => boolean): ProjectFileEligibilityPartition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeScannerReportedPath(reportedPath: string, projectRoot: string): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Path and Git-output projections shared by revision traversal helpers. */
|
|
2
|
+
export declare function uniqueSortedPaths(files: readonly string[]): string[];
|
|
3
|
+
export declare function prefixAndFilter({ files, prefix, scanInputPaths }: Readonly<{
|
|
4
|
+
readonly files: readonly string[];
|
|
5
|
+
readonly prefix: string;
|
|
6
|
+
readonly scanInputPaths: readonly string[];
|
|
7
|
+
}>): string[];
|
|
8
|
+
export declare function joinSlash({ path, prefix }: Readonly<{
|
|
9
|
+
readonly path: string;
|
|
10
|
+
readonly prefix: string;
|
|
11
|
+
}>): string;
|
|
12
|
+
export declare function nonEmptyGitOutput(stdout: string | null | undefined): string | null;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { CheckDescriptor } from "../../check/descriptor.ts";
|
|
2
|
+
import { type CheckVisibility, type CheckExecution, type CheckPreflight } from "../../check/check.ts";
|
|
3
|
+
type TrustedDataParser = (this: void, ...parameters: never[]) => unknown;
|
|
4
|
+
export type ParsedCheckCollection = Readonly<{
|
|
5
|
+
readonly kind: "exact";
|
|
6
|
+
readonly values: readonly string[];
|
|
7
|
+
} | {
|
|
8
|
+
readonly kind: "inherit";
|
|
9
|
+
readonly add: readonly string[];
|
|
10
|
+
readonly remove: readonly string[];
|
|
11
|
+
}>;
|
|
12
|
+
export interface ParsedCheck {
|
|
13
|
+
readonly checkId: string;
|
|
14
|
+
readonly checks: readonly ParsedCheck[];
|
|
15
|
+
readonly definition: CheckDescriptor | null;
|
|
16
|
+
readonly dependsOn: ParsedCheckCollection | undefined;
|
|
17
|
+
readonly displayName: string;
|
|
18
|
+
readonly execution: CheckExecution | null;
|
|
19
|
+
readonly maxParallel: number | undefined;
|
|
20
|
+
readonly mutex: ParsedCheckCollection | undefined;
|
|
21
|
+
readonly options: object | null;
|
|
22
|
+
readonly path: string;
|
|
23
|
+
readonly parseData: TrustedDataParser | null;
|
|
24
|
+
readonly preflight: CheckPreflight | null;
|
|
25
|
+
readonly visibility: CheckVisibility | null;
|
|
26
|
+
}
|
|
27
|
+
export interface ParsedCheckTree {
|
|
28
|
+
readonly checks: readonly ParsedCheck[];
|
|
29
|
+
readonly warnings: readonly MeaninglessCheckWarning[];
|
|
30
|
+
}
|
|
31
|
+
export interface MeaninglessCheckWarning {
|
|
32
|
+
readonly code: "meaningless-check";
|
|
33
|
+
readonly path: string;
|
|
34
|
+
readonly checkId: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Parses only the closed recursive authoring grammar. Execution callbacks are
|
|
38
|
+
* trusted project code, while every declarative field is copied and validated.
|
|
39
|
+
*/
|
|
40
|
+
export declare function parseCheckTreeAuthoring(value: unknown): ParsedCheckTree | undefined;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Check } from "../../check/check.ts";
|
|
2
|
+
import type { ParsedCheckTree } from "./authoring.ts";
|
|
3
|
+
/** Rebuilds the validated public authoring shape without retaining untyped input. */
|
|
4
|
+
export declare function materializeCheckTreeAuthoring(parsed: ParsedCheckTree): readonly Check[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { CheckDescriptor } from "../../check/descriptor.ts";
|
|
2
|
+
import type { CheckExecution, CheckPreflight, CheckVisibility } from "../../check/check.ts";
|
|
3
|
+
import { type MeaninglessCheckWarning, type ParsedCheckTree } from "./authoring.ts";
|
|
4
|
+
export type { Check, InheritableCheckCollection } from "../../check/check.ts";
|
|
5
|
+
export interface ResolvedCheckTreeLeaf {
|
|
6
|
+
readonly definition: CheckDescriptor;
|
|
7
|
+
readonly dependsOn: readonly string[];
|
|
8
|
+
readonly execution: CheckExecution;
|
|
9
|
+
readonly maxParallel: number;
|
|
10
|
+
readonly mutex: readonly string[];
|
|
11
|
+
readonly options: object;
|
|
12
|
+
readonly preflight?: CheckPreflight;
|
|
13
|
+
readonly visibility: CheckVisibility;
|
|
14
|
+
}
|
|
15
|
+
export interface ResolvedCheckTree {
|
|
16
|
+
readonly leaves: readonly ResolvedCheckTreeLeaf[];
|
|
17
|
+
readonly warnings: readonly MeaninglessCheckWarning[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Traverses the recursive authoring tree. Containment only passes scheduling
|
|
21
|
+
* values to descendants; it never creates an execution dependency or output
|
|
22
|
+
* hierarchy.
|
|
23
|
+
*/
|
|
24
|
+
export declare function resolveCheckTree(value: unknown, rootMaxParallel: number): ResolvedCheckTree | undefined;
|
|
25
|
+
export declare function resolveParsedCheckTree(parsed: ParsedCheckTree, rootMaxParallel: number): ResolvedCheckTree | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Default Run-owned output values applied when a Project Definition omits an override. */
|
|
2
|
+
export declare const DEFAULT_PROJECT_OUTPUTS: Readonly<{
|
|
3
|
+
readonly machinePublication: Readonly<{
|
|
4
|
+
directory: "artifacts/vibe-check";
|
|
5
|
+
enabled: true;
|
|
6
|
+
}>;
|
|
7
|
+
readonly progressRendering: Readonly<{
|
|
8
|
+
enabled: true;
|
|
9
|
+
}>;
|
|
10
|
+
readonly diagnosticLogging: Readonly<{
|
|
11
|
+
directory: ".log/vibe-check";
|
|
12
|
+
enabled: false;
|
|
13
|
+
}>;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ProjectDefinitionValidationResult } from "./project-definition.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Validates one closed Definition before Run can invoke any project callback.
|
|
4
|
+
* Successful validation carries information-only Check warnings separately.
|
|
5
|
+
*/
|
|
6
|
+
export declare function validateProjectDefinition(value: unknown): ProjectDefinitionValidationResult;
|