A five-step publishing pipeline catches duplicate titles and failed pages, but a November 18, 2026 run showed that similar ideas can still pass through when judgment only informs the next cycle.
The publishing pipeline runs twice a day and has five stages: checking the daily quota through the dev.to API, selecting a trending topic, writing a draft, publishing it and checking the live page, then logging the run and committing the changes. In this structure, the first stage acts as a gate, the second as planning, the third as building, and the fourth as judgment.
The publishing script prevents one narrow failure before publishing by searching the complete publication history for an exact title match. After a successful POST, it separately fetches the live URL, checks for an HTTP 200 response, and confirms that the title appears on the rendered page.
That process did not detect conceptual duplication. On November 18, 2026, the topic-ranking stage selected a headline about an AI assistant whose write access was enforced by a PostgreSQL permission rather than application code. A related article had already been created on November 16 under a different framing, discussing whether a function should use an MCP tool or resource. The two pieces had different titles but shared the same underlying thesis.
The duplication was identified later through the run log, and the response was to record it for the next cycle rather than retract the published article. The example shows that an automated loop must explicitly define which judgments block the current run and which only influence future runs; otherwise, that policy can emerge accidentally from narrow checks such as exact-title matching.