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
|
@@ -7,63 +7,129 @@
|
|
|
7
7
|
"oneOf": [
|
|
8
8
|
{
|
|
9
9
|
"type": "object",
|
|
10
|
-
"required": [
|
|
10
|
+
"required": [
|
|
11
|
+
"kind",
|
|
12
|
+
"name",
|
|
13
|
+
"type"
|
|
14
|
+
],
|
|
11
15
|
"properties": {
|
|
12
|
-
"kind": {
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
"kind": {
|
|
17
|
+
"const": "var"
|
|
18
|
+
},
|
|
19
|
+
"name": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^[A-Z][A-Za-z0-9_]*$"
|
|
22
|
+
},
|
|
23
|
+
"type": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
26
|
+
}
|
|
15
27
|
},
|
|
16
28
|
"additionalProperties": false
|
|
17
29
|
},
|
|
18
30
|
{
|
|
19
31
|
"type": "object",
|
|
20
|
-
"required": [
|
|
32
|
+
"required": [
|
|
33
|
+
"kind",
|
|
34
|
+
"value"
|
|
35
|
+
],
|
|
21
36
|
"properties": {
|
|
22
|
-
"kind": {
|
|
23
|
-
|
|
24
|
-
|
|
37
|
+
"kind": {
|
|
38
|
+
"const": "const"
|
|
39
|
+
},
|
|
40
|
+
"value": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1
|
|
43
|
+
},
|
|
44
|
+
"type": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
47
|
+
}
|
|
25
48
|
},
|
|
26
49
|
"additionalProperties": false
|
|
27
50
|
},
|
|
28
51
|
{
|
|
29
52
|
"type": "object",
|
|
30
|
-
"required": [
|
|
53
|
+
"required": [
|
|
54
|
+
"kind",
|
|
55
|
+
"value"
|
|
56
|
+
],
|
|
31
57
|
"properties": {
|
|
32
|
-
"kind": {
|
|
33
|
-
|
|
34
|
-
|
|
58
|
+
"kind": {
|
|
59
|
+
"const": "number"
|
|
60
|
+
},
|
|
61
|
+
"value": {
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
64
|
+
"unit": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
67
|
+
}
|
|
35
68
|
},
|
|
36
69
|
"additionalProperties": false
|
|
37
70
|
},
|
|
38
71
|
{
|
|
39
72
|
"type": "object",
|
|
40
|
-
"required": [
|
|
73
|
+
"required": [
|
|
74
|
+
"kind",
|
|
75
|
+
"value",
|
|
76
|
+
"unit"
|
|
77
|
+
],
|
|
41
78
|
"properties": {
|
|
42
|
-
"kind": {
|
|
43
|
-
|
|
79
|
+
"kind": {
|
|
80
|
+
"const": "duration"
|
|
81
|
+
},
|
|
82
|
+
"value": {
|
|
83
|
+
"type": "number",
|
|
84
|
+
"minimum": 0
|
|
85
|
+
},
|
|
44
86
|
"unit": {
|
|
45
87
|
"type": "string",
|
|
46
|
-
"enum": [
|
|
88
|
+
"enum": [
|
|
89
|
+
"ms",
|
|
90
|
+
"s",
|
|
91
|
+
"m",
|
|
92
|
+
"h",
|
|
93
|
+
"d",
|
|
94
|
+
"w"
|
|
95
|
+
]
|
|
47
96
|
}
|
|
48
97
|
},
|
|
49
98
|
"additionalProperties": false
|
|
50
99
|
},
|
|
51
100
|
{
|
|
52
101
|
"type": "object",
|
|
53
|
-
"required": [
|
|
102
|
+
"required": [
|
|
103
|
+
"kind",
|
|
104
|
+
"value"
|
|
105
|
+
],
|
|
54
106
|
"properties": {
|
|
55
|
-
"kind": {
|
|
56
|
-
|
|
107
|
+
"kind": {
|
|
108
|
+
"const": "timestamp"
|
|
109
|
+
},
|
|
110
|
+
"value": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
}
|
|
57
113
|
},
|
|
58
114
|
"additionalProperties": false
|
|
59
115
|
},
|
|
60
116
|
{
|
|
61
117
|
"type": "object",
|
|
62
|
-
"required": [
|
|
118
|
+
"required": [
|
|
119
|
+
"kind",
|
|
120
|
+
"start",
|
|
121
|
+
"end"
|
|
122
|
+
],
|
|
63
123
|
"properties": {
|
|
64
|
-
"kind": {
|
|
65
|
-
|
|
66
|
-
|
|
124
|
+
"kind": {
|
|
125
|
+
"const": "interval"
|
|
126
|
+
},
|
|
127
|
+
"start": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"end": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
}
|
|
67
133
|
},
|
|
68
134
|
"additionalProperties": false
|
|
69
135
|
}
|
|
@@ -71,74 +137,162 @@
|
|
|
71
137
|
},
|
|
72
138
|
"logicAtom": {
|
|
73
139
|
"type": "object",
|
|
74
|
-
"required": [
|
|
140
|
+
"required": [
|
|
141
|
+
"kind",
|
|
142
|
+
"name",
|
|
143
|
+
"args"
|
|
144
|
+
],
|
|
75
145
|
"properties": {
|
|
76
|
-
"kind": {
|
|
77
|
-
|
|
78
|
-
|
|
146
|
+
"kind": {
|
|
147
|
+
"const": "atom"
|
|
148
|
+
},
|
|
149
|
+
"namespace": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
152
|
+
},
|
|
153
|
+
"name": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
156
|
+
},
|
|
79
157
|
"args": {
|
|
80
158
|
"type": "array",
|
|
81
159
|
"maxItems": 8,
|
|
82
|
-
"items": {
|
|
160
|
+
"items": {
|
|
161
|
+
"$ref": "#/$defs/logicTerm"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"polarity": {
|
|
165
|
+
"enum": [
|
|
166
|
+
"positive",
|
|
167
|
+
"negative"
|
|
168
|
+
]
|
|
83
169
|
},
|
|
84
|
-
"
|
|
85
|
-
|
|
170
|
+
"closedWorld": {
|
|
171
|
+
"type": "boolean"
|
|
172
|
+
}
|
|
86
173
|
},
|
|
87
174
|
"additionalProperties": false
|
|
88
175
|
},
|
|
89
176
|
"logicExpression": {
|
|
90
177
|
"oneOf": [
|
|
91
|
-
{
|
|
178
|
+
{
|
|
179
|
+
"$ref": "#/$defs/logicAtom"
|
|
180
|
+
},
|
|
92
181
|
{
|
|
93
182
|
"type": "object",
|
|
94
|
-
"required": [
|
|
183
|
+
"required": [
|
|
184
|
+
"kind",
|
|
185
|
+
"items"
|
|
186
|
+
],
|
|
95
187
|
"properties": {
|
|
96
|
-
"kind": {
|
|
188
|
+
"kind": {
|
|
189
|
+
"enum": [
|
|
190
|
+
"all",
|
|
191
|
+
"any"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
97
194
|
"items": {
|
|
98
195
|
"type": "array",
|
|
99
196
|
"minItems": 1,
|
|
100
197
|
"maxItems": 32,
|
|
101
|
-
"items": {
|
|
198
|
+
"items": {
|
|
199
|
+
"$ref": "#/$defs/logicExpression"
|
|
200
|
+
}
|
|
102
201
|
}
|
|
103
202
|
},
|
|
104
203
|
"additionalProperties": false
|
|
105
204
|
},
|
|
106
205
|
{
|
|
107
206
|
"type": "object",
|
|
108
|
-
"required": [
|
|
207
|
+
"required": [
|
|
208
|
+
"kind",
|
|
209
|
+
"item"
|
|
210
|
+
],
|
|
109
211
|
"properties": {
|
|
110
|
-
"kind": {
|
|
111
|
-
|
|
212
|
+
"kind": {
|
|
213
|
+
"const": "not"
|
|
214
|
+
},
|
|
215
|
+
"item": {
|
|
216
|
+
"$ref": "#/$defs/logicAtom"
|
|
217
|
+
}
|
|
112
218
|
},
|
|
113
219
|
"additionalProperties": false
|
|
114
220
|
},
|
|
115
221
|
{
|
|
116
222
|
"type": "object",
|
|
117
|
-
"required": [
|
|
223
|
+
"required": [
|
|
224
|
+
"kind",
|
|
225
|
+
"operator",
|
|
226
|
+
"left",
|
|
227
|
+
"right"
|
|
228
|
+
],
|
|
118
229
|
"properties": {
|
|
119
|
-
"kind": {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"
|
|
230
|
+
"kind": {
|
|
231
|
+
"const": "compare"
|
|
232
|
+
},
|
|
233
|
+
"operator": {
|
|
234
|
+
"enum": [
|
|
235
|
+
"eq",
|
|
236
|
+
"neq",
|
|
237
|
+
"lt",
|
|
238
|
+
"lte",
|
|
239
|
+
"gt",
|
|
240
|
+
"gte"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"left": {
|
|
244
|
+
"$ref": "#/$defs/logicTerm"
|
|
245
|
+
},
|
|
246
|
+
"right": {
|
|
247
|
+
"$ref": "#/$defs/logicTerm"
|
|
248
|
+
}
|
|
123
249
|
},
|
|
124
250
|
"additionalProperties": false
|
|
125
251
|
},
|
|
126
252
|
{
|
|
127
253
|
"type": "object",
|
|
128
|
-
"required": [
|
|
254
|
+
"required": [
|
|
255
|
+
"kind",
|
|
256
|
+
"atom",
|
|
257
|
+
"operator",
|
|
258
|
+
"value"
|
|
259
|
+
],
|
|
129
260
|
"properties": {
|
|
130
|
-
"kind": {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"
|
|
261
|
+
"kind": {
|
|
262
|
+
"const": "count"
|
|
263
|
+
},
|
|
264
|
+
"atom": {
|
|
265
|
+
"$ref": "#/$defs/logicAtom"
|
|
266
|
+
},
|
|
267
|
+
"operator": {
|
|
268
|
+
"enum": [
|
|
269
|
+
"eq",
|
|
270
|
+
"neq",
|
|
271
|
+
"lt",
|
|
272
|
+
"lte",
|
|
273
|
+
"gt",
|
|
274
|
+
"gte"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"value": {
|
|
278
|
+
"type": "integer",
|
|
279
|
+
"minimum": 0
|
|
280
|
+
}
|
|
134
281
|
},
|
|
135
282
|
"additionalProperties": false
|
|
136
283
|
},
|
|
137
284
|
{
|
|
138
285
|
"type": "object",
|
|
139
|
-
"required": [
|
|
286
|
+
"required": [
|
|
287
|
+
"kind",
|
|
288
|
+
"relation",
|
|
289
|
+
"left",
|
|
290
|
+
"right"
|
|
291
|
+
],
|
|
140
292
|
"properties": {
|
|
141
|
-
"kind": {
|
|
293
|
+
"kind": {
|
|
294
|
+
"const": "temporal"
|
|
295
|
+
},
|
|
142
296
|
"relation": {
|
|
143
297
|
"enum": [
|
|
144
298
|
"before",
|
|
@@ -149,8 +303,12 @@
|
|
|
149
303
|
"finishes"
|
|
150
304
|
]
|
|
151
305
|
},
|
|
152
|
-
"left": {
|
|
153
|
-
|
|
306
|
+
"left": {
|
|
307
|
+
"$ref": "#/$defs/logicTerm"
|
|
308
|
+
},
|
|
309
|
+
"right": {
|
|
310
|
+
"$ref": "#/$defs/logicTerm"
|
|
311
|
+
}
|
|
154
312
|
},
|
|
155
313
|
"additionalProperties": false
|
|
156
314
|
}
|
|
@@ -158,28 +316,61 @@
|
|
|
158
316
|
},
|
|
159
317
|
"logicRule": {
|
|
160
318
|
"type": "object",
|
|
161
|
-
"required": [
|
|
319
|
+
"required": [
|
|
320
|
+
"version",
|
|
321
|
+
"kind",
|
|
322
|
+
"modality"
|
|
323
|
+
],
|
|
162
324
|
"properties": {
|
|
163
|
-
"version": {
|
|
164
|
-
|
|
325
|
+
"version": {
|
|
326
|
+
"const": "kibi.logic.v1"
|
|
327
|
+
},
|
|
328
|
+
"kind": {
|
|
329
|
+
"enum": [
|
|
330
|
+
"atom",
|
|
331
|
+
"rule",
|
|
332
|
+
"constraint"
|
|
333
|
+
]
|
|
334
|
+
},
|
|
165
335
|
"modality": {
|
|
166
|
-
"enum": [
|
|
336
|
+
"enum": [
|
|
337
|
+
"assert",
|
|
338
|
+
"deny",
|
|
339
|
+
"oblige",
|
|
340
|
+
"permit",
|
|
341
|
+
"forbid"
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"head": {
|
|
345
|
+
"$ref": "#/$defs/logicAtom"
|
|
346
|
+
},
|
|
347
|
+
"body": {
|
|
348
|
+
"$ref": "#/$defs/logicExpression"
|
|
167
349
|
},
|
|
168
|
-
"head": { "$ref": "#/$defs/logicAtom" },
|
|
169
|
-
"body": { "$ref": "#/$defs/logicExpression" },
|
|
170
350
|
"variables": {
|
|
171
351
|
"type": "array",
|
|
172
352
|
"maxItems": 32,
|
|
173
353
|
"items": {
|
|
174
354
|
"type": "object",
|
|
175
|
-
"required": [
|
|
355
|
+
"required": [
|
|
356
|
+
"name",
|
|
357
|
+
"type"
|
|
358
|
+
],
|
|
176
359
|
"properties": {
|
|
177
|
-
"name": {
|
|
360
|
+
"name": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"pattern": "^[A-Z][A-Za-z0-9_]*$"
|
|
363
|
+
},
|
|
178
364
|
"type": {
|
|
179
365
|
"type": "string",
|
|
180
366
|
"pattern": "^[a-z][a-z0-9_:.\\/-]*$"
|
|
181
367
|
},
|
|
182
|
-
"quantifier": {
|
|
368
|
+
"quantifier": {
|
|
369
|
+
"enum": [
|
|
370
|
+
"forall",
|
|
371
|
+
"exists"
|
|
372
|
+
]
|
|
373
|
+
}
|
|
183
374
|
},
|
|
184
375
|
"additionalProperties": false
|
|
185
376
|
}
|
|
@@ -187,27 +378,49 @@
|
|
|
187
378
|
"exceptions": {
|
|
188
379
|
"type": "array",
|
|
189
380
|
"maxItems": 16,
|
|
190
|
-
"items": {
|
|
381
|
+
"items": {
|
|
382
|
+
"$ref": "#/$defs/logicExpression"
|
|
383
|
+
}
|
|
191
384
|
},
|
|
192
385
|
"scope": {
|
|
193
386
|
"type": "object",
|
|
194
387
|
"properties": {
|
|
195
|
-
"authority": {
|
|
196
|
-
|
|
197
|
-
|
|
388
|
+
"authority": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
},
|
|
391
|
+
"name": {
|
|
392
|
+
"type": "string"
|
|
393
|
+
},
|
|
394
|
+
"tags": {
|
|
395
|
+
"type": "array",
|
|
396
|
+
"items": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
198
400
|
},
|
|
199
401
|
"additionalProperties": false
|
|
200
402
|
},
|
|
201
|
-
"validFrom": {
|
|
202
|
-
|
|
203
|
-
|
|
403
|
+
"validFrom": {
|
|
404
|
+
"type": "string"
|
|
405
|
+
},
|
|
406
|
+
"validTo": {
|
|
407
|
+
"type": "string"
|
|
408
|
+
},
|
|
409
|
+
"ruleSchemaId": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"minLength": 1
|
|
412
|
+
}
|
|
204
413
|
},
|
|
205
414
|
"additionalProperties": false
|
|
206
415
|
}
|
|
207
416
|
},
|
|
208
417
|
"properties": {
|
|
209
|
-
"id": {
|
|
210
|
-
|
|
418
|
+
"id": {
|
|
419
|
+
"type": "string"
|
|
420
|
+
},
|
|
421
|
+
"title": {
|
|
422
|
+
"type": "string"
|
|
423
|
+
},
|
|
211
424
|
"status": {
|
|
212
425
|
"type": "string",
|
|
213
426
|
"enum": [
|
|
@@ -232,15 +445,48 @@
|
|
|
232
445
|
"removed"
|
|
233
446
|
]
|
|
234
447
|
},
|
|
235
|
-
"created_at": {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
448
|
+
"created_at": {
|
|
449
|
+
"type": "string"
|
|
450
|
+
},
|
|
451
|
+
"updated_at": {
|
|
452
|
+
"type": "string"
|
|
453
|
+
},
|
|
454
|
+
"source": {
|
|
455
|
+
"type": "string"
|
|
456
|
+
},
|
|
457
|
+
"tags": {
|
|
458
|
+
"type": "array",
|
|
459
|
+
"items": {
|
|
460
|
+
"type": "string"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"owner": {
|
|
464
|
+
"type": "string"
|
|
465
|
+
},
|
|
466
|
+
"priority": {
|
|
467
|
+
"type": "string"
|
|
468
|
+
},
|
|
469
|
+
"severity": {
|
|
470
|
+
"type": "string"
|
|
471
|
+
},
|
|
472
|
+
"links": {
|
|
473
|
+
"type": "array",
|
|
474
|
+
"items": {
|
|
475
|
+
"type": "string"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"text_ref": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"proof_exempt": {
|
|
482
|
+
"type": "boolean",
|
|
483
|
+
"description": "Requirement-only. Marks a current requirement as intentionally outside E2E-proof scope; requires proof_exempt_reason."
|
|
484
|
+
},
|
|
485
|
+
"proof_exempt_reason": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"minLength": 1,
|
|
488
|
+
"description": "Requirement-only. Required when proof_exempt is true; surfaces as the applicability reason in coverage rows."
|
|
489
|
+
},
|
|
244
490
|
"semantic_text": {
|
|
245
491
|
"type": "string",
|
|
246
492
|
"description": "Requirement-only authored prose whose exact UTF-8 bytes anchor the semantic inventory without replacing text_ref evidence."
|
|
@@ -249,12 +495,18 @@
|
|
|
249
495
|
"type": "array",
|
|
250
496
|
"minItems": 1,
|
|
251
497
|
"uniqueItems": true,
|
|
252
|
-
"items": {
|
|
498
|
+
"items": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"pattern": "^CLAIM-[A-F0-9]{16}$"
|
|
501
|
+
}
|
|
253
502
|
},
|
|
254
503
|
"semantic_clauses": {
|
|
255
504
|
"type": "array",
|
|
256
505
|
"minItems": 1,
|
|
257
|
-
"items": {
|
|
506
|
+
"items": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"minLength": 1
|
|
509
|
+
}
|
|
258
510
|
},
|
|
259
511
|
"semantic_inventory_version": {
|
|
260
512
|
"type": "string",
|
|
@@ -262,7 +514,11 @@
|
|
|
262
514
|
},
|
|
263
515
|
"semantic_source_field": {
|
|
264
516
|
"type": "string",
|
|
265
|
-
"enum": [
|
|
517
|
+
"enum": [
|
|
518
|
+
"semantic_text",
|
|
519
|
+
"text_ref",
|
|
520
|
+
"title"
|
|
521
|
+
]
|
|
266
522
|
},
|
|
267
523
|
"semantic_source_hash": {
|
|
268
524
|
"type": "string",
|
|
@@ -272,10 +528,22 @@
|
|
|
272
528
|
"type": "array",
|
|
273
529
|
"items": {
|
|
274
530
|
"type": "object",
|
|
275
|
-
"required": [
|
|
531
|
+
"required": [
|
|
532
|
+
"claim_key",
|
|
533
|
+
"claim_text",
|
|
534
|
+
"role",
|
|
535
|
+
"status",
|
|
536
|
+
"span"
|
|
537
|
+
],
|
|
276
538
|
"properties": {
|
|
277
|
-
"claim_key": {
|
|
278
|
-
|
|
539
|
+
"claim_key": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"pattern": "^CLAIM-[A-F0-9]{16}$"
|
|
542
|
+
},
|
|
543
|
+
"claim_text": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"minLength": 1
|
|
546
|
+
},
|
|
279
547
|
"role": {
|
|
280
548
|
"type": "string",
|
|
281
549
|
"enum": [
|
|
@@ -301,28 +569,46 @@
|
|
|
301
569
|
},
|
|
302
570
|
"span": {
|
|
303
571
|
"type": "object",
|
|
304
|
-
"required": [
|
|
572
|
+
"required": [
|
|
573
|
+
"start",
|
|
574
|
+
"end"
|
|
575
|
+
],
|
|
305
576
|
"properties": {
|
|
306
|
-
"start": {
|
|
307
|
-
|
|
577
|
+
"start": {
|
|
578
|
+
"type": "integer",
|
|
579
|
+
"minimum": 0
|
|
580
|
+
},
|
|
581
|
+
"end": {
|
|
582
|
+
"type": "integer",
|
|
583
|
+
"minimum": 0
|
|
584
|
+
}
|
|
308
585
|
},
|
|
309
586
|
"additionalProperties": false
|
|
310
587
|
},
|
|
311
|
-
"semantic_key": {
|
|
312
|
-
|
|
313
|
-
|
|
588
|
+
"semantic_key": {
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"payload_hash": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
"reason": {
|
|
595
|
+
"type": "string"
|
|
596
|
+
}
|
|
314
597
|
},
|
|
315
598
|
"additionalProperties": false
|
|
316
599
|
}
|
|
317
600
|
},
|
|
318
|
-
"sourceFile": {
|
|
601
|
+
"sourceFile": {
|
|
602
|
+
"type": "string"
|
|
603
|
+
},
|
|
319
604
|
"granularity_reason": {
|
|
320
605
|
"type": "string",
|
|
321
606
|
"enum": [
|
|
322
607
|
"config-artifact",
|
|
323
608
|
"module-level-behavior",
|
|
324
609
|
"extractor-miss",
|
|
325
|
-
"legacy-link"
|
|
610
|
+
"legacy-link",
|
|
611
|
+
"test-suite"
|
|
326
612
|
]
|
|
327
613
|
},
|
|
328
614
|
"symbol_role": {
|
|
@@ -338,50 +624,167 @@
|
|
|
338
624
|
},
|
|
339
625
|
"verification_scope": {
|
|
340
626
|
"type": "string",
|
|
341
|
-
"enum": [
|
|
627
|
+
"enum": [
|
|
628
|
+
"unit",
|
|
629
|
+
"integration",
|
|
630
|
+
"end_to_end"
|
|
631
|
+
]
|
|
342
632
|
},
|
|
343
633
|
"verification_perspective": {
|
|
344
634
|
"type": "string",
|
|
345
|
-
"enum": [
|
|
635
|
+
"enum": [
|
|
636
|
+
"internal",
|
|
637
|
+
"consumer"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
"proof_contract": {
|
|
641
|
+
"type": "object",
|
|
642
|
+
"description": "Semantic proof contract binding a test to explicit proof obligations executed by a configured integration.",
|
|
643
|
+
"required": [
|
|
644
|
+
"version",
|
|
645
|
+
"integration",
|
|
646
|
+
"required_proofs",
|
|
647
|
+
"success_policy"
|
|
648
|
+
],
|
|
649
|
+
"properties": {
|
|
650
|
+
"version": {
|
|
651
|
+
"type": "string",
|
|
652
|
+
"const": "kibi.proof-contract.v1"
|
|
653
|
+
},
|
|
654
|
+
"integration": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"minLength": 1
|
|
657
|
+
},
|
|
658
|
+
"required_proofs": {
|
|
659
|
+
"type": "array",
|
|
660
|
+
"minItems": 1,
|
|
661
|
+
"maxItems": 1000,
|
|
662
|
+
"items": {
|
|
663
|
+
"type": "object",
|
|
664
|
+
"required": [
|
|
665
|
+
"symbol_id",
|
|
666
|
+
"target"
|
|
667
|
+
],
|
|
668
|
+
"properties": {
|
|
669
|
+
"symbol_id": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"minLength": 1
|
|
672
|
+
},
|
|
673
|
+
"target": {
|
|
674
|
+
"type": "string",
|
|
675
|
+
"minLength": 1
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"additionalProperties": false
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"success_policy": {
|
|
682
|
+
"type": "string",
|
|
683
|
+
"enum": [
|
|
684
|
+
"all_required_first_attempt"
|
|
685
|
+
]
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"additionalProperties": false
|
|
689
|
+
},
|
|
690
|
+
"proof_bindings": {
|
|
691
|
+
"type": "array",
|
|
692
|
+
"description": "Optional native-runner bindings for proof obligations. Bindings are provenance metadata; they never replace the semantic proof contract.",
|
|
693
|
+
"items": {
|
|
694
|
+
"type": "object",
|
|
695
|
+
"required": [
|
|
696
|
+
"symbol_id",
|
|
697
|
+
"target"
|
|
698
|
+
],
|
|
699
|
+
"properties": {
|
|
700
|
+
"symbol_id": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"minLength": 1
|
|
703
|
+
},
|
|
704
|
+
"target": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"minLength": 1
|
|
707
|
+
},
|
|
708
|
+
"native_id": {
|
|
709
|
+
"type": "string",
|
|
710
|
+
"minLength": 1
|
|
711
|
+
},
|
|
712
|
+
"aliases": {
|
|
713
|
+
"type": "array",
|
|
714
|
+
"items": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"minLength": 1
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"source_file": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"minLength": 1
|
|
722
|
+
},
|
|
723
|
+
"line": {
|
|
724
|
+
"type": "integer",
|
|
725
|
+
"minimum": 1
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"additionalProperties": false
|
|
729
|
+
}
|
|
346
730
|
},
|
|
347
|
-
"
|
|
731
|
+
"proof_receipts": {
|
|
348
732
|
"type": "array",
|
|
349
|
-
"maxItems": 50,
|
|
350
733
|
"items": {
|
|
351
734
|
"type": "object",
|
|
735
|
+
"description": "Kibi-derived kibi.proof-receipt.v1. Receipts are never caller-authored; kb_ingest_proof derives them from kibi.proof-run.v1 artifacts.",
|
|
352
736
|
"required": [
|
|
353
737
|
"version",
|
|
354
738
|
"receipt_id",
|
|
355
739
|
"test_id",
|
|
356
|
-
"runner",
|
|
357
|
-
"command",
|
|
358
740
|
"scope",
|
|
359
741
|
"outcome",
|
|
360
742
|
"code_snapshot",
|
|
361
743
|
"environment_hash",
|
|
362
744
|
"started_at",
|
|
363
745
|
"finished_at",
|
|
364
|
-
"artifact_digest"
|
|
746
|
+
"artifact_digest",
|
|
747
|
+
"contract_hash",
|
|
748
|
+
"fingerprint",
|
|
749
|
+
"fingerprint_components",
|
|
750
|
+
"integration_id",
|
|
751
|
+
"producer",
|
|
752
|
+
"command_argv",
|
|
753
|
+
"run_outcome",
|
|
754
|
+
"proof_results"
|
|
365
755
|
],
|
|
366
756
|
"properties": {
|
|
367
757
|
"version": {
|
|
368
758
|
"type": "string",
|
|
369
|
-
"const": "kibi.
|
|
759
|
+
"const": "kibi.proof-receipt.v1"
|
|
370
760
|
},
|
|
371
761
|
"receipt_id": {
|
|
372
762
|
"type": "string",
|
|
373
|
-
"pattern": "^
|
|
763
|
+
"pattern": "^PR-[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
|
|
764
|
+
},
|
|
765
|
+
"test_id": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"minLength": 1
|
|
374
768
|
},
|
|
375
|
-
"test_id": { "type": "string", "minLength": 1 },
|
|
376
|
-
"runner": { "type": "string", "minLength": 1 },
|
|
377
|
-
"command": { "type": "string", "minLength": 1 },
|
|
378
769
|
"scope": {
|
|
379
770
|
"type": "string",
|
|
380
|
-
"enum": [
|
|
771
|
+
"enum": [
|
|
772
|
+
"unit",
|
|
773
|
+
"integration",
|
|
774
|
+
"end_to_end"
|
|
775
|
+
]
|
|
381
776
|
},
|
|
382
777
|
"outcome": {
|
|
383
778
|
"type": "string",
|
|
384
|
-
"enum": [
|
|
779
|
+
"enum": [
|
|
780
|
+
"passed",
|
|
781
|
+
"failed",
|
|
782
|
+
"errored",
|
|
783
|
+
"cancelled",
|
|
784
|
+
"skipped",
|
|
785
|
+
"timed_out",
|
|
786
|
+
"interrupted"
|
|
787
|
+
]
|
|
385
788
|
},
|
|
386
789
|
"code_snapshot": {
|
|
387
790
|
"type": "string",
|
|
@@ -391,11 +794,236 @@
|
|
|
391
794
|
"type": "string",
|
|
392
795
|
"pattern": "^[a-f0-9]{64}$"
|
|
393
796
|
},
|
|
394
|
-
"started_at": {
|
|
395
|
-
|
|
797
|
+
"started_at": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"minLength": 1
|
|
800
|
+
},
|
|
801
|
+
"finished_at": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"minLength": 1
|
|
804
|
+
},
|
|
396
805
|
"artifact_digest": {
|
|
397
806
|
"type": "string",
|
|
398
807
|
"pattern": "^[a-f0-9]{64}$"
|
|
808
|
+
},
|
|
809
|
+
"contract_hash": {
|
|
810
|
+
"type": "string",
|
|
811
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
812
|
+
},
|
|
813
|
+
"binding_hash": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
816
|
+
},
|
|
817
|
+
"fingerprint": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
820
|
+
},
|
|
821
|
+
"fingerprint_components": {
|
|
822
|
+
"type": "object",
|
|
823
|
+
"required": [
|
|
824
|
+
"contract",
|
|
825
|
+
"integration",
|
|
826
|
+
"command",
|
|
827
|
+
"bindings",
|
|
828
|
+
"producer"
|
|
829
|
+
],
|
|
830
|
+
"additionalProperties": false,
|
|
831
|
+
"properties": {
|
|
832
|
+
"contract": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
835
|
+
},
|
|
836
|
+
"integration": {
|
|
837
|
+
"type": "string",
|
|
838
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
839
|
+
},
|
|
840
|
+
"command": {
|
|
841
|
+
"type": "string",
|
|
842
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
843
|
+
},
|
|
844
|
+
"bindings": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
847
|
+
},
|
|
848
|
+
"producer": {
|
|
849
|
+
"type": "string",
|
|
850
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
"integration_id": {
|
|
855
|
+
"type": "string",
|
|
856
|
+
"minLength": 1
|
|
857
|
+
},
|
|
858
|
+
"producer": {
|
|
859
|
+
"type": "object",
|
|
860
|
+
"required": [
|
|
861
|
+
"name"
|
|
862
|
+
],
|
|
863
|
+
"properties": {
|
|
864
|
+
"name": {
|
|
865
|
+
"type": "string",
|
|
866
|
+
"minLength": 1
|
|
867
|
+
},
|
|
868
|
+
"version": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"minLength": 1
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"additionalProperties": false
|
|
874
|
+
},
|
|
875
|
+
"command_argv": {
|
|
876
|
+
"type": "array",
|
|
877
|
+
"minItems": 1,
|
|
878
|
+
"items": {
|
|
879
|
+
"type": "string",
|
|
880
|
+
"minLength": 1
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"run_outcome": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"enum": [
|
|
886
|
+
"passed",
|
|
887
|
+
"failed",
|
|
888
|
+
"errored",
|
|
889
|
+
"cancelled",
|
|
890
|
+
"timed_out",
|
|
891
|
+
"interrupted",
|
|
892
|
+
"no_results"
|
|
893
|
+
]
|
|
894
|
+
},
|
|
895
|
+
"proof_results": {
|
|
896
|
+
"type": "array",
|
|
897
|
+
"minItems": 0,
|
|
898
|
+
"maxItems": 1000,
|
|
899
|
+
"items": {
|
|
900
|
+
"type": "object",
|
|
901
|
+
"required": [
|
|
902
|
+
"symbol_id",
|
|
903
|
+
"target",
|
|
904
|
+
"outcome",
|
|
905
|
+
"binding",
|
|
906
|
+
"attempts"
|
|
907
|
+
],
|
|
908
|
+
"properties": {
|
|
909
|
+
"symbol_id": {
|
|
910
|
+
"type": "string",
|
|
911
|
+
"minLength": 1
|
|
912
|
+
},
|
|
913
|
+
"target": {
|
|
914
|
+
"type": "string",
|
|
915
|
+
"minLength": 1
|
|
916
|
+
},
|
|
917
|
+
"outcome": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"enum": [
|
|
920
|
+
"passed",
|
|
921
|
+
"failed",
|
|
922
|
+
"timed_out",
|
|
923
|
+
"skipped",
|
|
924
|
+
"interrupted",
|
|
925
|
+
"errored"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"binding": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"enum": [
|
|
931
|
+
"native_case",
|
|
932
|
+
"aggregate_run"
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"native_id": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"minLength": 1
|
|
938
|
+
},
|
|
939
|
+
"attempts": {
|
|
940
|
+
"oneOf": [
|
|
941
|
+
{
|
|
942
|
+
"type": "object",
|
|
943
|
+
"required": [
|
|
944
|
+
"status",
|
|
945
|
+
"entries"
|
|
946
|
+
],
|
|
947
|
+
"properties": {
|
|
948
|
+
"status": {
|
|
949
|
+
"type": "string",
|
|
950
|
+
"const": "complete"
|
|
951
|
+
},
|
|
952
|
+
"entries": {
|
|
953
|
+
"type": "array",
|
|
954
|
+
"minItems": 1,
|
|
955
|
+
"items": {
|
|
956
|
+
"type": "object",
|
|
957
|
+
"required": [
|
|
958
|
+
"outcome"
|
|
959
|
+
],
|
|
960
|
+
"properties": {
|
|
961
|
+
"outcome": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"enum": [
|
|
964
|
+
"passed",
|
|
965
|
+
"failed",
|
|
966
|
+
"timed_out",
|
|
967
|
+
"skipped",
|
|
968
|
+
"interrupted",
|
|
969
|
+
"errored"
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
"duration_ms": {
|
|
973
|
+
"type": "number",
|
|
974
|
+
"minimum": 0
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"additionalProperties": false
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"additionalProperties": false
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"type": "object",
|
|
985
|
+
"required": [
|
|
986
|
+
"status"
|
|
987
|
+
],
|
|
988
|
+
"properties": {
|
|
989
|
+
"status": {
|
|
990
|
+
"type": "string",
|
|
991
|
+
"const": "unavailable"
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
"additionalProperties": false
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"additionalProperties": false
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"gaps": {
|
|
1003
|
+
"type": "array",
|
|
1004
|
+
"items": {
|
|
1005
|
+
"type": "object",
|
|
1006
|
+
"required": [
|
|
1007
|
+
"symbol_id",
|
|
1008
|
+
"target",
|
|
1009
|
+
"reason"
|
|
1010
|
+
],
|
|
1011
|
+
"properties": {
|
|
1012
|
+
"symbol_id": {
|
|
1013
|
+
"type": "string",
|
|
1014
|
+
"minLength": 1
|
|
1015
|
+
},
|
|
1016
|
+
"target": {
|
|
1017
|
+
"type": "string",
|
|
1018
|
+
"minLength": 1
|
|
1019
|
+
},
|
|
1020
|
+
"reason": {
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"minLength": 1
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"additionalProperties": false
|
|
1026
|
+
}
|
|
399
1027
|
}
|
|
400
1028
|
},
|
|
401
1029
|
"additionalProperties": false
|
|
@@ -427,51 +1055,151 @@
|
|
|
427
1055
|
"rule"
|
|
428
1056
|
]
|
|
429
1057
|
},
|
|
430
|
-
"subject_key": {
|
|
431
|
-
|
|
1058
|
+
"subject_key": {
|
|
1059
|
+
"type": "string"
|
|
1060
|
+
},
|
|
1061
|
+
"property_key": {
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
432
1064
|
"operator": {
|
|
433
1065
|
"type": "string",
|
|
434
|
-
"enum": [
|
|
1066
|
+
"enum": [
|
|
1067
|
+
"eq",
|
|
1068
|
+
"neq",
|
|
1069
|
+
"lt",
|
|
1070
|
+
"lte",
|
|
1071
|
+
"gt",
|
|
1072
|
+
"gte"
|
|
1073
|
+
]
|
|
435
1074
|
},
|
|
436
1075
|
"value_type": {
|
|
437
1076
|
"type": "string",
|
|
438
|
-
"enum": [
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
"
|
|
1077
|
+
"enum": [
|
|
1078
|
+
"string",
|
|
1079
|
+
"int",
|
|
1080
|
+
"number",
|
|
1081
|
+
"bool"
|
|
1082
|
+
]
|
|
1083
|
+
},
|
|
1084
|
+
"value_string": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"value_int": {
|
|
1088
|
+
"type": "integer"
|
|
1089
|
+
},
|
|
1090
|
+
"value_number": {
|
|
1091
|
+
"type": "number"
|
|
1092
|
+
},
|
|
1093
|
+
"value_bool": {
|
|
1094
|
+
"type": "boolean"
|
|
1095
|
+
},
|
|
1096
|
+
"unit": {
|
|
1097
|
+
"type": "string"
|
|
1098
|
+
},
|
|
1099
|
+
"scope": {
|
|
1100
|
+
"type": "string"
|
|
1101
|
+
},
|
|
446
1102
|
"polarity": {
|
|
447
1103
|
"type": "string",
|
|
448
|
-
"enum": [
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
|
|
1104
|
+
"enum": [
|
|
1105
|
+
"require",
|
|
1106
|
+
"forbid",
|
|
1107
|
+
"assert",
|
|
1108
|
+
"deny"
|
|
1109
|
+
]
|
|
1110
|
+
},
|
|
1111
|
+
"closed_world": {
|
|
1112
|
+
"type": "boolean"
|
|
1113
|
+
},
|
|
1114
|
+
"valid_from": {
|
|
1115
|
+
"type": "string"
|
|
1116
|
+
},
|
|
1117
|
+
"valid_to": {
|
|
1118
|
+
"type": "string"
|
|
1119
|
+
},
|
|
1120
|
+
"canonical_key": {
|
|
1121
|
+
"type": "string"
|
|
1122
|
+
},
|
|
1123
|
+
"claim_key": {
|
|
1124
|
+
"type": "string",
|
|
1125
|
+
"pattern": "^CLAIM-[A-F0-9]{16}$"
|
|
1126
|
+
},
|
|
1127
|
+
"claim_text": {
|
|
1128
|
+
"type": "string"
|
|
1129
|
+
},
|
|
1130
|
+
"predicate_name": {
|
|
1131
|
+
"type": "string"
|
|
1132
|
+
},
|
|
1133
|
+
"predicate_namespace": {
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"predicate_arity": {
|
|
1137
|
+
"type": "integer",
|
|
1138
|
+
"minimum": 1
|
|
1139
|
+
},
|
|
1140
|
+
"argument_names": {
|
|
1141
|
+
"type": "array",
|
|
1142
|
+
"items": {
|
|
1143
|
+
"type": "string"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
"argument_types": {
|
|
1147
|
+
"type": "array",
|
|
1148
|
+
"items": {
|
|
1149
|
+
"type": "string"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
461
1152
|
"argument_descriptions": {
|
|
462
1153
|
"type": "array",
|
|
463
|
-
"items": {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
"
|
|
474
|
-
|
|
1154
|
+
"items": {
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
"aliases": {
|
|
1159
|
+
"type": "array",
|
|
1160
|
+
"items": {
|
|
1161
|
+
"type": "string"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"examples": {
|
|
1165
|
+
"type": "array",
|
|
1166
|
+
"items": {
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
"predicate_args": {
|
|
1171
|
+
"type": "array",
|
|
1172
|
+
"items": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"rule_ir": {
|
|
1177
|
+
"$ref": "#/$defs/logicRule"
|
|
1178
|
+
},
|
|
1179
|
+
"rule_hash": {
|
|
1180
|
+
"type": "string",
|
|
1181
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
1182
|
+
},
|
|
1183
|
+
"rule_schema_id": {
|
|
1184
|
+
"type": "string",
|
|
1185
|
+
"minLength": 1
|
|
1186
|
+
},
|
|
1187
|
+
"rule_name": {
|
|
1188
|
+
"type": "string",
|
|
1189
|
+
"minLength": 1
|
|
1190
|
+
},
|
|
1191
|
+
"semantic_key": {
|
|
1192
|
+
"type": "string",
|
|
1193
|
+
"pattern": "^SEM-[A-F0-9]{24}$"
|
|
1194
|
+
},
|
|
1195
|
+
"claim_span_start": {
|
|
1196
|
+
"type": "integer",
|
|
1197
|
+
"minimum": 0
|
|
1198
|
+
},
|
|
1199
|
+
"claim_span_end": {
|
|
1200
|
+
"type": "integer",
|
|
1201
|
+
"minimum": 0
|
|
1202
|
+
}
|
|
475
1203
|
},
|
|
476
1204
|
"required": [
|
|
477
1205
|
"id",
|
|
@@ -485,137 +1213,348 @@
|
|
|
485
1213
|
"allOf": [
|
|
486
1214
|
{
|
|
487
1215
|
"if": {
|
|
488
|
-
"properties": {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
{
|
|
494
|
-
"if": {
|
|
495
|
-
"anyOf": [{ "required": ["claim_key"] }, { "required": ["claim_text"] }]
|
|
1216
|
+
"properties": {
|
|
1217
|
+
"type": {
|
|
1218
|
+
"const": "req"
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
496
1221
|
},
|
|
497
|
-
"
|
|
1222
|
+
"else": {
|
|
1223
|
+
"not": {
|
|
1224
|
+
"required": [
|
|
1225
|
+
"logic_claims"
|
|
1226
|
+
]
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
498
1229
|
},
|
|
499
1230
|
{
|
|
500
1231
|
"if": {
|
|
501
|
-
"properties": {
|
|
1232
|
+
"properties": {
|
|
1233
|
+
"type": {
|
|
1234
|
+
"const": "fact"
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
502
1237
|
},
|
|
503
|
-
"then": {},
|
|
504
1238
|
"else": {
|
|
505
1239
|
"not": {
|
|
506
1240
|
"anyOf": [
|
|
507
|
-
{
|
|
508
|
-
|
|
509
|
-
|
|
1241
|
+
{
|
|
1242
|
+
"required": [
|
|
1243
|
+
"fact_kind"
|
|
1244
|
+
]
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"required": [
|
|
1248
|
+
"subject_key"
|
|
1249
|
+
]
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"required": [
|
|
1253
|
+
"property_key"
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"required": [
|
|
1258
|
+
"operator"
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"required": [
|
|
1263
|
+
"value_type"
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"required": [
|
|
1268
|
+
"value_string"
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"required": [
|
|
1273
|
+
"value_int"
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"required": [
|
|
1278
|
+
"value_number"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"required": [
|
|
1283
|
+
"value_bool"
|
|
1284
|
+
]
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"required": [
|
|
1288
|
+
"unit"
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"required": [
|
|
1293
|
+
"scope"
|
|
1294
|
+
]
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"required": [
|
|
1298
|
+
"polarity"
|
|
1299
|
+
]
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"required": [
|
|
1303
|
+
"closed_world"
|
|
1304
|
+
]
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"required": [
|
|
1308
|
+
"valid_from"
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"required": [
|
|
1313
|
+
"valid_to"
|
|
1314
|
+
]
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"required": [
|
|
1318
|
+
"canonical_key"
|
|
1319
|
+
]
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"required": [
|
|
1323
|
+
"claim_key"
|
|
1324
|
+
]
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"required": [
|
|
1328
|
+
"claim_text"
|
|
1329
|
+
]
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"required": [
|
|
1333
|
+
"predicate_name"
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"required": [
|
|
1338
|
+
"predicate_namespace"
|
|
1339
|
+
]
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"required": [
|
|
1343
|
+
"predicate_arity"
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"required": [
|
|
1348
|
+
"argument_names"
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"required": [
|
|
1353
|
+
"argument_types"
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"required": [
|
|
1358
|
+
"argument_descriptions"
|
|
1359
|
+
]
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"required": [
|
|
1363
|
+
"aliases"
|
|
1364
|
+
]
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"required": [
|
|
1368
|
+
"examples"
|
|
1369
|
+
]
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"required": [
|
|
1373
|
+
"predicate_args"
|
|
1374
|
+
]
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"required": [
|
|
1378
|
+
"rule_ir"
|
|
1379
|
+
]
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"required": [
|
|
1383
|
+
"rule_hash"
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"required": [
|
|
1388
|
+
"rule_schema_id"
|
|
1389
|
+
]
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"required": [
|
|
1393
|
+
"rule_name"
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"required": [
|
|
1398
|
+
"semantic_key"
|
|
1399
|
+
]
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"required": [
|
|
1403
|
+
"claim_span_start"
|
|
1404
|
+
]
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"required": [
|
|
1408
|
+
"claim_span_end"
|
|
1409
|
+
]
|
|
1410
|
+
}
|
|
510
1411
|
]
|
|
511
1412
|
}
|
|
512
1413
|
}
|
|
513
1414
|
},
|
|
514
|
-
{
|
|
515
|
-
"if": { "required": ["verification_receipts"] },
|
|
516
|
-
"then": { "required": ["verification_scope"] }
|
|
517
|
-
},
|
|
518
1415
|
{
|
|
519
1416
|
"if": {
|
|
520
1417
|
"properties": {
|
|
521
|
-
"type": {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
1418
|
+
"type": {
|
|
1419
|
+
"const": "test"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
525
1422
|
},
|
|
526
|
-
"
|
|
527
|
-
"
|
|
1423
|
+
"else": {
|
|
1424
|
+
"not": {
|
|
1425
|
+
"anyOf": [
|
|
1426
|
+
{
|
|
1427
|
+
"required": [
|
|
1428
|
+
"verification_scope"
|
|
1429
|
+
]
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"required": [
|
|
1433
|
+
"verification_perspective"
|
|
1434
|
+
]
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"required": [
|
|
1438
|
+
"proof_contract"
|
|
1439
|
+
]
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"required": [
|
|
1443
|
+
"proof_bindings"
|
|
1444
|
+
]
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"required": [
|
|
1448
|
+
"proof_receipts"
|
|
1449
|
+
]
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
|
+
}
|
|
528
1453
|
}
|
|
529
1454
|
},
|
|
530
1455
|
{
|
|
531
1456
|
"if": {
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
|
|
535
|
-
},
|
|
536
|
-
"required": ["type", "fact_kind"]
|
|
1457
|
+
"required": [
|
|
1458
|
+
"proof_receipts"
|
|
1459
|
+
]
|
|
537
1460
|
},
|
|
538
1461
|
"then": {
|
|
539
1462
|
"required": [
|
|
540
|
-
"
|
|
541
|
-
"rule_hash",
|
|
542
|
-
"rule_schema_id",
|
|
543
|
-
"rule_name",
|
|
544
|
-
"semantic_key"
|
|
1463
|
+
"verification_scope"
|
|
545
1464
|
]
|
|
546
1465
|
}
|
|
547
1466
|
},
|
|
548
1467
|
{
|
|
549
1468
|
"if": {
|
|
550
|
-
"properties": {
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"type": {
|
|
1471
|
+
"const": "req"
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
551
1474
|
},
|
|
552
|
-
"then": {},
|
|
553
1475
|
"else": {
|
|
554
1476
|
"not": {
|
|
555
1477
|
"anyOf": [
|
|
556
|
-
{
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
{
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
{
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
{
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
{
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
{
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
{
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
1478
|
+
{
|
|
1479
|
+
"required": [
|
|
1480
|
+
"semantic_inventory"
|
|
1481
|
+
]
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"required": [
|
|
1485
|
+
"semantic_clauses"
|
|
1486
|
+
]
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"required": [
|
|
1490
|
+
"semantic_text"
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"required": [
|
|
1495
|
+
"semantic_inventory_version"
|
|
1496
|
+
]
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"required": [
|
|
1500
|
+
"semantic_source_field"
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"required": [
|
|
1505
|
+
"semantic_source_hash"
|
|
1506
|
+
]
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"required": [
|
|
1510
|
+
"proof_exempt"
|
|
1511
|
+
]
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"required": [
|
|
1515
|
+
"proof_exempt_reason"
|
|
1516
|
+
]
|
|
1517
|
+
}
|
|
590
1518
|
]
|
|
591
1519
|
}
|
|
592
1520
|
}
|
|
593
1521
|
},
|
|
594
1522
|
{
|
|
595
1523
|
"if": {
|
|
596
|
-
"
|
|
1524
|
+
"anyOf": [
|
|
1525
|
+
{
|
|
1526
|
+
"required": [
|
|
1527
|
+
"claim_key"
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"required": [
|
|
1532
|
+
"claim_text"
|
|
1533
|
+
]
|
|
1534
|
+
}
|
|
1535
|
+
]
|
|
597
1536
|
},
|
|
598
|
-
"then": {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
"
|
|
602
|
-
|
|
603
|
-
{ "required": ["semantic_clauses"] },
|
|
604
|
-
{ "required": ["semantic_text"] },
|
|
605
|
-
{ "required": ["semantic_inventory_version"] },
|
|
606
|
-
{ "required": ["semantic_source_field"] },
|
|
607
|
-
{ "required": ["semantic_source_hash"] }
|
|
608
|
-
]
|
|
609
|
-
}
|
|
1537
|
+
"then": {
|
|
1538
|
+
"required": [
|
|
1539
|
+
"claim_key",
|
|
1540
|
+
"claim_text"
|
|
1541
|
+
]
|
|
610
1542
|
}
|
|
611
1543
|
},
|
|
612
1544
|
{
|
|
613
1545
|
"if": {
|
|
614
1546
|
"properties": {
|
|
615
|
-
"type": {
|
|
616
|
-
|
|
1547
|
+
"type": {
|
|
1548
|
+
"const": "fact"
|
|
1549
|
+
},
|
|
1550
|
+
"fact_kind": {
|
|
1551
|
+
"const": "predicate_schema"
|
|
1552
|
+
}
|
|
617
1553
|
},
|
|
618
|
-
"required": [
|
|
1554
|
+
"required": [
|
|
1555
|
+
"type",
|
|
1556
|
+
"fact_kind"
|
|
1557
|
+
]
|
|
619
1558
|
},
|
|
620
1559
|
"then": {
|
|
621
1560
|
"required": [
|
|
@@ -629,29 +1568,105 @@
|
|
|
629
1568
|
{
|
|
630
1569
|
"if": {
|
|
631
1570
|
"properties": {
|
|
632
|
-
"type": {
|
|
633
|
-
|
|
1571
|
+
"type": {
|
|
1572
|
+
"const": "fact"
|
|
1573
|
+
},
|
|
1574
|
+
"fact_kind": {
|
|
1575
|
+
"const": "predicate"
|
|
1576
|
+
}
|
|
634
1577
|
},
|
|
635
|
-
"required": [
|
|
1578
|
+
"required": [
|
|
1579
|
+
"type",
|
|
1580
|
+
"fact_kind"
|
|
1581
|
+
]
|
|
636
1582
|
},
|
|
637
1583
|
"then": {
|
|
638
|
-
"required": [
|
|
1584
|
+
"required": [
|
|
1585
|
+
"predicate_name",
|
|
1586
|
+
"predicate_args",
|
|
1587
|
+
"canonical_key"
|
|
1588
|
+
],
|
|
639
1589
|
"properties": {
|
|
640
|
-
"polarity": {
|
|
1590
|
+
"polarity": {
|
|
1591
|
+
"enum": [
|
|
1592
|
+
"assert",
|
|
1593
|
+
"deny"
|
|
1594
|
+
]
|
|
1595
|
+
}
|
|
641
1596
|
}
|
|
642
1597
|
}
|
|
643
1598
|
},
|
|
644
1599
|
{
|
|
645
1600
|
"if": {
|
|
646
1601
|
"properties": {
|
|
647
|
-
"type": {
|
|
648
|
-
|
|
1602
|
+
"type": {
|
|
1603
|
+
"const": "fact"
|
|
1604
|
+
},
|
|
1605
|
+
"fact_kind": {
|
|
1606
|
+
"const": "rule_schema"
|
|
1607
|
+
}
|
|
649
1608
|
},
|
|
650
|
-
"required": [
|
|
1609
|
+
"required": [
|
|
1610
|
+
"type",
|
|
1611
|
+
"fact_kind"
|
|
1612
|
+
]
|
|
651
1613
|
},
|
|
652
1614
|
"then": {
|
|
1615
|
+
"required": [
|
|
1616
|
+
"rule_name",
|
|
1617
|
+
"argument_names",
|
|
1618
|
+
"argument_types"
|
|
1619
|
+
]
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"if": {
|
|
653
1624
|
"properties": {
|
|
654
|
-
"
|
|
1625
|
+
"type": {
|
|
1626
|
+
"const": "fact"
|
|
1627
|
+
},
|
|
1628
|
+
"fact_kind": {
|
|
1629
|
+
"const": "rule"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
"required": [
|
|
1633
|
+
"type",
|
|
1634
|
+
"fact_kind"
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
"then": {
|
|
1638
|
+
"required": [
|
|
1639
|
+
"rule_ir",
|
|
1640
|
+
"rule_hash",
|
|
1641
|
+
"rule_schema_id",
|
|
1642
|
+
"rule_name",
|
|
1643
|
+
"semantic_key"
|
|
1644
|
+
]
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"if": {
|
|
1649
|
+
"properties": {
|
|
1650
|
+
"type": {
|
|
1651
|
+
"const": "fact"
|
|
1652
|
+
},
|
|
1653
|
+
"fact_kind": {
|
|
1654
|
+
"const": "property_value"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
"required": [
|
|
1658
|
+
"type",
|
|
1659
|
+
"fact_kind"
|
|
1660
|
+
]
|
|
1661
|
+
},
|
|
1662
|
+
"then": {
|
|
1663
|
+
"properties": {
|
|
1664
|
+
"polarity": {
|
|
1665
|
+
"enum": [
|
|
1666
|
+
"require",
|
|
1667
|
+
"forbid"
|
|
1668
|
+
]
|
|
1669
|
+
}
|
|
655
1670
|
}
|
|
656
1671
|
}
|
|
657
1672
|
}
|