Skip to content

Withdrawn - #94783

Closed
gabmfranco-ds wants to merge 1 commit into
NousResearch:mainfrom
gabmfranco-ds:feat/session-recall-continuity
Closed

Withdrawn#94783
gabmfranco-ds wants to merge 1 commit into
NousResearch:mainfrom
gabmfranco-ds:feat/session-recall-continuity

Conversation

@gabmfranco-ds

@gabmfranco-ds gabmfranco-ds commented Aug 25, 2026 •

Copy link
Copy Markdown

Withdrawn.

… rewind leak fix, --resume @platform

Measured on a live corpus with a 20-question recall harness: hit@3 went
from 14/20 to 19/20. Four changes:

1. search_messages: a multi-term query that finds nothing under FTS5's
   implicit AND is retried with the same terms OR-joined (BM25 still
   ranks). Queries with explicit operators, phrases, prefix globs, or CJK
   are never rewritten.

2. session_search discover: two-pass scan — interactive sources first,
   demoted (cron) sources only top up the remaining window. Post-hoc
   demotion (NousResearch#19434) could not help when >_DISCOVER_SCAN_LIMIT cron rows
   filled the window before interactive hits were ever fetched.

3. get_messages_around / get_anchored_view: rewound rows (active=0,
   compacted=0) no longer surface through context windows and bookends.
   search_messages already hid them as hits, but the surrounding window
   leaked exactly the content the user's rewind removed. The anchor
   itself stays visible; compaction-archived rows (NousResearch#38763) stay visible.

4. CLI: --resume @telegram / @WhatsApp / @<platform> resumes that
   platform's most recent session in the terminal — the reverse direction
   of /handoff, following the --resume @claude/@codex precedent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUZHShW7jYpF4PxrjYLc4Q
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/cli CLI entry point, hermes_cli/, setup wizard area/sessions Session lifecycle, resume, persistence, history sweeper:risk-session-state Sweeper risk: may lose/corrupt/mis-associate session or context state duplicate This issue or pull request already exists labels Aug 25, 2026
@alt-glitch

Copy link
Copy Markdown

This was generated by AI during triage.

The zero-result OR-relaxation part duplicates the active SessionDB retry in #88030. Please extract the distinct discover, rewind-window, and resume changes for independent review.

@gabmfranco-ds gabmfranco-ds changed the title Session recall: OR-relaxation fallback, interactive-first discover scan, rewind window leak fix, --resume @platform Withdrawn Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sessions Session lifecycle, resume, persistence, history comp/cli CLI entry point, hermes_cli/, setup wizard duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists sweeper:risk-session-state Sweeper risk: may lose/corrupt/mis-associate session or context state type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants