docs(memory): category-pinned selection — changelog + hygiene guidance#90
Conversation
…uidance core memories now survive the hydration window and the entry cap; the Memory page gains a "What survives" section with the four hygiene habits (core for load-bearing facts, stable keys, memory_forget, small entries). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
… (greptile) The categories table called core "permanent until forgotten" and the troubleshooting row said "No pruning on core (by design)" — both formed before this PR's eviction section, which documents that coldest core entries ARE evicted at the entry cap once no non-core rows remain. Both rows now carry that caveat so a reader consulting only the table doesn't form a "core is unconditionally durable" mental model. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Addressed both code-review issues in Issue 1 ( Issue 2 ( Both are the verbatim suggested edits. |
…selection-changelog # Conflicts: # changelog.mdx
Companion to usezombie/usezombie M91_002 (category-pinned hydration + tiered cap eviction).
<Update>:corememories now survive the hydration window and the entry cap.Merge after the product Pull Request (PR) lands.
🤖 Generated with Claude Code
Greptile Summary
Companion docs for the category-pinned hydration and tiered cap eviction feature (M91_002).
memory.mdxgains a new "What survives" section and updates both the categories table and the troubleshooting table;changelog.mdxgets a new "What's new"<Update>block for Jun 12, 2026.memory.mdx:corelifetime cell corrected from "permanent until forgotten" to "durable; evicted last at the entry cap"; new "What survives" section explains hydration order, eviction tiers, and four memory-hygiene habits; troubleshooting row updated to surface the all-corecap-eviction caveat.changelog.mdx: New<Update label="Jun 12, 2026" tags={["What's new"]}>block added at the top (after the<Tip>), covering category-pinned hydration, tiered cap eviction, and a link to the updated Memory page.Confidence Score: 5/5
Documentation-only change; no code paths, schemas, or API contracts are affected.
Both files are documentation prose and MDX markup. The two factual corrections raised in the prior review (categories table lifetime, troubleshooting table eviction caveat) are now incorporated in this diff, and the new "What survives" section is internally consistent with those corrections and with the changelog entry.
No files require special attention.
Important Files Changed
<Update>block for Jun 12, 2026 "What's new" — correctly placed at top after the<Tip>, follows fixed section-order and voice rules, no milestone IDs or marketing language.core; all three points raised in prior review are now addressed.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD subgraph Hydration["Hydration at run start"] H1["core entries newest-first"] --> H2{Fits byte budget?} H2 -->|yes| H3[Load into context] H2 -->|no| H4[Stays in Postgres - not evicted] H3 --> H5["Remaining budget fills with newest non-core entries"] end subgraph Eviction["Eviction at entry cap"] E1{Any non-core rows?} E1 -->|yes| E2[Delete coldest non-core row] E1 -->|no - all-core set| E3[Delete coldest core row] end core["category: core - pinned"] --> Hydration core --> Eviction noncore["category: daily / conversation - windowed"] --> Hydration noncore --> Eviction custom["Custom or unknown category - windowed by recency"] --> HydrationComments Outside Diff (2)
memory.mdx, line 14 (link)corelifetime description "permanent until forgotten" implies only explicitmemory_forgetcalls can remove acoreentry, but the new eviction section introduced in this same PR states acoreentry is deleted when no non-core entries remain at the cap. A reader who only consults the categories table will form an incorrect mental model — they'll thinkcoreis unconditionally durable and may not heed habit fix: docs polish — external link check, OpenAPI card, navbar #3 about hoarding.Prompt To Fix With AI
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
memory.mdx, line 113 (link)core(by design)" is now incomplete: the new section documents that cap eviction does prunecoreentries when onlycorerows remain. A user seeing "Memory grows forever" could follow this row's advice, callmemory_forgeton a few entries, and then be surprised when core facts start disappearing once the all-corecap is crossed. Adding the cap-eviction caveat here ties the troubleshooting table to the new eviction behaviour.Prompt To Fix With AI
Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile