mirror of
https://github.com/hanzoai/notify.git
synced 2026-10-30 15:04:32 +00:00
notifyd is SQLite-only (via hanzoai/base). Adds internal/storagelock which refuses to boot when DATABASE_URL, POSTGRES_URL, POSTGRES_DSN, POSTGRES_HOST, NOTIFY_DATABASE_URL, or NOTIFY_POSTGRES_URL are set. Wired into cmd/notifyd/main.go before base.New(); 9 test cases cover DSN classification, password redaction, multi-violation reporting, whitespace handling, and nil-lookup safety. Per the PG → SQLite migration plan (~/work/hanzo/CLAUDE_PG_TO_SQLITE_MIGRATION.md, service #2). Notify has no PG code today, so the lockdown is the deliverable — there is no schema to migrate from.