Skip to content

Codex fork: add programmatic control socket for interactive TUI#4

Merged
rajeshgoli merged 5 commits into
mainfrom
codex/321-control-socket
Mar 1, 2026
Merged

Codex fork: add programmatic control socket for interactive TUI#4
rajeshgoli merged 5 commits into
mainfrom
codex/321-control-socket

Conversation

@rajeshgoli

@rajeshgoli rajeshgoli commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • add --control-socket CLI surface for interactive codex sessions
  • add UDS control server with request/response contract, request_id dedupe cache, and epoch checks
  • route control commands into app events for submit message, approval response, user-input response, and graceful shutdown
  • document control socket contract and error semantics

Notes

Validation

  • includes unit coverage for epoch, idempotency, and command dispatch behavior in control_socket module

@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@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: c682fab6ca

ℹ️ 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 codex-rs/tui/src/control_socket.rs Outdated
Comment thread codex-rs/tui/src/control_socket.rs Outdated
@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@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: 3934589226

ℹ️ 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 codex-rs/tui/src/control_socket.rs Outdated
@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@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: a5e322728f

ℹ️ 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 codex-rs/tui/src/control_socket.rs Outdated
@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@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: 5ac59e0b88

ℹ️ 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 codex-rs/tui/src/control_socket.rs
Comment thread codex-rs/tui/src/control_socket.rs
@rajeshgoli rajeshgoli merged commit dbc2719 into main Mar 1, 2026
6 of 32 checks passed
rajeshgoli added a commit that referenced this pull request Mar 5, 2026
* Add interactive control socket with idempotent request routing

* Handle control clients concurrently with capped request reads

* Serialize dedupe checks to enforce request idempotency

* Refuse live control socket paths unless stale

* Bound control worker fanout and request id size
rajeshgoli added a commit that referenced this pull request Mar 25, 2026
* Add interactive control socket with idempotent request routing

* Handle control clients concurrently with capped request reads

* Serialize dedupe checks to enforce request idempotency

* Refuse live control socket paths unless stale

* Bound control worker fanout and request id size
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