feat(growth): founder install digest with one-click approve links - #1102
Merged
Merged
Conversation
…digest Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…er install digest Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…er reauthorization Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ion; deterministic empty-candidate test Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…uthorization extras; spec names the real approval path Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…y behind a switch Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…origin; report and complete atomically Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… for approve-install Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…entity, keeps the report ledger on job deletion Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
blove
enabled auto-merge (squash)
September 17, 2026 06:12
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
digestjob in the lifecycle tick, behindGROWTH_INSTALL_DIGEST_ENABLED(default off): lists identified, non-CI installers with a work-email domain who are not a contact in any state and were never reported; sent to the founder through the existing internal notification sender. Never emails the installer, never creates a contact.founder_approve_installlink./api/growth/approve-install(mirrors the stop route) creates and approves the contact through the founder reauthorization path, so campaign enrollment uses the existingcontact.reauthorizedbranch with no enrollment SQL changes.growth_install_digest_reports(migration 0008) is the digest's idempotency ledger, written in the same transaction that completes the job; the notify-style at-most-once claim prevents double sends.pacificCalendarDatehelper,founder_approve_installtoken purpose, internal-notification claim accepts the job kind.Test plan
nx build websiteTEST_DATABASE_URL, which was unavailable. Written and typechecked but not run:install-digest.integration.spec.ts(candidate exclusions incl. personal/CI/active/deleted/stopped contacts, reported identities, grouping, package bound, enqueue idempotency, empty-candidate rollback),contacts.integration.spec.ts › approveContactFromInstallDigest, and themigrations.integration.spec.tsledger/table list. Runnpx nx run growth:test-integrationunder Node 22 withTEST_DATABASE_URLbefore the production cutover.GROWTH_INSTALL_DIGEST_ENABLED=trueon the lifecycle project, verify the first digest (plan Task 16).🤖 Generated with Claude Code