Complexity: High (200 points)
Why this matters
Contributors cannot export or delete their wallet mapping. That’s a legal and trust gap.
Problem
No self-service export/delete. Admin would use SQL.
What "done" looks like
- Authenticated export of own data.
- Delete/anonymize registration with confirm.
- Audit log.
- Docs. Tests.
Scope
- In: routes, prisma, tests, CONTRIBUTING/privacy note.
- Out: Full company DSR portal.
Guidelines
- Key files:
src/app/api/register/, src/lib/registrations.ts, prisma/schema.prisma
- Watch for: unique address reuse after delete, token deletion, CSRF.
- Constraints: Don’t delete audit logs required for security without a policy. Document it.
- Validate:
npm test
PR must include
Complexity: High (200 points)
Why this matters
Contributors cannot export or delete their wallet mapping. That’s a legal and trust gap.
Problem
No self-service export/delete. Admin would use SQL.
What "done" looks like
Scope
Guidelines
src/app/api/register/,src/lib/registrations.ts,prisma/schema.prismanpm testPR must include