为什么 Git 需要进化:从文件到系统的源码管理转变
中文摘要
面向智能体,源码管理应从文件中心转向系统中心,用 AST/CPG 替代逐行 diff。
English Summary
For AI agents, source code management should shift from file-centric to system-centric, using AST/CPG instead of line-by-line diff.
原文节选
文章主张面向自主编程智能体的源码管理应从 Git 的文件中心模式转向系统中心模式,用 Tree-sitter AST 与代码属性图(CPG)替代逐行文本 diff。