pi-memory-evolution 0.2.3 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to pi-memory-evolution are documented here.
4
4
 
5
+ ## [0.2.4](https://github.com/btnalit/pi-memory-evolution/compare/v0.2.3...v0.2.4) (2026-09-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * correct the schema marker in docs and state the promise up front ([#12](https://github.com/btnalit/pi-memory-evolution/issues/12)) ([2a651c4](https://github.com/btnalit/pi-memory-evolution/commit/2a651c484af606ab66b0381b8a73afc11a660585))
11
+
5
12
  ## [0.2.3](https://github.com/btnalit/pi-memory-evolution/compare/v0.2.2...v0.2.3) (2026-09-09)
6
13
 
7
14
 
package/README.cn.md CHANGED
@@ -42,7 +42,7 @@ pi install https://github.com/btnalit/pi-memory-evolution
42
42
  /memory status
43
43
  ```
44
44
 
45
- 出现 `SQLite ok (schema 5)` 表示存储初始化成功。后续正常使用 Pi 即可,学习和召回会自动运行。
45
+ 出现 `SQLite ok (schema 6)` 表示存储初始化成功。后续正常使用 Pi 即可,学习和召回会自动运行。
46
46
 
47
47
  ## 使用
48
48
 
package/README.md CHANGED
@@ -46,7 +46,7 @@ Choose **one** source, then run these commands inside Pi:
46
46
  /memory status
47
47
  ```
48
48
 
49
- `SQLite ok (schema 5)` confirms storage initialization. Continue using Pi normally;
49
+ `SQLite ok (schema 6)` confirms storage initialization. Continue using Pi normally;
50
50
  learning and recall run automatically.
51
51
 
52
52
  ## Use
@@ -195,7 +195,7 @@ reset, automatic state revival or fabricated verification occurs.
195
195
  Reads validate evidence/feedback shape and tool-observation kind, and return independent
196
196
  copies of nested metadata. Status validates receipt fields in addition to existing
197
197
  record/job/history integrity. Unsupported schema versions fail before DDL. Old builds
198
- reject schema 5: do not manually downgrade its marker.
198
+ reject schema 6: do not manually downgrade its marker.
199
199
 
200
200
  Stop all Pi processes sharing the state directory and back up the complete state before
201
201
  activation. Update/restart all those processes together (or reload after a consistent
package/docs/testing.md CHANGED
@@ -67,7 +67,7 @@ host explicitly. The script prints the tested host version. The test:
67
67
  1. Builds and extracts the actual npm tarball, outside the development checkout.
68
68
  2. Uses real `pi install`, `pi list` and default package discovery—no explicit `-e`
69
69
  entry or memory-extension wrapper. Checks `/memory status`, `/memory learning`
70
- and `/memory explain`, including schema 5, with no checkout `node_modules`.
70
+ and `/memory explain`, including schema 6, with no checkout `node_modules`.
71
71
  3. Verifies repeated installation does not duplicate the package setting, then
72
72
  removes it and confirms the command disappears while records/history remain.
73
73
  4. Creates a local Git origin from the packed files and the real lockfile. A
@@ -75,7 +75,7 @@ host explicitly. The script prints the tested host version. The test:
75
75
  `file` transport is permitted. No GitHub access is needed.
76
76
  5. Exercises the native Git installer and its real npm dependency step, updates to
77
77
  a new commit, switches from an old pinned tag back to the default branch, and
78
- verifies source switching and removal preserve schema-5 state.
78
+ verifies source switching and removal preserve schema-6 state.
79
79
  6. Serves the actual tarball through a loopback npm registry, with a fresh cache,
80
80
  then checks native `pi install npm:pi-memory-evolution`, repeat installation,
81
81
  normal loading and removal. No host peer packages are served or installed.
package/docs/usage.md CHANGED
@@ -289,6 +289,9 @@ These are optional direct controls, **not approval gates**:
289
289
  /memory status # integrity + retries + processed-versus-changed outcomes
290
290
  /memory history # last 10 events across all origins
291
291
  /memory evolve # optional one-off retry, overriding delay/failure limit
292
+ /memory evolve <source-id> # retry one named source without clearing other failure counts
293
+ /memory import [directory] # explicit, repeat-safe legacy JSONL import; never replays a completed one
294
+ /memory archive-legacy # copy inactive legacy plan files to a timestamped archive; originals kept
292
295
  /memory undo <event-id> # reverse actual changes, if not modified since
293
296
  /memory feedback <id> <verdict> # useful | unhelpful | accurate | incorrect
294
297
  /memory correct <id> <replacement> # literal replacement, 4–480 characters
@@ -353,7 +356,7 @@ contract (plus missing retry fields for older schemas). Existing records, IDs, h
353
356
  evidence dates remain unchanged. Missing evidence stays unknown, with no fabricated backfill.
354
357
  Existing failures below the limit become automatically eligible; their old error cause/time
355
358
  remain labeled unknown rather than invented. No copying, manual marker reset or JSONL
356
- re-import is needed. Older builds reject schema 5; rollback requires a matching backup,
359
+ re-import is needed. Older builds reject schema 6; rollback requires a matching backup,
357
360
  not editing the marker. Existing records are immediately eligible for global relevance-based recall.
358
361
  Legacy claims previously excluded by cwd filtering become eligible too. This shares
359
362
  relevant stored claims with the active Pi session/provider, not raw session archives.
@@ -408,4 +411,4 @@ JSONL, not changes made in the new database.
408
411
  stopped; do not mix one backup's database with another's WAL/SHM files.
409
412
 
410
413
  Diagnostics intentionally do not echo provider error bodies, which may contain secrets.
411
- `SQLite ok (schema 5)` checks database structure/record validity, not the truth of model claims.
414
+ `SQLite ok (schema 6)` checks database structure/record validity, not the truth of model claims.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-memory-evolution",
3
- "version": "0.2.3",
4
- "description": "Automatic cross-session memory using Pi's active model, transactional local storage, and topic-based recall across directories.",
3
+ "version": "0.2.4",
4
+ "description": "Memory that maintains itself. Pi learns what matters, injects what this session needs, and recalls the rest — nothing to configure, no commands to learn.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public",