概述
Ponytail 在 2026-10-08 一天內連發兩版:v5.0.0(03:51 UTC)與 v5.1.0(16:20 UTC)。v5.0.0 是主版本,官方第一句就定位:
“Ponytail 5 is rebuilt from the ground up: new rules, a new review, a new audit.”
三個重建對象:規則(rules)、審查(review)、全庫稽核(audit)。v5.1.0 則處理一個很「社會面」的問題:Ponytail 不再把它的名字寫進你的程式碼。
| 版本 | 主軸 |
|---|---|
| v5.0.0(2026-10-08) | Ponytail 5 重建:規則減半、codebase map、新版 review/audit、新 benchmark |
| v5.1.0(2026-10-08) | 中性 shortcut: 標記取代 ponytail: 品牌註解;/ponytail-debt 兼容兩者 |
v5.0.0:三個重建
規則重寫、長度約減半
新版規則的目標是 the smallest complete change(最小完整變更)。官方原文:
“The goal is the smallest complete change: before it writes, the agent maps everything the change must reach (callers, tests, config) and what it could break. Every reply ends with what it skipped or did not check, and any risk.”
兩個可操作的行為改變:
- 動筆前先畫影響圖——這個變更必須觸及的一切(callers、tests、config)與它可能弄壞什麼。
- 每則回覆以誠實收尾——列它跳過了什麼、沒檢查什麼、以及任何風險。
Codebase map:session 起始的「已存在清單」
“at session start the agent gets a short map of what already exists in the repo, so it reuses before it writes.”
session 開始時 agent 拿到一份「repo 裡已經有什麼」的短地圖——先重用、後新寫。這直接攻擊重複造輪子(reinvented wheel)這個最常見的浪費源。
/ponytail-review:讀程式碼,不只讀 diff
“rebuilt as a full review: bugs, security, real load, missing tests, speed, and what to cut. It reads the code the change touches, not just the diff.”
審查面向擴為六項:bug、安全、真實負載(real load)、缺測試、速度、還有什麼可以砍。方法上最關鍵的一句是「讀變更觸及的程式碼,而不只讀 diff」——只看 diff 是許多 AI 審查流掛一漏萬的根源。每個 finding 寫四件事:這段程式碼在做什麼、哪裡會出問題、怎麼修、不修會怎樣。
/ponytail-audit:全庫、排好優先順序
同一套檢查套到整個 repo,排好先後、告訴你先修哪個。
新版 Benchmark:誠實的對照組
官方以「同一個 agent 不裝 skill」為對照(Claude Code、Opus 5.5、39 個任務、含一個真實 FastAPI + React repo、每項 5 次執行):
| 指標 | 對照(無 skill)→ Ponytail 5 | 變化 |
|---|---|---|
| 程式碼量 | — | -53% |
| 時間 | — | -41% |
| 成本 | — | -26% |
| 輸出 token | — | -45% |
| 高風險邏輯附測試 | 68% | 98% |
方法與限制公開在 repo 內 benchmarks/results/2026-10-07-agentic.md。
v5.1.0:不再把品牌寫進你的程式碼
“Ponytail no longer writes its name into your code.”
v5.1.0 把刻意捷徑(deliberate shortcut)的標記從 ponytail: … 改為中性註解:
shortcut: <the limit>, <when to upgrade>
/ponytail-debt仍找得到舊的ponytail:標記——ledger 不會因為換格式而斷線。- 想換別的字、或完全不要?在專案的
CLAUDE.md或AGENTS.md說明,然後跑/ponytail-debt <你的字>。 - 官方在出貨前對 5.0.0 實測:標記數相同、通過率相同、成本相同——改的只是註解文字,不是行為。
隨堂測驗
升到 v5.1.0 後,repo 裡還有一批舊版留下的 ponytail: 註解。/ponytail-debt 還找得到它們嗎?
💡 想先看個提示?
ledger 的連續性是這次改版明確保證的。
Ponytail 5 的 /ponytail-review 與一般「看 diff」的 review 最大的方法差異是?
💡 想先看個提示?
diff 的視野天生只有改動行。
動手升級檢查清單
升級 v5.1.0:動手檢查清單
逐項勾選,確認你已完成升級必要的步驟(進度會保存在此瀏覽器)
延伸閱讀
- 官方 v5.0.0 release notes
- 官方 v5.1.0 release notes
- agentic benchmark 方法與限制
- 前一課:
v4101-v4130-opencode-perproject-codex——per-project mode 與 hook 註冊回歸 - 本主題 Changelog:完整的 v5.1.0 條目