Skip to content

feat: add cleanroom agent codex shortcut#58

Open
lox wants to merge 1 commit intomainfrom
codex/agent-codex-shortcut
Open

feat: add cleanroom agent codex shortcut#58
lox wants to merge 1 commit intomainfrom
codex/agent-codex-shortcut

Conversation

@lox
Copy link
Contributor

@lox lox commented Mar 1, 2026

Summary

  • add a first-class cleanroom agent codex command that launches Codex via the existing interactive console path
  • support passthrough Codex args (for example --yolo and model flags)
  • document the new shortcut in the README and add a macOS-focused Codex --yolo cleanroom example

Why

Running common agents currently requires manual composition of sandbox creation and command execution. This adds a direct UX path while reusing backend-neutral CLI behavior.

Testing

  • ~/.local/share/mise/installs/go/latest/bin/go test ./internal/cli -run 'TestAgentCodex'

Notes

  • Full go test ./... in this worktree still has pre-existing failures unrelated to this change:
    • client: TestNewFromEnvUsesCLEANROOMHOST
    • internal/cli: TestExecIntegrationSecondInterruptTerminatesSandbox

Copy link

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

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: 685a17d4bb

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

@lox lox force-pushed the codex/agent-codex-shortcut branch from 685a17d to abcb6dd Compare March 1, 2026 04:54
@lox
Copy link
Contributor Author

lox commented Mar 1, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Swish!

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

Provide a first-class  entrypoint so common agent workflows do not require manually composing sandbox and console commands.

This keeps the implementation backend-neutral by reusing existing console execution semantics while adding parser and integration coverage for command passthrough and persistent sandbox behavior.
@lox lox force-pushed the codex/agent-codex-shortcut branch from 51d529f to f4f062b Compare March 1, 2026 22:05
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