Publish Gate System
Publish Gate System
Unattended AI agents get publishing wrong in both directions. They push a draft to the scheduling tool because a caption file said "publish copy," or they sit on an episode a person already approved because a call timed out. The cause is usually the prompt: a rule stated early in a long prompt, publishing words that read like permission, and a scheduler that rewrites the prompt and drops your hand edits.
This is the system I built to fix that. One registry, kept outside the scheduler’s folder, decides for every task whether it’s review-only or publishes on approval, and a task with no entry is review-only. A directive at the very end of each prompt points to it, names the action, lists the competing instructions by name and defines a failed run both ways. Publishing tasks get one approval signal a person creates and one named hold. Exit codes, a stop-sign file and a two-strike abandon rule handle runs that half-fail, and a patch script restores the gates after a rewrite. Vendor behavior, platform rules and the EU AI Act summary are dated December 1, 2026.
what’s inside
Publish Gate System guide (PDF + Word): review-only as the default and what counts as approval, the registry, the four-part directive, hold conditions, stop signs and exit codes, the two-strike rule, keeping gates in place, keeping your tool’s permission prompts on, and a sample registry
Publish gate checklist (PDF + Markdown): 25 checks for every task that can reach a publishing or sending tool
Registry template (Markdown): both shared policies, an entry template for each direction, two sample entries
Directive snippets (Markdown): the pointer blocks, the full directives, one-line rules, the stop-sign check and the lessons line
Patch script (Python): restores the pointer on every task; dry run by default, backups outside your prompts folder
Completion guard (Python): exit codes judged on disk, the stop-sign file and the two-strike rule, with a demo
Agent run report template (Markdown): the report every gated task writes
Notion template (access page with your duplicate link): a gate register, a run log and a lessons log
Terms of use (PDF), the first file in the download
who it’s for
Solo creators, operators, agencies and in-house content teams running AI agents on a schedule that make content or can reach a publishing tool: Claude Code scheduled tasks, n8n or Zapier flows with an AI step, cron jobs, cloud routines. You should be able to edit a Markdown file and run a Python script someone hands you. No coding needed.
file formats
PDF, DOCX, Markdown, Python (3.8 or newer, standard library only), Notion (link), delivered as one zip. Fonts: Oswald and Open Sans, free from Google Fonts.
By buying you accept the terms of use: https://gallucci.net/terms
