Repository navigation
#519 [docs] スラッシュコマンド・provider・排他関係・環境変数の文書を実装に合わせる - #651
Merged
Merged
Conversation
Resolve the four documented drifts (FIN-032..FIN-035) against the shipped runtime and add a dedicated regression test. - src/provider_cli.rs: report `openai-compatible` in the invalid `--provider` and `--planner-provider` candidate lists. Accepted values, the sentinel mapping, ErrorKind, and exit code 2 are unchanged. - slash-commands (en/ja): document that REPL `/provider` accepts only the four built-in providers, and add the Gate 3/4-only `/directive` and `/confirm-directive` section that stays outside the general registry. - cli-reference (en/ja): add `--workflow` to the action list, separate Clap-level conflicts from resolved-configuration rejections, fix the `--json` targets, and record the doctor Configuration-failure exit `1` exception. - providers and troubleshooting (en/ja): scope the `gpt-5.6` alias rejection to the executor, planner, and classifier OpenAI roles and keep it off the generic `openai-compatible` transport. - configuration (en/ja): document the step wall-clock cap, the internal pack handoff variables, and the UX demo fast variable, including the pack variables' missing ANVIL_* fallback. - tests/issue519_docs_runtime_alignment.rs: new integration test pinning the four drifts without calling a real provider. 判断: 環境変数の不足分は本文が列挙した 6 名(step cap、pack 4 変数、UX demo fast)と旧名 2 つ(ANVIL_STEP_WALL_CLOCK_CAP_MS、ANVIL_UX_DEMO_FAST)を 記載した。本文末尾の「7 変数」は列挙の内訳(2+4=6)と一致しないため、列挙を正とした。 判断: help とリファレンスの自動チェックが扱う範囲(公開フラグ集合・説明・件数、 コマンドレジストリ、リンク/アンカー、en/ja 構造)は既存 tests/doc_drift.rs が 引き続き担い、専用の parser・Gate・環境変数文書の検査は新規 tests/issue519_docs_runtime_alignment.rs が担う。汎用的な CI 拡張は追加していない。 Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
スラッシュコマンド・provider・排他関係・環境変数について、日英の文書の記述を実装に合わせます。実装を変えるのは、Clap が不正な provider の値を拒否するときの候補表示(
src/provider_cli.rs)だけです。変更
src/provider_cli.rs:拒否のエラーに出る候補の一覧にopenai-compatibleを足します(augment_possible_values)。受理する値、ErrorKind(InvalidValue)、exit 2、出力先は変えていません。/providerで選べるのは組み込みの 4 つだけ」と書きました。--workflowを足しました。--doctor --runs)--prompt x --ux-demo)--ux-demo --doctor --jsonが exit 1 と JSON の report を返す)--jsonの 3 つの対象、workflow と origin の両方向の依存、汎用 provider の base URL。/directive <instruction>・/confirm-directive <hash>)。一般の表とは分けています。gpt-5.6を拒否する範囲を executor・planner・classifier の 3 つの役割と書きました。汎用の互換サーバーには当てはまりません。COMMANDAGENT_STEP_WALL_CLOCK_CAP_MSCOMMANDAGENT_UX_DEMO_FASTdocs/guide/README.mddocs/guide/{en,ja}/のcli-reference.md・configuration.md・providers.md・slash-commands.md・troubleshooting.mdsrc/provider_cli.rstests/issue519_docs_runtime_alignment.rs(新規)検証
commandmate verifyの 15 ゲート(fmt・clippy-D warnings・cargo testの全体を含む)は、developc98bdc7cの上の HEAD1e73f721で 15/15 pass でした。既存のtests/doc_drift.rsも pass しています。env_clearで、一時のHOME・XDG_STATE_HOMEと一時の workspace だけで動かします。c98bdc7cのコードと文書に、新しいテストのファイルだけを置いて実行しました。10 本中 3 本が FAIL しました。openai-compatibleがない--workflowがないrunner.rs・loop_run.rs・baseline)は変えていません。確かめてほしい点
文書のテストは目印の部分一致で確かめるので、文の意味が正しいことまでは保証しません。次の 2 つの節は、日英の本文を読んで確かめてください:cli-reference の排他・依存、slash-commands の Gate 3/4。
レビュー
文書とテストの変更なので、merge 前レビューは行いません(利用者承認済み)。
Refs #519
🤖 Generated with Claude Code