Skip to content

[Fans] Award points through verified actions and an auditable history #2113

Open

Description

@sidneyswift

Parent epic: #2093

Priority

P1 — Next customer value after the shared integration release.

User journey

A customer’s authorized system reports a qualifying action → Recoup validates the source and program rule → awards points once → the fan and customer can see why the balance changed.

Acceptance criteria

  • Public browser events cannot assign arbitrary points. Accept awards only from authorized customer servers, trusted Recoup-confirmed actions, or explicitly configured capped lower-trust mechanisms; record evidence source and verification level.
  • Keep analytics ingestion ([Sites] Measure Sites visits, interactions, and campaign attribution #2095) separate from reward authorization. An observed click, Spotify login, or verified email does not prove an external game score or eligibility.
  • Use stable action/attempt identifiers, replay protection, rate limits, and atomic enforcement of rule caps. Duplicate or concurrent deliveries must not produce duplicate awards or exceed limits.
  • Maintain an append-only history of awards, reservations, spending, expirations, releases, and reversals. Correct errors with traceable entries rather than silently overwriting balances.
  • Record program, fan, application/campaign, rule version, reason, evidence reference, and authorized actor. Provide scoped balance/history reads and authorized corrections through API/MCP.
  • Keep fan points entirely separate from customer-paid Recoup credits. Meter infrastructure against [Sites] Meter Sites operations with credit reservations and spending limits #2105 Pro allowances/purchased capacity, without also charging AI credits or debiting/converting fan points under the approved policy. Do not promise cash value or cross-program transfers.

Blocking dependencies

These are completion prerequisites, mirrored in GitHub’s blocked-by links. Design and contract work may start earlier. Other coordination references are not blockers.

Validation

Test concurrent awards, forged browser requests, replayed evidence, duplicate imports, cap races, reversals, expiration, accounting retries, and consistency between balances and history.

Architecture and ownership

Customer-owned program; Recoup-owned infrastructure. Shared API business logic supports MCP, Recoup Sites, and independent apps. Database changes go through the database repository PR workflow. Use existing durable workflow patterns for notifications and reconciliation. Customer API credits and fan reward points are distinct systems. External games own their scoring and score leaderboards.

Approved category and ownership

The points history and award authorization live in Fans services shared by API/MCP. Points Widgets are clients of those services. Customer-paid Recoup credits remain in the existing billing system.

Parent epic #2093 defines Sites, Fans, and Widgets. Use those names in public documentation and MCP descriptions. Preserve existing functional requirements, dependencies, and authorization/billing boundaries.

Earning-action evidence contract — before points ships

  • Own a small initial earning-action matrix for both generated Recoup games and customer-hosted apps. For each action name the evidence producer, verification method/level, stable attempt ID, repeat/award caps and rejection behavior before implementing awards.
  • For Recoup-generated game achievements, choose server-validated attempts or explicitly customer-enabled capped lower-trust claims. Browser-reported scores and playback events must never be labeled verified results or verified DSP streams. Record the selected trust level with every award.
  • [Fans] Configure customer-owned points programs and earning rules #2112 configures only supported evidence/rule combinations; unsupported earning rules return a clear error rather than silently accepting analytics as proof. New game mechanics do not automatically acquire trusted points support.
  • External games retain scores and leaderboards. Their trusted servers may report qualifying outcomes under scoped authority; public widget code cannot impersonate those servers. Customers remain responsible for rewards.
  • Test a generated-game qualifying action and an independent-app action, forged scores, repeated attempts, cap races, reversals and the chosen lower-trust policy where enabled. [Widgets] Embed Points and Rewards using the shared Fans API #2115's earning journey must use these documented actions.

Activity

  1. changed the title [-][Sites] Award fan points through verified actions and an auditable history[/-] [+][Fans] Award points through verified actions and an auditable history[/+] on Sep 19, 2026
  2. added
    priority:P1Next customer value after the shared integration release
    on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P1Next customer value after the shared integration release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions