Inside Claude Code's Source Code: How Four "Latch-Open, Never-Close" Locks Protect the Prompt Cache Cost Floor BigGo Finance