@unbrained/pm-cli 2026.11.9 → 2026.11.10
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/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +16 -0
- package/dist/cli/error-guidance.js +4 -4
- package/dist/cli/main.js +1 -1
- package/dist/cli/public.d.ts +1 -1
- package/dist/cli/register-history-maintenance.js +2 -2
- package/dist/cli/register-setup.js +1 -1
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/{chunk-G6Q4VQSI.js → chunk-4AASUCHO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-EZRLW4R6.js → chunk-4FLAKTZW.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-5CAMQHEW.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-3BMIAI4P.js → chunk-7NAAW5EX.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-BSJSGDA3.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-XKY4LUXN.js → chunk-CZETQYKO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ASJZMYKM.js → chunk-D727C4RO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-6V4PGJBZ.js → chunk-EHDGHFMJ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GZVOOHTO.js → chunk-F6FBGLR7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-O2M3TNFY.js → chunk-F7P2NZEG.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-YK5GAWOT.js → chunk-FYD6LSJA.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-L4WWG2H6.js +6 -0
- package/dist/cli-bundle/chunks/{chunk-YV5ALMG2.js → chunk-NNE63MSM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Z3QEEOAM.js → chunk-NZAFLDSH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MSJ7IHMJ.js → chunk-OJ2KEDUX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ELNWRSGZ.js → chunk-T2MNRM3S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VATZTJE3.js → chunk-TBBWPEF5.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GDQ2T2OR.js → chunk-U7LILCUN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BLUCQ4T4.js → chunk-UFPLZ6LZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JK7O7MFO.js → chunk-UL64P6MR.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-GCPP37N6.js → chunk-WNEUWDUE.js} +46 -46
- package/dist/cli-bundle/chunks/{chunk-5VRJPPUC.js → chunk-X7NM5HVQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IGT252ES.js → chunk-YSWD2NXB.js} +2 -2
- package/dist/cli-bundle/chunks/{item-revision-Y5CE3EIN.js → item-revision-M7KXLQXF.js} +2 -2
- package/dist/cli-bundle/chunks/item-transaction-4N5P34GO.js +2 -0
- package/dist/cli-bundle/chunks/{mutation-admission-TAQN2AKK.js → mutation-admission-374UR7NI.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-XMQYFUFI.js → register-list-query-GSB7PP5P.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-OBVCFLDK.js → register-mutation-ZBF6ITYK.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-CGNFZ6DR.js → register-operations-PWF6GOHE.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-LFB5ERXH.js → register-setup-QDZ2Y3CI.js} +2 -2
- package/dist/cli-bundle/chunks/{stage-NQHF6JPC.js → stage-67WGPKPH.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-HNFY3XLC.js → chunk-2Y4H4LIX.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UIKLNSW3.js → chunk-3DWNH72D.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-3K2MYE7R.js +26 -0
- package/dist/cli-bundle/focused-chunks/{chunk-CUGJ2DY2.js → chunk-56MIAFEN.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-Q45LDP7P.js → chunk-67M7E2Z3.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-XLSTFUXM.js → chunk-BE2GK2G7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-C3DO4ZGZ.js → chunk-HTMQDNVC.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-QWUWNFQO.js → chunk-LY3JXL25.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-IS5FLEZW.js → chunk-PAGW6A2X.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-4FWMXQN3.js → chunk-QCHCEFTO.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-AH5IST3V.js → chunk-QHGGO7SY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-QK7FX4O5.js +44 -0
- package/dist/cli-bundle/focused-chunks/{chunk-RNZUORGI.js → chunk-RFMKS7VD.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MYBKRV5R.js → chunk-U7HWWEJ2.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-UIZVD36C.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-J7PWHKZK.js → chunk-WJHDUON5.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-LDMBNTOG.js → chunk-WK773UVA.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZBOCYFBE.js +82 -0
- package/dist/cli-bundle/focused-chunks/{item-revision-M6FOLME2.js → item-revision-XC4ZJ7MY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{item-transaction-H6VA5JGB.js → item-transaction-CVGK4RJP.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{mutation-admission-PRTQWQK6.js → mutation-admission-N27D5H64.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{stage-7T77PSJD.js → stage-KPK2UHVO.js} +2 -2
- package/dist/cli-bundle/main.js +26 -26
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +1 -1
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +51 -51
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +1 -1
- package/dist/core/checkpoint/mutation-checkpoint.d.ts +12 -20
- package/dist/core/config/nested-settings.d.ts +14 -45
- package/dist/core/config/nested-settings.js +1 -1
- package/dist/core/config/positional-value.d.ts +11 -14
- package/dist/core/config/positional-value.js +1 -1
- package/dist/core/extensions/activation-summary-markdown.d.ts +4 -5
- package/dist/core/extensions/activation-summary.d.ts +7 -15
- package/dist/core/extensions/capability-usage.d.ts +7 -23
- package/dist/core/extensions/command-hook-context.d.ts +4 -7
- package/dist/core/extensions/command-metadata-contract.d.ts +2 -2
- package/dist/core/extensions/contribution-inventory.d.ts +3 -25
- package/dist/core/extensions/extension-capability-aliases.d.ts +7 -10
- package/dist/core/extensions/extension-hook-runtime.d.ts +2 -2
- package/dist/core/extensions/extension-policy.d.ts +12 -47
- package/dist/core/extensions/extension-registries.d.ts +2 -2
- package/dist/core/extensions/extension-types.d.ts +332 -545
- package/dist/core/extensions/flag-definition-validation.d.ts +11 -13
- package/dist/core/extensions/flag-value-types.d.ts +11 -13
- package/dist/core/extensions/index.d.ts +15 -20
- package/dist/core/extensions/item-field-types.d.ts +5 -5
- package/dist/core/extensions/item-fields.d.ts +4 -7
- package/dist/core/extensions/loader.d.ts +5 -69
- package/dist/core/extensions/manifest-parser.d.ts +3 -3
- package/dist/core/extensions/manifest-schema.d.ts +10 -13
- package/dist/core/extensions/registration-contracts.d.ts +2 -4
- package/dist/core/extensions/registration-validation.d.ts +1 -1
- package/dist/core/extensions/registration-values.d.ts +5 -7
- package/dist/core/extensions/runtime-registrations.d.ts +6 -6
- package/dist/core/extensions/version-compat.d.ts +9 -10
- package/dist/core/fs/fs-utils.d.ts +4 -6
- package/dist/core/fs/host-environment-errors.d.ts +8 -10
- package/dist/core/governance/content-fields.d.ts +10 -14
- package/dist/core/governance/issue-codes.d.ts +12 -18
- package/dist/core/governance/metadata-coverage.d.ts +24 -34
- package/dist/core/history/digest.d.ts +3 -3
- package/dist/core/history/event-classification.d.ts +5 -5
- package/dist/core/history/event-index.d.ts +14 -35
- package/dist/core/history/history-compact-bulk.d.ts +10 -13
- package/dist/core/history/history-diff.d.ts +6 -11
- package/dist/core/history/history-rewrite.d.ts +24 -40
- package/dist/core/history/history-storage-stats.d.ts +9 -17
- package/dist/core/history/history-stream-policy.d.ts +8 -11
- package/dist/core/history/history.d.ts +10 -44
- package/dist/core/history/identity.d.ts +4 -5
- package/dist/core/history/operation-contract.d.ts +5 -15
- package/dist/core/history/projection.d.ts +10 -14
- package/dist/core/history/read.d.ts +6 -7
- package/dist/core/history/replay.d.ts +16 -37
- package/dist/core/history/workspace-history.d.ts +27 -60
- package/dist/core/io/body-file.d.ts +2 -2
- package/dist/core/io/bulk-ids-input.d.ts +7 -8
- package/dist/core/item/actionability.d.ts +16 -22
- package/dist/core/item/dependency-reference.d.ts +2 -2
- package/dist/core/item/id.d.ts +5 -9
- package/dist/core/item/item-format-version.d.ts +11 -13
- package/dist/core/item/item-format.d.ts +11 -59
- package/dist/core/item/item-record.d.ts +2 -2
- package/dist/core/item/literal-mutation-input.d.ts +2 -2
- package/dist/core/item/parent-reference-policy.d.ts +4 -7
- package/dist/core/item/parse.d.ts +10 -26
- package/dist/core/item/plan-lifecycle.d.ts +3 -3
- package/dist/core/item/priority.d.ts +2 -2
- package/dist/core/item/sprint-release-format.d.ts +3 -7
- package/dist/core/item/status-filter.d.ts +5 -7
- package/dist/core/item/status.d.ts +3 -4
- package/dist/core/item/type-registry.d.ts +17 -24
- package/dist/core/item/type-synonyms.d.ts +1 -1
- package/dist/core/lock/lock-owner.d.ts +8 -10
- package/dist/core/lock/lock.d.ts +19 -67
- package/dist/core/output/output-control.d.ts +5 -6
- package/dist/core/output/output.d.ts +10 -19
- package/dist/core/output/tabular.d.ts +2 -2
- package/dist/core/packages/manifest.d.ts +13 -17
- package/dist/core/packages/root.d.ts +3 -3
- package/dist/core/policy/workflow-policy-schema.d.ts +2 -310
- package/dist/core/policy/workflow-policy-store.d.ts +5 -14
- package/dist/core/policy/workflow-policy.d.ts +25 -52
- package/dist/core/profile/profile-describe.d.ts +8 -11
- package/dist/core/profile/profile-lint.d.ts +11 -13
- package/dist/core/profile/profile-plan.d.ts +30 -49
- package/dist/core/profile/profile-presets.d.ts +25 -36
- package/dist/core/reproducibility/context.d.ts +6 -7
- package/dist/core/schema/fields-file.d.ts +14 -21
- package/dist/core/schema/item-types-file.d.ts +16 -22
- package/dist/core/schema/runtime-field-filters.d.ts +2 -2
- package/dist/core/schema/runtime-field-values.d.ts +6 -13
- package/dist/core/schema/runtime-schema.d.ts +19 -31
- package/dist/core/schema/status-defs-file.d.ts +15 -25
- package/dist/core/schema/status-token.d.ts +1 -1
- package/dist/core/schema/type-inference.d.ts +6 -8
- package/dist/core/schema/type-presets.d.ts +5 -5
- package/dist/core/schema/type-workflows.d.ts +11 -16
- package/dist/core/search/background-refresh.d.ts +6 -12
- package/dist/core/search/bm25.d.ts +11 -19
- package/dist/core/search/cache.d.ts +19 -41
- package/dist/core/search/corpus.d.ts +16 -19
- package/dist/core/search/embedding-batches.d.ts +12 -17
- package/dist/core/search/eval-thresholds.d.ts +3 -3
- package/dist/core/search/eval.d.ts +16 -34
- package/dist/core/search/http-client.d.ts +14 -18
- package/dist/core/search/providers.d.ts +22 -39
- package/dist/core/search/relevance.d.ts +14 -19
- package/dist/core/search/semantic-defaults.d.ts +4 -5
- package/dist/core/search/vector-stores.d.ts +35 -57
- package/dist/core/search/vectorization-metadata.d.ts +9 -11
- package/dist/core/sentry/helpers.d.ts +6 -31
- package/dist/core/sentry/instrument.d.ts +6 -59
- package/dist/core/session/session-state.d.ts +12 -32
- package/dist/core/shared/agent-session-context.d.ts +10 -17
- package/dist/core/shared/author.d.ts +48 -69
- package/dist/core/shared/command-line.d.ts +3 -3
- package/dist/core/shared/command-types.d.ts +3 -4
- package/dist/core/shared/constants.d.ts +14 -32
- package/dist/core/shared/error-details.d.ts +5 -18
- package/dist/core/shared/errors.d.ts +42 -83
- package/dist/core/shared/html-entity-decode.d.ts +1 -1
- package/dist/core/shared/item-metadata-contract.d.ts +2 -2
- package/dist/core/shared/lazy-module.d.ts +1 -1
- package/dist/core/shared/levenshtein.d.ts +1 -1
- package/dist/core/shared/numeric-parsers.d.ts +1 -1
- package/dist/core/shared/option-alias-visibility.d.ts +2 -2
- package/dist/core/shared/output-unicode.d.ts +1 -1
- package/dist/core/shared/primitives.d.ts +10 -10
- package/dist/core/shared/secret-rules.d.ts +7 -93
- package/dist/core/shared/serial-queue.d.ts +7 -9
- package/dist/core/shared/serialization.d.ts +1 -1
- package/dist/core/shared/split-comma-list.d.ts +4 -5
- package/dist/core/shared/text-normalization.d.ts +1 -1
- package/dist/core/shared/time.d.ts +6 -20
- package/dist/core/store/item-format-migration.d.ts +4 -5
- package/dist/core/store/item-metadata-cache.d.ts +22 -27
- package/dist/core/store/item-metadata-query-index.d.ts +20 -61
- package/dist/core/store/item-metadata-read-work.d.ts +3 -7
- package/dist/core/store/item-mutation-precondition.d.ts +19 -35
- package/dist/core/store/item-store.d.ts +18 -141
- package/dist/core/store/paths.d.ts +5 -10
- package/dist/core/store/settings-read-cache.d.ts +7 -9
- package/dist/core/store/settings-sections.d.ts +15 -19
- package/dist/core/store/settings-validator.d.ts +27 -143
- package/dist/core/store/settings-validator.js +1 -1
- package/dist/core/store/settings.d.ts +19 -94
- package/dist/core/store/sqlite-runtime.d.ts +3 -3
- package/dist/core/store/tracker-preflight.d.ts +2 -2
- package/dist/core/telemetry/consent.d.ts +2 -2
- package/dist/core/telemetry/observability.d.ts +8 -19
- package/dist/core/telemetry/policy.d.ts +8 -23
- package/dist/core/telemetry/runtime.d.ts +44 -254
- package/dist/core/test/background-runs.d.ts +35 -79
- package/dist/core/test/run-selectors.d.ts +10 -12
- package/dist/core/validate/fix-planning.d.ts +19 -28
- package/dist/core/validate/missing-by-type.d.ts +3 -4
- package/dist/core/validate/missing-link-owners.d.ts +12 -16
- package/dist/core/validate/stale-file-classification.d.ts +5 -6
- package/dist/mcp/tool-definitions.d.ts +7 -30
- package/dist/sdk/actionability.d.ts +1 -1
- package/dist/sdk/agent/closed-domain-contracts.d.ts +4 -5
- package/dist/sdk/agent/command-recovery.d.ts +9 -13
- package/dist/sdk/agent/command-suggestions.d.ts +2 -2
- package/dist/sdk/agent/create-option-policy.d.ts +2 -2
- package/dist/sdk/agent/identity-config.d.ts +13 -18
- package/dist/sdk/agent/item-addressing.d.ts +4 -5
- package/dist/sdk/agent/linked-resource-recovery.d.ts +3 -4
- package/dist/sdk/agent/refusal-closure-census.d.ts +13 -25
- package/dist/sdk/agent/refusal-closure.d.ts +8 -11
- package/dist/sdk/agent/refusal-corpus-contracts.d.ts +15 -21
- package/dist/sdk/agent/refusal-reachability.d.ts +38 -52
- package/dist/sdk/agent/subcommand-recovery.d.ts +7 -15
- package/dist/sdk/agent/task-transcript-contracts.d.ts +12 -15
- package/dist/sdk/agent/tracker-preflight-contracts.d.ts +13 -17
- package/dist/sdk/agent-capability-contracts.d.ts +19 -32
- package/dist/sdk/agent-session-context.d.ts +1 -1
- package/dist/sdk/annotations.d.ts +32 -68
- package/dist/sdk/author-attribution.d.ts +22 -33
- package/dist/sdk/authoring.d.ts +1 -19
- package/dist/sdk/cli-bootstrap.d.ts +22 -59
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +31 -57
- package/dist/sdk/cli-contracts/command-aliases.d.ts +7 -8
- package/dist/sdk/cli-contracts/command-exit-contracts.d.ts +19 -65
- package/dist/sdk/cli-contracts/commander-mutation-options.d.ts +2 -2
- package/dist/sdk/cli-contracts/commander-types.d.ts +6 -11
- package/dist/sdk/cli-contracts/completeness.d.ts +11 -15
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +25 -37
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +16 -20
- package/dist/sdk/cli-contracts/flag-lexicon-contracts.d.ts +14 -19
- package/dist/sdk/cli-contracts/grammar-contracts.d.ts +29 -47
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +44 -265
- package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +11 -564
- package/dist/sdk/cli-contracts/tool-schema.d.ts +18 -51
- package/dist/sdk/cli-contracts/typed-action-inputs.d.ts +18 -37
- package/dist/sdk/cli-contracts.d.ts +1 -16
- package/dist/sdk/cli-program.d.ts +2 -2
- package/dist/sdk/command-line.d.ts +3 -4
- package/dist/sdk/comments.d.ts +6 -10
- package/dist/sdk/compile-cache.d.ts +4 -5
- package/dist/sdk/completion/bash.d.ts +2 -2
- package/dist/sdk/completion/fish.d.ts +2 -2
- package/dist/sdk/completion/shared.d.ts +10 -77
- package/dist/sdk/completion/shared.js +1 -1
- package/dist/sdk/completion/zsh.d.ts +2 -2
- package/dist/sdk/completion.d.ts +2 -6
- package/dist/sdk/compose.d.ts +49 -74
- package/dist/sdk/config.d.ts +18 -94
- package/dist/sdk/config.js +1 -1
- package/dist/sdk/context/recency.d.ts +2 -2
- package/dist/sdk/context/semantic-session-attribution.d.ts +6 -25
- package/dist/sdk/context/usage-ledger.d.ts +9 -21
- package/dist/sdk/context-intent-contracts.d.ts +24 -35
- package/dist/sdk/context-intent-runtime.d.ts +7 -9
- package/dist/sdk/context-packing.d.ts +16 -34
- package/dist/sdk/context-relevance.d.ts +58 -93
- package/dist/sdk/context-signal-store.d.ts +29 -60
- package/dist/sdk/context-usage.d.ts +22 -69
- package/dist/sdk/contracts.d.ts +1 -24
- package/dist/sdk/core-governance.d.ts +1 -5
- package/dist/sdk/core.d.ts +1 -27
- package/dist/sdk/corpus-shape.d.ts +16 -28
- package/dist/sdk/define.d.ts +10 -14
- package/dist/sdk/dependencies.d.ts +32 -50
- package/dist/sdk/dependency-provenance.d.ts +19 -23
- package/dist/sdk/docs.d.ts +6 -10
- package/dist/sdk/duplicates.d.ts +8 -15
- package/dist/sdk/environment/agent-environment.d.ts +60 -101
- package/dist/sdk/environment/host-environment-errors.d.ts +1 -1
- package/dist/sdk/environment/project-runtime-compatibility.d.ts +15 -29
- package/dist/sdk/environment/source-context.d.ts +6 -7
- package/dist/sdk/environment/tracker-preflight.d.ts +1 -1
- package/dist/sdk/error-code-catalog.d.ts +9 -26
- package/dist/sdk/error-runtime.d.ts +6 -8
- package/dist/sdk/errors.d.ts +10 -17
- package/dist/sdk/eval.d.ts +11 -21
- package/dist/sdk/extension/command-options.d.ts +14 -26
- package/dist/sdk/extension/describe.d.ts +14 -19
- package/dist/sdk/extension/doctor.d.ts +8 -48
- package/dist/sdk/extension/install-plan.d.ts +12 -26
- package/dist/sdk/extension/install-runtime.d.ts +10 -11
- package/dist/sdk/extension/install-sources.d.ts +22 -104
- package/dist/sdk/extension/managed-state.d.ts +13 -18
- package/dist/sdk/extension/migrations.d.ts +22 -37
- package/dist/sdk/extension/output-ownership.d.ts +3 -30
- package/dist/sdk/extension/shared.d.ts +9 -15
- package/dist/sdk/extension/source-resolution.d.ts +13 -18
- package/dist/sdk/extension/static-inventory.d.ts +17 -21
- package/dist/sdk/extension/update-check.d.ts +7 -11
- package/dist/sdk/extension-command-context.d.ts +2 -3
- package/dist/sdk/extension-contracts.d.ts +11 -14
- package/dist/sdk/extension.d.ts +31 -192
- package/dist/sdk/files.d.ts +27 -68
- package/dist/sdk/flag-invocation-contracts.d.ts +13 -17
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
- package/dist/sdk/generated-error-code-catalog.d.ts +1 -1
- package/dist/sdk/governance/artifact-ledgers.d.ts +9 -16
- package/dist/sdk/governance/assurance-action-contracts.d.ts +1 -1
- package/dist/sdk/governance/assurance-action.d.ts +13 -45
- package/dist/sdk/governance/assurance-mutation-error.d.ts +12 -17
- package/dist/sdk/governance/assurance-presets.d.ts +10 -21
- package/dist/sdk/governance/assurance-runtime.d.ts +5 -6
- package/dist/sdk/governance/assurance.d.ts +97 -154
- package/dist/sdk/governance/boundary-fixtures.d.ts +17 -23
- package/dist/sdk/governance/closure-timestamps.d.ts +5 -15
- package/dist/sdk/governance/coverage-assurance.d.ts +5 -6
- package/dist/sdk/governance/defect-recurrence-coverage.d.ts +13 -23
- package/dist/sdk/governance/defect-recurrence-graph.d.ts +9 -13
- package/dist/sdk/governance/defect-recurrence.d.ts +43 -67
- package/dist/sdk/governance/extension-host-version.d.ts +8 -10
- package/dist/sdk/governance/gc.d.ts +12 -20
- package/dist/sdk/governance/health/projection.d.ts +8 -23
- package/dist/sdk/governance/health.d.ts +23 -167
- package/dist/sdk/governance/hierarchy-validation.d.ts +2 -18
- package/dist/sdk/governance/linked-file-report.d.ts +6 -10
- package/dist/sdk/governance/merge-receipt-history.d.ts +12 -16
- package/dist/sdk/governance/provenance-health.d.ts +17 -23
- package/dist/sdk/governance/reindex.d.ts +13 -116
- package/dist/sdk/governance/reliability.d.ts +13 -17
- package/dist/sdk/governance/stale-work.d.ts +8 -11
- package/dist/sdk/governance/status-role-diagnostics.d.ts +4 -6
- package/dist/sdk/governance/storage-integrity.d.ts +16 -23
- package/dist/sdk/governance/upgrade.d.ts +17 -57
- package/dist/sdk/governance/validate-item-reader.d.ts +3 -11
- package/dist/sdk/governance/validate-normalization.d.ts +2 -2
- package/dist/sdk/governance/validate.d.ts +29 -175
- package/dist/sdk/governance/workflow-completeness.d.ts +5 -17
- package/dist/sdk/governance/workflow-policy.d.ts +8 -16
- package/dist/sdk/governance/workspace-position.d.ts +12 -43
- package/dist/sdk/governance.d.ts +1 -39
- package/dist/sdk/graph/adapter.d.ts +23 -41
- package/dist/sdk/graph/analytics.d.ts +20 -31
- package/dist/sdk/graph/assembly.d.ts +24 -35
- package/dist/sdk/graph/cache.d.ts +13 -25
- package/dist/sdk/graph/cardinality-integrity.d.ts +4 -6
- package/dist/sdk/graph/centrality.d.ts +14 -20
- package/dist/sdk/graph/conformance.d.ts +12 -19
- package/dist/sdk/graph/deadline-scheduling.d.ts +14 -20
- package/dist/sdk/graph/durable-cache.d.ts +11 -14
- package/dist/sdk/graph/governance-contracts.d.ts +2 -2
- package/dist/sdk/graph/governance.d.ts +22 -36
- package/dist/sdk/graph/hierarchy-integrity.d.ts +18 -26
- package/dist/sdk/graph/index.d.ts +1 -17
- package/dist/sdk/graph/lifecycle-coverage.d.ts +8 -12
- package/dist/sdk/graph/mutation-advisory.d.ts +5 -16
- package/dist/sdk/graph/query-contracts.d.ts +1 -2
- package/dist/sdk/graph/remediation.d.ts +11 -18
- package/dist/sdk/graph/run.d.ts +73 -115
- package/dist/sdk/graph/scheduling.d.ts +8 -15
- package/dist/sdk/graph/traversal.d.ts +9 -15
- package/dist/sdk/graph/workspace-relationship-kind-registry.d.ts +2 -2
- package/dist/sdk/graph.d.ts +1 -12
- package/dist/sdk/guide-topics.d.ts +7 -10
- package/dist/sdk/guide.d.ts +21 -43
- package/dist/sdk/history/attestation-command.d.ts +7 -10
- package/dist/sdk/history/attestation-contract.d.ts +19 -34
- package/dist/sdk/history/attestation.d.ts +2 -3
- package/dist/sdk/history/maintenance.d.ts +17 -27
- package/dist/sdk/history/salvage.d.ts +5 -22
- package/dist/sdk/history/subject.d.ts +5 -11
- package/dist/sdk/history-analytics.d.ts +28 -59
- package/dist/sdk/history-compact.d.ts +25 -66
- package/dist/sdk/history-provenance.d.ts +16 -33
- package/dist/sdk/history-read.d.ts +9 -16
- package/dist/sdk/history-redact.d.ts +19 -74
- package/dist/sdk/history-redact.js +1 -1
- package/dist/sdk/history-repair.d.ts +26 -71
- package/dist/sdk/improvement-ledger-validation.d.ts +2 -2
- package/dist/sdk/improvement-ledger.d.ts +20 -39
- package/dist/sdk/index.d.ts +1 -268
- package/dist/sdk/init-agent-guidance.d.ts +13 -68
- package/dist/sdk/init.d.ts +24 -94
- package/dist/sdk/invocation-author.d.ts +1 -1
- package/dist/sdk/item-children.d.ts +10 -13
- package/dist/sdk/item-metadata-index.d.ts +1 -2
- package/dist/sdk/item-schedule.d.ts +8 -9
- package/dist/sdk/item-transaction.d.ts +46 -90
- package/dist/sdk/learnings.d.ts +6 -10
- package/dist/sdk/lifecycle/append.d.ts +7 -9
- package/dist/sdk/lifecycle/claim.d.ts +26 -42
- package/dist/sdk/lifecycle/cli-input.d.ts +1 -1
- package/dist/sdk/lifecycle/close-many.d.ts +14 -65
- package/dist/sdk/lifecycle/close.d.ts +10 -26
- package/dist/sdk/lifecycle/copy.d.ts +6 -10
- package/dist/sdk/lifecycle/create.d.ts +15 -83
- package/dist/sdk/lifecycle/delete.d.ts +7 -9
- package/dist/sdk/lifecycle/focus.d.ts +9 -11
- package/dist/sdk/lifecycle/item-revision.d.ts +25 -45
- package/dist/sdk/lifecycle/lifecycle-transitions.d.ts +4 -5
- package/dist/sdk/lifecycle/mutation-command-options.d.ts +6 -9
- package/dist/sdk/lifecycle/plan-mutation-receipt.d.ts +5 -13
- package/dist/sdk/lifecycle/plan.d.ts +34 -74
- package/dist/sdk/lifecycle/reopen.d.ts +8 -14
- package/dist/sdk/lifecycle/restore.d.ts +9 -38
- package/dist/sdk/lifecycle/shared-unset-fields.d.ts +23 -614
- package/dist/sdk/lifecycle/start-blockers.d.ts +7 -27
- package/dist/sdk/lifecycle/structured-mutation-plan.d.ts +8 -16
- package/dist/sdk/lifecycle/task-composition.d.ts +6 -14
- package/dist/sdk/lifecycle/update-many.d.ts +15 -65
- package/dist/sdk/lifecycle/update.d.ts +21 -104
- package/dist/sdk/lifecycle/workflow-transition.d.ts +2 -11
- package/dist/sdk/lifecycle-completion.d.ts +11 -14
- package/dist/sdk/lifecycle-policy.d.ts +23 -32
- package/dist/sdk/linked-artifacts.d.ts +31 -41
- package/dist/sdk/mcp/apps.d.ts +12 -27
- package/dist/sdk/mcp/authorization.d.ts +30 -63
- package/dist/sdk/mcp/discovery.d.ts +23 -52
- package/dist/sdk/mcp/executable.d.ts +3 -10
- package/dist/sdk/mcp/interactions.d.ts +25 -47
- package/dist/sdk/mcp/protocol.d.ts +32 -64
- package/dist/sdk/mcp/skills.d.ts +21 -71
- package/dist/sdk/mcp/subscriptions.d.ts +14 -28
- package/dist/sdk/mcp/tasks.d.ts +21 -55
- package/dist/sdk/mcp/transport.d.ts +7 -15
- package/dist/sdk/merge/driver.d.ts +13 -37
- package/dist/sdk/merge/index.d.ts +1 -6
- package/dist/sdk/merge/install.d.ts +27 -55
- package/dist/sdk/merge/receipt-operation.d.ts +5 -6
- package/dist/sdk/merge/receipt-schema.d.ts +6 -9
- package/dist/sdk/merge/receipts.d.ts +29 -79
- package/dist/sdk/merge/reconcile.d.ts +9 -18
- package/dist/sdk/merge/three-way.d.ts +21 -30
- package/dist/sdk/merge.d.ts +1 -5
- package/dist/sdk/mutation-events.d.ts +21 -53
- package/dist/sdk/mutation-guard.d.ts +15 -135
- package/dist/sdk/notes.d.ts +6 -10
- package/dist/sdk/output/fit-envelope.d.ts +21 -28
- package/dist/sdk/output/list-envelope.d.ts +1 -1
- package/dist/sdk/output/table-rows.d.ts +8 -12
- package/dist/sdk/output-contracts.d.ts +11 -14
- package/dist/sdk/output-projection.d.ts +18 -130
- package/dist/sdk/output-token-accounting.d.ts +8 -15
- package/dist/sdk/output.d.ts +10 -15
- package/dist/sdk/ownership-source.d.ts +4 -5
- package/dist/sdk/package-import-adapters.d.ts +27 -37
- package/dist/sdk/package-migrations.d.ts +2 -2
- package/dist/sdk/package-runtime-options.d.ts +3 -3
- package/dist/sdk/pagination.d.ts +12 -24
- package/dist/sdk/profile.d.ts +25 -42
- package/dist/sdk/provenance.d.ts +21 -32
- package/dist/sdk/query/activity.d.ts +24 -77
- package/dist/sdk/query/aggregate.d.ts +20 -95
- package/dist/sdk/query/calendar.d.ts +26 -74
- package/dist/sdk/query/complete-list.d.ts +19 -35
- package/dist/sdk/query/context.d.ts +69 -240
- package/dist/sdk/query/declared-blockers.d.ts +2 -9
- package/dist/sdk/query/duplicate-candidates.d.ts +3 -5
- package/dist/sdk/query/get.d.ts +13 -55
- package/dist/sdk/query/history.d.ts +18 -29
- package/dist/sdk/query/item-filter-options.d.ts +7 -12
- package/dist/sdk/query/list-filter-shared.d.ts +4 -8
- package/dist/sdk/query/list.d.ts +44 -168
- package/dist/sdk/query/multi-value-filters.d.ts +7 -9
- package/dist/sdk/query/next-ranking-policy.d.ts +4 -10
- package/dist/sdk/query/next-ready-budget.d.ts +4 -5
- package/dist/sdk/query/next.d.ts +27 -86
- package/dist/sdk/query/parsers.d.ts +4 -6
- package/dist/sdk/query/projection-contracts.d.ts +12 -21
- package/dist/sdk/query/search/corpus.d.ts +5 -20
- package/dist/sdk/query/search/filters.d.ts +5 -17
- package/dist/sdk/query/search/input.d.ts +4 -9
- package/dist/sdk/query/search/lexical.d.ts +5 -9
- package/dist/sdk/query/search/response.d.ts +5 -22
- package/dist/sdk/query/search/semantic.d.ts +24 -170
- package/dist/sdk/query/search/types.d.ts +19 -73
- package/dist/sdk/query/search-contracts.d.ts +24 -34
- package/dist/sdk/query/search-pagination.d.ts +5 -24
- package/dist/sdk/query/search-rendering.d.ts +8 -32
- package/dist/sdk/query/search.d.ts +3 -63
- package/dist/sdk/query/workspace-contracts.d.ts +2 -2
- package/dist/sdk/query.d.ts +1 -43
- package/dist/sdk/read-output/continuation.d.ts +5 -6
- package/dist/sdk/read-output/options.d.ts +3 -8
- package/dist/sdk/read-output/session-result.d.ts +2 -33
- package/dist/sdk/read-output/tail-retention.d.ts +6 -8
- package/dist/sdk/read-output-budget.d.ts +14 -16
- package/dist/sdk/read-output-contracts.d.ts +59 -103
- package/dist/sdk/read-output-rows.d.ts +5 -9
- package/dist/sdk/read-output-session.d.ts +11 -14
- package/dist/sdk/relationship-analytics.d.ts +17 -37
- package/dist/sdk/relationship-context.d.ts +15 -33
- package/dist/sdk/relationship-history.d.ts +29 -50
- package/dist/sdk/relationship-kinds/contract.d.ts +11 -12
- package/dist/sdk/relationship-migration.d.ts +6 -10
- package/dist/sdk/relationships.d.ts +22 -34
- package/dist/sdk/reproducibility/process.d.ts +7 -11
- package/dist/sdk/runtime/context.d.ts +6 -22
- package/dist/sdk/runtime/schema-preview.d.ts +1 -1
- package/dist/sdk/runtime-input.d.ts +9 -20
- package/dist/sdk/runtime-primitives.d.ts +3 -82
- package/dist/sdk/runtime-public-contracts.d.ts +30 -50
- package/dist/sdk/runtime.d.ts +77 -302
- package/dist/sdk/scheduling-shortcuts.d.ts +8 -12
- package/dist/sdk/schema-migration.d.ts +18 -80
- package/dist/sdk/schema.d.ts +89 -192
- package/dist/sdk/search-refresh-worker.d.ts +1 -1
- package/dist/sdk/similarity-scoring.d.ts +6 -8
- package/dist/sdk/similarity.d.ts +33 -64
- package/dist/sdk/start-task-status.d.ts +2 -2
- package/dist/sdk/stats.d.ts +13 -48
- package/dist/sdk/structured-mutations.d.ts +18 -26
- package/dist/sdk/telemetry-flush.d.ts +1 -1
- package/dist/sdk/telemetry.d.ts +14 -20
- package/dist/sdk/templates.d.ts +14 -35
- package/dist/sdk/test/batch.d.ts +10 -25
- package/dist/sdk/test/execution.d.ts +44 -209
- package/dist/sdk/test/json-path.d.ts +2 -5
- package/dist/sdk/test/linked-command-detection.d.ts +10 -25
- package/dist/sdk/test/measurements.d.ts +10 -13
- package/dist/sdk/test/parsers.d.ts +16 -20
- package/dist/sdk/test/prerequisites.d.ts +2 -3
- package/dist/sdk/test/runs.d.ts +19 -52
- package/dist/sdk/test/trust.d.ts +8 -12
- package/dist/sdk/test/update.d.ts +9 -25
- package/dist/sdk/testing.d.ts +97 -206
- package/dist/sdk/traceability/source-traceability.d.ts +25 -56
- package/dist/sdk/tracker-root-discovery.d.ts +1 -1
- package/dist/sdk/workspace-contracts-cache.d.ts +2 -2
- package/dist/sdk/workspace-contracts.d.ts +8 -14
- package/dist/sdk/workspace-memory.d.ts +24 -42
- package/dist/sdk/workspace-recipe.d.ts +10 -14
- package/dist/sdk/workspace-snapshot.d.ts +26 -53
- package/dist/sdk/workspace-transaction-gc.d.ts +12 -16
- package/dist/sdk/workspace-transaction.d.ts +26 -40
- package/dist/sdk/workspace.d.ts +8 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types.d.ts +210 -353
- package/docs/COMMANDS.md +8 -0
- package/docs/CONFIGURATION.md +17 -0
- package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +28 -9
- package/docs/RELEASING.md +25 -0
- package/docs/SDK.md +17 -2
- package/docs/TESTING.md +11 -0
- package/marketplace.json +1 -1
- package/package.json +1 -1
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/package.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +1 -1
- package/plugins/pm-codex/plugin.json +1 -1
- package/runtime-dependencies.json +1 -1
- package/scripts/finalize-build.mjs +41 -4
- package/dist/cli-bundle/chunks/chunk-JYQXIC6C.js +0 -3
- package/dist/cli-bundle/chunks/chunk-LVDFPGD7.js +0 -3
- package/dist/cli-bundle/chunks/chunk-UFIM5ZC5.js +0 -6
- package/dist/cli-bundle/chunks/item-transaction-XBIN4KYM.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HLQOGAWG.js +0 -26
- package/dist/cli-bundle/focused-chunks/chunk-IB6TCE7N.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-JU62TKJP.js +0 -82
- package/dist/cli-bundle/focused-chunks/chunk-NUFO3OR6.js +0 -44
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* Provides exact integer coverage assurance for repository and package gates.
|
|
5
5
|
*/
|
|
6
6
|
/** Coverage metrics required by the exact repository quality contract. */
|
|
7
|
-
export declare const PM_EXACT_COVERAGE_METRICS:readonly
|
|
7
|
+
export declare const PM_EXACT_COVERAGE_METRICS:readonly["lines","branches","functions","statements"];
|
|
8
8
|
/** Required exact coverage metric. */
|
|
9
|
-
export type PmExactCoverageMetric
|
|
9
|
+
export type PmExactCoverageMetric=(typeof PM_EXACT_COVERAGE_METRICS)[number];
|
|
10
10
|
/** One exact uncovered-count finding. */
|
|
11
|
-
export interface PmCoverageDeficit
|
|
11
|
+
export interface PmCoverageDeficit{
|
|
12
12
|
/** Coverage summary entry or source filename. */
|
|
13
13
|
file:string;
|
|
14
14
|
/** Deficient required metric. */
|
|
@@ -18,7 +18,6 @@ uncovered:number;
|
|
|
18
18
|
/** Exact covered count. */
|
|
19
19
|
covered:number;
|
|
20
20
|
/** Exact total count. */
|
|
21
|
-
total:number;
|
|
22
|
-
}
|
|
21
|
+
total:number;}
|
|
23
22
|
/** Return exact uncovered counts for every summary entry and required metric. */
|
|
24
|
-
export declare function findCoverageDeficits(summary:unknown):PmCoverageDeficit[];
|
|
23
|
+
export declare function findCoverageDeficits(summary:unknown):PmCoverageDeficit[];
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { type DefectEscapeClass,type DefectRecurrencePolicy } from "./defect-recurrence.js";
|
|
1
|
+
import type{AssuranceItemRecord}from "./assurance.js";import{type DefectEscapeClass,type DefectRecurrencePolicy}from "./defect-recurrence.js";
|
|
3
2
|
/** Bounded recurrence-evidence selection shared by SDK and transport hosts. */
|
|
4
|
-
export interface DefectRecurrenceCoverageOptions
|
|
3
|
+
export interface DefectRecurrenceCoverageOptions{
|
|
5
4
|
/** Maximum item rows returned, from 1 through 100; defaults to 25. */
|
|
6
5
|
limit?:number;
|
|
7
6
|
/** Continuation tied to the policy, complete recurrence evidence, and filter. */
|
|
8
7
|
cursor?:string;
|
|
9
8
|
/** Return only unregistered or missing items; totals always describe the full graph. */
|
|
10
|
-
uncoveredOnly?:boolean;
|
|
11
|
-
}
|
|
9
|
+
uncoveredOnly?:boolean;}
|
|
12
10
|
/** Serialized request for the shared assurance lineages action. */
|
|
13
|
-
export interface DefectRecurrenceCoverageRequest extends DefectRecurrenceCoverageOptions
|
|
11
|
+
export interface DefectRecurrenceCoverageRequest extends DefectRecurrenceCoverageOptions{
|
|
14
12
|
/** Project- or package-owned versioned family policy. */
|
|
15
|
-
policy:DefectRecurrencePolicy;
|
|
16
|
-
}
|
|
13
|
+
policy:DefectRecurrencePolicy;}
|
|
17
14
|
/** Validate lineage-policy and paging input at the untrusted transport boundary. */
|
|
18
15
|
export declare function parseDefectRecurrenceCoverageRequest(value:unknown):DefectRecurrenceCoverageRequest;
|
|
19
16
|
/** One registered, unregistered, or missing member of a recorded recurrence lineage. */
|
|
20
|
-
export interface DefectRecurrenceCoverageRow
|
|
17
|
+
export interface DefectRecurrenceCoverageRow{
|
|
21
18
|
/** Recorded item id or missing local reference. */
|
|
22
19
|
item_id:string;
|
|
23
20
|
/** Current component identity, derived from its lexically first item id. */
|
|
@@ -29,10 +26,9 @@ family_ids:string[];
|
|
|
29
26
|
/** Whether the local item exists in the supplied authoritative corpus. */
|
|
30
27
|
present:boolean;
|
|
31
28
|
/** Stable named finding when registration or the target record is absent. */
|
|
32
|
-
finding?:"unregistered_recurrence_item"
|
|
33
|
-
}
|
|
29
|
+
finding?:"unregistered_recurrence_item"|"missing_recurrence_item";}
|
|
34
30
|
/** Complete population counts and bounded recurrence-policy evidence. */
|
|
35
|
-
export interface DefectRecurrenceCoverageReport
|
|
31
|
+
export interface DefectRecurrenceCoverageReport{
|
|
36
32
|
/** False if any recorded recurrence member is unregistered or missing. */
|
|
37
33
|
ok:boolean;
|
|
38
34
|
/** Identity of policy, recurrence evidence, and selected filter. */
|
|
@@ -68,10 +64,9 @@ unclassified_item_count:number;
|
|
|
68
64
|
/** Recorded classification counts over the entire population. */
|
|
69
65
|
class_counts:Record<DefectEscapeClass,number>;
|
|
70
66
|
/** Production-defect fraction only when every participant is classified; null otherwise. */
|
|
71
|
-
escape_rate:number
|
|
67
|
+
escape_rate:number|null;
|
|
72
68
|
/** Known production defects divided by the entire population, explicitly a lower bound. */
|
|
73
|
-
escape_rate_lower_bound:number
|
|
74
|
-
};
|
|
69
|
+
escape_rate_lower_bound:number|null;};
|
|
75
70
|
/** Budgets on the policy's families cannot certify uncovered or unclassified members. */
|
|
76
71
|
budget_scope:"registered_families_only";
|
|
77
72
|
/** Declared performance accounting; connectivity never uses a depth cutoff. */
|
|
@@ -81,13 +76,8 @@ items_scanned:number;
|
|
|
81
76
|
/** Recurrence edges traversed. */
|
|
82
77
|
edges_scanned:number;
|
|
83
78
|
/** Maximum emitted item rows. */
|
|
84
|
-
row_limit:number;
|
|
85
|
-
};
|
|
79
|
+
row_limit:number;};
|
|
86
80
|
/** Stable machine selector. */
|
|
87
|
-
row_contract:{
|
|
88
|
-
row_keys:["items"];
|
|
89
|
-
jq_selector:".items[]";
|
|
90
|
-
};
|
|
91
|
-
}
|
|
81
|
+
row_contract:{row_keys:["items"];jq_selector:".items[]";};}
|
|
92
82
|
/** Evaluate all local recurs_from lineages before applying any result-row limit. */
|
|
93
|
-
export declare function analyzeDefectRecurrenceCoverage(policy:DefectRecurrencePolicy,items:readonly AssuranceItemRecord[],options?:DefectRecurrenceCoverageOptions):DefectRecurrenceCoverageReport;
|
|
83
|
+
export declare function analyzeDefectRecurrenceCoverage(policy:DefectRecurrencePolicy,items:readonly AssuranceItemRecord[],options?:DefectRecurrenceCoverageOptions):DefectRecurrenceCoverageReport;
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DefectRecurrenceFamily } from "./defect-recurrence.js";
|
|
1
|
+
import type{AssuranceItemRecord}from "./assurance.js";import type{DefectRecurrenceFamily}from "./defect-recurrence.js";
|
|
3
2
|
/** Sparse item evidence retained so incremental graph edits can be reversed. */
|
|
4
|
-
export interface DefectRecurrenceRecord
|
|
3
|
+
export interface DefectRecurrenceRecord{
|
|
5
4
|
/** Unique local predecessors named by recurs_from edges. */
|
|
6
5
|
targets:string[];
|
|
7
6
|
/** Project file paths used as exact change-risk triggers after lineage registration. */
|
|
8
7
|
files:string[];
|
|
9
8
|
/** Recorded classification, never inferred from a registered family's label. */
|
|
10
|
-
escape_class?:string;
|
|
11
|
-
}
|
|
9
|
+
escape_class?:string;}
|
|
12
10
|
/** One weakly connected recurrence component, traversed without a depth ceiling. */
|
|
13
|
-
export interface DefectRecurrenceLineage
|
|
11
|
+
export interface DefectRecurrenceLineage{
|
|
14
12
|
/** Lexically first member, used as a stable identifier for the current component. */
|
|
15
13
|
id:string;
|
|
16
14
|
/** Every member, in deterministic code-point order. */
|
|
17
15
|
item_ids:string[];
|
|
18
16
|
/** Families explicitly seeded anywhere in this component. */
|
|
19
|
-
family_ids:string[];
|
|
20
|
-
}
|
|
17
|
+
family_ids:string[];}
|
|
21
18
|
/** Complete sparse graph used internally by the bounded public coverage report. */
|
|
22
|
-
export interface DefectRecurrenceGraph
|
|
19
|
+
export interface DefectRecurrenceGraph{
|
|
23
20
|
/** Components sorted by their current stable id. */
|
|
24
21
|
lineages:DefectRecurrenceLineage[];
|
|
25
22
|
/** Sparse lookup from every recurrence member to its component. */
|
|
26
23
|
membership:Map<string,DefectRecurrenceLineage>;
|
|
27
24
|
/** Number of distinct directed local recurrence edges. */
|
|
28
|
-
edge_count:number;
|
|
29
|
-
}
|
|
25
|
+
edge_count:number;}
|
|
30
26
|
/** Read a sparse projection without retaining full item bodies or history. */
|
|
31
|
-
export declare function readDefectRecurrenceRecord(item:AssuranceItemRecord):DefectRecurrenceRecord
|
|
27
|
+
export declare function readDefectRecurrenceRecord(item:AssuranceItemRecord):DefectRecurrenceRecord|undefined;
|
|
32
28
|
/** Build iterative undirected connectivity from directed recurrence evidence. */
|
|
33
|
-
export declare function buildDefectRecurrenceGraph(families:readonly DefectRecurrenceFamily[],records:ReadonlyMap<string,DefectRecurrenceRecord>):DefectRecurrenceGraph;
|
|
29
|
+
export declare function buildDefectRecurrenceGraph(families:readonly DefectRecurrenceFamily[],records:ReadonlyMap<string,DefectRecurrenceRecord>):DefectRecurrenceGraph;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { type DefectRecurrenceRecord } from "./defect-recurrence-graph.js";
|
|
3
|
-
export type { DefectRecurrenceRecord } from "./defect-recurrence-graph.js";
|
|
1
|
+
import type{AssuranceItemRecord}from "./assurance.js";import{type DefectRecurrenceRecord}from "./defect-recurrence-graph.js";export type{DefectRecurrenceRecord}from "./defect-recurrence-graph.js";
|
|
4
2
|
/** Stable defect escape taxonomy used by project policy and PM metadata. */
|
|
5
|
-
export declare const DEFECT_ESCAPE_CLASSES:readonly
|
|
3
|
+
export declare const DEFECT_ESCAPE_CLASSES:readonly["production_defect","nightly_regression","scanner_finding","review_caught_late"];
|
|
6
4
|
/** Evidence dispositions accepted by the fail-closed defect gate. */
|
|
7
|
-
export declare const DEFECT_GATE_EVIDENCE_DISPOSITIONS:readonly
|
|
5
|
+
export declare const DEFECT_GATE_EVIDENCE_DISPOSITIONS:readonly["gate_added","gate_strengthened","explicit_waiver"];
|
|
8
6
|
/** Defect escape classification. */
|
|
9
|
-
export type DefectEscapeClass
|
|
7
|
+
export type DefectEscapeClass=(typeof DEFECT_ESCAPE_CLASSES)[number];
|
|
10
8
|
/** Distinguishes a concrete assurance improvement from a reviewed exception. */
|
|
11
|
-
export type DefectGateEvidenceDisposition
|
|
9
|
+
export type DefectGateEvidenceDisposition=(typeof DEFECT_GATE_EVIDENCE_DISPOSITIONS)[number];
|
|
12
10
|
/** Structured proof attached to a terminal defect item. */
|
|
13
|
-
export interface DefectGateEvidence
|
|
11
|
+
export interface DefectGateEvidence{
|
|
14
12
|
/** Whether a gate was added, strengthened, or explicitly waived. */
|
|
15
13
|
disposition:DefectGateEvidenceDisposition;
|
|
16
14
|
/** Stable gate identifier, except for an explicit waiver. */
|
|
@@ -26,10 +24,9 @@ owner:string;
|
|
|
26
24
|
/** Concrete reason for an explicit waiver. */
|
|
27
25
|
waiver_reason?:string;
|
|
28
26
|
/** ISO timestamp after which an explicit waiver is invalid. */
|
|
29
|
-
waiver_expires_at?:string;
|
|
30
|
-
}
|
|
27
|
+
waiver_expires_at?:string;}
|
|
31
28
|
/** Signals that associate a family with source changes or PM context. */
|
|
32
|
-
export interface DefectRecurrenceTriggers
|
|
29
|
+
export interface DefectRecurrenceTriggers{
|
|
33
30
|
/** Repository-relative glob patterns. */
|
|
34
31
|
file_patterns?:string[];
|
|
35
32
|
/** Package names or workspace package paths. */
|
|
@@ -39,24 +36,21 @@ item_ids?:string[];
|
|
|
39
36
|
/** PM tags. */
|
|
40
37
|
tags?:string[];
|
|
41
38
|
/** Stable error-code contracts. */
|
|
42
|
-
error_codes?:string[];
|
|
43
|
-
}
|
|
39
|
+
error_codes?:string[];}
|
|
44
40
|
/** Local and hosted checks selected together for one recurrence family. */
|
|
45
|
-
export interface DefectRecurrenceChecks
|
|
41
|
+
export interface DefectRecurrenceChecks{
|
|
46
42
|
/** Fast checks suitable for local development. */
|
|
47
43
|
local:string[];
|
|
48
44
|
/** Hosted checks that add independent or environment-specific evidence. */
|
|
49
|
-
hosted:string[];
|
|
50
|
-
}
|
|
45
|
+
hosted:string[];}
|
|
51
46
|
/** Budget that makes an assurance family measurable over time. */
|
|
52
|
-
export interface DefectRecurrenceBudget
|
|
47
|
+
export interface DefectRecurrenceBudget{
|
|
53
48
|
/** Maximum accepted escaped-defect rate. */
|
|
54
49
|
max_escape_rate:number;
|
|
55
50
|
/** Maximum accepted false-positive rate. */
|
|
56
|
-
max_false_positive_rate:number;
|
|
57
|
-
}
|
|
51
|
+
max_false_positive_rate:number;}
|
|
58
52
|
/** Versioned recurrence policy for one historically observed defect family. */
|
|
59
|
-
export interface DefectRecurrenceFamily
|
|
53
|
+
export interface DefectRecurrenceFamily{
|
|
60
54
|
/** Stable family identifier. */
|
|
61
55
|
id:string;
|
|
62
56
|
/** Monotonic family contract version. */
|
|
@@ -76,19 +70,17 @@ negative_control:DefectChangeRiskInput;
|
|
|
76
70
|
/** Historical items that justify the family. */
|
|
77
71
|
historical_item_ids:string[];
|
|
78
72
|
/** Quantitative escape and false-positive budgets. */
|
|
79
|
-
budget:DefectRecurrenceBudget;
|
|
80
|
-
}
|
|
73
|
+
budget:DefectRecurrenceBudget;}
|
|
81
74
|
/** Repository recurrence policy serialized by a project or extension. */
|
|
82
|
-
export interface DefectRecurrencePolicy
|
|
75
|
+
export interface DefectRecurrencePolicy{
|
|
83
76
|
/** Serialized policy format version. */
|
|
84
77
|
version:1;
|
|
85
78
|
/** ISO instant after which terminal defects require structured evidence. */
|
|
86
79
|
evidence_epoch:string;
|
|
87
80
|
/** Versioned recurrence families. */
|
|
88
|
-
families:DefectRecurrenceFamily[];
|
|
89
|
-
}
|
|
81
|
+
families:DefectRecurrenceFamily[];}
|
|
90
82
|
/** Input used to explain assurance requirements for a proposed change. */
|
|
91
|
-
export interface DefectChangeRiskInput
|
|
83
|
+
export interface DefectChangeRiskInput{
|
|
92
84
|
/** Changed repository-relative files. */
|
|
93
85
|
files?:string[];
|
|
94
86
|
/** Changed package names or workspace package paths. */
|
|
@@ -98,17 +90,15 @@ item_ids?:string[];
|
|
|
98
90
|
/** PM tags in the change lineage. */
|
|
99
91
|
tags?:string[];
|
|
100
92
|
/** Error-code contracts touched by the change. */
|
|
101
|
-
error_codes?:string[];
|
|
102
|
-
}
|
|
93
|
+
error_codes?:string[];}
|
|
103
94
|
/** Options for a full or incremental recurrence-index build. */
|
|
104
|
-
export interface BuildDefectRecurrenceIndexOptions
|
|
95
|
+
export interface BuildDefectRecurrenceIndexOptions{
|
|
105
96
|
/** Previous index whose unaffected item mappings can be reused. */
|
|
106
97
|
previous_index?:DefectRecurrenceIndex;
|
|
107
98
|
/** Item ids replaced by the supplied item projection. */
|
|
108
|
-
changed_item_ids?:string[];
|
|
109
|
-
}
|
|
99
|
+
changed_item_ids?:string[];}
|
|
110
100
|
/** Deterministic recurrence index shared by CLI, SDK, MCP, and CI. */
|
|
111
|
-
export interface DefectRecurrenceIndex
|
|
101
|
+
export interface DefectRecurrenceIndex{
|
|
112
102
|
/** Index format version. */
|
|
113
103
|
version:1;
|
|
114
104
|
/** Hash of the policy used to build the index. */
|
|
@@ -132,20 +122,17 @@ items_scanned:number;
|
|
|
132
122
|
/** Unchanged item mappings reused from a previous index. */
|
|
133
123
|
items_reused:number;
|
|
134
124
|
/** Items with at least one recurrence family. */
|
|
135
|
-
items_indexed:number;
|
|
136
|
-
};
|
|
137
|
-
}
|
|
125
|
+
items_indexed:number;};}
|
|
138
126
|
/** One explainable reason that selected an assurance family. */
|
|
139
|
-
export interface DefectChangeRiskReason
|
|
127
|
+
export interface DefectChangeRiskReason{
|
|
140
128
|
/** Signal category that matched. */
|
|
141
|
-
signal:"file"
|
|
129
|
+
signal:"file"|"package"|"item"|"tag"|"error_code";
|
|
142
130
|
/** Submitted signal value. */
|
|
143
131
|
value:string;
|
|
144
132
|
/** Policy trigger or indexed item that matched. */
|
|
145
|
-
matched:string;
|
|
146
|
-
}
|
|
133
|
+
matched:string;}
|
|
147
134
|
/** One selected recurrence family and its evidence requirements. */
|
|
148
|
-
export interface DefectChangeRiskMatch
|
|
135
|
+
export interface DefectChangeRiskMatch{
|
|
149
136
|
/** Stable family identifier. */
|
|
150
137
|
family_id:string;
|
|
151
138
|
/** Family contract version. */
|
|
@@ -161,17 +148,15 @@ local_checks:string[];
|
|
|
161
148
|
/** Required hosted checks. */
|
|
162
149
|
hosted_checks:string[];
|
|
163
150
|
/** Quantitative policy budget. */
|
|
164
|
-
budget:DefectRecurrenceBudget;
|
|
165
|
-
}
|
|
151
|
+
budget:DefectRecurrenceBudget;}
|
|
166
152
|
/** Pagination controls for bounded change-risk output. */
|
|
167
|
-
export interface AnalyzeDefectChangeRiskOptions
|
|
153
|
+
export interface AnalyzeDefectChangeRiskOptions{
|
|
168
154
|
/** Opaque cursor returned by a previous report. */
|
|
169
155
|
cursor?:string;
|
|
170
156
|
/** Maximum family rows returned, from 1 through 100. */
|
|
171
|
-
limit?:number;
|
|
172
|
-
}
|
|
157
|
+
limit?:number;}
|
|
173
158
|
/** Serialized assurance-risk request shared by CLI, SDK, and MCP transports. */
|
|
174
|
-
export interface DefectChangeRiskRequest
|
|
159
|
+
export interface DefectChangeRiskRequest{
|
|
175
160
|
/** Project- or package-owned recurrence policy. */
|
|
176
161
|
policy:DefectRecurrencePolicy;
|
|
177
162
|
/** Proposed source and PM-context changes. */
|
|
@@ -179,10 +164,9 @@ change:DefectChangeRiskInput;
|
|
|
179
164
|
/** Opaque cursor returned by a previous report. */
|
|
180
165
|
cursor?:string;
|
|
181
166
|
/** Maximum family rows returned, from 1 through 100. */
|
|
182
|
-
limit?:number;
|
|
183
|
-
}
|
|
167
|
+
limit?:number;}
|
|
184
168
|
/** Bounded and explainable change-risk report. */
|
|
185
|
-
export interface DefectChangeRiskReport
|
|
169
|
+
export interface DefectChangeRiskReport{
|
|
186
170
|
/** Whether at least one historical family was selected. */
|
|
187
171
|
risk_detected:boolean;
|
|
188
172
|
/** Stable recurrence-index identity. */
|
|
@@ -206,25 +190,19 @@ signals_evaluated:number;
|
|
|
206
190
|
/** Selected families before pagination. */
|
|
207
191
|
families_selected:number;
|
|
208
192
|
/** Approximate JSON-token cost of the bounded response. */
|
|
209
|
-
estimated_output_tokens:number;
|
|
210
|
-
};
|
|
193
|
+
estimated_output_tokens:number;};
|
|
211
194
|
/** Stable collection selector for agent consumers. */
|
|
212
|
-
row_contract:{
|
|
213
|
-
row_keys:["items"];
|
|
214
|
-
jq_selector:".items[]";
|
|
215
|
-
};
|
|
216
|
-
}
|
|
195
|
+
row_contract:{row_keys:["items"];jq_selector:".items[]";};}
|
|
217
196
|
/** One fail-closed defect-evidence finding. */
|
|
218
|
-
export interface DefectGateEvidenceFinding
|
|
197
|
+
export interface DefectGateEvidenceFinding{
|
|
219
198
|
/** PM item missing or carrying invalid evidence. */
|
|
220
199
|
item_id:string;
|
|
221
200
|
/** Stable machine-readable finding kind. */
|
|
222
|
-
kind:"missing_escape_class"
|
|
201
|
+
kind:"missing_escape_class"|"invalid_escape_class"|"invalid_completion_timestamp"|"missing_gate_evidence"|"invalid_gate_evidence"|"expired_waiver";
|
|
223
202
|
/** Actionable explanation. */
|
|
224
|
-
detail:string;
|
|
225
|
-
}
|
|
203
|
+
detail:string;}
|
|
226
204
|
/** Fail-closed governance report for terminal defects after the policy epoch. */
|
|
227
|
-
export interface DefectGateEvidenceReport
|
|
205
|
+
export interface DefectGateEvidenceReport{
|
|
228
206
|
/** Whether every governed defect carried valid evidence. */
|
|
229
207
|
ok:boolean;
|
|
230
208
|
/** Terminal defect items governed by the epoch. */
|
|
@@ -236,8 +214,7 @@ class_counts:Record<DefectEscapeClass,number>;
|
|
|
236
214
|
/** Historical and epoch-governed counts by evidence disposition. */
|
|
237
215
|
evidence_disposition_counts:Record<DefectGateEvidenceDisposition,number>;
|
|
238
216
|
/** Stable sorted findings. */
|
|
239
|
-
findings:DefectGateEvidenceFinding[];
|
|
240
|
-
}
|
|
217
|
+
findings:DefectGateEvidenceFinding[];}
|
|
241
218
|
/** Compile deterministic policy and PM metadata into a sparse incremental index. */
|
|
242
219
|
export declare function buildDefectRecurrenceIndex(policy:DefectRecurrencePolicy,items:readonly AssuranceItemRecord[],options?:BuildDefectRecurrenceIndexOptions):DefectRecurrenceIndex;
|
|
243
220
|
/** Explain recurrence families and shared local/hosted checks for one change. */
|
|
@@ -245,11 +222,10 @@ export declare function analyzeDefectChangeRisk(index:DefectRecurrenceIndex,inpu
|
|
|
245
222
|
/** Enforce structured escape classification and gate evidence on new terminal defects. */
|
|
246
223
|
export declare function evaluateDefectGateEvidence(items:readonly AssuranceItemRecord[],policy:DefectRecurrencePolicy,terminalStatuses:readonly string[],now?:Date):DefectGateEvidenceReport;
|
|
247
224
|
/** A policy-stage validation failure, distinguishable from other request TypeErrors. */
|
|
248
|
-
export declare class DefectRecurrencePolicyParseError extends TypeError
|
|
225
|
+
export declare class DefectRecurrencePolicyParseError extends TypeError{
|
|
249
226
|
/** Stable stage identity for consumers combining different SDK entrypoints. */
|
|
250
|
-
readonly code
|
|
251
|
-
}
|
|
227
|
+
readonly code="defect_recurrence_policy_invalid";}
|
|
252
228
|
/** Parse an untrusted serialized policy without weakening runtime validation. */
|
|
253
229
|
export declare function parseDefectRecurrencePolicy(value:unknown):DefectRecurrencePolicy;
|
|
254
230
|
/** Parse an untrusted cross-transport change-risk request. */
|
|
255
|
-
export declare function parseDefectChangeRiskRequest(value:unknown):DefectChangeRiskRequest;
|
|
231
|
+
export declare function parseDefectChangeRiskRequest(value:unknown):DefectChangeRiskRequest;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type{LoadedExtension}from "../../core/extensions/loader.js";
|
|
2
2
|
/** One distinct resolvable pm-cli installation and its extension consumers. */
|
|
3
|
-
export interface ExtensionHostVersionCopy
|
|
3
|
+
export interface ExtensionHostVersionCopy{
|
|
4
4
|
/** Installed pm-cli version. */
|
|
5
5
|
version:string;
|
|
6
6
|
/** Privacy-safe workspace-relative package manifest location. */
|
|
7
7
|
path:string;
|
|
8
8
|
/** Dependency layout that exposed this copy. */
|
|
9
|
-
layout:"host"
|
|
9
|
+
layout:"host"|"npm"|"pnpm"|"other";
|
|
10
10
|
/** Loaded extensions resolving this copy. */
|
|
11
|
-
consumers:string[];
|
|
12
|
-
}
|
|
11
|
+
consumers:string[];}
|
|
13
12
|
/** Extension/host version census returned by the health SDK. */
|
|
14
|
-
export interface ExtensionHostVersionCensus
|
|
13
|
+
export interface ExtensionHostVersionCensus{
|
|
15
14
|
/** Version of the process-hosting pm-cli package. */
|
|
16
|
-
host_version:string
|
|
15
|
+
host_version:string|null;
|
|
17
16
|
/** Every distinct relevant copy resolved by the host or an extension. */
|
|
18
17
|
copies:ExtensionHostVersionCopy[];
|
|
19
18
|
/** Copies whose version differs from the process host. */
|
|
20
19
|
mismatches:ExtensionHostVersionCopy[];
|
|
21
20
|
/** Stable health warning tokens for mismatched copies. */
|
|
22
|
-
warnings:string[];
|
|
23
|
-
}
|
|
21
|
+
warnings:string[];}
|
|
24
22
|
/** Scan the host plus the nearest pm-cli package resolvable by every loaded extension. */
|
|
25
|
-
export declare function scanExtensionHostVersions(loadedExtensions:readonly LoadedExtension[],workspaceRoot:string,hostPackageRoot?:string):Promise<ExtensionHostVersionCensus>;
|
|
23
|
+
export declare function scanExtensionHostVersions(loadedExtensions:readonly LoadedExtension[],workspaceRoot:string,hostPackageRoot?:string):Promise<ExtensionHostVersionCensus>;
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
import type
|
|
2
|
-
declare const GC_SCOPE_VALUES:readonly ["index","embeddings","runtime","locks","checkpoints","transactions"];
|
|
3
|
-
type GcScope = (typeof GC_SCOPE_VALUES)[number];
|
|
1
|
+
import type{GlobalOptions}from "../../core/shared/command-types.js";declare const GC_SCOPE_VALUES:readonly["index","embeddings","runtime","locks","checkpoints","transactions"];type GcScope=(typeof GC_SCOPE_VALUES)[number];
|
|
4
2
|
/** Documents the gc command options payload exchanged by command, SDK, and package integrations. */
|
|
5
|
-
export interface GcCommandOptions
|
|
3
|
+
export interface GcCommandOptions{
|
|
6
4
|
/** Value that configures or reports dry run for this contract. */
|
|
7
5
|
dryRun?:boolean;
|
|
8
6
|
/** Value that configures or reports scope for this contract. */
|
|
9
|
-
scope?:string[];
|
|
10
|
-
}
|
|
7
|
+
scope?:string[];}
|
|
11
8
|
/** Documents the gc locks summary payload exchanged by command, SDK, and package integrations. */
|
|
12
|
-
export interface GcLocksSummary
|
|
9
|
+
export interface GcLocksSummary{
|
|
13
10
|
/** Value that configures or reports scanned for this contract. */
|
|
14
11
|
scanned:number;
|
|
15
12
|
/** Value that configures or reports removed for this contract. */
|
|
16
13
|
removed:number;
|
|
17
14
|
/** Value that configures or reports retained for this contract. */
|
|
18
|
-
retained:number;
|
|
19
|
-
}
|
|
15
|
+
retained:number;}
|
|
20
16
|
/** Documents the gc checkpoints summary payload exchanged by command, SDK, and package integrations. */
|
|
21
|
-
export interface GcCheckpointsSummary
|
|
17
|
+
export interface GcCheckpointsSummary{
|
|
22
18
|
/** Value that configures or reports scanned for this contract. */
|
|
23
19
|
scanned:number;
|
|
24
20
|
/** Value that configures or reports removed for this contract. */
|
|
@@ -26,10 +22,9 @@ removed:number;
|
|
|
26
22
|
/** Value that configures or reports retained for this contract. */
|
|
27
23
|
retained:number;
|
|
28
24
|
/** Value that configures or reports retention days for this contract. */
|
|
29
|
-
retention_days:number;
|
|
30
|
-
}
|
|
25
|
+
retention_days:number;}
|
|
31
26
|
/** Documents the gc transactions summary payload exchanged by command, SDK, and package integrations. */
|
|
32
|
-
export interface GcTransactionsSummary
|
|
27
|
+
export interface GcTransactionsSummary{
|
|
33
28
|
/** Value that configures or reports scanned for this contract. */
|
|
34
29
|
scanned:number;
|
|
35
30
|
/** Value that configures or reports removed for this contract. */
|
|
@@ -37,10 +32,9 @@ removed:number;
|
|
|
37
32
|
/** Value that configures or reports retained for this contract. */
|
|
38
33
|
retained:number;
|
|
39
34
|
/** Value that configures or reports retention days for this contract. */
|
|
40
|
-
retention_days:number;
|
|
41
|
-
}
|
|
35
|
+
retention_days:number;}
|
|
42
36
|
/** Documents the gc result payload exchanged by command, SDK, and package integrations. */
|
|
43
|
-
export interface GcResult
|
|
37
|
+
export interface GcResult{
|
|
44
38
|
/** Whether the operation completed without a blocking failure. */
|
|
45
39
|
ok:boolean;
|
|
46
40
|
/** Value that configures or reports dry run for this contract. */
|
|
@@ -62,8 +56,6 @@ checkpoints?:GcCheckpointsSummary;
|
|
|
62
56
|
/** Present only when the transactions scope was selected. Summarizes the workspace-transaction journal sweep. */
|
|
63
57
|
transactions?:GcTransactionsSummary;
|
|
64
58
|
/** ISO 8601 timestamp recording when generated occurred. */
|
|
65
|
-
generated_at:string;
|
|
66
|
-
}
|
|
59
|
+
generated_at:string;}
|
|
67
60
|
/** Implements run gc for the public runtime surface of this module. */
|
|
68
|
-
export declare function runGc(global:GlobalOptions,options?:GcCommandOptions):Promise<GcResult>;
|
|
69
|
-
export {};
|
|
61
|
+
export declare function runGc(global:GlobalOptions,options?:GcCommandOptions):Promise<GcResult>;export{};
|
|
@@ -3,35 +3,20 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Pure health evidence projections shared by CLI, MCP and SDK diagnostics.
|
|
5
5
|
*/
|
|
6
|
-
import type
|
|
6
|
+
import type{HealthCheck,HealthResult,RunHealthOptions}from "../health.js";
|
|
7
7
|
/** Maximum detail sample retained by compact health projections. */
|
|
8
|
-
export declare const BRIEF_HEALTH_DETAIL_LIMIT
|
|
8
|
+
export declare const BRIEF_HEALTH_DETAIL_LIMIT=8;
|
|
9
9
|
/** Maximum warning rows retained while blocking causes remain complete. */
|
|
10
|
-
export declare const HEALTH_WARNING_LIMIT
|
|
10
|
+
export declare const HEALTH_WARNING_LIMIT=100;
|
|
11
11
|
/** Return bounded string detail and report whether values were withheld. */
|
|
12
|
-
export declare function summarizeList(values:string[],limit:number):{
|
|
13
|
-
values:string[];
|
|
14
|
-
truncated:boolean;
|
|
15
|
-
};
|
|
12
|
+
export declare function summarizeList(values:string[],limit:number):{values:string[];truncated:boolean;};
|
|
16
13
|
/** Count arbitrary rows while bounding the retained evidence sample. */
|
|
17
|
-
export declare function summarizeRecordList(value:unknown,limit:number):{
|
|
18
|
-
count:number;
|
|
19
|
-
sample:unknown[];
|
|
20
|
-
truncated:boolean;
|
|
21
|
-
};
|
|
14
|
+
export declare function summarizeRecordList(value:unknown,limit:number):{count:number;sample:unknown[];truncated:boolean;};
|
|
22
15
|
/** Bound extension identity samples without retaining executable registrations. */
|
|
23
|
-
export declare function summarizeExtensionList(value:unknown,limit:number):{
|
|
24
|
-
count:number;
|
|
25
|
-
sample:unknown[];
|
|
26
|
-
truncated:boolean;
|
|
27
|
-
};
|
|
16
|
+
export declare function summarizeExtensionList(value:unknown,limit:number):{count:number;sample:unknown[];truncated:boolean;};
|
|
28
17
|
/** Count string warnings and retain a bounded sample for diagnostic output. */
|
|
29
|
-
export declare function summarizeStringList(value:unknown,limit:number):{
|
|
30
|
-
count:number;
|
|
31
|
-
sample:string[];
|
|
32
|
-
truncated:boolean;
|
|
33
|
-
};
|
|
18
|
+
export declare function summarizeStringList(value:unknown,limit:number):{count:number;sample:string[];truncated:boolean;};
|
|
34
19
|
/** Summarize one health check using its diagnostic-specific detail contract. */
|
|
35
20
|
export declare function summarizeHealthCheckDetails(check:HealthCheck,limit:number):Record<string,unknown>;
|
|
36
21
|
/** Bound health warnings and select evidence without changing the computed verdict. */
|
|
37
|
-
export declare function projectHealthResult(result:HealthResult,options:RunHealthOptions,summaryMode:boolean):HealthResult;
|
|
22
|
+
export declare function projectHealthResult(result:HealthResult,options:RunHealthOptions,summaryMode:boolean):HealthResult;
|