* chore: wire docs/agents config into AGENTS.md Agent skills section
Add the `## Agent skills` discovery block pointing the engineering
skills at the existing docs/agents/{issue-tracker,triage-labels,domain}.md
files (issue tracker, triage label mapping, single-context domain docs).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* docs: rebrand to GSD Core and restructure docs with Diataxis
Reorganise the root README and docs/ around the Diataxis framework
(tutorials, how-to guides, reference, explanation), add new how-to
guides and schema references (STATE.md / CONTEXT.md / PLAN.md /
planning artifacts), and cross-link the whole set. Update the lone
legacy gsd-build reference to open-gsd; keep internal get-shit-done/
filesystem paths unchanged (directory rename tracked separately in
open-gsd/gsd-core#604). Regenerate the ja-JP, ko-KR, pt-BR and zh-CN
localised trees to mirror the new structure.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* docs: backfill changeset PR number (#605)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
500 lines
21 KiB
Markdown
500 lines
21 KiB
Markdown
# GSD CLI ツールリファレンス
|
||
|
||
> `gsd-tools` CLI(`get-shit-done/bin/gsd-tools.cjs`)のリファレンスです。スラッシュコマンドとユーザーフローについては [コマンドリファレンス](COMMANDS.md) を参照してください。[docs インデックス](README.md) に戻る。
|
||
|
||
---
|
||
|
||
## 概要
|
||
|
||
`gsd-tools.cjs` は、設定の解析、モデル解決、フェーズ検索、git コミット、サマリー検証、状態管理、テンプレート操作を GSD コマンド・ワークフロー・エージェント全体で一元化します。
|
||
|
||
|
||
| | |
|
||
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||
| **配置パス** | `get-shit-done/bin/gsd-tools.cjs` |
|
||
| **実装** | `get-shit-done/bin/lib/` 配下の 20 個のドメインモジュール(ディレクトリが正式) |
|
||
| **ステータス** | オーケストレーション・ワークフロー・自動化処理のための主要ランタイムコマンドサーフェス。 |
|
||
|
||
|
||
**使い方(CJS):**
|
||
|
||
```bash
|
||
node gsd-tools.cjs <command> [args] [--raw] [--cwd <path>]
|
||
```
|
||
|
||
**グローバルフラグ(CJS):**
|
||
|
||
|
||
| フラグ | 説明 |
|
||
| -------------- | ---------------------------------------------------------------------------- |
|
||
| `--raw` | 機械可読な出力(JSON またはプレーンテキスト、フォーマットなし) |
|
||
| `--cwd <path>` | 作業ディレクトリの上書き(サンドボックス化されたサブエージェント向け) |
|
||
| `--ws <name>` | `.planning/workstreams/<name>` パス用のワークストリームコンテキスト |
|
||
|
||
|
||
---
|
||
|
||
## State コマンド
|
||
|
||
`.planning/STATE.md` を管理します — プロジェクトの生きた記憶です。
|
||
|
||
```bash
|
||
# プロジェクトの全設定 + 状態を JSON として読み込む
|
||
node gsd-tools.cjs state load
|
||
|
||
# STATE.md のフロントマターを JSON として出力
|
||
node gsd-tools.cjs state json
|
||
|
||
# 単一フィールドを更新
|
||
node gsd-tools.cjs state update <field> <value>
|
||
|
||
# STATE.md の内容または特定セクションを取得
|
||
node gsd-tools.cjs state get [section]
|
||
|
||
# 複数フィールドの一括更新
|
||
node gsd-tools.cjs state patch --field1 val1 --field2 val2
|
||
|
||
# プランカウンターをインクリメント
|
||
node gsd-tools.cjs state advance-plan
|
||
|
||
# 実行メトリクスを記録
|
||
node gsd-tools.cjs state record-metric --phase N --plan M --duration Xmin [--tasks N] [--files N]
|
||
|
||
# プログレスバーを再計算
|
||
node gsd-tools.cjs state update-progress
|
||
|
||
# 決定事項を追加
|
||
node gsd-tools.cjs state add-decision --summary "..." [--phase N] [--rationale "..."]
|
||
# ファイルから追加する場合:
|
||
node gsd-tools.cjs state add-decision --summary-file path [--rationale-file path]
|
||
|
||
# ブロッカーの追加・解決
|
||
node gsd-tools.cjs state add-blocker --text "..."
|
||
node gsd-tools.cjs state resolve-blocker --text "..."
|
||
|
||
# セッション継続性を記録
|
||
node gsd-tools.cjs state record-session --stopped-at "..." [--resume-file path]
|
||
|
||
# フェーズ開始 — 新しいフェーズの STATE.md Status/Last activity を更新
|
||
node gsd-tools.cjs state begin-phase --phase N --name SLUG --plans COUNT
|
||
|
||
# エージェント検出可能なブロッカーシグナル送信(discuss-phase / UI フローで使用)
|
||
node gsd-tools.cjs state signal-waiting --type TYPE --question "..." --options "A|B" --phase P
|
||
node gsd-tools.cjs state signal-resume
|
||
```
|
||
|
||
### State スナップショット
|
||
|
||
STATE.md 全体の構造化パース:
|
||
|
||
```bash
|
||
node gsd-tools.cjs state-snapshot
|
||
```
|
||
|
||
現在位置、フェーズ、プラン、ステータス、決定事項、ブロッカー、メトリクス、最終アクティビティを含む JSON を返します。
|
||
|
||
---
|
||
|
||
## Phase コマンド
|
||
|
||
フェーズを管理します — ディレクトリ、番号付け、ロードマップとの同期。
|
||
|
||
```bash
|
||
# 番号でフェーズディレクトリを検索
|
||
node gsd-tools.cjs find-phase <phase>
|
||
|
||
# 挿入用の次の小数フェーズ番号を計算
|
||
node gsd-tools.cjs phase next-decimal <phase>
|
||
|
||
# ロードマップに新しいフェーズを追加 + ディレクトリを作成
|
||
node gsd-tools.cjs phase add <description>
|
||
|
||
# 既存フェーズの後に小数フェーズを挿入
|
||
node gsd-tools.cjs phase insert <after> <description>
|
||
|
||
# フェーズを削除し、後続を振り直し
|
||
node gsd-tools.cjs phase remove <phase> [--force]
|
||
|
||
# フェーズを完了としてマークし、状態 + ロードマップを更新
|
||
node gsd-tools.cjs phase complete <phase>
|
||
|
||
# ウェーブとステータス付きでプランをインデックス化
|
||
node gsd-tools.cjs phase-plan-index <phase>
|
||
|
||
# フィルタリング付きでフェーズを一覧表示
|
||
node gsd-tools.cjs phases list [--type planned|executed|all] [--phase N] [--include-archived]
|
||
```
|
||
|
||
---
|
||
|
||
## Roadmap コマンド
|
||
|
||
`ROADMAP.md` の解析と更新。
|
||
|
||
```bash
|
||
# ROADMAP.md からフェーズセクションを抽出
|
||
node gsd-tools.cjs roadmap get-phase <phase>
|
||
|
||
# ディスク状態を含む完全なロードマップ解析
|
||
node gsd-tools.cjs roadmap analyze
|
||
|
||
# ディスクからプログレステーブル行を更新
|
||
node gsd-tools.cjs roadmap update-plan-progress <N>
|
||
```
|
||
|
||
---
|
||
|
||
## Config コマンド
|
||
|
||
`.planning/config.json` の読み書き。
|
||
|
||
```bash
|
||
# デフォルト値で config.json を初期化
|
||
node gsd-tools.cjs config-ensure-section
|
||
|
||
# 設定値をセット(ドット記法)
|
||
node gsd-tools.cjs config-set <key> <value>
|
||
|
||
# 設定値を取得
|
||
node gsd-tools.cjs config-get <key>
|
||
|
||
# モデルプロファイルを設定
|
||
node gsd-tools.cjs config-set-model-profile <profile>
|
||
```
|
||
|
||
---
|
||
|
||
## モデル解決
|
||
|
||
```bash
|
||
# 現在のプロファイルに基づいてエージェント用モデルを取得
|
||
node gsd-tools.cjs resolve-model <agent-name>
|
||
# --raw 出力では選択されたモデル ID/ティアを返します。
|
||
# JSON 出力ではプロファイルも含み、アクティブなランタイムがサポートしている場合は
|
||
# reasoning_effort も含まれます。
|
||
```
|
||
|
||
エージェント名: `gsd-planner`, `gsd-executor`, `gsd-phase-researcher`, `gsd-project-researcher`, `gsd-research-synthesizer`, `gsd-verifier`, `gsd-plan-checker`, `gsd-integration-checker`, `gsd-roadmapper`, `gsd-debugger`, `gsd-codebase-mapper`, `gsd-nyquist-auditor`
|
||
|
||
---
|
||
|
||
## Verification コマンド
|
||
|
||
プラン、フェーズ、参照、コミットを検証します。
|
||
|
||
```bash
|
||
# SUMMARY.md ファイルを検証
|
||
node gsd-tools.cjs verify-summary <path> [--check-count N]
|
||
|
||
# PLAN.md の構造 + タスクをチェック
|
||
node gsd-tools.cjs verify plan-structure <file>
|
||
|
||
# 全プランにサマリーがあるか確認
|
||
node gsd-tools.cjs verify phase-completeness <phase>
|
||
|
||
# @参照 + パスが解決可能か確認
|
||
node gsd-tools.cjs verify references <file>
|
||
|
||
# コミットハッシュの一括検証
|
||
node gsd-tools.cjs verify commits <hash1> [hash2] ...
|
||
|
||
# must_haves.artifacts をチェック
|
||
node gsd-tools.cjs verify artifacts <plan-file>
|
||
|
||
# must_haves.key_links をチェック
|
||
node gsd-tools.cjs verify key-links <plan-file>
|
||
```
|
||
|
||
---
|
||
|
||
## Validation コマンド
|
||
|
||
プロジェクトの整合性をチェックします。
|
||
|
||
```bash
|
||
# フェーズ番号、ディスク/ロードマップの同期を確認
|
||
node gsd-tools.cjs validate consistency
|
||
|
||
# .planning/ の整合性チェック、任意で修復
|
||
node gsd-tools.cjs validate health [--repair]
|
||
|
||
# ステータスライン / フック呼び出し元向けのコンテキストウィンドウ使用率をプローブ(v1.40.0)
|
||
node gsd-tools.cjs validate context
|
||
|
||
# 型付き JSON サーフェスとしてのコンテキスト使用率(#455)
|
||
node gsd-tools.cjs validate context --json
|
||
```
|
||
|
||
`validate context` は `utilization`、`status`(60% / 70% の閾値で `ok` / `warn` / `critical`)、および `suggestion` 文字列を含む構造化エンベロープを出力します。同じデータが `/gsd-health --context` を支えます。
|
||
型付き IR を直接受け取るには `--json` を渡してください(スクリプトやテストアサーションで有用)。
|
||
|
||
---
|
||
|
||
## Template コマンド
|
||
|
||
テンプレートの選択と穴埋め。
|
||
|
||
```bash
|
||
# 粒度に基づいてサマリーテンプレートを選択
|
||
node gsd-tools.cjs template select <type>
|
||
|
||
# 変数でテンプレートを穴埋め
|
||
node gsd-tools.cjs template fill <type> --phase N [--plan M] [--name "..."] [--type execute|tdd] [--wave N] [--fields '{json}']
|
||
```
|
||
|
||
`fill` のテンプレートタイプ: `summary`, `plan`, `verification`
|
||
|
||
---
|
||
|
||
## Frontmatter コマンド
|
||
|
||
任意の Markdown ファイルに対する YAML フロントマターの CRUD 操作。
|
||
|
||
```bash
|
||
# フロントマターを JSON として抽出
|
||
node gsd-tools.cjs frontmatter get <file> [--field key]
|
||
|
||
# 単一フィールドを更新
|
||
node gsd-tools.cjs frontmatter set <file> --field key --value jsonVal
|
||
|
||
# JSON をフロントマターにマージ
|
||
node gsd-tools.cjs frontmatter merge <file> --data '{json}'
|
||
|
||
# 必須フィールドを検証
|
||
node gsd-tools.cjs frontmatter validate <file> --schema plan|summary|verification
|
||
```
|
||
|
||
---
|
||
|
||
## Scaffold コマンド
|
||
|
||
事前構造化されたファイルとディレクトリを作成します。
|
||
|
||
```bash
|
||
# CONTEXT.md テンプレートを作成
|
||
node gsd-tools.cjs scaffold context --phase N
|
||
|
||
# UAT.md テンプレートを作成
|
||
node gsd-tools.cjs scaffold uat --phase N
|
||
|
||
# VERIFICATION.md テンプレートを作成
|
||
node gsd-tools.cjs scaffold verification --phase N
|
||
|
||
# フェーズディレクトリを作成
|
||
node gsd-tools.cjs scaffold phase-dir --phase N --name "phase name"
|
||
```
|
||
|
||
---
|
||
|
||
## Init コマンド(複合コンテキスト読み込み)
|
||
|
||
特定のワークフローに必要なすべてのコンテキストを一度に読み込みます。プロジェクト情報、設定、状態、ワークフロー固有のデータを含む JSON を返します。
|
||
|
||
```bash
|
||
node gsd-tools.cjs init execute-phase <phase>
|
||
node gsd-tools.cjs init plan-phase <phase>
|
||
node gsd-tools.cjs init new-project
|
||
node gsd-tools.cjs init new-milestone
|
||
node gsd-tools.cjs init quick <description>
|
||
node gsd-tools.cjs init resume
|
||
node gsd-tools.cjs init verify-work <phase>
|
||
node gsd-tools.cjs init phase-op <phase>
|
||
node gsd-tools.cjs init todos [area]
|
||
node gsd-tools.cjs init milestone-op
|
||
node gsd-tools.cjs init map-codebase
|
||
node gsd-tools.cjs init progress
|
||
|
||
# ワークストリームスコープ付き init(`--ws` フラグ)
|
||
node gsd-tools.cjs init execute-phase <phase> --ws <name>
|
||
node gsd-tools.cjs init plan-phase <phase> --ws <name>
|
||
```
|
||
|
||
**大容量ペイロードの処理:** 出力が約 50KB を超える場合、CLI は一時ファイルに書き出し、`@file:/tmp/gsd-init-XXXXX.json` を返します。ワークフローは `@file:` プレフィックスを確認し、ディスクから読み込みます:
|
||
|
||
```bash
|
||
INIT=$(node gsd-tools.cjs init execute-phase "1")
|
||
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
||
```
|
||
|
||
---
|
||
|
||
## Milestone コマンド
|
||
|
||
```bash
|
||
# マイルストーンをアーカイブ
|
||
node gsd-tools.cjs milestone complete <version> [--name <name>] [--archive-phases]
|
||
|
||
# 要件を完了としてマーク
|
||
node gsd-tools.cjs requirements mark-complete <ids>
|
||
# 受け付ける形式: REQ-01,REQ-02 または REQ-01 REQ-02 または [REQ-01, REQ-02]
|
||
```
|
||
|
||
---
|
||
|
||
## エージェントスキル
|
||
|
||
指定されたエージェントタイプのスキルブロックを出力します。
|
||
|
||
```bash
|
||
# 生の XML スキルブロックを出力(デフォルト — シェル展開に安全)
|
||
node gsd-tools.cjs agent-skills <agent-type>
|
||
|
||
# 型付き JSON サーフェス(#455)を出力 — { agent_type, block, skills_count }
|
||
node gsd-tools.cjs agent-skills <agent-type> --json
|
||
```
|
||
|
||
`--json` フラグは構造化消費やテストアサーションに適した型付き IR オブジェクトを返します。デフォルト(フラグなし)はワークフローのシェル展開が依存する生の XML 出力を維持します。
|
||
|
||
---
|
||
|
||
## スキルマニフェスト
|
||
|
||
コマンド読み込みを高速化するためのスキル検出の事前計算とキャッシュ。
|
||
|
||
```bash
|
||
# スキルマニフェストを生成(.claude/skill-manifest.json に書き込む)
|
||
node gsd-tools.cjs skill-manifest
|
||
|
||
# カスタム出力パスで生成
|
||
node gsd-tools.cjs skill-manifest --output <path>
|
||
```
|
||
|
||
利用可能なすべての GSD スキルとそのメタデータ(名前、説明、ファイルパス、引数ヒント)の JSON マッピングを返します。インストーラとセッション開始フックが繰り返しのファイルシステムスキャンを避けるために使用します。
|
||
|
||
---
|
||
|
||
## ユーティリティコマンド
|
||
|
||
```bash
|
||
# テキストを URL セーフなスラッグに変換
|
||
node gsd-tools.cjs generate-slug "Some Text Here"
|
||
# → some-text-here
|
||
|
||
# タイムスタンプを取得
|
||
node gsd-tools.cjs current-timestamp [full|date|filename]
|
||
|
||
# 保留中の TODO をカウントして一覧表示
|
||
node gsd-tools.cjs list-todos [area]
|
||
|
||
# ファイル/ディレクトリの存在確認
|
||
node gsd-tools.cjs verify-path-exists <path>
|
||
|
||
# 全 SUMMARY.md データを集約
|
||
node gsd-tools.cjs history-digest
|
||
|
||
# SUMMARY.md から構造化データを抽出
|
||
node gsd-tools.cjs summary-extract <path> [--fields field1,field2]
|
||
|
||
# プロジェクト統計
|
||
node gsd-tools.cjs stats [json|table]
|
||
|
||
# 進捗表示(人間が読める形式)
|
||
node gsd-tools.cjs progress [json|table|bar]
|
||
|
||
# 型付き JSON サーフェスとしての進捗(#455)
|
||
node gsd-tools.cjs progress --json
|
||
|
||
# TODO を完了にする
|
||
node gsd-tools.cjs todo complete <filename>
|
||
|
||
# UAT 監査 — 全フェーズの未解決項目をスキャン
|
||
node gsd-tools.cjs audit-uat
|
||
|
||
# クロスアーティファクト監査キュー — `.planning/` の未解決監査項目をスキャン
|
||
node gsd-tools.cjs audit-open [--json]
|
||
|
||
# GSD-2 プロジェクトを現在の構造にリバースマイグレーション(`/gsd-import --from-gsd2` のバックエンド)
|
||
node gsd-tools.cjs from-gsd2 [--path <dir>] [--force] [--dry-run]
|
||
|
||
# 設定チェック付き git コミット
|
||
node gsd-tools.cjs commit <message> [--files f1 f2] [--amend] [--no-verify] [--respect-staged]
|
||
```
|
||
|
||
> `--no-verify`: プリコミットフックをスキップします。ウェーブベース実行時に並列エグゼキューターエージェントがビルドロックの競合(例: Rust プロジェクトでの cargo ロック競合)を避けるために使用します。オーケストレーターは各ウェーブ完了後にフックを一度実行します。順次実行時には `--no-verify` を使用せず、フックを通常通り実行してください。
|
||
> `--files <paths>` **ステージング動作**: デフォルトでは、`--files` はコミット前に各指定ファイルに対して `git add -- <path>` を実行します。これにより `git add -p` で設定したハンク単位のステージングが上書きされます。`git add` ステップをスキップして指定パス内のステージング済みファイルのみをコミットするには `--respect-staged` を渡してください。そのスコープ内でステージングされたファイルがない場合、コマンドはエラーなしで `{ committed: false, reason: 'nothing staged' }` を返します。コミット時の末尾 `-- <paths>` パス指定は両モードで適用されるため、`--files` スコープ外でステージングされたファイルは決して含まれません(#3061 不変条件)。
|
||
|
||
# Web 検索(Brave API キーが必要)
|
||
node gsd-tools.cjs websearch <query> [--limit N] [--freshness day|week|month]
|
||
```
|
||
|
||
---
|
||
|
||
## Graphify
|
||
|
||
`.planning/graphs/` 内のプロジェクトナレッジグラフをビルド、クエリ、検査します。`config.json` で `graphify.enabled: true` が必要です([設定リファレンス](CONFIGURATION.md#graphify-settings) を参照)。
|
||
|
||
```bash
|
||
# ナレッジグラフをビルドまたは再ビルド
|
||
node gsd-tools.cjs graphify build
|
||
|
||
# グラフで用語を検索
|
||
node gsd-tools.cjs graphify query <term>
|
||
|
||
# グラフの鮮度と統計を表示
|
||
node gsd-tools.cjs graphify status
|
||
|
||
# 前回のビルドからの変更を表示
|
||
node gsd-tools.cjs graphify diff
|
||
|
||
# 現在のグラフの名前付きスナップショットを書き込む
|
||
node gsd-tools.cjs graphify snapshot [name]
|
||
```
|
||
|
||
ユーザー向けエントリーポイント: `/gsd-graphify`([コマンドリファレンス](COMMANDS.md#gsd-graphify) を参照)。
|
||
|
||
---
|
||
|
||
## モジュールアーキテクチャ
|
||
|
||
| モジュール | ファイル | エクスポート |
|
||
|------------|----------|--------------|
|
||
| Core | `lib/core.cjs` | `error()`, `output()`, `parseArgs()`、共通ユーティリティ、互換性再エクスポート |
|
||
| State | `lib/state.cjs` | すべての `state` サブコマンド、`state-snapshot` |
|
||
| Phase | `lib/phase.cjs` | フェーズ CRUD、`find-phase`、`phase-plan-index`、`phases list` |
|
||
| Planning Workspace | `lib/planning-workspace.cjs` | プランニングシーム: `planningDir`、`planningPaths`、アクティブワークストリームルーティング、`.planning/.lock` |
|
||
| Roadmap | `lib/roadmap.cjs` | ロードマップ解析、フェーズ抽出、進捗更新 |
|
||
| Config | `lib/config.cjs` | 設定の読み書き、セクション初期化 |
|
||
| Verify | `lib/verify.cjs` | すべての検証・バリデーションコマンド |
|
||
| Template | `lib/template.cjs` | テンプレート選択と変数の穴埋め |
|
||
| Frontmatter | `lib/frontmatter.cjs` | YAML フロントマター CRUD |
|
||
| Init | `lib/init.cjs` | 全ワークフロー向け複合コンテキスト読み込み |
|
||
| Milestone | `lib/milestone.cjs` | マイルストーンアーカイブ、要件マーキング |
|
||
| Commands | `lib/commands.cjs` | その他: slug、タイムスタンプ、TODO、scaffold、統計、Web 検索 |
|
||
| Model Profiles | `lib/model-profiles.cjs` | プロファイル解決テーブル |
|
||
| UAT | `lib/uat.cjs` | 全フェーズ横断 UAT/検証監査 |
|
||
| Profile Output | `lib/profile-output.cjs` | 開発者プロファイルのフォーマット |
|
||
| Profile Pipeline | `lib/profile-pipeline.cjs` | セッション分析パイプライン |
|
||
| Graphify | `lib/graphify.cjs` | ナレッジグラフのビルド/クエリ/ステータス/差分/スナップショット(`/gsd-graphify` のバックエンド) |
|
||
| Learnings | `lib/learnings.cjs` | フェーズ/SUMMARY アーティファクトからの学習抽出(`/gsd-extract-learnings` のバックエンド) |
|
||
| Audit | `lib/audit.cjs` | フェーズ/マイルストーン監査キューハンドラ; `audit-open` ヘルパー |
|
||
| GSD2 Import | `lib/gsd2-import.cjs` | GSD-2 プロジェクトからのリバースマイグレーションインポーター(`/gsd-import --from-gsd2` のバックエンド) |
|
||
| Intel | `lib/intel.cjs` | クエリ可能なコードベースインテリジェンスインデックス(`/gsd-map-codebase --query` のバックエンド) |
|
||
|
||
---
|
||
|
||
## レビュアー CLI ルーティング
|
||
|
||
`review.models.<cli>` はレビュアーフレーバーをコードレビューワークフローが呼び出すシェルコマンドにマッピングします。[`/gsd-config --integrations`](COMMANDS.md#gsd-config) または直接設定できます:
|
||
|
||
```bash
|
||
node gsd-tools.cjs config-set review.models.codex "codex exec --model gpt-5"
|
||
node gsd-tools.cjs config-set review.models.gemini "gemini -m gemini-2.5-pro"
|
||
node gsd-tools.cjs config-set review.models.opencode "opencode run --model claude-sonnet-4"
|
||
node gsd-tools.cjs config-set review.models.claude "" # クリア — セッションモデルにフォールバック
|
||
```
|
||
|
||
スラッグは `[a-zA-Z0-9_-]+` に対してバリデーションされます。空またはパスを含むスラッグは拒否されます。完全なフィールドリファレンスは [`docs/CONFIGURATION.md`](CONFIGURATION.md#code-review-cli-routing) を参照してください。
|
||
|
||
## シークレット処理
|
||
|
||
`/gsd-settings` で設定された API キー(`brave_search`、`firecrawl`、`exa_search`)は `.planning/config.json` に平文で書き込まれますが、`config-set` / `config-get` のすべての出力、確認テーブル、インタラクティブプロンプトでは(`****<last-4>` として)マスクされます。マスキングの実装は `get-shit-done/bin/lib/secrets.cjs` を参照してください。`config.json` ファイル自体がセキュリティ境界です — ファイルシステムのパーミッションで保護し、git には含めないようにしてください(`.planning/` はデフォルトで gitignore されます)。
|
||
|
||
---
|
||
|
||
## Related
|
||
|
||
- [Commands](COMMANDS.md)
|
||
- [Configuration](CONFIGURATION.md)
|
||
- [Architecture](ARCHITECTURE.md)
|
||
- [docs index](README.md)
|