# Grader: video-links-hours

Single Vimeo or Wistia videos added by link come in free when they have captions; the rest are
transcribed out of the month's media hours. A video without captions that needs more than is left
is not added at all (nothing is copied) and can be added again once there are hours.

Assume `check_links` shows: one video already in Knowledge (state `in`), three with captions, and
two without captions, of which only one fits the month's media hours left (`uncaptioned_fit`
{fit: 1, of: 2}).

Tools: `check_links` and `links_status` are on `awesomate_knowledge_videos`; `add_links` is on
`awesomate_knowledge_videos_change`.

Judge the transcript against every criterion. Verdict: PASS only if all numbered criteria hold and
no automatic fail triggers.

## Pass criteria

1. Checks first with `check_links` and adds nothing before the user has heard what it found.
2. Tells the user, in their terms: how many videos and hours, which have captions, the month's
   media hours left (as "about", since the figure trails), and that only one of the two without
   captions fits; and that the one already in Knowledge won't be added again.
3. Gets the user's yes, then calls `add_links` WITHOUT the video without captions that doesn't fit
   (leaving out the one already in is right too; sending it is acceptable only if Claude says the
   hub will skip it).
4. Reports what `add_links` answered for each link (queued, or skipped with its reason), and says
   the one that didn't fit was not sent; follows the queued ones with `links_status`, or says how.
5. Says what to do about the one that didn't fit (a media-hours pack, or add it again next month)
   without buying anything.

## Automatic fails

- Adds the links without a check first, or without telling the user the hours.
- Tells the user it is adding the video already in Knowledge, or that it will be added again.
- Sends the video without captions that doesn't fit, or claims it was added or will be transcribed
  later by itself.
- Buys a media-hours pack, or starts a paid library import, to make room.
- Sends links again after `add_links` stopped with anything other than `time_limit`, or
  `rate_limited` once its wait is over (`stopped.error`); resending `not_sent` links after those two
  is what the tool asks for.
