Skip to content

fix(doc-count): cover the badge ALT text — the last sync+guard blind spot - #751

Merged
maxmoneycash merged 1 commit into
mainfrom
a7/doc-count-complete-coverage
Jun 22, 2026
Merged

maxmoneycash merged 1 commit into
mainfrom
a7/doc-count-complete-coverage

Conversation

@maxmoneycash

Copy link
Copy Markdown
Member

The README badge is '[Move tests 695/695]'. The URL count ('%2F', encoded slash) is rewritten by the badge rule, but the visible ALT text ('Move tests 695/695', literal slash) was matched by NO sync rule and NO guard pattern — so on the next bump the alt would drift while the rendered URL badge updated (low impact: rendered badge is correct; but a real source drift, same class as #750).

Adds a sync rule for 'Move tests NNN/NNN' + the matching guard pattern. Coverage is now COMPLETE: 9/9 forms — broad-ref count == guard-match count. Verified: sync rewrites alt + URL together; guard passes at 695. Completes #738/#749/#750.

🤖 Generated with Claude Code

…spot

The README badge is '[![Move tests 695/695](.../move%20tests-695%2F695-...)]'. The
URL count ('%2F', encoded slash) is rewritten by the badge rule, but the visible
ALT text ('Move tests 695/695', literal slash) was matched by NO sync rule and NO
guard pattern — so on the next bump the badge alt would drift while the rendered URL
badge updated (low impact: the rendered badge is correct; but a real source-markdown
drift, same class as #750).

Add a sync rule for 'Move tests NNN/NNN' (alt) + the matching guard pattern. Coverage
is now COMPLETE: every count form in the docs (9/9) is both rewritten by sync:count
and monitored by check:doc-counts — broad-ref count == guard-match count. Verified:
sync rewrites alt + URL together; guard passes at 695. Completes #738/#749/#750.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maxmoneycash
maxmoneycash merged commit 4fa31c0 into main Jun 22, 2026
3 of 4 checks passed
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wick-markets Building Building Preview, Comment Jun 22, 2026 9:57pm

Request Review

maxmoneycash added a commit that referenced this pull request Jun 22, 2026
…en-remembered) (#752)

scripts/check-doc-counts.sh hardened to 9/9 form coverage (#738/#749/#750/#751) but
only ran when someone remembered to. Wire it into test:offline via a thin test that
runs the guard and asserts it passes — so a Move test added WITHOUT 'npm run
sync:count' fails 'npm test' (with that one-command fix surfaced in the failure),
instead of a judge running 'sui move test' and seeing a number that mismatches a
doc. Mirrors test:doc-links (the doc-link consistency check already in the gate).

The fleet's count flurry has settled at 695, so this won't cause transient mid-sync
failures. Verified: test passes on the consistent tree; test:cold-gate-coverage
accepts the new wired test; package.json valid.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 060d8156 Deployed Jun 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant