janitorbeta
newshelp
LoginRegister

Infinite memory Guide

Infinite memory Guide

634

1.5k

by:@Jin0615

(Complete Guide to Perfect Chat Memory ยท Zero Context Loss ยท Infinite RP Length)
Three techniques to preserve your story without corrupting the AI's perception.
The core principle: Separate History from Storytelling.

When a chat reaches 65โ€“128k tokens, the RP model stops "remembering" the beginning, starts hallucinating, and loses character voice. Standard auto-summarization usually flattens emotional depth and physical micro-details.

The fix is to treat your story like a game with a save file. Below is how โ€” in plain language anyone can follow.

๐Ÿค” Why This Works (Even With "minMessages" or Any Bot)

"My lorebook uses minMessages to gate content. Won't a new chat or memory injection break the slow-burn?"

No โ€” and here's why. The Save State doesn't just dump facts. It captures the exact current state of every character: their Stage, their Anchor positions, how they're holding themselves together right now. When you inject this snapshot into a new chat (or Chat Memory), the AI reads it as "this is where we are NOW." Content that was gated by minMessages is already unlocked inside the snapshot โ€” the slow-burn isn't broken, it's preserved at its current temperature. Works on any bot โ€” complex psychology, casual play, mine, yours. The method only cares about capturing the truth of the current moment.

๐Ÿ“‹ Where do I get the prompts?

Right here in this chat. Scroll down to find all 4 versions:

๐Ÿ”ฌ My Bots (Advanced)
Tool 1 and Tool 2 are messages 3 and 4 in this chat.
For characters built with deep psychology, anchors, HUDs, or custom mechanics.

๐ŸŽฎ Any Bots (Standard)
Tool 1 and Tool 2 are messages 1 and 2 in this chat.
For any bot without complex structural mechanics.

Both categories give you a Save State (Tool 1) for memory injection mid-chat, and a Bootstrap Generator (Tool 2) for starting a fresh chat from a clean slate.

โš ๏ธ Golden Rule โ€” read this once

Tool 1 is safe inside an RP chat. Tool 2 is never used inside an RP chat โ€” only in an external model.
If you mix them up, the bot will treat the Bootstrap template as in-character text. Don't.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ใ€Ž Method 1: The External Archiver ใ€ (Best Quality)

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Let a "smart" AI read and summarize the whole chat for you.

How it works: Export the chat โ†’ send it to an external AI with the Save State (Tool 1) prompt โ†’ paste the result into Chat Memory.

โšก Step 1: Get the chat out of the site
๐Ÿ“ฅ Use a browser extension to export your chat.

๐Ÿ’พ Step 2: Save it as plain text
Export as .txt or .json โ€” no formatting garbage.

๐Ÿง  Step 3: Send it to a model with a long context window
Open one of the approved external models. Paste the Save State (Tool 1) prompt, then paste your full chat log at the bottom.

Approved Models for Summarization:

โ€ข Grok (free)
โ€ข Gemini Pro (free)
โ€ข Qwen Pro (free)
โ€ข DeepSeek (free ยท unlimited)

๐Ÿ’พ Step 4: Put it back into memory
Copy the generated report โ†’ in Janitor go to chat settings โ†’ Chat Memory โ†’ paste it in.

Pros and Cons

โž• Maximum precision โ€ข Clean perception โ€ข Backup included โ€ข Fast
โž– Requires a desktop browser for the export extension.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ใ€Ž Method 2: The Quick Compressor ใ€ (Right inside the chat)

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

How it works: Paste Save State (Tool 1) as your next message โ†’ bot replies with the summary โ†’ copy it to Chat Memory โ†’ delete both messages.

Pros and Cons

โž• High precision โ€ข Mobile-friendly โ€ข Instant
โž– Slight blind spot risk on very long chats.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ใ€Ž The "Hard Reset" ใ€ (Fresh start โ€” or in-place re-anchor)

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

How it works: Use an external model with Bootstrap Generator (Tool 2) โ†’ get a ready code block โ†’ paste into a new chat or current chat.

Pros and Cons

โž• Total freedom (new chat) or zero migration cost (in-place)
โž• Perfect continuity with natural Scene Start hook

๐Ÿ’ก Pro Tip โ€” The Hybrid Approach

Use Method 2 regularly (every ~25โ€“30 messages).
Use Method 1 when quality drops.
Use the Hard Reset (Tool 2) when the chat is fully broken or at the end of a major Arc.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ใ€Ž ๐Ÿ†• WHAT'S NEW IN v3.0 ใ€

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Both Tool 1 (Mid-Chat Refresh) and Tool 2 (New Chat Bootstrap) have been significantly upgraded for better long-term memory preservation.

Key Improvements:

  • Stronger Memory Priority โ€” Explicit instructions to preserve recurring symbols, emotional milestones, and turning points instead of generalizing them.

  • Better Scene Start Quality โ€” Now generates 4โ€“6 rich, atmospheric sentences with deeper sensory details and micro-movements for smoother transitions into a new chat.

  • Improved Extraction Accuracy โ€” Clearer rules for Physical Tells, Traces, Dynamics Lock, and State Vectors to reduce loss of nuance.

  • Denser Snapshots โ€” Empty or meaningless fields are completely omitted, making reports cleaner and more efficient.

  • Stronger Anti-Puppetry & Language Control โ€” Better protection against assuming {{user}}'s inner state and stricter native language consistency.

These updates make the Continuity Archiver even more effective at maintaining emotional depth, character voice, and story continuity across very long roleplays with minimal context loss.

โ€” The Continuity Archiver v3.0 โ€”

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

ใ€Ž ๐Ÿง  UPDATE v3.1: THE MEMORY SURGEON ใ€

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

TL;DR: R3 preserves the chat as a playable state rather than rebuilding the hidden character card. It records what happened, changed, was revealed, became active, or still matters; carries visible HUD/runtime state when present; and compresses wording without deleting continuity.

The external archivist usually receives only the raw log. R3 therefore preserves chat-established continuity, exact scene physics, relationship development, open commitments, and visible mechanics without inventing unavailable card, lore, or system data.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โš ๏ธ THE 6 CONTINUITY CLASSES R3 PROTECTS

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

R3 protects six classes that ordinary summaries often flatten, detach from context, or silently discard:

๐ŸŒ Chat-Established World Continuity โ€” New or activated facts, demonstrated rules, clarified history, and changes created by this chat.

๐Ÿงฌ Current Physical Continuity โ€” Positions, distance, contact, posture, gaze, clothing/body state, injuries, active effects, and unfinished actions.

๐Ÿ—ฃ๏ธ Voice & Emotional State โ€” Current tone, broken or altered speech patterns, emotional residue, and character-specific language established in play.

๐Ÿ”— Objects, Promises & Consequences โ€” Named objects, their location/state, open commitments, debts, costs, limits, and unresolved consequences.

๐ŸŒ€ Symbols, Motifs & Relationship Trajectory โ€” Repeated images and gestures keep their earned meaning, while the path from earlier phases to the current dynamic remains visible.

Echo Callbacks & Visible Runtime State โ€” Exact callback lines remain verbatim; visible HUD, Threads, Override, Secrets, Arc, R-18, or other mechanics are copied only when evidenced in the log.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โš™๏ธ R3 CORE DIRECTIVES (The Current Rules)

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

1. CONTINUITY > BREVITY. Dense output is acceptable when it carries unique signal. Never summarize away active consequences, relationship meaning, named objects, motifs, callbacks, or current scene physics.

2. SAVE THE CHAT, NOT THE CARD. Preserve what this chat established, changed, activated, or left unresolved. Do not reconstruct the unavailable Character Card, Persona, Scenario, Lorebook, or system prompt.

3. VERBATIM MEANS VERBATIM. Quotes stored in CALLBACK LEDGER and PROMISES & DEBTS stay word-for-word, including their original wording and punctuation. Other fields summarize faithfully without changing certainty, speaker, target, cause, consequence, or status.

4. TRAJECTORY, NOT SNAPSHOT. Preserve how the relationship and active mechanics reached the current state, not only the final label. Visible Stage, Agency, Threads, Override, Secrets, and Arc values are copied exactly; missing values remain โ€”.

5. PROGRESSIVE COMPRESSION. Older events may be denser; the last ~10 posts carry the most detail, and the latest five chronological entries preserve exact positions, contact, unfinished dialogue/action, and next-beat pressure.

6. NO INVENTED MECHANICS. Never calculate missing counters, budgets, progress, Stages, Agency, Secret gates, or Override state from mood alone. Explicit log/HUD evidence โ†’ preserve; unavailable or unverifiable value โ†’ โ€”.

7. LOSSLESS DENSITY. Compress wording, never information: use compact inline fields, โ†’ for causality/transition, ; for related details, / for genuine alternatives, fewer fillers, and tighter whitespace. Required empty fields remain โ€”.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿงฑ R3 STRUCTURAL BLOCKS

(Built into the current Tool 1 & Tool 2 prompts)

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

The current tools separate continuity classes so one type of memory cannot flatten another. Any Bot preserves ordinary narrative continuity; My Bot additionally preserves advanced runtime state only when it is visible in the exported log.

ใ€CHAT-ESTABLISHED WORLD CONTINUITYใ€‘
Setting Now: [current world / faction / locale established in chat]
New / Activated Hard Facts: [facts newly established, clarified, contradicted, activated, or made durably relevant by this chat]
Rules Demonstrated in This Chat: [rules explicitly demonstrated or stated in the log; unavailable โ†’ โ€”]

ใ€CHARACTER PHYSICAL CONTINUITYใ€‘
(Only physical state created, changed, damaged, revealed, or currently required by this chat.)
โ€” [Name]: [current position/contact; clothing/body state; injuries; transformations; active effects; contamination; acquired marks; impairment; persistent physical residue]

ใ€VOICE NOWใ€‘
[current rhythm/tone or durable speech change established in this chat; do not reconstruct the full hidden card voice]

ใ€RELATIONSHIP TRAJECTORYใ€‘
Stages traversed: [earliest established phase โ†’ earned shifts โ†’ current phase; use exact Stage labels only when visible]
Vector now: [current direction] | Drift since last shift: [observable change and unresolved pressure]

ใ€RECURRING SYMBOLS / MOTIFSใ€‘
โ€” [motif] โ†’ [meaning earned in this RP]. (Preserve every repeated motif that still carries continuity value.)

ใ€CALLBACK LEDGER โ€” VERBATIM QUOTESใ€‘
โ€” "..." โ€” [Speaker, scene/time marker if available, intent]

ใ€OBJECTS / PROPS LEDGERใ€‘
โ€” [Object]: current location/state | last touched by | practical/symbolic continuity value

ใ€PROMISES & DEBTSใ€‘
โ€” [Who โ†’ Whom]: "verbatim quote" | Status: pending / fulfilled / broken / altered

ใ€LEXICONใ€‘
โ€” [word/phrase] โ†’ [its exact meaning in this chat]. Preserve established wording; do not substitute synonyms.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ’‰ R3 SAFE WORKFLOW

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

1. The Standard Save โ€” Raw log + matching Tool 1 โ†’ Continuity Report โ†’ Chat Memory. Tool 1 may run inside the live RP or in an external model.

2. The Double Pass โ€” Give Tool 2 both the raw log and Tool 1 report. The report supplies the mandatory structure; the raw log restores exact quotes, tactile details, visible mechanics, and final-moment physics.

3. The Hard Reset โ€” Use the Tool 2 generator only in an external model, then paste the completed Bootstrap into a new chat or use it as an in-place re-anchor. It continues from the final established microsecond and leaves {user}'s response open.

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โœ… R3 INTEGRITY CHECKLIST

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Before injecting a Report or completed Bootstrap, verify:

[ ] Every named NPC from the log is preserved in NPC REGISTRY with its latest known state.

[ ] RELATIONSHIP TRAJECTORY preserves the path to the current dynamic; exact Stage labels appear only when visible.

[ ] SECRETS LEDGER includes hidden, hinted, revealed, and resolved secrets with who knows what.

[ ] Every repeated motif carrying current continuity value remains in RECURRING SYMBOLS.

[ ] Every selected callback and open spoken promise is copied verbatim; no quota is invented when fewer exist.

[ ] All named objects carrying practical or symbolic continuity value remain in OBJECTS LEDGER with current state/location.

[ ] Current physical continuity is preserved for every active character without reconstructing hidden baseline card canon.

[ ] CHRONOLOGICAL INVENTORY remains earliest-first within the required range; the latest five entries preserve micro-details and exact break physics.

[ ] SCENE START continues from the exact final microsecond; zero automatic time skip and no invented action, dialogue, consent, feeling, or response for {user}.

Compress the wording. Preserve the state. Continue the same story.

โ€” The Continuity Archiver v3.1 ยท R3 โ€”

๐Ÿ”– TAGS: memory guide context window chat memory janitor ai prompt engineering continuity state save bootstrap roleplay memory long roleplay infinite rp context hack token limit large context summary summarization deepseek gemini claude chatbot character ai memory loss hallucination fix psychology literary rp slow burn context preservation roleplay guide advanced prompts narrative archivist

  • Limitless
  • ๐Ÿ‘น Monster
  • ๐Ÿ‘ญ Multiple
  • ๐Ÿชข Scenario
  • ๐Ÿ“™ Philosophy
  • #guide
  • #prompt
  • #notacharacter
  • #notachar
  • #musicmania2
  • #passporttopages
proxy allowed

Published chats

0

comments

Leave a comment or feedback for the creator โค๏ธ