Skip to content

Add codex-cli to installer - #22

Merged
bobbravo2 merged 2 commits into
mainfrom
copilot/add-support-for-codex-cli
Aug 27, 2026
Merged

Add codex-cli to installer#22
bobbravo2 merged 2 commits into
mainfrom
copilot/add-support-for-codex-cli

Conversation

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Provisions @openai/codex CLI as part of the standard Severed Floor environment.

Changes

  • install.sh — Section 15: idempotent command -v codex guard; installs via npm install -g @openai/codex
  • test/install.bats — Install/skip test pair; npm mock added to setup() (needed since install path calls npm directly); codex stub added to the all-tools E2E test
  • README.md — New table row, ordered before Codexbar to match install sequence
  • .github/workflows/ci.ymlcodex --version added to E2E verify step

Copilot AI and others added 2 commits August 27, 2026 14:34
Co-authored-by: bobbravo2 <348865+bobbravo2@users.noreply.github.com>
Co-authored-by: bobbravo2 <348865+bobbravo2@users.noreply.github.com>

@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: 1d543a006a

ℹ️ 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 install.sh
# 15. codex-cli — OpenAI Codex CLI agent
if ! command -v codex &>/dev/null; then
echo "🤖 codex-cli not found. The Board has authorised autonomous coding on the floor. Installing..."
npm install -g @openai/codex

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Ensure npm exists before invoking it

When node is present but npm is not—such as with a minimal or custom Node installation—the earlier Node.js block skips brew install node, and this command then fails with exit 127 under set -e, aborting the installer before Codexbar and the completion message. Check for npm alongside node or otherwise install it before using it.

Useful? React with 👍 / 👎.

@bobbravo2
bobbravo2 merged commit 9e12876 into main Aug 27, 2026
2 checks passed
@bobbravo2
bobbravo2 deleted the copilot/add-support-for-codex-cli branch August 27, 2026 22:02
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.

2 participants