Reference Routing

ShopOS · autofix harness

Which image does the editor get as truth?

fidelityconsistencyartifact
Each failing finding is routed by flaw class to the one kind of truth that can fix it. Sending the wrong kind of truth is the most common way a garment edit goes wrong.

Where truth lives · 3 flaw classes

  1. Fidelity → Input photos: wrong pattern, logo, colour, construction, length. Planner picks 1–2 from up to 4 inputs; close-up beats full-body
  2. Consistency → Output 1, the prime reference: accessory, styling, model, background drift
  3. Artifact → No reference: extra limb, smear, invented object

Hard limits · learned, not chosen

  1. ≤ 2 refs per edit, ≤ 3 per call
  2. Deduped, refs downscaled to 1024 px max edge
  3. Source at full resolution
  4. Inputs in context: inputs arbitrate truth, never the majority