From 6d38a90ba1535d0f6f8a27f13cbed06918cff36a Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Tue, 12 Aug 2025 13:26:30 +0300 Subject: [PATCH] docs: add RAG Code Duplication Compliance section to compliance documentation --- docs/docs/tools/compliance.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/docs/tools/compliance.md b/docs/docs/tools/compliance.md index 3c951dda..46dfd5ec 100644 --- a/docs/docs/tools/compliance.md +++ b/docs/docs/tools/compliance.md @@ -97,7 +97,19 @@ Validates that PR changes fulfill the requirements specified in linked tickets: - **Requires Verification** ⚪: Requirements that need human review -### 3. Custom Compliance +### 3. RAG Code Duplication Compliance + +???+ tip "Learn more about RAG" + For detailed information about RAG context enrichment, see the [RAG Context Enrichment guide](../core-abilities/rag_context_enrichment.md). + +Analyzes code changes using RAG endpoint to detect potential code duplication from the codebase: + +- **Fully Compliant** 🟢: No code duplication found +- **Not Compliant** 🔴: Full code duplication found +- **Requires Verification** ⚪: Near code duplication + + +### 4. Custom Compliance Validates against an organization-specific compliance checklist: