kibi-cursor 2.6.3 → 2.6.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kibi-cursor",
3
3
  "displayName": "Kibi",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "description": "Optional Cursor adapter for Kibi. Requires project-local kibi-cli, kibi-mcp, and kibi-core (SWI-Prolog is bundled on Linux and macOS) before the bundled MCP server can start.",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "author": {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # kibi-cursor
2
2
 
3
+ ## 2.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 89d8b8e: `kb_model` mode `predicates` no longer offers a predicate plan that `kb_check` would then reject. The requirement's subject now binds the argument a schema names `subject` wherever it sits, and for a schema without one (such as `permission_rule`) it is recorded as the planned predicate fact's `subject_key`; a predicate that is not about a subject the requirement constrains stays `provide_argument_bindings` with a hint instead of `replace_grounding` or `apply_requires_predicate`. A value taken from the claim for an actor, resource or other participant that is a long clause (more than three words) is no longer accepted as a binding.
8
+
9
+ Technical summary: `buildSuggestion` binds `subjectHint` or the single constrained subject into `argument_names.indexOf("subject")` and adds `subject_key` and `subject_pairing` (`paired`, `unpaired`, `not_required`) to each candidate; an unpaired candidate gets `subject` or `subject_key` in `unbound_arguments`, a `bindingHints` entry (position -1 for `subject_key`) and a warning naming the schema. `buildPredicateApplyPlan` writes `subject_key` on the planned fact when it is known, so `replacementPlan` step 1 carries it. `classifyBinding` treats an extracted value of an `entity`, `actor`, `actor_scope`, `resource`, `owner`, `role` or `component` argument with more than three snake-case words as a placeholder (`clauseBindingReason`), and the hint says why. The constrained subjects are now read even when `subjectHint` is passed. The kibi-usage skill (2.9.0) describes `subject_key` and short participant bindings.
10
+
3
11
  ## 2.6.3
4
12
 
5
13
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "kibi",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "description": "Repo-local, per-branch, queryable knowledge base. Portable Agent Plugin packaging Kibi's Agent Skills and MCP server.",
6
6
  "author": { "name": "Kibi" },
7
7
  "homepage": "https://looted.github.io/kibi/",
@@ -2,7 +2,7 @@
2
2
  id: kibi-usage
3
3
  name: Kibi Usage
4
4
  description: Use Kibi's source-first, exact-Git, migration-aware, proof-aware operations safely across MCP or the trusted local CLI, including partial completion repair.
5
- version: 2.8.0
5
+ version: 2.9.0
6
6
  kibiCompatibility: ">=1.0.0"
7
7
  tags:
8
8
  - kibi
@@ -260,7 +260,11 @@ constants) or `examples`, and why the current value was refused. With a
260
260
  `requirementId` whose requirement `constrains` one subject fact, the `subject`
261
261
  argument is already bound to that fact's `subject_key` (provenance
262
262
  `requirement`); keep it, so the predicate and the subject fact name one
263
- subject. Bind them
263
+ subject. A schema without a `subject` argument (`permission_rule`) records
264
+ that key as the planned fact's `subject_key` instead; when the requirement
265
+ constrains several subjects, an unbound `subject_key` asks you to pass
266
+ `subjectHint` with one of them. A participant (`actor`, `resource`, entity)
267
+ is a short noun, never a clause of the claim. Bind them
264
268
  from the claim's own words and call again with the same `text` and
265
269
  `requirementId`, plus `schemaId` and `argumentBindings` keyed by
266
270
  `argument_names` (reuse `argument_constants` values when the schema has them).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kibi-cursor",
3
3
  "displayName": "Kibi",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "description": "Optional Cursor adapter for Kibi. Requires project-local kibi-cli, kibi-mcp, and kibi-core (SWI-Prolog is bundled on Linux and macOS) before the bundled MCP server can start.",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "author": {
@@ -13,7 +13,7 @@
13
13
  "kibi-traceability/resources/operation-access.md": "39f7972ab7f4ae7479e78f7072bb50e8e6c4cdf4f857425f69d2522d37db437c",
14
14
  "kibi-traceability/resources/source-authoring.md": "408c6ee2bef1b84e0194c0538ef929c26a0a617e631b2234247388140dbbdd08",
15
15
  "kibi-traceability/resources/traceability.md": "38c290a0bc71bd1692e115f22694743946e2f69630e134acfd43cee5f613fb88",
16
- "kibi-usage/SKILL.md": "91688060880c219a867e995571d869fc7f9ddd5a952d2c780af1f9759c61cc49",
16
+ "kibi-usage/SKILL.md": "e19f255af525a64e8e8650271c7906f4e839521db944a3352972b7bf45537c85",
17
17
  "kibi-usage/resources/branch-lifecycle.md": "f1bf359e9826e83c548f3cd0287f8175a62456527b0132b06b3f9f74aa59b7d6",
18
18
  "kibi-usage/resources/fact-lanes.md": "97f5a9aaa331835018312d6684038c2b2a0c383827716fb7c9de3faedbee622b",
19
19
  "kibi-usage/resources/kb-improvement.md": "a8408fce27342bdce6415a6718599e53fe00bb33aa1fd3dc42353ec6f61adcd7",
@@ -2,7 +2,7 @@
2
2
  id: kibi-usage
3
3
  name: Kibi Usage
4
4
  description: Use Kibi's source-first, exact-Git, migration-aware, proof-aware operations safely across MCP or the trusted local CLI, including partial completion repair.
5
- version: 2.8.0
5
+ version: 2.9.0
6
6
  kibiCompatibility: ">=1.0.0"
7
7
  tags:
8
8
  - kibi
@@ -260,7 +260,11 @@ constants) or `examples`, and why the current value was refused. With a
260
260
  `requirementId` whose requirement `constrains` one subject fact, the `subject`
261
261
  argument is already bound to that fact's `subject_key` (provenance
262
262
  `requirement`); keep it, so the predicate and the subject fact name one
263
- subject. Bind them
263
+ subject. A schema without a `subject` argument (`permission_rule`) records
264
+ that key as the planned fact's `subject_key` instead; when the requirement
265
+ constrains several subjects, an unbound `subject_key` asks you to pass
266
+ `subjectHint` with one of them. A participant (`actor`, `resource`, entity)
267
+ is a short noun, never a clause of the claim. Bind them
264
268
  from the claim's own words and call again with the same `text` and
265
269
  `requirementId`, plus `schemaId` and `argumentBindings` keyed by
266
270
  `argument_names` (reuse `argument_constants` values when the schema has them).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kibi-cursor",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "Kibi Cursor plugin - thin adapter for Cursor MCP integration and editor hooks",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "kibi-traceability/resources/operation-access.md": "39f7972ab7f4ae7479e78f7072bb50e8e6c4cdf4f857425f69d2522d37db437c",
14
14
  "kibi-traceability/resources/source-authoring.md": "408c6ee2bef1b84e0194c0538ef929c26a0a617e631b2234247388140dbbdd08",
15
15
  "kibi-traceability/resources/traceability.md": "38c290a0bc71bd1692e115f22694743946e2f69630e134acfd43cee5f613fb88",
16
- "kibi-usage/SKILL.md": "91688060880c219a867e995571d869fc7f9ddd5a952d2c780af1f9759c61cc49",
16
+ "kibi-usage/SKILL.md": "e19f255af525a64e8e8650271c7906f4e839521db944a3352972b7bf45537c85",
17
17
  "kibi-usage/resources/branch-lifecycle.md": "f1bf359e9826e83c548f3cd0287f8175a62456527b0132b06b3f9f74aa59b7d6",
18
18
  "kibi-usage/resources/fact-lanes.md": "97f5a9aaa331835018312d6684038c2b2a0c383827716fb7c9de3faedbee622b",
19
19
  "kibi-usage/resources/kb-improvement.md": "a8408fce27342bdce6415a6718599e53fe00bb33aa1fd3dc42353ec6f61adcd7",
@@ -2,7 +2,7 @@
2
2
  id: kibi-usage
3
3
  name: Kibi Usage
4
4
  description: Use Kibi's source-first, exact-Git, migration-aware, proof-aware operations safely across MCP or the trusted local CLI, including partial completion repair.
5
- version: 2.8.0
5
+ version: 2.9.0
6
6
  kibiCompatibility: ">=1.0.0"
7
7
  tags:
8
8
  - kibi
@@ -260,7 +260,11 @@ constants) or `examples`, and why the current value was refused. With a
260
260
  `requirementId` whose requirement `constrains` one subject fact, the `subject`
261
261
  argument is already bound to that fact's `subject_key` (provenance
262
262
  `requirement`); keep it, so the predicate and the subject fact name one
263
- subject. Bind them
263
+ subject. A schema without a `subject` argument (`permission_rule`) records
264
+ that key as the planned fact's `subject_key` instead; when the requirement
265
+ constrains several subjects, an unbound `subject_key` asks you to pass
266
+ `subjectHint` with one of them. A participant (`actor`, `resource`, entity)
267
+ is a short noun, never a clause of the claim. Bind them
264
268
  from the claim's own words and call again with the same `text` and
265
269
  `requirementId`, plus `schemaId` and `argumentBindings` keyed by
266
270
  `argument_names` (reuse `argument_constants` values when the schema has them).