Update README.md

This commit is contained in:
PSBigBig × MiniPS 2026-02-10 16:18:03 +08:00 committed by GitHub
parent db1b2837a1
commit d0bdbf1d34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,128 @@
<!--
Search Anchor:
memory long context global fix map
llm long context stability
multi session memory drift
memory collapse map
ghost context bug
state fork multi tab
pattern memory desync
long conversation drift
multi day chat loses task
support thread rewrites history
ocr transcript jitter over time
attention melt in long windows
entropy collapse long context
context drift late in chain
cache hazard cross tab
refresh changes answer
model recalls phantom text
same task id different state
same ticket different summary
token window rollover bug
task state lost after restart
facts flip after model switch
citations correct but reasoning wrong
capitalization spacing drift in transcript
long meeting notes inconsistent answers
agent memory desync between tools
When to use this folder:
dialog grows past 50k tokens and answers degrade
multi day support or ops thread loses state
facts change after tab refresh or model change
citations look right but reasoning goes flat or chaotic
ocr export text slowly drifts from original scan
multi session agent runs disagree on same task id
user comes back next day and system forgets constraints
model remembers details from previous unrelated session
you see ghost messages that were never shown to user
context cut in middle of sentence at window joins
Key metrics and targets:
retrieval coverage >= 0.70 to intended section
delta s question retrieved <= 0.45
delta s at window joins <= 0.50
lambda observe convergent across three paraphrases
no state fork for same task_id across tabs or agents
no ghost context after clearing cache and reload
ocr exports stable across runs on the same file
capitalization and spacing variance bounded
memory fences respected across restarts
traceability log shows a single continuous story
Core pages in this folder:
ProblemMap/GlobalFixMap/MemoryLongContext/memory-coherence.md
ProblemMap/GlobalFixMap/MemoryLongContext/entropy-collapse.md
ProblemMap/GlobalFixMap/MemoryLongContext/context-drift.md
ProblemMap/GlobalFixMap/MemoryLongContext/pattern_memory_desync.md
ProblemMap/GlobalFixMap/MemoryLongContext/ghost-context.md
ProblemMap/GlobalFixMap/MemoryLongContext/state-fork.md
ProblemMap/GlobalFixMap/MemoryLongContext/ocr-parsing-checklist.md
ProblemMap/GlobalFixMap/MemoryLongContext/ocr-jitter.md
ProblemMap/GlobalFixMap/MemoryLongContext/retrieval-traceability.md
ProblemMap/GlobalFixMap/MemoryLongContext/data-contracts.md
ProblemMap/GlobalFixMap/MemoryLongContext/chunking-checklist.md
Related structural fixes:
ProblemMap/rag-architecture-and-recovery.md
ProblemMap/retrieval-playbook.md
ProblemMap/retrieval-traceability.md
ProblemMap/data-contracts.md
ProblemMap/context-drift.md
ProblemMap/entropy-collapse.md
ProblemMap/GlobalFixMap/Chunking/README.md
ProblemMap/GlobalFixMap/OCR_Parsing/README.md
ProblemMap/SemanticClinicIndex.md
Memory and context scenarios:
long running research chat forgets earlier assumptions
multi step planning session answers differently next day
customer support ticket summary changes after refresh
same meeting transcript yields different action items
legal or medical thread must stay consistent over weeks
agent orchestration keeps desyncing shared memory store
cache warm vs cold produces different story
sandbox vs production answers differ with same logs
long novel or book chat loses early chapters
training or tutoring session loops or forgets progress
Signals to check:
coverage good but lambda unstable over time
delta s low locally but high at joins
citations stable yet narrative rewrites earlier events
thread repeats same question with different answers
user corrects model but mistake returns later
state differs by browser tab or device
ocr text diff shows small random changes over runs
session id or task id missing from logs
traceability logs have gaps between days
embedding analyzer changed between deployments
Normalization and contracts:
always require task_id session_id snippet_id
log model version and deployment id
lock same embeddings and analyzers across sessions
store snapshots for long context boundary checks
tie memory store updates to explicit commits not every turn
-->
<!--
Cross folder jumps:
ProblemMap/GlobalFixMap/MemoryLongContext/README.md
ProblemMap/GlobalFixMap/Reasoning/README.md
ProblemMap/GlobalFixMap/Chunking/README.md
ProblemMap/GlobalFixMap/OCR_Parsing/README.md
ProblemMap/rag-architecture-and-recovery.md
ProblemMap/retrieval-playbook.md
ProblemMap/retrieval-traceability.md
ProblemMap/data-contracts.md
ProblemMap/context-drift.md
ProblemMap/entropy-collapse.md
ProblemMap/SemanticClinicIndex.md
-->
# Memory & Long-Context — Global Fix Map
<details>
@ -36,6 +161,29 @@ This map helps you repair drift, collapse, forks, and ghost contexts when conver
---
<!--
Anchor Menu:
open: memory coherence guide ProblemMap/GlobalFixMap/MemoryLongContext/memory-coherence.md
open: entropy collapse long context guide ProblemMap/GlobalFixMap/MemoryLongContext/entropy-collapse.md
open: context drift long window guide ProblemMap/GlobalFixMap/MemoryLongContext/context-drift.md
open: pattern memory desync guide ProblemMap/GlobalFixMap/MemoryLongContext/pattern_memory_desync.md
open: ghost context guide ProblemMap/GlobalFixMap/MemoryLongContext/ghost-context.md
open: state fork guide ProblemMap/GlobalFixMap/MemoryLongContext/state-fork.md
open: ocr parsing checklist ProblemMap/GlobalFixMap/MemoryLongContext/ocr-parsing-checklist.md
open: ocr jitter guide ProblemMap/GlobalFixMap/MemoryLongContext/ocr-jitter.md
open: long context retrieval traceability ProblemMap/GlobalFixMap/MemoryLongContext/retrieval-traceability.md
open: long context data contracts ProblemMap/GlobalFixMap/MemoryLongContext/data-contracts.md
open: long context chunking checklist ProblemMap/GlobalFixMap/MemoryLongContext/chunking-checklist.md
jump: rag architecture and recovery visual map ProblemMap/rag-architecture-and-recovery.md
jump: retrieval playbook knobs and metrics ProblemMap/retrieval-playbook.md
jump: global retrieval traceability and data contracts ProblemMap/retrieval-traceability.md ProblemMap/data-contracts.md
jump: general context drift and entropy collapse ProblemMap/context-drift.md ProblemMap/entropy-collapse.md
jump: chunking global fix map ProblemMap/GlobalFixMap/Chunking/README.md
jump: ocr parsing global fix map ProblemMap/GlobalFixMap/OCR_Parsing/README.md
jump: semantic clinic index ProblemMap/SemanticClinicIndex.md
-->
## Orientation: quick routes
| Page | What it solves | Typical symptom |