# Judgement Rules — Accumulated Email Triage Rules
# Built up over sessions by the email-manager skill.
# Each rule encodes a pattern that proved reliable enough to apply automatically.
# Rules are applied in order; earlier rules take precedence.
# Managed by JUDGEMENT_IMPROVEMENT_PROMPT.md Step 6.
# ---

## Positive Rules (Relevant / Monitor)

| Rule ID | Pattern | Verdict | Source | Date Added |
|---------|---------|---------|--------|------------|
| J001 | Sender domain: @quantuma.com | 🟢 RELEVANT | Webdadi insolvency practitioners | seed |
| J002 | Sender domain: @burgesshod.co.uk | 🟢 RELEVANT | Accountants BH — Jamie Wells, Matthew | seed |
| J003 | Sender: jmartinezmu@icam.es | 🟢 RELEVANT | José — Spanish tax attorney, sworn translator | seed |
| J004 | Subject or body references "Crescent Stables" or "SW15 2TN" | 🟢 RELEVANT | Property managed by CPS | seed |
| J005 | Sender domain: @allica.bank or @allicabank.co.uk | 🟢 RELEVANT | New business bank account | seed |
| J006 | Subject or body references "A1" or "S1" certificate | 🟢 RELEVANT | HMRC Spain relocation docs | seed |
| J007 | Sender domain: @3cx.com or @3cx.net | 🟢 RELEVANT | VoIP renewal due 2 May 2026 | seed |
| J008 | Sender domain: @generali.* | 🟢 RELEVANT | Volvo insurance claim | seed |
| J009 | References "Webdadi" or "INV-" invoice numbers | 🟢 RELEVANT | Active liquidation matter | seed |
| J010 | Unknown sender + references any of Oliver's properties or postcodes | 🟡 MONITOR | Could be tenant, contractor, or authority | seed |
| J011 | Unknown sender in Spanish or from Spanish domain + .es TLD | 🟡 MONITOR | Spain relocation context — could be legal/tax | seed |

## Negative Rules (Discard)

| Rule ID | Pattern | Verdict | Source | Date Added |
|---------|---------|---------|--------|------------|
| N001 | Subject contains "% off" AND sender not in contacts | 🔴 DISCARD | Retail marketing | seed |
| N002 | Sender is noreply@* AND subject contains "newsletter" or "digest" | 🔴 DISCARD | Automated marketing | seed |
| N003 | Sender domain: mailchimp.com, sendgrid.net, klaviyo.com | 🔴 DISCARD | Bulk mail platforms | seed |
| N004 | Sender domain: @fitbit.com (any inbox) | 🔴 DISCARD | Oliver confirmed Fitbit mail is spam on ochapple@btinternet.com — remove from any whitelist | 23 Apr 2026 |
| N005 | Sender domain: @interski.co.uk (any inbox) | 🔴 DISCARD | Oliver confirmed Interski emails are not important — do not surface for monitoring | 23 Apr 2026 |

## Notes
- Rules are additive — new rules appended at the bottom of each section
- Conflict resolution: positive rules beat negative rules for known contacts/projects
- Any rule that produces 2+ false results should be reviewed and revised
