From ad9c0e326d342bc5f2149301f1ef9348a072f4a4 Mon Sep 17 00:00:00 2001 From: Samuel Glauser Date: Thu, 16 Apr 2026 15:12:36 +0200 Subject: [PATCH 1/2] new settings.json file, changes to gitignore and CLAUDE files --- .../{settings.local.json => settings.json} | 195 ++++++++---------- .gitignore | 3 + CLAUDE.md | 4 - 3 files changed, 88 insertions(+), 114 deletions(-) rename .claude/{settings.local.json => settings.json} (50%) diff --git a/.claude/settings.local.json b/.claude/settings.json similarity index 50% rename from .claude/settings.local.json rename to .claude/settings.json index d816952e4..378f9e7c8 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.json @@ -1,134 +1,109 @@ { "permissions": { "allow": [ - "Bash(grep:*)", - "Bash(dotnet build:*)", + "Bash(aspire deploy:*)", + "Bash(aspire mcp:*)", + "Bash(az account:*)", + "Bash(az containerapp * list:*)", + "Bash(az containerapp * show:*)", + "Bash(az containerapp logs:*)", + "Bash(az monitor * list:*)", + "Bash(az monitor * show:*)", + "Bash(az monitor activity-log:*)", + "Bash(az monitor log-analytics query:*)", + "Bash(az monitor metrics:*)", + "Bash(az postgres * list:*)", + "Bash(az postgres * show:*)", "Bash(cat:*)", - "Bash(iconv:*)", - "Bash(ls:*)", - "Bash(rg:*)", - "Bash(find:*)", - "Bash(dotnet restore:*)", - "Bash(dotnet test:*)", - "Bash(dotnet clean:*)", - "Bash(dotnet nuget locals:*)", - "Bash(rm:*)", - "Bash(diff:*)", - "Bash(mv:*)", - "Bash(timeout:*)", - "Bash(true)", - "WebFetch(domain:xunit.net)", - "Bash(dotnet add:*)", - "Bash(dotnet search:*)", - "Bash(dotnet list package:*)", - "Bash(dotnet remove:*)", - "Bash(dotnet run:*)", + "Bash(claude:*)", + "Bash(cmp:*)", "Bash(cp:*)", - "Bash(sed:*)", - "WebFetch(domain:docs.anthropic.com)", - "Bash(dotnet tool install:*)", + "Bash(curl:*)", + "Bash(diff:*)", + "Bash(docker exec:*)", + "Bash(docker ps:*)", + "Bash(docker run:*)", + "Bash(dotnet-dump analyze:*)", + "Bash(dotnet-ildasm:*)", "Bash(dotnet:*)", - "Bash(pwsh:*)", - "Bash(powershell.exe:*)", - "Bash(mkdir:*)", - "WebFetch(domain:github.com)", - "WebSearch", + "Bash(echo:*)", + "Bash(exit 0)", + "Bash(find:*)", + "Bash(gh:*)", + "Bash(git add:*)", + "Bash(git blame:*)", + "Bash(git check-ignore:*)", "Bash(git checkout:*)", - "Bash(tee:*)", - "Bash(git restore:*)", - "Bash(meshweaver-thumbnails:*)", - "Bash(findstr:*)", + "Bash(git diff:*)", + "Bash(git fetch:*)", + "Bash(git grep:*)", "Bash(git log:*)", - "Bash(python:*)", - "Bash(python3:*)", - "Bash(test:*)", - "Bash(Select-Object -Last 20)", + "Bash(git ls-remote:*)", + "Bash(git ls-tree:*)", "Bash(git mv:*)", - "Bash(dir:*)", - "Bash(node --check:*)", - "Bash(cd:*)", - "Bash(git stash:*)", - "Bash(git grep:*)", - "Bash(xargs:*)", - "Bash(taskkill:*)", - "WebFetch(domain:www.nuget.org)", - "Bash(curl:*)", - "Bash(git add:*)", - "Bash(git commit:*)", - "Bash(for f in *.json)", - "Bash(done)", - "Bash(tree:*)", - "WebFetch(domain:raw.githubusercontent.com)", - "WebFetch(domain:www.fluentui-blazor.net)", - "Bash(do sed -i 's/CodeFile/CodeConfiguration/g' \"$f\")", - "Bash(/dev/null -exec cat {} ;)", - "WebFetch(domain:localhost)", "Bash(git pull:*)", - "Bash(git check-ignore:*)", - "Bash(echo:*)", - "Bash(source ~/.zshrc)", - "Bash(pkill:*)", - "Bash(lsof:*)", - "Bash(xxd:*)", - "Bash(brew install:*)", - "Bash(brew:*)", - "Bash(kill:*)", - "Bash(git fetch:*)", + "Bash(git restore:*)", + "Bash(git rev-parse:*)", + "Bash(git show:*)", + "Bash(git stash:*)", + "Bash(git status:*)", + "Bash(grep:*)", "Bash(head:*)", + "Bash(iconv:*)", + "Bash(ilspycmd:*)", + "Bash(kill:*)", + "Bash(ls:*)", + "Bash(lsof:*)", + "Bash(meshweaver-thumbnails:*)", + "Bash(mkdir:*)", + "Bash(mv:*)", + "Bash(node --check:*)", "Bash(pgrep:*)", - "Bash(gh extension list:*)", - "Bash(gh:*)", - "Bash(claude:*)", + "Bash(pkill:*)", + "Bash(python3:*)", + "Bash(python:*)", + "Bash(rg:*)", + "Bash(sed:*)", "Bash(tail:*)", - "Bash(git diff:*)", - "Bash(dotnet-ildasm:*)", + "Bash(tee:*)", + "Bash(test:*)", + "Bash(timeout:*)", + "Bash(tr:*)", + "Bash(true)", "Bash(unzip:*)", - "Bash(ilspycmd:*)", - "Bash(nm:*)", - "Bash(docker run:*)", - "Bash(git ls-tree:*)", - "Bash(git rev-parse:*)", "Bash(wc:*)", - "Bash(git show:*)", + "Bash(xargs:*)", + + "WebFetch(domain:aspire.dev)", "WebFetch(domain:cdnjs.cloudflare.com)", - "Bash(tr:*)", - "Bash(cmp:*)", - "Bash(while read f)", - "Bash(git blame:*)", + "WebFetch(domain:docs.anthropic.com)", + "WebFetch(domain:en.wikipedia.org)", "WebFetch(domain:fluent2.microsoft.design)", - "Bash(sips:*)", - "Bash(bc:*)", - "Bash(tasklist:*)", - "Bash(dotnet-dump analyze:*)", - "Bash(aspire mcp:*)", - "mcp__aspire__list_resources", + "WebFetch(domain:github.com)", + "WebFetch(domain:localhost)", + "WebFetch(domain:raw.githubusercontent.com)", + "WebFetch(domain:www.fluentui-blazor.net)", + "WebFetch(domain:www.nuget.org)", + "WebFetch(domain:xunit.net)", + + "WebSearch", + + "mcp__aspire__list_apphosts", "mcp__aspire__list_console_logs", + "mcp__aspire__list_resources", "mcp__aspire__list_structured_logs", "mcp__aspire__list_traces", - "Bash(az postgres:*)", - "WebFetch(domain:aspire.dev)", - "mcp__aspire__list_apphosts", - "Bash(az account:*)", - "Bash(git status:*)", - "WebFetch(domain:en.wikipedia.org)", - "Bash(docker ps:*)", - "Bash(docker exec:*)", - "Bash(DOTNET_CLI_UI_LANGUAGE=en dotnet --list-runtimes 2>&1 || echo \"FAILED\")", - "Bash(powershell -Command \"dotnet --version\" 2>&1)", - "Bash(powershell -Command \"dotnet --list-runtimes\" 2>&1)", - "Bash(for dir in Northwind ACME Cornerstone)", - "Bash(do echo \"=== $dir ===\")", - "Bash(1 <<'EOF'\nusing HtmlAgilityPack;\n\nvar html = \"Link
Link2\";\nvar doc = new HtmlDocument\\(\\);\ndoc.LoadHtml\\(html\\);\n\nvar td = doc.DocumentNode.SelectSingleNode\\(\"//td\"\\);\nConsole.WriteLine\\(\"TD node found: \" + \\(td != null\\)\\);\nConsole.WriteLine\\(\"TD child nodes count: \" + \\(td?.ChildNodes.Count ?? 0\\)\\);\n\nforeach \\(var child in td?.ChildNodes ?? new List\\(\\)\\)\n{\n Console.WriteLine\\($\" Node type: {child.NodeType}, Name: '{child.Name}', HasChildNodes: {child.HasChildNodes}\"\\);\n if \\(child.NodeType == HtmlNodeType.Text\\)\n Console.WriteLine\\($\" Text: '{child.InnerText}'\"\\);\n}\nEOF)", - "Bash(file:*)", - "Bash(aspire deploy:*)", - "Bash(az monitor:*)", - "mcp__aspire__select_apphost", - "Bash(git ls-remote:*)", - "Bash(git push:*)", - "Bash(exit 0)", - "WebFetch(domain:gist.github.com)" + "mcp__aspire__select_apphost" ], - "deny": [] + "deny": [ + "Bash(az group delete:*)", + "Bash(git push --force:*)", + "Bash(git push -f:*)", + "Bash(git reset --hard:*)", + "Bash(rm -rf /:*)", + "Bash(rm -rf ~:*)", + "Bash(sudo:*)" + ] }, "enableAllProjectMcpServers": true } diff --git a/.gitignore b/.gitignore index 1191e9994..2220f6b55 100644 --- a/.gitignore +++ b/.gitignore @@ -383,3 +383,6 @@ samples/Graph/Data/VUser/ /memex/Azurite/Data/__blobstorage__/cb6d455a-1fd9-4c04-bef4-96453cf54208 /memex/Azurite/Data/__blobstorage__/1925247c-9d12-4714-81be-90fb21037ea8 /memex/Azurite/Data/__blobstorage__/4bfa3197-30d4-4325-9c7f-71b21bd3e418 + +# Claude Code personal settings +.claude/settings.local.json diff --git a/CLAUDE.md b/CLAUDE.md index a7c9bf04c..ee4520b1f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,10 +2,6 @@ This file provides guidance to AI agents when working with code in this repository. -## Git Workflow - -**NEVER commit or push automatically.** Always wait for the user to explicitly ask for a commit or push. Present changes for review first. - ## Documentation Documentation is embedded in `src/MeshWeaver.Documentation/` and served under the `Doc/` namespace at runtime. From 177a5df1b655ab0c07f484abf5b8f400f88f2923 Mon Sep 17 00:00:00 2001 From: Samuel Glauser Date: Sun, 19 Apr 2026 23:13:29 +0200 Subject: [PATCH 2/2] updates to settings.json --- .claude/settings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index 378f9e7c8..73b5e89b5 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -20,7 +20,9 @@ "Bash(cp:*)", "Bash(curl:*)", "Bash(diff:*)", + "Bash(docker cp:*)", "Bash(docker exec:*)", + "Bash(docker inspect:*)", "Bash(docker ps:*)", "Bash(docker run:*)", "Bash(dotnet-dump analyze:*)", @@ -28,6 +30,7 @@ "Bash(dotnet:*)", "Bash(echo:*)", "Bash(exit 0)", + "Bash(file:*)", "Bash(find:*)", "Bash(gh:*)", "Bash(git add:*)", @@ -57,6 +60,8 @@ "Bash(meshweaver-thumbnails:*)", "Bash(mkdir:*)", "Bash(mv:*)", + "Bash(netstat:*)", + "Bash(nm:*)", "Bash(node --check:*)", "Bash(pgrep:*)", "Bash(pkill:*)", @@ -64,13 +69,16 @@ "Bash(python:*)", "Bash(rg:*)", "Bash(sed:*)", + "Bash(sleep:*)", "Bash(tail:*)", "Bash(tee:*)", "Bash(test:*)", "Bash(timeout:*)", "Bash(tr:*)", + "Bash(tree:*)", "Bash(true)", "Bash(unzip:*)", + "Bash(wait:*)", "Bash(wc:*)", "Bash(xargs:*)", @@ -79,9 +87,11 @@ "WebFetch(domain:docs.anthropic.com)", "WebFetch(domain:en.wikipedia.org)", "WebFetch(domain:fluent2.microsoft.design)", + "WebFetch(domain:gist.github.com)", "WebFetch(domain:github.com)", "WebFetch(domain:localhost)", "WebFetch(domain:raw.githubusercontent.com)", + "WebFetch(domain:support.claude.com)", "WebFetch(domain:www.fluentui-blazor.net)", "WebFetch(domain:www.nuget.org)", "WebFetch(domain:xunit.net)",