alicli documentation

media gap

media gap

Classify stored attachment messages and export a TSV report.

alicli media gap --out media-gap.tsv --json
Field or optionMeaning
bytesA stored blob is present and does not match the preview-wrapper rule.
wrapperA blob matches the HTML preview rule, or the last fetch was rejected as a non-media response.
no_blobA fetchable reference was stored but no blob is cached.
not_ingestedNo blob and no fetchable reference are present in the stored payload.

Each attachment-bearing stored message belongs to exactly one category. The JSON counts sum to denominator. This denominator describes known local attachment messages, not files missing from the mirror altogether. bytes is a classification, not proof that every possible format is intact.

Report contents

The TSV includes thread/message IDs, media type, category, deciding rule, content type, byte size, fetch status and reference kind. Without --out it is written under the store directory with a dated filename. This command is local-only and does not retry failed downloads.

pull · media · media original