feat(extraction): flip TRAWL_RS_TRAF default on#84
Merged
Conversation
rs-trafilatura extraction candidate is now default on (opt out via TRAWL_RS_TRAF=0), matching the _RECORDS_ENABLED default-on convention. Still an optional dependency: missing package logs one debug line and the candidate is skipped. Gates (2026-07-04): - Parity 15/15 default env (fetch cache disabled to exercise the candidate) and 15/15 with TRAWL_RS_TRAF=0. - agent_patterns coding shard 24/24 default env. - tests/test_extraction.py pass; unset-env import / =0 no-import verified offline. Docs: .env.example opt-out semantics, CHANGELOG entry amended, CLAUDE.md default-on feature list entry (includes the fetch-cache A/B measurement caveat).
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.
Summary
Follow-up to #83: the rs-trafilatura extraction candidate is now default ON (
TRAWL_RS_TRAF=0to opt out), matching the_RECORDS_ENABLEDdefault-on convention. Still an optional dependency — a missing package logs one debug line and the candidate is skipped, so installs without rs-trafilatura see no behavior change from their perspective other than the flag semantics.Gates (2026-07-04)
TRAWL_RS_TRAF=0)=0does not) + tests/test_extraction.pyChanges
src/trawl/extraction.py: one-line default flip in_rs_traf_enabled()..env.example/CHANGELOG.md: opt-out semantics.CLAUDE.md: default-on feature list entry, including the measurement caveat that the C8 fetch cache stores post-extraction results (extraction A/Bs must setTRAWL_FETCH_CACHE_TTL=0).🤖 Generated with Claude Code