project-brain 0.34.0 → 0.35.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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -253,6 +253,8 @@ The CLI commands exit 0 for any executed query — including legitimate empty re
253
253
  | `manage_adr` | Create or list Architecture Decision Records. Append-only: supersede by creating a new ADR with `supersedes:<slug>`. |
254
254
  | `get_architecture` | One-call project summary: detected tech stack, indexed modules, chunk count, and symbol count. |
255
255
  | `sync_project` | Re-index changed files now (incremental, hash-gated). Streams progress via MCP notifications when the client supplies a `progressToken`. Use when results look stale. |
256
+ | `okf_candidates` | Mines `fix:` commits for OKF write candidates: scores each against the symbol graph and existing bundle coverage, so the agent gets ranked suggestions instead of hunting through history by hand. |
257
+ | `okf_write` | Writes a new OKF concept file from structured fields (type, title, anchor, body). Refuses to write when any declared anchor (`resource` or `sources[]`) doesn't resolve against the repo and its symbol graph — an unverifiable claim never reaches the bundle. |
256
258
 
257
259
  Curated knowledge (the *why* behind the code) lives in an OKF bundle rather than in these tools — see [`okf`](#okf--knowledge-bundles-the-why-not-the-what).
258
260
 
@@ -443,6 +445,8 @@ Check system health: Ollama availability, LanceDB status, and staleness of the i
443
445
  project-brain health
444
446
  ```
445
447
 
448
+ Also reports the outcome of the last background sync (`.project-brain/sync-status.json`) as a `Last sync:` line — `ok`, `aborted` (the watchdog gave up on a wedged job), `failed`, or `crashed` (the process died mid-run without ever writing a terminal outcome). Anything short of a clean `ok` points at `.project-brain/sync.log`, where the post-commit hook's `sync`/`conceptualize` output actually lands (overwritten on each run, so it always reflects the last one). The `check_health` MCP tool surfaces the same data as a `lastSync` field.
449
+
446
450
  ### `bench` — measure retrieval quality
447
451
 
448
452
  Published embedding leaderboards score a different corpus and a different task. A percent-or-two delta on someone else's benchmark says nothing about whether YOUR queries still surface the right file after changing model, dimension or chunking — so `bench` measures against ground truth from *this* repository instead.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-brain",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "type": "module",
5
5
  "description": "Local-first MCP server that gives AI tools semantic memory of your codebase.",
6
6
  "author": "jcsoftdev",
@@ -49,11 +49,11 @@
49
49
  "zod": "^4.4.3"
50
50
  },
51
51
  "optionalDependencies": {
52
- "project-brain-darwin-arm64": "0.34.0",
53
- "project-brain-linux-x64": "0.34.0",
54
- "project-brain-linux-arm64": "0.34.0",
55
- "project-brain-windows-x64": "0.34.0",
56
- "project-brain-windows-arm64": "0.34.0"
52
+ "project-brain-darwin-arm64": "0.35.0",
53
+ "project-brain-linux-x64": "0.35.0",
54
+ "project-brain-linux-arm64": "0.35.0",
55
+ "project-brain-windows-x64": "0.35.0",
56
+ "project-brain-windows-arm64": "0.35.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/bun": "latest",