Skip to content

feat: add Codex plugin support - #352

Closed
ptomanRH wants to merge 3 commits into
mainfrom
codex-plugin-support
Closed

ptomanRH wants to merge 3 commits into
mainfrom
codex-plugin-support

Conversation

@ptomanRH

@ptomanRH ptomanRH commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Relates to TC-6134. Adds Codex packaging, AGENTS.md support, documentation, and preserves Claude Code compatibility.

Summary by Sourcery

Enable the sdlc-workflow plugin to run through Codex while preserving existing Claude Code support.

New Features:

  • Add Codex plugin packaging and installation support for the sdlc-workflow plugin.
  • Support AGENTS.md as the preferred Codex project configuration file while retaining CLAUDE.md compatibility.

Enhancements:

  • Update shared workflow skills to use a client-independent project configuration file.
  • Document Codex installation, Serena setup, configuration, and compatibility boundaries.

Documentation:

  • Expand project documentation with Codex usage instructions and configuration guidance.

@sourcery-ai

sourcery-ai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

The PR adds Codex packaging and documented CLI installation while adapting the shared sdlc-workflow skills to use client-appropriate AGENTS.md or CLAUDE.md project configuration without disrupting Claude Code compatibility.

Sequence diagram for client-specific project configuration setup

sequenceDiagram
    actor User
    participant Client as Claude_Code_or_Codex
    participant Setup as setup_skill
    participant Config as Project_configuration_file

    User->>Client: $setup
    Client->>Setup: Run setup
    Setup->>Config: Read AGENTS.md or CLAUDE.md
    Setup->>Config: Validate and update Project Configuration
    Config-->>Setup: Configuration saved
    Setup-->>Client: Report setup result
    Client-->>User: Ready for shared sdlc-workflow skills
Loading

File-Level Changes

Change Details Files
Adds a parallel Codex plugin packaging and installation path while retaining the existing Claude Code manifest and marketplace integration.
  • Introduces a Codex compatibility manifest under the plugin directory.
  • Documents Codex CLI marketplace registration, installation, verification, and conversation restart requirements.
  • Explains the intended Codex/Claude compatibility boundary, including shared skills and host-provided MCP integrations.
plugins/sdlc-workflow/.codex-plugin/plugin.json
README.md
docs/codex.md
CLAUDE.md
Generalizes project configuration handling so shared workflow skills can operate with either AGENTS.md or CLAUDE.md.
  • Updates setup to select AGENTS.md in Codex and CLAUDE.md in Claude Code, with explicit synchronization behavior when both clients are used.
  • Replaces hard-coded CLAUDE.md references across workflow validation, Jira fallback, repository lookup, code intelligence, and configuration-writing instructions.
  • Preserves the shared Project Configuration contract and existing Claude Code workflows.
plugins/sdlc-workflow/skills/setup/SKILL.md
plugins/sdlc-workflow/skills/define-feature/SKILL.md
plugins/sdlc-workflow/skills/implement-task/SKILL.md
plugins/sdlc-workflow/skills/plan-feature/SKILL.md
plugins/sdlc-workflow/skills/report-bug/SKILL.md
plugins/sdlc-workflow/skills/triage-bug/SKILL.md
plugins/sdlc-workflow/skills/triage-security/SKILL.md
plugins/sdlc-workflow/skills/verify-pr/SKILL.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@ptomanRH
ptomanRH marked this pull request as ready for review October 23, 2026 11:09
@ptomanRH
ptomanRH requested a review from mrizzi October 23, 2026 11:09

@sourcery-ai sourcery-ai 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.

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/codex.md" line_range="12" />
<code_context>
+installation. Add the marketplace and install the plugin with:
+
+```bash
+codex plugin marketplace add RHEcosystemAppEng/sdlc-plugins --ref main
+codex plugin add sdlc-workflow@sdlc-plugins
+```
</code_context>
<issue_to_address>
**Codex marketplace installation cannot resolve plugin**

When a user follows the documented Codex installation steps, codex cannot register this repository as a marketplace because the repository contains only Claude Code's `.claude-plugin/marketplace.json` and no Codex marketplace registry; the following `codex plugin add sdlc-workflow@sdlc-plugins` therefore cannot resolve the plugin, so installation stops before skills load.

Add the Codex marketplace registry in the format Codex CLI expects and include the `sdlc-workflow` plugin entry.
</issue_to_address>

### Comment 2
<location path="CLAUDE.md" line_range="19" />
<code_context>
+The plugin version must be kept in sync in three files:

 - [`plugins/sdlc-workflow/.claude-plugin/plugin.json`](plugins/sdlc-workflow/.claude-plugin/plugin.json) — the plugin manifest (required by CI validation)
+- [`plugins/sdlc-workflow/.codex-plugin/plugin.json`](plugins/sdlc-workflow/.codex-plugin/plugin.json) — the Codex compatibility manifest
 - [`.claude-plugin/marketplace.json`](.claude-plugin/marketplace.json) — the marketplace registry (required for relative-path plugins per Claude Code docs)

</code_context>
<issue_to_address>
**Codex manifest keeps stale version**

When maintainers follow the documented version-bump procedure, the instructions say to update “both files” after listing three versioned files, so maintainers can leave the Codex manifest unchanged. Codex installations then advertise stale plugin version metadata and do not show the corresponding update.

Explicitly instruct maintainers to update all three versioned files together.

Also at `CLAUDE.md:20`.
</issue_to_address>

### Comment 3
<location path="docs/codex.md" line_range="33-34" />
<code_context>
+
+The file must contain the `# Project Configuration` sections described in
+[`project-config-contract.md`](project-config-contract.md). The configuration
+format is shared between both clients, so teams can keep one file when both
+clients are used.
+
+Run the setup skill after installing the plugin and choose the configuration
</code_context>
<issue_to_address>
**One config file misses a client**

When a team uses both clients but keeps Project Configuration in only one of the two filenames, claude Code reads `CLAUDE.md` while Codex prefers `AGENTS.md`, and the setup instructions update the current client's file and synchronize both only on explicit request. A team that keeps only one file therefore leaves one client's Project Configuration unavailable.

Clarify that both clients need their respective configuration files unless a documented mechanism makes one file available to both.
</issue_to_address>

Sourcery assessment

Needs a human reviewer. 3 findings to address first, and if Codex selects or interprets project configuration differently than intended, a workflow could use incorrect Jira settings or write incorrect Jira records; those changes can remain after the plugin is reverted and require manual correction. The impact is bounded to the affected configuration or records.

Blocking findings: docs/codex.md:12, CLAUDE.md:19, docs/codex.md:34


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread docs/codex.md
Comment thread CLAUDE.md
Comment thread docs/codex.md

@github-actions github-actions 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.

Native Fullsend Eval Results

Head: 08de91e
Merge: 16dd626
Trusted workflow: ec68eec
Reviewed eval source: ec68eec

Native job: success; complete: true.
Execution evidence: valid; quality score (advisory): 27/28 passed.

Case Execution evidence Quality score (advisory)
033-absent valid 4/4
034-empty valid 5/5
035-malformed valid 4/5
036-valid valid 7/7
037-release valid 7/7

@github-actions github-actions 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.

Native Fullsend Eval Results

Head: 8126825
Merge: f9d598e
Trusted workflow: ec68eec
Reviewed eval source: ec68eec

Native job: success; complete: true.
Execution evidence: valid; quality score (advisory): 26/28 passed.

Case Execution evidence Quality score (advisory)
033-absent valid 4/4
034-empty valid 4/5
035-malformed valid 4/5
036-valid valid 7/7
037-release valid 7/7

@ptomanRH

Copy link
Copy Markdown
Contributor Author

not needed, use Codex plugin app

@ptomanRH ptomanRH closed this Oct 27, 2026
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