Skip to content

fix(cli): route focused workspace sessions explicitly#81

Merged
mirnoorata merged 7 commits into
mainfrom
codex/general/codexa-20260628-170957-focus-orientation
Jun 28, 2026
Merged

fix(cli): route focused workspace sessions explicitly#81
mirnoorata merged 7 commits into
mainfrom
codex/general/codexa-20260628-170957-focus-orientation

Conversation

@mirnoorata

Copy link
Copy Markdown
Owner

fix(cli): route focused workspace sessions explicitly

Adds explicit workspace focus/session routing flags for session-start and Codexa query commands so /srv launch roots can resolve to the intended focused worktree without relying on inherited shell environment.

Summary

44217cd fix(cli): route focused workspace sessions explicitly
src/cli.ts | 10 +-
src/cli/options.ts | 15 ++-
src/cli/query-commands.ts | 128 +++++++++++----------
src/init.ts | 26 ++++-
...jects-malformed-integer-options-instead.test.ts | 80 ++++++++++++-
5 files changed, 188 insertions(+), 71 deletions(-)

Verification

  • git diff --check: passed
  • npm run check: passed
  • git diff --check: passed
  • node dist/cli.js session-start /srv --workspace-session 20260628-170957-focus-orientation --workspace-focus-file /srv/.codex/WORKING.md: passed
  • node dist/cli.js brief /srv --workspace-session 20260628-170957-focus-orientation --workspace-focus-file /srv/.codex/WORKING.md --task 'workspace session routing smoke' --limit 2 --budget 900 --no-diff: passed
  • Codexa post-edit-review: local artifact recorded
  • Codexa test-plan: local artifact recorded
  • git diff --cached --check: passed
  • staged safety scan: passed

Summary Artifact

  • Committed Markdown: docs/pr-summaries/codex-general-codexa-20260628-170957-focus-orientation/summary.md
  • Committed PDF: docs/pr-summaries/codex-general-codexa-20260628-170957-focus-orientation/summary.pdf

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fb657c6143

ℹ️ 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 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 address that feedback".

Comment thread src/cli/options.ts
@mirnoorata mirnoorata merged commit 924c3bc into main Jun 28, 2026
6 checks passed
@mirnoorata mirnoorata deleted the codex/general/codexa-20260628-170957-focus-orientation branch June 28, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant