@aeondave/pi-persona-mind 0.9.3 → 0.9.5

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
@@ -1,224 +1,263 @@
1
- # Changelog
2
-
3
- ## [0.9.3](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.3) - 2026-11-22
4
-
5
- - Improve lexical recall for camelCase/acronyms and vowel accents with weaker fallback scores;
6
- preserve Unicode, exact paths, numeric versions and negation. Extend the offline evaluator with
7
- the preceding implementation, negative controls and a separate labelled holdout.
8
- - Retain before/after receipts for ordinary explicit memory replacements in the existing bounded
9
- history. Discover them with `memory history` or `/mind history`, then page the full retained detail.
10
- Historical facts stay outside active recall; ordinary replacement undo is deliberately unavailable.
11
- - Add explicit project/persona handoffs with goals, completed/pending work, next steps, references
12
- and native session/branch provenance. Read them in later sessions; completion and forgetting require
13
- the current revision. No automatic expiry, injection, model call or worker restoration is involved.
1
+ # Changelog
2
+
3
+ ## [0.9.5](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.5) - 2026-11-25
4
+
5
+ - Saved Persona workers rank lean memory by the launch task and show relative ages as of the
6
+ launch turn. They still load current durable memory for Persona to check against the saved
7
+ worker contract.
8
+
9
+ ## [0.9.4](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.4) - 2026-11-23
10
+
11
+ - A memory replacement or consolidation refused before anything was written (a full store, a lock
12
+ timeout, any failure that left the memory unchanged) no longer leaves a permanent `prepared` receipt.
13
+ Thirty-two of them used to block every later replacement and consolidation on that store. Receipts
14
+ left prepared by earlier versions carry no store fingerprint and stay protected, so a store already
15
+ holding 32 of them still refuses replacements until its history file is repaired by hand.
16
+ - Words after a dotted version are searchable again: `node:22.19-alpine` matches `alpine`, `3.12-slim`
17
+ matches `slim`. Numeric versions stay exact (`22.19` still does not match `22.19-alpine`), and a tail
18
+ word is never treated as a negation.
19
+ - Automatic memory review retries an interrupted input once, not on every turn. A second interruption
20
+ parks that window until its records change, and rotation moves past it instead of stopping there.
21
+ Turning automatic review off and on no longer resets the count. When a review is parked, the status
22
+ line says so and a result card reports that it was interrupted twice. A worker that reaches its
23
+ 180-second deadline is a failure and is not retried with pi-persona 1.20.0 or later, which reports it
24
+ as failed; earlier pi-persona versions report it as a stop, so it is retried once and then parked.
25
+ - A skipped review window no longer marks another window's pending retry as reviewed. An input whose
26
+ review was interrupted could be recorded as settled when rotation reached a different window, so it
27
+ was never reviewed. The retry is now kept, or dropped without a receipt when its own records are gone.
28
+ - The 32-handoff limit is per persona. One persona's handoffs no longer stop the others from saving;
29
+ only the 128 KiB file limit is shared, and a save it refuses says how many entries the caller and the
30
+ other personas hold. Handoff refusals for an unreadable file say what is wrong with it (unsafe path, size,
31
+ version, missing with a backup, corrupt or inaccessible), name the file and no longer mention optimizing.
32
+ - `remember` with `supersedes` is no longer blocked by a corrupt memory tier it does not write to, when
33
+ that tier recovers completely from its backup. It still refuses, naming the store, when another tier
34
+ cannot be read completely, because that tier could hide the fact being replaced. A backup that exists
35
+ but cannot be used is now reported as a warning on every read instead of being treated as absent.
36
+ - Session shutdown waits at most 5 seconds for a Persona worker's completion; local apply and
37
+ persistence work is still joined in full.
38
+ - The memory evaluation reports held-out false positives both strictly and with its acceptable-match
39
+ labels (5 and 5 strictly; 5 and 3 with labels), and states that the held-out set was written alongside
40
+ the implementation.
41
+
42
+ ## [0.9.3](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.3) - 2026-11-22
43
+
44
+ - Improve lexical recall for camelCase/acronyms and vowel accents with weaker fallback scores;
45
+ preserve Unicode, exact paths, numeric versions and negation. Extend the offline evaluator with
46
+ the preceding implementation, negative controls and a separate labelled holdout.
47
+ - Retain before/after receipts for ordinary explicit memory replacements in the existing bounded
48
+ history. Discover them with `memory history` or `/mind history`, then page the full retained detail.
49
+ Historical facts stay outside active recall; ordinary replacement undo is deliberately unavailable.
50
+ - Add explicit project/persona handoffs with goals, completed/pending work, next steps, references
51
+ and native session/branch provenance. Read them in later sessions; completion and forgetting require
52
+ the current revision. No automatic expiry, injection, model call or worker restoration is involved.
14
53
  - Target and qualify Pi 1.6.0, keeping all four development host packages aligned and unbundled.
15
54
  - Recheck the accepting memory owner and replacement expiry under the write lock. Refuse malformed
16
55
  history/handoff records, keep discovery output bounded, and distinguish branch navigation from
17
56
  ordinary native-session appends.
18
-
19
- - Preserve recording provenance and lineage when an identical memory is recorded again without
20
- replacement metadata.
21
- - Refuse `remember` replacements whose `supersedes` target exists only in another memory tier,
22
- instead of reporting success while keeping both facts active. No cross-tier deletion is implied.
23
-
24
- ## [0.9.2](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.2) - 2026-11-18
25
-
26
- - F10 divides its title, content and keys with the same rules as F9, and its key legend uses the
27
- same glyphs for the plain keys (`↑↓`, `⏎`, `esc`). The margin above and below the content comes
28
- from the shared inspector frame of pi-persona 1.19.0; with 1.18.1 the window keeps its previous
29
- height.
30
-
31
- ## [0.9.1](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.1) - 2026-11-18
32
-
33
- - Require pi-persona 1.18.1 or later for the shared F9/F10 inspector frame.
34
-
35
- - Recheck the live memory file under the recovery lock before restoring a backup, preserving facts
36
- committed by another writer while recovery was waiting.
37
- - Preserve negated capture requests: “Never remember that …” no longer creates a positive session
38
- note; negated decision premises are retained instead of discarded before `:`. Affirmative requests
39
- whose fact contains negative wording, such as “Remember that I never …”, remain valid.
40
- - Acknowledge backlog reminders by both ID and the displayed deadline, preserving concurrent
41
- rescheduling instead of silently consuming the new reminder.
42
- - Recheck persisted memory content before promotion through the shared content guard. Unsafe
43
- out-of-band records cannot move into durable/shared memory, and refusal preserves both stores.
44
- - Suppress late status counts and storage warnings after persona changes or shutdown, using the
45
- same accepting-owner guard as other asynchronous memory operations.
46
- - Simplify the README around memory lifetimes, retrieval, F10 and deliberate maintenance, with
47
- technical details linked to the design contract.
48
- - Share Persona's F9 window frame in F10, including responsive dimensions, gutters and theme
49
- border. Page navigation follows the visible content without gaps; narrow windows preserve the
50
- selected record and search focus belongs only to the active native input.
51
-
52
- ## [0.9.0](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.0) - 2026-11-13
53
-
54
- - Require pi-persona 1.18.0 or later for this release. Mind custom entries use the shared
55
- primary-click expansion contract, preserving state across ordinary renderer rebuilds.
56
- - Invalidate consolidation and staged plans on native branch navigation without treating ordinary
57
- appended turns as owner changes. Old workers cannot apply or report on the new branch;
58
- automatic maintenance retains its existing fresh-worker retry policy.
59
- - Join admitted knowledge-review application through approval, persistence, receipt finalization
60
- and cleanup during shutdown. Revocation does not pretend to roll back already committed writes.
61
- - Keep evidence root/file checks on the same native canonicalization path, including Windows
62
- short-name aliases. Cross-platform swap tests retain real symlink and descriptor defenses.
63
- Lifecycle tests explicitly advance automatic admission timers on the minimum supported Node.
64
- - Add explicit consolidation and evidence-grounded knowledge-review actions to F10. Review selected
65
- facts or bounded scope windows against parent-selected repository files and active-branch user-role
66
- text on the session model; show cited findings before separately approved corrections.
67
- - Revalidate reviewed evidence inside guarded optimizer application and retain the existing CAS,
68
- history and undo path. Knowledge review shares maintenance admission/accounting; retirement findings
69
- remain recommendations, not deletions. Owner/input/model/branch changes cancel pending review work.
70
-
71
- - Add a read-only F10 memory inspector (`/mind browse`) with scoped facts, the last prepared Mind
72
- context, and a bounded active-branch conversation timeline (`/mind timeline`). Search, paginated
73
- lists and scrollable detail/source views do not start model calls or change storage.
74
- - Attribute new explicit save receipts to their accepting owner and target. Open only matching native
75
- recording sources; keep legacy/free-text provenance literal and distinguish recordings from truth.
76
- Session/branch/owner changes revoke open views and prepared-context snapshots.
77
-
78
- - Show the active worker as lowercase `mind`; successful automatic consolidation emits one informative
79
- toast instead of routine result cards. Proposal audits and durable undo history remain available;
80
- explicit reports and important warnings stay visible.
81
- - Include manual worker launches in automatic cooldown/token accounting, preserve their completed
82
- digests, and keep interrupted manual work out of automatic retries. Hold the active slot until a
83
- cancelled worker settles when attempt persistence fails.
84
- - Refuse optimization previews invalidated while their store read is in flight.
85
- - Use the same lexical/path ranker for session recall and archive retrieval, including punctuation,
86
- source references and CJK text. Save receipts explain bounded context selection instead of promising
87
- that every saved fact will reappear automatically.
88
- - Parse each retrieval query once per search instead of once per record, preserving ranking and
89
- tie order while reducing repeated work in large archives.
90
- - Restore only the latest automatic attempt for each target; persist uncertain terminal failures
91
- without advancing coverage and surface attempt-persistence failures after cancellation joins.
92
- - Handle Windows sharing conflicts while acquiring the dead-lock recovery gate as bounded
93
- contention, preserving exclusive callbacks and the existing ownership checks.
94
- - Qualify long-project memory at the 10,000-entry store limit: old-fact recall/read/injection,
95
- pagination, reopen, capacity refusal, consolidation, undo and preservation of unrelated facts.
96
- - Update live qualification to verify the actual toast/audit/receipt contract, exact multi-source
97
- application and successful undo in both Persona engines.
98
- - Resolve installed Pi qualification dependencies through the selected host's public package
99
- exports, including ordinary hoisted npm layouts.
100
- - Use lowercase Mind card headings and review notification prefixes while preserving saved history
101
- and custom titles.
102
- - Keep automatic maintenance quiet: persist the full proposal audit without a visible proposal card,
103
- omit no-op notifications, and preserve manual detail and important warnings.
104
- - Limit background application to multi-source consolidation; skip model admission without a
105
- compatible pair and leave single-record edits available to explicit workflows. This is an eligibility
106
- guard, not a semantic-truth guarantee. Ordinary LLM-selected global memory saves remain available.
107
- - Preserve short-objective lifetime and earliest expiry when consolidating project working memory.
108
- - Require explicit project/persona/shared scope for every long-term remember at both the public tool and
109
- MindService boundary; short-term memory stays project-scoped by default, and objective kind no longer
110
- changes the caller-selected lifetime.
111
- - Route AUTO strong direct-user cues only to native active-branch session notes, with explicit session-only
112
- receipts and no durable fallback or optimizer dirtying. Session tool corrections include canonical
113
- examples; redundant `scope=session` is accepted without making scope mandatory.
114
- - Target the current Pi 1.5.2 host and align offline qualification metadata.
115
- - Standalone Mind entries use Persona's one shared card frame through a versioned local presentation
116
- query, honoring native padding and configured expand keys. Native memory/backlog tool shells remain
117
- host-owned; retained entries have a readable plain-text fallback without a compatible frame provider.
118
- - Expanded save receipts expose their original IDs and lifetime evidence; compact summaries disclose
119
- hidden detail. Explicit scope mismatches cannot tombstone a session note through another tier.
120
- - Extend the existing offline evaluator with paired sentinel outcomes and provenance-checked token
121
- reference diagnostics. Calculation is language-agnostic; no runtime ranking, budget, dependency,
122
- service or model-call changes are introduced. Published reference vectors are not billing counts.
123
-
124
- ## [0.8.7](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.7) - 2026-10-27
125
-
126
- - Interrupted explicit optimization batches identify the tiers not yet reviewed. Worker failures
127
- and invalid proposals retain the worker's model/effort and terminal-report reference without
128
- echoing malformed model output. Invalid proposals never reach application.
129
- - Setup failures report that no tier was reviewed; cleanup failures cannot overwrite completed
130
- results or retain the active-work slot. Migration-warning tests wait for background completion,
131
- and the live smoke checks proposal order, confirmed application counts and durable undo receipts;
132
- refused or uncertain writes cannot pass as successful application.
133
-
134
- ## [0.8.6](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.6) - 2026-10-26
135
-
136
- - Allow bare `/mind optimize` and `/mind optimize all` to review one bounded window per currently
137
- allowed nonshared tier sequentially; home sessions allow persona only. Named targets remain
138
- single-target, and shared remains excluded from LLM review.
139
- - Report target-local skip reasons and visible batch outcomes. Skips and reviewed no-ops can continue;
140
- cancellation, owner changes, and failed, refused, or uncertain work stop later tiers. Prevent
141
- overlapping batch work; add regression coverage for these behaviors.
142
-
143
- ## [0.8.5](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.5) - 2026-10-26
144
-
145
- - Add `/mind optimize [project|project-long|persona]` for an immediate, bounded review by a visible Persona-hosted worker using the current session model. Changes pass Mind's validation, provenance and compare-and-swap checks; successful writes retain receipts and support guarded undo.
146
- - Remove the worker row on completion while retaining results in the conversation. Keep reviews bounded, rotate completed windows, and handle busy sessions, cancellation, stale owners and errors safely.
147
- - **Usage change:** use `/mind optimize inspect [target]` to inspect; `/mind optimize [target]` now starts a review instead.
148
-
149
- ## [0.8.4](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.4) - 2026-10-25
150
-
151
- - Add durable project memory and scope-preserving promotion; expose project/persona/shared scope
152
- consistently in tools, snapshots and diagnostics. Replace the shared-write boolean with scope.
153
- - Rank injected context and recall by task words, tags and repository paths; apply a combined
154
- token estimate across archive and session context, retaining explicit omissions and full reads.
155
- - Rotate bounded automatic reviews over older records and retain durable consolidation receipts.
156
- Add history and guarded undo that preserves unrelated writes and refuses stale affected facts.
157
- - Add deterministic retrieval evaluation with an explicit baseline and no semantic-quality claim.
158
-
159
- - Add automatic semantic consolidation through a visible asynchronous Mind worker on the current
160
- session model. The first new-memory burst queues an idle review; subsequent attempts require new
161
- memories and 1M main-session input tokens, excluding output/cache/worker usage. Rapid saves coalesce;
162
- new input cancels the worker. Parent validation and fingerprint checks protect application; shared
163
- memory is excluded.
164
- `/mind optimize auto [status|on|off]` controls this session, doctor reports its state, and
165
- `PI_PERSONA_MIND_OPTIMIZE=off` changes the initial default.
166
- - Require the loaded pi-persona companion protocol; without it Mind remains inactive, including
167
- direct programmatic calls. Local optimization appears as a Mind activity row in Persona's tree/F9.
168
- - Use the actual live persona for memory ownership even with selection persistence disabled;
169
- delegated workers keep their launching persona on both engines. Remove the obsolete selection mirror.
170
- - Target Pi 1.4.0 exclusively; align development packages and native event contracts, and remove
171
- the retired companion state-marker fallback. Existing memory-data imports remain available.
172
- - Add active-branch session notes, honest persistent/in-memory receipts, and full ID-based memory
173
- reads. Session notes preserve their origin across forks and never enter delegated worker context.
174
- - Add explicit, bounded memory consolidation: inspect candidates, stage exact replacements, then
175
- apply a fingerprint-checked plan. Preserve source lineage and STM expiry; refuse stale plans.
176
- - Paginate inspection to reach older facts, and distinguish slow background imports from persistent
177
- failures instead of leaving a successful import marked with a warning.
178
- - Add `/persona-mind` with `/mind` as the same-handler alias, strict command parsing, session and
179
- optimization commands, and consistent expandable command cards.
180
- - Include inline flow reports in the blocked-work hint and preserve concurrent backlog additions
181
- during expiry cleanup. Qualify package and companion integration on the current host.
182
-
183
- ## [0.8.3](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.3) - 2026-10-20
184
-
185
- - Read persona selection and startup `defaultPersona`/`persist` preferences from pi-persona's
186
- canonical settings store, preserving legacy marker fallback only when canonical settings are absent.
187
- - Contribute Mind's capture/nudge settings to pi-persona's unified settings panel, while retaining
188
- environment overrides and session-start snapshot behavior.
189
- - Scope marker latches and Mind-specific preference snapshots to Pi session IDs so child sessions
190
- cannot reset their supervisor's active scope or companion controls.
191
- - Match pi-persona's extension-factory snapshot for the scalar persona selectors, keeping Mind's
192
- memory scope aligned across `/new` sessions until Pi reloads/restarts extensions.
193
- - Reject malformed UTF-8 in canonical and legacy persona markers rather than deriving a replacement-character memory scope.
194
-
195
- ## [0.8.2](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.2) - 2026-10-19
196
-
197
- - Respect Pi's `--` CLI separator when resolving persona memory scope; prompt text resembling
198
- `--persona` no longer selects a different memory store.
199
- - Add isolated installed-Pi 1.3 qualification alongside the minimum-Pi 1.0 SDK suite, including
200
- optional pi-persona integration for model refresh and delegated read-only memory.
201
-
202
- ## [0.8.1](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.1) - 2026-10-13
203
-
204
- - Handle Pi 1.2 custom-triggered completion reports from their attributed `before_agent_start`
205
- message event, deduplicate follow-up nudges, and keep custom report text out of direct-user capture.
206
-
207
- ## [0.8.0](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.0) - 2026-10-03
208
-
209
- - Require Pi 1.0.0+ and Node.js 22.19.0+; keep host libraries and typebox as host-provided peers.
210
- - Reset capture hints and empty-store announcements when a session changes; prevent late capture
211
- notices and memory injection from leaking into the next session.
212
- - Skip migration/storage waits for ordinary input with no capture cue.
213
- - Preserve undelivered backlog alarms across slow storage reads and concurrent re-arm calls; a
214
- newly queued reminder that is already due is shown immediately, without restarting Pi.
215
- - Deduplicate a reminder's displayed deadline while acknowledgement persists, including re-arms
216
- triggered by background migration; a later deadline remains eligible.
217
- - Suggest backlog capture only for blocked nested output actually relayed by its outer tool.
218
- - Enforce erasable-only TypeScript, including store/service constructors.
219
- - Isolate test profiles; exercise capture, persistence, tool execution, display-only reminders and
220
- read-only workers in real Pi 1.0 SDK sessions with an offline provider.
221
- - Align package/lock metadata, upgrade development dependencies and pin three-platform CI actions.
222
-
223
- Older storage roots remain readable through non-destructive migration. No existing store is deleted
224
- or moved by the host compatibility update.
57
+
58
+ - Preserve recording provenance and lineage when an identical memory is recorded again without
59
+ replacement metadata.
60
+ - Refuse `remember` replacements whose `supersedes` target exists only in another memory tier,
61
+ instead of reporting success while keeping both facts active. No cross-tier deletion is implied.
62
+
63
+ ## [0.9.2](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.2) - 2026-11-18
64
+
65
+ - F10 divides its title, content and keys with the same rules as F9, and its key legend uses the
66
+ same glyphs for the plain keys (`↑↓`, `⏎`, `esc`). The margin above and below the content comes
67
+ from the shared inspector frame of pi-persona 1.19.0; with 1.18.1 the window keeps its previous
68
+ height.
69
+
70
+ ## [0.9.1](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.1) - 2026-11-18
71
+
72
+ - Require pi-persona 1.18.1 or later for the shared F9/F10 inspector frame.
73
+
74
+ - Recheck the live memory file under the recovery lock before restoring a backup, preserving facts
75
+ committed by another writer while recovery was waiting.
76
+ - Preserve negated capture requests: “Never remember that …” no longer creates a positive session
77
+ note; negated decision premises are retained instead of discarded before `:`. Affirmative requests
78
+ whose fact contains negative wording, such as “Remember that I never …”, remain valid.
79
+ - Acknowledge backlog reminders by both ID and the displayed deadline, preserving concurrent
80
+ rescheduling instead of silently consuming the new reminder.
81
+ - Recheck persisted memory content before promotion through the shared content guard. Unsafe
82
+ out-of-band records cannot move into durable/shared memory, and refusal preserves both stores.
83
+ - Suppress late status counts and storage warnings after persona changes or shutdown, using the
84
+ same accepting-owner guard as other asynchronous memory operations.
85
+ - Simplify the README around memory lifetimes, retrieval, F10 and deliberate maintenance, with
86
+ technical details linked to the design contract.
87
+ - Share Persona's F9 window frame in F10, including responsive dimensions, gutters and theme
88
+ border. Page navigation follows the visible content without gaps; narrow windows preserve the
89
+ selected record and search focus belongs only to the active native input.
90
+
91
+ ## [0.9.0](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.9.0) - 2026-11-13
92
+
93
+ - Require pi-persona 1.18.0 or later for this release. Mind custom entries use the shared
94
+ primary-click expansion contract, preserving state across ordinary renderer rebuilds.
95
+ - Invalidate consolidation and staged plans on native branch navigation without treating ordinary
96
+ appended turns as owner changes. Old workers cannot apply or report on the new branch;
97
+ automatic maintenance retains its existing fresh-worker retry policy.
98
+ - Join admitted knowledge-review application through approval, persistence, receipt finalization
99
+ and cleanup during shutdown. Revocation does not pretend to roll back already committed writes.
100
+ - Keep evidence root/file checks on the same native canonicalization path, including Windows
101
+ short-name aliases. Cross-platform swap tests retain real symlink and descriptor defenses.
102
+ Lifecycle tests explicitly advance automatic admission timers on the minimum supported Node.
103
+ - Add explicit consolidation and evidence-grounded knowledge-review actions to F10. Review selected
104
+ facts or bounded scope windows against parent-selected repository files and active-branch user-role
105
+ text on the session model; show cited findings before separately approved corrections.
106
+ - Revalidate reviewed evidence inside guarded optimizer application and retain the existing CAS,
107
+ history and undo path. Knowledge review shares maintenance admission/accounting; retirement findings
108
+ remain recommendations, not deletions. Owner/input/model/branch changes cancel pending review work.
109
+
110
+ - Add a read-only F10 memory inspector (`/mind browse`) with scoped facts, the last prepared Mind
111
+ context, and a bounded active-branch conversation timeline (`/mind timeline`). Search, paginated
112
+ lists and scrollable detail/source views do not start model calls or change storage.
113
+ - Attribute new explicit save receipts to their accepting owner and target. Open only matching native
114
+ recording sources; keep legacy/free-text provenance literal and distinguish recordings from truth.
115
+ Session/branch/owner changes revoke open views and prepared-context snapshots.
116
+
117
+ - Show the active worker as lowercase `mind`; successful automatic consolidation emits one informative
118
+ toast instead of routine result cards. Proposal audits and durable undo history remain available;
119
+ explicit reports and important warnings stay visible.
120
+ - Include manual worker launches in automatic cooldown/token accounting, preserve their completed
121
+ digests, and keep interrupted manual work out of automatic retries. Hold the active slot until a
122
+ cancelled worker settles when attempt persistence fails.
123
+ - Refuse optimization previews invalidated while their store read is in flight.
124
+ - Use the same lexical/path ranker for session recall and archive retrieval, including punctuation,
125
+ source references and CJK text. Save receipts explain bounded context selection instead of promising
126
+ that every saved fact will reappear automatically.
127
+ - Parse each retrieval query once per search instead of once per record, preserving ranking and
128
+ tie order while reducing repeated work in large archives.
129
+ - Restore only the latest automatic attempt for each target; persist uncertain terminal failures
130
+ without advancing coverage and surface attempt-persistence failures after cancellation joins.
131
+ - Handle Windows sharing conflicts while acquiring the dead-lock recovery gate as bounded
132
+ contention, preserving exclusive callbacks and the existing ownership checks.
133
+ - Qualify long-project memory at the 10,000-entry store limit: old-fact recall/read/injection,
134
+ pagination, reopen, capacity refusal, consolidation, undo and preservation of unrelated facts.
135
+ - Update live qualification to verify the actual toast/audit/receipt contract, exact multi-source
136
+ application and successful undo in both Persona engines.
137
+ - Resolve installed Pi qualification dependencies through the selected host's public package
138
+ exports, including ordinary hoisted npm layouts.
139
+ - Use lowercase Mind card headings and review notification prefixes while preserving saved history
140
+ and custom titles.
141
+ - Keep automatic maintenance quiet: persist the full proposal audit without a visible proposal card,
142
+ omit no-op notifications, and preserve manual detail and important warnings.
143
+ - Limit background application to multi-source consolidation; skip model admission without a
144
+ compatible pair and leave single-record edits available to explicit workflows. This is an eligibility
145
+ guard, not a semantic-truth guarantee. Ordinary LLM-selected global memory saves remain available.
146
+ - Preserve short-objective lifetime and earliest expiry when consolidating project working memory.
147
+ - Require explicit project/persona/shared scope for every long-term remember at both the public tool and
148
+ MindService boundary; short-term memory stays project-scoped by default, and objective kind no longer
149
+ changes the caller-selected lifetime.
150
+ - Route AUTO strong direct-user cues only to native active-branch session notes, with explicit session-only
151
+ receipts and no durable fallback or optimizer dirtying. Session tool corrections include canonical
152
+ examples; redundant `scope=session` is accepted without making scope mandatory.
153
+ - Target the current Pi 1.5.2 host and align offline qualification metadata.
154
+ - Standalone Mind entries use Persona's one shared card frame through a versioned local presentation
155
+ query, honoring native padding and configured expand keys. Native memory/backlog tool shells remain
156
+ host-owned; retained entries have a readable plain-text fallback without a compatible frame provider.
157
+ - Expanded save receipts expose their original IDs and lifetime evidence; compact summaries disclose
158
+ hidden detail. Explicit scope mismatches cannot tombstone a session note through another tier.
159
+ - Extend the existing offline evaluator with paired sentinel outcomes and provenance-checked token
160
+ reference diagnostics. Calculation is language-agnostic; no runtime ranking, budget, dependency,
161
+ service or model-call changes are introduced. Published reference vectors are not billing counts.
162
+
163
+ ## [0.8.7](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.7) - 2026-10-27
164
+
165
+ - Interrupted explicit optimization batches identify the tiers not yet reviewed. Worker failures
166
+ and invalid proposals retain the worker's model/effort and terminal-report reference without
167
+ echoing malformed model output. Invalid proposals never reach application.
168
+ - Setup failures report that no tier was reviewed; cleanup failures cannot overwrite completed
169
+ results or retain the active-work slot. Migration-warning tests wait for background completion,
170
+ and the live smoke checks proposal order, confirmed application counts and durable undo receipts;
171
+ refused or uncertain writes cannot pass as successful application.
172
+
173
+ ## [0.8.6](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.6) - 2026-10-26
174
+
175
+ - Allow bare `/mind optimize` and `/mind optimize all` to review one bounded window per currently
176
+ allowed nonshared tier sequentially; home sessions allow persona only. Named targets remain
177
+ single-target, and shared remains excluded from LLM review.
178
+ - Report target-local skip reasons and visible batch outcomes. Skips and reviewed no-ops can continue;
179
+ cancellation, owner changes, and failed, refused, or uncertain work stop later tiers. Prevent
180
+ overlapping batch work; add regression coverage for these behaviors.
181
+
182
+ ## [0.8.5](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.5) - 2026-10-26
183
+
184
+ - Add `/mind optimize [project|project-long|persona]` for an immediate, bounded review by a visible Persona-hosted worker using the current session model. Changes pass Mind's validation, provenance and compare-and-swap checks; successful writes retain receipts and support guarded undo.
185
+ - Remove the worker row on completion while retaining results in the conversation. Keep reviews bounded, rotate completed windows, and handle busy sessions, cancellation, stale owners and errors safely.
186
+ - **Usage change:** use `/mind optimize inspect [target]` to inspect; `/mind optimize [target]` now starts a review instead.
187
+
188
+ ## [0.8.4](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.4) - 2026-10-25
189
+
190
+ - Add durable project memory and scope-preserving promotion; expose project/persona/shared scope
191
+ consistently in tools, snapshots and diagnostics. Replace the shared-write boolean with scope.
192
+ - Rank injected context and recall by task words, tags and repository paths; apply a combined
193
+ token estimate across archive and session context, retaining explicit omissions and full reads.
194
+ - Rotate bounded automatic reviews over older records and retain durable consolidation receipts.
195
+ Add history and guarded undo that preserves unrelated writes and refuses stale affected facts.
196
+ - Add deterministic retrieval evaluation with an explicit baseline and no semantic-quality claim.
197
+
198
+ - Add automatic semantic consolidation through a visible asynchronous Mind worker on the current
199
+ session model. The first new-memory burst queues an idle review; subsequent attempts require new
200
+ memories and 1M main-session input tokens, excluding output/cache/worker usage. Rapid saves coalesce;
201
+ new input cancels the worker. Parent validation and fingerprint checks protect application; shared
202
+ memory is excluded.
203
+ `/mind optimize auto [status|on|off]` controls this session, doctor reports its state, and
204
+ `PI_PERSONA_MIND_OPTIMIZE=off` changes the initial default.
205
+ - Require the loaded pi-persona companion protocol; without it Mind remains inactive, including
206
+ direct programmatic calls. Local optimization appears as a Mind activity row in Persona's tree/F9.
207
+ - Use the actual live persona for memory ownership even with selection persistence disabled;
208
+ delegated workers keep their launching persona on both engines. Remove the obsolete selection mirror.
209
+ - Target Pi 1.4.0 exclusively; align development packages and native event contracts, and remove
210
+ the retired companion state-marker fallback. Existing memory-data imports remain available.
211
+ - Add active-branch session notes, honest persistent/in-memory receipts, and full ID-based memory
212
+ reads. Session notes preserve their origin across forks and never enter delegated worker context.
213
+ - Add explicit, bounded memory consolidation: inspect candidates, stage exact replacements, then
214
+ apply a fingerprint-checked plan. Preserve source lineage and STM expiry; refuse stale plans.
215
+ - Paginate inspection to reach older facts, and distinguish slow background imports from persistent
216
+ failures instead of leaving a successful import marked with a warning.
217
+ - Add `/persona-mind` with `/mind` as the same-handler alias, strict command parsing, session and
218
+ optimization commands, and consistent expandable command cards.
219
+ - Include inline flow reports in the blocked-work hint and preserve concurrent backlog additions
220
+ during expiry cleanup. Qualify package and companion integration on the current host.
221
+
222
+ ## [0.8.3](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.3) - 2026-10-20
223
+
224
+ - Read persona selection and startup `defaultPersona`/`persist` preferences from pi-persona's
225
+ canonical settings store, preserving legacy marker fallback only when canonical settings are absent.
226
+ - Contribute Mind's capture/nudge settings to pi-persona's unified settings panel, while retaining
227
+ environment overrides and session-start snapshot behavior.
228
+ - Scope marker latches and Mind-specific preference snapshots to Pi session IDs so child sessions
229
+ cannot reset their supervisor's active scope or companion controls.
230
+ - Match pi-persona's extension-factory snapshot for the scalar persona selectors, keeping Mind's
231
+ memory scope aligned across `/new` sessions until Pi reloads/restarts extensions.
232
+ - Reject malformed UTF-8 in canonical and legacy persona markers rather than deriving a replacement-character memory scope.
233
+
234
+ ## [0.8.2](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.2) - 2026-10-19
235
+
236
+ - Respect Pi's `--` CLI separator when resolving persona memory scope; prompt text resembling
237
+ `--persona` no longer selects a different memory store.
238
+ - Add isolated installed-Pi 1.3 qualification alongside the minimum-Pi 1.0 SDK suite, including
239
+ optional pi-persona integration for model refresh and delegated read-only memory.
240
+
241
+ ## [0.8.1](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.1) - 2026-10-13
242
+
243
+ - Handle Pi 1.2 custom-triggered completion reports from their attributed `before_agent_start`
244
+ message event, deduplicate follow-up nudges, and keep custom report text out of direct-user capture.
245
+
246
+ ## [0.8.0](https://github.com/AeonDave/pi-persona-mind/releases/tag/v0.8.0) - 2026-10-03
247
+
248
+ - Require Pi 1.0.0+ and Node.js 22.19.0+; keep host libraries and typebox as host-provided peers.
249
+ - Reset capture hints and empty-store announcements when a session changes; prevent late capture
250
+ notices and memory injection from leaking into the next session.
251
+ - Skip migration/storage waits for ordinary input with no capture cue.
252
+ - Preserve undelivered backlog alarms across slow storage reads and concurrent re-arm calls; a
253
+ newly queued reminder that is already due is shown immediately, without restarting Pi.
254
+ - Deduplicate a reminder's displayed deadline while acknowledgement persists, including re-arms
255
+ triggered by background migration; a later deadline remains eligible.
256
+ - Suggest backlog capture only for blocked nested output actually relayed by its outer tool.
257
+ - Enforce erasable-only TypeScript, including store/service constructors.
258
+ - Isolate test profiles; exercise capture, persistence, tool execution, display-only reminders and
259
+ read-only workers in real Pi 1.0 SDK sessions with an offline provider.
260
+ - Align package/lock metadata, upgrade development dependencies and pin three-platform CI actions.
261
+
262
+ Older storage roots remain readable through non-destructive migration. No existing store is deleted
263
+ or moved by the host compatibility update.