omnixient/scripts/refactor-claude.sh
Padreug 1dea5c697c feat: sandboxed claude session launcher scripts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 09:59:05 +02:00

11 lines
470 B
Bash
Executable file

#!/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" "$@"