1'use strict';23// Deterministic construction and reporting for a product gallery that the source4// media records could not confirm. Generated importers call these helpers instead of cloning the5// journal row and completion-action contracts into each project.67const { foldAttemptsBySourceKey } = require('./local-state.js');89const WRITE_SPEC_ID = 'stores-product-media-guard';10const OPERATION = 'confirm-product-pictures';
73 deadlineReason: 'the source is the only place the original can be recovered while it is still the system of record',
74 action: 'Requires Import Operator. For no-source-id and no-source-record, correct the picture at the source (upload the original, or attach it to the product so a media record exists) and re-run the product extract. For source-unreadable, wait until the source answers. Then resume with the failed-only selector. The rows and reasons are in the ledger.',