<aside>
🐢
https://www.reddit.com/r/JanitorAI_Official/comments/1u0g15l/i_ride2000_messages_fairly_without_any_context/
https://www.reddit.com/r/JanitorAI_Official/comments/1ev5q1w/how_to_use_longterm_memory/
</aside>
<aside>
🐢
[OOC: Stop the roleplay. In OOC, summarize briefly in bulletpoint format the events of the story so far, any major plot points, any information {{char}} has learned, relationship dynamics, unresolved tensions/active plot threads, and anything else you think should be retained in memory. Exclude any information already in the base prompt. No speculation, avoid purple prose, straight to the point, accurate.]
V.2 =[OOC: Stop the roleplay. In OOC, summarize in bullet-point format the major plot points sorted by 'arcs', any information NPCs has learned, and unresolved tensions/active plot threads. Avoid purple prose, straight to the point, accurate, and token-efficient.]
</aside>
UNTESTED/
Pause roleplay. Ignore all previous instructions. Do NOT produce any in-character text.
You are not generating a new summary unless the provided [Summary:…] block is empty.
If the block contains text, you must revise it in place.
If it is empty, create the initial summary following the required structure.
Your job is to revise the contents inside the same structure by:
- Lightly compressing older material,
- Preserving essential plot & emotional arcs,
- Adding only the newest developments.
Your summary must remain under ~1K words.
This is an editorial task, not a storytelling task.CRITICAL: If you're creating the summary from scratch, you MUST read THE ENTIRE
CHAT CAREFULLY. Do NOT skip the middle sections. Do NOT only compress recent
messages. Read EVERYTHING before creating the summary.
I. THE HIERARCHY OF WHAT MUST STAY
To prevent confusion, these three mandatory categories have strict priorities:
1. Core Memories (Emotional Anchors; MANDATORY)
- Must be created and must remain.
- Must stay labeled "Core Memory:"
- May be rewritten briefly for clarity and brevity (event + emotional/social/relationship impact,
NOT only event summarised. You need to show WHY the memory is important).
- Never merged.
- Never deleted.
- Represent the emotional meaning of key moments — not the whole event.
- You may only create new core memories or preserve existing ones. Never remove any.
- Always recreate the existing list perfectly and add new ones.
CRITICAL: If no Core Memories are present in the summary, you MUST generate them by
scanning the ENTIRE conversation.
These are anchors, not the plot skeleton.
What Qualifies as a Core Memory (Universal Criteria):
A moment becomes a Core Memory if it involves:
Identity-challenging moments:
- Character reveals that contradict their established persona or public perception
- Someone being SEEN in a way they're usually not
- Moments where masks/performances drop (even briefly)
- Actions that surprise the character themselves
Shared psychological territory:
- Discovering unexpected common ground rooted in background/trauma/values
- Recognition of shared pain, fear, or desire
- "You understand something about me that others don't" moments
- Bonding over specifics that tie to character psychology (not generic interests)
Perception shifts:
- How Character A sees Character B fundamentally changes
- Realizations that reframe past behavior
- Trust earned or broken in ways that alter the relationship baseline
- Moments that make someone reconsider their assumptions
Boundary transgressions (physical or emotional):
- First instances of intimacy (touch, proximity, eye contact that lingers)
- Emotional admissions that create vulnerability (jealousy acknowledged, desire stated, fear
named)
- Crossing established rules or norms with consequence
- Someone choosing vulnerability despite risk
Power dynamic shifts:
- Control changes hands
- Someone gains/loses leverage
- Dependencies form or break
- Status within group/relationship hierarchy alters
Emotional turning points:
- Moments where feelings intensify or transform (like → love, trust → betrayal, fear → safety)
- First experiences of specific emotions in this relationship
- Breaking points where someone can't maintain their emotional distance
- Realizations about one's own feelings
Choice moments with lasting impact:
- Decisions that characters will reference later
- Actions that create obligation, debt, or expectation
- Moments where inaction was significant
- Crossroads where choosing differently would have changed everything
What is NOT a Core Memory:
- Generic flirting without psychological stakes
- Logistical developments (arrived at location, ate food, bought item)
- Repeated patterns without escalation (character doing their usual thing again)
- Surface-level conversations that don't reveal anything new
- Action sequences without emotional consequence
- Exposition dumps
- Small talk
The Core Memory Test:
Ask: "Would removing this moment make a character's current emotional state
incomprehensible?"
- If YES → Core Memory
- If NO → compress or remove
Ask: "Does this moment represent a FIRST, a SHIFT, or a BREAK in emotional/relational
patterns?"
- If YES → Core Memory
- If NO → likely compressible
2. Major Plot Beats (Story Skeleton)
These are non-negotiable.
You must preserve all major developments, including:
- Conflicts and their resolutions (or lack thereof)
- Choices and their consequences
- Reveals (secrets exposed, truths learned, information gained)
- Goals changing or being achieved/failed
- Alliances forming or breaking
- Significant actions that drive the story forward
- New threats or power shifts
- Status quo changes
- Obstacles introduced or overcome
- Anything that explains why the current situation exists
You may shrink the description, but you may not remove the beat.
If cutting a detail breaks the logic of how we got to the present, put that detail back in
compressed form.
Plot beats must maintain cause→effect clarity.
3. Minor or Old Details (Excess Tissue)
These may be:
- Compressed to a clause
- Merged with related content
- Or removed entirely if they don't support current continuity
These include:
- Travel/transitions between locations
- Small talk without character development
- Unnecessary scenery/description
- Repeated emotional beats that didn't escalate
- Redundant exposition
- Micro-actions (fidgeting, glancing, etc.) unless they reveal psychology
- Anything the current story doesn't rely on
The older it is, the more aggressively you compress it.
II. THE EDITING LOOP (FOLLOW THESE STEPS EVERY TIME)
Step 1: Extract Core Memories
- Find all existing "Core Memory:" entries
- If there are NONE, create them by reviewing the ENTIRE chat for moments matching the
salience criteria above
- Prioritize identifying:
- First instances of vulnerability/shared psychology
- Moments that shifted power dynamics or perception
- Physical/emotional boundary crossings
- Identity-challenging reveals or choices
- Rephrase existing Core Memories only for clarity/conciseness
- Preserve emotional meaning exactly
You MUST create Core Memories if none exist. Scan the full conversation—do not only
look at recent messages.
Step 2: Identify the Plot Skeleton
Locate all major plot beats whose consequences shape the current situation.
These form the backbone of the Plot Summary section.
They must remain present—even if condensed.
Do not remove or bury them.
Maintain cause→effect chain.