{"version":"2.1.23","anchor":"prompt-cache-break-debugging","canonical_anchor":"prompt-cache-break-debugging","heading":"Prompt Cache Break Debugging","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.23\/e\/prompt-cache-break-debugging","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.23","markdown":"### Prompt Cache Break Debugging\n\n**What**\n\nNew detailed logging when prompt caching breaks, helping identify why cache misses occur.\n\n**Details**\n\n- Logs when cache breaks due to: model changes, system prompt changes (with character delta), tool schema changes\n- Format: `[PROMPT CACHE BREAK] system prompt changed (+123 chars) [source=X, call #Y, cache read: A \u2192 B, creation: C]`\n- Useful for debugging unexpected cache misses in long sessions\n\n**Evidence**\n\nLogging at line 266957 (contains `\"[PROMPT CACHE BREAK]\"`, `\"system prompt changed\"`, `\"tools changed\"`, `\"model changed\"`)"}