feat(scanner): detect active legacy entrypoint imports to activate#3
Open
oumarkonate wants to merge 1 commit into
Open
feat(scanner): detect active legacy entrypoint imports to activate#3oumarkonate wants to merge 1 commit into
oumarkonate wants to merge 1 commit into
Conversation
Ajoute une analyse de ckeditor.js pour détecter les imports natifs CKEditor
dont le chemin est legacy (@ckeditor/ckeditor5-X/src/Y) et le symbole
commenté/absent dans builtinPlugins. Ces cas ne nécessitent aucune migration
profonde — juste corriger le chemin et décommenter.
- lib/scanner.py : EntrypointImportIssue (BaseModel) + _parse_builtin_plugins
(gère multi-lignes et commentaires de fin de ligne via partition("//")) +
find_active_legacy_entrypoint_imports()
- tools/audit_all.py : AuditAllReport enrichi de to_activate_imports +
entrypoint_issues
- tools/export_audit_report.py : section "🔌 À activer" en Markdown et
groupe to_activate en JSON
- tools/audit_entrypoint.py : nouvel outil MCP audit_entrypoint()
- server.py : enregistrement du nouvel outil (34 tools)
- tests/conftest.py : apply_overrides déplacé ici depuis test_overrides_entrypoint
- tests/test_active_legacy_imports.py : 43 tests (unitaires scanner, variantes
builtinPlugins, exclusions, cas limites, intégration audit_all/export/server,
non-régressions)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ajoute une analyse de ckeditor.js pour détecter les imports natifs CKEditor dont le chemin est legacy (@ckeditor/ckeditor5-X/src/Y) et le symbole commenté/absent dans builtinPlugins. Ces cas ne nécessitent aucune migration profonde — juste corriger le chemin et décommenter.