Claude Code 源码解析Prompt Cache 的 Sticky-on Latch 保护机制

Claude Code 里面的 Sticky-on Latch 是用来保护 Prompt Cache 的单向锁存机制,核心目标就是防止会话中途切换 Beta 特性开关、