Preserve agent cwd through Codex app server

This commit is contained in:
2026-08-23 02:44:06 +00:00
parent a7d61d812e
commit 9afd9e0a99
4 changed files with 21 additions and 7 deletions
+6
View File
@@ -96,6 +96,12 @@ else
fail "Codex probe did not complete (cmd=${cmd}); tail: $(echo "$pane" | grep -vE '^\s*$' | tail -5)"
fi
if echo "$pane" | grep -Fq "$REPO"; then
pass "daemon-created Codex thread uses the requested project directory"
else
fail "Codex thread did not use requested directory $REPO"
fi
if python3 "$REPO/agents.py" --config "$CFG" status \
| grep -E '^\s*probe\b' | grep -q RUNNING; then
pass "agents.py status reports probe RUNNING"