Media pipelines
A green build is not a shipped system
Published 28 Oct 2026 · Darko AI engineering
Every deliverable is verified on the real output with two independent methods before anyone says done. Exit codes do not count.
The most expensive words in automation are “it’s done.” They are usually said after a build passes, a deploy script prints success, or a render exits zero. None of those statements is about the thing that was delivered.
The gap between the command and the artefact
A render pipeline can exit cleanly and produce a file with the wrong duration. A deploy can print “Deployment complete” and publish to a preview branch while production keeps serving last month’s build. A migration can be recorded as complete in a handoff note and still be pointing at the old host a week later. We have had each of these. In every case the command was green and the artefact was wrong.
The rule
Nothing is called done until the actual output has been verified end to end, and for anything a person will see or hear, by two independent methods:
- A rendered video: probe the duration and the audio track, then open frames at fixed timestamps and look at them.
- A published page: fetch the live URL, check the status code and the response headers, then open the page at a phone width and read it.
- A deployed worker: call the real endpoint with a real payload, then read what it wrote to its own log.
- A model chain: run the battery, then read the raw completions behind the scores.
One method confirms the command ran. The second confirms the thing it made is the thing you meant.
How this shapes our pipelines
Every stage in a media pipeline writes an artefact and a measurement next to it: transcript match for narration, footage-to-claim match for visuals, measured loudness for audio. The next stage reads the measurement before it starts and refuses if the floor is not met. A failed gate blocks; it does not log and continue. The run journal records what was made, what was blocked, and why.
Claims age as well. A “migration completed” note older than a week is a claim, not state, so the pipeline re-checks DNS, headers and dashboards before acting on it.
Reporting failures flat is part of the same discipline. If a step broke, the report says it broke and shows the output. A system that cannot say “I did not do this” cannot be trusted when it says “I did.”