浏览 1.0.0 文档
1.0.0 文档修订 2

ait doctor

在不改动仓库权威的前提下,找到定向的诊断入口。

适用人群: 用户与运维

角色#

当常规的 status 证据指向存储、运行时、Plan 权威或远程依赖的问题时,由 用户或运维使用。

用途#

ait doctor 是一组聚焦诊断的命名空间。可用的诊断主题是随版本变的,所以 先看你装的这版命令的帮助,别照抄一条不相干的维护命令。

语法#

Code · bash
ait doctor --help

worktree 专用的诊断在 ait worktree doctor 下面,跟顶层的 doctor 主题是 分开的。

示例#

Code · bash
ait status --json
ait doctor --help
ait worktree doctor --refresh --json

只挑跟 status 结论对得上的那条诊断。诊断不该变成一串碰运气的修复动作。

输出#

doctor 的输出会报告它查了哪块边界、拿到什么证据,以及有界的下一步动作。 需要升级处理时,把这些留着。

失败与恢复#

不要仅仅因为 doctor 报了个陈旧或不完整的状态,就去跑破坏性的清理。先把 确切的归属、标识符和路径弄清楚,再用针对那种情况给出的恢复命令。

相关参考#

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