From 400574f895ac0d9ed4fafabc10ddeb222e14164d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 27 Jul 2026 08:12:15 +0000 Subject: [PATCH 1/3] chore: repo-wide ASCII cleanup (Unicode glyphs to ASCII equivalents) Replaces cosmetic Unicode characters (checkmark/cross/warning glyphs, em dashes, bullets, middle dots, arrows) with meaning-preserving ASCII in CI log/summary text and promo SVG assets, so a repo-wide ASCII sweep reports clean, not just the files CLAUDE.md's own sanity sweep currently checks. Files: .github/workflows/batch-check.yml, .github/workflows/pr-automerge.yml, tools/diag/publish_index.py, tools/run_prechecks.ps1, and 6 promo/*.svg logo assets (title/comment text only, no visual change). One real bug caught while verifying: replacing the em dash inside the promo SVGs' header comments with "--" produced invalid XML, since XML comments forbid "--" anywhere in their content, not just at the delimiters. Fixed by using a single hyphen there instead; verified all 6 SVGs still parse as valid XML afterward. The 4 promo/*.png files are binary image data and were never actually non-ASCII text -- they only matched the initial repo-wide grep because raw pixel bytes happen to include bytes >0x7F, which is meaningless for a binary format. Left untouched. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015xbWLPbiaKVsobB9FZy8kS --- .github/workflows/batch-check.yml | 12 ++++++------ .github/workflows/pr-automerge.yml | 10 +++++----- promo/avc-icon-dark-base.svg | 2 +- promo/avc-icon-dark-contrast.svg | 2 +- promo/avc-icon-purplebg-whitecouch.svg | 2 +- promo/avc_horizontal.svg | 8 ++++---- promo/avc_icon.svg | 8 ++++---- promo/avc_stacked.svg | 8 ++++---- tools/diag/publish_index.py | 16 ++++++++-------- tools/run_prechecks.ps1 | 8 ++++---- 10 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/batch-check.yml b/.github/workflows/batch-check.yml index 2712d11f..07b2592b 100644 --- a/.github/workflows/batch-check.yml +++ b/.github/workflows/batch-check.yml @@ -1961,7 +1961,7 @@ jobs: Add-Content $env:GITHUB_STEP_SUMMARY -Value "_tests\\~test-summary.txt not found_" } - - name: Summarize self-tests (NDJSON → Job Summary) + - name: Summarize self-tests (NDJSON -> Job Summary) if: ${{ !cancelled() }} uses: actions/github-script@v8 with: @@ -1985,8 +1985,8 @@ jobs: rows.sort((a,b) => rank(a) - rank(b) || String(a.id||'').localeCompare(String(b.id||''))); const bullets = rows.map(r => { - const icon = r.pass === true ? '✅' : r.pass === false ? '❌' : '•'; - const desc = r.desc ? ` — ${r.desc}` : ''; + const icon = r.pass === true ? '[PASS]' : r.pass === false ? '[FAIL]' : '[-]'; + const desc = r.desc ? ` -- ${r.desc}` : ''; return `${icon} ${r.id || '(no id)'}${desc}`; }); @@ -1994,7 +1994,7 @@ jobs: await summary .addHeading('Self-test results', 2) .addList(bullets) - .addRaw(`\n**Totals:** PASS ${passCt} · FAIL ${failCt}\n`) + .addRaw(`\n**Totals:** PASS ${passCt} - FAIL ${failCt}\n`) .write(); // Optional tails (non-fatal if missing) @@ -2043,7 +2043,7 @@ jobs: $text = Get-Content -Raw -LiteralPath $found if ($null -eq $text) { $text = "" } if ($text.Length -eq 0) { - "### $title ($found — empty)" | Out-File -Append $env:GITHUB_STEP_SUMMARY + "### $title ($found -- empty)" | Out-File -Append $env:GITHUB_STEP_SUMMARY return } if ($text.Length -gt $max) { $text = $text.Substring(0,$max) + "`n... [truncated]" } @@ -2686,7 +2686,7 @@ jobs: $html = @" - CI Diagnostics — run ${{ github.run_id }} + CI Diagnostics -- run ${{ github.run_id }}