# ComfyUI image boundary: offline preparation

This is a standalone Python boundary example, **not an official or installable SeedRouter node**, not an importable graph, and not a successfully executed ComfyUI workflow. It contains no submit method, credentials or network call.

The three page-owned SVG/PNG workshop diagrams are deterministic authored drawings, not model outputs: amber lamp, folded map and gloved hand. Shot 02 stays accepted; shot 03 keeps rev-A while a separately labelled rev-B candidate changes the map route. These assets are original to this integration example.

Run `python3 validate.py` (Python, Pillow, NumPy). `image_boundary.py` separately loads an existing PNG, checks the completed response's task/shot/revision, obtains bytes through an injected transport, and decodes RGB into normalized float32 BHWC `[1,512,768,3]`. The validator uses a local file-backed response URL transport; no actual HTTP download occurs. A URL string alone is explicitly rejected as image bytes.

The optional `to_comfy_image` adapter converts the prepared array to a torch tensor. **Torch is unavailable in the tested Python environment, so this adapter and actual ComfyUI IMAGE handoff remain pending.** The receipt only marks NumPy decoding and local mapping checks as passed.

Pending and failed tasks retain their saved ID. Candidate loading never accepts or overwrites the original asset record. Wrong shot/task, stale revision, empty result data, invalid/empty image bytes and missing accepted asset are rejected; no fallback regeneration exists. The receipt contains input hashes and exact measured array properties.
