diff --git a/src/create-prompt/index.ts b/src/create-prompt/index.ts index 135b020..5f6d6c7 100644 --- a/src/create-prompt/index.ts +++ b/src/create-prompt/index.ts @@ -60,8 +60,6 @@ export function buildAllowedToolsString( "Bash(git diff:*)", "Bash(git log:*)", "Bash(git rm:*)", - "Bash(git config user.name:*)", - "Bash(git config user.email:*)", ); } diff --git a/test/create-prompt.test.ts b/test/create-prompt.test.ts index 5e86ab1..c97f159 100644 --- a/test/create-prompt.test.ts +++ b/test/create-prompt.test.ts @@ -1041,8 +1041,6 @@ describe("buildAllowedToolsString", () => { expect(result).toContain("Bash(git diff:*)"); expect(result).toContain("Bash(git log:*)"); expect(result).toContain("Bash(git rm:*)"); - expect(result).toContain("Bash(git config user.name:*)"); - expect(result).toContain("Bash(git config user.email:*)"); // Comment tool from minimal server should be included expect(result).toContain("mcp__github_comment__update_claude_comment");