Skip to content
Founder Workflows
BrowseSaved
Browse by stage

Find the silent failures in an LLM content pipeline: count outputs sitting exactly on a limit, make guards log what they drop, and replay changes blind

A solo builder's article pipeline (planner, writer, editor) never threw an error but kept getting worse: schema limits cut briefs mid-sentence and safety checks quietly deleted links and edits. He shows the checks that found it and the fixes.

Evidence: The source shows its work: steps, screenshots, code or data you can inspect.

The business problem

When a chain of AI calls produces content for real sites, failures rarely crash anything. The output stays valid and passes every check while quietly losing the important parts, so the owner only notices when quality has already dropped.

What was tried

1. The pipeline: a planner writes a structured brief, a writer drafts the article, and an editor revises it, each handing instructions to the next. 2. To look for hidden truncation, run a simple database query counting how many generated fields are exactly at their length limit; a pile of exact hits means the model is being cut off (he found 11 of 14 briefs over two weeks had at least one cut field). 3. Remove length limits from the schema the model fills in. Put 'at most N characters' in the field description instead, check the length in your own code after the call, and run one repair pass if it is over. 4. List every guard that deletes or skips something on failure (link checks, edit checks, token budgets) and make each one log what it dropped, with a counter you actually look at. 5. Make links impossible to get wrong: let the planner pick links by ID from the same list the link check uses, and have code turn IDs into paths. 6. Count token budgets in tokens, and test them with a non-Latin language. 7. When the model gets something wrong, fix it in a separate checking stage rather than adding more 'never do X' rules to the writer, which he found made drafts vaguer. 8. Before shipping any prompt or schema change, replay it offline on stored briefs and drafts and compare old and new output blind, ideally with AI judges from more than one company.

What was reported (mixed)

Over two weeks, 23 of 120 writer notes and 7 of 96 outline points had been cut at exactly the limit, and 11 of 14 briefs had at least one cut field, with no errors raised. Other silent losses: a link check that removed every internal link, an editor pass discarded over a capitalised anchor, Thai drafts that overran the token budget, and a word-count target that roughly halved article length. After the fixes, a replay on six sites put nothing on a limit, 14 of 14 links resolved, and the checking-stage change won a five-article blind comparison with 4 wins, 1 tie and 0 losses. Adding rules to the writer lost blind comparisons (4-1 and 3-2).

Limitations

Firsthand account from one builder running his own content engine (NichePressa) on his own sites; the post links to its case study, so it partly promotes his work. Blind tests used only five articles, which he says shows direction, not size of effect. He cannot yet measure how articles perform in search, so quality was judged on how drafts read. The AI-judge observation rests on one topic. The truncation behaviour is described for OpenAI strict structured outputs in his runs; other providers may differ.

What you need

An existing multi-step LLM pipeline with stored inputs and outputs in a database, and enough coding skill to change schemas and add logging.

Start with the at-limit count query on the last two weeks of output; it takes minutes and shows whether truncation is happening.

Sources

Source published: November 12, 2026. Last reviewed here: November 28, 2026. Spot a mistake? Tell us.

Tools in this workflow

Get new workflows like this by email

A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.

Your email address

Related workflows

AcquireMeasurement

Track ChatGPT visits by utm_source instead of referrer, then find they land on live-data tools rather than service pages

A small Israeli web agency found ChatGPT had become its second-largest traffic source once it filtered by utm_source instead of referrer: 769 sessions in 30 days, 76% on one free vehicle lookup tool and none on service pages. Visitors looked for contacts more often, but leads are unknown.