feat(remote): unify remote execution workflow with env-based config

- Replace hardcoded SSH/docker targets with environment variables
- Add remote-check, remote-dry, remote-test, remote-test-one recipes
- Add remote cmd for arbitrary command execution in docker container
This commit is contained in:
2026-05-03 15:29:01 +08:00
parent f5daaa2667
commit 7450505a86
5 changed files with 377 additions and 11 deletions

24
.safety-net.json Normal file
View File

@@ -0,0 +1,24 @@
{
"$schema": "https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/assets/cc-safety-net.schema.json",
"version": 1,
"rules": [
{
"name": "block-uv-run",
"command": "uv",
"subcommand": "run",
"block_args": [
"python",
"python3",
"pytest",
"pip",
"-m",
"--module",
"--help",
"--version",
"-h",
"-v"
],
"reason": "uv run is blocked in this project. Use direct command execution instead."
}
]
}