Files
suaveplan/openspec/archive/2026-04-19-enterprise-dmarc/tasks.md
2026-05-27 23:29:53 +01:00

824 B

Tasks: enterprise-dmarc

1. Scaffold

  • 1.1 universal/email/dmarc/; 100/100/100/100; guard tests; CLAUDE/README/FOLDERS.

2. Errors + schemas

  • 2.1 src/errors/dmarc-error.ts — codes.
  • 2.2 Zod schemas for DmarcAggregateReport, DmarcForensicReport, nested types.

3. Decoders

  • 3.1 src/decoders/gzip.ts — inflate via fflate.
  • 3.2 src/decoders/xml.ts — fast-xml-parser with strict option set.

4. Parsers

  • 4.1 src/parsers/aggregate.ts — parseDmarcAggregate.
  • 4.2 src/parsers/forensic.ts — parseDmarcForensic.
  • 4.3 Fixture-based tests (Google/Microsoft/Yahoo samples).

5. Docs / barrel / subpath exports / README

6. Benchmarks

  • 6.1 Parse a 500 KB aggregate report.

7. Ship gate

  • 7.1 Verification sequence; fold + archive.