Git-Status Cache Bust

Description

Architectural anti-pattern where git status is embedded in the second prompt-cache block {system-prompt | ~/.claude/claude.md | git-status}. Because git status changes on every commit, every staged file, and every checkout, block 2 is invalidated on each git action, which cascades to block 3. Result: every new session after any git activity starts with a completely cold prompt cache, re-paying full cache_creation_input_tokens. Filed as GitHub #47098.

Key claims

Relations

Sources

src-20260423-542f02260352