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

1.3 KiB

Tasks: enterprise-password-formats

1. Scaffold

  • 1.1 Create universal/auth/password-formats/; 100/100/100/100.
  • 1.2 Guard tests; CLAUDE/README/FOLDERS updates.

2. Errors + schemas

  • 2.1 src/errors/password-formats-error.ts — codes.
  • 2.2 Zod schemas: PasswordEntrySchema, per-format raw-row schemas.

3. Core

  • 3.1 src/core/detector/format-detector.ts — detect.
  • 3.2 Dispatcher src/core/parse/parse.ts — parse.
  • 3.3 src/core/validator/validate.ts — validate.

4. Parsers

  • 4.1 src/parsers/apple-passwords/*.
  • 4.2 src/parsers/bitwarden/* (handle encrypted detection).
  • 4.3 src/parsers/chrome/*.
  • 4.4 src/parsers/keepass/* (unencrypted kdbx XML export only).
  • 4.5 src/parsers/lastpass/*.
  • 4.6 src/parsers/onepassword/* (CSV + .1pux zip via fflate).
  • 4.7 Co-located .md + unit tests with real fixture files per format.

5. Exporter

  • 5.1 src/exporters/csv-exporter.ts — exportToCsv.
  • 5.2 Round-trip property test.

6. Index / README / exports

  • 6.1 Barrel, subpath exports per parser.
  • 6.2 Root README.

7. Benchmarks

  • 7.1 parse.bench.ts for 1 k / 10 k / 100 k entries.

8. Ship gate

  • 8.1 Verification sequence; fold spec + archive.