浏览 1.0.0 文档
1.0.0 文档修订 2

ait status

查看当前 Line、仓库状态、工作区状态、远程以及 worktree 健康状况。

适用人群: 用户与 coding agent

角色#

用户或 coding agent 都能放心跑,用来第一眼摸清仓库情况。

用途#

ait status 汇总当前的 Line、头部 Snapshot、工作区状态、配置好的远程、 仓库标识,以及 worktree 的健康度。就产品沿革而言,它是只读的。

语法#

Code · bash
ait status
ait status --json

示例#

Code · bash
ait status --json

当 coding agent 需要判断现在待的是规范根目录还是 Task 绑定的工作区时, 用 JSON。人想快速看一眼,用那个紧凑的文本视图。

输出#

常见字段包括当前 Line、默认远程、头部 Snapshot、工作区改动数量、仓库名 和 worktree 卫生状况。运行健康这类细节变了,不会因此产生新的 Snapshot。

失败与恢复#

如果仓库发现失败,先确认你想要的仓库根目录在哪;只有在确实没有有效权威 时才跑 ait init。如果 status 报工作区是脏的,先看 ait diff,再去启动或 恢复 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