Commit Graph

4 Commits

Author SHA1 Message Date
b2fe9e0b7b Fix workflow production avec XML Digital Ocean et format Google Sheets
Corrections majeures:
- Digital Ocean: Récupération réelle XML depuis /wp-content/XML/ (86k chars au lieu de mock 1k)
- Nettoyage tags: Suppression <strong> dans extractElements() pour éviter parsing errors
- Doublons résilients: Tolérance doublons XML avec validation tags uniques
- Hiérarchie complète: StepExecutor génère 36 éléments depuis hierarchy.originalElement.name
- Format Google Sheets: Adaptation colonnes selon useVersionedSheet (17 legacy vs 21 versioned)
- Range Google Sheets: Force A1 avec INSERT_ROWS pour éviter décalage U:AO
- xmlTemplate optimisé: Exclusion du JSON metadata pour limite 50k chars

Résultat: 2151 mots, 36 éléments, sauvegarde correcte A-Q

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 14:52:19 +08:00
8eecf1538e Fix Google Sheets metadata tracking issues
• AntiDetection_Level: Now shows actual adversarial mode instead of hardcoded "MVP"
• Parent_ID offset: Fixed calculation to match Google Sheets row numbers (removed -1)
• Pass adversarialMode parameter in all saveGeneratedArticleOrganic calls for proper tracking

Fixes:
- AntiDetection_Level column now displays: none, light, standard, heavy, adaptive
- Parent_ID now correctly corresponds to Google Sheets line numbers
- Consistent metadata across all versioning stages (v1.0 through v2.0)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 08:18:05 +08:00
870cfb0340 [200~add step-by-step versioning system with Google Sheets integration
- Add intermediate saves (v1.0-v1.4) to Generated_Articles_Versioned
  - Fix compiled_text pipeline (generatedTexts object structure)
  - Add /api/workflow-modulaire endpoint with version tracking
  - Create test-modulaire.html interface with real-time logs
  - Support parent-child linking via Parent_Article_ID
2025-09-06 16:38:20 +08:00
239a7161c2 Initial commit 2025-09-03 15:29:19 +08:00