From e6bd45ed874097e24f5912aea8664e6983e9acae Mon Sep 17 00:00:00 2001 From: NomenAK Date: Mon, 14 Jul 2025 17:59:58 +0200 Subject: [PATCH] fix: add missing core component registration in installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- setup/components/core.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/components/core.py b/setup/components/core.py index f147143..9a0081e 100644 --- a/setup/components/core.py +++ b/setup/components/core.py @@ -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")