d43405609a
Pair the static-content assertion with a behaviour test that runs the postlude as a real shell script. Three scenarios exercise the three branches inside the snippet: remote tip exists (track origin), no remote (fresh local branch), and already on the target branch (idempotency). This catches regressions where the snippet still parses as bash but no longer does the right thing — wrong refspec, missing -B, swallowed exit code, etc.