Sync session changes: CLAUDE.md teardown step, settings allowed commands

- CLAUDE.md: add step 5 to infrastructure protocol (tear down after testing)
- .claude/settings.local.json: add git push, docker compose, docker run to
  allowed commands accumulated during this session

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
curo1305
2026-04-13 21:53:48 +02:00
parent f37c7ae55d
commit 6cfb41b71e
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
"allow": [ "allow": [
"Bash(git init:*)", "Bash(git init:*)",
"Bash(git add:*)", "Bash(git add:*)",
"Bash(git commit -m ':*)" "Bash(git commit -m ':*)",
"Bash(git push:*)",
"Bash(docker compose:*)",
"Bash(docker run:*)"
] ]
} }
} }
+6
View File
@@ -106,6 +106,12 @@ After **any** change to Dockerfiles, `docker-compose*.yml`, `nginx.conf`, setup
docker compose up --build -d docker compose up --build -d
``` ```
4. Confirm each container is running as a non-root user (`docker inspect <container> --format '{{.Config.User}}'`). 4. Confirm each container is running as a non-root user (`docker inspect <container> --format '{{.Config.User}}'`).
5. **Tear down after testing** — stop and remove all containers, networks, and volumes:
```bash
docker compose down --volumes --remove-orphans
# or for dev stack:
docker compose -f docker-compose.yml -f docker-compose.dev.yml down --volumes --remove-orphans
```
## Security hook ## Security hook