kibi-cli 2.31.1 → 2.32.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-register-proof.d.ts.map +1 -1
- package/dist/cli-register-proof.js +19 -7
- package/dist/cli-register-reporting.d.ts.map +1 -1
- package/dist/cli-register-reporting.js +2 -0
- package/dist/commands/check.d.ts +1 -0
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +14 -5
- package/dist/commands/discovery-table.d.ts.map +1 -1
- package/dist/commands/discovery-table.js +51 -4
- package/dist/commands/doctor.js +19 -4
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +89 -3
- package/dist/commands/prove.d.ts +48 -1
- package/dist/commands/prove.d.ts.map +1 -1
- package/dist/commands/prove.js +293 -8
- package/dist/commands/report.d.ts +1 -0
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/report.js +70 -5
- package/dist/commands/signoff.d.ts.map +1 -1
- package/dist/commands/signoff.js +20 -1
- package/dist/commands/sync/manifest.d.ts.map +1 -1
- package/dist/commands/sync/manifest.js +20 -4
- package/dist/commands/sync/persistence.d.ts.map +1 -1
- package/dist/commands/sync/persistence.js +16 -5
- package/dist/diagnostics.js +1 -1
- package/dist/engine.js +1 -1
- package/dist/extractors/markdown.d.ts +3 -1
- package/dist/extractors/markdown.d.ts.map +1 -1
- package/dist/extractors/markdown.js +17 -0
- package/dist/operations/bootstrap/candidate-helpers.d.ts +3 -0
- package/dist/operations/bootstrap/candidate-helpers.d.ts.map +1 -1
- package/dist/operations/bootstrap/candidate-helpers.js +4 -0
- package/dist/operations/migration/evidence-floor.d.ts +41 -0
- package/dist/operations/migration/evidence-floor.d.ts.map +1 -0
- package/dist/operations/migration/evidence-floor.js +230 -0
- package/dist/operations/migration/proof-contract-claims.d.ts +59 -0
- package/dist/operations/migration/proof-contract-claims.d.ts.map +1 -0
- package/dist/operations/migration/proof-contract-claims.js +182 -0
- package/dist/operations/migration/schema6.d.ts +6 -0
- package/dist/operations/migration/schema6.d.ts.map +1 -1
- package/dist/operations/migration/schema6.js +94 -0
- package/dist/operations/mutation/omitted-properties.d.ts +11 -0
- package/dist/operations/mutation/omitted-properties.d.ts.map +1 -0
- package/dist/operations/mutation/omitted-properties.js +76 -0
- package/dist/operations/mutation/serialization.d.ts.map +1 -1
- package/dist/operations/mutation/serialization.js +1 -0
- package/dist/operations/mutation/strict-fact.d.ts.map +1 -1
- package/dist/operations/mutation/strict-fact.js +6 -2
- package/dist/operations/mutation/symbol-granularity.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-granularity.js +5 -3
- package/dist/operations/mutation/upsert.d.ts.map +1 -1
- package/dist/operations/mutation/upsert.js +7 -1
- package/dist/operations/mutation/validation.d.ts +2 -0
- package/dist/operations/mutation/validation.d.ts.map +1 -1
- package/dist/operations/mutation/validation.js +4 -0
- package/dist/operations/proof/claim-bindings.d.ts +23 -0
- package/dist/operations/proof/claim-bindings.d.ts.map +1 -0
- package/dist/operations/proof/claim-bindings.js +211 -0
- package/dist/operations/proof/code-certificates.d.ts +135 -0
- package/dist/operations/proof/code-certificates.d.ts.map +1 -0
- package/dist/operations/proof/code-certificates.js +785 -0
- package/dist/operations/proof/code-scope.d.ts +11 -1
- package/dist/operations/proof/code-scope.d.ts.map +1 -1
- package/dist/operations/proof/code-scope.js +20 -2
- package/dist/operations/proof/compact-receipts.d.ts.map +1 -1
- package/dist/operations/proof/compact-receipts.js +4 -3
- package/dist/operations/proof/explain.d.ts +32 -0
- package/dist/operations/proof/explain.d.ts.map +1 -1
- package/dist/operations/proof/explain.js +91 -0
- package/dist/operations/proof/ingest-proof.d.ts +9 -1
- package/dist/operations/proof/ingest-proof.d.ts.map +1 -1
- package/dist/operations/proof/ingest-proof.js +41 -2
- package/dist/operations/proof/receipt-compaction.d.ts +2 -0
- package/dist/operations/proof/receipt-compaction.d.ts.map +1 -1
- package/dist/operations/proof/receipt-compaction.js +6 -2
- package/dist/operations/semantic-advisor/shared.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/shared.js +4 -0
- package/dist/operations/semantic-advisor/strict-rules.js +3 -3
- package/dist/operations/semantic-advisor/types.d.ts +2 -1
- package/dist/operations/semantic-advisor/types.d.ts.map +1 -1
- package/dist/plugins/approved-source-analyzers.generated.d.ts +6 -6
- package/dist/plugins/approved-source-analyzers.generated.js +6 -6
- package/dist/proof/command-test-report.d.ts +4 -3
- package/dist/proof/command-test-report.d.ts.map +1 -1
- package/dist/proof/command-test-report.js +4 -10
- package/dist/proof/evaluate.d.ts.map +1 -1
- package/dist/proof/evaluate.js +18 -2
- package/dist/proof/inspect.d.ts.map +1 -1
- package/dist/proof/inspect.js +58 -0
- package/dist/proof/producers/playwright-reporter.d.ts +3 -0
- package/dist/proof/producers/playwright-reporter.d.ts.map +1 -1
- package/dist/proof/producers/playwright-reporter.js +25 -2
- package/dist/proof/step-runner.d.ts +36 -0
- package/dist/proof/step-runner.d.ts.map +1 -0
- package/dist/proof/step-runner.js +234 -0
- package/dist/public/evidence-levels.d.ts +12 -0
- package/dist/public/evidence-levels.d.ts.map +1 -0
- package/dist/public/evidence-levels.js +19 -0
- package/dist/public/impact/coverage-depth-quality.d.ts +7 -0
- package/dist/public/impact/coverage-depth-quality.d.ts.map +1 -1
- package/dist/public/impact/coverage-depth-quality.js +59 -0
- package/dist/public/impact/full-kb-quality.d.ts.map +1 -1
- package/dist/public/impact/full-kb-quality.js +3 -1
- package/dist/public/operations/catalog.d.ts +167 -6
- package/dist/public/operations/catalog.d.ts.map +1 -1
- package/dist/public/operations/check-executor.d.ts +2 -0
- package/dist/public/operations/check-executor.d.ts.map +1 -1
- package/dist/public/operations/check-executor.js +6 -0
- package/dist/public/operations/evidence-floor.d.ts +48 -0
- package/dist/public/operations/evidence-floor.d.ts.map +1 -0
- package/dist/public/operations/evidence-floor.js +143 -0
- package/dist/public/operations/migration-plan.d.ts +19 -5
- package/dist/public/operations/migration-plan.d.ts.map +1 -1
- package/dist/public/operations/migration-plan.js +22 -5
- package/dist/public/operations/node-ports.d.ts.map +1 -1
- package/dist/public/operations/node-ports.js +4 -1
- package/dist/public/operations/proof-contract-claims.d.ts +26 -0
- package/dist/public/operations/proof-contract-claims.d.ts.map +1 -0
- package/dist/public/operations/proof-contract-claims.js +71 -0
- package/dist/public/operations/specs/check-rules.generated.d.ts +1 -1
- package/dist/public/operations/specs/check-rules.generated.d.ts.map +1 -1
- package/dist/public/operations/specs/check-rules.generated.js +3 -1
- package/dist/public/operations/specs/check.d.ts +1 -1
- package/dist/public/operations/specs/mutation-schemas.d.ts +157 -5
- package/dist/public/operations/specs/mutation-schemas.d.ts.map +1 -1
- package/dist/public/operations/specs/mutation-schemas.js +15 -2
- package/dist/public/operations/specs/proof.d.ts +9 -0
- package/dist/public/operations/specs/proof.d.ts.map +1 -1
- package/dist/public/operations/specs/reporting.d.ts.map +1 -1
- package/dist/public/operations/specs/reporting.js +19 -10
- package/dist/public/operations/specs/upsert.d.ts +157 -5
- package/dist/public/operations/specs/upsert.d.ts.map +1 -1
- package/dist/public/proof-certificates.d.ts +89 -0
- package/dist/public/proof-certificates.d.ts.map +1 -0
- package/dist/public/proof-certificates.js +207 -0
- package/dist/public/proof-protocol.d.ts +126 -3
- package/dist/public/proof-protocol.d.ts.map +1 -1
- package/dist/public/proof-protocol.js +239 -3
- package/dist/public/proof-receipt.d.ts +89 -6
- package/dist/public/proof-receipt.d.ts.map +1 -1
- package/dist/public/proof-receipt.js +83 -7
- package/dist/public/schemas/entity.d.ts.map +1 -1
- package/dist/public/schemas/entity.js +18 -1
- package/dist/public/skills/kibi-bootstrap/SKILL.md +2 -2
- package/dist/public/skills/kibi-commit-review/SKILL.md +1 -1
- package/dist/public/skills/kibi-commit-review/resources/staged-gate.md +6 -1
- package/dist/public/skills/kibi-decisions/SKILL.md +10 -2
- package/dist/public/skills/kibi-decisions/resources/decision-records.md +6 -1
- package/dist/public/skills/kibi-freshness/SKILL.md +5 -1
- package/dist/public/skills/kibi-traceability/SKILL.md +11 -1
- package/dist/public/skills/kibi-usage/SKILL.md +6 -4
- package/dist/public/skills/kibi-usage/resources/proof.md +124 -19
- package/dist/public/skills/kibi-usage/resources/workflows.md +4 -4
- package/dist/report/html-report.css +38 -1
- package/dist/report/html-report.d.ts +8 -0
- package/dist/report/html-report.d.ts.map +1 -1
- package/dist/report/html-report.js +141 -6
- package/dist/report/report-view.d.ts +1 -1
- package/dist/report/report-view.d.ts.map +1 -1
- package/dist/report/report-view.js +7 -0
- package/dist/schemas/entity.schema.json +212 -4
- package/dist/search-answer.d.ts.map +1 -1
- package/dist/search-answer.js +1 -0
- package/dist/signoff/html.d.ts.map +1 -1
- package/dist/signoff/html.js +3 -0
- package/dist/signoff/markdown.d.ts.map +1 -1
- package/dist/signoff/markdown.js +3 -0
- package/dist/signoff/model.d.ts +20 -0
- package/dist/signoff/model.d.ts.map +1 -1
- package/dist/signoff/model.js +20 -1
- package/dist/traceability/impact-knowledge.d.ts.map +1 -1
- package/dist/traceability/impact-knowledge.js +1 -0
- package/dist/traceability/temp-kb.d.ts.map +1 -1
- package/dist/traceability/temp-kb.js +1 -0
- package/dist/types/entities.d.ts +4 -1
- package/dist/types/entities.d.ts.map +1 -1
- package/dist/utils/merge-driver-setup.d.ts +8 -1
- package/dist/utils/merge-driver-setup.d.ts.map +1 -1
- package/dist/utils/merge-driver-setup.js +23 -2
- package/dist/utils/rule-registry.generated.d.ts +10 -0
- package/dist/utils/rule-registry.generated.d.ts.map +1 -1
- package/dist/utils/rule-registry.generated.js +12 -0
- package/dist/utils/schema-version.d.ts +1 -1
- package/dist/utils/schema-version.d.ts.map +1 -1
- package/dist/utils/schema-version.js +5 -1
- package/package.json +6 -2
- package/schema/entities.pl +6 -0
- package/schema/validation.pl +4 -1
- package/src/public/evidence-levels.ts +23 -0
- package/src/public/impact/coverage-depth-quality.ts +73 -0
- package/src/public/impact/full-kb-quality.ts +6 -1
- package/src/public/operations/check-executor.ts +13 -0
- package/src/public/operations/evidence-floor.ts +203 -0
- package/src/public/operations/migration-plan.ts +39 -6
- package/src/public/operations/node-ports.ts +3 -1
- package/src/public/operations/proof-contract-claims.ts +103 -0
- package/src/public/operations/specs/check-rules.generated.ts +3 -1
- package/src/public/operations/specs/mutation-schemas.ts +17 -2
- package/src/public/operations/specs/reporting.ts +20 -10
- package/src/public/proof-certificates.ts +271 -0
- package/src/public/proof-protocol-types.d.ts +17 -1
- package/src/public/proof-protocol.ts +318 -3
- package/src/public/proof-receipt.ts +127 -7
- package/src/public/schemas/entity.ts +19 -1
- package/src/public/skills/kibi-bootstrap/SKILL.md +2 -2
- package/src/public/skills/kibi-commit-review/SKILL.md +1 -1
- package/src/public/skills/kibi-commit-review/resources/staged-gate.md +6 -1
- package/src/public/skills/kibi-decisions/SKILL.md +10 -2
- package/src/public/skills/kibi-decisions/resources/decision-records.md +6 -1
- package/src/public/skills/kibi-freshness/SKILL.md +5 -1
- package/src/public/skills/kibi-traceability/SKILL.md +11 -1
- package/src/public/skills/kibi-usage/SKILL.md +6 -4
- package/src/public/skills/kibi-usage/resources/proof.md +124 -19
- package/src/public/skills/kibi-usage/resources/workflows.md +4 -4
- package/src/schemas/entity.schema.json +212 -4
- package/dist/commands/proof-impact.d.ts +0 -7
- package/dist/commands/proof-impact.d.ts.map +0 -1
- package/dist/commands/proof-impact.js +0 -39
- package/dist/operations/proof/baseline-diff.d.ts +0 -41
- package/dist/operations/proof/baseline-diff.d.ts.map +0 -1
- package/dist/operations/proof/baseline-diff.js +0 -153
- package/dist/operations/proof/impact.d.ts +0 -51
- package/dist/operations/proof/impact.d.ts.map +0 -1
- package/dist/operations/proof/impact.js +0 -138
|
@@ -69,7 +69,7 @@ export declare function migrationPlanHash(value: unknown): string;
|
|
|
69
69
|
export declare function compareReadyActionIds(left: string, right: string, byId: ReadonlyMap<string, MigrationAction>): number;
|
|
70
70
|
export declare function buildMigrationPlan(input?: PlanInput): MigrationPlan;
|
|
71
71
|
export declare function mergeMigrationPlans(plans: readonly MigrationPlan[]): MigrationPlan;
|
|
72
|
-
export declare const MIGRATION_PLAN_DIGEST_VERSION: "kibi.migration-plan-digest.
|
|
72
|
+
export declare const MIGRATION_PLAN_DIGEST_VERSION: "kibi.migration-plan-digest.v2";
|
|
73
73
|
export type MigrationPlanDigest = Readonly<{
|
|
74
74
|
version: typeof MIGRATION_PLAN_DIGEST_VERSION;
|
|
75
75
|
planHash: string;
|
|
@@ -77,7 +77,20 @@ export type MigrationPlanDigest = Readonly<{
|
|
|
77
77
|
expected: MigrationPlan["expected"];
|
|
78
78
|
scope: MigrationPlan["scope"];
|
|
79
79
|
summary: MigrationPlan["summary"];
|
|
80
|
-
|
|
80
|
+
/** The first automatic actions, by id; automaticSummary counts them all. */
|
|
81
|
+
automaticActions: readonly Readonly<{
|
|
82
|
+
id: string;
|
|
83
|
+
code: string;
|
|
84
|
+
state: MigrationActionState;
|
|
85
|
+
autoApplicable: boolean;
|
|
86
|
+
dependsOn: readonly string[];
|
|
87
|
+
}>[];
|
|
88
|
+
automaticSummary: Readonly<{
|
|
89
|
+
total: number;
|
|
90
|
+
ready: number;
|
|
91
|
+
blocked: number;
|
|
92
|
+
omitted: number;
|
|
93
|
+
}>;
|
|
81
94
|
actionGroups: readonly Readonly<{
|
|
82
95
|
code: string;
|
|
83
96
|
safety: MigrationSafety;
|
|
@@ -89,9 +102,10 @@ export type MigrationPlanDigest = Readonly<{
|
|
|
89
102
|
}>;
|
|
90
103
|
/**
|
|
91
104
|
* A bounded summary of a plan for responses that report what is left rather
|
|
92
|
-
* than hand over a plan to apply: automatic actions
|
|
93
|
-
* action is counted by code. The full
|
|
94
|
-
* coverage
|
|
105
|
+
* than hand over a plan to apply: the first automatic actions are listed by
|
|
106
|
+
* id and all of them counted, every other action is counted by code. The full
|
|
107
|
+
* plan comes from status, check and coverage, so a response stays small even
|
|
108
|
+
* when hundreds of actions remain.
|
|
95
109
|
*/
|
|
96
110
|
export declare function digestMigrationPlan(plan: MigrationPlan): MigrationPlanDigest;
|
|
97
111
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration-plan.d.ts","sourceRoot":"","sources":["../../../src/public/operations/migration-plan.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,sBAAsB,EAAG,wBAAiC,CAAC;AAExE,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,SAAS,CAAC;AACvD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,CAAC;AAChF,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAC3B,QAAQ,CAAC;IACP,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC1C,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAEP,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EACJ,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,WAAW,GACX,cAAc,GACd,QAAQ,GACR,UAAU,GACV,OAAO,GACP,SAAS,CAAC;IACd,KAAK,EAAE,oBAAoB,CAAC;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE,mBAAmB,CAAC;IAChC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,SAAS,EAAE,SAAS,MAAM,EAAE,CAA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;;OAIG;IACH,wBAAwB,CAAC,EAAE,CACzB,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAChC,0BAA0B,CAAC;CACjC,GAAG,aAAa,CA0VhB"}
|
|
@@ -172,12 +172,15 @@ export function mergeMigrationPlans(plans) {
|
|
|
172
172
|
diagnostics: [...diagnostics],
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
/** How many automatic actions a plan digest lists by id. */
|
|
176
|
+
const DIGEST_AUTOMATIC_ACTIONS = 20;
|
|
177
|
+
export const MIGRATION_PLAN_DIGEST_VERSION = "kibi.migration-plan-digest.v2";
|
|
176
178
|
/**
|
|
177
179
|
* A bounded summary of a plan for responses that report what is left rather
|
|
178
|
-
* than hand over a plan to apply: automatic actions
|
|
179
|
-
* action is counted by code. The full
|
|
180
|
-
* coverage
|
|
180
|
+
* than hand over a plan to apply: the first automatic actions are listed by
|
|
181
|
+
* id and all of them counted, every other action is counted by code. The full
|
|
182
|
+
* plan comes from status, check and coverage, so a response stays small even
|
|
183
|
+
* when hundreds of actions remain.
|
|
181
184
|
*/
|
|
182
185
|
// implements REQ-agent-guided-migration-orchestration
|
|
183
186
|
export function digestMigrationPlan(plan) {
|
|
@@ -209,7 +212,21 @@ export function digestMigrationPlan(plan) {
|
|
|
209
212
|
expected: plan.expected,
|
|
210
213
|
scope: plan.scope,
|
|
211
214
|
summary: plan.summary,
|
|
212
|
-
automaticActions
|
|
215
|
+
automaticActions: automaticActions
|
|
216
|
+
.slice(0, DIGEST_AUTOMATIC_ACTIONS)
|
|
217
|
+
.map((action) => ({
|
|
218
|
+
id: action.id,
|
|
219
|
+
code: action.code,
|
|
220
|
+
state: action.state,
|
|
221
|
+
autoApplicable: action.autoApplicable,
|
|
222
|
+
dependsOn: action.dependsOn,
|
|
223
|
+
})),
|
|
224
|
+
automaticSummary: {
|
|
225
|
+
total: automaticActions.length,
|
|
226
|
+
ready: automaticActions.filter((action) => action.state === "ready" && action.autoApplicable).length,
|
|
227
|
+
blocked: blockedAutomatic,
|
|
228
|
+
omitted: Math.max(0, automaticActions.length - DIGEST_AUTOMATIC_ACTIONS),
|
|
229
|
+
},
|
|
213
230
|
actionGroups: [...groups.values()].sort((left, right) => right.count - left.count ||
|
|
214
231
|
left.code.localeCompare(right.code) ||
|
|
215
232
|
left.state.localeCompare(right.state)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-ports.d.ts","sourceRoot":"","sources":["../../../src/public/operations/node-ports.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE/E,KAAK,kBAAkB,GAAG,cAAc,GAAG;IACzC,QAAQ,CAAC,IAAI,EAAE,CACb,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,KACjE,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,WAAW,GAAG,OAAO,GAAG;IAC3B,QAAQ,CAAC,YAAY,EAAE,CACrB,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,SAAS,MAAM,EAAE,KACrB,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;CACjC,CAAC;
|
|
1
|
+
{"version":3,"file":"node-ports.d.ts","sourceRoot":"","sources":["../../../src/public/operations/node-ports.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE/E,KAAK,kBAAkB,GAAG,cAAc,GAAG;IACzC,QAAQ,CAAC,IAAI,EAAE,CACb,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,OAAO,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,KACjE,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,WAAW,GAAG,OAAO,GAAG;IAC3B,QAAQ,CAAC,YAAY,EAAE,CACrB,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,SAAS,MAAM,EAAE,KACrB,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;CACjC,CAAC;AAoKF,eAAO,MAAM,cAAc,EAAE,kBAkC5B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAiBrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAEzB,CAAC"}
|
|
@@ -49,7 +49,10 @@ function isReceiptOnlyMarkdownChange(workspaceRoot, relativePath) {
|
|
|
49
49
|
return false;
|
|
50
50
|
try {
|
|
51
51
|
const working = snapshotFileContent(relativePath, fsSync.readFileSync(path.join(workspaceRoot, relativePath)));
|
|
52
|
-
const committed = execFileSync("git", ["-C", workspaceRoot, "show", `HEAD:${relativePath}`],
|
|
52
|
+
const committed = execFileSync("git", ["-C", workspaceRoot, "show", `HEAD:${relativePath}`],
|
|
53
|
+
// A file staged but not committed yet has no HEAD blob; git's error is
|
|
54
|
+
// expected here and must not reach the terminal.
|
|
55
|
+
{ encoding: "buffer", maxBuffer: 64 * 1024 * 1024, stdio: "pipe" });
|
|
53
56
|
return working.equals(snapshotFileContent(relativePath, committed));
|
|
54
57
|
}
|
|
55
58
|
catch {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Violation } from "../../utils/rule-registry.js";
|
|
2
|
+
import type { OperationContext } from "./runtime-types.js";
|
|
3
|
+
/**
|
|
4
|
+
* The schema version from which every certificate-kind proof contract must
|
|
5
|
+
* name the claims it proves; older KBs get the rule with their schema
|
|
6
|
+
* upgrade, whose migration pins proves where the claim is unambiguous.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CLAIM_BINDING_SCHEMA_VERSION = 12;
|
|
9
|
+
/** A certificate-kind proof contract must name provable claims in proves. */
|
|
10
|
+
export declare const PROOF_CONTRACT_CLAIMS_RULE = "proof-contract-claims";
|
|
11
|
+
export type ProofContractClaimIssue = Readonly<{
|
|
12
|
+
test_id: string;
|
|
13
|
+
claim_key?: string;
|
|
14
|
+
reason: string;
|
|
15
|
+
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Every certificate-kind proof contract that names no claims, and every
|
|
18
|
+
* named claim no certificate of its kind could prove. Ignores the schema
|
|
19
|
+
* version, so a migration can read what the rule will report.
|
|
20
|
+
*/
|
|
21
|
+
export declare function readProofContractClaimIssues(context: OperationContext): Promise<readonly ProofContractClaimIssue[]>;
|
|
22
|
+
/** One finding per contract without proves and per unprovable claim key. */
|
|
23
|
+
export declare function proofContractClaimViolations(issues: readonly ProofContractClaimIssue[]): Violation[];
|
|
24
|
+
/** Evaluate the proof-contract-claims rule from schema 12. */
|
|
25
|
+
export declare function collectProofContractClaimViolations(context: OperationContext, rules: ReadonlySet<string>): Promise<Violation[]>;
|
|
26
|
+
//# sourceMappingURL=proof-contract-claims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-contract-claims.d.ts","sourceRoot":"","sources":["../../../src/public/operations/proof-contract-claims.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;;;GAIG;AAEH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,6EAA6E;AAE7E,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAGlE,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH;;;;GAIG;AAEH,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,SAAS,uBAAuB,EAAE,CAAC,CAS7C;AAED,4EAA4E;AAE5E,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,uBAAuB,EAAE,GACzC,SAAS,EAAE,CAkBb;AAED,8DAA8D;AAE9D,wBAAsB,mCAAmC,CACvD,OAAO,EAAE,gBAAgB,EACzB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GACzB,OAAO,CAAC,SAAS,EAAE,CAAC,CAYtB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Kibi — repo-local, per-branch, queryable long-term memory for software projects
|
|
3
|
+
Copyright (C) 2026 Piotr Franczyk
|
|
4
|
+
|
|
5
|
+
This program is free software: you can redistribute it and/or modify
|
|
6
|
+
it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
(at your option) any later version.
|
|
9
|
+
|
|
10
|
+
This program is distributed in the hope that it will be useful,
|
|
11
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
GNU Affero General Public License for more details.
|
|
14
|
+
|
|
15
|
+
You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
import { readKbManifest } from "../../utils/kb-manifest.js";
|
|
19
|
+
import { runOperationJsonQuery } from "./prolog-json.js";
|
|
20
|
+
/**
|
|
21
|
+
* The schema version from which every certificate-kind proof contract must
|
|
22
|
+
* name the claims it proves; older KBs get the rule with their schema
|
|
23
|
+
* upgrade, whose migration pins proves where the claim is unambiguous.
|
|
24
|
+
*/
|
|
25
|
+
// implements REQ-kibi-claim-bound-proofs
|
|
26
|
+
export const CLAIM_BINDING_SCHEMA_VERSION = 12;
|
|
27
|
+
/** A certificate-kind proof contract must name provable claims in proves. */
|
|
28
|
+
// implements REQ-kibi-claim-bound-proofs
|
|
29
|
+
export const PROOF_CONTRACT_CLAIMS_RULE = "proof-contract-claims";
|
|
30
|
+
/**
|
|
31
|
+
* Every certificate-kind proof contract that names no claims, and every
|
|
32
|
+
* named claim no certificate of its kind could prove. Ignores the schema
|
|
33
|
+
* version, so a migration can read what the rule will report.
|
|
34
|
+
*/
|
|
35
|
+
// implements REQ-kibi-claim-bound-proofs
|
|
36
|
+
export async function readProofContractClaimIssues(context) {
|
|
37
|
+
const prolog = context.prolog ?? (await context.ensureProlog?.());
|
|
38
|
+
if (prolog === undefined)
|
|
39
|
+
return [];
|
|
40
|
+
return runOperationJsonQuery(prolog, "claim_obligations.pl", "claim_obligations:proof_contract_claim_issues_json(JsonString)", "Proof contract claims");
|
|
41
|
+
}
|
|
42
|
+
/** One finding per contract without proves and per unprovable claim key. */
|
|
43
|
+
// implements REQ-kibi-claim-bound-proofs
|
|
44
|
+
export function proofContractClaimViolations(issues) {
|
|
45
|
+
return issues.map((issue) => ({
|
|
46
|
+
rule: PROOF_CONTRACT_CLAIMS_RULE,
|
|
47
|
+
entityId: issue.test_id,
|
|
48
|
+
description: issue.claim_key === undefined
|
|
49
|
+
? `${issue.test_id}: ${issue.reason}`
|
|
50
|
+
: `${issue.test_id} proves ${issue.claim_key}: ${issue.reason}`,
|
|
51
|
+
suggestion: issue.claim_key === undefined
|
|
52
|
+
? `Add proof_contract.proves to ${issue.test_id} with the claim keys (CLAIM-...) of the requirement its certificate establishes; kibi proof explain on the requirement lists its claims.`
|
|
53
|
+
: `Name a modeled claim of a requirement ${issue.test_id} reaches through its scenarios, grounded by a fact this proof kind can express (a set fact for exhaustive or typecheck, a numeric fact for arithmetic or smt), or remove ${issue.claim_key} from proves.`,
|
|
54
|
+
evidence: {
|
|
55
|
+
testId: issue.test_id,
|
|
56
|
+
...(issue.claim_key === undefined ? {} : { claimKey: issue.claim_key }),
|
|
57
|
+
reason: issue.reason,
|
|
58
|
+
},
|
|
59
|
+
}));
|
|
60
|
+
}
|
|
61
|
+
/** Evaluate the proof-contract-claims rule from schema 12. */
|
|
62
|
+
// implements REQ-kibi-claim-bound-proofs
|
|
63
|
+
export async function collectProofContractClaimViolations(context, rules) {
|
|
64
|
+
if (!rules.has(PROOF_CONTRACT_CLAIMS_RULE) || context.prolog === undefined)
|
|
65
|
+
return [];
|
|
66
|
+
const schemaVersion = readKbManifest(context.workspaceRoot)?.schemaVersion;
|
|
67
|
+
if (schemaVersion === undefined ||
|
|
68
|
+
schemaVersion < CLAIM_BINDING_SCHEMA_VERSION)
|
|
69
|
+
return [];
|
|
70
|
+
return proofContractClaimViolations(await readProofContractClaimIssues(context));
|
|
71
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Every selectable kb_check rule name, registry order. */
|
|
2
2
|
export declare const SELECTABLE_RULE_NAMES: readonly string[];
|
|
3
3
|
/** Comma-separated "Allowed:" fragment for the kb_check rules description. */
|
|
4
|
-
export declare const SELECTABLE_RULES_ALLOWED = "must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved";
|
|
4
|
+
export declare const SELECTABLE_RULES_ALLOWED = "must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved, evidence-floor, proof-contract-claims";
|
|
5
5
|
//# sourceMappingURL=check-rules.generated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-rules.generated.d.ts","sourceRoot":"","sources":["../../../../src/public/operations/specs/check-rules.generated.ts"],"names":[],"mappings":"AAUA,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"check-rules.generated.d.ts","sourceRoot":"","sources":["../../../../src/public/operations/specs/check-rules.generated.ts"],"names":[],"mappings":"AAUA,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EA0DlD,CAAC;AAGF,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB,wwCACkuC,CAAC"}
|
|
@@ -64,7 +64,9 @@ export const SELECTABLE_RULE_NAMES = [
|
|
|
64
64
|
"policy-markers",
|
|
65
65
|
"kb-consistency",
|
|
66
66
|
"kb-consistency-unresolved",
|
|
67
|
+
"evidence-floor",
|
|
68
|
+
"proof-contract-claims",
|
|
67
69
|
];
|
|
68
70
|
// implements REQ-006
|
|
69
71
|
/** Comma-separated "Allowed:" fragment for the kb_check rules description. */
|
|
70
|
-
export const SELECTABLE_RULES_ALLOWED = "must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved";
|
|
72
|
+
export const SELECTABLE_RULES_ALLOWED = "must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved, evidence-floor, proof-contract-claims";
|
|
@@ -12,7 +12,7 @@ export declare const checkSpec: {
|
|
|
12
12
|
readonly type: "string";
|
|
13
13
|
readonly enum: readonly string[];
|
|
14
14
|
};
|
|
15
|
-
readonly description: "Optional rule subset. Allowed: must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved. 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.";
|
|
15
|
+
readonly description: "Optional rule subset. Allowed: must-priority-coverage, symbol-coverage, symbol-traceability, symbol-granularity, no-dangling-refs, source-relationship-parity, branch-store-not-compiled, source-path-dangling, no-cycles, required-fields, deprecated-adr-no-successor, superseded-requirement-open, scenario-feasibility, scenario-feasibility-unknown, exception-claim-keys, numeric-string-value, rule-key-arguments-missing, domain-contradictions, logic-coverage, rule-safety, rule-verifiability, query-plan-safety, req-status-vocabulary, strict-fact-shape, strict-req-fact-pairing, predicate-verifiability, strict-readiness, semantic-completeness, related-requirement-unmodeled, proof-contract-symbols, entity-id-style, domain-redundancy, domain-implication, subject-key-identity, subject-key-shape, ontology-quality, exception-unapproved, exception-approval-self-attested, agent-requirement-unapproved, requirement-rationale-missing, symbol-owner-superseded, adr-unlinked, adr-proposed, predicate-schema-conformance, entity-context-missing, entity-context-acknowledged, decision-firm-unreferenced, decision-firm-superseded, decision-firm-edited, supersedes-reason-missing, supersedes-reason-acknowledged, policy-ownership, policy-markers, kb-consistency, kb-consistency-unresolved, evidence-floor, proof-contract-claims. 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.";
|
|
16
16
|
};
|
|
17
17
|
readonly sourceFiles: {
|
|
18
18
|
readonly type: "array";
|
|
@@ -123,6 +123,11 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
123
123
|
readonly enum: readonly ["firm", "default", "exploratory"];
|
|
124
124
|
readonly description: "req/adr only. firm = a human stated it as a rule (needs origin.ref to their words); its title, meaning or firmness changes only with new human words (a new origin.ref) or by supersede. default = delegated or agent choice; exploratory = flagged guess. Absent = default if an agent wrote it, else firm.";
|
|
125
125
|
};
|
|
126
|
+
readonly required_evidence: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly enum: readonly ["proved", "tested", "asserted", "unverified"];
|
|
129
|
+
readonly description: "Requirement-only. Weakest evidence level it accepts; the evidence-floor rule fails below it. Absent = tested if firm, else unverified.";
|
|
130
|
+
};
|
|
126
131
|
readonly rationale: {
|
|
127
132
|
readonly type: "string";
|
|
128
133
|
readonly minLength: 1;
|
|
@@ -202,7 +207,87 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
202
207
|
};
|
|
203
208
|
readonly success_policy: {
|
|
204
209
|
readonly type: "string";
|
|
205
|
-
readonly enum: readonly ["all_required_first_attempt"];
|
|
210
|
+
readonly enum: readonly ["all_required_first_attempt", "own_results_first_attempt"];
|
|
211
|
+
};
|
|
212
|
+
readonly kind: {
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
readonly enum: readonly ["e2e", "example", "property", "exhaustive", "typecheck", "arithmetic", "smt"];
|
|
215
|
+
readonly description: "What the checker establishes; absent means e2e. exhaustive, typecheck, arithmetic and smt must leave a kibi.code-certificate.v1 that Kibi re-checks before the receipt counts as proved.";
|
|
216
|
+
};
|
|
217
|
+
readonly domain_source: {
|
|
218
|
+
readonly type: "object";
|
|
219
|
+
readonly description: "exhaustive and typecheck: the symbol that defines the finite domain. The proof must import it from its source file; a hand-listed domain downgrades the receipt to example. Kibi reads the export named `export`, or the symbol's title when `export` is absent.";
|
|
220
|
+
readonly required: readonly ["symbol_id"];
|
|
221
|
+
readonly properties: {
|
|
222
|
+
readonly symbol_id: {
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
readonly minLength: 1;
|
|
225
|
+
};
|
|
226
|
+
readonly export: {
|
|
227
|
+
readonly type: "string";
|
|
228
|
+
readonly minLength: 1;
|
|
229
|
+
readonly description: "The name the domain is exported under in the symbol's source file, when the symbol's title is not that name.";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
readonly additionalProperties: false;
|
|
233
|
+
};
|
|
234
|
+
readonly witness: {
|
|
235
|
+
readonly type: "object";
|
|
236
|
+
readonly description: "typecheck: the repository-relative witness file Kibi compiles (an exhaustive switch ending in never, or a mapped type over the domain).";
|
|
237
|
+
readonly required: readonly ["path"];
|
|
238
|
+
readonly properties: {
|
|
239
|
+
readonly path: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
readonly minLength: 1;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
readonly additionalProperties: false;
|
|
245
|
+
};
|
|
246
|
+
readonly proves: {
|
|
247
|
+
readonly type: "array";
|
|
248
|
+
readonly description: "Certificate kinds: the requirement claim keys (CLAIM-...) this certificate proves. Each must be a modeled claim of a current requirement the test reaches through its scenarios. Kibi derives what the certificate must establish from the claim's grounding fact (a set fact for exhaustive or typecheck, a numeric fact for arithmetic or smt); a claim with no such derivation is only attested and never counts as proved.";
|
|
249
|
+
readonly minItems: 1;
|
|
250
|
+
readonly items: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly pattern: "^CLAIM-";
|
|
253
|
+
};
|
|
254
|
+
readonly uniqueItems: true;
|
|
255
|
+
};
|
|
256
|
+
readonly value_source: {
|
|
257
|
+
readonly type: "array";
|
|
258
|
+
readonly description: "arithmetic and smt: code constants the assumptions read. Kibi evaluates each export at ingest and requires the certificate to assume the variable equals that value, so the proof is about the code and not only the knowledge base.";
|
|
259
|
+
readonly minItems: 1;
|
|
260
|
+
readonly items: {
|
|
261
|
+
readonly type: "object";
|
|
262
|
+
readonly required: readonly ["symbol_id"];
|
|
263
|
+
readonly properties: {
|
|
264
|
+
readonly symbol_id: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly minLength: 1;
|
|
267
|
+
};
|
|
268
|
+
readonly export: {
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly minLength: 1;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
readonly additionalProperties: false;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
readonly constraint_source: {
|
|
277
|
+
readonly type: "object";
|
|
278
|
+
readonly description: "arithmetic and smt: the typed numeric property_value facts the certificate's assumptions come from. Kibi checks the assumptions (or the query's assertions) are exactly these facts' constraints, so the proof is about the knowledge base, not numbers the test chose.";
|
|
279
|
+
readonly required: readonly ["fact_ids"];
|
|
280
|
+
readonly properties: {
|
|
281
|
+
readonly fact_ids: {
|
|
282
|
+
readonly type: "array";
|
|
283
|
+
readonly minItems: 1;
|
|
284
|
+
readonly items: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
readonly minLength: 1;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
readonly additionalProperties: false;
|
|
206
291
|
};
|
|
207
292
|
};
|
|
208
293
|
readonly additionalProperties: false;
|
|
@@ -250,12 +335,12 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
250
335
|
readonly maxItems: 50;
|
|
251
336
|
readonly items: {
|
|
252
337
|
readonly type: "object";
|
|
253
|
-
readonly description: "Kibi-derived kibi.proof-receipt.v1. Receipts are never caller-authored; kb_ingest_proof derives them from kibi.proof-run.v1 artifacts.";
|
|
338
|
+
readonly description: "Kibi-derived kibi.proof-receipt.v2 (kibi.proof-receipt.v1 entries are still read). Receipts are never caller-authored; kb_ingest_proof derives them from kibi.proof-run.v1 artifacts.";
|
|
254
339
|
readonly required: readonly ["version", "receipt_id", "test_id", "scope", "outcome", "code_snapshot", "environment_hash", "started_at", "finished_at", "artifact_digest", "contract_hash", "fingerprint", "fingerprint_components", "integration_id", "producer", "command_argv", "run_outcome", "proof_results"];
|
|
255
340
|
readonly properties: {
|
|
256
341
|
readonly version: {
|
|
257
342
|
readonly type: "string";
|
|
258
|
-
readonly
|
|
343
|
+
readonly enum: readonly ["kibi.proof-receipt.v1", "kibi.proof-receipt.v2"];
|
|
259
344
|
};
|
|
260
345
|
readonly receipt_id: {
|
|
261
346
|
readonly type: "string";
|
|
@@ -437,6 +522,63 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
437
522
|
readonly additionalProperties: false;
|
|
438
523
|
};
|
|
439
524
|
};
|
|
525
|
+
readonly kind: {
|
|
526
|
+
readonly type: "string";
|
|
527
|
+
readonly enum: readonly ["e2e", "example", "property", "exhaustive", "typecheck", "arithmetic", "smt"];
|
|
528
|
+
};
|
|
529
|
+
readonly evidence_level: {
|
|
530
|
+
readonly type: "string";
|
|
531
|
+
readonly enum: readonly ["proved", "tested"];
|
|
532
|
+
};
|
|
533
|
+
readonly certificate: {
|
|
534
|
+
readonly type: "object";
|
|
535
|
+
};
|
|
536
|
+
readonly certificate_digest: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
539
|
+
};
|
|
540
|
+
readonly certificate_rejection: {
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
readonly minLength: 1;
|
|
543
|
+
};
|
|
544
|
+
readonly claim_bindings: {
|
|
545
|
+
readonly type: "array";
|
|
546
|
+
readonly description: "Certificate kinds: how the certificate binds to each claim its contract names in proves, judged at ingest. derived means Kibi derived the certificate's obligation from the claim's grounding fact and the certificate satisfies it; attested means no derivation exists and the author vouches for it (never proved); rejected names why.";
|
|
547
|
+
readonly items: {
|
|
548
|
+
readonly type: "object";
|
|
549
|
+
readonly required: readonly ["claim_key", "binding"];
|
|
550
|
+
readonly properties: {
|
|
551
|
+
readonly claim_key: {
|
|
552
|
+
readonly type: "string";
|
|
553
|
+
readonly minLength: 1;
|
|
554
|
+
};
|
|
555
|
+
readonly requirement_id: {
|
|
556
|
+
readonly type: "string";
|
|
557
|
+
readonly minLength: 1;
|
|
558
|
+
};
|
|
559
|
+
readonly fact_id: {
|
|
560
|
+
readonly type: "string";
|
|
561
|
+
readonly minLength: 1;
|
|
562
|
+
};
|
|
563
|
+
readonly binding: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
readonly enum: readonly ["derived", "attested", "rejected"];
|
|
566
|
+
};
|
|
567
|
+
readonly scope: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
readonly enum: readonly ["code", "intent"];
|
|
570
|
+
};
|
|
571
|
+
readonly obligation: {
|
|
572
|
+
readonly type: "object";
|
|
573
|
+
};
|
|
574
|
+
readonly reason: {
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
readonly minLength: 1;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
readonly additionalProperties: false;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
440
582
|
readonly gaps: {
|
|
441
583
|
readonly type: "array";
|
|
442
584
|
readonly items: {
|
|
@@ -484,8 +626,8 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
484
626
|
};
|
|
485
627
|
readonly value_type: {
|
|
486
628
|
readonly type: "string";
|
|
487
|
-
readonly enum: readonly ["string", "int", "number", "bool"];
|
|
488
|
-
readonly description: "Optional typed value discriminator for property_value facts. Pair with exactly one value_string, value_int, value_number, or
|
|
629
|
+
readonly enum: readonly ["string", "int", "number", "bool", "set"];
|
|
630
|
+
readonly description: "Optional typed value discriminator for property_value facts. Pair with exactly one value_string, value_int, value_number, value_bool, or value_set (set: an exact list of allowed values, operator eq or neq); do not use generic value.";
|
|
489
631
|
};
|
|
490
632
|
readonly value_string: {
|
|
491
633
|
readonly type: "string";
|
|
@@ -503,6 +645,16 @@ export declare const ENTITY_PROPERTIES_SCHEMA: {
|
|
|
503
645
|
readonly type: "boolean";
|
|
504
646
|
readonly description: "Optional boolean value for property_value facts.";
|
|
505
647
|
};
|
|
648
|
+
readonly value_set: {
|
|
649
|
+
readonly type: "array";
|
|
650
|
+
readonly items: {
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
readonly minLength: 1;
|
|
653
|
+
};
|
|
654
|
+
readonly minItems: 1;
|
|
655
|
+
readonly uniqueItems: true;
|
|
656
|
+
readonly description: "Optional exact set of values for property_value facts with value_type set, such as the members a domain must have.";
|
|
657
|
+
};
|
|
506
658
|
readonly unit: {
|
|
507
659
|
readonly type: "string";
|
|
508
660
|
readonly description: "Optional unit for numeric property_value facts.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-schemas.d.ts","sourceRoot":"","sources":["../../../../src/public/operations/specs/mutation-schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mutation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
1
1
|
import { ENTITY_ORIGIN_SCHEMA } from "../../entity-origin.js";
|
|
2
|
+
import { EVIDENCE_LEVELS } from "../../evidence-levels.js";
|
|
2
3
|
import { PROOF_BINDINGS_SCHEMA, PROOF_CONTRACT_SCHEMA, } from "../../proof-protocol.js";
|
|
3
4
|
import { MAX_PROOF_RECEIPTS, PROOF_RECEIPT_SCHEMA, } from "../../proof-receipt.js";
|
|
4
5
|
export const ENTITY_TYPES = [
|
|
@@ -107,6 +108,11 @@ export const ENTITY_PROPERTIES_SCHEMA = {
|
|
|
107
108
|
enum: ["firm", "default", "exploratory"],
|
|
108
109
|
description: "req/adr only. firm = a human stated it as a rule (needs origin.ref to their words); its title, meaning or firmness changes only with new human words (a new origin.ref) or by supersede. default = delegated or agent choice; exploratory = flagged guess. Absent = default if an agent wrote it, else firm.",
|
|
109
110
|
},
|
|
111
|
+
required_evidence: {
|
|
112
|
+
type: "string",
|
|
113
|
+
enum: [...EVIDENCE_LEVELS],
|
|
114
|
+
description: "Requirement-only. Weakest evidence level it accepts; the evidence-floor rule fails below it. Absent = tested if firm, else unverified.",
|
|
115
|
+
},
|
|
110
116
|
rationale: {
|
|
111
117
|
type: "string",
|
|
112
118
|
minLength: 1,
|
|
@@ -204,8 +210,8 @@ export const ENTITY_PROPERTIES_SCHEMA = {
|
|
|
204
210
|
},
|
|
205
211
|
value_type: {
|
|
206
212
|
type: "string",
|
|
207
|
-
enum: ["string", "int", "number", "bool"],
|
|
208
|
-
description: "Optional typed value discriminator for property_value facts. Pair with exactly one value_string, value_int, value_number, or
|
|
213
|
+
enum: ["string", "int", "number", "bool", "set"],
|
|
214
|
+
description: "Optional typed value discriminator for property_value facts. Pair with exactly one value_string, value_int, value_number, value_bool, or value_set (set: an exact list of allowed values, operator eq or neq); do not use generic value.",
|
|
209
215
|
},
|
|
210
216
|
value_string: {
|
|
211
217
|
type: "string",
|
|
@@ -223,6 +229,13 @@ export const ENTITY_PROPERTIES_SCHEMA = {
|
|
|
223
229
|
type: "boolean",
|
|
224
230
|
description: "Optional boolean value for property_value facts.",
|
|
225
231
|
},
|
|
232
|
+
value_set: {
|
|
233
|
+
type: "array",
|
|
234
|
+
items: { type: "string", minLength: 1 },
|
|
235
|
+
minItems: 1,
|
|
236
|
+
uniqueItems: true,
|
|
237
|
+
description: "Optional exact set of values for property_value facts with value_type set, such as the members a domain must have.",
|
|
238
|
+
},
|
|
226
239
|
unit: {
|
|
227
240
|
type: "string",
|
|
228
241
|
description: "Optional unit for numeric property_value facts.",
|
|
@@ -191,6 +191,15 @@ export declare const ingestProofSpec: {
|
|
|
191
191
|
readonly minLength: 1;
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
|
+
readonly certificates: {
|
|
195
|
+
readonly type: "array";
|
|
196
|
+
readonly description: "kibi.code-certificate.v1 objects the run left for certificate-kind contracts, one per test. Kibi re-checks each before a receipt counts as proved.";
|
|
197
|
+
readonly maxItems: 1000;
|
|
198
|
+
readonly items: {
|
|
199
|
+
readonly type: "object";
|
|
200
|
+
readonly required: readonly ["version", "kind", "test_id"];
|
|
201
|
+
};
|
|
202
|
+
};
|
|
194
203
|
};
|
|
195
204
|
readonly additionalProperties: false;
|
|
196
205
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proof.d.ts","sourceRoot":"","sources":["../../../../src/public/operations/specs/proof.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAInD,YAAY,EACV,eAAe,EACf,iBAAiB,GAClB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAG/E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"proof.d.ts","sourceRoot":"","sources":["../../../../src/public/operations/specs/proof.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,EACnB,MAAM,2CAA2C,CAAC;AAInD,YAAY,EACV,eAAe,EACf,iBAAiB,GAClB,MA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