Sponsorship pledges: record them, and show them to a human - #3
Merged
Conversation
Someone offering money from workers.vc /sponsor/ had nowhere to land — the buttons opened a mailto and nothing was written down. SponsorPledge is the one home of that fact: name, email, org, tier/amount or in-kind offer, their note, and whether they consented to be listed. No user account (a sponsor is a stranger here) and no equity (that stays a deliberate ExternalHolder path). The doorway posts it S2S; the org's admins get it on the attention rail with a Mark answered button, plus mail when SMTP exists. Unanswered floats to the top, same supervision hook VentureInterest uses. The sponsor gets a confirmation. The rail's respond button now keys off a respond_url on the item instead of the kind name, so a new kind gets one by filling a field. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sg7bCPxxzXEH9yzJea9w1C
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.
The workers.vc sponsor page's buttons opened a mailto. Someone who decided to give money left no trace unless their mail client worked and they finished the message.
This side:
apps/commons.SponsorPledgeis the one home of the fact — name, email, org, tier + amount or an in-kind offer, their note, and whether they consented to be listed on the sponsor page. No user account (a sponsor is a stranger to GovKit) and no equity: honouring a pledge still goes through the deliberate ExternalHolder / OrgStake path.POST /api/v1/commons/orgs/<slug>/sponsor-pledges/— S2S bearer, called by the doorway. Only name and email are required.VentureInterestuses. Ordinary members do not see who offered money.respond_urlon the item rather than the kind's name, so the next kind gets one by filling a field.Paired with Whats-Cookin/workers.vc#(pledge form) — merge this first; the form calls it.
17 new tests, full suite green.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Sg7bCPxxzXEH9yzJea9w1C