mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
source() could in principle return no channel planes, and apply_image/ calculations then panicked via src[0] / .remove(0). Guard source() to return Err when it yields no planes, protecting every caller. Graceful-failure test covers adversarial params. AGENTS.md: add the panic_hunt fuzz to the finish checklist and restate the no-panic rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>