Rat (Release Audit Tool) results

The following document contains the results of Rat (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2026-11-02T13:15:24Z

Notes: 0
Binaries: 0
Archives: 0
Standards: 39

Apache Licensed: 36
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

3 Unknown Licenses

*****************************************************

Files with unapproved licenses:

  /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-default-shadow-algorithm.md
  /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-algorithm-cleanup.md
  /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-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/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/ShadowMCPHandlerProviderTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/TestWorkflowSessionContext.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/ShadowDescriptorContractTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/completion/ShadowAlgorithmCompletionHandlerTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/resource/handler/ShadowResourceHandlerTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowDistSQLPlanningServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowAlgorithmPropertyTemplateServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowWorkflowValidationServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowWorkflowPlanningServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowAlgorithmRecommendationServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowInspectionServiceTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowAlgorithmCleanupWorkflowRequestTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowRuleWorkflowRequestTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowDefaultAlgorithmWorkflowRequestTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanDefaultShadowAlgorithmToolHandlerTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanShadowAlgorithmCleanupToolHandlerTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/test/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanShadowRuleToolHandlerTest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/mcp-descriptors/mcp-descriptor-shadow.yaml
 !????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-default-shadow-algorithm.md
 !????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-algorithm-cleanup.md
 !????? /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-rule.md
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/services/org.apache.shardingsphere.mcp.api.MCPHandlerProvider
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/completion/ShadowAlgorithmCompletionHandler.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/ShadowFeatureDefinition.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/resource/handler/ShadowResourceHandler.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowAlgorithmRecommendationService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowWorkflowValidationService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowInspectionService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowWorkflowPlanningService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowAlgorithmPropertyTemplateService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/service/ShadowDistSQLPlanningService.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowAlgorithmCleanupWorkflowRequest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowDefaultAlgorithmWorkflowRequest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/model/ShadowRuleWorkflowRequest.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanShadowAlgorithmCleanupToolHandler.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanShadowRuleToolHandler.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/tool/handler/PlanDefaultShadowAlgorithmToolHandler.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/java/org/apache/shardingsphere/mcp/feature/shadow/ShadowMCPHandlerProvider.java
  AL    /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/pom.xml
 
*****************************************************

 Printing headers for text files without a valid license header...
 
=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-default-shadow-algorithm.md
=====================================================
# Plan Default Shadow Algorithm

Read the current default shadow algorithm, configured shadow algorithms, and shadow algorithm plugins before planning.

Inputs:
- database: {{database}}
- operation_type: {{operation_type}}
- algorithm_type: {{algorithm_type}}
- plan_id: {{plan_id}}

Generate only `CREATE DEFAULT SHADOW ALGORITHM`, `ALTER DEFAULT SHADOW ALGORITHM`, or `DROP DEFAULT SHADOW ALGORITHM` DistSQL artifacts. Current ShardingSphere grammar does not include a `FROM` clause for default shadow algorithm RDL, so use the logical database as workflow context and not as a rendered RDL suffix.

Ask the user when the logical database, operation, algorithm type, or required properties are unclear.

=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-algorithm-cleanup.md
=====================================================
# Plan Shadow Algorithm Cleanup

Read configured shadow algorithms, shadow table rules, default shadow algorithm, and shadow rules before cleanup planning.

Inputs:
- database: {{database}}
- algorithm_name: {{algorithm_name}}
- plan_id: {{plan_id}}

Generate `DROP SHADOW ALGORITHM` only when the target algorithm is configured and is not referenced by table rules or the default shadow algorithm. Do not remove shadow rules, storage units, physical databases, physical tables, indexes, migration jobs, backfill jobs, or data probes.

Ask the user when the logical database or algorithm name is unclear, or when the algorithm is still referenced.

=====================================================
== File: /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/mcp/features/shadow/src/main/resources/META-INF/shardingsphere-mcp/prompts/plan-shadow-rule.md
=====================================================
# Plan Shadow Rule

Read the current shadow rules, table rules, configured algorithms, default algorithm, and shadow algorithm plugins before planning.

Inputs:
- database: {{database}}
- rule: {{rule}}
- operation_type: {{operation_type}}
- source_storage_unit: {{source_storage_unit}}
- shadow_storage_unit: {{shadow_storage_unit}}
- table: {{table}}
- algorithm_type: {{algorithm_type}}
- plan_id: {{plan_id}}

Generate only `CREATE SHADOW RULE`, `ALTER SHADOW RULE`, or `DROP SHADOW RULE` DistSQL artifacts. Do not create storage units, physical databases, physical tables, indexes, migration jobs, backfill jobs, or data probes.

Ask the user when the logical database, rule name, source storage unit, shadow storage unit, table, algorithm type, or required algorithm properties are unclear.