---
name: review-and-publish
description: Get a finished video reviewed, approved and published without surprises. Build one review page per round (the whole film, chapter seeks, transcript, what changed), check the encode (codec, size, frame rate, decode errors, loudness, true peak, black frames, silent gaps) with the bundled ffmpeg checker, hold every paid or public step behind an explicit approval, publish only to the destination the person authorized, then prove the SERVED file plays and matches the master (an upload "success" is not proof), and keep a version log. Use when someone says "send me a cut", "make a review page", "is it ready", "check the export", "loudness check", "publish the video", "upload it", "put it on the site", or "did it go live".
metadata:
  license: AGPL-3.0-or-later
  copyright: "2026 DevTribe Labs"
  homepage: https://github.com/DevDadTribe/toolbox
---

# Review and publish

The last mile is where films go wrong in public: a cut nobody watched to the end, a mix that
clips on phones, a file uploaded to the wrong place, a page that says "uploaded" while the
player shows nothing. This skill puts a gate in front of each of those.

| File | What it holds |
|---|---|
| `references/review-page.md` | what one review round contains, and how to serve it |
| `references/encode-checks.md` | the encode checks, the targets, how to read the checker |
| `references/approval-gates.md` | which steps need a yes, what counts as a yes, what does not |
| `references/publish-and-verify.md` | publishing to the authorized place, then reading it back |
| `references/version-log.md` | the version log shape and the hand-off |
| `scripts/check_media.py` | one-command encode check and served-copy read-back (ffmpeg, Python standard library) |

Load with it: `long-tutorial-pipeline` (how the film was built), `captions-and-chapters`
(caption and chapter files), `stock-music-thumbnails` (loudness and the thumbnail),
`video-ads` or `ad-film-director` (ad formats), and `anti-ai-slop-copy` on the title,
description and every word on the page.

## The order

1. **Check it yourself first.** Run the encode check. Watch and listen to the whole film at
   normal speed. A person you make it for should never be the first one to see a defect.

   ```bash
   python3 -I scripts/check_media.py master.mp4 --expect-size 1920x1080 --expect-fps 30 \
     --lufs -16 --max-tp -1.5 --json versions/v3/encode-receipt.json
   ```

2. **One review page per round.** The whole film, its version label outside the video,
   chapter seeks, the transcript, and a short "what changed since the last version". Not a
   pile of checkpoint clips. See `references/review-page.md`.
3. **Approval of the cut.** Wait for a clear yes on this exact version. Feedback means you
   make the next version; it is not approval.
4. **Approval to publish is a separate yes**, naming where. "Looks great" approves a cut. It
   does not approve an upload, a paid boost, or a public post.
5. **Publish only to that destination**, from the approved, privacy-checked file, at a new
   versioned path. See `references/publish-and-verify.md`.
6. **Read it back.** Download the served file and compare its sha256 with the master
   (`--served-url`). Open the real page, press play, check sound, captions, chapter seeks, a
   phone width and a desktop width.
7. **Log it.** Version, file hash, where it went, who approved and when, what you checked, and
   what is NOT VERIFIED. See `references/version-log.md`.

## Hard rules

- Never publish, upload, post, schedule or spend without an explicit yes for that step, that
  version and that destination. A yes for one destination is not a yes for another.
- Never treat an upload response, a job status or a green dashboard as proof. Only the served
  file playing on the real page is proof.
- Never replace a published file in place. A new version gets a new path.
- Never overwrite the approved master. Keep every version someone has seen.
- Never publish from an unmasked or unreviewed copy.
- Say NOT VERIFIED, in those words, for every gate you did not check yourself.
- Passing `check_media.py` is structural. It does not prove the voice, the lip sync, the
  music fit or the story. Only watching and listening does.
