mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 00:51:31 +01:00
Codex skills no longer stop on temp-file cleanup, which Codex refuses as rm -f (GST-3364) (#4612)
Skills that clean up temp files now run on Codex: Codex CLI refuses any `rm` with a force flag, and 67 of the 1,239 shell blocks in gstack's Codex skills used one. This unblocks gstack on Codex (office-hours, review, ship, the plan reviews, spec and gstack-upgrade all hit it). Nothing to do after merging. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=state-machines Review-Finding: gstack-upgrade/SKILL.md.tmpl:363:posix-sh-brace-expansion reader=core
This commit is contained in:
1 parent
43c9c201e3
commit
bd77c8ccaa
86 files changed
+337
-204
No files matched your search
@@ -97,7 +97,7 @@ set -e
|
||||
PROMPT_SOURCE='<prepared-prompt-file>'
|
||||
RUNTIME_ROOT='<gstack-runtime-root>'
|
||||
CLAUDE_TMP=''
|
||||
trap 'rm -f "$PROMPT_SOURCE"; [ -z "$CLAUDE_TMP" ] || rm -rf "$CLAUDE_TMP"' EXIT
|
||||
trap 'rm "$PROMPT_SOURCE" 2>/dev/null || true; [ -z "$CLAUDE_TMP" ] || rm -r "$CLAUDE_TMP"' EXIT
|
||||
{{OUTSIDE_SELF_GUARD:claude-code}}
|
||||
_REPO_ROOT=$(git rev-parse --show-toplevel) || { echo "ERROR: not in a git repo" >&2; exit 1; }
|
||||
cd "$_REPO_ROOT"
|
||||
@@ -165,7 +165,7 @@ set -e
|
||||
PROMPT_SOURCE='<prepared-prompt-file>'
|
||||
RUNTIME_ROOT='<gstack-runtime-root>'
|
||||
CLAUDE_TMP=''
|
||||
trap 'rm -f "$PROMPT_SOURCE"; [ -z "$CLAUDE_TMP" ] || rm -rf "$CLAUDE_TMP"' EXIT
|
||||
trap 'rm "$PROMPT_SOURCE" 2>/dev/null || true; [ -z "$CLAUDE_TMP" ] || rm -r "$CLAUDE_TMP"' EXIT
|
||||
{{OUTSIDE_SELF_GUARD:claude-code}}
|
||||
_REPO_ROOT=$(git rev-parse --show-toplevel) || { echo "ERROR: not in a git repo" >&2; exit 1; }
|
||||
cd "$_REPO_ROOT"
|
||||
@@ -236,7 +236,7 @@ set -e
|
||||
PROMPT_SOURCE='<prepared-prompt-file>'
|
||||
RUNTIME_ROOT='<gstack-runtime-root>'
|
||||
CLAUDE_TMP=''
|
||||
trap 'rm -f "$PROMPT_SOURCE"; [ -z "$CLAUDE_TMP" ] || rm -rf "$CLAUDE_TMP"' EXIT
|
||||
trap 'rm "$PROMPT_SOURCE" 2>/dev/null || true; [ -z "$CLAUDE_TMP" ] || rm -r "$CLAUDE_TMP"' EXIT
|
||||
{{OUTSIDE_SELF_GUARD:claude-code}}
|
||||
_REPO_ROOT=$(git rev-parse --show-toplevel) || { echo "ERROR: not in a git repo" >&2; exit 1; }
|
||||
cd "$_REPO_ROOT"
|
||||
|
||||
Reference in new issue
Block a user