wozhub wires Mike up to live law-change alerts

A new fork pipes real-time legal updates straight into the app, so the system reacts the moment a law shifts.

complianceintegration

wozhub's fork adds a connection that listens for alerts from Legalize, a service that tracks when laws are updated or repealed. When a law changes, the fork clears its stale copy and drops an in-app notification so users know something moved. The signature-checking that confirms each alert is genuine is cleanly done and worth a look for anyone building similar live integrations.

The alerting itself is rougher. Right now every user gets pinged about every law change, whether or not it touches their work - noisy, and it quietly tells everyone which laws moved. There's also a deduplication flaw that can swallow a second alert about the same law. The plumbing is solid; the who-gets-notified logic needs rework before anyone leans on it.

So what Worth a look for legal-ops and product teams who want their tools to react to live regulatory changes rather than stale snapshots.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

1 commit from wozhub/inquilino, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
b98e714f feat: webhook-driven law change notifications David Wozniak 2026-05-27 ↗ GitHub
commit body
- Add /webhooks/legalize endpoint with signature verification
- Invalidate law cache on law.updated/law.repealed events
- Broadcast notifications to all users on law changes
- Add migrations/001_notifications.sql (Supabase RLS)
- Register webhook route before express.json() for raw body access
- Add LEGALIZE_WEBHOOK_SECRET to .env.example

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-614.md from inside the repo you want the changes in.

⬇ Download capture-thread-614.md