kibi-cli 0.19.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-errors.d.ts +3 -1
- package/dist/cli-errors.d.ts.map +1 -1
- package/dist/cli-errors.js +4 -1
- package/dist/cli-json-command.d.ts +1 -0
- package/dist/cli-json-command.d.ts.map +1 -1
- package/dist/cli-json-command.js +13 -4
- package/dist/cli-operation-loader.d.ts.map +1 -1
- package/dist/cli-operation-loader.js +53 -20
- package/dist/cli-operation-metadata.d.ts +21 -8
- package/dist/cli-operation-metadata.d.ts.map +1 -1
- package/dist/cli-operation-metadata.js +27 -10
- package/dist/cli-protocol.d.ts.map +1 -1
- package/dist/cli-protocol.js +38 -8
- package/dist/cli-register-foundation.d.ts.map +1 -1
- package/dist/cli-register-foundation.js +14 -2
- package/dist/cli-register-maintenance.d.ts.map +1 -1
- package/dist/cli-register-maintenance.js +33 -4
- package/dist/cli-register-proof.d.ts +3 -0
- package/dist/cli-register-proof.d.ts.map +1 -0
- package/dist/cli-register-proof.js +103 -0
- package/dist/cli-register-reporting.d.ts.map +1 -1
- package/dist/cli-register-reporting.js +11 -0
- package/dist/cli.d.ts +4 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +17 -8
- package/dist/commands/aggregated-checks.d.ts +1 -2
- package/dist/commands/aggregated-checks.d.ts.map +1 -1
- package/dist/commands/aggregated-checks.js +14 -9
- package/dist/commands/branch.d.ts +37 -0
- package/dist/commands/branch.d.ts.map +1 -1
- package/dist/commands/branch.js +375 -40
- package/dist/commands/check.d.ts +14 -0
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +209 -110
- package/dist/commands/coverage.d.ts +1 -0
- package/dist/commands/coverage.d.ts.map +1 -1
- package/dist/commands/coverage.js +6 -0
- package/dist/commands/discovery-shared.d.ts.map +1 -1
- package/dist/commands/discovery-shared.js +10 -19
- package/dist/commands/doctor.d.ts +26 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +291 -30
- package/dist/commands/engine.d.ts +12 -0
- package/dist/commands/engine.d.ts.map +1 -1
- package/dist/commands/engine.js +50 -7
- package/dist/commands/gc.d.ts +5 -2
- package/dist/commands/gc.d.ts.map +1 -1
- package/dist/commands/gc.js +140 -71
- package/dist/commands/github-init.d.ts +57 -0
- package/dist/commands/github-init.d.ts.map +1 -0
- package/dist/commands/github-init.js +314 -0
- package/dist/commands/init-helpers.d.ts +1 -1
- package/dist/commands/init-helpers.d.ts.map +1 -1
- package/dist/commands/init-helpers.js +109 -28
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +79 -24
- package/dist/commands/legacy-storage-migration.d.ts +54 -0
- package/dist/commands/legacy-storage-migration.d.ts.map +1 -0
- package/dist/commands/legacy-storage-migration.js +277 -0
- package/dist/commands/migrate.d.ts +11 -0
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +249 -96
- package/dist/commands/proof-migrate-legacy.d.ts +7 -0
- package/dist/commands/proof-migrate-legacy.d.ts.map +1 -0
- package/dist/commands/proof-migrate-legacy.js +45 -0
- package/dist/commands/proof-prune.d.ts +8 -0
- package/dist/commands/proof-prune.d.ts.map +1 -0
- package/dist/commands/proof-prune.js +53 -0
- package/dist/commands/prove.d.ts +37 -0
- package/dist/commands/prove.d.ts.map +1 -0
- package/dist/commands/prove.js +470 -0
- package/dist/commands/report.d.ts +24 -0
- package/dist/commands/report.d.ts.map +1 -0
- package/dist/commands/report.js +191 -0
- package/dist/commands/sync/cache.d.ts +16 -3
- package/dist/commands/sync/cache.d.ts.map +1 -1
- package/dist/commands/sync/cache.js +111 -4
- package/dist/commands/sync/discovery.d.ts +26 -2
- package/dist/commands/sync/discovery.d.ts.map +1 -1
- package/dist/commands/sync/discovery.js +204 -15
- package/dist/commands/sync/extraction.d.ts +8 -1
- package/dist/commands/sync/extraction.d.ts.map +1 -1
- package/dist/commands/sync/extraction.js +38 -4
- package/dist/commands/sync/manifest.d.ts +9 -6
- package/dist/commands/sync/manifest.d.ts.map +1 -1
- package/dist/commands/sync/manifest.js +195 -60
- package/dist/commands/sync/persistence.d.ts +4 -1
- package/dist/commands/sync/persistence.d.ts.map +1 -1
- package/dist/commands/sync/persistence.js +26 -12
- package/dist/commands/sync/staging.d.ts +1 -0
- package/dist/commands/sync/staging.d.ts.map +1 -1
- package/dist/commands/sync/staging.js +5 -2
- package/dist/commands/sync/untracked-targets.d.ts +24 -0
- package/dist/commands/sync/untracked-targets.d.ts.map +1 -0
- package/dist/commands/sync/untracked-targets.js +108 -0
- package/dist/commands/sync.d.ts +17 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +375 -106
- package/dist/diagnostics.d.ts +1 -1
- package/dist/diagnostics.d.ts.map +1 -1
- package/dist/engine-daemon.d.ts +3 -1
- package/dist/engine-daemon.d.ts.map +1 -1
- package/dist/engine-daemon.js +49 -20
- package/dist/engine.d.ts +34 -3
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +578 -42
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +5 -6
- package/dist/extractors/manifest.d.ts +13 -1
- package/dist/extractors/manifest.d.ts.map +1 -1
- package/dist/extractors/manifest.js +97 -10
- package/dist/extractors/markdown.d.ts +5 -2
- package/dist/extractors/markdown.d.ts.map +1 -1
- package/dist/extractors/markdown.js +47 -12
- package/dist/extractors/playwright-cases.d.ts +24 -0
- package/dist/extractors/playwright-cases.d.ts.map +1 -0
- package/dist/extractors/playwright-cases.js +126 -0
- package/dist/extractors/relationships.d.ts +6 -0
- package/dist/extractors/relationships.d.ts.map +1 -1
- package/dist/extractors/relationships.js +2 -1
- package/dist/extractors/symbol-coordinates.d.ts +81 -3
- package/dist/extractors/symbol-coordinates.d.ts.map +1 -1
- package/dist/extractors/symbol-coordinates.js +389 -51
- package/dist/extractors/symbols-coordinator.js +11 -1
- package/dist/extractors/symbols-ts.d.ts +1 -0
- package/dist/extractors/symbols-ts.d.ts.map +1 -1
- package/dist/extractors/symbols-ts.js +142 -67
- package/dist/intent-search.d.ts +61 -0
- package/dist/intent-search.d.ts.map +1 -0
- package/dist/intent-search.js +437 -0
- package/dist/logic/ir.d.ts +1 -0
- package/dist/logic/ir.d.ts.map +1 -1
- package/dist/logic/ir.js +1 -1
- package/dist/operations/bootstrap/activation.d.ts +5 -0
- package/dist/operations/bootstrap/activation.d.ts.map +1 -0
- package/dist/operations/{autopilot → bootstrap}/activation.js +58 -33
- package/dist/operations/{autopilot → bootstrap}/candidate-helpers.d.ts.map +1 -1
- package/dist/operations/bootstrap/candidates.d.ts +4 -0
- package/dist/operations/{autopilot → bootstrap}/candidates.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/candidates.js +22 -8
- package/dist/operations/{autopilot → bootstrap}/discovery-evidence.d.ts +2 -2
- package/dist/operations/{autopilot → bootstrap}/discovery-evidence.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/discovery-evidence.js +46 -6
- package/dist/operations/{autopilot → bootstrap}/discovery.d.ts +1 -1
- package/dist/operations/bootstrap/discovery.d.ts.map +1 -0
- package/dist/operations/{autopilot → bootstrap}/discovery.js +21 -14
- package/dist/operations/bootstrap/generate.d.ts +9 -0
- package/dist/operations/bootstrap/generate.d.ts.map +1 -0
- package/dist/operations/bootstrap/generate.js +207 -0
- package/dist/operations/{autopilot → bootstrap}/guidance-actions.d.ts +2 -2
- package/dist/operations/{autopilot → bootstrap}/guidance-actions.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/guidance-actions.js +4 -4
- package/dist/operations/{autopilot → bootstrap}/guidance.d.ts +3 -2
- package/dist/operations/bootstrap/guidance.d.ts.map +1 -0
- package/dist/operations/{autopilot → bootstrap}/guidance.js +3 -1
- package/dist/operations/{autopilot → bootstrap}/markdown-candidates.d.ts +2 -2
- package/dist/operations/{autopilot → bootstrap}/markdown-candidates.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/markdown-candidates.js +4 -3
- package/dist/operations/bootstrap/presentation.d.ts +15 -0
- package/dist/operations/bootstrap/presentation.d.ts.map +1 -0
- package/dist/operations/bootstrap/presentation.js +177 -0
- package/dist/operations/{autopilot → bootstrap}/requirement-claims.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/types.d.ts +63 -21
- package/dist/operations/bootstrap/types.d.ts.map +1 -0
- package/dist/operations/bootstrap/types.js +25 -0
- package/dist/operations/modeling/model-requirement.d.ts +5 -0
- package/dist/operations/modeling/model-requirement.d.ts.map +1 -1
- package/dist/operations/modeling/model-requirement.js +57 -63
- package/dist/operations/modeling/predicate-applicability.d.ts +16 -0
- package/dist/operations/modeling/predicate-applicability.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-applicability.js +375 -0
- package/dist/operations/modeling/predicate-applyplan.d.ts +13 -2
- package/dist/operations/modeling/predicate-applyplan.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-applyplan.js +100 -3
- package/dist/operations/modeling/predicate-bindings.d.ts +6 -0
- package/dist/operations/modeling/predicate-bindings.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-bindings.js +122 -0
- package/dist/operations/modeling/predicate-catalog-2.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-2.js +18 -2
- package/dist/operations/modeling/predicate-catalog-3.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-3.js +17 -1
- package/dist/operations/modeling/predicate-catalog-4.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-4.js +155 -0
- package/dist/operations/modeling/predicate-catalog-5.d.ts +10 -0
- package/dist/operations/modeling/predicate-catalog-5.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-catalog-5.js +291 -0
- package/dist/operations/modeling/predicate-catalog.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog.js +4 -0
- package/dist/operations/modeling/predicate-inference-1.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-inference-1.js +8 -0
- package/dist/operations/modeling/predicate-inference-launcher.d.ts +10 -0
- package/dist/operations/modeling/predicate-inference-launcher.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-inference-launcher.js +13 -0
- package/dist/operations/modeling/predicate-inference.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-inference.js +4 -0
- package/dist/operations/modeling/predicate-loader.d.ts +1 -0
- package/dist/operations/modeling/predicate-loader.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-loader.js +11 -3
- package/dist/operations/modeling/predicate-ranker.d.ts +8 -1
- package/dist/operations/modeling/predicate-ranker.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-ranker.js +159 -24
- package/dist/operations/modeling/predicate-score-3.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-score-3.js +6 -0
- package/dist/operations/modeling/predicate-types.d.ts +35 -1
- package/dist/operations/modeling/predicate-types.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-usage-hints-3.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-usage-hints-3.js +40 -0
- package/dist/operations/modeling/predicate-usage-hints-4.d.ts +3 -0
- package/dist/operations/modeling/predicate-usage-hints-4.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-usage-hints-4.js +84 -0
- package/dist/operations/modeling/predicate-utils.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-utils.js +2 -0
- package/dist/operations/modeling/suggest-predicates.d.ts +4 -2
- package/dist/operations/modeling/suggest-predicates.d.ts.map +1 -1
- package/dist/operations/modeling/suggest-predicates.js +203 -32
- package/dist/operations/mutation/contradictions.d.ts +2 -1
- package/dist/operations/mutation/contradictions.d.ts.map +1 -1
- package/dist/operations/mutation/contradictions.js +26 -5
- package/dist/operations/mutation/delete.d.ts +3 -0
- package/dist/operations/mutation/delete.d.ts.map +1 -1
- package/dist/operations/mutation/delete.js +483 -19
- package/dist/operations/mutation/entity-projection.d.ts +11 -0
- package/dist/operations/mutation/entity-projection.d.ts.map +1 -0
- package/dist/operations/mutation/entity-projection.js +14 -0
- package/dist/operations/mutation/relationships.d.ts +11 -0
- package/dist/operations/mutation/relationships.d.ts.map +1 -1
- package/dist/operations/mutation/relationships.js +77 -5
- package/dist/operations/mutation/saga.d.ts +51 -0
- package/dist/operations/mutation/saga.d.ts.map +1 -0
- package/dist/operations/mutation/saga.js +67 -0
- package/dist/operations/mutation/serialization.d.ts.map +1 -1
- package/dist/operations/mutation/serialization.js +3 -1
- package/dist/operations/mutation/source-authoring.d.ts +65 -0
- package/dist/operations/mutation/source-authoring.d.ts.map +1 -0
- package/dist/operations/mutation/source-authoring.js +576 -0
- package/dist/operations/mutation/strict-fact.d.ts +1 -0
- package/dist/operations/mutation/strict-fact.d.ts.map +1 -1
- package/dist/operations/mutation/strict-fact.js +8 -5
- package/dist/operations/mutation/symbol-compiler-lock.d.ts +54 -0
- package/dist/operations/mutation/symbol-compiler-lock.d.ts.map +1 -0
- package/dist/operations/mutation/symbol-compiler-lock.js +337 -0
- package/dist/operations/mutation/symbol-granularity.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-granularity.js +35 -4
- package/dist/operations/mutation/symbol-refresh.d.ts +19 -1
- package/dist/operations/mutation/symbol-refresh.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-refresh.js +227 -63
- package/dist/operations/mutation/types.d.ts +57 -1
- package/dist/operations/mutation/types.d.ts.map +1 -1
- package/dist/operations/mutation/upsert.d.ts +18 -2
- package/dist/operations/mutation/upsert.d.ts.map +1 -1
- package/dist/operations/mutation/upsert.js +403 -32
- package/dist/operations/mutation/validate-upsert.js +2 -2
- package/dist/operations/mutation/validation.d.ts.map +1 -1
- package/dist/operations/mutation/validation.js +47 -4
- package/dist/operations/mutation/warnings.d.ts +1 -0
- package/dist/operations/mutation/warnings.d.ts.map +1 -1
- package/dist/operations/mutation/warnings.js +7 -5
- package/dist/operations/mutation/workspace-mutation-lock.d.ts +60 -0
- package/dist/operations/mutation/workspace-mutation-lock.d.ts.map +1 -0
- package/dist/operations/mutation/workspace-mutation-lock.js +362 -0
- package/dist/operations/planning/apply-plan.d.ts +19 -0
- package/dist/operations/planning/apply-plan.d.ts.map +1 -0
- package/dist/operations/planning/apply-plan.js +1514 -0
- package/dist/operations/planning/compile-intent.d.ts +108 -0
- package/dist/operations/planning/compile-intent.d.ts.map +1 -0
- package/dist/operations/planning/compile-intent.js +618 -0
- package/dist/operations/proof/ingest-proof.d.ts +34 -0
- package/dist/operations/proof/ingest-proof.d.ts.map +1 -0
- package/dist/operations/proof/ingest-proof.js +307 -0
- package/dist/operations/proof/migrate-legacy-receipts.d.ts +30 -0
- package/dist/operations/proof/migrate-legacy-receipts.d.ts.map +1 -0
- package/dist/operations/proof/migrate-legacy-receipts.js +88 -0
- package/dist/operations/proof/prune-receipts.d.ts +35 -0
- package/dist/operations/proof/prune-receipts.d.ts.map +1 -0
- package/dist/operations/proof/prune-receipts.js +91 -0
- package/dist/operations/proof/receipt-document.d.ts +29 -0
- package/dist/operations/proof/receipt-document.d.ts.map +1 -0
- package/dist/operations/proof/receipt-document.js +117 -0
- package/dist/operations/semantic-advisor/analyze-prose.d.ts +1 -0
- package/dist/operations/semantic-advisor/analyze-prose.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/analyze-prose.js +52 -28
- package/dist/operations/semantic-advisor/clauses.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/clauses.js +35 -9
- package/dist/operations/semantic-advisor/ingestion-boundary.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/ingestion-boundary.js +7 -3
- package/dist/operations/semantic-advisor/predicate-rules-launcher.d.ts +51 -0
- package/dist/operations/semantic-advisor/predicate-rules-launcher.d.ts.map +1 -0
- package/dist/operations/semantic-advisor/predicate-rules-launcher.js +96 -0
- package/dist/operations/semantic-advisor/strict-count-rules.d.ts +2 -0
- package/dist/operations/semantic-advisor/strict-count-rules.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/strict-count-rules.js +40 -25
- package/dist/operations/semantic-advisor/types.d.ts +13 -5
- package/dist/operations/semantic-advisor/types.d.ts.map +1 -1
- package/dist/prolog/codec.d.ts +13 -1
- package/dist/prolog/codec.d.ts.map +1 -1
- package/dist/prolog/codec.js +269 -153
- package/dist/prolog/error-terms.d.ts +47 -0
- package/dist/prolog/error-terms.d.ts.map +1 -0
- package/dist/prolog/error-terms.js +334 -0
- package/dist/prolog/janitor.d.ts +50 -0
- package/dist/prolog/janitor.d.ts.map +1 -0
- package/dist/prolog/janitor.js +154 -0
- package/dist/prolog/store-lock.d.ts +45 -0
- package/dist/prolog/store-lock.d.ts.map +1 -0
- package/dist/prolog/store-lock.js +195 -0
- package/dist/prolog.d.ts +7 -0
- package/dist/prolog.d.ts.map +1 -1
- package/dist/prolog.js +82 -25
- package/dist/proof/evaluate.d.ts +27 -0
- package/dist/proof/evaluate.d.ts.map +1 -0
- package/dist/proof/evaluate.js +151 -0
- package/dist/proof/inspect.d.ts +12 -0
- package/dist/proof/inspect.d.ts.map +1 -0
- package/dist/proof/inspect.js +236 -0
- package/dist/proof/integrations.d.ts +35 -0
- package/dist/proof/integrations.d.ts.map +1 -0
- package/dist/proof/integrations.js +123 -0
- package/dist/proof/producers/junit-adapter.d.ts +26 -0
- package/dist/proof/producers/junit-adapter.d.ts.map +1 -0
- package/dist/proof/producers/junit-adapter.js +186 -0
- package/dist/proof/producers/playwright-case-id.d.ts +8 -0
- package/dist/proof/producers/playwright-case-id.d.ts.map +1 -0
- package/dist/proof/producers/playwright-case-id.js +25 -0
- package/dist/proof/producers/playwright-reporter.d.ts +27 -0
- package/dist/proof/producers/playwright-reporter.d.ts.map +1 -0
- package/dist/proof/producers/playwright-reporter.js +138 -0
- package/dist/proof/producers/tap-adapter.d.ts +10 -0
- package/dist/proof/producers/tap-adapter.d.ts.map +1 -0
- package/dist/proof/producers/tap-adapter.js +200 -0
- package/dist/proof/receipt-outcome.d.ts +2 -0
- package/dist/proof/receipt-outcome.d.ts.map +1 -0
- package/dist/proof/receipt-outcome.js +1 -0
- package/dist/public/branch-resolver.d.ts +1 -0
- package/dist/public/branch-resolver.d.ts.map +1 -1
- package/dist/public/branch-resolver.js +1 -0
- package/dist/public/check-types.d.ts +2 -2
- package/dist/public/check-types.d.ts.map +1 -1
- package/dist/public/check-types.js +16 -16
- package/dist/public/diagnostic-usage.d.ts.map +1 -1
- package/dist/public/diagnostic-usage.js +74 -6
- package/dist/public/distribution-parity.d.ts +7 -1
- package/dist/public/distribution-parity.d.ts.map +1 -1
- package/dist/public/distribution-parity.js +15 -9
- package/dist/public/ignore-policy.d.ts.map +1 -1
- package/dist/public/ignore-policy.js +16 -4
- package/dist/public/impact/coverage-depth-quality.d.ts +7 -1
- package/dist/public/impact/coverage-depth-quality.d.ts.map +1 -1
- package/dist/public/impact/coverage-depth-quality.js +22 -4
- package/dist/public/impact/diagnostics.d.ts.map +1 -1
- package/dist/public/impact/diagnostics.js +2 -2
- package/dist/public/impact/diff-meaning.d.ts +1 -0
- package/dist/public/impact/diff-meaning.d.ts.map +1 -1
- package/dist/public/impact/diff-meaning.js +5 -2
- package/dist/public/impact/full-kb-quality.d.ts +7 -2
- package/dist/public/impact/full-kb-quality.d.ts.map +1 -1
- package/dist/public/impact/full-kb-quality.js +364 -39
- package/dist/public/impact/manifest.d.ts.map +1 -1
- package/dist/public/impact/manifest.js +2 -5
- package/dist/public/operational-artifacts.d.ts.map +1 -1
- package/dist/public/operational-artifacts.js +7 -1
- package/dist/public/operations/catalog.d.ts +900 -34
- package/dist/public/operations/catalog.d.ts.map +1 -1
- package/dist/public/operations/catalog.js +130 -6
- package/dist/public/operations/check-executor.d.ts +2 -2
- package/dist/public/operations/check-executor.d.ts.map +1 -1
- package/dist/public/operations/check-executor.js +68 -13
- package/dist/public/operations/check-format-shared.d.ts +3 -0
- package/dist/public/operations/check-format-shared.d.ts.map +1 -1
- package/dist/public/operations/check-format-shared.js +3 -0
- package/dist/public/operations/check-helpers.d.ts +27 -2
- package/dist/public/operations/check-helpers.d.ts.map +1 -1
- package/dist/public/operations/check-helpers.js +62 -26
- package/dist/public/operations/contracts.d.ts +18 -0
- package/dist/public/operations/contracts.d.ts.map +1 -0
- package/dist/public/operations/contracts.js +334 -0
- package/dist/public/operations/discovery-entities.d.ts +3 -0
- package/dist/public/operations/discovery-entities.d.ts.map +1 -1
- package/dist/public/operations/discovery-entities.js +4 -0
- package/dist/public/operations/discovery-executors.d.ts +43 -7
- package/dist/public/operations/discovery-executors.d.ts.map +1 -1
- package/dist/public/operations/discovery-executors.js +216 -13
- package/dist/public/operations/index.d.ts +9 -4
- package/dist/public/operations/index.d.ts.map +1 -1
- package/dist/public/operations/index.js +8 -3
- package/dist/public/operations/migration-plan.d.ts +102 -0
- package/dist/public/operations/migration-plan.d.ts.map +1 -0
- package/dist/public/operations/migration-plan.js +539 -0
- package/dist/public/operations/node-ports.d.ts.map +1 -1
- package/dist/public/operations/node-ports.js +71 -11
- package/dist/public/operations/prolog-json.d.ts +14 -0
- package/dist/public/operations/prolog-json.d.ts.map +1 -1
- package/dist/public/operations/prolog-json.js +44 -5
- package/dist/public/operations/repair-plan.d.ts +3 -3
- package/dist/public/operations/repair-plan.d.ts.map +1 -1
- package/dist/public/operations/repair-plan.js +49 -18
- package/dist/public/operations/result-envelope.d.ts +14 -0
- package/dist/public/operations/result-envelope.d.ts.map +1 -0
- package/dist/public/operations/result-envelope.js +106 -0
- package/dist/public/operations/runtime-types.d.ts +102 -7
- package/dist/public/operations/runtime-types.d.ts.map +1 -1
- package/dist/public/operations/source-relationship-parity.d.ts +13 -0
- package/dist/public/operations/source-relationship-parity.d.ts.map +1 -0
- package/dist/public/operations/source-relationship-parity.js +162 -0
- package/dist/public/operations/specs/{autopilot.d.ts → bootstrap.d.ts} +9 -9
- package/dist/public/operations/specs/bootstrap.d.ts.map +1 -0
- package/dist/public/operations/specs/{autopilot.js → bootstrap.js} +8 -7
- package/dist/public/operations/specs/check-rules.generated.d.ts +5 -0
- package/dist/public/operations/specs/check-rules.generated.d.ts.map +1 -0
- package/dist/public/operations/specs/check-rules.generated.js +34 -0
- package/dist/public/operations/specs/check.d.ts +9 -4
- package/dist/public/operations/specs/check.d.ts.map +1 -1
- package/dist/public/operations/specs/check.js +10 -21
- package/dist/public/operations/specs/discovery.d.ts +87 -3
- package/dist/public/operations/specs/discovery.d.ts.map +1 -1
- package/dist/public/operations/specs/discovery.js +53 -3
- package/dist/public/operations/specs/modeling.d.ts +3 -3
- package/dist/public/operations/specs/modeling.js +3 -3
- package/dist/public/operations/specs/mutation-schemas.d.ts +251 -14
- package/dist/public/operations/specs/mutation-schemas.d.ts.map +1 -1
- package/dist/public/operations/specs/mutation-schemas.js +16 -6
- package/dist/public/operations/specs/mutation.d.ts +42 -2
- package/dist/public/operations/specs/mutation.d.ts.map +1 -1
- package/dist/public/operations/specs/mutation.js +26 -2
- package/dist/public/operations/specs/planning.d.ts +279 -0
- package/dist/public/operations/specs/planning.d.ts.map +1 -0
- package/dist/public/operations/specs/planning.js +197 -0
- package/dist/public/operations/specs/proof.d.ts +212 -0
- package/dist/public/operations/specs/proof.d.ts.map +1 -0
- package/dist/public/operations/specs/proof.js +30 -0
- package/dist/public/operations/specs/reporting.d.ts +23 -1
- package/dist/public/operations/specs/reporting.d.ts.map +1 -1
- package/dist/public/operations/specs/reporting.js +156 -11
- package/dist/public/operations/specs/upsert.d.ts +265 -14
- package/dist/public/operations/specs/upsert.d.ts.map +1 -1
- package/dist/public/operations/specs/upsert.js +9 -0
- package/dist/public/operations/symbol-repair-plan.d.ts +22 -0
- package/dist/public/operations/symbol-repair-plan.d.ts.map +1 -0
- package/dist/public/operations/symbol-repair-plan.js +238 -0
- package/dist/public/operations/types.d.ts +52 -1
- package/dist/public/operations/types.d.ts.map +1 -1
- package/dist/public/proof-fingerprint.d.ts +54 -0
- package/dist/public/proof-fingerprint.d.ts.map +1 -0
- package/dist/public/proof-fingerprint.js +141 -0
- package/dist/public/proof-protocol.d.ts +354 -0
- package/dist/public/proof-protocol.d.ts.map +1 -0
- package/dist/public/proof-protocol.js +454 -0
- package/dist/public/proof-receipt.d.ts +279 -0
- package/dist/public/proof-receipt.d.ts.map +1 -0
- package/dist/public/proof-receipt.js +377 -0
- package/dist/public/schemas/entity.d.ts.map +1 -1
- package/dist/public/schemas/entity.js +22 -6
- package/dist/public/skills/kibi-bootstrap/SKILL.md +58 -0
- package/dist/public/skills/kibi-bootstrap/resources/bootstrap.md +11 -0
- package/dist/public/skills/kibi-bootstrap/resources/branch-lifecycle.md +7 -0
- package/dist/public/skills/kibi-bootstrap/resources/operation-access.md +5 -0
- package/dist/public/skills/kibi-bootstrap/resources/source-authoring.md +8 -0
- package/dist/public/skills/kibi-freshness/SKILL.md +39 -9
- package/dist/public/skills/kibi-freshness/resources/branch-lifecycle.md +7 -0
- package/dist/public/skills/kibi-freshness/resources/operation-access.md +6 -0
- package/dist/public/skills/kibi-freshness/resources/source-authoring.md +7 -0
- package/dist/public/skills/kibi-traceability/SKILL.md +47 -47
- package/dist/public/skills/kibi-traceability/resources/branch-lifecycle.md +7 -0
- package/dist/public/skills/kibi-traceability/resources/operation-access.md +5 -0
- package/dist/public/skills/kibi-traceability/resources/source-authoring.md +6 -0
- package/dist/public/skills/kibi-traceability/resources/traceability.md +8 -0
- package/dist/public/skills/kibi-usage/SKILL.md +136 -231
- package/dist/public/skills/kibi-usage/resources/branch-lifecycle.md +31 -0
- package/dist/public/skills/kibi-usage/resources/kb-improvement.md +38 -0
- package/dist/public/skills/kibi-usage/resources/operation-access.md +36 -38
- package/dist/public/skills/kibi-usage/resources/proof.md +105 -0
- package/dist/public/skills/kibi-usage/resources/relationship-directions.md +3 -3
- package/dist/public/skills/kibi-usage/resources/source-authoring.md +31 -0
- package/dist/public/skills/kibi-usage/resources/workflows.md +57 -4
- package/dist/public/symbol-granularity.d.ts +3 -14
- package/dist/public/symbol-granularity.d.ts.map +1 -1
- package/dist/public/symbol-granularity.generated.d.ts +16 -0
- package/dist/public/symbol-granularity.generated.d.ts.map +1 -0
- package/dist/public/symbol-granularity.generated.js +20 -0
- package/dist/public/symbol-granularity.js +6 -46
- package/dist/public/telemetry-acceptance.d.ts +3 -70
- package/dist/public/telemetry-acceptance.d.ts.map +1 -1
- package/dist/public/telemetry-acceptance.js +11 -2
- package/dist/public/telemetry-remediation.js +1 -1
- package/dist/relationships/shards.d.ts +16 -0
- package/dist/relationships/shards.d.ts.map +1 -1
- package/dist/relationships/shards.js +87 -2
- package/dist/report/brand.d.ts +19 -0
- package/dist/report/brand.d.ts.map +1 -0
- package/dist/report/brand.js +112 -0
- package/dist/report/html-report.css +282 -0
- package/dist/report/html-report.d.ts +21 -0
- package/dist/report/html-report.d.ts.map +1 -0
- package/dist/report/html-report.js +700 -0
- package/dist/report/relative-time.d.ts +4 -0
- package/dist/report/relative-time.d.ts.map +1 -0
- package/dist/report/relative-time.js +46 -0
- package/dist/report/report-view.d.ts +17 -0
- package/dist/report/report-view.d.ts.map +1 -0
- package/dist/report/report-view.js +33 -0
- package/dist/report/repository.d.ts +35 -0
- package/dist/report/repository.d.ts.map +1 -0
- package/dist/report/repository.js +151 -0
- package/dist/runtime/cli-runtime.d.ts +2 -0
- package/dist/runtime/cli-runtime.d.ts.map +1 -1
- package/dist/runtime/cli-runtime.js +90 -23
- package/dist/schemas/entity.schema.json +1254 -239
- package/dist/search-ranking.d.ts +1 -0
- package/dist/search-ranking.d.ts.map +1 -1
- package/dist/search-ranking.js +3 -0
- package/dist/traceability/evidence-model.d.ts +30 -2
- package/dist/traceability/evidence-model.d.ts.map +1 -1
- package/dist/traceability/evidence-model.js +2 -2
- package/dist/traceability/git-staged.d.ts +20 -0
- package/dist/traceability/git-staged.d.ts.map +1 -1
- package/dist/traceability/git-staged.js +156 -37
- package/dist/traceability/markdown-validate.d.ts.map +1 -1
- package/dist/traceability/markdown-validate.js +12 -7
- package/dist/traceability/staged-diagnostics.d.ts +7 -0
- package/dist/traceability/staged-diagnostics.d.ts.map +1 -1
- package/dist/traceability/staged-diagnostics.js +78 -7
- package/dist/traceability/staged-file-coverage.d.ts +33 -0
- package/dist/traceability/staged-file-coverage.d.ts.map +1 -0
- package/dist/traceability/staged-file-coverage.js +284 -0
- package/dist/traceability/staged-impact-contract.d.ts +3 -3
- package/dist/traceability/staged-impact-contract.d.ts.map +1 -1
- package/dist/traceability/staged-impact-contract.js +12 -40
- package/dist/traceability/staged-symbols-manifest.d.ts +13 -0
- package/dist/traceability/staged-symbols-manifest.d.ts.map +1 -1
- package/dist/traceability/staged-symbols-manifest.js +142 -26
- package/dist/traceability/symbol-extract.d.ts +5 -0
- package/dist/traceability/symbol-extract.d.ts.map +1 -1
- package/dist/traceability/symbol-extract.js +1 -1
- package/dist/traceability/temp-kb.d.ts +2 -0
- package/dist/traceability/temp-kb.d.ts.map +1 -1
- package/dist/traceability/temp-kb.js +14 -2
- package/dist/types/entities.d.ts +5 -0
- package/dist/types/entities.d.ts.map +1 -1
- package/dist/utils/branch-resolver.d.ts +25 -10
- package/dist/utils/branch-resolver.d.ts.map +1 -1
- package/dist/utils/branch-resolver.js +124 -38
- package/dist/utils/branch-store-locator.d.ts +23 -0
- package/dist/utils/branch-store-locator.d.ts.map +1 -0
- package/dist/utils/branch-store-locator.js +90 -0
- package/dist/utils/branch-store.d.ts +21 -0
- package/dist/utils/branch-store.d.ts.map +1 -0
- package/dist/utils/branch-store.js +157 -0
- package/dist/utils/config.d.ts +39 -37
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +107 -119
- package/dist/utils/kb-manifest.d.ts +35 -0
- package/dist/utils/kb-manifest.d.ts.map +1 -0
- package/dist/utils/kb-manifest.js +154 -0
- package/dist/utils/kb-paths.d.ts +54 -0
- package/dist/utils/kb-paths.d.ts.map +1 -0
- package/dist/utils/kb-paths.js +125 -0
- package/dist/utils/manifest-paths.d.ts +4 -4
- package/dist/utils/manifest-paths.d.ts.map +1 -1
- package/dist/utils/manifest-paths.js +8 -56
- package/dist/utils/rule-registry.d.ts +42 -24
- package/dist/utils/rule-registry.d.ts.map +1 -1
- package/dist/utils/rule-registry.generated.d.ts +97 -0
- package/dist/utils/rule-registry.generated.d.ts.map +1 -0
- package/dist/utils/rule-registry.generated.js +125 -0
- package/dist/utils/rule-registry.js +52 -148
- package/dist/utils/schema-version.d.ts +5 -5
- package/dist/utils/schema-version.d.ts.map +1 -1
- package/dist/utils/schema-version.js +26 -6
- package/dist/utils/strict-modeling.d.ts +1 -4
- package/dist/utils/strict-modeling.d.ts.map +1 -1
- package/dist/utils/strict-modeling.js +8 -9
- package/package.json +47 -11
- package/schema/config.json +2 -2
- package/schema/manifest.json +26 -0
- package/src/public/branch-resolver.ts +1 -0
- package/src/public/check-types.ts +22 -19
- package/src/public/diagnostic-usage.ts +84 -6
- package/src/public/distribution-parity.ts +17 -9
- package/src/public/ignore-policy.ts +16 -10
- package/src/public/impact/coverage-depth-quality.ts +37 -1
- package/src/public/impact/diagnostics.ts +2 -1
- package/src/public/impact/diff-meaning.ts +11 -4
- package/src/public/impact/full-kb-quality.ts +545 -41
- package/src/public/impact/manifest.ts +2 -4
- package/src/public/operational-artifacts.ts +9 -1
- package/src/public/operations/catalog.ts +153 -10
- package/src/public/operations/check-executor.ts +98 -15
- package/src/public/operations/check-format-shared.ts +6 -0
- package/src/public/operations/check-helpers.ts +74 -35
- package/src/public/operations/contracts.ts +382 -0
- package/src/public/operations/discovery-entities.ts +7 -0
- package/src/public/operations/discovery-executors.ts +315 -25
- package/src/public/operations/index.ts +9 -4
- package/src/public/operations/migration-plan.ts +747 -0
- package/src/public/operations/node-ports.ts +87 -13
- package/src/public/operations/prolog-json.ts +60 -5
- package/src/public/operations/repair-plan.ts +60 -22
- package/src/public/operations/result-envelope.ts +141 -0
- package/src/public/operations/runtime-types.ts +96 -5
- package/src/public/operations/source-relationship-parity.ts +226 -0
- package/src/public/operations/specs/{autopilot.ts → bootstrap.ts} +17 -16
- package/src/public/operations/specs/check-rules.generated.ts +37 -0
- package/src/public/operations/specs/check.ts +14 -22
- package/src/public/operations/specs/discovery.ts +57 -3
- package/src/public/operations/specs/modeling.ts +3 -3
- package/src/public/operations/specs/mutation-schemas.ts +24 -6
- package/src/public/operations/specs/mutation.ts +27 -2
- package/src/public/operations/specs/planning.ts +241 -0
- package/src/public/operations/specs/proof.ts +43 -0
- package/src/public/operations/specs/reporting.ts +193 -12
- package/src/public/operations/specs/upsert.ts +10 -0
- package/src/public/operations/symbol-repair-plan.ts +324 -0
- package/src/public/operations/types.ts +62 -1
- package/src/public/proof-fingerprint.ts +216 -0
- package/src/public/proof-protocol-types.d.ts +96 -0
- package/src/public/proof-protocol.ts +589 -0
- package/src/public/proof-receipt.ts +499 -0
- package/src/public/schemas/entity.ts +27 -6
- package/src/public/skills/kibi-bootstrap/SKILL.md +58 -0
- package/src/public/skills/kibi-bootstrap/resources/bootstrap.md +11 -0
- package/src/public/skills/kibi-bootstrap/resources/branch-lifecycle.md +7 -0
- package/src/public/skills/kibi-bootstrap/resources/operation-access.md +5 -0
- package/src/public/skills/kibi-bootstrap/resources/source-authoring.md +8 -0
- package/src/public/skills/kibi-freshness/SKILL.md +39 -9
- package/src/public/skills/kibi-freshness/resources/branch-lifecycle.md +7 -0
- package/src/public/skills/kibi-freshness/resources/operation-access.md +6 -0
- package/src/public/skills/kibi-freshness/resources/source-authoring.md +7 -0
- package/src/public/skills/kibi-traceability/SKILL.md +47 -47
- package/src/public/skills/kibi-traceability/resources/branch-lifecycle.md +7 -0
- package/src/public/skills/kibi-traceability/resources/operation-access.md +5 -0
- package/src/public/skills/kibi-traceability/resources/source-authoring.md +6 -0
- package/src/public/skills/kibi-traceability/resources/traceability.md +8 -0
- package/src/public/skills/kibi-usage/SKILL.md +136 -231
- package/src/public/skills/kibi-usage/resources/branch-lifecycle.md +31 -0
- package/src/public/skills/kibi-usage/resources/kb-improvement.md +38 -0
- package/src/public/skills/kibi-usage/resources/operation-access.md +36 -38
- package/src/public/skills/kibi-usage/resources/proof.md +105 -0
- package/src/public/skills/kibi-usage/resources/relationship-directions.md +3 -3
- package/src/public/skills/kibi-usage/resources/source-authoring.md +31 -0
- package/src/public/skills/kibi-usage/resources/workflows.md +57 -4
- package/src/public/symbol-granularity.generated.ts +41 -0
- package/src/public/symbol-granularity.ts +35 -59
- package/src/public/telemetry-acceptance-types.d.ts +98 -0
- package/src/public/telemetry-acceptance.ts +30 -93
- package/src/public/telemetry-remediation.ts +1 -1
- package/src/schemas/entity.schema.json +1254 -239
- package/templates/github/kibi-badge.yml +86 -0
- package/templates/github/kibi-report.yml +84 -0
- package/dist/operations/autopilot/activation.d.ts +0 -4
- package/dist/operations/autopilot/activation.d.ts.map +0 -1
- package/dist/operations/autopilot/candidates.d.ts +0 -4
- package/dist/operations/autopilot/discovery.d.ts.map +0 -1
- package/dist/operations/autopilot/generate.d.ts +0 -8
- package/dist/operations/autopilot/generate.d.ts.map +0 -1
- package/dist/operations/autopilot/generate.js +0 -112
- package/dist/operations/autopilot/guidance.d.ts.map +0 -1
- package/dist/operations/autopilot/presentation.d.ts +0 -13
- package/dist/operations/autopilot/presentation.d.ts.map +0 -1
- package/dist/operations/autopilot/presentation.js +0 -91
- package/dist/operations/autopilot/types.d.ts.map +0 -1
- package/dist/operations/autopilot/types.js +0 -8
- package/dist/public/operations/specs/autopilot.d.ts.map +0 -1
- package/dist/public/skills/init-kibi/SKILL.md +0 -62
- package/dist/public/verification-receipt.d.ts +0 -75
- package/dist/public/verification-receipt.d.ts.map +0 -1
- package/dist/public/verification-receipt.js +0 -129
- package/src/public/skills/init-kibi/SKILL.md +0 -62
- package/src/public/verification-receipt.ts +0 -170
- /package/dist/operations/{autopilot → bootstrap}/candidate-helpers.d.ts +0 -0
- /package/dist/operations/{autopilot → bootstrap}/candidate-helpers.js +0 -0
- /package/dist/operations/{autopilot → bootstrap}/requirement-claims.d.ts +0 -0
- /package/dist/operations/{autopilot → bootstrap}/requirement-claims.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OperationName, OperationSpec } from "./types.js";
|
|
1
|
+
import type { OperationName, OperationSpec, ResolvedOperationSpec } from "./types.js";
|
|
2
2
|
export declare const OPERATION_CATALOG: readonly [{
|
|
3
3
|
readonly name: "kb_skills_list";
|
|
4
4
|
readonly cliName: "skills list";
|
|
@@ -103,7 +103,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
103
103
|
}, {
|
|
104
104
|
readonly name: "kb_search";
|
|
105
105
|
readonly cliName: "search";
|
|
106
|
-
readonly description: "Search KB entities for discovery using
|
|
106
|
+
readonly description: "Search KB entities for discovery using legacy lexical ranking or deterministic intent-v1 ranking. Intent mode accepts host-agent semantic facets and source locations, returns evidence and abstains below its confidence threshold. Use for exploratory lookup before exact follow-up with kb_query. No mutation side effects.";
|
|
107
107
|
readonly businessInputSchema: {
|
|
108
108
|
readonly type: "object";
|
|
109
109
|
readonly required: readonly ["query"];
|
|
@@ -131,6 +131,90 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
131
131
|
readonly default: 0;
|
|
132
132
|
readonly description: "Optional zero-based pagination offset. Default: 0.";
|
|
133
133
|
};
|
|
134
|
+
readonly rankingMode: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly enum: readonly ["legacy", "intent-v1"];
|
|
137
|
+
readonly default: "legacy";
|
|
138
|
+
readonly description: "Optional deterministic ranking mode. Omit for backward-compatible lexical search; use intent-v1 for semantic facets, source-aware evidence, graph boosts, and abstention.";
|
|
139
|
+
};
|
|
140
|
+
readonly semanticFacets: {
|
|
141
|
+
readonly type: "object";
|
|
142
|
+
readonly additionalProperties: false;
|
|
143
|
+
readonly properties: {
|
|
144
|
+
readonly actors: {
|
|
145
|
+
readonly type: "array";
|
|
146
|
+
readonly items: {
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
};
|
|
149
|
+
readonly maxItems: 20;
|
|
150
|
+
};
|
|
151
|
+
readonly actions: {
|
|
152
|
+
readonly type: "array";
|
|
153
|
+
readonly items: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
};
|
|
156
|
+
readonly maxItems: 20;
|
|
157
|
+
};
|
|
158
|
+
readonly objects: {
|
|
159
|
+
readonly type: "array";
|
|
160
|
+
readonly items: {
|
|
161
|
+
readonly type: "string";
|
|
162
|
+
};
|
|
163
|
+
readonly maxItems: 20;
|
|
164
|
+
};
|
|
165
|
+
readonly constraints: {
|
|
166
|
+
readonly type: "array";
|
|
167
|
+
readonly items: {
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
};
|
|
170
|
+
readonly maxItems: 20;
|
|
171
|
+
};
|
|
172
|
+
readonly aliases: {
|
|
173
|
+
readonly type: "array";
|
|
174
|
+
readonly items: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
};
|
|
177
|
+
readonly maxItems: 20;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly description: "Optional host-agent semantic interpretation. Kibi uses these strings as deterministic aliases/facets; it does not call a model itself.";
|
|
181
|
+
};
|
|
182
|
+
readonly sourceLocations: {
|
|
183
|
+
readonly type: "array";
|
|
184
|
+
readonly maxItems: 20;
|
|
185
|
+
readonly items: {
|
|
186
|
+
readonly type: "object";
|
|
187
|
+
readonly required: readonly ["path"];
|
|
188
|
+
readonly additionalProperties: false;
|
|
189
|
+
readonly properties: {
|
|
190
|
+
readonly path: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
readonly minLength: 1;
|
|
193
|
+
readonly description: "Workspace-relative source path.";
|
|
194
|
+
};
|
|
195
|
+
readonly line: {
|
|
196
|
+
readonly type: "integer";
|
|
197
|
+
readonly minimum: 1;
|
|
198
|
+
};
|
|
199
|
+
readonly column: {
|
|
200
|
+
readonly type: "integer";
|
|
201
|
+
readonly minimum: 1;
|
|
202
|
+
};
|
|
203
|
+
readonly symbol: {
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly minLength: 1;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
readonly description: "Optional changed-code locations. Results are matched to source-linked symbols/entities and include source evidence.";
|
|
210
|
+
};
|
|
211
|
+
readonly minScore: {
|
|
212
|
+
readonly type: "number";
|
|
213
|
+
readonly minimum: 0;
|
|
214
|
+
readonly maximum: 1;
|
|
215
|
+
readonly default: 0.18;
|
|
216
|
+
readonly description: "Intent-v1 acceptance threshold between 0 and 1. Low-confidence queries abstain instead of returning misleading matches.";
|
|
217
|
+
};
|
|
134
218
|
};
|
|
135
219
|
};
|
|
136
220
|
readonly requiresProlog: true;
|
|
@@ -139,12 +223,12 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
139
223
|
}, {
|
|
140
224
|
readonly name: "kb_status";
|
|
141
225
|
readonly cliName: "status";
|
|
142
|
-
readonly description: "Report current branch, KB snapshot
|
|
226
|
+
readonly description: "Report current branch, KB snapshot, freshness metadata, schema status, and a typed kibi.migration-plan.v2 action graph. Read-only status inspection with no mutation side effects; damaged stores are diagnosed without starting the engine.";
|
|
143
227
|
readonly businessInputSchema: {
|
|
144
228
|
readonly type: "object";
|
|
145
229
|
readonly properties: {};
|
|
146
230
|
};
|
|
147
|
-
readonly requiresProlog:
|
|
231
|
+
readonly requiresProlog: false;
|
|
148
232
|
readonly effects: readonly ["kb-read", "workspace-read"];
|
|
149
233
|
readonly execute: typeof import("./discovery-executors.js").executeStatus;
|
|
150
234
|
}, {
|
|
@@ -195,7 +279,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
195
279
|
}, {
|
|
196
280
|
readonly name: "kb_coverage";
|
|
197
281
|
readonly cliName: "coverage";
|
|
198
|
-
readonly description: "Generate curated structural coverage and conservative end-to-end requirement proof reports for requirements, symbols, or grouped types.
|
|
282
|
+
readonly description: "Generate curated structural coverage and conservative end-to-end requirement proof reports for requirements, symbols, or grouped types. Reports include the compatible repair plan plus typed kibi.migration-plan.v2 actions; semantic and E2E actions remain review/execution work. Paginated plans identify incomplete scope and no mutation occurs.";
|
|
199
283
|
readonly businessInputSchema: {
|
|
200
284
|
readonly type: "object";
|
|
201
285
|
readonly properties: {
|
|
@@ -214,6 +298,14 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
214
298
|
readonly type: "boolean";
|
|
215
299
|
readonly default: false;
|
|
216
300
|
};
|
|
301
|
+
readonly statuses: {
|
|
302
|
+
readonly type: "array";
|
|
303
|
+
readonly items: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
readonly enum: readonly ["proven", "missing", "unresolved", "not_applicable"];
|
|
306
|
+
};
|
|
307
|
+
readonly description: "Requirement proof-status filter (req mode): include only rows whose proofStatus is listed. Selecting statuses implies include-passing; not_applicable rows carry their typed applicability reason in proofStages.applicability.reason. The summary always reflects the whole KB.";
|
|
308
|
+
};
|
|
217
309
|
readonly includeTransitive: {
|
|
218
310
|
readonly type: "boolean";
|
|
219
311
|
readonly default: true;
|
|
@@ -401,7 +493,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
401
493
|
};
|
|
402
494
|
readonly source: {
|
|
403
495
|
readonly type: "string";
|
|
404
|
-
readonly description: "Optional primary source path or provenance root used for stable IDs and text refs. Example: '
|
|
496
|
+
readonly description: "Optional primary source path or provenance root used for stable IDs and text refs. Example: '.kb/requirements/customer-retention.md'.";
|
|
405
497
|
};
|
|
406
498
|
readonly sourceFiles: {
|
|
407
499
|
readonly type: "array";
|
|
@@ -435,7 +527,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
435
527
|
};
|
|
436
528
|
readonly provenance: {
|
|
437
529
|
readonly type: "string";
|
|
438
|
-
readonly description: "Optional extracted text reference. Falls back to source when omitted. Example: '
|
|
530
|
+
readonly description: "Optional extracted text reference. Falls back to source when omitted. Example: '.kb/requirements/customer-retention.md#L1'.";
|
|
439
531
|
};
|
|
440
532
|
readonly existingLogicClaims: {
|
|
441
533
|
readonly type: "array";
|
|
@@ -470,7 +562,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
470
562
|
}, {
|
|
471
563
|
readonly name: "kb_suggest_predicates";
|
|
472
564
|
readonly cliName: "suggest-predicates";
|
|
473
|
-
readonly description: "Suggest ontology predicate schemas for prose requirements before agents write facts. Read-only guidance returns
|
|
565
|
+
readonly description: "Suggest ontology predicate schemas for prose requirements before agents write facts. Retrieval/ranking is followed by a semantic applicability gate and conservative binding review; complete-looking generic placeholders never trigger application. Read-only guidance returns additive candidate diagnostics, an applicable predicate-fact plan only for a semantically eligible candidate with reviewed bindings, or an explicit ontology-gap observation plus a deterministic review-only predicate schema draft when no schema fits.";
|
|
474
566
|
readonly businessInputSchema: {
|
|
475
567
|
readonly type: "object";
|
|
476
568
|
readonly required: readonly ["text"];
|
|
@@ -543,9 +635,9 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
543
635
|
readonly effects: readonly ["kb-read"];
|
|
544
636
|
readonly execute: typeof import("../../operations/modeling/suggest-predicates.js").executeSuggestPredicates;
|
|
545
637
|
}, {
|
|
546
|
-
readonly name: "
|
|
547
|
-
readonly cliName: "
|
|
548
|
-
readonly description: "Generate
|
|
638
|
+
readonly name: "kb_plan_bootstrap";
|
|
639
|
+
readonly cliName: "plan-bootstrap";
|
|
640
|
+
readonly description: "Generate a deterministic, snapshot-bound kibi.bootstrap-plan.v1 for repository onboarding. Read-only analysis returns evidence, bounded context questions, exact dependency-ordered actions, a canonical plan hash, and no mutation side effects.";
|
|
549
641
|
readonly businessInputSchema: {
|
|
550
642
|
readonly type: "object";
|
|
551
643
|
readonly properties: {
|
|
@@ -618,7 +710,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
618
710
|
};
|
|
619
711
|
readonly requiresProlog: false;
|
|
620
712
|
readonly effects: readonly ["workspace-read"];
|
|
621
|
-
readonly execute: typeof import("./index.js").
|
|
713
|
+
readonly execute: typeof import("./index.js").executePlanBootstrap;
|
|
622
714
|
}, {
|
|
623
715
|
readonly name: "kb_validate_upsert";
|
|
624
716
|
readonly cliName: "validate-upsert";
|
|
@@ -756,7 +848,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
756
848
|
};
|
|
757
849
|
readonly granularity_reason: {
|
|
758
850
|
readonly type: "string";
|
|
759
|
-
readonly enum: readonly ["config-artifact", "module-level-behavior", "extractor-miss", "legacy-link"];
|
|
851
|
+
readonly enum: readonly ["config-artifact", "module-level-behavior", "extractor-miss", "legacy-link", "test-suite"];
|
|
760
852
|
readonly description: "Optional justification for a coarse file/module-level symbol traceability relationship when narrower function/class/type symbols exist.";
|
|
761
853
|
};
|
|
762
854
|
readonly symbol_role: {
|
|
@@ -774,30 +866,101 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
774
866
|
readonly enum: readonly ["internal", "consumer"];
|
|
775
867
|
readonly description: "Optional typed verification perspective for test entities. Example: 'consumer'.";
|
|
776
868
|
};
|
|
777
|
-
readonly
|
|
869
|
+
readonly proof_contract: {
|
|
870
|
+
readonly description: "Semantic proof contract binding this test to explicit proof obligations executed by one configured integration.";
|
|
871
|
+
readonly type: "object";
|
|
872
|
+
readonly required: readonly ["version", "integration", "required_proofs", "success_policy"];
|
|
873
|
+
readonly properties: {
|
|
874
|
+
readonly version: {
|
|
875
|
+
readonly type: "string";
|
|
876
|
+
readonly const: "kibi.proof-contract.v1";
|
|
877
|
+
};
|
|
878
|
+
readonly integration: {
|
|
879
|
+
readonly type: "string";
|
|
880
|
+
readonly minLength: 1;
|
|
881
|
+
};
|
|
882
|
+
readonly required_proofs: {
|
|
883
|
+
readonly type: "array";
|
|
884
|
+
readonly minItems: 1;
|
|
885
|
+
readonly maxItems: 1000;
|
|
886
|
+
readonly items: {
|
|
887
|
+
readonly type: "object";
|
|
888
|
+
readonly required: readonly ["symbol_id", "target"];
|
|
889
|
+
readonly properties: {
|
|
890
|
+
readonly symbol_id: {
|
|
891
|
+
readonly type: "string";
|
|
892
|
+
readonly minLength: 1;
|
|
893
|
+
};
|
|
894
|
+
readonly target: {
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
readonly minLength: 1;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
readonly additionalProperties: false;
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
readonly success_policy: {
|
|
903
|
+
readonly type: "string";
|
|
904
|
+
readonly enum: readonly ["all_required_first_attempt"];
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
readonly additionalProperties: false;
|
|
908
|
+
};
|
|
909
|
+
readonly proof_bindings: {
|
|
910
|
+
readonly description: "Optional native-runner bindings (native ids, aliases, source coordinates) for proof obligations. Bindings are provenance metadata and never replace the semantic contract.";
|
|
778
911
|
readonly type: "array";
|
|
779
|
-
readonly maxItems: 50;
|
|
780
912
|
readonly items: {
|
|
781
913
|
readonly type: "object";
|
|
782
|
-
readonly required: readonly ["
|
|
914
|
+
readonly required: readonly ["symbol_id", "target"];
|
|
783
915
|
readonly properties: {
|
|
784
|
-
readonly
|
|
916
|
+
readonly symbol_id: {
|
|
785
917
|
readonly type: "string";
|
|
786
|
-
readonly
|
|
918
|
+
readonly minLength: 1;
|
|
787
919
|
};
|
|
788
|
-
readonly
|
|
920
|
+
readonly target: {
|
|
789
921
|
readonly type: "string";
|
|
790
|
-
readonly
|
|
922
|
+
readonly minLength: 1;
|
|
791
923
|
};
|
|
792
|
-
readonly
|
|
924
|
+
readonly native_id: {
|
|
793
925
|
readonly type: "string";
|
|
794
926
|
readonly minLength: 1;
|
|
795
927
|
};
|
|
796
|
-
readonly
|
|
928
|
+
readonly aliases: {
|
|
929
|
+
readonly type: "array";
|
|
930
|
+
readonly items: {
|
|
931
|
+
readonly type: "string";
|
|
932
|
+
readonly minLength: 1;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
readonly source_file: {
|
|
797
936
|
readonly type: "string";
|
|
798
937
|
readonly minLength: 1;
|
|
799
938
|
};
|
|
800
|
-
readonly
|
|
939
|
+
readonly line: {
|
|
940
|
+
readonly type: "integer";
|
|
941
|
+
readonly minimum: 1;
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
readonly additionalProperties: false;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
readonly proof_receipts: {
|
|
948
|
+
readonly type: "array";
|
|
949
|
+
readonly maxItems: 50;
|
|
950
|
+
readonly items: {
|
|
951
|
+
readonly type: "object";
|
|
952
|
+
readonly description: "Kibi-derived kibi.proof-receipt.v1. Receipts are never caller-authored; kb_ingest_proof derives them from kibi.proof-run.v1 artifacts.";
|
|
953
|
+
readonly required: readonly ["version", "receipt_id", "test_id", "scope", "outcome", "code_snapshot", "environment_hash", "started_at", "finished_at", "artifact_digest", "contract_hash", "fingerprint", "fingerprint_components", "integration_id", "producer", "command_argv", "run_outcome", "proof_results"];
|
|
954
|
+
readonly properties: {
|
|
955
|
+
readonly version: {
|
|
956
|
+
readonly type: "string";
|
|
957
|
+
readonly const: "kibi.proof-receipt.v1";
|
|
958
|
+
};
|
|
959
|
+
readonly receipt_id: {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
readonly pattern: "^PR-[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$";
|
|
962
|
+
};
|
|
963
|
+
readonly test_id: {
|
|
801
964
|
readonly type: "string";
|
|
802
965
|
readonly minLength: 1;
|
|
803
966
|
};
|
|
@@ -807,7 +970,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
807
970
|
};
|
|
808
971
|
readonly outcome: {
|
|
809
972
|
readonly type: "string";
|
|
810
|
-
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "skipped"];
|
|
973
|
+
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "skipped", "timed_out", "interrupted"];
|
|
811
974
|
};
|
|
812
975
|
readonly code_snapshot: {
|
|
813
976
|
readonly type: "string";
|
|
@@ -829,10 +992,176 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
829
992
|
readonly type: "string";
|
|
830
993
|
readonly pattern: "^[a-f0-9]{64}$";
|
|
831
994
|
};
|
|
995
|
+
readonly contract_hash: {
|
|
996
|
+
readonly type: "string";
|
|
997
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
998
|
+
};
|
|
999
|
+
readonly binding_hash: {
|
|
1000
|
+
readonly type: "string";
|
|
1001
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1002
|
+
};
|
|
1003
|
+
readonly fingerprint: {
|
|
1004
|
+
readonly type: "string";
|
|
1005
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1006
|
+
};
|
|
1007
|
+
readonly fingerprint_components: {
|
|
1008
|
+
readonly type: "object";
|
|
1009
|
+
readonly required: readonly ["contract", "integration", "command", "bindings", "producer"];
|
|
1010
|
+
readonly additionalProperties: false;
|
|
1011
|
+
readonly properties: {
|
|
1012
|
+
readonly contract: {
|
|
1013
|
+
readonly type: "string";
|
|
1014
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1015
|
+
};
|
|
1016
|
+
readonly integration: {
|
|
1017
|
+
readonly type: "string";
|
|
1018
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1019
|
+
};
|
|
1020
|
+
readonly command: {
|
|
1021
|
+
readonly type: "string";
|
|
1022
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1023
|
+
};
|
|
1024
|
+
readonly bindings: {
|
|
1025
|
+
readonly type: "string";
|
|
1026
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1027
|
+
};
|
|
1028
|
+
readonly producer: {
|
|
1029
|
+
readonly type: "string";
|
|
1030
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
readonly integration_id: {
|
|
1035
|
+
readonly type: "string";
|
|
1036
|
+
readonly minLength: 1;
|
|
1037
|
+
};
|
|
1038
|
+
readonly producer: {
|
|
1039
|
+
readonly type: "object";
|
|
1040
|
+
readonly required: readonly ["name"];
|
|
1041
|
+
readonly properties: {
|
|
1042
|
+
readonly name: {
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
readonly minLength: 1;
|
|
1045
|
+
};
|
|
1046
|
+
readonly version: {
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
readonly minLength: 1;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
readonly additionalProperties: false;
|
|
1052
|
+
};
|
|
1053
|
+
readonly command_argv: {
|
|
1054
|
+
readonly type: "array";
|
|
1055
|
+
readonly minItems: 1;
|
|
1056
|
+
readonly items: {
|
|
1057
|
+
readonly type: "string";
|
|
1058
|
+
readonly minLength: 1;
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
readonly run_outcome: {
|
|
1062
|
+
readonly type: "string";
|
|
1063
|
+
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "timed_out", "interrupted", "no_results"];
|
|
1064
|
+
};
|
|
1065
|
+
readonly proof_results: {
|
|
1066
|
+
readonly type: "array";
|
|
1067
|
+
readonly minItems: 0;
|
|
1068
|
+
readonly maxItems: 1000;
|
|
1069
|
+
readonly items: {
|
|
1070
|
+
readonly type: "object";
|
|
1071
|
+
readonly required: readonly ["symbol_id", "target", "outcome", "binding", "attempts"];
|
|
1072
|
+
readonly properties: {
|
|
1073
|
+
readonly symbol_id: {
|
|
1074
|
+
readonly type: "string";
|
|
1075
|
+
readonly minLength: 1;
|
|
1076
|
+
};
|
|
1077
|
+
readonly target: {
|
|
1078
|
+
readonly type: "string";
|
|
1079
|
+
readonly minLength: 1;
|
|
1080
|
+
};
|
|
1081
|
+
readonly outcome: {
|
|
1082
|
+
readonly type: "string";
|
|
1083
|
+
readonly enum: readonly ["passed", "failed", "timed_out", "skipped", "interrupted", "errored"];
|
|
1084
|
+
};
|
|
1085
|
+
readonly binding: {
|
|
1086
|
+
readonly type: "string";
|
|
1087
|
+
readonly enum: readonly ["native_case", "aggregate_run"];
|
|
1088
|
+
};
|
|
1089
|
+
readonly native_id: {
|
|
1090
|
+
readonly type: "string";
|
|
1091
|
+
readonly minLength: 1;
|
|
1092
|
+
};
|
|
1093
|
+
readonly attempts: {
|
|
1094
|
+
readonly oneOf: readonly [{
|
|
1095
|
+
readonly type: "object";
|
|
1096
|
+
readonly required: readonly ["status", "entries"];
|
|
1097
|
+
readonly properties: {
|
|
1098
|
+
readonly status: {
|
|
1099
|
+
readonly type: "string";
|
|
1100
|
+
readonly const: "complete";
|
|
1101
|
+
};
|
|
1102
|
+
readonly entries: {
|
|
1103
|
+
readonly type: "array";
|
|
1104
|
+
readonly minItems: 1;
|
|
1105
|
+
readonly items: {
|
|
1106
|
+
readonly type: "object";
|
|
1107
|
+
readonly required: readonly ["outcome"];
|
|
1108
|
+
readonly properties: {
|
|
1109
|
+
readonly outcome: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
readonly enum: readonly ["passed", "failed", "timed_out", "skipped", "interrupted", "errored"];
|
|
1112
|
+
};
|
|
1113
|
+
readonly duration_ms: {
|
|
1114
|
+
readonly type: "number";
|
|
1115
|
+
readonly minimum: 0;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
readonly additionalProperties: false;
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
readonly additionalProperties: false;
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly type: "object";
|
|
1125
|
+
readonly required: readonly ["status"];
|
|
1126
|
+
readonly properties: {
|
|
1127
|
+
readonly status: {
|
|
1128
|
+
readonly type: "string";
|
|
1129
|
+
readonly const: "unavailable";
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
readonly additionalProperties: false;
|
|
1133
|
+
}];
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
readonly additionalProperties: false;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
readonly gaps: {
|
|
1140
|
+
readonly type: "array";
|
|
1141
|
+
readonly items: {
|
|
1142
|
+
readonly type: "object";
|
|
1143
|
+
readonly required: readonly ["symbol_id", "target", "reason"];
|
|
1144
|
+
readonly properties: {
|
|
1145
|
+
readonly symbol_id: {
|
|
1146
|
+
readonly type: "string";
|
|
1147
|
+
readonly minLength: 1;
|
|
1148
|
+
};
|
|
1149
|
+
readonly target: {
|
|
1150
|
+
readonly type: "string";
|
|
1151
|
+
readonly minLength: 1;
|
|
1152
|
+
};
|
|
1153
|
+
readonly reason: {
|
|
1154
|
+
readonly type: "string";
|
|
1155
|
+
readonly minLength: 1;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
readonly additionalProperties: false;
|
|
1159
|
+
};
|
|
1160
|
+
};
|
|
832
1161
|
};
|
|
833
1162
|
readonly additionalProperties: false;
|
|
834
1163
|
};
|
|
835
|
-
readonly description: "Append-only
|
|
1164
|
+
readonly description: "Append-only proof evidence. Proof accepts only the newest valid passed receipt bound to the current code snapshot, current contract hash, and effective execution fingerprint within the seven-day freshness window. Ingest rotates the oldest entries at the cap.";
|
|
836
1165
|
};
|
|
837
1166
|
readonly fact_kind: {
|
|
838
1167
|
readonly type: "string";
|
|
@@ -996,7 +1325,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
996
1325
|
};
|
|
997
1326
|
readonly allOf: readonly [Record<string, unknown>, {
|
|
998
1327
|
readonly if: {
|
|
999
|
-
readonly required: readonly ["
|
|
1328
|
+
readonly required: readonly ["proof_receipts"];
|
|
1000
1329
|
};
|
|
1001
1330
|
readonly then: {
|
|
1002
1331
|
readonly required: readonly ["verification_scope"];
|
|
@@ -1027,6 +1356,20 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1027
1356
|
};
|
|
1028
1357
|
};
|
|
1029
1358
|
};
|
|
1359
|
+
readonly document: {
|
|
1360
|
+
readonly type: "object";
|
|
1361
|
+
readonly additionalProperties: false;
|
|
1362
|
+
readonly description: "Optional source-first document write. Paths are workspace-relative; omit body when updating to preserve the existing body bytes.";
|
|
1363
|
+
readonly properties: {
|
|
1364
|
+
readonly path: {
|
|
1365
|
+
readonly type: "string";
|
|
1366
|
+
readonly minLength: 1;
|
|
1367
|
+
};
|
|
1368
|
+
readonly body: {
|
|
1369
|
+
readonly type: "string";
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1030
1373
|
};
|
|
1031
1374
|
};
|
|
1032
1375
|
readonly requiresProlog: true;
|
|
@@ -1038,14 +1381,54 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1038
1381
|
readonly description: "Delete entities by ID. Use only for intentional removals after dependency checks. Do not use as a bulk cleanup shortcut. Side effects: mutates and saves KB; skips entities with dependents.";
|
|
1039
1382
|
readonly businessInputSchema: {
|
|
1040
1383
|
readonly type: "object";
|
|
1041
|
-
readonly
|
|
1384
|
+
readonly oneOf: readonly [{
|
|
1385
|
+
readonly required: readonly ["ids"];
|
|
1386
|
+
readonly not: {
|
|
1387
|
+
readonly required: readonly ["relationships"];
|
|
1388
|
+
};
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly required: readonly ["relationships"];
|
|
1391
|
+
readonly not: {
|
|
1392
|
+
readonly required: readonly ["ids"];
|
|
1393
|
+
};
|
|
1394
|
+
}];
|
|
1042
1395
|
readonly properties: {
|
|
1043
1396
|
readonly ids: {
|
|
1044
1397
|
readonly type: "array";
|
|
1045
1398
|
readonly items: {
|
|
1046
1399
|
readonly type: "string";
|
|
1047
1400
|
};
|
|
1048
|
-
readonly
|
|
1401
|
+
readonly minItems: 1;
|
|
1402
|
+
readonly description: "Entity IDs to delete after dependency checks.";
|
|
1403
|
+
};
|
|
1404
|
+
readonly relationships: {
|
|
1405
|
+
readonly type: "array";
|
|
1406
|
+
readonly minItems: 1;
|
|
1407
|
+
readonly items: {
|
|
1408
|
+
readonly type: "object";
|
|
1409
|
+
readonly required: readonly ["type", "from", "to"];
|
|
1410
|
+
readonly additionalProperties: false;
|
|
1411
|
+
readonly properties: {
|
|
1412
|
+
readonly type: {
|
|
1413
|
+
readonly type: "string";
|
|
1414
|
+
readonly minLength: 1;
|
|
1415
|
+
};
|
|
1416
|
+
readonly from: {
|
|
1417
|
+
readonly type: "string";
|
|
1418
|
+
readonly minLength: 1;
|
|
1419
|
+
};
|
|
1420
|
+
readonly to: {
|
|
1421
|
+
readonly type: "string";
|
|
1422
|
+
readonly minLength: 1;
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
readonly description: "Exact relationship triples to retract, including legacy shard records.";
|
|
1427
|
+
};
|
|
1428
|
+
readonly approvedPlanHash: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1431
|
+
readonly description: "Exact hash returned by a prior authored-entity deletion plan.";
|
|
1049
1432
|
};
|
|
1050
1433
|
};
|
|
1051
1434
|
};
|
|
@@ -1055,7 +1438,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1055
1438
|
}, {
|
|
1056
1439
|
readonly name: "kb_check";
|
|
1057
1440
|
readonly cliName: "check";
|
|
1058
|
-
readonly description: "Run KB validation rules and return violations
|
|
1441
|
+
readonly description: "Run KB validation rules and return violations, quality diagnostics, and typed kibi.migration-plan.v2 actions. Use before or after mutations and after source edits; checks remain read-only and never infer or apply actions from prose suggestions.";
|
|
1059
1442
|
readonly businessInputSchema: {
|
|
1060
1443
|
readonly type: "object";
|
|
1061
1444
|
readonly properties: {
|
|
@@ -1063,9 +1446,9 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1063
1446
|
readonly type: "array";
|
|
1064
1447
|
readonly items: {
|
|
1065
1448
|
readonly type: "string";
|
|
1066
|
-
readonly enum: readonly [
|
|
1449
|
+
readonly enum: readonly string[];
|
|
1067
1450
|
};
|
|
1068
|
-
readonly description: "Optional rule subset. Allowed: must-priority-coverage, symbol-coverage, symbol-traceability, no-dangling-refs, no-cycles, required-fields, deprecated-adr-no-successor, domain-contradictions, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability,
|
|
1451
|
+
readonly description: "Optional rule subset. Allowed: must-priority-coverage, symbol-coverage, symbol-traceability, no-dangling-refs, source-relationship-parity, no-cycles, required-fields, deprecated-adr-no-successor, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness. If omitted, server runs canonical and advisory rules plus the full-KB qualityDiagnostics audit scan, including usage telemetry acceptance when evidence exists; migration rules run only when explicitly selected. Advisory and migration findings are non-blocking qualityDiagnostics. If supplied, server preserves scoped validation and skips the full-KB advisory scan.";
|
|
1069
1452
|
};
|
|
1070
1453
|
readonly sourceFiles: {
|
|
1071
1454
|
readonly type: "array";
|
|
@@ -1093,7 +1476,12 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1093
1476
|
};
|
|
1094
1477
|
readonly workspaceRoot: {
|
|
1095
1478
|
readonly type: "string";
|
|
1096
|
-
readonly description: "Optional workspace root for impact diagnostics
|
|
1479
|
+
readonly description: "Optional workspace root for impact diagnostics. Defaults to the MCP server workspace.";
|
|
1480
|
+
};
|
|
1481
|
+
readonly async: {
|
|
1482
|
+
readonly type: "boolean";
|
|
1483
|
+
readonly default: false;
|
|
1484
|
+
readonly description: "When true, start the check as a background job and return a kibi.job.v1 receipt immediately instead of holding the request until the tool timeout. Poll kb_job_status with the returned jobId. Use for full checks on large KBs that exceed the configured tool timeout.";
|
|
1097
1485
|
};
|
|
1098
1486
|
};
|
|
1099
1487
|
};
|
|
@@ -1125,7 +1513,485 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1125
1513
|
readonly requiresProlog: false;
|
|
1126
1514
|
readonly effects: readonly ["network-read"];
|
|
1127
1515
|
readonly execute: (input: import("./index.js").SparqlRemoteInput, context: import("./runtime-types.js").OperationContext) => Promise<import("./types.js").OperationResult<import("./index.js").SparqlRemoteOutput>>;
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly name: "kb_compile_intent";
|
|
1518
|
+
readonly cliName: "compile-intent";
|
|
1519
|
+
readonly description: "Compile complete change intent into a deterministic, snapshot-bound read-only plan. Reuses intent-aware discovery and semantic modeling, accounts for every proposition, reports contradiction witnesses, proposes traceability links, and emits dependency-ordered kb_upsert-style steps only for resolved typed claims. No mutation side effects.";
|
|
1520
|
+
readonly businessInputSchema: {
|
|
1521
|
+
readonly type: "object";
|
|
1522
|
+
readonly required: readonly ["intent", "mode"];
|
|
1523
|
+
readonly properties: {
|
|
1524
|
+
readonly intent: {
|
|
1525
|
+
readonly type: "string";
|
|
1526
|
+
readonly minLength: 1;
|
|
1527
|
+
readonly maxLength: 10000;
|
|
1528
|
+
readonly description: "Complete post-change normative intent. Send the desired behavior, not a patch fragment.";
|
|
1529
|
+
};
|
|
1530
|
+
readonly mode: {
|
|
1531
|
+
readonly type: "string";
|
|
1532
|
+
readonly enum: readonly ["create", "update"];
|
|
1533
|
+
readonly description: "Create a new requirement or update an existing one. Update auto-selection is allowed only with a high-confidence, well-separated candidate.";
|
|
1534
|
+
};
|
|
1535
|
+
readonly requirementId: {
|
|
1536
|
+
readonly type: "string";
|
|
1537
|
+
readonly description: "Optional exact requirement ID. Required for an update when automatic selection is below the confidence and margin gates.";
|
|
1538
|
+
};
|
|
1539
|
+
readonly title: {
|
|
1540
|
+
readonly type: "string";
|
|
1541
|
+
readonly description: "Optional requirement title; existing title is preserved for updates when omitted.";
|
|
1542
|
+
};
|
|
1543
|
+
readonly clauses: {
|
|
1544
|
+
readonly type: "array";
|
|
1545
|
+
readonly items: {
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
readonly minLength: 1;
|
|
1548
|
+
};
|
|
1549
|
+
readonly maxItems: 64;
|
|
1550
|
+
readonly description: "Optional complete atomic clause decomposition. Each assertive clause receives independent proposition accounting.";
|
|
1551
|
+
};
|
|
1552
|
+
readonly semanticFacets: {
|
|
1553
|
+
readonly type: "object";
|
|
1554
|
+
readonly additionalProperties: false;
|
|
1555
|
+
readonly properties: {
|
|
1556
|
+
readonly actors: {
|
|
1557
|
+
readonly type: "array";
|
|
1558
|
+
readonly items: {
|
|
1559
|
+
readonly type: "string";
|
|
1560
|
+
};
|
|
1561
|
+
readonly maxItems: 20;
|
|
1562
|
+
};
|
|
1563
|
+
readonly actions: {
|
|
1564
|
+
readonly type: "array";
|
|
1565
|
+
readonly items: {
|
|
1566
|
+
readonly type: "string";
|
|
1567
|
+
};
|
|
1568
|
+
readonly maxItems: 20;
|
|
1569
|
+
};
|
|
1570
|
+
readonly objects: {
|
|
1571
|
+
readonly type: "array";
|
|
1572
|
+
readonly items: {
|
|
1573
|
+
readonly type: "string";
|
|
1574
|
+
};
|
|
1575
|
+
readonly maxItems: 20;
|
|
1576
|
+
};
|
|
1577
|
+
readonly constraints: {
|
|
1578
|
+
readonly type: "array";
|
|
1579
|
+
readonly items: {
|
|
1580
|
+
readonly type: "string";
|
|
1581
|
+
};
|
|
1582
|
+
readonly maxItems: 20;
|
|
1583
|
+
};
|
|
1584
|
+
readonly aliases: {
|
|
1585
|
+
readonly type: "array";
|
|
1586
|
+
readonly items: {
|
|
1587
|
+
readonly type: "string";
|
|
1588
|
+
};
|
|
1589
|
+
readonly maxItems: 20;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
readonly description: "Host-agent facets forwarded to deterministic intent-v1 discovery.";
|
|
1593
|
+
};
|
|
1594
|
+
readonly sourceLocations: {
|
|
1595
|
+
readonly type: "array";
|
|
1596
|
+
readonly maxItems: 20;
|
|
1597
|
+
readonly items: {
|
|
1598
|
+
readonly type: "object";
|
|
1599
|
+
readonly required: readonly ["path"];
|
|
1600
|
+
readonly additionalProperties: false;
|
|
1601
|
+
readonly properties: {
|
|
1602
|
+
readonly path: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly minLength: 1;
|
|
1605
|
+
};
|
|
1606
|
+
readonly line: {
|
|
1607
|
+
readonly type: "integer";
|
|
1608
|
+
readonly minimum: 1;
|
|
1609
|
+
};
|
|
1610
|
+
readonly column: {
|
|
1611
|
+
readonly type: "integer";
|
|
1612
|
+
readonly minimum: 1;
|
|
1613
|
+
};
|
|
1614
|
+
readonly symbol: {
|
|
1615
|
+
readonly type: "string";
|
|
1616
|
+
readonly minLength: 1;
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
readonly description: "Workspace-relative source coordinates used for discovery and before-hash binding.";
|
|
1621
|
+
};
|
|
1622
|
+
readonly interpretations: {
|
|
1623
|
+
readonly type: "array";
|
|
1624
|
+
readonly maxItems: 3;
|
|
1625
|
+
readonly items: {
|
|
1626
|
+
readonly type: "object";
|
|
1627
|
+
readonly required: readonly ["claim_key", "claim_text", "ir"];
|
|
1628
|
+
readonly properties: {
|
|
1629
|
+
readonly claim_key: {
|
|
1630
|
+
readonly type: "string";
|
|
1631
|
+
};
|
|
1632
|
+
readonly claim_text: {
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
};
|
|
1635
|
+
readonly confidence: {
|
|
1636
|
+
readonly type: "number";
|
|
1637
|
+
readonly minimum: 0;
|
|
1638
|
+
readonly maximum: 1;
|
|
1639
|
+
};
|
|
1640
|
+
readonly span: {
|
|
1641
|
+
readonly type: "object";
|
|
1642
|
+
};
|
|
1643
|
+
readonly ir: {
|
|
1644
|
+
readonly type: "object";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
readonly description: "Optional host-supplied typed kibi.logic.v1 interpretations; Kibi validates them before including rule steps.";
|
|
1649
|
+
};
|
|
1650
|
+
readonly scenarioDrafts: {
|
|
1651
|
+
readonly type: "array";
|
|
1652
|
+
readonly maxItems: 20;
|
|
1653
|
+
readonly items: {
|
|
1654
|
+
readonly type: "object";
|
|
1655
|
+
readonly required: readonly ["title", "body"];
|
|
1656
|
+
readonly properties: {
|
|
1657
|
+
readonly id: {
|
|
1658
|
+
readonly type: "string";
|
|
1659
|
+
};
|
|
1660
|
+
readonly title: {
|
|
1661
|
+
readonly type: "string";
|
|
1662
|
+
readonly minLength: 1;
|
|
1663
|
+
};
|
|
1664
|
+
readonly body: {
|
|
1665
|
+
readonly type: "string";
|
|
1666
|
+
readonly minLength: 1;
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
};
|
|
1670
|
+
readonly description: "Optional scenario drafts. Each is linked requirement -> scenario with specified_by.";
|
|
1671
|
+
};
|
|
1672
|
+
readonly testDrafts: {
|
|
1673
|
+
readonly type: "array";
|
|
1674
|
+
readonly maxItems: 20;
|
|
1675
|
+
readonly items: {
|
|
1676
|
+
readonly type: "object";
|
|
1677
|
+
readonly required: readonly ["title", "body"];
|
|
1678
|
+
readonly properties: {
|
|
1679
|
+
readonly id: {
|
|
1680
|
+
readonly type: "string";
|
|
1681
|
+
};
|
|
1682
|
+
readonly title: {
|
|
1683
|
+
readonly type: "string";
|
|
1684
|
+
readonly minLength: 1;
|
|
1685
|
+
};
|
|
1686
|
+
readonly body: {
|
|
1687
|
+
readonly type: "string";
|
|
1688
|
+
readonly minLength: 1;
|
|
1689
|
+
};
|
|
1690
|
+
readonly scenarioIds: {
|
|
1691
|
+
readonly type: "array";
|
|
1692
|
+
readonly items: {
|
|
1693
|
+
readonly type: "string";
|
|
1694
|
+
readonly minLength: 1;
|
|
1695
|
+
};
|
|
1696
|
+
readonly maxItems: 20;
|
|
1697
|
+
readonly description: "Stable scenario draft IDs verified by this test. Required when multiple scenario drafts are supplied.";
|
|
1698
|
+
};
|
|
1699
|
+
readonly verificationScope: {
|
|
1700
|
+
readonly type: "string";
|
|
1701
|
+
readonly enum: readonly ["unit", "integration", "end_to_end"];
|
|
1702
|
+
};
|
|
1703
|
+
readonly verificationPerspective: {
|
|
1704
|
+
readonly type: "string";
|
|
1705
|
+
readonly enum: readonly ["internal", "consumer"];
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
};
|
|
1709
|
+
readonly description: "Optional test drafts. Tests are attached to scenarios with verified_by; direct req -> test proof links are not emitted.";
|
|
1710
|
+
};
|
|
1711
|
+
readonly proposalDecisions: {
|
|
1712
|
+
readonly type: "array";
|
|
1713
|
+
readonly maxItems: 20;
|
|
1714
|
+
readonly items: {
|
|
1715
|
+
readonly type: "object";
|
|
1716
|
+
readonly required: readonly ["proposalId", "decision"];
|
|
1717
|
+
readonly properties: {
|
|
1718
|
+
readonly proposalId: {
|
|
1719
|
+
readonly type: "string";
|
|
1720
|
+
readonly minLength: 1;
|
|
1721
|
+
};
|
|
1722
|
+
readonly decision: {
|
|
1723
|
+
readonly type: "string";
|
|
1724
|
+
readonly enum: readonly ["accept", "reject"];
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
readonly description: "Explicit decisions for deterministic traceability proposals. Pending proposals never enter steps.";
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
readonly requiresProlog: true;
|
|
1733
|
+
readonly effects: readonly ["kb-read", "workspace-read"];
|
|
1734
|
+
readonly execute: typeof import("./index.js").executeCompileIntent;
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly name: "kb_apply_plan";
|
|
1737
|
+
readonly cliName: "apply-plan";
|
|
1738
|
+
readonly description: "Apply an explicitly approved kibi.bootstrap-plan.v1, kibi.compile-plan.v1, kibi.migration-plan.v2, or entity-deletion plan after revalidating its canonical hash and live snapshots. Bootstrap actions are dependency-ordered, sequential, source-first, and recoverable from a typed journal.";
|
|
1739
|
+
readonly businessInputSchema: {
|
|
1740
|
+
readonly type: "object";
|
|
1741
|
+
readonly oneOf: readonly [{
|
|
1742
|
+
readonly required: readonly ["plan", "approvedPlanHash"];
|
|
1743
|
+
readonly not: {
|
|
1744
|
+
readonly required: readonly ["recoveryJournalId"];
|
|
1745
|
+
};
|
|
1746
|
+
}, {
|
|
1747
|
+
readonly required: readonly ["recoveryJournalId"];
|
|
1748
|
+
readonly not: {
|
|
1749
|
+
readonly anyOf: readonly [{
|
|
1750
|
+
readonly required: readonly ["plan"];
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly required: readonly ["approvedPlanHash"];
|
|
1753
|
+
}];
|
|
1754
|
+
};
|
|
1755
|
+
}];
|
|
1756
|
+
readonly properties: {
|
|
1757
|
+
readonly approvedPlanHash: {
|
|
1758
|
+
readonly type: "string";
|
|
1759
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1760
|
+
readonly description: "Exact SHA-256 planHash returned by kb_plan_bootstrap, kb_compile_intent, or another approved plan after human review.";
|
|
1761
|
+
};
|
|
1762
|
+
readonly plan: {
|
|
1763
|
+
readonly type: "object";
|
|
1764
|
+
readonly required: readonly ["version", "planHash"];
|
|
1765
|
+
readonly description: "The complete kibi.bootstrap-plan.v1, kibi.compile-plan.v1, kibi.migration-plan.v2, or hash-bound kibi.entity-deletion-plan.v1 object. Migration plans require approvedActionIds and reject blocked/non-automatic actions.";
|
|
1766
|
+
};
|
|
1767
|
+
readonly approvedActionIds: {
|
|
1768
|
+
readonly type: "array";
|
|
1769
|
+
readonly items: {
|
|
1770
|
+
readonly type: "string";
|
|
1771
|
+
readonly minLength: 1;
|
|
1772
|
+
};
|
|
1773
|
+
readonly description: "Required for migration-plan.v2. Exact automatic action IDs explicitly approved for this application.";
|
|
1774
|
+
};
|
|
1775
|
+
readonly recoveryJournalId: {
|
|
1776
|
+
readonly type: "string";
|
|
1777
|
+
readonly pattern: "^[A-Za-z0-9._-]+$";
|
|
1778
|
+
readonly description: "Typed recovery journal identifier returned by a committed_with_repairs result. Recovery replays only the immutable journal and never the original plan request.";
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
readonly requiresProlog: true;
|
|
1783
|
+
readonly effects: readonly ["kb-read", "kb-write", "workspace-read", "workspace-write"];
|
|
1784
|
+
readonly execute: typeof import("./index.js").executeApplyPlan;
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly name: "kb_ingest_proof";
|
|
1787
|
+
readonly cliName: "ingest-proof";
|
|
1788
|
+
readonly description: "Ingest a producer-emitted kibi.proof-run.v1 artifact and evaluate it against each selected test's kibi.proof-contract.v1 proof obligations. Revalidates the live workspace snapshot, integration command binding, run-level outcome, attempt history, success policy, and append-only proof-receipt history before deriving and appending idempotent kibi.proof-receipt.v1 receipts. Producers report what happened; Kibi evaluates proof. Prefer `kibi prove` so the configured producer runs automatically; direct ingestion is an integration path for custom producers and agents.";
|
|
1789
|
+
readonly businessInputSchema: {
|
|
1790
|
+
readonly type: "object";
|
|
1791
|
+
readonly required: readonly ["snapshot", "artifact"];
|
|
1792
|
+
readonly properties: {
|
|
1793
|
+
readonly snapshot: {
|
|
1794
|
+
readonly type: "string";
|
|
1795
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1796
|
+
readonly description: "Workspace snapshot captured immediately before the run.";
|
|
1797
|
+
};
|
|
1798
|
+
readonly artifact: {
|
|
1799
|
+
readonly type: "object";
|
|
1800
|
+
readonly description: "Producer-emitted kibi.proof-run.v1 proof artifact. Producers report what happened; Kibi evaluates proof obligations and policies. Produce it via `kibi prove` or direct kb_ingest_proof calls.";
|
|
1801
|
+
readonly required: readonly ["version", "producer", "command_argv", "code_snapshot", "environment", "run", "proof_results"];
|
|
1802
|
+
readonly properties: {
|
|
1803
|
+
readonly version: {
|
|
1804
|
+
readonly type: "string";
|
|
1805
|
+
readonly const: "kibi.proof-run.v1";
|
|
1806
|
+
};
|
|
1807
|
+
readonly producer: {
|
|
1808
|
+
readonly type: "object";
|
|
1809
|
+
readonly required: readonly ["name"];
|
|
1810
|
+
readonly properties: {
|
|
1811
|
+
readonly name: {
|
|
1812
|
+
readonly type: "string";
|
|
1813
|
+
readonly minLength: 1;
|
|
1814
|
+
};
|
|
1815
|
+
readonly version: {
|
|
1816
|
+
readonly type: "string";
|
|
1817
|
+
readonly minLength: 1;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
readonly additionalProperties: false;
|
|
1821
|
+
};
|
|
1822
|
+
readonly executor: {
|
|
1823
|
+
readonly type: "object";
|
|
1824
|
+
readonly required: readonly ["name"];
|
|
1825
|
+
readonly properties: {
|
|
1826
|
+
readonly name: {
|
|
1827
|
+
readonly type: "string";
|
|
1828
|
+
readonly minLength: 1;
|
|
1829
|
+
};
|
|
1830
|
+
readonly version: {
|
|
1831
|
+
readonly type: "string";
|
|
1832
|
+
readonly minLength: 1;
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
readonly additionalProperties: false;
|
|
1836
|
+
};
|
|
1837
|
+
readonly command_argv: {
|
|
1838
|
+
readonly type: "array";
|
|
1839
|
+
readonly minItems: 1;
|
|
1840
|
+
readonly items: {
|
|
1841
|
+
readonly type: "string";
|
|
1842
|
+
readonly minLength: 1;
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
readonly code_snapshot: {
|
|
1846
|
+
readonly type: "string";
|
|
1847
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1848
|
+
};
|
|
1849
|
+
readonly environment: {
|
|
1850
|
+
readonly type: "object";
|
|
1851
|
+
readonly additionalProperties: true;
|
|
1852
|
+
};
|
|
1853
|
+
readonly run: {
|
|
1854
|
+
readonly type: "object";
|
|
1855
|
+
readonly required: readonly ["outcome", "exit_code", "started_at", "finished_at"];
|
|
1856
|
+
readonly properties: {
|
|
1857
|
+
readonly outcome: {
|
|
1858
|
+
readonly type: "string";
|
|
1859
|
+
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "timed_out", "interrupted", "no_results"];
|
|
1860
|
+
};
|
|
1861
|
+
readonly exit_code: {
|
|
1862
|
+
readonly type: "integer";
|
|
1863
|
+
};
|
|
1864
|
+
readonly started_at: {
|
|
1865
|
+
readonly type: "string";
|
|
1866
|
+
readonly minLength: 1;
|
|
1867
|
+
};
|
|
1868
|
+
readonly finished_at: {
|
|
1869
|
+
readonly type: "string";
|
|
1870
|
+
readonly minLength: 1;
|
|
1871
|
+
};
|
|
1872
|
+
readonly failure_phase: {
|
|
1873
|
+
readonly type: "string";
|
|
1874
|
+
readonly enum: readonly ["setup", "collection", "execution", "teardown", "infrastructure"];
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
readonly additionalProperties: false;
|
|
1878
|
+
};
|
|
1879
|
+
readonly proof_results: {
|
|
1880
|
+
readonly type: "array";
|
|
1881
|
+
readonly minItems: 1;
|
|
1882
|
+
readonly maxItems: 1000;
|
|
1883
|
+
readonly items: {
|
|
1884
|
+
readonly type: "object";
|
|
1885
|
+
readonly description: "One observed proof result. binding distinguishes native-case observations from aggregate-run bindings; attempts must report facts only.";
|
|
1886
|
+
readonly required: readonly ["symbol_id", "target", "outcome", "binding", "attempts"];
|
|
1887
|
+
readonly properties: {
|
|
1888
|
+
readonly symbol_id: {
|
|
1889
|
+
readonly type: "string";
|
|
1890
|
+
readonly minLength: 1;
|
|
1891
|
+
readonly description: "Stable proof symbol ID (SYM-*).";
|
|
1892
|
+
};
|
|
1893
|
+
readonly target: {
|
|
1894
|
+
readonly type: "string";
|
|
1895
|
+
readonly minLength: 1;
|
|
1896
|
+
readonly description: "Ecosystem-neutral execution target (browser, runtime, database, device, deployment, or default).";
|
|
1897
|
+
};
|
|
1898
|
+
readonly outcome: {
|
|
1899
|
+
readonly type: "string";
|
|
1900
|
+
readonly enum: readonly ["passed", "failed", "timed_out", "skipped", "interrupted", "errored"];
|
|
1901
|
+
};
|
|
1902
|
+
readonly binding: {
|
|
1903
|
+
readonly type: "string";
|
|
1904
|
+
readonly enum: readonly ["native_case", "aggregate_run"];
|
|
1905
|
+
};
|
|
1906
|
+
readonly native_id: {
|
|
1907
|
+
readonly type: "string";
|
|
1908
|
+
readonly minLength: 1;
|
|
1909
|
+
};
|
|
1910
|
+
readonly attempts: {
|
|
1911
|
+
readonly oneOf: readonly [{
|
|
1912
|
+
readonly type: "object";
|
|
1913
|
+
readonly required: readonly ["status", "entries"];
|
|
1914
|
+
readonly properties: {
|
|
1915
|
+
readonly status: {
|
|
1916
|
+
readonly type: "string";
|
|
1917
|
+
readonly const: "complete";
|
|
1918
|
+
};
|
|
1919
|
+
readonly entries: {
|
|
1920
|
+
readonly type: "array";
|
|
1921
|
+
readonly minItems: 1;
|
|
1922
|
+
readonly maxItems: 100;
|
|
1923
|
+
readonly items: {
|
|
1924
|
+
readonly type: "object";
|
|
1925
|
+
readonly required: readonly ["outcome"];
|
|
1926
|
+
readonly properties: {
|
|
1927
|
+
readonly outcome: {
|
|
1928
|
+
readonly type: "string";
|
|
1929
|
+
readonly enum: readonly ["passed", "failed", "timed_out", "skipped", "interrupted", "errored"];
|
|
1930
|
+
};
|
|
1931
|
+
readonly duration_ms: {
|
|
1932
|
+
readonly type: "number";
|
|
1933
|
+
readonly minimum: 0;
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
readonly additionalProperties: false;
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
readonly additionalProperties: false;
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly type: "object";
|
|
1943
|
+
readonly required: readonly ["status"];
|
|
1944
|
+
readonly properties: {
|
|
1945
|
+
readonly status: {
|
|
1946
|
+
readonly type: "string";
|
|
1947
|
+
readonly const: "unavailable";
|
|
1948
|
+
};
|
|
1949
|
+
};
|
|
1950
|
+
readonly additionalProperties: false;
|
|
1951
|
+
}];
|
|
1952
|
+
};
|
|
1953
|
+
readonly diagnostics: {
|
|
1954
|
+
readonly type: "array";
|
|
1955
|
+
readonly items: {
|
|
1956
|
+
readonly type: "string";
|
|
1957
|
+
readonly minLength: 1;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
readonly additionalProperties: false;
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
readonly integration: {
|
|
1965
|
+
readonly type: "string";
|
|
1966
|
+
readonly minLength: 1;
|
|
1967
|
+
};
|
|
1968
|
+
readonly diagnostics: {
|
|
1969
|
+
readonly type: "array";
|
|
1970
|
+
readonly items: {
|
|
1971
|
+
readonly type: "string";
|
|
1972
|
+
readonly minLength: 1;
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
readonly additionalProperties: false;
|
|
1977
|
+
};
|
|
1978
|
+
readonly testIds: {
|
|
1979
|
+
readonly type: "array";
|
|
1980
|
+
readonly minItems: 1;
|
|
1981
|
+
readonly items: {
|
|
1982
|
+
readonly type: "string";
|
|
1983
|
+
readonly minLength: 1;
|
|
1984
|
+
};
|
|
1985
|
+
readonly description: "Existing test entities with proof_contract.v1. Omit to evaluate every test contracted to the artifact's integration.";
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
};
|
|
1989
|
+
readonly requiresProlog: true;
|
|
1990
|
+
readonly effects: readonly ["kb-read", "kb-write", "workspace-read"];
|
|
1991
|
+
readonly execute: typeof import("./index.js").executeIngestProof;
|
|
1128
1992
|
}];
|
|
1129
|
-
export declare function
|
|
1130
|
-
export declare function
|
|
1993
|
+
export declare function withContractDefaults(spec: OperationSpec): ResolvedOperationSpec;
|
|
1994
|
+
export declare function requireKnownSpec(spec: ResolvedOperationSpec | undefined, name: OperationName): ResolvedOperationSpec;
|
|
1995
|
+
export declare function getSpec(name: OperationName): ResolvedOperationSpec;
|
|
1996
|
+
export declare function listSpecs(): readonly ResolvedOperationSpec[];
|
|
1131
1997
|
//# sourceMappingURL=catalog.d.ts.map
|