Skip to content

Add MCP configuration and Codex GitHub Actions workflows new codex PR from Codex for macOS - #46

Merged
clduab11 merged 4 commits into
mainfrom
codex/codex-action-mcp-suite
Feb 12, 2026
Merged

Add MCP configuration and Codex GitHub Actions workflows new codex PR from Codex for macOS#46
clduab11 merged 4 commits into
mainfrom
codex/codex-action-mcp-suite

Conversation

@clduab11

@clduab11 clduab11 commented Feb 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add hardened Codex PR review workflow using openai/codex-action with MCP-integrated configuration
  • add scheduled/manual Codex viral growth brief workflow with artifact output and optional issue creation
  • add shared Codex MCP config covering Context7, Brave, Firecrawl, Jina, and DeepWiki
  • add reusable Codex prompt templates and an operator runbook with provider references and required secrets

Included Files

  • .github/workflows/codex-pr-review-mcp.yml
  • .github/workflows/codex-viral-growth-mcp.yml
  • .github/codex/configs/mcp-full.toml
  • .github/codex/prompts/pr-review.md
  • .github/codex/prompts/viral-growth-brief.md
  • docs/runbooks/github-codex-action-mcp.md

Notes

  • workflows are configured with safety-strategy: unsafe (per request)
  • dependencies are installed before Run Codex to avoid sandbox/network fetch failures
  • MCP provider secrets can be added after PR review before merge

Continue Tasks: ▶️ 5 queued — View all

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @clduab11, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the repository's automation capabilities by integrating robust Codex GitHub Actions workflows. It introduces automated PR reviews and strategic growth brief generation, both powered by a sophisticated Multi-tool Coordination Protocol (MCP) setup. The changes streamline development processes and provide data-driven insights, while also clearly documenting the configuration and security implications for maintainers.

Highlights

  • Automated PR Review Workflow: A new GitHub Actions workflow (codex-pr-review-mcp.yml) has been added to automate pull request reviews using openai/codex-action, integrated with multiple MCP (Multi-tool Coordination Protocol) servers for comprehensive analysis.
  • Viral Growth Brief Workflow: A scheduled/manual GitHub Actions workflow (codex-viral-growth-mcp.yml) has been introduced to generate viral growth briefs using Codex, leveraging MCP servers to produce engineering-backed recommendations with artifact output and optional issue creation.
  • Shared MCP Configuration: A centralized TOML configuration file (mcp-full.toml) has been added to define and integrate five MCP servers: Context7, Brave, Firecrawl, Jina, and DeepWiki, ensuring flexibility by setting all as non-required.
  • Codex Prompt Templates and Runbook: Dedicated Markdown prompt templates for PR review and viral growth briefs have been added, alongside a comprehensive runbook (github-codex-action-mcp.md) detailing the setup, required secrets, provider references, and security considerations for the Codex GitHub Actions with MCP.
Changelog
  • .github/codex/configs/mcp-full.toml
    • Configured gpt-5-codex model with never approval policy and workspace-write sandbox mode.
    • Enabled live web search for Codex operations.
    • Defined five MCP servers (Context7, Brave, Firecrawl, Jina, DeepWiki) with their respective URLs, commands, environment variables, and timeouts.
    • Set all MCP server entries as required = false to allow Codex to proceed even if a provider is unavailable or a secret is missing.
  • .github/codex/prompts/pr-review.md
    • Defined the role of the code review agent for the repository.
    • Specified hard requirements for PR review, including evidence-driven analysis, aggressive MCP tool usage (DeepWiki, Context7, Brave, Jina, Firecrawl), and handling unavailable servers.
    • Instructed the agent to ignore untrusted input from PR title/body/comments and to focus on correctness, regressions, reliability, security, and missing tests.
    • Outlined the output contract for the review, including sections for findings (with severity labels), suggested fixes, and MCP usage.
  • .github/codex/prompts/viral-growth-brief.md
    • Defined the role of a growth-focused technical strategist for the repository.
    • Set the objective to produce a practical, engineering-backed growth brief to increase awareness, adoption, and contributor velocity.
    • Specified hard requirements for using MCP servers, noting gaps if unavailable, grounding recommendations in concrete references, prioritizing short-term ideas, and including security and operational caveats.
    • Outlined the output contract with sections for what was learned, high-leverage growth plays, fastest 72-hour wins, risks and guardrails, and MCP usage.
  • docs/runbooks/github-codex-action-mcp.md
    • Documented the two new Codex GitHub Actions workflows (codex-pr-review-mcp.yml, codex-viral-growth-mcp.yml).
    • Explained the use of openai/codex-action with safety-strategy: unsafe and sandbox: workspace-write.
    • Clarified the rationale for installing dependencies before Codex runs to avoid sandbox/network fetch failures.
    • Listed required GitHub secrets for OpenAI and various MCP providers (Context7, Brave, Firecrawl, Jina, DeepWiki).
    • Provided official provider references for OpenAI Codex Action, config, and all integrated MCPs.
    • Detailed MCP configuration notes, including the shared config file path and the required = false setting for all MCP entries.
    • Included a security posture caveat regarding the unsafe strategy and outlined mitigation steps such as skipping forked PRs, separate jobs for Codex run and comment-post, fresh runners, and pinned action SHAs.
Ignored Files
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/codex-pr-review-mcp.yml
    • .github/workflows/codex-viral-growth-mcp.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds robust GitHub Action workflows for Codex, integrating multiple MCP (Model Control Protocol) providers for enhanced PR reviews and automated growth analysis. The changes are well-organized, including workflow definitions, TOML configuration for MCP servers, detailed prompt templates, and a comprehensive runbook. My review focuses on the correctness of the configuration and the accuracy of the documentation. I've found a likely misconfiguration in the MCP server settings and a broken link in the runbook, which should be addressed to ensure the new workflows function as intended.

Comment thread .github/codex/configs/mcp-full.toml
Comment thread docs/runbooks/github-codex-action-mcp.md
@clduab11 clduab11 self-assigned this Feb 12, 2026
@clduab11 clduab11 added enhancement New feature or request codex OpenAI's Codex bot general improvements General QOL improvements and random small bug fixex and patches feature Feature of the repo size-m labels Feb 12, 2026
@coderabbitai

coderabbitai Bot commented Feb 12, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Automated AI-powered PR reviews with integrated feedback posting.
    • Automated viral growth brief generation (weekly/manual) with optional issue creation and artifact export.
  • Documentation

    • Added runbook covering setup, operation, and security caveats for the Codex workflows.
    • Added standardized prompt templates and a default MCP configuration for multi-server Codex runs.

Walkthrough

Adds an MCP TOML configuration, two Codex prompt directives, two GitHub Actions workflows that run Codex with sandboxed MCP servers, and a runbook documenting usage, secrets, MCP server entries, and security considerations. (≤50 words)

Changes

Cohort / File(s) Summary
MCP Configuration
.github/codex/configs/mcp-full.toml
New full MCP TOML config: sandbox workspace settings, live web search, and multiple optional MCP server entries (context7, brave, firecrawl, jina, deepwiki) with connection, env, startup, and tool timeout fields.
Prompt Directives
.github/codex/prompts/pr-review.md, .github/codex/prompts/viral-growth-brief.md
Adds two structured prompt templates: PR review directive (evidence-driven, MCP usage order, output contract) and Viral Growth Brief (required sections, MCP attempts, actionable plays with impact/effort/owner).
GitHub Actions Workflows
.github/workflows/codex-pr-review-mcp.yml, .github/workflows/codex-viral-growth-mcp.yml
New workflows invoking openai/codex-action with sandbox and MCP config: PR-triggered PR review (artifact upload; conditional comment posting) and scheduled/manual viral-growth brief (artifact upload; optional issue creation). They set up Node/Python, preinstall deps, use multiple API keys, and handle fork/dispatch gating.
Documentation / Runbook
docs/runbooks/github-codex-action-mcp.md
Runbook describing both workflows, common Codex/MCP configuration, required/recommended secrets, pre-installation guidance, artifact retention, and security posture/options (fork handling, runner isolation, privileged modes).

Sequence Diagram(s)

sequenceDiagram
  actor User
  participant GH as "GitHub Actions"
  participant Repo as "Repository (code & prompts)"
  participant Codex as "openai/codex-action"
  participant MCP as "MCP Servers (context7, brave, ...)"
  participant GHAPI as "GitHub API"

  User->>GH: trigger workflow (PR event / dispatch / schedule)
  GH->>Repo: checkout repo & PR merge ref
  GH->>Codex: invoke Codex action (prompt, sandbox, MCP config)
  Codex->>MCP: query configured MCP servers (in order)
  MCP-->>Codex: return context/tool responses
  Codex->>Codex: synthesize final message (review/brief)
  Codex-->>GH: upload artifact (final message)
  GH->>GHAPI: post comment or create issue (if configured)
  GHAPI-->>GH: confirmation
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

MCP hums, servers line the hall,
Prompts unlocked, the artifacts fall,
Reviews and briefs in tidy thread,
Workflows run while checks are read,
Small automations, big ideas call.

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is partially related to the changeset but lacks clarity and contains extraneous phrasing. It mentions MCP configuration and Codex workflows, which are accurate, but includes 'new codex PR from Codex for macOS' which is vague, redundant, and not clearly descriptive of the main change. Refine the title to be concise and specific, e.g., 'Add MCP configuration and Codex GitHub Actions workflows' or 'Add hardened Codex PR review and viral growth workflows with MCP integration'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description is well-structured and clearly related to the changeset, providing a summary of added files, objectives, and implementation notes that align with the actual changes in the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/codex-action-mcp-suite

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

@clduab11 clduab11 added the ci/cd CI/CD related info label Feb 12, 2026
@clduab11

Copy link
Copy Markdown
Collaborator Author

@coderabbitai help

@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: 6021426bfd

ℹ️ 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 .github/workflows/codex-pr-review-mcp.yml
Comment thread .github/workflows/codex-pr-review-mcp.yml Outdated
@coderabbitai coderabbitai Bot added the documentation Improvements or additions to documentation label Feb 12, 2026
@coderabbitai

This comment was marked as resolved.

@clduab11 clduab11 changed the title Add robust Codex GitHub Action workflows with full MCP integration @coderabbitai Feb 12, 2026
@clduab11 clduab11 changed the title @coderabbitai @coderabbitai new codex PR from Codex for macOS Feb 12, 2026
Add an explicit fork guard in the PR metadata resolution step so workflow_dispatch cannot run Codex on fork-backed pull requests. The step now reads .head.repo.fork from the GitHub API response and exits before checkout/Codex execution when true.

Also replace fixed heredoc terminators for title/body outputs with UUID-based delimiters to prevent accidental truncation or output injection when PR markdown contains standalone EOF lines.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In @.github/codex/configs/mcp-full.toml:
- Around line 1-6: Update the top-level config keys to match Codex 0.99.0:
rename the sandbox_mode entry to sandbox_policy and remove the web_search entry
entirely; ensure the remaining top-level keys are only model, model_provider (if
needed), approval_policy, sandbox_policy, mcp_servers, and otel so the config
(symbols: sandbox_mode -> sandbox_policy, web_search) is valid and the action
can start without error.

In `@docs/runbooks/github-codex-action-mcp.md`:
- Around line 3-14: Add a short "How to run" section to this runbook that tells
operators how to invoke the two workflows
`.github/workflows/codex-pr-review-mcp.yml` and
`.github/workflows/codex-viral-growth-mcp.yml`: include manual trigger
instructions (how to use the GitHub Actions "Run workflow" UI and required input
names/expected values), the scheduled/crontab schedule (if any) and how to
change it, the important inputs passed to openai/codex-action such as
`safety-strategy: unsafe`, `sandbox: workspace-write`, the Codex home config
location `.github/codex/configs/mcp-full.toml`, and mention artifact upload is
enabled for auditability; keep it compact with an example of the minimal input
set to run each workflow and a short note on where to find logs/artifacts.
🧹 Nitpick comments (3)
.github/codex/prompts/pr-review.md (1)

21-26: Reduce repetitive “Include” phrasing for readability.
LanguageTool flagged the repeated sentence starts; a slight reword keeps the contract crisp.

✏️ Suggested wording
- - Include a `#### Suggested Fixes` section with concrete next actions.
- - Include a `#### MCP Usage` section listing which of the five MCP servers were used and for what.
+ - Provide a `#### Suggested Fixes` section with concrete next actions.
+ - List MCP usage (which of the five servers were used and for what) under `#### MCP Usage`.
.github/workflows/codex-viral-growth-mcp.yml (1)

43-50: Guard npm ci when a lockfile isn’t present.
If a consumer runs this workflow without package-lock.json, npm ci will fail. Consider a small file check to make the step resilient.

♻️ Suggested guard
-          npm ci
+          if [ -f package-lock.json ]; then
+            npm ci
+          fi
.github/workflows/codex-pr-review-mcp.yml (1)

88-95: Consider the same npm ci guard here.
Unconditional npm ci will fail if a lockfile isn’t present; a small check keeps manual runs more robust.

♻️ Suggested guard
-          npm ci
+          if [ -f package-lock.json ]; then
+            npm ci
+          fi

Comment thread .github/codex/configs/mcp-full.toml Outdated
Comment thread docs/runbooks/github-codex-action-mcp.md
@clduab11

Copy link
Copy Markdown
Collaborator Author

@copilot , isolate observed issues and execute the following fixes...

In @.github/codex/configs/mcp-full.toml:

  • Around line 1-6: Update the top-level config keys to match Codex 0.99.0:
    rename the sandbox_mode entry to sandbox_policy and remove the web_search entry
    entirely; ensure the remaining top-level keys are only model, model_provider (if
    needed), approval_policy, sandbox_policy, mcp_servers, and otel so the config
    (symbols: sandbox_mode -> sandbox_policy, web_search) is valid and the action
    can start without error.

In @docs/runbooks/github-codex-action-mcp.md:

  • Around line 3-14: Add a short "How to run" section to this runbook that tells
    operators how to invoke the two workflows
    .github/workflows/codex-pr-review-mcp.yml and
    .github/workflows/codex-viral-growth-mcp.yml: include manual trigger
    instructions (how to use the GitHub Actions "Run workflow" UI and required input
    names/expected values), the scheduled/crontab schedule (if any) and how to
    change it, the important inputs passed to openai/codex-action such as
    safety-strategy: unsafe, sandbox: workspace-write, the Codex home config
    location .github/codex/configs/mcp-full.toml, and mention artifact upload is
    enabled for auditability; keep it compact with an example of the minimal input
    set to run each workflow and a short note on where to find logs/artifacts.

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

@clduab11 I've opened a new pull request, #47, to work on those changes. Once the pull request is ready, I'll request review from you.

@coderabbitai coderabbitai Bot changed the title @coderabbitai new codex PR from Codex for macOS Add MCP configuration and Codex GitHub Actions workflows new codex PR from Codex for macOS Feb 12, 2026

@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: 648bfc83c0

ℹ️ 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 on lines +125 to +129
mkdir -p "${codex_home}"
cp ".github/codex/configs/mcp-full.toml" "${codex_home}/config.toml"

{
cat ".github/codex/prompts/pr-review.md"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Load Codex prompt/config from a trusted ref

This job checks out refs/pull/<n>/merge and then reads both .github/codex/configs/mcp-full.toml and .github/codex/prompts/pr-review.md from that untrusted tree before running openai/codex-action with OPENAI_API_KEY and other secrets. A same-repo PR can modify those files to steer Codex into executing/exfiltrating secrets (especially with safety-strategy: unsafe), so the review boundary is not actually trusted. Read these workflow assets from a trusted base revision (or embed/pin them) instead of the PR merge ref.

Useful? React with 👍 / 👎.

Comment on lines +50 to +53
is_fork="$(jq -r '.head.repo.fork' <<<"$pr_json")"
if [ "$is_fork" = "true" ]; then
echo "Refusing to run Codex on fork PR #${pr_number} to protect secrets." >&2
exit 1

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 Reject ambiguous fork metadata before running Codex

The fork guard only blocks when .head.repo.fork is exactly "true"; if GitHub returns null for head.repo (which can happen on orphaned/deleted source repos), this check passes and the workflow still checks out refs/pull/<n>/merge and runs with secrets. To keep the manual-dispatch secret boundary intact, fail closed unless the source repo is explicitly the current repository (or .head.repo.fork is explicitly false).

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown

Codex PR Review

Findings

  • P0 – .github/workflows/codex-pr-review-mcp.yml:165-168 together with .github/codex/configs/mcp-full.toml:5-10 turns on workspace-write plus sandbox_workspace_write.network_access=true and safety-strategy: unsafe. That lets the Codex run issue arbitrary outbound requests while holding repository secrets (OpenAI, MCP keys, repo token). A malicious or compromised review run could exfiltrate secrets with a single curl, so this workflow is unsafe to merge as-is.
  • P0 – src/cli/index.ts:149-154 now defines cliAutoShutdown as process.env.CODEX_CLI_AUTO_SHUTDOWN === '1', flipping the default to false. useSystem only shuts the orchestrator down when cliAutoShutdown is true (src/cli/index.ts:590-602), so non-interactive commands like codex-synaptic system status hang unless callers explicitly set the env var. The updated tests hard-code CODEX_CLI_AUTO_SHUTDOWN: '1' (tests/cli/commands.test.ts:14-18, tests/cli/openai-usage.test.ts:13-18, tests/e2e/cli-smoke.test.ts:23-31), confirming the regression.
  • P2 – .codex-synaptic/memory.db is a generated SQLite artifact and shouldn’t be versioned; it introduces needless binary churn and risks merge conflicts.

Suggested Fixes

  • Revert network access to false (or drop workspace-write) for PR reviews, or split workflows so MCP-enabled runs only execute on trusted triggers with tightly scoped secrets.
  • Restore the prior resolveCliAutoShutdown logic (default true, opt-out with 0/false) so CLI commands exit cleanly without extra env plumbing.
  • Remove .codex-synaptic/memory.db from the PR and add it to .gitignore if it isn’t already ignored.

MCP Usage

  • deepwiki – unavailable (missing DEEPWIKI_API_KEY).
  • context7 – used to pull openai/codex-action documentation for workflow validation.
  • brave – unavailable (handshake failed).
  • jina – unavailable (missing JINA_API_KEY).
  • firecrawl – unavailable (handshake failed).

@ghost

ghost commented Feb 12, 2026

Copy link
Copy Markdown

Rooviewer Clock   See task

Review complete. All previously identified issues have been resolved.

  • Fix fork check bypass for deleted fork PRs in workflow_dispatch (security: high priority)
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@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: 24e56f6f76

ℹ️ 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 .github/workflows/codex-pr-review-mcp.yml
Comment thread .github/workflows/codex-pr-review-mcp.yml Outdated
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
@clduab11
clduab11 merged commit 843c863 into main Feb 12, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

Codex PR Review

Findings

  • P0: .github/workflows/codex-pr-review-mcp.yml:30 — The job-level permissions block only grants contents: read. GitHub defaults every unspecified scope to none, so the gh api repos/.../pulls/<n> call in the “Resolve PR metadata” step will run with a token lacking pull-requests: read and consistently 403. The workflow never reaches the review run. (GitHub Actions docs via context7 note the “unspecified = none” rule.)
  • P1: src/cli/index.ts:153 — cliAutoShutdown now evaluates to process.env.CODEX_CLI_AUTO_SHUTDOWN === '1'. Previously resolveCliAutoShutdown() defaulted to true unless the env var explicitly disabled it. This regression keeps the orchestrator running for every CLI command unless users set the env var to 1, changing long-standing behavior and leaving stray background systems.

Suggested Fixes

  • Add pull-requests: read (and any other required scopes) to the codex_review job permissions so the metadata step can read PR details.
  • Restore the prior auto-shutdown semantics (default on, env-var opt out) or otherwise document and intentionally gate the behavioral change before landing.

MCP Usage

  • deepwiki — attempted; server unavailable (DEEPWIKI_API_KEY missing).
  • context7 — queried GitHub Actions permission rules to confirm token-scope behavior.
  • brave — attempted; MCP handshake failed (connection closed).
  • jina — attempted; server unavailable (JINA_API_KEY missing).
  • firecrawl — attempted; MCP handshake failed (connection closed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD related info codex OpenAI's Codex bot documentation Improvements or additions to documentation enhancement New feature or request feature Feature of the repo general improvements General QOL improvements and random small bug fixex and patches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants