diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9064a38cea..6353106dc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,9 +89,9 @@ jobs: echo "$out" echo "$out" | grep -q '\[tool call\] echo({"text":"ci smoke"})' echo "$out" | grep -q '\[tool result\] ECHO: CI SMOKE' - # The JSONL backend (root ./.sessions, no cwd → _no-cwd bucket) writes a - # per-run session log named main-session-.jsonl. Assert one exists. - ls .sessions/_no-cwd/main-session-*.jsonl >/dev/null + # The stdio app records process.cwd(); the JSONL backend stores that + # session under the cwd bucket as main-session-.jsonl. + test -n "$(find .sessions -path '.sessions/cwd-*/main-session-*.jsonl' -type f -print -quit)" rm -rf .sessions # The published `bin` is `lib/bin.js`, run under plain `node` by a real