浏览 1.0.0 文档
1.0.0 文档修订 2

ait blame

在修复之前,把某个文件或行区间追溯到对应的 Snapshot 与 Plan 修订。

适用人群: 用户与 coding agent

角色#

coding agent 或用户在给一个已定位的回归挑修复方案之前运行。

用途#

ait blame 把一个路径、或者一段有界的行范围,归到对应的 Snapshot 和能 拿到的 Plan 修订沿革上。它把代码状态和记录下来的改动历史连起来,不动 工作区。

语法#

Code · bash
ait blame <path>
ait blame <path> --line <number>
ait blame <path> --start <line> --end <line>

示例#

Code · bash
ait blame src/LoginForm.tsx --line 84

能回答问题的最小范围就够了。还不知道相关区域在哪的时候,整文件查一遍 才有意义。

输出#

结果会指出对应的 Snapshot 和有界的归属证据。如果那个源码状态连着带版本 的 Markdown 沿革,Plan 信息也会一并给出。

失败与恢复#

归属查不到,那是一条证据,不是让你猜的许可。先确认路径、Line 和导入的 历史;然后把修复记成一个新的、有界的 Task。

相关参考#

Version authority

Checked against the exact 1.0.0 source

This page is public documentation, not a second product contract. Use the exact source and distribution contract for release authority.

Owning component Snapshots
  • ait-coreSNP-B06A48DA0245
  • ait-serverSNP-E90456E6425E
  • ait-runnerSNP-6B0A1BB3AFAD
  • ait-pythonSNP-973E3BFAF3DE
  • ait-nodeSNP-F962CC66AA62