AI 编程 4.0 · 优秀 2026-08-31 · 文章

Introducing wrapture (and why its author explicitly disowns "vibe coding")

Simon 8 月 31 日转 Graham Dumpleton(wrapt/mod_wsgi/New Relic Python agent 的作者)新发布的 wrapture:把 wrapt 的 monkeypatching 思路扩到测试和 tracing 共存的场景,能 wrap 任意函数/方法做调用 trace 或返回值替换,自带 OpenTelemetry 导出,甚至能纯 TOML 配置就给一个老项目加上 tracing但真正值得读的是 Dumpleton 自己写的一段声明"wrapture 里每一行代码和文档都是在我指挥下的 AI 助手写的但这绝不是 vibe codingvibe coding 是一句话 prompt 出一坨代码,驱动者抱着希望祈祷...

打开原文回到归档

Introducing wrapture (and why its author explicitly disowns "vibe coding")

  • ID: 0adf9656
  • 原文链接: https://simonwillison.net/2026/Aug/31/introducing-wrapture
  • 作者: Simon Willison (about Graham Dumpleton)
  • 日期: 2026-08-31
  • 抓取时间: 2026-09-02T15:31:00Z
  • 分类: coding
  • 来源类型: article
  • 语言: zh
  • 标签: vibe-coding, python, wrapt, tracing, opentelemetry
  • 质量评分: 4/5

中文导读

Simon 8 月 31 日转 Graham Dumpleton(wrapt/mod_wsgi/New Relic Python agent 的作者)新发布的 wrapture:把 wrapt 的 monkeypatching 思路扩到测试和 tracing 共存的场景,能 wrap 任意函数/方法做调用 trace 或返回值替换,自带 OpenTelemetry 导出,甚至能纯 TOML 配置就给一个老项目加上 tracing但真正值得读的是 Dumpleton 自己写的一段声明"wrapture 里每一行代码和文档都是在我指挥下的 AI 助手写的但这绝不是 vibe codingvibe coding 是一句话 prompt 出一坨代码,驱动者抱着希望祈祷,因为 ta 没能力判断输出物vibe coding 活该有这种坏名声wrapture 从一开始就是我认真工程的产物,在这个 Python 角落我花了几十年,明确知道成品该长什么样,AI 只是生产的手段,不是设计的源头"把"用 AI 但不是 vibe coding"这条界线说清楚了:不是少用 AI,而是我对领域和成品形态有完整 mental model,AI 替我做的是我已经知道该怎么做的实现

一句话点评

Simon 8 月 31 日转 Graham Dumpleton(wrapt/mod_wsgi/New Relic Python agent 的作者)新发布的 wrapture:把 wrapt 的 monkeypatching 思路扩到测试和 tracing 共存的场景...

English Abstract / Summary

Simon Willison introduces wrapture, Graham Dumpleton's new project that extends the wrapt-style monkeypatching idea to combined test and tracing scenarios, exporting OpenTelemetry by default and accepting pure TOML configuration for retrofitting tracing into legacy Python projects. The piece draws attention to Dumpleton's own statement that every line was produced under his direction but the project is not "vibe coding" because vibe coding requires the driver to lack the judgment to evaluate outputs. Dumpleton's mental model of the Python corner he has worked in for decades is the source of design; AI is the production mechanism.

Obsidian Notes

  • 由 daily-intake-evening 2026-09-02 cron 从当日 Obsidian 摘要(论文流水线 / AK-RSS / ClawFeed / X 书签消化)发现并入库存量阶段。
  • 中文导读与判断均锚定在条目已有摘要、源页面正文、作者、日期与分类信息;未补充源页面之外的实验细节。