Repository navigation
Conversation
…th redirects and gone pages named #1759 Docs: docs/configuration/index.mdx and CHANGELOG. Skill: no change. Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
r3/seed-verification-1759
branch
from
November 13, 2026 00:59
877e648 to
fa180fe
Compare
Contributor
Author
|
Landed in bundle #1805, rebase-merged to main. nik |
7 tasks
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.
Part of #1759 (public half). Private seeding is squirrelscan/repo#4014.
What
@squirrelscan/core-contracts/seed-verification:summarizeSeedVerificationclassifies every known page with open findings as live, gone (404/410 with status), redirected (source, destination, status), skipped by the page budget, no longer linked, or unverified (5xx, rate limit, refused URL; never read as gone).runSmartAuditstakes an optionalseedVerification(seeds + frontier) and returnscoverage.seedVerification; no CLI controller passes it, the intended caller is the hosted run (repo#4014). Without it nothing is read and the report is byte-identical. Merge semantics are unchanged: capped and sampled audits keep today's carried behaviour for pages they did not visit; the counts only say why.coverage.seedVerification(cloud only: no local CLI caller seeds pages, so a local audit is unchanged), the console/text/markdown/HTML coverage line, llm<seed-verification>element and JSON state "re-verified N, left carried M" with the split. Renderers print whole numbers only.finalUrlfor redirect rows.Acceptance criteria
seed-verification-1759.test.ts"gone and redirected pages resolve, a live one is fresh, the rest are counted as carried".pagesentryoutcome gone, status 410).integrity/orphan-page, fresh: "the unlinked seeded page is an orphan finding of this run".resolution-redirect-source-1759.test.ts(pageStatuses carries the source with its 3xx; already true on main, now pinned). The destination is not on the wire: see residual risk.Gates
bun test: seed-verification-1759 (4), smart-audits (existing), nut-shop-regression, core-contracts seed-verification (7), resolution-redirect-source (1): 21 pass in one run. tsgo clean in core-contracts, report, audit-engine, rules, apps/cli; apps/cli lint and format:check clean; docs
make validate62 pass.Docs: docs/configuration/index.mdx; CHANGELOG Unreleased/Added. Agent skill: no change. Private rule catalog: no rule meta text changed, no regeneration.
Residual risk: the compact resolution signal and publish schema do not carry a redirect destination (changing the wire format needs the private API schema); the hosted merge must call
summarizeSeedVerificationitself (repo#4014).Review fix: wiring the controller would read the whole frontier and all open priors on every local audit and change every local smart-audit report, so I took option (b): docs and CHANGELOG now say cloud only, and the input is commented with its intended caller.