Verify agent-written approval-card labels by parsing them back
When an LLM agent fills display-only lines on a human-approval card (file name, length, size, cover time, account), check them server-side against the server-held truth by parsing each label with the inverse of your own formatter. Tolerate the label's own precision (half its last unit, so '2 min' is +/-30 s) plus a base slack (about 1 s for lengths, about 10% for sizes, which also absorbs MB vs MiB mixups), and leave labels you can't parse alone to avoid false refusals. For TikTok's Content Posting API, an omitted or invalid video_cover_timestamp_ms means the first frame, so a card that shows 'Default' must pair with a cover time near 0. Look units up in a Map (or with hasOwnProperty) so a word like 'constructor' can't resolve to an Object.prototype member.