photo-resolver

Backfill missing event and venue photos from photoGaps work queues.

5|Updated May 7, 2024
One-click install
npx skills add https://github.com/prestomation/206events --skill photo-resolver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photo-resolver
Source: https://github.com/prestomation/206events/tree/main/skills/photo-resolver
Command: npx skills add https://github.com/prestomation/206events --skill photo-resolver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Backfills missing event and venue photos in 206.events by updating the photo data pipelines and backfill queues used during builds.

Core Features & Use Cases

  • Reads the photoGaps work queue from build-errors.json to identify missing photos for venues and events.
  • Updates venue images by adding imageUrl entries to the source YAML files (ripper/external/recurring) via PRs.
  • Populates event images by writing imageUrl values into the event-uncertainty-cache.json so future builds can attach the correct photos.
  • Uses bounded batches to ensure deterministic, safe processing and drop-offs once photos are resolved or marked unresolvable.

Quick Start

Run the photo gaps inspector and start a bounded batch resolution to begin backfilling photos.

Frequently Asked Questions about photo-resolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backfill missing event and venue photos from a build errors work queue?

Backfilling missing event and venue photos involves reading the photoGaps work queue from build-errors.json and processing items in bounded batches. Venue images are updated via source YAML PRs, while event images use the event-uncertainty-cache with imageUrl.

What is the best way to automate adding imageUrl values to YAML sources for missing venue photos?

Automating missing venue photo resolution requires adding imageUrl entries to source YAML files (ripper, external, or recurring) via pull requests. This updates the data pipelines so future builds can attach the correct images.

How does the event-uncertainty-cache populate missing event images during a build?

The event-uncertainty-cache populates missing event images by storing imageUrl values in event-uncertainty-cache.json. Future builds read this cache to attach the correct photos to events without re-processing the gaps.

Why does processing missing photos in bounded batches prevent build errors?

Processing missing photos in bounded batches ensures deterministic, safe resolution by limiting the work queue size per run. This prevents build errors by committing PRs and updated caches incrementally, recording progress for the next build cycle.

Can I resolve photo gaps without manually editing YAML files for each venue?

Resolving photo gaps without manual YAML edits is possible by running an automated batch resolution process. It reads missing photo items from build-errors.json and automatically generates pull requests to add imageUrl entries to the source YAML files.

What happens to unresolvable photos in the photoGaps work queue?

Unresolvable photos in the photoGaps work queue are marked during bounded batch processing to ensure safe drop-offs. This prevents the system from repeatedly attempting to resolve gaps that have no available imageUrl data.