Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Claude Code Automation: Publish Gates Blocked 23 Bad Posts in 10 Days

说明与用途

在 Claude Code 生成的管道中实施发布门,阻止了 10 天内 23 篇有缺陷的帖子上线,阻止了 37 次运行并识别了四种错误类型。

问题

Automated publishing pipelines can release posts with defects that are not caught by model prompts, leading to unwanted content going live.

结果

The gate prevented 23 defective posts from publishing, blocked 37 runs, and identified 4 failure types that led to rule creation.

工作流

  • 1. Give each checker three exit codes: 0 clean, 1 defect, 2 checker broken.
  • 2. Append one JSON line per run with timestamp, target, exit code, and defect names.
  • 3. Make the publish step call the gate and stop on exit 1, embedding the gate inside the publisher.
  • 4. Write the ledger immediately after the irreversible action, not at batch end.
  • 5. Restrict completion reports to checker name, exit code, and human‑visible output.
  • 6. Log every failure as symptom, cause, fix, and turn fixes into new checks.

证据

The gate ran 248 times, blocked 37 runs, and stopped 23 posts, of which 11 were fixed and passed

来源

One run can carry two defects, so the reasons add up to 38 across the 37 blocked runs

来源

Give every checker three exit codes. 0 is clean, 1 is a defect, 2 means the checker itself is broken

来源

  • 记录日期: 2026-10-25T06:11:29.592Z