Repository navigation
v0.20.0
·
339 commits
to master
since this release
0.20.0 (2026-11-23)
⚠ BREAKING CHANGES
- souls: A workspace-backed
souledAgent({ runtime: 'gmi' })gives each user one durable memory.
The wiki and cognitive recall read the same store. Export, correction, retention and deletion reach the turns the mind files there. The default runtime stays'legacy'.
- Configure cognitive memory. Name the provider that receives text in
memory.embedding.provider. Enabling cognitive memory without it, or settingmemory.consolidation.enabled: true, throws at open.session.close()ends the conversation in process. An anonymous session reopened with the same id keeps the same stored memory, subject to retention and forgetting. Use a fresh session id for a different anonymous visitor. - Migrate
memory.storewithcopyLegacyGmiMemory. Turns stop reading and writing traces inmemory.store. Keep it attached while moving its data. Preview the move withagent.copyLegacyGmiMemory(), pass known user ids inusersto identify more rows, then passdryRun: falseto file eligible traces in the soul's store and remove their source rows. Check the report for traces left behind. - Set a tombstone key before adding a second person or anonymous session. A multi-person store needs
retentionand, when its ledger holds no tombstones,tombstoneKey. - Choose a period in days for a minor's memory. With
minor: trueon an'until-deletion'store, the session keeps no long-term memory, even with a shorterretentionDayspolicy answer. - Send the user id only when needed. GMI session requests omit the end user's id unless you set
sendUserIdToProvider: true. Use an opaque id if you enable it. - Set the emotional stamp. The mind stores a neutral emotional stamp by default. Set
emotionalStamp: 'mood'to store the agent's mood. A minor's traces and those of a user withprofiling: 'off'stay neutral. - Account for team sessions. A seat session on a souled agent runs without cognitive memory.
- Update policy on open sessions. On either runtime, a later
memoryPolicyanswer for a user on the same agent object replaces an open session's answer from its next turn. - Route warnings through your logger. Four former
console.warncalls insouledAgent()emitsoul.inline_no_wiki,memory.close_pending,memory.close_sweep_failedandmemory.close_compile_failed. Ingmi(), a skipped provider context emitsmemory.provider_context_skipped. - Protect the second copy and plan a rollback. The tombstone copy also holds the text of each live correction. When rolling back to 0.19.x, drop the
memory_correctionstable from that copy: 0.19.x neither replays nor deletes its rows, so a person it forgets would keep their corrections' text there. Version 0.19.x reads mind-filed rows as ordinary conversation rows and recalls them through the provider. If you opened the agent withsoulStore, moving back to the file store requires moving your data.
- souls: ## Upgrading
A workspace-backed souledAgent({ runtime: 'gmi' }) gives each user one durable memory. The wiki and cognitive recall read the same store. Export, correction, retention and deletion reach the turns the mind files there. The default runtime stays 'legacy'.
- Configure cognitive memory. Name the provider that receives text in
memory.embedding.provider. Enabling cognitive memory without it, or settingmemory.consolidation.enabled: true, throws at open.session.close()ends the conversation in process. An anonymous session reopened with the same id keeps the same stored memory, subject to retention and forgetting. Use a fresh session id for a different anonymous visitor. - Migrate
memory.storewithcopyLegacyGmiMemory. Turns stop reading and writing traces inmemory.store. Keep it attached while moving its data. Preview the move withagent.copyLegacyGmiMemory(), pass known user ids inusersto identify more rows, then passdryRun: falseto file eligible traces in the soul's store and remove their source rows. Check the report for traces left behind. - Set a tombstone key before adding a second person or anonymous session. A multi-person store needs
retentionand, when its ledger holds no tombstones,tombstoneKey. - Choose a period in days for a minor's memory. With
minor: trueon an'until-deletion'store, the session keeps no long-term memory, even with a shorterretentionDayspolicy answer. - Send the user id only when needed. GMI session requests omit the end user's id unless you set
sendUserIdToProvider: true. Use an opaque id if you enable it. - Set the emotional stamp. The mind stores a neutral emotional stamp by default. Set
emotionalStamp: 'mood'to store the agent's mood. A minor's traces and those of a user withprofiling: 'off'stay neutral. - Account for team sessions. A seat session on a souled agent runs without cognitive memory.
- Update policy on open sessions. On either runtime, a later
memoryPolicyanswer for a user on the same agent object replaces an open session's answer from its next turn. - Route warnings through your logger. Four former
console.warncalls insouledAgent()emitsoul.inline_no_wiki,memory.close_pending,memory.close_sweep_failedandmemory.close_compile_failed. Ingmi(), a skipped provider context emitsmemory.provider_context_skipped. - Protect the second copy and plan a rollback. The tombstone copy also holds the text of each live correction. When rolling back to 0.19.x, drop the
memory_correctionstable from that copy: 0.19.x neither replays nor deletes its rows, so a person it forgets would keep their corrections' text there. Version 0.19.x reads mind-filed rows as ordinary conversation rows and recalls them through the provider. If you opened the agent withsoulStore, moving back to the file store requires moving your data.
Features
- api: a session's start time and elapsed time on both runtimes (90fb7d4)
- gmi: a GMI forgets the person its session serves (78c683b)
- gmi: a recall on a souled agent's mind drifts nothing unless the turn's answer allows it (80a7ebc)
- gmi: a souled agent's session registers how a deletion empties it (7b3f969)
- gmi: a turn hands its soul view to recall and filing, and its output carries the write (f94cbbb)
- gmi: a turn's soul memory, asked once before its sentiment analysis (5272a84)
- gmi: enforce input guards on the GMI runtime (fa3b379)
- gmi: the bridge files and recalls through the turn's soul view on a mind's manager (d4f785c)
- memory: a correction keeps its text in the tombstone copy and records the traces it deletes (623fb96)
- memory: a deletion report names its four parts, when it ended and who receives text (8913115)
- memory: a facade opened on a host's adapter can leave it open (3e482c3)
- memory: a guarded provider answers what became of the write (84c5ff6)
- memory: a memory provider's observe answers what became of the write (2555adf)
- memory: a recall can skip reconsolidation (9daaf28)
- memory: a scope's compile hook may name the model call for its batch (79ed260)
- memory: a trace tagged correction stays out of reconsolidation and temporal gist (c9a2c2d)
- memory: delete a trace's document chunks, and record a delete another writer made, for a souled agent's deletion (1532a6c)
- memory: hand a Memory facade's own Brain to code inside the library (24277b7)
- memory: mind-filed rows carry a marker, and a store can load them alone (c425394)
- memory: recall by the side that filed a trace, and keep the facade's index to its own vectors (b9f95c5)
- memory: return opt-in recall text on GMI session turns (d8d797d)
- memory: run a brain's migrations through the PostgreSQL adapter's transaction lock (9c9ddb4)
- memory: run a store's transactions on a PostgreSQL adapter one at a time (6e0ddf8)
- memory: the export holds what a subject provided and what is held about them (b86f09b)
- memory: the retention sweep drops the kept text of an expired correction (a8d9734)
- memory: the tombstone ledger records deleted traces and keeps corrections in its copy (8d0b8f8)
- souls: a call's own model router is named among the recipients too (ed38589)
- souls: a GMI turn's soul view files each side through the soul's gate (38070ba)
- souls: a reply that overlaps a correction is not filed (1e7ad01)
- souls: a session turn's result carries memoryWrite (92379be)
- souls: a store of several people needs a tombstone key (5fa703e)
- souls: an open deletes recorded traces again and files kept corrections again (e30cfd6)
- souls: correction, re-application and retention go through the mind (7846465)
- souls: delete one memory without a replacement (0b942ea)
- souls: drop deleted traces from the working memory of open sessions (bb55d53)
- souls: export archived originals and live memory links (9a792b4)
- souls: fileTurn takes its writer and answers an entry for each side (77a681c)
- souls: forgetUser deletes through the mind on the GMI runtime (ab062f4)
- souls: forgetUser returns the receipt, and agent.learning.forgetUser runs the same deletion (de31b39)
- souls: keep a passed GMI memory store within reach (a00d451)
- souls: keep a souled agent's store on the host's adapter (47a0098)
- souls: memory defaults of a souled agent (a2b0f40)
- souls: memoryPolicy answers for a minor and for a person who objects to profiling (73f50bf)
- souls: memoryPolicy, screen and sharedMemory on the GMI runtime with cognitive memory on (22fc9e8)
- souls: move passed GMI traces into the soul store (928f823)
- souls: no end-user id to the provider unless the host opts in (0f0aef8)
- souls: one memory for a souled agent on the GMI runtime (bf8b58f)
- souls: one memory for a souled agent on the GMI runtime (#899) (d855029)
- souls: recipients() names who receives a person's text, and the export carries it (c7c46d1)
- souls: the mind of a souled agent deletes a person's key and named traces (f5d3e88)
- souls: the mind of a souled agent files into the soul's own store (78f5b83)
Bug Fixes
- gmi: a deletion from a session's own turn does not wait for its lock (6102ec4)
- gmi: a metaprompt a deletion discarded keeps nothing of its failure (427a6d5)
- gmi: a metaprompt run discarded mid-write records no rationale in the trace (1fcb2e7)
- gmi: a self-reflection discarded by forgetPerson() keeps nothing of its answer or failure (bfcf646)
- gmi: a souled turn's write record does not wait for the observer (cb55f04)
- gmi: a stop ends a turn during its input guards or last hook, and the kept reply is filed (06d4a05)
- gmi: a stopped wait for the turn's answer ends the turn, and withholding holds at the request and in nested teams (950302e)
- gmi: a turn on a souled agent's mind recalls only when its rules allow it (25acd8c)
- gmi: a turn that withholds the user id files no memory tagged with it (e1e9070)
- gmi: a turn waiting behind a deletion runs on a GMI that has forgotten its person (48bc595)
- gmi: a withheld user id leaves message names out, and a launched team keeps its user with the same rule (d10333a)
- gmi: a withholding turn shows no tag naming the user, and its continuations keep the rule (dabc184)
- gmi: do not file an imprint once a newer turn has begun (be1c7f9)
- gmi: end a cancelled queued turn before its guards, refuse a sparse stages list, close only a handle's own opening (5fe6ee0)
- gmi: file an imprint with its key and description (04f02bb)
- gmi: forgetPerson drops the trace and the metaprompts' imprints (5e3511b)
- gmi: recall and retrieval queries read a turn as text, with no image data (25ee69d)
- gmi: the session evictor drops the last turn's prompt and recall block (5d0e866)
- memory: a correction filed again after a restore is named for the next compile and keeps its first id deleted (a1d3b1f)
- memory: a correction keeps its text and records its traces in one write to the copy; the export names the copy it could not read (742d460)
- memory: a correction or a sweep goes on when the store's delete fails after the mind took every row (be2734e)
- memory: a deletion whose kept corrections cannot be read refuses with the ledger's own error (6fa0fa6)
- memory: a facade closed on a kept adapter refuses a page row, a graph entity and a relation too (e5aff26)
- memory: a facade closed on a kept adapter refuses what adds to the store, and still serves the deletes (91b846a)
- memory: a facade closed on an adapter its caller keeps stores nothing afterwards (6c4c5fc)
- memory: a mind store reads no other writer's document, skips metadata that is not JSON, and files under the filing's key (064a55e)
- memory: a passed store's export and correction reach the rows its deletion removes, in the person's namespace (7b282d8)
- memory: a passed store's message another user sent on a person's session stays out of what the person provided (374ba30)
- memory: a refile takes back only the trace it made, removes the registry row a late one made again, and is noted again once stored (67b5b8d)
- memory: a souled agent's deletion takes each trace's graph records before its mind deletes the rows, and marks the indexes owed when the mind fails part way (fe5e739)
- memory: a store the export cannot read leaves its part empty and writes one line (e7e997b)
- memory: a sweep made again drops the kept text of a correction that expired (ad98c57)
- memory: an export counts no mood stamp for a trace stored neutral (6200f69)
- memory: an export gives the words of a correction only the tombstone copy holds (b9e2c86)
- memory: an unreadable tombstone ledger is named in the export, a forgotten subject is not profiled, and a long history appends trace by trace (5ca9106)
- memory: keep a live link of another type between two exported traces (0f945b4)
- memory: list recall detail from each step's serving call and keep it on a failed turn (969be21)
- memory: memory.export_unread names the tombstone copy (98c018a)
- memory: on SQLite a row whose metadata is not JSON names no filer (6dfb442)
- memory: preserve speakers when compiling conversation traces (f2e4828)
- memory: provided messages are the person's own, and a kept correction never lands on another key's trace (5afc5b1)
- memory: the export lists a passed store's messages of the person under provided (16be3ea)
- memory: the open's fetch of missing vectors reads the facade's own rows alone (1746517)
- memory: the tombstone copy keeps no correction of a person it holds a tombstone of (ffd9c08)
- souls: a filing of a turn that was not kept is named an abort (e6da616)
- souls: a kept correction the store refuses to file again leaves the open serving and is counted (b425433)
- souls: a legacy move holds an account's shorter retention period in the process's sweeps (1f90a41)
- souls: a re-application takes back a correction filed after its person's deletion, notes it for the compile first, and counts a trace it deletes again (ef0519f)
- souls: a routed call's own credentials, the embedding as each turn resolves it, and no policy answer on an unreadable ledger (3dfeb20)
- souls: a stored mind trace stays written and within its key's next compile (887b739)
- souls: a subject the store holds nothing more of stops counting while a gmi() session of theirs stays open (bb3203f)
- souls: a tombstone copy of null or of an object with no adapter calls names no copy (1908601)
- souls: a turn whose user id makes no memory key is allowed nothing (7c84683)
- souls: a turn's side with no text answers no write entry (9edbf8d)
- souls: count a correction again when its change has settled (86dbca8)
- souls: delete a moved trace's source row when a correction keeps its copy (998ebf5)
- souls: delete the passed store's copy of a corrected trace that a move left in both stores (558d3cf)
- souls: drop a deleted trace's slot again once the session's running turn ends (9eec238)
- souls: enforce seat and mechanism memory boundaries (2d8bd48)
- souls: forgetUser empties the open sessions of the GMI runtime (08456ec)
- souls: hold a late imprint to its turn's decision with no new ask (fd1614f)
- souls: hold a passed-store move to the account policy and delete its source rows in batches (9e02b73)
- souls: lend the agent's key to a minor's compile only for a provider the agent names itself (19ff254)
- souls: list the CompileStopped error name (d7b1448)
- souls: name each recipient by where its text goes, and record a route sent elsewhere (bf51692)
- souls: name the learning store when a passed-store deletion does not finish (31b462e)
- souls: only a tombstone found turns the unkeyed-ledger flag on, and the line follows the session's registration (6da71de)
- souls: re-applying a recorded deletion drops the trace from the person's open sessions (364544e)
- souls: read a deletion's recipients after its waits, keep the learning layer's table counts, and pass a history-off gmi session (ae6baaf)
- souls: record and empty a forgotten person's passed GMI store rows (8780f84)
- souls: record each provider and model a model router picks, name the embedding as it resolves, and land a compile's route before close (1a40023)
- souls: record where the GMI runtime sends each attempt and the embedding its memory was built with (c76577d)
- souls: refuse a compile.minors model whose prefix names another provider (41537b9)
- souls: refuse a deletion on a closed agent before any part runs, and report a host callback that rejects (51a95cd)
- souls: refuse a tombstoneCopy that names no copy on the file store too (4837dd2)
- souls: refuse an embedding model whose prefix names another provider than memory.embedding.provider (9453a30)
- souls: refuse another agent's database before anything opens, and take rows back only from that refusal (1950161)
- souls: refuse another agent's database before the tombstone ledger opens (afb1333)
- souls: see every unkeyed tombstone the ledger writes, read its key from the ledger, and note the unkeyed store once a subject is in (87bd581)
- souls: send a minor's compile to its named provider alone, and route each merge by the latest answer (a32c3ad)
- souls: soulStore needs retention and a tombstoneKey that holds a key, with sharedMemory too (452afce)
- souls: soulStore needs retention and tombstoneKey unless sharedMemory is set (7d1e042)
- souls: soulStore refuses a tombstoneCopy that names no file and no adapter (ae71e6f)
- souls: soulStore refuses a tombstoneCopy whose adapter key holds no adapter (8030cf0)
- souls: the learning layer's history entry names a session held elsewhere (beca46d)
- souls: the mind files a turn only once its session keeps it (ba93507)
- souls: the mind files a turn's reply as the session keeps it (c4173ee)
- souls: the one-agent check before the open reads only tables of the adapter's own schema (d4aa73a)
- souls: the turn's answer is read within the hooks' timeout, once, and again after the host answers (d7f772b)
- souls: try a failed write of the built embedding route again at the next call (2a6f32c)
Performance
- memory: the ledger's steps read no deleted-trace markers but their own, and a correction's copy write is one (4a09c37)
- memory: the tombstone copy's kept corrections are indexed by key (bc0ed60)
Code Refactoring
- memory: a refile notes its own trace for the compile once, before filing it (6cc5700)
- memory: one BIGINT check for a host's PostgreSQL adapter (60c40ab)
- souls: close() reports what it left through the host's logger (0e36687)
- souls: correctUserMemory is one arrow function (6e3739f)
- souls: keep the turn view's doc beside it, and say what its file and begin do (6d66e11)
- souls: name the type of the off refusal's reason (ef3e64d)