This directory contains example patches for corpus updates.
| File | Description |
|---|---|
2026-02-05-add-privacy-policy.yaml |
Example patch adding new policy document |
expected_result.yaml |
What RAGLeakLab should report after this patch |
- Create a patch file following the template structure
- Open a PR with the patch + any corpus changes
- CI runs delta check against baseline
- Review the generated report
- Merge if validation passes
metadata:
date: "YYYY-MM-DD"
author: your-team
description: "What this patch does"
ticket: JIRA-123
add:
- id: document_id
path: path/to/file.txt
tags: [tag1, tag2]
modify:
- id: existing_doc_id
path: path/to/updated.txt
reason: "Why modified"
remove:
- id: old_doc_id
reason: "Why removed"
expected_claims:
added: [...]
modified: [...]
removed: [...]
validation:
must_detect: [claim_ids...]
must_not_leak: [claim_ids...]See the example files for complete templates.