Files
2026-05-27 23:29:53 +01:00

26 lines
824 B
Markdown

# Tasks: enterprise-dmarc
## 1. Scaffold
- [x] 1.1 `universal/email/dmarc/`; 100/100/100/100; guard tests; CLAUDE/README/FOLDERS.
## 2. Errors + schemas
- [x] 2.1 `src/errors/dmarc-error.ts` — codes.
- [x] 2.2 Zod schemas for `DmarcAggregateReport`, `DmarcForensicReport`, nested types.
## 3. Decoders
- [x] 3.1 `src/decoders/gzip.ts` — inflate via `fflate`.
- [x] 3.2 `src/decoders/xml.ts` — `fast-xml-parser` with strict option set.
## 4. Parsers
- [x] 4.1 `src/parsers/aggregate.ts` — `parseDmarcAggregate`.
- [x] 4.2 `src/parsers/forensic.ts` — `parseDmarcForensic`.
- [x] 4.3 Fixture-based tests (Google/Microsoft/Yahoo samples).
## 5. Docs / barrel / subpath exports / README
## 6. Benchmarks
- [x] 6.1 Parse a 500 KB aggregate report.
## 7. Ship gate
- [x] 7.1 Verification sequence; fold + archive.