Summary
When rlm remember is called with no arguments (via MCP rlm_remember with no content), it should archive the current active Claude Code session — essentially an on-demand version of what the PreCompact and SessionEnd hooks already do.
Motivation
Users sometimes want to explicitly save the current conversation context before it gets compacted or the session ends. This gives manual control over what gets preserved in memory.
Proposed Behavior
rlm remember with no content → detect the active session JSONL file, run the same two-tier archival pipeline (summary + compressed transcript + fact extraction)
- Should reuse the existing
archive_session() logic in rlm/archive.py
- MCP:
rlm_remember called with empty/missing content parameter triggers this behavior
- Output should confirm what was saved (session ID, summary size, transcript size)
Acceptance Criteria
Summary
When
rlm rememberis called with no arguments (via MCPrlm_rememberwith no content), it should archive the current active Claude Code session — essentially an on-demand version of what the PreCompact and SessionEnd hooks already do.Motivation
Users sometimes want to explicitly save the current conversation context before it gets compacted or the session ends. This gives manual control over what gets preserved in memory.
Proposed Behavior
rlm rememberwith no content → detect the active session JSONL file, run the same two-tier archival pipeline (summary + compressed transcript + fact extraction)archive_session()logic inrlm/archive.pyrlm_remembercalled with empty/missingcontentparameter triggers this behaviorAcceptance Criteria
rlm rememberwith no args archives the current session