Repository navigation
fix(doc-count): cover the badge ALT text — the last sync+guard blind spot - #751
Merged
Merged
Conversation
…spot
The README badge is '[]'. 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README badge is '[
]'. 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