fix: add missing core component registration in installation

Core component installation was missing the component registration step,
causing post-installation validation to fail with "Core component not
registered in metadata" while commands and MCP components passed.

Added missing add_component_registration() call in CoreComponent.install()
to match the pattern used by other components.

Fixes validation error without affecting functionality.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NomenAK 2025-07-14 17:59:58 +02:00
parent e3a49c963d
commit e6bd45ed87

View File

@ -169,6 +169,14 @@ class CoreComponent(Component):
self.settings_manager.save_metadata(merged_metadata)
self.logger.info("Updated metadata with framework configuration")
# Add component registration to metadata
self.settings_manager.add_component_registration("core", {
"version": "3.0.0",
"category": "core",
"files_count": len(self.framework_files)
})
self.logger.info("Updated metadata with core component registration")
# Migrate any existing SuperClaude data from settings.json
if self.settings_manager.migrate_superclaude_data():
self.logger.info("Migrated existing SuperClaude data from settings.json")