Building a custom Claude Code status line in bash: the stdin JSON contract, caching slow checks, Docker health over SSH, and bash 3.2 compatibility quirks.