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