Skill 3.2.2

Diagnose context window issues, including sliding-window amnesia, summary drift, vector-only recall, and entity continuity issues

Key Concepts

Sliding-window amnesia occurs when only the last N turns are kept and an early fact, such as an account number or constraint, falls out; the fix is a pinned state object or memory for key facts. Summary drift occurs when summaries are repeatedly summarized and details change or vanish; the fix is to summarize from source turns, keep critical fields verbatim and check summaries against the source.

Vector-only recall occurs when memory or retrieval relies only on embedding similarity and misses exact identifiers, numbers or recent items; the fix is hybrid retrieval, structured lookups and recency weighting. Entity continuity issues occur when the agent confuses which person, order or account a reference means, especially after hand-offs; the fix is an explicit entity registry in shared state with stable IDs.