ait config — 完整參考
檢視生效的儲存庫設定,或設定一個明確的受支援設定值。
適用對象: 使用者與維運
作用邊界#
用途: 檢視生效的儲存庫設定,或設定一個明確的受支援設定值。
影響類別: show 為只讀;set 會改動儲存庫設定,並可能重新整理生成的指令。
覆蓋: ait config 下共 4 個公開 help surface。
下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait config
ait config show
ait config set
ait config unset原樣輸出的 help#
ait config#
二進位描述: Inspect effective configuration and change supported user settings.
Inspect effective configuration and change supported user settings.
Usage: ait config <COMMAND>
Commands:
show Inspect effective repository configuration without modifying it.
set Set supported user-owned repository defaults.
unset Remove one supported user setting.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
檢視生效設定,並改動受支援的使用者設定。
| 引數 / 選項 | 說明 |
|---|---|
show | 檢視生效的儲存庫設定,不做修改。 |
set | 設定受支援的使用者持有儲存庫預設值。 |
unset | 刪除一個受支援的使用者設定。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait config show#
二進位描述: Read repository configuration plus the applicable worktree settings and report the effective values. Human output is compact; --json returns the complete machine-readable result.
Read repository configuration plus the applicable worktree settings and report the effective values. Human output is compact; --json returns the complete machine-readable result.
Usage: ait config show [OPTIONS]
Options:
--json
Emit the complete machine-readable effective configuration.
-h, --help
Print help (see a summary with '-h')說明
讀取儲存庫設定及適用的 worktree 設定,並報告生效值。人類可讀輸出精簡;--json 傳回完整的機器可讀結果。
ait config set#
二進位描述: Set one or more supported user-owned defaults, then refresh effective configuration and generated workflow guidance. Internal Repository indexes, derived local/remote settings, and Plan bindings cannot be set here. Use ait config unset <KEY> to remove an optional override.
Set one or more supported user-owned defaults, then refresh effective configuration and generated workflow guidance. Internal Repository indexes, derived local/remote settings, and Plan bindings cannot be set here. Use `ait config unset <KEY>` to remove an optional override.
Usage: ait config set [OPTIONS]
Options:
--workflow-mode <WORKFLOW_MODE>
Set the complete workflow preset. This chooses where Workflow, Task, and Change commands run and defaults sprint mode to on unless --sprint is supplied.
[possible values: solo_local, solo_remote, team_remote]
--sprint <SPRINT>
Set sprint-style Plan/Task binding. On requires exact Plan item refs; off uses unbound Tasks.
[possible values: on, off]
--default-author-mode <DEFAULT_AUTHOR_MODE>
Set the default provenance author mode.
[possible values: human_only, human_with_ai_assist, ai_with_human_review, ai_only_experimental]
--default-model <DEFAULT_MODEL>
Set a non-empty default provenance model name.
--task-review <TASK_REVIEW>
Set Task outcome review policy. Required waits for review; automatic records task_approve using configured user_name.
[possible values: required, automatic]
--task-worktree-alias-root <TASK_WORKTREE_ALIAS_ROOT>
Set a non-empty managed alias root for task worktrees. Relative paths resolve from the Repository root.
--task-worktree-main-seed-ram-max-bytes <TASK_WORKTREE_MAIN_SEED_RAM_MAX_BYTES>
Set a non-negative Repository-local RAM budget in bytes for main-seed-backed task worktree bootstrap.
--id-namespace-prefix <ID_NAMESPACE_PREFIX>
Set a non-empty ASCII-alphanumeric namespace prefix before workflow type codes such as T/C/P/PL/PR.
--user-name <USER_NAME>
Set the non-empty human identity used by explicit and automatic Task review.
--user-email <USER_EMAIL>
Set a non-empty local actor email for non-Task-review identity surfaces.
--json
Emit the complete machine-readable effective configuration after the update.
-h, --help
Print help (see a summary with '-h')說明
設定一個或多個受支援的使用者持有預設值,然後重新整理生效設定和生成的工作流程指引。內部 Repository 索引、派生的本地/遠端設定和 Plan 繫結不能在此設定。用 ait config unset <KEY> 刪除可選 override。
ait config unset#
二進位描述: Delete exactly one optional user setting from repository configuration, then refresh effective configuration and generated workflow guidance. Fallbacks are: default-author-mode -> ai_with_human_review; default-model -> unset; task-review -> automatic; task-worktree-alias-root -> .ait-worktree-links; task-worktree-main-seed-ram-max-bytes -> no configured budget; id-namespace-prefix -> empty; user-name and user-email -> unset while actor detection remains available. Internal Repository indexes, workflow-mode, sprint, derived local/remote settings, and Plan bindings cannot be unset.
Delete exactly one optional user setting from repository configuration, then refresh effective configuration and generated workflow guidance. Fallbacks are: default-author-mode -> ai_with_human_review; default-model -> unset; task-review -> automatic; task-worktree-alias-root -> .ait-worktree-links; task-worktree-main-seed-ram-max-bytes -> no configured budget; id-namespace-prefix -> empty; user-name and user-email -> unset while actor detection remains available. Internal Repository indexes, workflow-mode, sprint, derived local/remote settings, and Plan bindings cannot be unset.
Usage: ait config unset [OPTIONS] <KEY>
Arguments:
<KEY>
Supported optional user setting to remove.
[possible values: default-author-mode, default-model, task-review, task-worktree-alias-root, task-worktree-main-seed-ram-max-bytes, id-namespace-prefix, user-name, user-email]
Options:
--json
Emit the complete machine-readable effective configuration after removal.
-h, --help
Print help (see a summary with '-h')說明
從儲存庫設定中刪除一個確切的可選使用者設定,然後重新整理生效設定和生成的工作流程指引。回退值為:default-author-mode -> ai_with_human_review;default-model -> unset;task-review -> automatic;task-worktree-alias-root -> .ait-worktree-links;task-worktree-main-seed-ram-max-bytes -> 未設定預算;id-namespace-prefix -> 空;user-name 和 user-email -> unset,但仍可檢測 actor。內部 Repository 索引、workflow-mode、sprint、派生的本地/遠端設定和 Plan 繫結不能 unset。