Summary
Origin validation logic is currently duplicated between the extension background worker and permission-service, violating DRY.
Requirements
- Extract the shared validation logic into permission-service as the source of truth
- Update the extension to call the shared logic rather than reimplementing it
- Add tests verifying both call sites produce identical validation results
- Remove the now-duplicated implementation from the extension
Summary
Origin validation logic is currently duplicated between the extension background worker and permission-service, violating DRY.
Requirements