chore: add project docs and agent workflow setup
This commit is contained in:
1 parent
b647343c99
commit
95e1b9cb89
15 files changed
+894
-1
No files matched your search
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
||||
"attribution": {
|
||||
"commit": "",
|
||||
"pr": ""
|
||||
},
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(uv sync:*)",
|
||||
"Bash(uv add:*)",
|
||||
"Bash(uv run pytest:*)",
|
||||
"Bash(uv run ruff:*)",
|
||||
"Bash(git status:*)",
|
||||
"Bash(git diff:*)",
|
||||
"Bash(git log:*)",
|
||||
"Bash(git show:*)",
|
||||
"Bash(git add:*)",
|
||||
"Bash(docker compose ps:*)",
|
||||
"Bash(docker compose logs:*)",
|
||||
"Bash(docker compose up:*)",
|
||||
"Bash(docker compose down)",
|
||||
"Bash(curl http://localhost:*)"
|
||||
],
|
||||
"ask": [
|
||||
"Bash(uv run deverenz:*)",
|
||||
"Bash(git commit:*)",
|
||||
"Bash(git push:*)",
|
||||
"Bash(docker compose down -v:*)",
|
||||
"Bash(.claude/scripts/gitea.sh POST:*)",
|
||||
"Bash(.claude/scripts/gitea.sh PATCH:*)",
|
||||
"Bash(.claude/scripts/gitea.sh PUT:*)",
|
||||
"Bash(.claude/scripts/gitea.sh DELETE:*)"
|
||||
],
|
||||
"deny": [
|
||||
"Read(./.env)",
|
||||
"Read(./.env.local)",
|
||||
"Read(./.env.production)",
|
||||
"Bash(cat .env:*)",
|
||||
"Read(~/.config/deverenz-agent/**)",
|
||||
"Bash(cat ~/.config/deverenz-agent:*)",
|
||||
"Bash(rm -rf:*)"
|
||||
]
|
||||
},
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Edit|Write",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/ruff-format.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/check-on-stop.sh",
|
||||
"timeout": 300
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user