@geohar/pi-cribsheet 0.22.1 → 0.23.0-dev1

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/CHANGELOG.md +44 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,50 @@ This file ships in the Pi package, where Pi shows the entries newer than the
9
9
  version you last ran. `scripts/bump-version.sh` refuses a release whose
10
10
  version has no heading here.
11
11
 
12
+ ## [0.23.0-dev1] - 2026-11-12
13
+
14
+ The DuckDB cache now has one uniform shape: an item per note, decision, plan,
15
+ learning or code symbol; one table per kind for that kind's own fields; one
16
+ table of links between items; and the lexical postings. The files stay the
17
+ truth. The store is kept exact by every read and write, and answers the
18
+ queries.
19
+
20
+ ### Added
21
+
22
+ - Dependency kinds. A dependency can say what it means: `follows` (blocked
23
+ until the target is done), `rests_on` (blocked while the target is stale)
24
+ or `informed_by` (checked for change, never blocks). Without one, a dep
25
+ gets the target's default: a plan is `follows`, a decision `rests_on`, a
26
+ note `informed_by`. Use `--follows`, `--rests-on`, `--informed-by` or
27
+ `dep-add --as`; reads report each dep's kind.
28
+ - A plain note can be a dependency target: checked for change, never
29
+ blocking. It used to read as a deleted dependency.
30
+
31
+ ### Changed
32
+
33
+ - Code search runs from the store, so crib no longer keeps every project's
34
+ symbols, keyword index and description vectors in memory. On a 10,000
35
+ symbol project a warm read of all records takes 0.2 s.
36
+ - Design and plan graph reads parse only files changed since the last read:
37
+ 0.16 s to 0.03 s on a 455-item project.
38
+ - The startup and post-pull reconcile reads only notes changed since they
39
+ were last indexed: 4.2 s to 0.5 s across 21 projects. An explicit
40
+ `reindex` still re-reads everything.
41
+ - The watcher refreshes the store as record files, decisions and plans
42
+ change; reads still catch anything it misses.
43
+ - Decisions written by crib no longer carry an empty `links: []` line.
44
+
45
+ ### Fixed
46
+
47
+ - Projects that vendor the same file (the same symbol in several projects)
48
+ no longer overwrite each other's symbols in the store.
49
+
50
+ ### Upgrading
51
+
52
+ - The store's schema changes, so the first daemon on this version rebuilds
53
+ its DuckDB cache once from the files. Nothing in your notes, decisions,
54
+ plans or symbol records changes.
55
+
12
56
  ## [0.22.1] - 2026-11-10
13
57
 
14
58
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geohar/pi-cribsheet",
3
- "version": "0.22.1",
3
+ "version": "0.23.0-dev1",
4
4
  "description": "Pi extension: run the crib (cribsheet) memory + code-index MCP server via sharedserver, inject the reach-for-crib directive, and ship the /crib recall command. Pairs with pi-mcp-adapter.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",