diff --git a/.claude/commands/oban-status.md b/.claude/commands/oban-status.md deleted file mode 100644 index 85587565..00000000 --- a/.claude/commands/oban-status.md +++ /dev/null @@ -1,12 +0,0 @@ -Query the Oban job queue status using Tidewave's `execute_sql_query` tool against the `MusicLibrary.BackgroundRepo`. - -Run this SQL query: - -```sql -SELECT state, worker, count(*) as count -FROM oban_jobs -GROUP BY state, worker -ORDER BY state, count DESC -``` - -Present the results as a formatted table grouped by state. If there are failed or retryable jobs, show their error details. diff --git a/.claude/commands/precommit.md b/.claude/commands/precommit.md deleted file mode 100644 index a1954145..00000000 --- a/.claude/commands/precommit.md +++ /dev/null @@ -1 +0,0 @@ -Run the full pre-commit check pipeline (`mise run dev:precommit`) and report the results. If any check fails, identify the specific failure and suggest a fix. diff --git a/.claude/commands/validate-docker-image.md b/.claude/commands/validate-docker-image.md deleted file mode 100644 index 31e2e450..00000000 --- a/.claude/commands/validate-docker-image.md +++ /dev/null @@ -1,3 +0,0 @@ -Run `mise run dev:validate-docker-image` to check that the Dockerfile builder image tag exists on Docker Hub and supports all required architectures (linux/amd64 and linux/arm64). - -Report the results. If validation fails, explain which architecture is missing and suggest checking the available tags at https://hub.docker.com/r/hexpm/elixir/tags. diff --git a/.claude/hooks/format-elixir.sh b/.claude/hooks/format-elixir.sh deleted file mode 100755 index ee9a8dea..00000000 --- a/.claude/hooks/format-elixir.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -set -e - -INPUT=$(cat) -FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path') - -if [[ "$FILE_PATH" == *.ex ]] || [[ "$FILE_PATH" == *.exs ]] || [[ "$FILE_PATH" == *.heex ]]; then - cd "$CLAUDE_PROJECT_DIR" - mix format "$FILE_PATH" 2>/dev/null || true -fi - -exit 0 diff --git a/.claude/hooks/gettext-extract.sh b/.claude/hooks/gettext-extract.sh deleted file mode 100755 index e184e53c..00000000 --- a/.claude/hooks/gettext-extract.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -set -e - -INPUT=$(cat) -FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path') - -if [[ "$FILE_PATH" == *.heex ]]; then - cd "$CLAUDE_PROJECT_DIR" - mix gettext.extract --merge 2>/dev/null || true -fi - -exit 0 diff --git a/.claude/settings.json b/.claude/settings.json deleted file mode 100644 index e1f14bf3..00000000 --- a/.claude/settings.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(cat:*)", - "Bash(find:*)", - "Bash(gh issue:*)", - "Bash(gh label:*)", - "Bash(git show:*)", - "Bash(grep:*)", - "Bash(head:*)", - "Bash(ls:*)", - "Bash(mise generate:*)", - "Bash(mise run:*)", - "Bash(mise tasks:*)", - "Bash(mix *)", - "Bash(mkdir:*)", - "Bash(mv:*)", - "Bash(python3:*)", - "Bash(shellcheck:*)", - "Bash(sqlite3:*)", - "Bash(wc:*)", - "Bash(while read dir)", - "Bash(xargs sed:*)", - "WebFetch(domain:github.com)", - "WebFetch(domain:hex.pm)", - "WebFetch(domain:hexdocs.pm)", - "WebSearch", - "mcp__backlog", - "mcp__plugin_chrome-devtools-mcp_chrome-devtools", - "mcp__tidewave" - ] - }, - "enableAllProjectMcpServers": true, - "hooks": { - "PostToolUse": [ - { - "matcher": "Edit|Write", - "hooks": [ - { - "type": "command", - "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-elixir.sh", - "timeout": 30 - }, - { - "type": "command", - "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/gettext-extract.sh", - "timeout": 30, - "async": true - } - ] - } - ] - } -} diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 6fef86aa..21823605 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -86,7 +86,6 @@ jobs: - name: 🐚 Run Shellcheck run: | fd . 'scripts/' --exclude '*.hurl' -t file --exec shellcheck --color - fd . '.claude/hooks' -t file --exec shellcheck --color - name: 🐳 Validate Docker builder image run: mise run dev:validate-docker-image diff --git a/scripts/dev/lint b/scripts/dev/lint index 81da6b7a..cf596bb2 100755 --- a/scripts/dev/lint +++ b/scripts/dev/lint @@ -22,4 +22,3 @@ mix gettext.extract --merge debug_msg "Running shellcheck..." fd . 'scripts/' --exclude '*.hurl' -t file --exec shellcheck --color -fd . '.claude/hooks' -t file --exec shellcheck --color diff --git a/scripts/dev/precommit b/scripts/dev/precommit index b4e677d3..3f224782 100755 --- a/scripts/dev/precommit +++ b/scripts/dev/precommit @@ -10,7 +10,6 @@ ensure_working_directory! debug_msg "Running shellcheck..." fd . 'scripts/' --exclude '*.hurl' -t file --exec shellcheck --color -fd . '.claude/hooks' -t file --exec shellcheck --color debug_msg "Running credo..." mix credo --strict