Go to file
StillHammer 957df21e18 fix(selective): Use specific keywords (resolvedContent) instead of general keyword
🐛 Problème identifié:
- Le système utilisait toujours csvData.mc0 (mot-clé général) pour tous les éléments
- Exemple: "plaque numero de maison" au lieu de "Plaque en PVC : économique et léger"

 Solution:
- Ajout paramètre specificKeyword à createTypedPrompt()
- Extraction de item.originalElement.resolvedContent avant génération
- Pas de fallback sur csvData.mc0 (log d'erreur si manquant)
- Détection des variables non résolues "[Mc+1_5 non résolu]"

📍 Fichier modifié:
- lib/selective-enhancement/SelectiveUtils.js:603-615 (createTypedPrompt)
- lib/selective-enhancement/SelectiveUtils.js:1083-1091 (extraction + appel)

🎯 Impact:
- Chaque élément utilise maintenant son mot-clé spécifique
- Prompts LLM plus précis et contextualisés
- Meilleure qualité de contenu généré

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 14:03:06 +08:00
.github/workflows Setup test system extended 2025-09-05 20:09:53 +08:00
lib fix(selective): Use specific keywords (resolvedContent) instead of general keyword 2025-10-12 14:03:06 +08:00
public Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
reports Fix BatchProcessor initialization and add comprehensive test suite 2025-09-19 14:17:49 +08:00
tests Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
tools Fix BatchProcessor initialization and add comprehensive test suite 2025-09-19 14:17:49 +08:00
.env.example update test system and logger 2025-09-08 12:33:16 +08:00
.gitignore Add logviewer.html, prompt improvment, clean duplication 2025-09-04 09:27:07 +08:00
API.md Complete API system implementation with comprehensive testing 2025-09-16 11:10:46 +08:00
ARCHITECTURE_REFACTOR.md Module system code base 2025-09-04 21:24:45 +08:00
claude_save.md Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
CLAUDE.md Update and compact CLAUDE.md documentation 2025-10-09 16:11:04 +08:00
fdsm Module system code base 2025-09-04 21:24:45 +08:00
GOOGLE_SHEET_VERSIONING_SPEC.md [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
package-lock.json Fix critical authentication and Digital Ocean integration issues 2025-09-15 23:06:07 +08:00
package.json Fix BatchProcessor initialization and add comprehensive test suite 2025-09-19 14:17:49 +08:00
plan_implem_initialGen.md docs: Add implementation plan for InitialGeneration reintegration 2025-10-12 08:23:33 +08:00
plan.md Module system code base 2025-09-04 21:24:45 +08:00
RAPPORT_ETAT_SYSTEME_GLOBAL.md [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
SELECTIVE_ENHANCEMENT_GUIDE.md feat(selective): Add detailed logging and comprehensive guide 2025-10-12 11:37:15 +08:00
server.js Setup test system extended 2025-09-05 20:09:53 +08:00
simple-server.js Add modular pipeline demo system with real module integration 2025-09-23 16:03:20 +08:00
test-llm-execution.cjs Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
TESTS_LLM_PROVIDER.md Add flexible pipeline system with per-module LLM configuration 2025-10-09 14:01:52 +08:00
TODO.md Initial commit 2025-09-03 15:29:19 +08:00
TODOLIST.md Fix BatchProcessor initialization and add comprehensive test suite 2025-09-19 14:17:49 +08:00