feat: init Scalper — pipeline légal scrape+traduction (SCAL-1..SCAL-12)

- legal-source-check (liste de blocage scanlation, robots.txt, rate limiting)
- sources: demo (fixture) + mangadex (API officielle)
- cleaner, translator (LLM Mistral + glossaire), QA, exporter (md/json/html)
- CLI + pipeline resumable (state.json), 22 tests unitaires
- sous-agents Mistral Agents SDK: orchestrator + scraper/translator/qa
- skills/ (6 SKILL.md), docs légales, CI GitHub Actions

Refs: Jira SCAL-1 (Epic CDC), SCAL-2..SCAL-12 (backlog Scrum)
This commit is contained in:
Vibe committed 2026-11-16 10:07:28 +00:00
commit f38a1d630b
38 files changed
+1733

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
---
name: chapter-cleaner
description: Nettoie un chapitre brut (HTML/JSON) : retire boilerplate, watermarks, liens prev/next ; segmente en blocs typés (dialogue/narration/caption/onomatopée/image [IMG:n]) ; produit chapter.json.
---
# chapter-cleaner
Étapes : supprimer nav/pub/watermarks/liens prev-next ; extraire le contenu principal ; segmenter en blocs ordonnés typés ; normaliser UTF-8 ; détecter la langue source.
Sortie : `chapter.json` = `{meta, blocks: [{index, type, text, image}]}`.
Implémentation : `src/scalper/cleaner.py`.