Production agent pipelines need to split human rejection from execution failure
mark_automates · reddit · 2026-07-27
The author argues that in approval-gated agent workflows, a human rejection and an execution failure should be treated as different failure modes.
- In a newsletter pipeline, the first workflow gathers and cleans data from five sources, then a second workflow drafts a newsletter and sends it for email approval.
- If the agent times out or produces bad output, the system routes it through normal error handling.
- If a human rejects the draft, that is not a broken run: the agent completed the task, but the reviewer wanted changes.
- The rejected reply is parsed for feedback and passed to a separate agent for a real second attempt.
- Rejections are logged separately from technical failures so operators can act on them differently.
The author says this distinction matters in production because otherwise “revise this” and “something is broken” collapse into the same queue.
More from coding & agent
- Free workshop spotlights open-source AI tools for security, audit, and DevOps — Al_Grigor · 2026-07-27
- Analyzing Hugging Face Business Model and Testing Kimi K3 for Video Editing — NielsRogge · 2026-07-27
- Stopful ships a travel MCP server that turns an agent’s road trip plan into an editable map — AffectionateGain3245 · 2026-07-27
- Tanuki Context cuts log prompts by 94% by turning text into images — 0syna · 2026-07-27
- OpenAI splits Codex and ChatGPT Work into code-first and knowledge-work products — johnseach · 2026-07-27
- Arena screenshot says Gemini 3.5 Pro beats Opus 5 in two tests — Last_Conclusion_8984 · 2026-07-27