跳到正文
Rohan Paul· @rohanpaul_ai · X·· 1 小时前AI 评分53
AI 导读

GitHarness 框架把每个需求及其对应工作像 Git 提交一样存储,在用户修改需求时从最近有效版本分支、只重做变更部分。作者称其在全部 30 个测试设置中优于简单续跑,其中 1 个编码任务设置 token 用量减少 73.6% 且得分更高。论文指出用户很少一次给出完整规格,多数智能体会携带过时工作或全部重做,建议对接受反馈的智能体内置版本管理。

正文

Treating agent memory like a Git repo, with commits and branches, lets agents drop outdated requirements and keep the work that is still valid.

Agents handle mid-task changes from users better when they save versions of their work and resume from the right one, so build that versioning into any agent that takes feedback.

Users rarely give a full spec upfront. They add, fix, or drop requirements as results come in. Most agents then carry stale work forward or redo everything.

GitHarness stores each requirement with its matching work, like Git commits, and branches from the closest valid version. It beat plain continuation in all 30 tested settings. In 1 setup, it used 73.6% fewer tokens on coding tasks while scoring higher.

When a user changes 1 detail, go back to the version that still fits and redo only what changed.

来源:Rohan Paul · x.com