specdojo 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/catalog/build.js +7 -7
  3. package/dist/catalog/generate.js +27 -12
  4. package/dist/commands/init.js +10 -7
  5. package/dist/commands/orchestrator.js +9 -2
  6. package/dist/devcontainer/command.js +1 -1
  7. package/dist/devcontainer/scaffold.js +24 -9
  8. package/dist/exec/core.js +4 -0
  9. package/dist/exec/plans-core.js +10 -1
  10. package/dist/exec/plans-generation.js +13 -0
  11. package/dist/exec/plans-storage.js +4 -0
  12. package/dist/exec/register.js +64 -6
  13. package/dist/exec/results.js +5 -1
  14. package/dist/exec/strategy.js +4 -0
  15. package/dist/kata/authoring.js +100 -0
  16. package/dist/kata/command.js +52 -2
  17. package/dist/kata/kata.js +54 -11
  18. package/dist/register/approach.js +29 -1
  19. package/dist/register/create-commands.js +9 -0
  20. package/dist/register/cross-project.js +9 -2
  21. package/dist/register/external-project.js +136 -0
  22. package/dist/schedule/strategy-profiles.js +3 -0
  23. package/dist/shared/agent-types.js +4 -0
  24. package/dist/shared/provider-scaffold.js +3 -3
  25. package/dist/shared/specdojo-config.js +109 -2
  26. package/docs/ja/specdojo/exec-templates/xep-recipe-authoring-template.md +45 -0
  27. package/docs/ja/specdojo/exec-templates/xep-rulebook-authoring-template.md +45 -0
  28. package/docs/ja/specdojo/exec-templates/xep-sample-authoring-template.md +45 -0
  29. package/docs/ja/specdojo/exec-templates/xep-template-authoring-template.md +45 -0
  30. package/docs/ja/specdojo/guides/docs-editing-guide.md +32 -0
  31. package/docs/ja/specdojo/guides/docs-structure-guide.md +1 -1
  32. package/docs/ja/specdojo/guides/exec-config-guide.md +13 -6
  33. package/docs/ja/specdojo/guides/kata-guide.md +4 -0
  34. package/docs/ja/specdojo/guides/quick-start-guide.md +352 -68
  35. package/docs/ja/specdojo/guides/register-operation-guide.md +18 -0
  36. package/docs/ja/specdojo/guides/remote-host-development-guide.md +10 -2
  37. package/docs/ja/specdojo/guides/ryu-guide.md +18 -4
  38. package/docs/ja/specdojo/guides/use-case-guide.md +2 -2
  39. package/docs/ja/specdojo/references/command-reference.md +39 -20
  40. package/docs/ja/specdojo/references/specdojo-config-reference.md +33 -7
  41. package/docs/ja/specdojo/standards/recipe-authoring-standard.md +10 -10
  42. package/docs/ja/specdojo/standards/rulebook-authoring-standard.md +13 -13
  43. package/docs/ja/specdojo/standards/sample-authoring-standard.md +4 -4
  44. package/docs/ja/specdojo/standards/template-authoring-standard.md +4 -4
  45. package/docs/specdojo/schemas/v1/exec-common.schema.yaml +6 -0
  46. package/docs/specdojo/schemas/v1/exec-plan-frontmatter.schema.yaml +6 -6
  47. package/docs/specdojo/schemas/v1/register-item-frontmatter.schema.yaml +21 -4
  48. package/docs/specdojo/schemas/v1/specdojo-config.schema.yaml +29 -0
  49. package/package.json +2 -2
  50. package/templates/antigravity/README.md +1 -1
  51. package/templates/antigravity/settings.global.json +5 -0
  52. package/templates/claude/README.md +11 -8
  53. package/templates/claude/settings.edit.json +10 -1
  54. package/templates/claude/settings.orchestrator.json +90 -0
  55. package/templates/claude/settings.report.json +14 -1
  56. package/templates/claude/settings.review.json +13 -1
  57. package/templates/codex/README.md +7 -5
  58. package/templates/codex/rules/specdojo.rules +48 -0
  59. package/templates/devcontainer/devcontainer.json +1 -4
  60. package/templates/opencode/README.md +2 -1
  61. package/templates/opencode/agents/opencode-executor.md +2 -0
  62. package/templates/opencode/agents/opencode-review-executor.md +2 -0
  63. package/templates/opencode/agents/specdojo-orchestrator.md +59 -5
@@ -33,7 +33,7 @@ npx specdojo config scaffold --provider antigravity --global
33
33
  - 既存 JSON や permission 配列の形式が不正な場合は、バックアップも書き込みも行わずエラーにします。
34
34
  - `--force` はリポジトリ内の配布物だけに作用し、グローバル設定の既存項目を上書きしません。
35
35
 
36
- 権限原本は、必要な検証コマンドを allow し、`git push`、破壊的コマンド、秘密情報、親 runner・hook・CI・agent 設定を変更できるパスを deny します。`.specdojo/doc-index.json` のような既知の生成物は検証で更新できるよう、`.specdojo/` 全体ではなく設定ファイルと provider ディレクトリを個別に deny します。provider 非依存の実行後ガードも併用されます。
36
+ 権限原本は、必要な検証コマンドを allow し、`git push`、読み取りを含む全 `gh`、破壊的コマンド、秘密情報、親 runner・hook・CI・agent 設定を変更できるパスを deny します。`.specdojo/doc-index.json` のような既知の生成物は検証で更新できるよう、`.specdojo/` 全体ではなく設定ファイルと provider ディレクトリを個別に deny します。provider 非依存の実行後ガードも併用されます。
37
37
 
38
38
  ## オーケストレーターの起動
39
39
 
@@ -5,6 +5,11 @@
5
5
  "command(git add)",
6
6
  "command(git commit)",
7
7
  "command(git push)",
8
+ "command(gh)",
9
+ "command(/usr/bin/git push)",
10
+ "command(/usr/bin/gh)",
11
+ "command(/usr/local/bin/git push)",
12
+ "command(/usr/local/bin/gh)",
8
13
  "command(git reset --hard)",
9
14
  "command(rm -rf)",
10
15
  "command(sudo)",
@@ -13,12 +13,13 @@ specdojo:
13
13
 
14
14
  ## 2. 構成
15
15
 
16
- | パス | 利用プロジェクトでの配置先 | 説明 |
17
- | ---------------------- | -------------------------- | --------------------------------------------------------------------- |
18
- | `agents/*.md` | `.claude/agents/` | 役割ごとの agent 定義。`--agent <name>` で参照されるため配置先は固定 |
19
- | `settings.edit.json` | `.specdojo/claude/` | edit executor 用 permission 設定。成果物への書き込みを許可する |
20
- | `settings.review.json` | `.specdojo/claude/` | review executor 用 permission 設定。result 配下のみ書き込みを許可する |
21
- | `settings.report.json` | `.specdojo/claude/` | reporter 用 permission 設定。Edit/Write と git add/commit を拒否する |
16
+ | パス | 利用プロジェクトでの配置先 | 説明 |
17
+ | ---------------------------- | -------------------------- | --------------------------------------------------------------------- |
18
+ | `agents/*.md` | `.claude/agents/` | 役割ごとの agent 定義。`--agent <name>` で参照されるため配置先は固定 |
19
+ | `settings.edit.json` | `.specdojo/claude/` | edit executor 用 permission 設定 |
20
+ | `settings.orchestrator.json` | `.specdojo/claude/` | 対話型 orchestrator 用 permission 設定 |
21
+ | `settings.review.json` | `.specdojo/claude/` | review executor 用 permission 設定。result 配下のみ書き込みを許可する |
22
+ | `settings.report.json` | `.specdojo/claude/` | reporter 用 permission 設定。ファイル編集を拒否する |
22
23
 
23
24
  ## 3. 導入手順
24
25
 
@@ -28,7 +29,7 @@ specdojo:
28
29
  specdojo exec scaffold --provider claude
29
30
  ```
30
31
 
31
- 既存ファイルは上書きされません(`--force` 指定時のみ上書き)。`--dry-run` でコピー予定を確認できます。コピー後に次の 2 点を行います。
32
+ 既存ファイルは上書きされません(`--force` 指定時のみ上書き)。`--dry-run` でコピー予定を確認できます。scaffold が `package.json` に追加する対話型オーケストレーターの npm script は `settings.orchestrator.json` を指定し、executor 用の `settings.edit.json` は使いません。コピー後に次の 3 点を行います。
32
33
 
33
34
  1. `.specdojo/exec-defaults.yaml` の `providers.claude.command_template` に `--settings .specdojo/claude/settings.{mode}.json` を指定する(`--permission-mode bypassPermissions` は付けない)。member 側に `command` は書かない。
34
35
  2. agent の定義は役割(executor・review executor・reporter)ごとの 1 ファイルで、model を持たない。`command_params.by_mode` で mode から定義を選び、model は実体の member の `model` を `--model {model}` で渡す。
@@ -67,4 +68,6 @@ aliases:
67
68
 
68
69
  - edit 用の既定値は `docs/**`、`src/**`、`tests/**` を許可する。`Edit(...)` / `Write(...)` のパスパターンは、利用プロジェクトの成果物・execution ディレクトリ配置に合わせて調整する。
69
70
  - report 用の既定値はファイルへの Edit/Write と `git add` / `git commit` を deny する。reporter は evidence から構造化結果を返すだけで、result への反映は runner が行う。
70
- - 全セッション共通で効かせたい deny(`.env` 読み取り禁止、`git push` 禁止など)は、利用プロジェクトの `.claude/settings.json` に置く。ここで配布するロール別設定は `--settings` 指定時の追加マージであり、共通設定の allow を取り消すことはできない。
71
+ - executor・review executor・reporter は `git push` と全 `gh` を deny する。Dev Container の名前付き volume に GitHub 認証がある場合も、この 3 ロールは GitHub CLI を使わない。
72
+ - orchestrator 用設定は `Edit(**)` を許可し、executor 用設定にある保護対象の編集 deny を持たない。`git push`、`gh api`、PR・release・repository などの書き込みサブコマンドは deny し、`gh pr view`・`gh pr list`・`gh run list`・`gh run view`・`gh release view` などの読み取りだけを allow する。
73
+ - そのほかの全セッション共通 deny(`.env` 読み取り禁止など)は、利用プロジェクトの `.claude/settings.json` に置く。ここで配布するロール別設定は `--settings` 指定時の追加マージであり、共通設定の allow を取り消すことはできない。
@@ -26,7 +26,16 @@
26
26
  "Edit(./.gitlab-ci.yaml)",
27
27
  "Edit(./azure-pipelines.yml)",
28
28
  "Edit(./azure-pipelines.yaml)",
29
- "Edit(./Jenkinsfile)"
29
+ "Edit(./Jenkinsfile)",
30
+ "Bash(git push)",
31
+ "Bash(git push *)",
32
+ "Bash(gh *)",
33
+ "Bash(/usr/bin/git push)",
34
+ "Bash(/usr/bin/git push *)",
35
+ "Bash(/usr/bin/gh *)",
36
+ "Bash(/usr/local/bin/git push)",
37
+ "Bash(/usr/local/bin/git push *)",
38
+ "Bash(/usr/local/bin/gh *)"
30
39
  ]
31
40
  }
32
41
  }
@@ -0,0 +1,90 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "permissions": {
4
+ "allow": [
5
+ "Edit(**)",
6
+ "Bash(gh auth status:*)",
7
+ "Bash(gh issue list:*)",
8
+ "Bash(gh issue view:*)",
9
+ "Bash(gh pr checks:*)",
10
+ "Bash(gh pr diff:*)",
11
+ "Bash(gh pr list:*)",
12
+ "Bash(gh pr status:*)",
13
+ "Bash(gh pr view:*)",
14
+ "Bash(gh release list:*)",
15
+ "Bash(gh release view:*)",
16
+ "Bash(gh repo list:*)",
17
+ "Bash(gh repo view:*)",
18
+ "Bash(gh run list:*)",
19
+ "Bash(gh run view:*)",
20
+ "Bash(gh run watch:*)",
21
+ "Bash(gh search:*)",
22
+ "Bash(gh status:*)",
23
+ "Bash(gh workflow list:*)",
24
+ "Bash(gh workflow view:*)"
25
+ ],
26
+ "deny": [
27
+ "Bash(git push:*)",
28
+ "Bash(gh api:*)",
29
+ "Bash(gh auth login:*)",
30
+ "Bash(gh auth logout:*)",
31
+ "Bash(gh auth refresh:*)",
32
+ "Bash(gh auth setup-git:*)",
33
+ "Bash(gh alias:*)",
34
+ "Bash(gh codespace:*)",
35
+ "Bash(gh config:*)",
36
+ "Bash(gh extension:*)",
37
+ "Bash(gh gist:*)",
38
+ "Bash(gh gpg-key:*)",
39
+ "Bash(gh issue close:*)",
40
+ "Bash(gh issue comment:*)",
41
+ "Bash(gh issue create:*)",
42
+ "Bash(gh issue delete:*)",
43
+ "Bash(gh issue edit:*)",
44
+ "Bash(gh issue lock:*)",
45
+ "Bash(gh issue pin:*)",
46
+ "Bash(gh issue reopen:*)",
47
+ "Bash(gh issue transfer:*)",
48
+ "Bash(gh issue unlock:*)",
49
+ "Bash(gh issue unpin:*)",
50
+ "Bash(gh label:*)",
51
+ "Bash(gh project:*)",
52
+ "Bash(gh pr close:*)",
53
+ "Bash(gh pr comment:*)",
54
+ "Bash(gh pr create:*)",
55
+ "Bash(gh pr edit:*)",
56
+ "Bash(gh pr lock:*)",
57
+ "Bash(gh pr merge:*)",
58
+ "Bash(gh pr ready:*)",
59
+ "Bash(gh pr reopen:*)",
60
+ "Bash(gh pr review:*)",
61
+ "Bash(gh pr unlock:*)",
62
+ "Bash(gh release create:*)",
63
+ "Bash(gh release delete:*)",
64
+ "Bash(gh release delete-asset:*)",
65
+ "Bash(gh release edit:*)",
66
+ "Bash(gh release upload:*)",
67
+ "Bash(gh repo archive:*)",
68
+ "Bash(gh repo create:*)",
69
+ "Bash(gh repo delete:*)",
70
+ "Bash(gh repo edit:*)",
71
+ "Bash(gh repo fork:*)",
72
+ "Bash(gh repo rename:*)",
73
+ "Bash(gh repo set-default:*)",
74
+ "Bash(gh repo sync:*)",
75
+ "Bash(gh run cancel:*)",
76
+ "Bash(gh run delete:*)",
77
+ "Bash(gh run rerun:*)",
78
+ "Bash(gh secret:*)",
79
+ "Bash(gh ssh-key:*)",
80
+ "Bash(gh variable:*)",
81
+ "Bash(gh workflow disable:*)",
82
+ "Bash(gh workflow enable:*)",
83
+ "Bash(gh workflow run:*)",
84
+ "Bash(/usr/bin/git push:*)",
85
+ "Bash(/usr/bin/gh:*)",
86
+ "Bash(/usr/local/bin/git push:*)",
87
+ "Bash(/usr/local/bin/gh:*)"
88
+ ]
89
+ }
90
+ }
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
3
  "permissions": {
4
- "deny": ["Edit(**)", "Bash(git add *)", "Bash(git commit *)"]
4
+ "deny": [
5
+ "Edit(**)",
6
+ "Bash(git add *)",
7
+ "Bash(git commit *)",
8
+ "Bash(git push)",
9
+ "Bash(git push *)",
10
+ "Bash(gh *)",
11
+ "Bash(/usr/bin/git push)",
12
+ "Bash(/usr/bin/git push *)",
13
+ "Bash(/usr/bin/gh *)",
14
+ "Bash(/usr/local/bin/git push)",
15
+ "Bash(/usr/local/bin/git push *)",
16
+ "Bash(/usr/local/bin/gh *)"
17
+ ]
5
18
  }
6
19
  }
@@ -2,6 +2,18 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
3
  "permissions": {
4
4
  "allow": ["Edit(docs/ja/projects/**/exec/results/**)"],
5
- "deny": ["Bash(git add *)", "Bash(git commit *)"]
5
+ "deny": [
6
+ "Bash(git add *)",
7
+ "Bash(git commit *)",
8
+ "Bash(git push)",
9
+ "Bash(git push *)",
10
+ "Bash(gh *)",
11
+ "Bash(/usr/bin/git push)",
12
+ "Bash(/usr/bin/git push *)",
13
+ "Bash(/usr/bin/gh *)",
14
+ "Bash(/usr/local/bin/git push)",
15
+ "Bash(/usr/local/bin/git push *)",
16
+ "Bash(/usr/local/bin/gh *)"
17
+ ]
6
18
  }
7
19
  }
@@ -13,9 +13,10 @@ specdojo:
13
13
 
14
14
  ## 2. 構成
15
15
 
16
- | パス | 利用プロジェクトでの配置先 | 説明 |
17
- | --------------- | -------------------------- | ------------------------------------------------------ |
18
- | `agents/*.toml` | `.codex/agents/` | subagent 定義。command template から直接選択はされない |
16
+ | パス | 利用プロジェクトでの配置先 | 説明 |
17
+ | --------------- | -------------------------- | ---------------------------------------------------------- |
18
+ | `agents/*.toml` | `.codex/agents/` | subagent 定義。command template から直接選択はされない |
19
+ | `rules/*.rules` | `.codex/rules/` | `git push` と全 `gh` を拒否する project-local command rule |
19
20
 
20
21
  配布する subagent には、成果物の編集と検証だけを担い result を更新しない `codex-expert-executor` を含みます。
21
22
 
@@ -88,8 +89,9 @@ npm run orch:terra
88
89
 
89
90
  model を持たない従来の 1 段の member は、`command_params.by_proficiency` に `model` を書けばそのまま動く(member の `model` があればそちらが優先される)。
90
91
 
91
- 3. 対話セッション用のデフォルト(`.codex/config.toml`)は利用環境に合わせて作成する。モデルや `approval_policy` の好みを含むため、このテンプレートには含めていない。
92
- 4. コピーしたファイルと `.specdojo/agent-members.yaml` をコミットする。worktree はコミット済み内容から作られるため、未コミットだと agent 実行時に設定が読めない。
92
+ 3. scaffold が配置する `.codex/rules/specdojo.rules` を維持する。この rule は Dev Container の共有 GitHub 認証を agent が使わないよう、`git push` と読み取りを含む全 `gh` を `forbidden` にする。project-local rule は信頼済み project で読み込まれる。
93
+ 4. 対話セッション用のデフォルト(`.codex/config.toml`)は利用環境に合わせて作成する。モデルや `approval_policy` の好みを含むため、このテンプレートには含めていない。
94
+ 5. コピーしたファイルと `.specdojo/agent-members.yaml` をコミットする。worktree はコミット済み内容から作られるため、未コミットだと agent 実行時に設定が読めない。
93
95
 
94
96
  ## 4. カスタマイズ
95
97
 
@@ -0,0 +1,48 @@
1
+ # The Dev Container keeps GitHub CLI credentials in a named volume. Keep remote
2
+ # repository mutations under the user's direct control, even when credentials are
3
+ # visible to Codex.
4
+ prefix_rule(
5
+ pattern = [["git", "/usr/bin/git", "/usr/local/bin/git"], "push"],
6
+ decision = "forbidden",
7
+ justification = "SpecDojo agents must hand git push back to the user.",
8
+ match = [
9
+ "git push",
10
+ "git push origin main",
11
+ "git push --force-with-lease origin feature/example",
12
+ "/usr/bin/git push origin main",
13
+ ],
14
+ not_match = ["git status"],
15
+ )
16
+
17
+ prefix_rule(
18
+ pattern = [["gh", "/usr/bin/gh", "/usr/local/bin/gh"]],
19
+ decision = "forbidden",
20
+ justification = "GitHub CLI access is reserved for the user because the Dev Container shares its credentials with agents.",
21
+ match = [
22
+ "gh pr view 123",
23
+ "gh pr create --title example --body example",
24
+ "gh pr merge 123",
25
+ "gh pr close 123",
26
+ "gh release create v1.0.0",
27
+ "gh repo delete owner/repo",
28
+ "gh api --method POST repos/owner/repo/issues",
29
+ "/usr/bin/gh pr create --title example --body example",
30
+ ],
31
+ not_match = ["git status"],
32
+ )
33
+
34
+ prefix_rule(
35
+ pattern = ["env", ["git", "/usr/bin/git", "/usr/local/bin/git"], "push"],
36
+ decision = "forbidden",
37
+ justification = "SpecDojo agents must hand git push back to the user.",
38
+ match = ["env git push origin main", "env /usr/bin/git push origin main"],
39
+ not_match = ["env git status"],
40
+ )
41
+
42
+ prefix_rule(
43
+ pattern = ["env", ["gh", "/usr/bin/gh", "/usr/local/bin/gh"]],
44
+ decision = "forbidden",
45
+ justification = "GitHub CLI access is reserved for the user because the Dev Container shares its credentials with agents.",
46
+ match = ["env gh pr view 123", "env /usr/bin/gh pr create --title example --body example"],
47
+ not_match = ["env git status"],
48
+ )
@@ -11,10 +11,7 @@
11
11
  "upgradePackages": false
12
12
  }
13
13
  },
14
- "mounts": [
15
- "source=specdojo-git,target=/home/node/.config/git,type=volume",
16
- "source=specdojo-gh,target=/home/node/.config/gh,type=volume"
17
- ],
14
+ "mounts": ["source=specdojo-git,target=/home/node/.config/git,type=volume"],
18
15
  "containerEnv": {
19
16
  "GIT_CONFIG_GLOBAL": "/home/node/.config/git/config"
20
17
  },
@@ -56,5 +56,6 @@ specdojo exec scaffold --provider opencode
56
56
  - 使う場合は `.specdojo/agent-members.yaml` の `model` を `ollama-local/gemma4:26b-mlx` などに書き換えてください。Modelfile で文脈を広げる場合は `FROM` に mlx 版のタグを書きます。
57
57
  - 既定の雛形は環境を選ばない無印のタグ(`gemma4:26b`・`gemma4:31b`)のままとします。
58
58
  - executor の result パス deny と reporter の全ツール deny は、pipeline の責務境界なので維持する。
59
- - `bash` は deny 基点の許可リストを維持する。`git add` / `git commit` を許可しないこと(許可すると specdojo CLI の commit 許可リストを迂回できる)。
59
+ - executor・review executor の `bash` は deny 基点の許可リストを維持する。`git add` / `git commit` を許可せず、末尾の `git push` と全 `gh` の明示 deny も維持する(許可リストの追加で remote 操作を誤って開かないため)。
60
+ - orchestrator は利用者の承認後に保護設定も変更できるよう `edit` をリポジトリ全体で allow する。`gh pr view`・`gh pr list`・`gh run list`・`gh run view`・`gh release view` などの読み取りだけを allow し、`git push`、`gh api`、PR・release・repository などの書き込みサブコマンドは明示 deny する。それ以外の `gh` は先頭の `"*": deny` により拒否する。
60
61
  - 権限設計の背景は `exec-config-guide.md` の `agent 権限とプロンプトインジェクション対策` を参照する。
@@ -29,6 +29,8 @@ permission:
29
29
  "ls *": allow
30
30
  "grep *": allow
31
31
  "sed -n *": allow
32
+ "git push*": deny
33
+ "gh *": deny
32
34
  edit:
33
35
  "*": deny
34
36
  "docs/**": allow
@@ -22,6 +22,8 @@ permission:
22
22
  "npm run lint:fm*": allow
23
23
  "npm run validate:schema:file*": allow
24
24
  "specdojo exec validate*": allow
25
+ "git push*": deny
26
+ "gh *": deny
25
27
  edit: deny
26
28
  task: deny
27
29
  webfetch: allow
@@ -33,11 +33,65 @@ permission:
33
33
  "npm run lint:md*": allow
34
34
  "npm run lint:fm*": allow
35
35
  "npm run validate:schema:file*": allow
36
- edit:
37
- "*": deny
38
- "docs/**": allow
39
- "src/**": allow
40
- "tests/**": allow
36
+ "gh auth status*": allow
37
+ "gh issue list*": allow
38
+ "gh issue status*": allow
39
+ "gh issue view*": allow
40
+ "gh pr checks*": allow
41
+ "gh pr diff*": allow
42
+ "gh pr list*": allow
43
+ "gh pr status*": allow
44
+ "gh pr view*": allow
45
+ "gh release list*": allow
46
+ "gh release view*": allow
47
+ "gh repo list*": allow
48
+ "gh repo view*": allow
49
+ "gh run list*": allow
50
+ "gh run view*": allow
51
+ "gh run watch*": allow
52
+ "gh search *": allow
53
+ "gh status*": allow
54
+ "gh workflow list*": allow
55
+ "gh workflow view*": allow
56
+ "git push*": deny
57
+ "gh api*": deny
58
+ "gh pr close*": deny
59
+ "gh pr create*": deny
60
+ "gh pr merge*": deny
61
+ "gh auth login*": deny
62
+ "gh auth logout*": deny
63
+ "gh auth refresh*": deny
64
+ "gh auth setup-git*": deny
65
+ "gh * archive*": deny
66
+ "gh * cancel*": deny
67
+ "gh * clone*": deny
68
+ "gh * close*": deny
69
+ "gh * comment*": deny
70
+ "gh * create*": deny
71
+ "gh * delete*": deny
72
+ "gh * disable*": deny
73
+ "gh * edit*": deny
74
+ "gh * enable*": deny
75
+ "gh * fork*": deny
76
+ "gh * install*": deny
77
+ "gh * lock*": deny
78
+ "gh * merge*": deny
79
+ "gh * pin*": deny
80
+ "gh * ready*": deny
81
+ "gh * remove*": deny
82
+ "gh * rename*": deny
83
+ "gh * reopen*": deny
84
+ "gh * rerun*": deny
85
+ "gh * review*": deny
86
+ "gh * run*": deny
87
+ "gh * set*": deny
88
+ "gh * sync*": deny
89
+ "gh * transfer*": deny
90
+ "gh * unlock*": deny
91
+ "gh * unpin*": deny
92
+ "gh * upgrade*": deny
93
+ "gh * upload*": deny
94
+ edit: allow
41
95
  task: deny
42
96
  webfetch: allow
43
97
  websearch: allow