feat: sandboxed claude session launcher scripts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
346042f1c5
commit
1dea5c697c
3 changed files with 176 additions and 0 deletions
11
scripts/refactor-claude.sh
Executable file
11
scripts/refactor-claude.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# Backwards-compatible wrapper for the ~/nixos-refactor/ worktree workflow.
|
||||
# Equivalent to `scripts/sandbox-claude.sh` with no target arg — sandboxes
|
||||
# the worktree containing this script under the policy in
|
||||
# scripts/sandbox-settings.json.
|
||||
#
|
||||
# For sandboxing a different repo (e.g. a new public template under
|
||||
# development), use sandbox-claude.sh <dir> directly.
|
||||
|
||||
set -euo pipefail
|
||||
exec "$(dirname "$(readlink -f "$0")")/sandbox-claude.sh" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue