Skip to content

Display earned Partiful profile badges as read-only metadata #100

Open

Description

@KalebCole

User scenario

I want to see the Partiful badges and party statistics shown on my profile so an agent can describe my profile accurately without treating those badges as editable account fields.

Problem

The CLI displays no earned profile badges. Profile reads are also missing today, so hosted and attended counts and special account badges disappear entirely outside Partiful's UI.

Verified product and API facts

The current product derives party-count badges from getUsersPartyStats, which supplies hostedCount and attendedCount. Special badges come from user _tags: vip renders as "Very Important Partier" and employee renders as "Team Partiful."

An authenticated read of getUsersPartyStats succeeded during investigation. No badge mutation exists in the inspected product contract, and no mutation was attempted.

Proposed experience

partiful profile badges
partiful profile get --include badges
partiful schema profile.badges

Suggested normalized JSON:

{
  "badges": {
    "hosted": 12,
    "attended": 34,
    "vip": false,
    "teamPartiful": false
  }
}

Human output may use Partiful's display labels. JSON should use stable normalized keys and preserve zero-count and no-badge states.

Scope boundaries

  • Badges are read-only derived metadata. Do not add badge editing flags to profile updates.
  • Do not print raw _tags, internal entitlement flags, or unrelated account metadata.
  • Do not infer unverified badge tiers or achievements from counts.
  • Keep the command useful when Partiful adds an unknown tag: omit it safely or expose a documented unknown value without claiming a display meaning.

Discovery needed

Verify whether getUsersPartyStats accepts only the authenticated user or also permitted public profile IDs, how counts behave for deleted/private events, and whether other current badge tags have an official display mapping. Check the public-profile response before supporting lookups for other users.

Acceptance criteria

  • profile badges returns hosted and attended counts plus verified special badges.
  • profile get --include badges uses the same normalized representation.
  • Zero counts and no special tags return a successful, deterministic empty state.
  • Unknown tags do not leak raw account metadata or receive invented labels.
  • API, permission, and malformed-response failures produce structured errors.
  • Normal output does not expose user IDs or raw _tags.
  • CLI help, schema introspection, unit tests, and one read-only authenticated E2E ship together.

Related work

The profile read/edit/photo issue owns mutable account fields. #18 covers aggregate event analytics, not the small read-only badge contract displayed on a profile.

Activity

  1. added
    enhancement
    on Aug 5, 2026
  2. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    Triage bot: held for Kaleb. Every new command waits for his review for now (draft VISION (#256)), and a command ships only for an operation defined in spec/partiful.openapi.json, with Go tests and reviewed schema goldens. Needs: Kaleb's go-ahead, then the badge read reviewed into the spec.

  3. added
    held
    on Nov 14, 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

    enhancementheld

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions