Skip to content

chore: remove auto_enrich_notebooks.py — superseded by /enrich-notebooks LLM skill#1876

Merged
jsboige merged 3 commits into
mainfrom
cleanup/remove-auto-enrich-script
May 30, 2026
Merged

chore: remove auto_enrich_notebooks.py — superseded by /enrich-notebooks LLM skill#1876
jsboige merged 3 commits into
mainfrom
cleanup/remove-auto-enrich-script

Conversation

@jsboige
Copy link
Copy Markdown
Owner

@jsboige jsboige commented May 30, 2026

Why

auto_enrich_notebooks.py insérait du texte template générique sans valeur pédagogique :

**Observation** : Cette cellule exécute du code Python avec des sorties significatives.
**Points clés à retenir** : Le code s'exécute correctement et produit des résultats...

C'est exactement le travail qu'un LLM fait bien via le skill /enrich-notebooks — interprétations contextuelles, pas du remplissage passe-partout.

Dégâts : AUCUN

Grep confirmé : zéro trace du template dans les notebooks du dépôt. Le script n'a jamais été exécuté en production.

Changes

Superseded-by

/enrich-notebooks skill (LLM-based, context-aware)

…oks LLM skill

Script inserted generic template text ('Le code s\'exécute correctement...')
with zero pedagogical value. Never executed on production notebooks (grep
confirmed zero template traces in repo). Superseded by /enrich-notebooks
skill which uses LLM for context-aware interpretations.

Also removes old test file and docs reference.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@clusterManager-Myia clusterManager-Myia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Hermes] — APPROVED

PR: chore: remove auto_enrich_notebooks.py — superseded by /enrich-notebooks LLM skill
SHA reviewed: bd1f6f2 (HEAD)

Checklist

  • Security scan: CLEAN — pure deletion, no secrets
  • Cross-repo impact: none
  • CI status: green (Gitleaks, Staleness) ✓

Review

Removal of 3 files: superseded script (193 LOC), its test suite (138 LOC, 13 tests), and the scripts-reference.md entry. No code changes to any other file. The LLM skill /enrich-notebooks replaces the manual Python script. Clean cleanup.

jsboige and others added 2 commits May 30, 2026 12:46
#1874 added scripts/tests/test_auto_enrich_notebooks.py (33 tests) for a script
this PR deletes as superseded by /enrich-notebooks. Leaving it would orphan the
test (ImportError on deleted module) and break the suite. Removing it completes
the cleanup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@myia-ai-01 myia-ai-01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review forensique ai-01 (coordinateur) — completion + verif anti-regression.

Deletion legitime : auto_enrich_notebooks.py injectait du template generique ("Observation: Cette cellule execute du code Python...") = exactement le filler passe-partout interdit par la regle d'enrichissement (transitions specifiques, pas generiques). Grep confirme 0 trace en production, superseded par le skill /enrich-notebooks LLM context-aware. Ce n'est PAS une regression anti-pattern (la regle anti-regression protege les implementations/preuves fonctionnelles, pas un generateur de template mort).

Defaut corrige par ai-01 : le branch d'origine (cree 10:34Z, AVANT le merge de #1874 a 10:38Z) ne supprimait que l'ancien test notebook_tools/tests/. Or #1874 a ajoute un NOUVEAU test scripts/tests/test_auto_enrich_notebooks.py (321L) qui fait from auto_enrich_notebooks import ... => l'aurait orpheline (ImportError, suite cassee). J'ai merge main dans le branch + git rm le test orphelin (commit b6ef02e). Net diff = 4 suppressions, 0 reference residuelle au module (grep verifie).

APPROVED, merge des CI verte.

@jsboige jsboige merged commit 96aa445 into main May 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants