You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recall should read rotated archive-<date>.md siblings #124
Follow-up to #123 (consolidation prompt cap + oversized-archive rotation).
When archive.md is the oversized bulk of a consolidation prompt, #123 rotates it to a dated sibling (archive-YYYY-MM-DD.md) and starts a fresh archive. The old memory is preserved byte-for-byte on disk — but nothing in the recall path globs those siblings. The REMEMBER surface names only archive.md.
So "no memory lost" is true mechanically, not functionally: after a rotation, that slice of memory sits in cold storage that no read path reaches. Over time, repeated rotations accumulate frozen archive-*.md slices that recall never sees.
Not a regression
This does not break anything #123 fixed — rotation only fires on a genuinely oversized archive (rare today), and the crash-loop fix (the cap) is unaffected. This is purely about making the rotated memory reachable again.
Proposed fix
Teach the recall / search surface to include archive-*.md siblings alongside archive.md:
Whatever assembles the "memory to search" set should glob archive*.md (sorted), not just archive.md.
Update the REMEMBER hook description to name the sibling pattern so the reader knows to look there.
Acceptance
A memory entry that lived only in a rotated archive-2026-06-29.md is found when recall runs.
The REMEMBER surface documents archive-*.md as part of the searchable memory set.
Activity
feat(recall): name rotated archive slices so they can be found (#124) (…
fix(session-start): stop re-injecting the whole recap at source=compa…
fix: rotate recent.md out of the over-cap state instead of skipping f…