-
Notifications
You must be signed in to change notification settings - Fork 0
Privacy Rules
Fine-grained control over what data gets sent to AI. Privacy rules run before any data leaves your device — AI never sees excluded or redacted content.
Every time Vaultend sends note content to AI (Organize Note, Organize Folder, Vault Maintenance with AI features), the privacy filter runs first:
Your note → Privacy filter → Only allowed content → AI provider
- Exclusion rules (folder, tag, properties) block entire notes from being sent
- Redaction rules mask specific text patterns within notes that are allowed
- Your original notes are never modified — filtering only affects the copy sent to AI
Go to Settings → Community Plugins → Vaultend → Privacy
Click Add Rule to create a new privacy rule. Each rule has:
- Name — a descriptive label (e.g., "Personal journal")
- Type — the kind of rule (see below)
- Pattern — the folder path, tag, property key, or regex pattern
- Enabled toggle — turn individual rules on/off without deleting them
Notes in the specified folder (and all subfolders) are never sent to AI.
Pattern: The folder path from vault root. Case-sensitive, prefix-matched.
| Pattern | What gets excluded |
|---|---|
Journal/Personal |
All notes under Journal/Personal/ and its subfolders |
Finance |
All notes under Finance/
|
Work/Clients |
All notes under Work/Clients/
|
Notes with the specified tag are completely excluded from AI context.
Pattern: The exact tag to match (without #).
| Pattern | Effect |
|---|---|
private |
Notes tagged #private are excluded |
confidential |
Notes tagged #confidential are excluded |
Notes with the specified frontmatter property key are excluded from AI context.
Pattern: The frontmatter key name. The value doesn't matter — if the key exists, the note is excluded.
| Pattern | Frontmatter that triggers exclusion |
|---|---|
confidential |
confidential: true (or any value) |
draft |
draft: true |
no-ai |
no-ai: true |
Regex patterns in note content are replaced with [REDACTED] before sending to AI. The note itself remains in the AI context — only matching text is masked.
Pattern: A regular expression (case-insensitive). For simple word masking, just type the word — no regex knowledge needed.
| Pattern | Before | After (sent to AI) |
|---|---|---|
password:\S+ |
password:abc123 |
[REDACTED] |
SSN-\d{3}-\d{2}-\d{4} |
SSN-123-45-6789 |
[REDACTED] |
vaultend |
My vaultend plugin |
My [REDACTED] plugin |
If a regex pattern is invalid, Vaultend logs a warning and skips that rule (other rules still apply).
| Feature | Exclusion rules | Content redaction |
|---|---|---|
| Organize Note | Excluded notes can't be organized | Redacted content sent to AI |
| Organize Folder | Excluded notes are skipped in batch | Redacted content sent to AI |
| Vault Maintenance (AI features) | Excluded notes skipped for AI analysis | Redacted content sent to AI |
| Vault Maintenance (local analysis) | Not affected — orphan/broken link/empty detection is local, no AI | N/A |
| Link suggestions | Excluded notes are not suggested as link targets | N/A |
Important: Local analysis features (orphan detection, broken links, empty notes, duplicates) do NOT use AI and are NOT affected by privacy rules. These features only read your local vault structure.
Rules are processed in order from top to bottom. The first matching exclusion rule blocks the note entirely — subsequent rules don't run for that note.
For content redaction, all enabled redaction rules apply sequentially to the remaining text.
Rule 1: Folder exclude → "Journal/Personal"
Rule 2: Folder exclude → "Finance"
Rule 3: Tag exclude → "private"
Rule 1: Folder exclude → "Clients/Contracts"
Rule 2: Properties exclude → "confidential"
Rule 3: Content redact → "client-[A-Z]+-\d+" (client IDs)
Use the no-ai frontmatter property on individual notes:
---
no-ai: true
---Then add a single rule:
Rule: Properties exclude → "no-ai"
- Pre-send filtering — privacy rules execute before ANY data leaves your device
- Original notes untouched — content redaction only affects the copy sent to AI
- Plugin-scoped — these rules control Vaultend only. Your AI provider's own data policies apply separately (review them at your provider's website)
- No telemetry — Vaultend does not collect or send any usage data, analytics, or note content to Vaultend servers. All AI communication is direct between your device and your configured AI provider.
- Use folder exclude for entire sections of your vault (journals, finance, medical records)
- Use tag exclude for individual sensitive notes (
#private,#confidential,#medical) - Use properties exclude for a per-note opt-out pattern (
no-ai: truein frontmatter) - Use content redact for specific patterns (API keys, passwords, personal identifiers, client codes)
- Multiple rules can be combined — exclusion rules block notes, redaction rules mask content within allowed notes
- Disabled rules are preserved but inactive — toggle them back on when needed
Vaultend Wiki
Features
Reference