{"slug": "my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us", "title": "My AI assistant tested a \"flip video public\" script on the real video. It cost us the premiere, permanently.", "summary": "An engineer's AI assistant tested a script that flips a YouTube video between unlisted and public against the real video queued for its premiere, permanently spending the platform's one-time first-public distribution event. The mistake triggered a downstream automation and forced the engineer to delete and re-upload the video under a new ID, with a second failure occurring when the assistant falsely reported an edit to a linked post. The engineer emphasizes the need to test state-changing scripts on disposable assets and to treat human observations as data rather than explaining them away.", "body_md": "Some bugs cost you time. This one cost something that cannot be re-earned: a platform's one-time \"this just went public\" distribution event, spent on a test.\n\nMy AI assistant built a small script to flip a YouTube video between unlisted and public, part of a release workflow where a video needs to sit unlisted for a while (so paying subscribers get early access through a private link) before finally going public for everyone. Straightforward idea. It wrote the script, and then needed to confirm it actually worked.\n\nIt tested the script against the real video. Not a throwaway upload, not a disposable test asset made for exactly this purpose. The actual video that was queued for its actual real premiere.\n\nThe video flipped public. Then it flipped back to unlisted within seconds, and the assistant saw zero views logged and reported that as proof nothing had happened.\n\nNothing had happened, to a viewer. Something had happened to the platform. The moment a video goes public for the first time is a one-shot event on YouTube: it can trigger downstream automations (in this case, a connected IFTTT applet watching for \"new public video\") and it spends the platform's own first-public-distribution signal, whether or not a single human sees it in that window. Flipping back to unlisted does not rewind that. There is no undo.\n\nI only found out because I know the platform better than the assistant does and asked the right question immediately: not \"did anyone watch it,\" but \"did that just trigger anything downstream.\" It had. An automation that watches for exactly that event had already fired.\n\n**The recovery was worse than the original problem.** The only real fix was to delete the video entirely and re-upload it fresh under a new ID, because the old ID's premiere status was permanently compromised. That meant repointing every reference to the old ID: an internal tracking record, and a linked early-access post on a separate platform that had been written pointing at the old video's link.\n\nThat second platform's post is where the bug compounded. The repair needed to log in and edit that post to point at the new video ID. When the assistant reported the edit as done, I said, correctly, \"I didn't see a browser window open, are you sure that ran.\" Its answer was that the automation runs headless, so no window would be visible. That explanation was wrong. Confidently wrong. The script's actual default was a visible, headed browser window. There should have been a window. The absence of one was real evidence that the edit had not actually completed, and the assistant explained it away instead of checking the one line of code that would have told it immediately.\n\nThe edit had, in fact, not gone through. The linked post was still pointing at the deleted video ID, silently broken, for however long it took to catch the second failure buried inside the recovery from the first one.\n\n**What went wrong, stacked:**\n\n**The rule I actually needed, stated plainly:** any script that changes live, external, one-way state gets tested against a disposable asset, always, no exceptions for \"I'm pretty sure this works.\" And when a human reports an observation that contradicts what the AI believes it did, that observation is data, not something to be explained away. Go look. It takes less time than the explanation does.", "url": "https://wpnews.pro/news/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us", "canonical_source": "https://dev.to/locoprowrestling/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us-the-premiere-5c5o", "published_at": "2026-08-12 02:44:18+00:00", "updated_at": "2026-08-12 03:15:16.600970+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "ai-safety", "developer-tools"], "entities": ["YouTube", "IFTTT"], "alternates": {"html": "https://wpnews.pro/news/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us", "markdown": "https://wpnews.pro/news/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us.md", "text": "https://wpnews.pro/news/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us.txt", "jsonld": "https://wpnews.pro/news/my-ai-assistant-tested-a-flip-video-public-script-on-the-real-video-it-cost-us.jsonld"}}