ydzh on Discord: masking took xxx@Agents.md and xxx@pytest.xxx for
email addresses. realEmail now also refuses a host that is a known
agent doc file (agents.md, claude.md, readme.md, ...) or whose last
label is not an ICANN TLD (publicsuffix) nor a local mail suffix
(local, internal, lan, corp, home, intranet, localdomain). So
decorator and module paths like pytest.fixture or
dataclasses.dataclass go as written, while me@notes.md, j@Gmail.COM,
admin@build.local and ops@mail.corp are still masked.
Run: go test ./internal/redact (all, evals included) ok;
go test ./internal/gateway -run 'Redact|Mask|Email|Privacy' ok;
gofmt -l clean; GOOS=linux and windows go vet ./internal/redact ok.
Broken by hand: with the new checks removed, TestEmailNeedsAMailDomain
fails 10 cases. Not tried: the real app; full suite (other sessions'
suites on the machine).