@@ -21,22 +21,23 @@ check on the implementation PR green.
2121## Authoritative post-merge canary
2222
2323Run this only after the workflow/helper change is on ` dev ` . It creates a disposable branch and PR
24- whose filename contains paired backticks, a bare ` ${ ` , an apostrophe, a double quote, and a
25- newline. The filename is data; do not execute it.
24+ whose filename contains paired backticks, a bare ` ${ ` , an apostrophe, and a double quote. The
25+ filename is data; do not execute it. Multiline transport coverage belongs in scanner diagnostic
26+ messages, because the leakage scanner consumes Git's line-delimited ` --name-only ` output.
2627
2728``` bash
2829git fetch origin dev
2930git switch --create canary/repo-health-$( date +%s) origin/dev
3031
3132node --input-type=module << 'NODE '
3233import { mkdirSync, writeFileSync } from 'node:fs';
33- const path = '.squad/canary-`paired`-${-apostrophe-\'-"double quote"\nsecond-line .md';
34+ const path = '.squad/canary-`paired`-${-apostrophe-\'-"double quote".md';
3435mkdirSync('.squad', { recursive: true });
3536writeFileSync(path, 'repo-health post-merge canary\n');
3637NODE
3738
3839CANARY_PATH=$( node --input-type=module -e \
39- ' process.stdout.write(".squad/canary-`paired`-${-apostrophe-' \' ' -\"double quote\"\nsecond-line .md")' )
40+ ' process.stdout.write(".squad/canary-`paired`-${-apostrophe-' \' ' -\"double quote\".md")' )
4041git add -- " $CANARY_PATH "
4142git commit -m ' test: repo-health post-merge canary'
4243git push -u origin HEAD
@@ -50,7 +51,7 @@ exact hostile filename:
5051
5152``` bash
5253EXPECTED=$( node --input-type=module -e \
53- ' process.stdout.write(".squad/canary-`paired`-${-apostrophe-' \' ' -\"double quote\"\nsecond-line .md")' )
54+ ' process.stdout.write(".squad/canary-`paired`-${-apostrophe-' \' ' -\"double quote\".md")' )
5455
5556gh api --paginate --slurp " repos/bradygaster/squad/issues/$PR_NUMBER /comments" \
5657 > canary-comments.json
0 commit comments