Created
Jun 25, 23:42
Started
Jun 25, 23:44
Completed
Jun 26, 01:50
DevOps handoff
Type
Feature
Shape
backend
Worktree Slug
refresh-pokemon-avatar-images
Repositories
mcritchie-studio
Release Train
—
Branch
feat/refresh-pokemon-avatar-images
Local URL
—
QA URL
—
Production URL
—
Acceptance Criteria
Expected Test Plan
Checks Run
Agent Context
Side task to the release-notes-embed-cards template. The 151 PokeAPI official-artwork avatars (Pokemon#avatar_url, 475px, mirrored to s3://mcritchie-studio-production/pokemon/<dex>-<slug>.png by lib/tasks/pokemon.rake task :upload_images) have large transparent margins, so they render small inside the Discord embed thumbnail. Goal: (1) add a SECOND image column so each Pokemon has primary + backup (e.g. avatar_url = cropped primary, new avatar_fallback_url = original uncropped) — migration + model. (2) crop each avatar to its non-transparent bounding box (trim padding) — extend pokemon.rake with a crop+upload step; cache crops locally, upload to NEW S3 keys (e.g. pokemon/<dex>-<slug>-cropped.png) WITHOUT overwriting originals (originals stay as the backup). (3) update db/seeds/data/pokemon.json + seeds so future sessions get the new URLs. (4) audit every reader of avatar_url (grep avatar_url across app/ + the release-notes Formatter once it lands) and keep them working. Keep originals intact as backup. Use AWS creds from 1Password (agent.aws). Image tooling: sips (macOS) or ImageMagick/MiniMagick for the bbox trim.
Stage Timeline
Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. — means the agent didn't report that metric.
Conversation
QA review feedback, agent handoffs, and follow-up notes for this task.
No task feedback has been recorded yet.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
—
Dev
—
Actual
MEDIUM
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.