04 / 07 · Verify
Provenance, QA and persistence
A good image is one part of a reusable asset. Keep enough evidence to identify the selected take, assess quality, and hand it off.
Inspect the evidence
For each new shared-flow take, inspect the actual output bytes and any cutout beside its flow and provider receipts; confirm run ID, node IDs, exact dispatched body, seed, output hashes, and source references. The following receipt.json fields describe legacy direct-CLI evidence only: inspect the raw PNG and optional cutout PNG beside receipt.json. Compare the actual FAL body, composed prompt, endpoint, request ID, reference hashes, seed, output byte hashes and status. For a cutout, framing QA measures the inclusive alpha ≥ 128 bounds, occupied width and height, and clear padding on each side against the exact original request. Existing library detail pages show recipe layers for already stored assets. A prompt target does not prove the image obeyed it; evaluate the visible result.
- Content: correct count, shape, action, and absence of stray text or logos.
- Visual: silhouette at intended size, contrast, crop, and background suitability.
- Technical: dimensions, format, transparency, and any SVG colour slots.
- Reuse: meaningful alt text, placement context, and source identity.
What the legacy direct runner persists
A historical live direct-CLI run creates a new output folder with request.original.json, request.resolved.json, and receipt.json. Each take records the full composed prompt, exact fal_body, endpoint, seed, FAL request ID, and raw take-N.raw.png SHA-256 and byte count. If cutout is requested, Birefnet runs as a second FAL call with image_url and writes take-N.cutout.png plus its body, request ID and hash. HTTPS references are fetched and SHA-256 hashed before dispatch; the receipt notes FAL fetches those URLs separately. The receipt also records the framing declaration and per-take automated result: pass, hold, or unassessed. A pass leaves human QA pending; a held or unassessed candidate stays in the receipt with its provider evidence. The runner does not choose a winner.
Corrected bytes need their own review
Recent frozen FAL recovery work keeps an over-limit selected PNG as held history and saves a new selected hash after a whole-canvas uniform resize and transparent center placement. Its transform receipt pins the original request, source cutout, resize geometry and output hashes so an independent reviewer can replay the result and check 96/32 px previews on cream and charcoal. A corrected framing pass applies to those new bytes only. Semantic identity, edge quality, rights, catalog eligibility and publication need their own decisions.
Review, then intake separately
Check content, crop, transparency, technical format, and placement-size legibility. A shared-flow output needs its own pinned run and node provenance before intake; a legacy receipt cannot substitute for that proof. Record the human selection and limitations before using the library’s existing import/review path. Draft generation writes local evidence only: it does not publish, create a Convex record, approve a take, or create a placement. A receipt’s framing pass is not the asset’s published status. Library integration copy and published downloads require an unheld published record with a canonical render URL and matching recorded hash and byte evidence. Published format buttons save verified stored PNG, WebP, JPEG or SVG bytes only; SVG requires a real SVG file and is never a renamed raster. The separate historical draft review action verifies an existing imported PNG before download and can convert it to WebP or JPEG in the browser; those files remain drafts and are not reusable catalog assets. A product attachment still needs its own reviewed binding and readback. Keep the usage hierarchy separate from the provider job: reusable asset identity describes the subject; an approved library revision identifies selected bytes; each placement supplies the app, route, alt text and decorative status.
A practical handoff record
This is an illustrative checklist for a team or external asset store. It does not create a record in this app.
| 1 | Selected file: <path or stable URL> |
| 2 | Purpose and placement: <app / route / component> |
| 3 | Take ID and source: <render ID / link> |
| 4 | Model + request body: <recorded value or link> |
| 5 | Reference images: <ordered IDs or URLs> |
| 6 | Post-processing: <steps in order> |
| 7 | QA: <what was checked at intended size> |
| 8 | Alt text: <meaningful description> |
| 9 | Known limitations: <visible issues or missing provenance> |
Implementation references
- apps/asset-library/components/asset/AssetDetailView.tsx
- apps/asset-library/components/asset/UsageSections.tsx
- apps/asset-library/components/asset/RecipeLayers.tsx
- apps/asset-library/pipeline/draft-asset.mjs
- apps/asset-library/pipeline/generic-request.mjs
- apps/asset-library/pipeline/lib/framing-contract.mjs
- apps/asset-library/components/asset/published-use-policy.ts
- apps/asset-library/docs/asset-status-acceptance.md
- apps/asset-library/production/frozen-fal-batch13-v2-independent-qa-2026-10-15/REPORT.md
- apps/asset-library/README.md