The first post from my content system cost me about 15 messages in chat. "Your text has signs of AI writing." "Explain what the picture means." I also asked it to drop the Russian letter ё, make two different images and check whether the posts had gone out.
Back then one agent in one Claude Code session did all of it: picked the topic, wrote Russian and English texts, came up with an image, generated it and published. All roles sat in one context, and the checking was on me.
In the second version seven Claude Code subagents with narrow roles split the job. They pass files to each other, a plain Python script backs up the LLM editor, and I give one sign-off per cycle. It's a study project from a course assignment, but my Telegram channel and LinkedIn run on it.
The layout
The orchestrator is a skill, content-factory. It writes nothing itself except the weekly digest for me.
analyst → strategist ─┬─ researcher → copywriter ⇄ editor → art-director ─┐ └─ researcher → copywriter ⇄ editor → art-director ─┤ ▼ digest → STOP: human sign-off → publishing Steps run in sequence where there is a dependency and in parallel across the week's posts. The image waits for the final text, because the number on the card must match the post. The analyst and the strategist are there so I don't have to come up with topics myself.
Each role is a file in .claude/agents/, and its frontmatter sets tools and model. Here is the editor. Its description, in Russian, says it checks posts, runs the validator and never rewrites text.
--- name: cf-editor description: "Выпускающий редактор и QA контент-завода. Проверяет пост по фактшиту, тону, признакам ИИ-текста, правилам площадок и соответствию EN↔RU; запускает детерминированный валидатор; выносит вердикт pass/fail с конкретными правками. Сам текст не переписывает." tools: Read, Write, Bash model: opus color: red --- The editor has no Edit tool, the copywriter has no Bash. The first post about the factory claimed the editor physically cannot rewrite text, and the editor rejected that post: it does have Write, since the review has to be saved somewhere. The ban on rewriting lives in the instructions.
Files instead of retelling
Agents talk through files: week plan, brief, fact sheet, post, review, images, digest for approval. The orchestrator gives an agent input paths, the agent writes its artifact and replies with a short JSON, {status, artifact, notes}. The orchestrator checks the artifact before the next step.
State lives in the post JSON itself (review.status, publish.status), so a cycle can stop and resume in another session. That got tested: the 5-hour API limit cut an agent off mid-task, and resuming via SendMessage to the same agent lost nothing.
The researcher: zero invention
The main risk of the first version was invented or distorted numbers. So the copywriter never sees the source, only the fact sheet. The researcher builds it, and every fact carries evidence (a quote) and where (file and line). Numbers are copied exactly: "up to 90%" and "90%" are different facts.
On the first run the researcher found two mismatches that would otherwise have gone into posts. A bot's README named gpt-4.1-mini, while my case reference said GPT-5.2-mini. And a brief said 5 image generations when there had been 8.
The editor and the validator
The editor runs the validator first, and script errors are always a blocker. Then it checks what a script can't: whether every number is in the fact sheet and whether EN and RU say the same thing. AI-writing patterns are its job too. The answer follows the review contract:
"verdict": "pass | fail", "validator": {"ok": true, "errors": [], "warnings": []}, "issues": [ {"platform": "telegram", "severity": "blocker | major | minor", "type": "fact | tov | ai-pattern | length | format | en-ru-mismatch | brief", "quote": "фрагмент", "fix": "что сделать"} ], "scores": {"hook": 1, "clarity": 1, "voice": 1, "usefulness": 1}, The verdict is fail if there is at least one blocker or major, if the validator returned errors, or if any score is below 4 on a 1–5 scale.
validate_post.py is Python with no LLM. It catches the mechanics an LLM editor misses: lengths, the letter ё, markdown, links in the body of a LinkedIn post, dashes, hashtags, the footer, stop words. Two pieces of it:
NOT_X_BUT_Y_RU = re.compile(r"\bне\s[^.!?\n]{1,40},\s+а\s", re.I) NOT_X_BUT_Y_EN = re.compile(r"\bnot\s[^.!?\n]{1,40}[,—-]\s*but\s", re.I) dashes = text.count("—") if dashes > 2: errors.append(f"{name}: длинных тире {dashes} (максимум 2)") The regexes catch the "not this, but that" pattern in both languages; the rest caps long dashes at two per post.
This script removed a whole class of manual edits. It has grown from about 160 to 345 lines as Dev.to and other platforms got their own branches. It never opens a fact sheet, so numbers stay with the LLM editor.
Two rounds, then a human decides
The editor runs round 1. On fail the copywriter fixes the post from the review, then comes round 2. If it fails again, the post doesn't get stuck: it goes into the digest marked "the editor did not pass it", with the open issues listed. The limit sits in the config as quality.max_editor_rounds = 2.
Of the 6 posts in the second version, one used up the limit.
Two things stood out in the logs. An author and a reviewer from the same model share blind spots, and a second round catches them only partly: once, in round 2, the editor found a major it had missed in round 1. And the review makes mistakes too. On one post the editor suggested a sentence in round 1, then marked it major in round 2, because the fact was in the brief but not in the fact sheet. Hence the rule: a new fact goes into the fact sheet first.
Where the human signs
My only action per cycle is to approve the week's digest or edit it. Since November 20 that happens in an approval panel with Face ID. The factory has no access to the publishing service: no key, no network, curl and wget denied, .claude/ mounted read-only. A separate container publishes with a deterministic script, no LLM involved. So the seventh agent, the publisher, is now a stub that returns needs_input, and six roles do the work.
In the first cycle I read the digest and left one note: a paragraph in a post stopped at a problem and never resolved it. The factory did the rest, from the fix to a rebuilt digest. Since then the editor treats an open loop like that as a major issue.
The numbers
- 6 posts went through the second version in three weeks, each for Telegram and LinkedIn. As of November 23: 2 published, 2 scheduled, 2 drafts. This article is the first on Dev.to.
- A week run with 2 posts took about 45 minutes of wall-clock time, roughly 27 minutes of combined work across 16 subagent calls. In the first version one post took about an hour of manual back-and-forth. Token cost was not measured.
- The first version spent 8 fal generations and $0.44 on images, and Recraft drew fake text, "ZJAPTIC", on a calendar. Cards now render from an HTML template: exact numbers, free, 2 seconds each.
- The same agents, with no new roles, wrote the English copy for my website: 13 fact sheets, 76 mismatches between the site and my case reference, 13 EN case texts. All it took was a new contract and its validator.
What broke, and what I'd do differently
The first call to cf-analyst returned "Agent type not found": new subagents are invisible in a session that is already open. The first steps ran as general-purpose agents with the role file's text; halfway through, Claude Code picked them up without a restart.
The frontmatter listed Glob and Grep, which the environment didn't have, so the strategist guessed file names. I swapped them for read-only Bash plus a line in the role. That "read-only" rests on the instruction alone. The problem came back in the next two weeks, and later reading outside the task folder was blocked too. It's still unsolved: the researcher for this article couldn't open the first version's folder either.
The editor also underrated severity. A factual inaccuracy and a calque passed as minor, so the role now says a claim outside the fact sheet is at least major.
One card passed every technical check and still said the wrong thing: "the bot fills in a form" on a post about a conversation without a form. The orchestrator caught it by eye, the art director didn't. Images need a separate check that they match the post.
The analyst once suggested a link shortener against a decision already made. Decisions now live in one file every agent reads.
The extra loop I'd remove first: the copywriter has no Bash, so the orchestrator runs the validator between steps. Next on my list is a SubagentStop hook that runs validate_post.py after the copywriter and returns the errors to it. For now it's only a plan.
File contracts hold it together: each agent leaves an artifact a script or a person can check.
Where does the human sign off in your agent pipelines?

