Repository navigation
docs(web-fetch): describe native mode as normalizing dynamic hints - #270
Merged
Merged
Conversation
--retrieval-mode native gives every dynamic case the family marker and rejects hints elsewhere; the guide said it rejected selector hints and preserved existing forms.
There was a problem hiding this comment.
✅ Re-review complete · b4ab4aa
No findings in this incremental review.
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 Web Fetch guide described
--retrieval-mode nativeincorrectly. It said native mode "rejects existing selector-guided retrieval hints rather than dropping them" and that selecting native mode again "preserves either form unchanged".What the code does:
native_fetch_dataset(src/harness/web_fetch/retrieval_hints.py), used by certification and schema-3 assembly, does three things:{"version": 3, "mode": "native"};tests/test_retrieval_hints.py::test_native_execution_normalizes_every_dynamic_case_to_one_family_markeralready asserts this. The registered-contract paragraph now says that contracts apply outside this mode.Schema-3 dataset assembly normalizes the same way. Historical schema-1/2 assembly keeps its earlier behavior: it rejects selector hints and preserves existing markers or contracts. The old sentences described that historical path, and the guide now says so explicitly.
The independent review of #269 found the mismatch. Docs only, 1 file.