diff --git a/.github/scripts/install_tools.rb b/.github/scripts/install_tools.rb index 39af871..6918ba2 100644 --- a/.github/scripts/install_tools.rb +++ b/.github/scripts/install_tools.rb @@ -671,11 +671,7 @@ def test_ukiryu_discovery(tool_name) return [true, "Ukiryu CLI not available - skipped"] end - # Skip ukiryu schema validation for now - # The schema expects 'profiles' but register uses 'execution_profiles' - # This is a known issue - validation will be re-enabled once schema is fixed - return [true, "Ukiryu validation skipped - schema issue pending fix"] - + # Schema has been fixed to use 'execution_profiles' - validation is now enabled # Run ukiryu validate command for this tool # Look for the tool VERSION file (not index.yaml) # Structure: tools/{tool}/{implementation}/{version}.yaml @@ -691,20 +687,6 @@ def test_ukiryu_discovery(tool_name) end end - # Fallback: try old location (tools/{tool}/{version}.yaml) - if version_files.empty? - legacy_files = Dir.glob(File.join(@register_path, "tools", tool_name, "*.yaml")) - version_files = legacy_files.reject { |f| File.basename(f) == 'index.yaml' } - end - - if version_files.empty? - # Try packages directory instead - pkg_file = File.join(@register_path, "packages", "#{tool_name}.yaml") - if File.exist?(pkg_file) - version_files = [pkg_file] - end - end - if version_files.empty? return [false, "Tool definition file not found"] end diff --git a/.github/workflows/validate-profiles.yml b/.github/workflows/validate-profiles.yml index 29c11ed..464a968 100644 --- a/.github/workflows/validate-profiles.yml +++ b/.github/workflows/validate-profiles.yml @@ -11,6 +11,7 @@ on: paths: - 'tools/**/*.yaml' - '.github/workflows/*.yml' + - '.github/scripts/*.rb' push: branches: [v1] tags: diff --git a/packages/pngquant.yaml b/packages/pngquant.yaml index 6ccea39..f638cbe 100644 --- a/packages/pngquant.yaml +++ b/packages/pngquant.yaml @@ -35,6 +35,6 @@ packages: provides: *1 smoke_test: pngquant --version winget: - - name: pngquant + - name: Kornelski.pngquant provides: *1 smoke_test: pngquant --version