After a memory pull request is merged into the remote default branch, the plugin refreshes both stores automatically:
- Project memory refreshes inside its isolated plugin-managed checkout, so you do not need to pull or rebase your working branch first, and uncommitted changes in your checkout are not touched.
- Global memory fetches and fast-forwards your local clone at
globalMemoryPathwhen its tracked files are clean.
The next session derives an index of active memory titles and IDs from both stores. When a title is relevant, the agent can read the full entry.
Only the index is injected by default, not every memory body. The index has a configurable size limit; if it is full, the agent can use memory_review or memory_read to inspect entries beyond the injected subset.
For example, after the inventory lesson is merged into the project repository, a later session working on another inventory report can find and read the lesson automatically — even while your current branch still has local edits.
If you have set up the optional Antigravity integration, Antigravity sessions read the same merged global and project memories automatically in read-only mode.