diff --git a/writer-pipeline/config/andebol.net.sources.json b/writer-pipeline/config/andebol.net.sources.json index d1e539e..2d01984 100644 --- a/writer-pipeline/config/andebol.net.sources.json +++ b/writer-pipeline/config/andebol.net.sources.json @@ -39,28 +39,28 @@ "id": "record_pt_main", "kind": "rss", "url": "https://www.record.pt/rss/", - "enabled": true, + "enabled": false, "maxItems": 25, "topics": ["pt", "sports", "media"], - "note": "Record main feed (PT, strong sports). Respect Record.pt terms; editorial rewrite required per ANDEBOL_EDITORIAL_BRIEF." + "note": "Disabled BIT-22288: main Record feed mixes non-handball sports; shortlist is handball-tagged only. Re-enable only with a verified handball-only RSS (e.g. modalidades/andebol if Record publishes one)." }, { "id": "sapo_noticias", "kind": "rss", "url": "https://noticias.sapo.pt/rss", - "enabled": true, + "enabled": false, "maxItems": 40, "topics": ["pt", "national", "international", "media"], - "note": "SAPO highlights (PT + world). Many items credit partner outlets; may include Agência Lusa bylines — still subject to each originator's ToS; not a substitute for a direct Lusa wire contract." + "note": "Disabled BIT-22288: SAPO general highlights are not handball-scoped; owner requires andebol.net news to be only about handball." }, { "id": "guardian_world", "kind": "rss", "url": "https://www.theguardian.com/world/rss", - "enabled": true, + "enabled": false, "maxItems": 25, "topics": ["international", "en"], - "note": "Guardian world (English). Use for important international threads with Portugal relevance; published andebol.net copy must be PT-PT per editorial brief." + "note": "Disabled BIT-22288: world news feed is not handball-scoped." }, { "id": "bbc_handball", diff --git a/writer-pipeline/src/run-cycle.ts b/writer-pipeline/src/run-cycle.ts index 21f2f1d..9206edc 100644 --- a/writer-pipeline/src/run-cycle.ts +++ b/writer-pipeline/src/run-cycle.ts @@ -62,7 +62,9 @@ async function main(): Promise { store = ingest.store; await saveStore(storePath, store); - const list = shortlist(store, site, shortlistLimit); + /** andebol.net: only items tagged `handball` enter the shortlist (owner BIT-22288 — no general-sports wire). */ + const shortlistTopic = site === 'andebol.net' ? 'handball' : undefined; + const list = shortlist(store, site, shortlistLimit, shortlistTopic); let tokensAgg = 0; let tokensLegacy = 0; let legacyUsed = 0;