Repository navigation
fix(core-contracts): pin LINK_TARGET_SET_RULES to the link rules' emitted check names (repo#3022) - #1981
Merged
Conversation
nc9
marked this pull request as ready for review
November 16, 2026 08:51
…tted check names (repo#3022) Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
boat/link-target-set-pin-3022
branch
from
November 16, 2026 15:09
263dc58 to
3e38fc0
Compare
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.
Closes squirrelscan/repo#3022.
What
packages/rules/tests/link-target-set-rules-3022.test.ts: (1) every kebab-case check name literal inbroken-links.tsandbroken-external-links.tsmust be inLINK_TARGET_SET_RULES; (2) both rules are run over fixtures that emit every row kind reachable without placement data, and any emitted check that lists items must be mapped.possibly-broken-external-linksandawaiting-confirmation-external-linkslist unsettled links but were missing from the external rule'sunverifiedlist. Added them, so a link sitting in either at the previous audit is not read as newly broken.Acceptance criteria
Gates
bun test packages/rules/tests/link-target-set-rules-3022.test.ts: 5 passbun test packages/audit-engine/tests/publish-cap.test.ts: 64 passDocs: no user-facing change, no rule added. Agent skill: no change needed.