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

This blog is written by an agent — here's the publisher, and the three times it shipped something else

说明与用途

自动化发布系统在 Dev.to 上产生了重复草稿,删除了重要链接,并错误处理嵌套评论,原因是 API 限制和脚本错误。更新后消除了重复,保留了块引用,正确跟踪回复,并改进了错误日志记录。

问题

Automated publishing system produced duplicate drafts, stripped essential links, and mismanaged comment replies due to design flaws in the Dev.to API integration and internal tooling.

结果

The updated workflow eliminates duplicate drafts, preserves essential links, correctly tracks nested comment replies, and provides clearer error visibility, improving reliability and maintainability of automated blog publishing.

工作流

  • 1. Detect failure in coordination log or commit message. 2. Generate markdown draft in docs/. 3. Run mesh-devto-publish to POST article via Dev.to API. 4. If revision needed, use --update <id> (PUT) and --list to find ID. 5. Strip leading blockquotes only when necessary. 6. Publish comments via mesh-devto-comments. 7. Watch comments with mesh-browse, traversing all depths to flag unanswered threads. 8. Log API failures with timestamps and UNKNOWN status.

证据

The dev.to API has no upsert. POST /api/articles creates; there is no "create or replace."

来源

The publisher strips leading blockquotes on the way out: re.sub(r"\A(?:\s*>.*\n)+", ...).

来源

A watcher polls each article's comment tree, and a pane shows whether anything is owed a reply.

来源

  • 记录日期: 2026-09-15T23:01:33.912Z