rdev/internal/adapter/templates/templates
jordan 9be5c7d81b fix: address code review issues in album and generation skeleton packages
- Add ErrAnchorRequired sentinel to pkg/album — replaces fragile string equality check
  used for 422 detection; callers now use errors.Is()
- Extract parseShotIndex() helper in album handler — replaces fmt.Sscanf which silently
  accepted partial parses like "12abc"; strconv.Atoi requires the full string to be numeric
- Restructure caption saves in album/handler — captions now written outside the
  len(img.Data) > 0 gate, so URL-only providers (no bytes returned) still get captions
- Add storage.FetchURL() shared utility — removes fetchBytes/downloadURL duplication
  across album and generation packages; callers control timeout via their http.Client
- Add video captions to VideoHandler — same caption sidecar pattern applied to videos
- Add persona generation event types to realtime package — persona_spec_*, persona_image_*,
  persona_video_* events added to EventType union and usePersonaGeneration hook exported

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 03:01:37 -07:00
..
astro-landing chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
components fix: address code review issues in album and generation skeleton packages 2026-02-23 03:01:37 -07:00
default chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
go-api chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
skeleton fix: address code review issues in album and generation skeleton packages 2026-02-23 03:01:37 -07:00