Skip to content

Commit 332bfff

Browse files
fix(codex): add missing closing fence in resumed-session bash block
The bash block opened at the "For a resumed session" section was missing its closing ``` fence. Prose text with backtick-quoted identifiers (e.g. `SESSION_ID:<id>`) was being parsed as shell code, causing bash -n to report "unexpected EOF while looking for matching `". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9c0f97c commit 332bfff

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

codex/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,7 @@ elif [ "$_CODEX_EXIT" != "0" ]; then
14401440
head -20 "$TMPERR" 2>/dev/null | sed 's/^/ /' || true
14411441
_gstack_codex_log_event "codex_nonzero_exit" "consult-resume:$_CODEX_EXIT"
14421442
fi
1443+
```
14431444

14441445
5. Capture session ID from the streamed output. The parser prints `SESSION_ID:<id>`
14451446
from the `thread.started` event. Save it for follow-ups:

codex/SKILL.md.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ elif [ "$_CODEX_EXIT" != "0" ]; then
561561
head -20 "$TMPERR" 2>/dev/null | sed 's/^/ /' || true
562562
_gstack_codex_log_event "codex_nonzero_exit" "consult-resume:$_CODEX_EXIT"
563563
fi
564+
```
564565

565566
5. Capture session ID from the streamed output. The parser prints `SESSION_ID:<id>`
566567
from the `thread.started` event. Save it for follow-ups:

0 commit comments

Comments
 (0)