Badges and Perks

Status: Phase 1 shipped (before 2026-07-20 — predates this repo's shallow history): admin-defined badges, award / revoke from the admin console, the user's Badges page (/account/badges — feature up to 12, one primary), the profile Badges section, the primary badge on comments and hover cards, and the award reveal. Phases 2–5 (criteria-driven awarders, progress visualizations, perks) are planned; nothing awards automatically yet.

Overview

Badges are publicly visible markers earned through behavior on Echo of Dreams — engagement with a creator's work, contribution to shared content, time on the platform, or paid support. They serve three roles at once:

  1. Recognition — fans, contributors, and supporters get a small public reward for showing up.
  2. Signal — comments and profiles carry visibly different weight depending on who's behind them. A founding fan's review reads differently than a passing visitor's.
  3. Foundation — once badges exist as a primitive, perks (early access, fan-only content, comment highlighting, leaderboards) hang off them naturally.

The key constraint: eligibility is earned, not bought. Subscribers get a subscriber badge, but the bulk of the badge surface is driven by genuine engagement and contribution — not by clicking follow once or paying once.

This doc catalogs the badges and perks worth building, the progress visualizations that drive them, and a phased rollout that doesn't try to ship everything at once.


Why

Today, the only public signal of fandom or contribution is the follow relationship and the comment author's display name. Follows are essentially free. Comments are flat. Creators can't tell at a glance who their actual audience is, contributors get no public credit for approved proposals, subscribers blend in with everyone else, and there's no rhythm-driving mechanic that rewards returning to the platform.

Badges fix all of that with one rendering pipeline:

Perks layered on top turn that recognition into actual benefits — but the badges have to come first.


Badge Catalog

Badges are grouped by what earns them. Each group shares a rendering pattern and lifecycle, so building one in a group makes the rest cheap.

Engagement-earned (per creator / per project)

These are the "fan" family. Each is scoped to a specific creator or project, so a user can hold many of them. All require an active follow as a baseline.

Contribution-earned (per creator / per project)

These give visible credit to users with can_contribute who don't have can_manage, plugging into the existing proposal system.

Platform-wide

Not tied to a specific creator. Worn on the user's profile and (configurably) on every comment.

Community / moderation

Admin-defined custom badges

Beyond the criteria-driven catalog above, admins can define and award arbitrary custom badges from the admin console. This is the escape hatch for everything the rule-based system can't predict — event commemoratives ("EoD Anniversary 2026"), one-off recognition ("Helped during the April outage"), partner / collaboration markers, contest winners, internal team flair, anything bespoke.

Definition (admin console):

Award flow:

Permissions:

Icon constraints:

Storage shape (sketch):

Why this is worth shipping early:

The criteria-driven badges (Fan, Streak, Deep diver, …) all need their own threshold logic, eligibility re-evaluation, and progress visualizations. Admin-defined badges need none of that — they're the rendering pipeline plus an admin form. Building them first proves out the badge data model, the rendering surfaces (profile, comments, hover card, showcase section), and the award notification flow without waiting on the criteria-evaluation engine. Then the criteria-driven badges layer on as automated awarders that write to the same tables.


Perks

Badges are the primitive. Perks are what makes earning them mean something beyond the visual.

Perks should be opt-in per creator — not every creator wants to gate content behind fandom. The creator's profile customization gains a "Fan perks" panel where they toggle which perks are active.


Progress Visualizations

Most badges are multi-criteria (follow + N conversations + N days), so a single progress bar doesn't fit by default. The patterns that work:

Where progress visualizations live


Display Surfaces

A badge needs to render consistently in several places, so the rendering should go through a single component family from day one.

Visual style is creator-customizable within constraints (color, icon, short label), enforced by the same kind of validator the profile customization uses (no NSFW imagery, no platform-UI impersonation, no misleading labels). Platform-wide badges have fixed visuals.


Lifecycle

The same lifecycle applies to most badges, with permanent badges skipping the lapse stages.


Phased Rollout

Don't ship all of this at once. Ship the primitives first, layer the rest on.

Phase 1 — Primitives + admin-defined badges

This phase ships the entire pipeline without any criteria-evaluation engine. Everything from Phase 2 onward is "add an automated awarder that writes to user_badge_awards."

Phase 2 — Criteria-driven primitives

Phase 3 — Engagement loops

Phase 4 — Contribution surface

Phase 5 — Perks economy


Decisions

These are settled — the implementation must keep room for each one even if it doesn't ship in Phase 1.


Dependencies