From 96f7d8e8f7b01cbb9cbceca65b7d59de4ba64167 Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 1 Jun 2026 01:34:19 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20Claude=20Code=20project=20?= =?UTF-8?q?settings=20and=20fix=20gitignore=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .claude/settings.json: permission allowlist for docker buildx/ps/run/pull, make check/test/build, curl fetches, and the project gitcommit invocation; reduces per-command permission prompts during development - .gitignore: expand Claude Code ignore patterns to cover all runtime and personal files (backups/, cache/, file-history/, history.jsonl, projects/, statsFile, *.lock) per project_files.md rules; settings.json is a committable project config and remains tracked .claude/ .gitignore --- .claude/settings.json | 22 ++++++++++++++++++++++ .gitignore | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..3685d79 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,22 @@ +{ + "permissions": { + "allow": [ + "Bash(docker buildx *)", + "Bash(docker image *)", + "Bash(docker images *)", + "Bash(docker system df *)", + "Bash(docker stats --no-stream *)", + "Bash(docker ps *)", + "Bash(docker run --rm *)", + "Bash(docker info *)", + "Bash(docker pull *)", + "Bash(make check *)", + "Bash(make test *)", + "Bash(make build *)", + "Bash(curl -fsSL *)", + "Bash(curl -fsSo *)", + "Bash(curl -fsSLI *)", + "Bash(gitcommit --dir /root/Projects/github/dockersrc/go all)" + ] + } +} diff --git a/.gitignore b/.gitignore index d155d5b..bfffc06 100644 --- a/.gitignore +++ b/.gitignore @@ -112,6 +112,12 @@ Session.vim ### AI tool local configs (personal settings, never commit) ### # Claude Code .claude/settings.local.json +.claude/backups/ +.claude/cache/ +.claude/file-history/ +.claude/history.jsonl +.claude/projects/ +.claude/statsFile .claude/*.lock # Cursor