kibi-cli 0.18.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-json-command.d.ts +1 -2
- package/dist/cli-json-command.d.ts.map +1 -1
- package/dist/cli-json-command.js +2 -34
- package/dist/cli-operation-loader.d.ts +3 -0
- package/dist/cli-operation-loader.d.ts.map +1 -0
- package/dist/cli-operation-loader.js +91 -0
- package/dist/cli-operation-metadata.d.ts +94 -0
- package/dist/cli-operation-metadata.d.ts.map +1 -0
- package/dist/cli-operation-metadata.js +121 -0
- package/dist/cli-protocol.d.ts +1 -1
- package/dist/cli-protocol.d.ts.map +1 -1
- package/dist/cli-protocol.js +42 -11
- package/dist/cli-register-foundation.d.ts.map +1 -1
- package/dist/cli-register-foundation.js +28 -19
- package/dist/cli-register-json.d.ts +3 -0
- package/dist/cli-register-json.d.ts.map +1 -0
- package/dist/cli-register-json.js +35 -0
- package/dist/cli-register-maintenance.d.ts.map +1 -1
- package/dist/cli-register-maintenance.js +60 -13
- package/dist/cli-register-reporting.d.ts.map +1 -1
- package/dist/cli-register-reporting.js +23 -14
- package/dist/cli-register-skills.d.ts.map +1 -1
- package/dist/cli-register-skills.js +8 -6
- package/dist/cli-register-verification.d.ts +3 -0
- package/dist/cli-register-verification.d.ts.map +1 -0
- package/dist/cli-register-verification.js +16 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +3 -1
- 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 +36 -0
- package/dist/commands/branch.d.ts.map +1 -1
- package/dist/commands/branch.js +371 -40
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +48 -77
- package/dist/commands/coverage.js +1 -1
- package/dist/commands/discovery-shared.d.ts +2 -1
- package/dist/commands/discovery-shared.d.ts.map +1 -1
- package/dist/commands/discovery-shared.js +38 -25
- package/dist/commands/doctor.d.ts +4 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +259 -24
- package/dist/commands/engine.d.ts +8 -0
- package/dist/commands/engine.d.ts.map +1 -0
- package/dist/commands/engine.js +103 -0
- package/dist/commands/gaps.js +1 -1
- 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 +56 -0
- package/dist/commands/github-init.d.ts.map +1 -0
- package/dist/commands/github-init.js +310 -0
- package/dist/commands/graph.js +1 -1
- 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 +73 -25
- 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 +7 -0
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +244 -91
- package/dist/commands/query.d.ts.map +1 -1
- package/dist/commands/query.js +3 -1
- 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/search.d.ts.map +1 -1
- package/dist/commands/search.js +3 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +2 -1
- package/dist/commands/sync/cache.d.ts +26 -3
- package/dist/commands/sync/cache.d.ts.map +1 -1
- package/dist/commands/sync/cache.js +141 -5
- package/dist/commands/sync/discovery.d.ts +23 -2
- package/dist/commands/sync/discovery.d.ts.map +1 -1
- package/dist/commands/sync/discovery.js +196 -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 +8 -5
- package/dist/commands/sync/manifest.d.ts.map +1 -1
- package/dist/commands/sync/manifest.js +142 -39
- package/dist/commands/sync/persistence.d.ts +10 -1
- package/dist/commands/sync/persistence.d.ts.map +1 -1
- package/dist/commands/sync/persistence.js +223 -44
- package/dist/commands/sync/staging.d.ts +10 -1
- package/dist/commands/sync/staging.d.ts.map +1 -1
- package/dist/commands/sync/staging.js +84 -1
- package/dist/commands/sync.d.ts +6 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +710 -48
- package/dist/commands/verify.d.ts +10 -0
- package/dist/commands/verify.d.ts.map +1 -0
- package/dist/commands/verify.js +126 -0
- package/dist/diagnostics.d.ts +1 -1
- package/dist/diagnostics.d.ts.map +1 -1
- package/dist/engine-daemon.d.ts +3 -0
- package/dist/engine-daemon.d.ts.map +1 -0
- package/dist/engine-daemon.js +34 -0
- package/dist/engine.d.ts +156 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +1625 -0
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +5 -6
- package/dist/extractors/manifest.d.ts +8 -1
- package/dist/extractors/manifest.d.ts.map +1 -1
- package/dist/extractors/manifest.js +51 -9
- package/dist/extractors/markdown.d.ts +2 -1
- package/dist/extractors/markdown.d.ts.map +1 -1
- package/dist/extractors/markdown.js +21 -3
- 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 +2 -0
- package/dist/extractors/relationships.d.ts.map +1 -1
- package/dist/extractors/relationships.js +16 -17
- 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/intent-search.d.ts +60 -0
- package/dist/intent-search.d.ts.map +1 -0
- package/dist/intent-search.js +433 -0
- package/dist/operations/bootstrap/activation.d.ts.map +1 -0
- package/dist/operations/{autopilot → bootstrap}/activation.js +48 -31
- 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 +8 -0
- package/dist/operations/bootstrap/generate.d.ts.map +1 -0
- package/dist/operations/bootstrap/generate.js +204 -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 +2 -2
- package/dist/operations/{autopilot → bootstrap}/guidance.d.ts.map +1 -1
- package/dist/operations/{autopilot → bootstrap}/guidance.js +2 -0
- 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.map +1 -1
- package/dist/operations/modeling/model-requirement.js +4 -17
- 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 +276 -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-4.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-4.js +155 -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.map +1 -1
- package/dist/operations/modeling/predicate-loader.js +7 -0
- 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 +156 -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 +34 -0
- 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-utils.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-utils.js +2 -0
- package/dist/operations/modeling/suggest-predicates.d.ts +1 -1
- package/dist/operations/modeling/suggest-predicates.d.ts.map +1 -1
- package/dist/operations/modeling/suggest-predicates.js +170 -32
- package/dist/operations/mutation/delete.d.ts.map +1 -1
- package/dist/operations/mutation/delete.js +415 -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 +10 -0
- package/dist/operations/mutation/relationships.d.ts.map +1 -1
- package/dist/operations/mutation/relationships.js +71 -1
- package/dist/operations/mutation/serialization.d.ts.map +1 -1
- package/dist/operations/mutation/serialization.js +1 -0
- package/dist/operations/mutation/source-authoring.d.ts +61 -0
- package/dist/operations/mutation/source-authoring.d.ts.map +1 -0
- package/dist/operations/mutation/source-authoring.js +543 -0
- package/dist/operations/mutation/symbol-compiler-lock.d.ts +51 -0
- package/dist/operations/mutation/symbol-compiler-lock.d.ts.map +1 -0
- package/dist/operations/mutation/symbol-compiler-lock.js +274 -0
- package/dist/operations/mutation/symbol-granularity.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-granularity.js +34 -3
- package/dist/operations/mutation/symbol-refresh.d.ts +18 -1
- package/dist/operations/mutation/symbol-refresh.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-refresh.js +225 -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.map +1 -1
- package/dist/operations/mutation/upsert.js +363 -24
- package/dist/operations/mutation/validation.d.ts.map +1 -1
- package/dist/operations/mutation/validation.js +1 -0
- package/dist/operations/planning/apply-plan.d.ts +117 -0
- package/dist/operations/planning/apply-plan.d.ts.map +1 -0
- package/dist/operations/planning/apply-plan.js +1437 -0
- package/dist/operations/planning/compile-intent.d.ts +106 -0
- package/dist/operations/planning/compile-intent.d.ts.map +1 -0
- package/dist/operations/planning/compile-intent.js +562 -0
- package/dist/operations/semantic-advisor/analyze-prose.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/analyze-prose.js +6 -2
- package/dist/operations/semantic-advisor/clauses.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/clauses.js +15 -2
- 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/types.d.ts +13 -5
- package/dist/operations/semantic-advisor/types.d.ts.map +1 -1
- package/dist/operations/verification/ingest-verification.d.ts +29 -0
- package/dist/operations/verification/ingest-verification.d.ts.map +1 -0
- package/dist/operations/verification/ingest-verification.js +192 -0
- package/dist/prolog/codec.d.ts.map +1 -1
- package/dist/prolog/codec.js +2 -1
- package/dist/prolog.d.ts +8 -0
- package/dist/prolog.d.ts.map +1 -1
- package/dist/prolog.js +66 -16
- 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 +69 -1
- package/dist/public/distribution-parity.d.ts +1 -1
- package/dist/public/distribution-parity.d.ts.map +1 -1
- package/dist/public/distribution-parity.js +1 -0
- 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 +6 -1
- package/dist/public/impact/coverage-depth-quality.d.ts.map +1 -1
- package/dist/public/impact/coverage-depth-quality.js +21 -3
- package/dist/public/impact/full-kb-quality.d.ts +4 -2
- package/dist/public/impact/full-kb-quality.d.ts.map +1 -1
- package/dist/public/impact/full-kb-quality.js +61 -1
- 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 +682 -67
- package/dist/public/operations/catalog.d.ts.map +1 -1
- package/dist/public/operations/catalog.js +126 -4
- 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 +72 -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 +11 -0
- package/dist/public/operations/contracts.d.ts.map +1 -0
- package/dist/public/operations/contracts.js +325 -0
- package/dist/public/operations/discovery-entities.d.ts.map +1 -1
- package/dist/public/operations/discovery-entities.js +3 -2
- package/dist/public/operations/discovery-executors.d.ts +37 -1
- package/dist/public/operations/discovery-executors.d.ts.map +1 -1
- package/dist/public/operations/discovery-executors.js +246 -9
- 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 +101 -0
- package/dist/public/operations/migration-plan.d.ts.map +1 -0
- package/dist/public/operations/migration-plan.js +537 -0
- package/dist/public/operations/node-ports.d.ts.map +1 -1
- package/dist/public/operations/node-ports.js +68 -8
- 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 +55 -6
- package/dist/public/operations/repair-plan.d.ts.map +1 -1
- package/dist/public/operations/repair-plan.js +1 -0
- package/dist/public/operations/result-envelope.d.ts +13 -0
- package/dist/public/operations/result-envelope.d.ts.map +1 -0
- package/dist/public/operations/result-envelope.js +104 -0
- package/dist/public/operations/runtime-types.d.ts +126 -5
- 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.d.ts +4 -4
- package/dist/public/operations/specs/check.d.ts.map +1 -1
- package/dist/public/operations/specs/check.js +4 -3
- 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 +190 -47
- package/dist/public/operations/specs/mutation-schemas.d.ts.map +1 -1
- package/dist/public/operations/specs/mutation-schemas.js +3 -1
- 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 +270 -0
- package/dist/public/operations/specs/planning.d.ts.map +1 -0
- package/dist/public/operations/specs/planning.js +191 -0
- package/dist/public/operations/specs/reporting.d.ts +4 -1
- package/dist/public/operations/specs/reporting.d.ts.map +1 -1
- package/dist/public/operations/specs/reporting.js +46 -1
- package/dist/public/operations/specs/upsert.d.ts +204 -47
- package/dist/public/operations/specs/upsert.d.ts.map +1 -1
- package/dist/public/operations/specs/upsert.js +9 -0
- package/dist/public/operations/specs/verification.d.ts +78 -0
- package/dist/public/operations/specs/verification.d.ts.map +1 -0
- package/dist/public/operations/specs/verification.js +62 -0
- package/dist/public/operations/symbol-repair-plan.d.ts +11 -0
- package/dist/public/operations/symbol-repair-plan.d.ts.map +1 -0
- package/dist/public/operations/symbol-repair-plan.js +123 -0
- package/dist/public/operations/types.d.ts +52 -1
- package/dist/public/operations/types.d.ts.map +1 -1
- package/dist/public/playwright-case-id.d.ts +8 -0
- package/dist/public/playwright-case-id.d.ts.map +1 -0
- package/dist/public/playwright-case-id.js +25 -0
- package/dist/public/schemas/entity.d.ts.map +1 -1
- package/dist/public/schemas/entity.js +4 -2
- 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 +40 -10
- 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 +115 -239
- 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/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 +56 -3
- package/dist/public/symbol-granularity.d.ts +1 -1
- package/dist/public/symbol-granularity.d.ts.map +1 -1
- package/dist/public/symbol-granularity.js +1 -0
- package/dist/public/telemetry-acceptance.d.ts +7 -0
- package/dist/public/telemetry-acceptance.d.ts.map +1 -1
- package/dist/public/telemetry-acceptance.js +8 -1
- package/dist/public/telemetry-remediation.js +1 -1
- package/dist/public/verification-receipt.d.ts +206 -39
- package/dist/public/verification-receipt.d.ts.map +1 -1
- package/dist/public/verification-receipt.js +171 -4
- 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.d.ts +19 -0
- package/dist/report/html-report.d.ts.map +1 -0
- package/dist/report/html-report.js +963 -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.map +1 -1
- package/dist/runtime/cli-runtime.js +98 -42
- package/dist/schemas/entity.schema.json +1148 -273
- package/dist/traceability/evidence-model.d.ts +2 -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.map +1 -1
- package/dist/traceability/git-staged.js +15 -40
- package/dist/traceability/markdown-validate.d.ts.map +1 -1
- package/dist/traceability/markdown-validate.js +12 -7
- 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 +10 -38
- package/dist/traceability/staged-symbols-manifest.d.ts.map +1 -1
- package/dist/traceability/staged-symbols-manifest.js +8 -3
- package/dist/traceability/temp-kb.d.ts.map +1 -1
- package/dist/traceability/temp-kb.js +3 -0
- package/dist/types/entities.d.ts +3 -0
- package/dist/types/entities.d.ts.map +1 -1
- package/dist/utils/branch-resolver.d.ts +24 -10
- package/dist/utils/branch-resolver.d.ts.map +1 -1
- package/dist/utils/branch-resolver.js +121 -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 +15 -0
- package/dist/utils/branch-store.d.ts.map +1 -0
- package/dist/utils/branch-store.js +130 -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 +48 -20
- package/dist/utils/rule-registry.d.ts.map +1 -1
- package/dist/utils/rule-registry.js +82 -77
- 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 +0 -4
- package/dist/utils/strict-modeling.d.ts.map +1 -1
- package/dist/utils/strict-modeling.js +7 -8
- package/dist/verification/playwright-reporter.d.ts +21 -0
- package/dist/verification/playwright-reporter.d.ts.map +1 -0
- package/dist/verification/playwright-reporter.js +114 -0
- package/package.json +51 -8
- 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 +79 -1
- package/src/public/distribution-parity.ts +1 -0
- package/src/public/ignore-policy.ts +16 -10
- package/src/public/impact/coverage-depth-quality.ts +36 -0
- package/src/public/impact/full-kb-quality.ts +118 -5
- package/src/public/impact/manifest.ts +2 -4
- package/src/public/operational-artifacts.ts +9 -1
- package/src/public/operations/catalog.ts +146 -9
- package/src/public/operations/check-executor.ts +102 -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 +366 -0
- package/src/public/operations/discovery-entities.ts +3 -2
- package/src/public/operations/discovery-executors.ts +343 -15
- package/src/public/operations/index.ts +9 -4
- package/src/public/operations/migration-plan.ts +740 -0
- package/src/public/operations/node-ports.ts +84 -10
- package/src/public/operations/prolog-json.ts +73 -6
- package/src/public/operations/repair-plan.ts +1 -0
- package/src/public/operations/result-envelope.ts +136 -0
- package/src/public/operations/runtime-types.ts +130 -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.ts +4 -3
- 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 +6 -1
- package/src/public/operations/specs/mutation.ts +27 -2
- package/src/public/operations/specs/planning.ts +234 -0
- package/src/public/operations/specs/reporting.ts +55 -1
- package/src/public/operations/specs/upsert.ts +10 -0
- package/src/public/operations/specs/verification.ts +78 -0
- package/src/public/operations/symbol-repair-plan.ts +164 -0
- package/src/public/operations/types.ts +62 -1
- package/src/public/playwright-case-id.ts +35 -0
- package/src/public/schemas/entity.ts +7 -2
- 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 +40 -10
- 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 +115 -239
- 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/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 +56 -3
- package/src/public/symbol-granularity.ts +1 -0
- package/src/public/telemetry-acceptance.ts +16 -1
- package/src/public/telemetry-remediation.ts +1 -1
- package/src/public/verification-receipt.ts +248 -6
- package/src/schemas/entity.schema.json +1148 -273
- package/templates/github/kibi-badge.yml +86 -0
- package/templates/github/kibi-report.yml +84 -0
- 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/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/src/public/skills/init-kibi/SKILL.md +0 -62
- /package/dist/operations/{autopilot → bootstrap}/activation.d.ts +0 -0
- /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: {
|
|
@@ -401,7 +485,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
401
485
|
};
|
|
402
486
|
readonly source: {
|
|
403
487
|
readonly type: "string";
|
|
404
|
-
readonly description: "Optional primary source path or provenance root used for stable IDs and text refs. Example: '
|
|
488
|
+
readonly description: "Optional primary source path or provenance root used for stable IDs and text refs. Example: '.kb/requirements/customer-retention.md'.";
|
|
405
489
|
};
|
|
406
490
|
readonly sourceFiles: {
|
|
407
491
|
readonly type: "array";
|
|
@@ -435,7 +519,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
435
519
|
};
|
|
436
520
|
readonly provenance: {
|
|
437
521
|
readonly type: "string";
|
|
438
|
-
readonly description: "Optional extracted text reference. Falls back to source when omitted. Example: '
|
|
522
|
+
readonly description: "Optional extracted text reference. Falls back to source when omitted. Example: '.kb/requirements/customer-retention.md#L1'.";
|
|
439
523
|
};
|
|
440
524
|
readonly existingLogicClaims: {
|
|
441
525
|
readonly type: "array";
|
|
@@ -470,7 +554,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
470
554
|
}, {
|
|
471
555
|
readonly name: "kb_suggest_predicates";
|
|
472
556
|
readonly cliName: "suggest-predicates";
|
|
473
|
-
readonly description: "Suggest ontology predicate schemas for prose requirements before agents write facts. Read-only guidance returns
|
|
557
|
+
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
558
|
readonly businessInputSchema: {
|
|
475
559
|
readonly type: "object";
|
|
476
560
|
readonly required: readonly ["text"];
|
|
@@ -543,9 +627,9 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
543
627
|
readonly effects: readonly ["kb-read"];
|
|
544
628
|
readonly execute: typeof import("../../operations/modeling/suggest-predicates.js").executeSuggestPredicates;
|
|
545
629
|
}, {
|
|
546
|
-
readonly name: "
|
|
547
|
-
readonly cliName: "
|
|
548
|
-
readonly description: "Generate
|
|
630
|
+
readonly name: "kb_plan_bootstrap";
|
|
631
|
+
readonly cliName: "plan-bootstrap";
|
|
632
|
+
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
633
|
readonly businessInputSchema: {
|
|
550
634
|
readonly type: "object";
|
|
551
635
|
readonly properties: {
|
|
@@ -618,7 +702,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
618
702
|
};
|
|
619
703
|
readonly requiresProlog: false;
|
|
620
704
|
readonly effects: readonly ["workspace-read"];
|
|
621
|
-
readonly execute: typeof import("./index.js").
|
|
705
|
+
readonly execute: typeof import("./index.js").executePlanBootstrap;
|
|
622
706
|
}, {
|
|
623
707
|
readonly name: "kb_validate_upsert";
|
|
624
708
|
readonly cliName: "validate-upsert";
|
|
@@ -756,7 +840,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
756
840
|
};
|
|
757
841
|
readonly granularity_reason: {
|
|
758
842
|
readonly type: "string";
|
|
759
|
-
readonly enum: readonly ["config-artifact", "module-level-behavior", "extractor-miss", "legacy-link"];
|
|
843
|
+
readonly enum: readonly ["config-artifact", "module-level-behavior", "extractor-miss", "legacy-link", "test-suite"];
|
|
760
844
|
readonly description: "Optional justification for a coarse file/module-level symbol traceability relationship when narrower function/class/type symbols exist.";
|
|
761
845
|
};
|
|
762
846
|
readonly symbol_role: {
|
|
@@ -774,63 +858,206 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
774
858
|
readonly enum: readonly ["internal", "consumer"];
|
|
775
859
|
readonly description: "Optional typed verification perspective for test entities. Example: 'consumer'.";
|
|
776
860
|
};
|
|
777
|
-
readonly
|
|
778
|
-
readonly type: "
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
781
|
-
readonly
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
readonly
|
|
793
|
-
readonly type: "string";
|
|
794
|
-
readonly minLength: 1;
|
|
795
|
-
};
|
|
796
|
-
readonly runner: {
|
|
861
|
+
readonly verification_contract: {
|
|
862
|
+
readonly type: "object";
|
|
863
|
+
readonly required: readonly ["version", "runner", "command_argv", "required_case_symbols", "required_projects", "success_policy"];
|
|
864
|
+
readonly properties: {
|
|
865
|
+
readonly version: {
|
|
866
|
+
readonly type: "string";
|
|
867
|
+
readonly const: "kibi.verification-contract.v1";
|
|
868
|
+
};
|
|
869
|
+
readonly runner: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
readonly minLength: 1;
|
|
872
|
+
};
|
|
873
|
+
readonly command_argv: {
|
|
874
|
+
readonly type: "array";
|
|
875
|
+
readonly minItems: 1;
|
|
876
|
+
readonly items: {
|
|
797
877
|
readonly type: "string";
|
|
798
878
|
readonly minLength: 1;
|
|
799
879
|
};
|
|
800
|
-
|
|
880
|
+
};
|
|
881
|
+
readonly required_case_symbols: {
|
|
882
|
+
readonly type: "array";
|
|
883
|
+
readonly items: {
|
|
801
884
|
readonly type: "string";
|
|
802
885
|
readonly minLength: 1;
|
|
803
886
|
};
|
|
804
|
-
readonly
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
readonly
|
|
809
|
-
readonly type: "string";
|
|
810
|
-
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "skipped"];
|
|
811
|
-
};
|
|
812
|
-
readonly code_snapshot: {
|
|
813
|
-
readonly type: "string";
|
|
814
|
-
readonly pattern: "^[a-f0-9]{64}$";
|
|
815
|
-
};
|
|
816
|
-
readonly environment_hash: {
|
|
817
|
-
readonly type: "string";
|
|
818
|
-
readonly pattern: "^[a-f0-9]{64}$";
|
|
819
|
-
};
|
|
820
|
-
readonly started_at: {
|
|
887
|
+
readonly uniqueItems: true;
|
|
888
|
+
};
|
|
889
|
+
readonly required_projects: {
|
|
890
|
+
readonly type: "array";
|
|
891
|
+
readonly items: {
|
|
821
892
|
readonly type: "string";
|
|
822
893
|
readonly minLength: 1;
|
|
823
894
|
};
|
|
824
|
-
readonly
|
|
825
|
-
|
|
826
|
-
|
|
895
|
+
readonly uniqueItems: true;
|
|
896
|
+
};
|
|
897
|
+
readonly success_policy: {
|
|
898
|
+
readonly type: "string";
|
|
899
|
+
readonly const: "all_required_cases_first_attempt";
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
readonly additionalProperties: false;
|
|
903
|
+
};
|
|
904
|
+
readonly verification_receipts: {
|
|
905
|
+
readonly type: "array";
|
|
906
|
+
readonly maxItems: 50;
|
|
907
|
+
readonly items: {
|
|
908
|
+
readonly oneOf: readonly [{
|
|
909
|
+
readonly type: "object";
|
|
910
|
+
readonly required: readonly ["version", "receipt_id", "test_id", "runner", "command", "scope", "outcome", "code_snapshot", "environment_hash", "started_at", "finished_at", "artifact_digest"];
|
|
911
|
+
readonly properties: {
|
|
912
|
+
readonly version: {
|
|
913
|
+
readonly type: "string";
|
|
914
|
+
readonly const: "kibi.verification-receipt.v1";
|
|
915
|
+
};
|
|
916
|
+
readonly receipt_id: {
|
|
917
|
+
readonly type: "string";
|
|
918
|
+
readonly pattern: "^VR-[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$";
|
|
919
|
+
};
|
|
920
|
+
readonly test_id: {
|
|
921
|
+
readonly type: "string";
|
|
922
|
+
readonly minLength: 1;
|
|
923
|
+
};
|
|
924
|
+
readonly runner: {
|
|
925
|
+
readonly type: "string";
|
|
926
|
+
readonly minLength: 1;
|
|
927
|
+
};
|
|
928
|
+
readonly command: {
|
|
929
|
+
readonly type: "string";
|
|
930
|
+
readonly minLength: 1;
|
|
931
|
+
};
|
|
932
|
+
readonly scope: {
|
|
933
|
+
readonly type: "string";
|
|
934
|
+
readonly enum: readonly ["unit", "integration", "end_to_end"];
|
|
935
|
+
};
|
|
936
|
+
readonly outcome: {
|
|
937
|
+
readonly type: "string";
|
|
938
|
+
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "skipped", "timed_out", "interrupted"];
|
|
939
|
+
};
|
|
940
|
+
readonly code_snapshot: {
|
|
941
|
+
readonly type: "string";
|
|
942
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
943
|
+
};
|
|
944
|
+
readonly environment_hash: {
|
|
945
|
+
readonly type: "string";
|
|
946
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
947
|
+
};
|
|
948
|
+
readonly started_at: {
|
|
949
|
+
readonly type: "string";
|
|
950
|
+
readonly minLength: 1;
|
|
951
|
+
};
|
|
952
|
+
readonly finished_at: {
|
|
953
|
+
readonly type: "string";
|
|
954
|
+
readonly minLength: 1;
|
|
955
|
+
};
|
|
956
|
+
readonly artifact_digest: {
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
959
|
+
};
|
|
827
960
|
};
|
|
828
|
-
readonly
|
|
829
|
-
|
|
830
|
-
|
|
961
|
+
readonly additionalProperties: false;
|
|
962
|
+
}, {
|
|
963
|
+
readonly required: readonly ["version", "receipt_id", "test_id", "runner", "command", "scope", "outcome", "code_snapshot", "environment_hash", "started_at", "finished_at", "artifact_digest", "command_argv", "contract_hash", "case_results"];
|
|
964
|
+
readonly properties: {
|
|
965
|
+
readonly version: {
|
|
966
|
+
readonly type: "string";
|
|
967
|
+
readonly const: "kibi.verification-receipt.v2";
|
|
968
|
+
};
|
|
969
|
+
readonly command_argv: {
|
|
970
|
+
readonly type: "array";
|
|
971
|
+
readonly minItems: 1;
|
|
972
|
+
readonly items: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
readonly minLength: 1;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly contract_hash: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
980
|
+
};
|
|
981
|
+
readonly case_results: {
|
|
982
|
+
readonly type: "array";
|
|
983
|
+
readonly minItems: 1;
|
|
984
|
+
readonly maxItems: 1000;
|
|
985
|
+
readonly items: {
|
|
986
|
+
readonly type: "object";
|
|
987
|
+
readonly required: readonly ["symbol_id", "project", "outcome", "retries", "duration_ms"];
|
|
988
|
+
readonly properties: {
|
|
989
|
+
readonly symbol_id: {
|
|
990
|
+
readonly type: "string";
|
|
991
|
+
readonly minLength: 1;
|
|
992
|
+
};
|
|
993
|
+
readonly project: {
|
|
994
|
+
readonly type: "string";
|
|
995
|
+
readonly minLength: 1;
|
|
996
|
+
};
|
|
997
|
+
readonly outcome: {
|
|
998
|
+
readonly type: "string";
|
|
999
|
+
readonly enum: readonly ["passed", "failed", "timed_out", "skipped", "interrupted"];
|
|
1000
|
+
};
|
|
1001
|
+
readonly retries: {
|
|
1002
|
+
readonly type: "integer";
|
|
1003
|
+
readonly minimum: 0;
|
|
1004
|
+
};
|
|
1005
|
+
readonly duration_ms: {
|
|
1006
|
+
readonly type: "integer";
|
|
1007
|
+
readonly minimum: 0;
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
readonly additionalProperties: false;
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
readonly receipt_id: {
|
|
1014
|
+
readonly type: "string";
|
|
1015
|
+
readonly pattern: "^VR-[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$";
|
|
1016
|
+
};
|
|
1017
|
+
readonly test_id: {
|
|
1018
|
+
readonly type: "string";
|
|
1019
|
+
readonly minLength: 1;
|
|
1020
|
+
};
|
|
1021
|
+
readonly runner: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
readonly minLength: 1;
|
|
1024
|
+
};
|
|
1025
|
+
readonly command: {
|
|
1026
|
+
readonly type: "string";
|
|
1027
|
+
readonly minLength: 1;
|
|
1028
|
+
};
|
|
1029
|
+
readonly scope: {
|
|
1030
|
+
readonly type: "string";
|
|
1031
|
+
readonly enum: readonly ["unit", "integration", "end_to_end"];
|
|
1032
|
+
};
|
|
1033
|
+
readonly outcome: {
|
|
1034
|
+
readonly type: "string";
|
|
1035
|
+
readonly enum: readonly ["passed", "failed", "errored", "cancelled", "skipped", "timed_out", "interrupted"];
|
|
1036
|
+
};
|
|
1037
|
+
readonly code_snapshot: {
|
|
1038
|
+
readonly type: "string";
|
|
1039
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1040
|
+
};
|
|
1041
|
+
readonly environment_hash: {
|
|
1042
|
+
readonly type: "string";
|
|
1043
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1044
|
+
};
|
|
1045
|
+
readonly started_at: {
|
|
1046
|
+
readonly type: "string";
|
|
1047
|
+
readonly minLength: 1;
|
|
1048
|
+
};
|
|
1049
|
+
readonly finished_at: {
|
|
1050
|
+
readonly type: "string";
|
|
1051
|
+
readonly minLength: 1;
|
|
1052
|
+
};
|
|
1053
|
+
readonly artifact_digest: {
|
|
1054
|
+
readonly type: "string";
|
|
1055
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1056
|
+
};
|
|
831
1057
|
};
|
|
832
|
-
|
|
833
|
-
|
|
1058
|
+
readonly type: "object";
|
|
1059
|
+
readonly additionalProperties: false;
|
|
1060
|
+
}];
|
|
834
1061
|
};
|
|
835
1062
|
readonly description: "Append-only test execution evidence. Proof accepts only the newest valid passed receipt bound to the current code snapshot and within the seven-day freshness window.";
|
|
836
1063
|
};
|
|
@@ -1027,6 +1254,20 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1027
1254
|
};
|
|
1028
1255
|
};
|
|
1029
1256
|
};
|
|
1257
|
+
readonly document: {
|
|
1258
|
+
readonly type: "object";
|
|
1259
|
+
readonly additionalProperties: false;
|
|
1260
|
+
readonly description: "Optional source-first document write. Paths are workspace-relative; omit body when updating to preserve the existing body bytes.";
|
|
1261
|
+
readonly properties: {
|
|
1262
|
+
readonly path: {
|
|
1263
|
+
readonly type: "string";
|
|
1264
|
+
readonly minLength: 1;
|
|
1265
|
+
};
|
|
1266
|
+
readonly body: {
|
|
1267
|
+
readonly type: "string";
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1030
1271
|
};
|
|
1031
1272
|
};
|
|
1032
1273
|
readonly requiresProlog: true;
|
|
@@ -1038,14 +1279,54 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1038
1279
|
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
1280
|
readonly businessInputSchema: {
|
|
1040
1281
|
readonly type: "object";
|
|
1041
|
-
readonly
|
|
1282
|
+
readonly oneOf: readonly [{
|
|
1283
|
+
readonly required: readonly ["ids"];
|
|
1284
|
+
readonly not: {
|
|
1285
|
+
readonly required: readonly ["relationships"];
|
|
1286
|
+
};
|
|
1287
|
+
}, {
|
|
1288
|
+
readonly required: readonly ["relationships"];
|
|
1289
|
+
readonly not: {
|
|
1290
|
+
readonly required: readonly ["ids"];
|
|
1291
|
+
};
|
|
1292
|
+
}];
|
|
1042
1293
|
readonly properties: {
|
|
1043
1294
|
readonly ids: {
|
|
1044
1295
|
readonly type: "array";
|
|
1045
1296
|
readonly items: {
|
|
1046
1297
|
readonly type: "string";
|
|
1047
1298
|
};
|
|
1048
|
-
readonly
|
|
1299
|
+
readonly minItems: 1;
|
|
1300
|
+
readonly description: "Entity IDs to delete after dependency checks.";
|
|
1301
|
+
};
|
|
1302
|
+
readonly relationships: {
|
|
1303
|
+
readonly type: "array";
|
|
1304
|
+
readonly minItems: 1;
|
|
1305
|
+
readonly items: {
|
|
1306
|
+
readonly type: "object";
|
|
1307
|
+
readonly required: readonly ["type", "from", "to"];
|
|
1308
|
+
readonly additionalProperties: false;
|
|
1309
|
+
readonly properties: {
|
|
1310
|
+
readonly type: {
|
|
1311
|
+
readonly type: "string";
|
|
1312
|
+
readonly minLength: 1;
|
|
1313
|
+
};
|
|
1314
|
+
readonly from: {
|
|
1315
|
+
readonly type: "string";
|
|
1316
|
+
readonly minLength: 1;
|
|
1317
|
+
};
|
|
1318
|
+
readonly to: {
|
|
1319
|
+
readonly type: "string";
|
|
1320
|
+
readonly minLength: 1;
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
readonly description: "Exact relationship triples to retract, including legacy shard records.";
|
|
1325
|
+
};
|
|
1326
|
+
readonly approvedPlanHash: {
|
|
1327
|
+
readonly type: "string";
|
|
1328
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1329
|
+
readonly description: "Exact hash returned by a prior authored-entity deletion plan.";
|
|
1049
1330
|
};
|
|
1050
1331
|
};
|
|
1051
1332
|
};
|
|
@@ -1055,7 +1336,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1055
1336
|
}, {
|
|
1056
1337
|
readonly name: "kb_check";
|
|
1057
1338
|
readonly cliName: "check";
|
|
1058
|
-
readonly description: "Run KB validation rules and return violations
|
|
1339
|
+
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
1340
|
readonly businessInputSchema: {
|
|
1060
1341
|
readonly type: "object";
|
|
1061
1342
|
readonly properties: {
|
|
@@ -1063,9 +1344,9 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1063
1344
|
readonly type: "array";
|
|
1064
1345
|
readonly items: {
|
|
1065
1346
|
readonly type: "string";
|
|
1066
|
-
readonly enum: readonly ["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", "logic-coverage", "rule-safety", "rule-verifiability", "semantic-completeness", "query-plan-safety"];
|
|
1347
|
+
readonly enum: readonly ["must-priority-coverage", "symbol-coverage", "symbol-traceability", "no-dangling-refs", "source-relationship-parity", "no-cycles", "required-fields", "deprecated-adr-no-successor", "domain-contradictions", "strict-fact-shape", "strict-req-fact-pairing", "predicate-verifiability", "logic-coverage", "rule-safety", "rule-verifiability", "semantic-completeness", "query-plan-safety"];
|
|
1067
1348
|
};
|
|
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, logic-coverage, rule-safety, rule-verifiability, semantic-completeness, query-plan-safety. If omitted, server runs
|
|
1349
|
+
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, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, logic-coverage, rule-safety, rule-verifiability, semantic-completeness, query-plan-safety. 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
1350
|
};
|
|
1070
1351
|
readonly sourceFiles: {
|
|
1071
1352
|
readonly type: "array";
|
|
@@ -1093,7 +1374,7 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1093
1374
|
};
|
|
1094
1375
|
readonly workspaceRoot: {
|
|
1095
1376
|
readonly type: "string";
|
|
1096
|
-
readonly description: "Optional workspace root for impact diagnostics
|
|
1377
|
+
readonly description: "Optional workspace root for impact diagnostics. Defaults to the MCP server workspace.";
|
|
1097
1378
|
};
|
|
1098
1379
|
};
|
|
1099
1380
|
};
|
|
@@ -1125,7 +1406,341 @@ export declare const OPERATION_CATALOG: readonly [{
|
|
|
1125
1406
|
readonly requiresProlog: false;
|
|
1126
1407
|
readonly effects: readonly ["network-read"];
|
|
1127
1408
|
readonly execute: (input: import("./index.js").SparqlRemoteInput, context: import("./runtime-types.js").OperationContext) => Promise<import("./types.js").OperationResult<import("./index.js").SparqlRemoteOutput>>;
|
|
1409
|
+
}, {
|
|
1410
|
+
readonly name: "kb_compile_intent";
|
|
1411
|
+
readonly cliName: "compile-intent";
|
|
1412
|
+
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.";
|
|
1413
|
+
readonly businessInputSchema: {
|
|
1414
|
+
readonly type: "object";
|
|
1415
|
+
readonly required: readonly ["intent", "mode"];
|
|
1416
|
+
readonly properties: {
|
|
1417
|
+
readonly intent: {
|
|
1418
|
+
readonly type: "string";
|
|
1419
|
+
readonly minLength: 1;
|
|
1420
|
+
readonly maxLength: 10000;
|
|
1421
|
+
readonly description: "Complete post-change normative intent. Send the desired behavior, not a patch fragment.";
|
|
1422
|
+
};
|
|
1423
|
+
readonly mode: {
|
|
1424
|
+
readonly type: "string";
|
|
1425
|
+
readonly enum: readonly ["create", "update"];
|
|
1426
|
+
readonly description: "Create a new requirement or update an existing one. Update auto-selection is allowed only with a high-confidence, well-separated candidate.";
|
|
1427
|
+
};
|
|
1428
|
+
readonly requirementId: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly description: "Optional exact requirement ID. Required for an update when automatic selection is below the confidence and margin gates.";
|
|
1431
|
+
};
|
|
1432
|
+
readonly title: {
|
|
1433
|
+
readonly type: "string";
|
|
1434
|
+
readonly description: "Optional requirement title; existing title is preserved for updates when omitted.";
|
|
1435
|
+
};
|
|
1436
|
+
readonly clauses: {
|
|
1437
|
+
readonly type: "array";
|
|
1438
|
+
readonly items: {
|
|
1439
|
+
readonly type: "string";
|
|
1440
|
+
readonly minLength: 1;
|
|
1441
|
+
};
|
|
1442
|
+
readonly maxItems: 64;
|
|
1443
|
+
readonly description: "Optional complete atomic clause decomposition. Each assertive clause receives independent proposition accounting.";
|
|
1444
|
+
};
|
|
1445
|
+
readonly semanticFacets: {
|
|
1446
|
+
readonly type: "object";
|
|
1447
|
+
readonly additionalProperties: false;
|
|
1448
|
+
readonly properties: {
|
|
1449
|
+
readonly actors: {
|
|
1450
|
+
readonly type: "array";
|
|
1451
|
+
readonly items: {
|
|
1452
|
+
readonly type: "string";
|
|
1453
|
+
};
|
|
1454
|
+
readonly maxItems: 20;
|
|
1455
|
+
};
|
|
1456
|
+
readonly actions: {
|
|
1457
|
+
readonly type: "array";
|
|
1458
|
+
readonly items: {
|
|
1459
|
+
readonly type: "string";
|
|
1460
|
+
};
|
|
1461
|
+
readonly maxItems: 20;
|
|
1462
|
+
};
|
|
1463
|
+
readonly objects: {
|
|
1464
|
+
readonly type: "array";
|
|
1465
|
+
readonly items: {
|
|
1466
|
+
readonly type: "string";
|
|
1467
|
+
};
|
|
1468
|
+
readonly maxItems: 20;
|
|
1469
|
+
};
|
|
1470
|
+
readonly constraints: {
|
|
1471
|
+
readonly type: "array";
|
|
1472
|
+
readonly items: {
|
|
1473
|
+
readonly type: "string";
|
|
1474
|
+
};
|
|
1475
|
+
readonly maxItems: 20;
|
|
1476
|
+
};
|
|
1477
|
+
readonly aliases: {
|
|
1478
|
+
readonly type: "array";
|
|
1479
|
+
readonly items: {
|
|
1480
|
+
readonly type: "string";
|
|
1481
|
+
};
|
|
1482
|
+
readonly maxItems: 20;
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
readonly description: "Host-agent facets forwarded to deterministic intent-v1 discovery.";
|
|
1486
|
+
};
|
|
1487
|
+
readonly sourceLocations: {
|
|
1488
|
+
readonly type: "array";
|
|
1489
|
+
readonly maxItems: 20;
|
|
1490
|
+
readonly items: {
|
|
1491
|
+
readonly type: "object";
|
|
1492
|
+
readonly required: readonly ["path"];
|
|
1493
|
+
readonly additionalProperties: false;
|
|
1494
|
+
readonly properties: {
|
|
1495
|
+
readonly path: {
|
|
1496
|
+
readonly type: "string";
|
|
1497
|
+
readonly minLength: 1;
|
|
1498
|
+
};
|
|
1499
|
+
readonly line: {
|
|
1500
|
+
readonly type: "integer";
|
|
1501
|
+
readonly minimum: 1;
|
|
1502
|
+
};
|
|
1503
|
+
readonly column: {
|
|
1504
|
+
readonly type: "integer";
|
|
1505
|
+
readonly minimum: 1;
|
|
1506
|
+
};
|
|
1507
|
+
readonly symbol: {
|
|
1508
|
+
readonly type: "string";
|
|
1509
|
+
readonly minLength: 1;
|
|
1510
|
+
};
|
|
1511
|
+
};
|
|
1512
|
+
};
|
|
1513
|
+
readonly description: "Workspace-relative source coordinates used for discovery and before-hash binding.";
|
|
1514
|
+
};
|
|
1515
|
+
readonly interpretations: {
|
|
1516
|
+
readonly type: "array";
|
|
1517
|
+
readonly maxItems: 3;
|
|
1518
|
+
readonly items: {
|
|
1519
|
+
readonly type: "object";
|
|
1520
|
+
readonly required: readonly ["claim_key", "claim_text", "ir"];
|
|
1521
|
+
readonly properties: {
|
|
1522
|
+
readonly claim_key: {
|
|
1523
|
+
readonly type: "string";
|
|
1524
|
+
};
|
|
1525
|
+
readonly claim_text: {
|
|
1526
|
+
readonly type: "string";
|
|
1527
|
+
};
|
|
1528
|
+
readonly confidence: {
|
|
1529
|
+
readonly type: "number";
|
|
1530
|
+
readonly minimum: 0;
|
|
1531
|
+
readonly maximum: 1;
|
|
1532
|
+
};
|
|
1533
|
+
readonly span: {
|
|
1534
|
+
readonly type: "object";
|
|
1535
|
+
};
|
|
1536
|
+
readonly ir: {
|
|
1537
|
+
readonly type: "object";
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
readonly description: "Optional host-supplied typed kibi.logic.v1 interpretations; Kibi validates them before including rule steps.";
|
|
1542
|
+
};
|
|
1543
|
+
readonly scenarioDrafts: {
|
|
1544
|
+
readonly type: "array";
|
|
1545
|
+
readonly maxItems: 20;
|
|
1546
|
+
readonly items: {
|
|
1547
|
+
readonly type: "object";
|
|
1548
|
+
readonly required: readonly ["title", "body"];
|
|
1549
|
+
readonly properties: {
|
|
1550
|
+
readonly id: {
|
|
1551
|
+
readonly type: "string";
|
|
1552
|
+
};
|
|
1553
|
+
readonly title: {
|
|
1554
|
+
readonly type: "string";
|
|
1555
|
+
readonly minLength: 1;
|
|
1556
|
+
};
|
|
1557
|
+
readonly body: {
|
|
1558
|
+
readonly type: "string";
|
|
1559
|
+
readonly minLength: 1;
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
readonly description: "Optional scenario drafts. Each is linked requirement -> scenario with specified_by.";
|
|
1564
|
+
};
|
|
1565
|
+
readonly testDrafts: {
|
|
1566
|
+
readonly type: "array";
|
|
1567
|
+
readonly maxItems: 20;
|
|
1568
|
+
readonly items: {
|
|
1569
|
+
readonly type: "object";
|
|
1570
|
+
readonly required: readonly ["title", "body"];
|
|
1571
|
+
readonly properties: {
|
|
1572
|
+
readonly id: {
|
|
1573
|
+
readonly type: "string";
|
|
1574
|
+
};
|
|
1575
|
+
readonly title: {
|
|
1576
|
+
readonly type: "string";
|
|
1577
|
+
readonly minLength: 1;
|
|
1578
|
+
};
|
|
1579
|
+
readonly body: {
|
|
1580
|
+
readonly type: "string";
|
|
1581
|
+
readonly minLength: 1;
|
|
1582
|
+
};
|
|
1583
|
+
readonly verificationScope: {
|
|
1584
|
+
readonly type: "string";
|
|
1585
|
+
readonly enum: readonly ["unit", "integration", "end_to_end"];
|
|
1586
|
+
};
|
|
1587
|
+
readonly verificationPerspective: {
|
|
1588
|
+
readonly type: "string";
|
|
1589
|
+
readonly enum: readonly ["internal", "consumer"];
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
readonly description: "Optional test drafts. Tests are attached to scenarios with verified_by; direct req -> test proof links are not emitted.";
|
|
1594
|
+
};
|
|
1595
|
+
readonly proposalDecisions: {
|
|
1596
|
+
readonly type: "array";
|
|
1597
|
+
readonly maxItems: 20;
|
|
1598
|
+
readonly items: {
|
|
1599
|
+
readonly type: "object";
|
|
1600
|
+
readonly required: readonly ["proposalId", "decision"];
|
|
1601
|
+
readonly properties: {
|
|
1602
|
+
readonly proposalId: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly minLength: 1;
|
|
1605
|
+
};
|
|
1606
|
+
readonly decision: {
|
|
1607
|
+
readonly type: "string";
|
|
1608
|
+
readonly enum: readonly ["accept", "reject"];
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
readonly description: "Explicit decisions for deterministic traceability proposals. Pending proposals never enter steps.";
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
readonly requiresProlog: true;
|
|
1617
|
+
readonly effects: readonly ["kb-read", "workspace-read"];
|
|
1618
|
+
readonly execute: typeof import("./index.js").executeCompileIntent;
|
|
1619
|
+
}, {
|
|
1620
|
+
readonly name: "kb_apply_plan";
|
|
1621
|
+
readonly cliName: "apply-plan";
|
|
1622
|
+
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.";
|
|
1623
|
+
readonly businessInputSchema: {
|
|
1624
|
+
readonly type: "object";
|
|
1625
|
+
readonly oneOf: readonly [{
|
|
1626
|
+
readonly required: readonly ["plan", "approvedPlanHash"];
|
|
1627
|
+
readonly not: {
|
|
1628
|
+
readonly required: readonly ["recoveryJournalId"];
|
|
1629
|
+
};
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly required: readonly ["recoveryJournalId"];
|
|
1632
|
+
readonly not: {
|
|
1633
|
+
readonly anyOf: readonly [{
|
|
1634
|
+
readonly required: readonly ["plan"];
|
|
1635
|
+
}, {
|
|
1636
|
+
readonly required: readonly ["approvedPlanHash"];
|
|
1637
|
+
}];
|
|
1638
|
+
};
|
|
1639
|
+
}];
|
|
1640
|
+
readonly properties: {
|
|
1641
|
+
readonly approvedPlanHash: {
|
|
1642
|
+
readonly type: "string";
|
|
1643
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1644
|
+
readonly description: "Exact SHA-256 planHash returned by kb_plan_bootstrap, kb_compile_intent, or another approved plan after human review.";
|
|
1645
|
+
};
|
|
1646
|
+
readonly plan: {
|
|
1647
|
+
readonly type: "object";
|
|
1648
|
+
readonly required: readonly ["version", "planHash"];
|
|
1649
|
+
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.";
|
|
1650
|
+
};
|
|
1651
|
+
readonly approvedActionIds: {
|
|
1652
|
+
readonly type: "array";
|
|
1653
|
+
readonly items: {
|
|
1654
|
+
readonly type: "string";
|
|
1655
|
+
readonly minLength: 1;
|
|
1656
|
+
};
|
|
1657
|
+
readonly description: "Required for migration-plan.v2. Exact automatic action IDs explicitly approved for this application.";
|
|
1658
|
+
};
|
|
1659
|
+
readonly recoveryJournalId: {
|
|
1660
|
+
readonly type: "string";
|
|
1661
|
+
readonly pattern: "^[A-Za-z0-9._-]+$";
|
|
1662
|
+
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.";
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
readonly requiresProlog: true;
|
|
1667
|
+
readonly effects: readonly ["kb-read", "kb-write", "workspace-read", "workspace-write"];
|
|
1668
|
+
readonly execute: typeof import("./index.js").executeApplyPlan;
|
|
1669
|
+
}, {
|
|
1670
|
+
readonly name: "kb_ingest_verification";
|
|
1671
|
+
readonly cliName: "ingest-verification";
|
|
1672
|
+
readonly description: "Ingest a reporter-produced kibi.playwright-run.v1 artifact for a contracted test. Revalidates the live workspace snapshot, runner/command contract, required case/project coverage, and append-only receipt history before deriving and appending a kibi.verification-receipt.v2. It never accepts a caller-authored receipt or trusted outcome.";
|
|
1673
|
+
readonly businessInputSchema: {
|
|
1674
|
+
readonly type: "object";
|
|
1675
|
+
readonly required: readonly ["testId", "snapshot", "artifact"];
|
|
1676
|
+
readonly properties: {
|
|
1677
|
+
readonly testId: {
|
|
1678
|
+
readonly type: "string";
|
|
1679
|
+
readonly minLength: 1;
|
|
1680
|
+
readonly description: "Existing test entity with verification_contract.v1.";
|
|
1681
|
+
};
|
|
1682
|
+
readonly snapshot: {
|
|
1683
|
+
readonly type: "string";
|
|
1684
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1685
|
+
readonly description: "Workspace verification snapshot captured immediately before the run.";
|
|
1686
|
+
};
|
|
1687
|
+
readonly artifact: {
|
|
1688
|
+
readonly type: "object";
|
|
1689
|
+
readonly required: readonly ["version", "runner", "command_argv", "code_snapshot", "environment_hash", "started_at", "finished_at", "process_exit_code", "cases"];
|
|
1690
|
+
readonly properties: {
|
|
1691
|
+
readonly version: {
|
|
1692
|
+
readonly type: "string";
|
|
1693
|
+
readonly const: "kibi.playwright-run.v1";
|
|
1694
|
+
};
|
|
1695
|
+
readonly runner: {
|
|
1696
|
+
readonly type: "string";
|
|
1697
|
+
readonly minLength: 1;
|
|
1698
|
+
};
|
|
1699
|
+
readonly command_argv: {
|
|
1700
|
+
readonly type: "array";
|
|
1701
|
+
readonly minItems: 1;
|
|
1702
|
+
readonly items: {
|
|
1703
|
+
readonly type: "string";
|
|
1704
|
+
readonly minLength: 1;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
readonly code_snapshot: {
|
|
1708
|
+
readonly type: "string";
|
|
1709
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1710
|
+
};
|
|
1711
|
+
readonly environment_hash: {
|
|
1712
|
+
readonly type: "string";
|
|
1713
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
1714
|
+
};
|
|
1715
|
+
readonly started_at: {
|
|
1716
|
+
readonly type: "string";
|
|
1717
|
+
readonly minLength: 1;
|
|
1718
|
+
};
|
|
1719
|
+
readonly finished_at: {
|
|
1720
|
+
readonly type: "string";
|
|
1721
|
+
readonly minLength: 1;
|
|
1722
|
+
};
|
|
1723
|
+
readonly process_exit_code: {
|
|
1724
|
+
readonly type: "integer";
|
|
1725
|
+
};
|
|
1726
|
+
readonly cases: {
|
|
1727
|
+
readonly type: "array";
|
|
1728
|
+
readonly minItems: 1;
|
|
1729
|
+
readonly maxItems: 1000;
|
|
1730
|
+
readonly items: {
|
|
1731
|
+
readonly type: "object";
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
readonly additionalProperties: true;
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1739
|
+
readonly requiresProlog: true;
|
|
1740
|
+
readonly effects: readonly ["kb-read", "kb-write", "workspace-read"];
|
|
1741
|
+
readonly execute: typeof import("./index.js").executeIngestVerification;
|
|
1128
1742
|
}];
|
|
1129
|
-
export declare function
|
|
1130
|
-
export declare function
|
|
1743
|
+
export declare function withContractDefaults(spec: OperationSpec): ResolvedOperationSpec;
|
|
1744
|
+
export declare function getSpec(name: OperationName): ResolvedOperationSpec;
|
|
1745
|
+
export declare function listSpecs(): readonly ResolvedOperationSpec[];
|
|
1131
1746
|
//# sourceMappingURL=catalog.d.ts.map
|