From 3a48483973394a26c6bc0b092a1e8c3de38d14e9 Mon Sep 17 00:00:00 2001 From: Pierre Wessman <4029607+pierrewessman@users.noreply.github.com> Date: Thu, 2 Oct 2025 12:59:53 +0200 Subject: [PATCH] claude settings --- .claude/commands/build.md | 1 + .claude/commands/git-commit.md | 2 ++ .claude/settings.local.json | 8 ++++---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .claude/commands/build.md create mode 100644 .claude/commands/git-commit.md diff --git a/.claude/commands/build.md b/.claude/commands/build.md new file mode 100644 index 0000000..4f43d0d --- /dev/null +++ b/.claude/commands/build.md @@ -0,0 +1 @@ +run 'pnpm run build' and verify the build \ No newline at end of file diff --git a/.claude/commands/git-commit.md b/.claude/commands/git-commit.md new file mode 100644 index 0000000..b26bd09 --- /dev/null +++ b/.claude/commands/git-commit.md @@ -0,0 +1,2 @@ +Commit this to git. +Finally do 'git push origin' \ No newline at end of file diff --git a/.claude/settings.local.json b/.claude/settings.local.json index b77d393..e3ae688 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,11 +1,11 @@ { "permissions": { "allow": [ - "Bash(find:*)", - "Bash(cat:*)", + "Bash(git push:*)", "Bash(pnpm run:*)", - "Bash(mkdir:*)", - "Bash(git log:*)" + "Bash(git add:*)", + "Bash(git commit -m \"$(cat <<''EOF''\nImplement collision avoidance for puck carrier with debug visualization\n\n- Add threat detection system that detects opponents within 3m radius\n- Puck carrier automatically evades when opponent is in path to goal\n- Evasion direction (left/right) persists while opponent in threat zone\n- Fix behavior tree instantiation to reuse trees per player\n- Add comprehensive debug visualization (magenta circle, threat indicators)\n- Fix DefensiveBehavior type errors (carrierTeam -> possession)\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude \nEOF\n)\")", + "Bash(git commit -m \"$(cat <<''EOF''\nAdd minimum speed requirement for tackle execution\n\n- Players must be moving at least 2 m/s to execute a tackle\n- Add TACKLE_MIN_SPEED constant (2 m/s) in constants.ts\n- Add Player.getCurrentSpeed() method to expose current speed\n- Check tackler speed in executeTackle() before attempting tackle\n- Log speed in tackle debug output for tuning\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude \nEOF\n)\")" ], "deny": [], "ask": []