ait doctor — 完整參考
針對設定的 memory 根目錄、runtime 根目錄或 Plan 權威執行定向診斷。
適用對象: 使用者與維運
作用邊界#
用途: 針對設定的 memory 根目錄、runtime 根目錄或 Plan 權威執行定向診斷。
影響類別: 只讀診斷;每個子命令校驗一個明確選定的本地權威邊界。
覆蓋: ait doctor 下共 4 個公開 help surface。
下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait doctor
ait doctor memory-root
ait doctor runtime-root
ait doctor plan-authority原樣輸出的 help#
ait doctor#
二進位描述: Inspect effective AIT configuration and host readiness without repairing it.
Inspect effective AIT configuration and host readiness without repairing it.
Usage: ait doctor <COMMAND>
Commands:
memory-root Validate the configured memory-backed runtime root.
runtime-root Inspect the effective server runtime-root placement.
plan-authority Inspect the fixed Rust-native Plan storage contract.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
檢視生效的 AIT 設定和主機就緒狀態,不做修復。
| 引數 / 選項 | 說明 |
|---|---|
memory-root | 校驗設定的記憶體承載執行時根。 |
runtime-root | 檢視生效的伺服器執行時根位置。 |
plan-authority | 檢視固定的 Rust 原生 Plan 儲存契約。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait doctor memory-root#
二進位描述: Validate the existing memory-backed root recorded in task_worktree.memory_root, plus its typed capacity and derived Task runtime location. This diagnostic never mounts, provisions, repairs, or creates the root.
Validate the existing memory-backed root recorded in task_worktree.memory_root, plus its typed capacity and derived Task runtime location. This diagnostic never mounts, provisions, repairs, or creates the root.
Usage: ait doctor memory-root [OPTIONS]
Options:
--json
Emit the diagnostic payload as JSON.
-h, --help
Print help (see a summary with '-h')說明
校驗 task_worktree.memory_root 中記錄的已有記憶體承載根,及其帶型別的容量和派生的 Task 執行時位置。此診斷絕不掛載、置備、修復或建立該根。
ait doctor runtime-root#
二進位描述: Inspect the server runtime root selected by AIT_RUNTIME_DATA (or legacy AIT_NATIVE_SERVER_DATA) and report whether Snapshot scans protect it.
Inspect the server runtime root selected by AIT_RUNTIME_DATA (or legacy AIT_NATIVE_SERVER_DATA) and report whether Snapshot scans protect it.
Usage: ait doctor runtime-root [OPTIONS]
Options:
--json
Emit the diagnostic payload as JSON.
-h, --help
Print help (see a summary with '-h')說明
檢視由 AIT_RUNTIME_DATA(或舊的 AIT_NATIVE_SERVER_DATA)選定的伺服器執行時根,並報告 Snapshot 掃描是否保護它。
ait doctor plan-authority#
二進位描述: Inspect the fixed Rust-native Plan storage contract and required exports.
Inspect the fixed Rust-native Plan storage contract and required exports.
Usage: ait doctor plan-authority [OPTIONS]
Options:
--json
Emit the diagnostic payload as JSON.
-h, --help
Print help (see a summary with '-h')說明
檢視固定的 Rust 原生 Plan 儲存契約和必需匯出。