Skip to content

feat: add governed pet reaction stickers - #648

Open
Railly wants to merge 25 commits into
mainfrom
railly/petdex-reactions
Open

feat: add governed pet reaction stickers#648
Railly wants to merge 25 commits into
mainfrom
railly/petdex-reactions

Conversation

@Railly

@Railly Railly commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • add a hash-bound sticker export approval and publication ledger
  • seed the curated system-owned Claude reaction collection
  • publish 55 objects per pet: 36 web reactions, 18 WhatsApp-profile animated WebPs, and one 96px tray icon
  • enforce WhatsApp media compliance at generation time: animated WebP, exact 512x512, at most 500 KB, at least 8 ms per frame, and at most 10 seconds total
  • add clean and outlined treatments plus a local review generator
  • add the localized collection reaction explorer with canonical URLs, URL-synced state, and shareable decks
  • gate access, navigation, and pet detail entrypoints behind current approval and publication state
  • make publication transactional, versioned, purge-safe, and recoverable

WhatsApp scope

This PR downloads one WhatsApp-ready reaction at a time. It does not generate or advertise an installable .wastickers pack. Legacy pack keys and routes remain only for cleanup and 410 Gone behavior.

Rollout

  1. Apply drizzle/0018_sticker_exports.sql with scripts/apply-sticker-exports.ts.
  2. Review and allow pets from the companion admin PR.
  3. Run bun run stickers:snapshot:apply --artifacts=reactions --collection=claude.
  4. Enable STICKER_EXPLORER_ENABLED=1.
  5. Use STICKER_EXPORT_DISABLED=1 as the immediate kill switch.

Companion admin PR: https://github.com/crafter-station/petdex-admin/pull/4

Validation

  • head SHA: d4a7f01ba169a053c27eb828ee15d47b08fc7fdc
  • bun test --env-file=.env.mock: 372 passing
  • bun run i18n:check
  • Biome clean for every tracked PR file
  • Vercel preview and required GitHub checks green on the head SHA
  • latest-SHA OpenCode gate: NO ACTIONABLE FINDINGS
  • real Claude Crab generation: 18 WhatsApp WebPs at 512x512, 4 to 8 frames, 720 to 1200 ms, 23,076 to 101,266 bytes, all frames at least 8 ms; tray 96x96 and 8,316 bytes

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
petdex Ready Ready Preview Aug 3, 2026 4:25pm

@Railly

Railly commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

Companion admin review and revocation PR: https://github.com/crafter-station/petdex-admin/pull/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant