Repository navigation
Validate returned research platform URLs consistently - #1081
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
sidneyswift
force-pushed
the
codex/research-url-validation
branch
from
October 21, 2026 17:26
f5570bc to
e23fde7
Compare
This was referenced Oct 25, 2026
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.
Research URL normalization currently accepts HTTP/credential-bearing links, and an invalid
urlcan hide a valid laterhref. The public handler also returns unfiltered link entries. Share one HTTPS/hostname/no-credentials rule across provider normalization and GET response formatting; select the first qualifyingurl/link/hrefwithout duplicating chosen fields under generic keys.Preserve valid existing
{domain,url}arrays as well as maps. This intentionally avoids the retired branch formatter's drop-all-arrays behavior. Authentication/credit short circuits, research error statuses, provider selection and charging path remain unchanged. This checks returned link syntax; it does not fetch links, establish domain reputation, or provide SSRF protection for another fetch path.Current-main successor for API642, exact oldhead481ec02d503d435a64b41034f148c1e5b94ee67d, under Mono358. Original ten-file patch compared with main934bbe57; the relevant helpers/formatter/fallback were absent. Existing API1006 changes separate Context enrichment paths. Original PR remains untouched; no bulk triage, provider expansion, catalog contract, schema/permissions or held stream/SDK/App work changed.
Validation after current-main refresh: all404focused research/contract tests pass across61files and full lint/format/whitespace pass. Main adds only the published-docs fixture; all eight research TypeScript files are byte-identical to prior reviewedf5570bcb. The verification note records the new base. Prior source red probes:5failbefore; prior whole-repository TypeScript had211byte-identical baseline/candidate errors, with no additions. Those old full-CI/typecheck results remain historical, not final new-head evidence. Fresh exact-head CI passes all4requiredchecks,7,081tests/15skips across1,282passingfiles/13skippedfiles and response-contract typecheck. Previewpasses. Exact refreshed-head/tree independent delta review has no findings/no execution.
All external account/provider/credit operations in new tests are mocked. No customer/database/provider request, payment, credential inspection, package change or manual deployment occurred. docs/verification/research-url-validation.md records the original intent and map/legacyarray compatibility. Coordinator owns qualifying merge and any old-PR disposition; Records original-acceptance review stays separate.
Current candidate
e23fde747a33398192102ddc2c03a24c757112b4, treef38da0cc20b4abd5244a531497344dd257707b1d, baseactualmain934bbe57fc163bfecc14f618a0e8c56c60623378. This supersedesf5570bcb. No merge/deploymentclaim.Final base remains currentmain934bbe57 atcheck. Newheade23fde74/treef38da0cc is the sole release candidate; priorf557CIhistorical. Expanded404tests/61files and fulllint rerunpass. No merge/deploymentclaim; coordinator/Records originalacceptance and qualifyingrelease remain separate.