Skip to main content
← Back to list
01Issue
BugIn ProgressSwamp Club
Assigneeskeeb

Relationships

#1366 Invite people who have never used swamp to a collective (email invite flow)

Opened by dmc · 7/23/2026

Problem

Today, adding someone to a collective requires that they already exist as a swamp user — they have to have installed swamp, run swamp auth login, and created an account before I can invite them. My identity search / invite only resolves against people who are already in the system.

That's backwards for how collectives actually get formed. When I want to bring a teammate into my collective, they usually haven't touched swamp yet. The current flow forces an awkward out-of-band handoff:

  1. Message them separately: "go install swamp and sign up, then tell me your username"
  2. Wait for them to do it
  3. Come back and invite them

Each of those steps is a drop-off point. Step 1 is me doing manual onboarding support over Slack, and step 2 has no visibility — I don't know if they did it, and there's nothing pending on my end to remind me.

Proposed solution

Let me invite by email address, whether or not that email belongs to an existing swamp account.

  • swamp collective invite <collective> --email [REDACTED-EMAIL] (plus the equivalent in the swamp.club web UI)
  • If the email already maps to a swamp account: same behavior as today, invite lands for that user.
  • If it doesn't: create a pending invite and send them an email with a signup link that carries the invite token.
  • When they sign up through that link, they're automatically joined to the collective — no "now go tell Dan your username" round trip.
  • Inviter can see pending invites, resend, and revoke them: swamp collective invite list / --resend / --revoke.
  • Pending invites should expire (something like 14 or 30 days) so stale tokens don't linger.

Why this matters beyond convenience: adoption

This is a growth mechanism, not just an ergonomics fix. An invite email from a colleague who is already using swamp is the highest-signal onboarding path there is — the new person arrives with a reason to be there (a specific collective, presumably specific extensions/models they'll need) rather than landing cold on the docs.

Right now every new-user acquisition is self-serve; there's no path where an existing user brings someone in. Pending invites turn each existing user into an onboarding surface, and the signup landing page can be tailored: "Dan invited you to the dmc collective" → install → login → you're already a member with the right context.

Alternatives considered

  • Shareable invite link (no email, inviter copies a URL and sends it however they want). Simpler to build and avoids sending mail, but loses the pending-invite tracking and is easier to leak/forward. Would be a reasonable v1 if email delivery is the blocker, ideally with a use limit and expiry.
  • Status quo — document the manual dance. Doesn't fix the drop-off; still requires the inviter to manually chase.

Security considerations

  • Invite tokens should be single-use and bound to the invited email (or at least record which email was invited, so accepting from a different address is visible/auditable).
  • Only members with the appropriate grant on the collective should be able to create invites; the existing swamp access grant model should cover this.
  • Rate-limit invite sends per inviter to avoid the invite endpoint becoming a spam vector.
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 8 MOREREVIEW+ 3 MOREPR_MERGED

In Progress

7/23/2026, 7:23:45 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
keeb assigned keeb7/23/2026, 5:53:59 PM

Sign in to post a ripple.