fix(debug): improve autonomous CLI discovery - #254
Conversation
Co-authored-by: OpenAI Codex <codex@openai.com>
8a5c541 to
7e7f4af
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8a5c541c8e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
| To replace the remembered script arguments for a sync, put the new arguments | ||
| after `--`. A later sync without `--` reuses the last remembered arguments: |
There was a problem hiding this comment.
Say that bare sync restores the creation arguments
When a session is created with one argument set and a sync temporarily overrides it, _cmd_sync applies that override only to the current invocation and never updates the stored DebugSessionRecord; therefore, the next bare sync reuses the original creation arguments, not the most recent override. The statement here contradicts lines 67–71 and can cause users to synchronize an unintended pipeline configuration.
AGENTS.md reference: AGENTS.md:L49-L52
Useful? React with 👍 / 👎.
Summary
Verification
.venv/bin/python -m pytest -q tests/cli/test_debug_commands.py(17 passed).venv/bin/python -m pytest -q(1181 passed, 21 skipped)