Rat (Release Audit Tool) results
The following document contains the results of Rat (Release Audit Tool).
*****************************************************
Summary
-------
Generated at: 2026-11-02T13:15:33Z
Notes: 0
Binaries: 0
Archives: 0
Standards: 58
Apache Licensed: 52
Generated Documents: 0
JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.
6 Unknown Licenses
*****************************************************
Files with unapproved licenses:
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-rule-component-cleanup.md
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-rule.md
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generator.md
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-default-strategy.md
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generate-strategy.md
/home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-reference-rule.md
*****************************************************
*****************************************************
Files with Apache License headers will be marked AL
Binary files (which do not require any license headers) will be marked B
Compressed archives will be marked A
Notices, licenses etc. will be marked N
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/ShardingMCPHandlerProviderTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/TestWorkflowSessionContext.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/completion/ShardingAlgorithmCompletionHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingTableResourceHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingGovernanceResourceHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingStrategyResourceHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingAlgorithmResourceHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/ShardingDescriptorContractTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingAlgorithmPropertyTemplateServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowApplyArtifactValidatorTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowValidationServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingDistSQLPlanningServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowPlanningServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingAlgorithmRecommendationServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingInspectionServiceTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/model/ShardingWorkflowRequestTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/ShardingPlanningRequestBinderTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingTableRuleToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingKeyGeneratorToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingDefaultStrategyToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingRuleComponentCleanupToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingTableReferenceRuleToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingKeyGenerateStrategyToolHandlerTest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/test/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/ShardingWorkflowToolHandlerTestFixture.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/mcp-descriptors/mcp-descriptor-sharding.yaml
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-rule-component-cleanup.md
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-rule.md
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generator.md
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-default-strategy.md
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generate-strategy.md
!????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-reference-rule.md
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/services/org.apache.shardingsphere.mcp.api.MCPHandlerProvider
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/completion/ShardingAlgorithmCompletionHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingGovernanceResourceHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingStrategyResourceHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingAlgorithmResourceHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/AbstractShardingResourceHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/resource/handler/ShardingTableResourceHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/ShardingFeatureDefinition.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/ShardingMCPHandlerProvider.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingDistSQLPlanningService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingAlgorithmRecommendationService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingInspectionService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowValidationService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowPlanningService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingAlgorithmPropertyTemplateService.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowApplyArtifactValidator.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowInputValidator.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/model/ShardingWorkflowRequest.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingRuleComponentCleanupToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingKeyGeneratorToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingDefaultStrategyToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingKeyGenerateStrategyToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/ShardingPlanningRequestBinder.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/AbstractShardingPlanningToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingTableReferenceRuleToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/java/org/apache/shardingsphere/mcp/feature/sharding/tool/handler/PlanShardingTableRuleToolHandler.java
AL /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/pom.xml
*****************************************************
Printing headers for text files without a valid license header...
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-rule-component-cleanup.md
=====================================================
# Plan Sharding Rule Component Cleanup
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- plan_id: {{plan_id}}
Plan cleanup only with `DROP SHARDING ALGORITHM`, `DROP SHARDING KEY GENERATOR`, or `DROP SHARDING AUDITOR`.
Before planning:
- Read the unused component resource that matches the requested component type.
- Read the matching used-by resource before dropping a named component.
- Do not plan cleanup when the component is still referenced by any table rule, strategy, or auditor binding.
Ask before planning when database, component_type, or component_name is unclear.
Stop after returning a plan_id with reviewable cleanup DistSQL, or after explaining why cleanup is unsafe.
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-rule.md
=====================================================
# Plan Sharding Table Rule
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- algorithm_type: {{algorithm_type}}
- plan_id: {{plan_id}}
Plan only ShardingSphere sharding table rule DistSQL.
Use this workflow before raw side-effect SQL when the user asks in natural language to create or drop database/table sharding rules, including generated key rules such as Snowflake.
Before planning:
- Read existing table rules, algorithm plugins, and key-generate algorithm plugins for the logical database.
- Preserve existing rule details that the user did not ask to change.
- Do not create physical databases, physical tables, indexes, storage units, physical data-change jobs, or data probes.
Ask before planning when any required rule input is unclear:
- logical table and actual data nodes
- strategy type and required sharding column or columns
- sharding algorithm type and required properties
- key generator, auditor, or generated key column when the requested rule needs them
Stop after returning a plan_id with reviewable DistSQL artifacts, or after listing the missing inputs.
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generator.md
=====================================================
# Plan Sharding Key Generator
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- key_generator_type: {{key_generator_type}}
- plan_id: {{plan_id}}
Plan only ShardingSphere sharding key generator DistSQL. Require key generator name for create or drop, and require key generator algorithm type before create.
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-default-strategy.md
=====================================================
# Plan Sharding Default Strategy
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- algorithm_type: {{algorithm_type}}
- plan_id: {{plan_id}}
Plan only ShardingSphere default sharding database or table strategy DistSQL. Require DATABASE or TABLE, strategy type, and algorithm details unless dropping or using NONE.
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-key-generate-strategy.md
=====================================================
# Plan Sharding Key Generate Strategy
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- key_generator_type: {{key_generator_type}}
- plan_id: {{plan_id}}
Plan only ShardingSphere key generate strategy DistSQL. Require strategy name, table and column or sequence, and either an existing generator name or key generator algorithm details.
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/sharding/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-sharding-table-reference-rule.md
=====================================================
# Plan Sharding Table Reference Rule
Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- plan_id: {{plan_id}}
Plan only ShardingSphere sharding table reference rule DistSQL. Require the logical database, rule name, and explicit reference tables. Do not emit unrelated DDL or storage-unit changes.
