Three quality levers for photo-to-build:
- Multiple references at once: interpret/handle/run_command take image_paths
(list); the directive lists every file and tells the model they're different
views/details of one piece. Command bar accumulates attachments (📎 / drag /
paste, getOpenFileNames) with a chip + clear.
- Better guidance: the build directive now walks the model through it — decide
overall dimensions, then count & place legs/rails/top/shelves, keep flush &
square, then joinery.
- Render-feedback loop: woodshop.scenerender renders the scene from front/side/
iso in an isolated subprocess (GL-crash safe); driver.critique() shows the AI
the reference + those renders and returns corrective tool calls (or 'LGTM…');
controller.refine_to_match(rounds) applies them, stopping when satisfied. A
"🔄 Match photo" button runs a round using the retained reference.
viewer.render_to_file gains a view (front/side/top/iso).
tests: multi-image directive, critique prompt, refine loop applies/stops/handles
no-render, command-bar multi-attach + match-button gating. Verified real
front/iso scene renders work via the subprocess. 227 pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>