Skip to content

fix(adapters): carry Codex identity neutralize onto dev2-go (#638) - #665

Merged
Wibias merged 1 commit into
lidge-jun:dev2-gofrom
Wibias:sync/638-to-dev2-go
Jul 29, 2026
Merged

fix(adapters): carry Codex identity neutralize onto dev2-go (#638)#665
Wibias merged 1 commit into
lidge-jun:dev2-gofrom
Wibias:sync/638-to-dev2-go

Conversation

@Wibias

@Wibias Wibias commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Go port

Go NeutralizeIdentity still only exact-matches You are Codex, a coding agent based on GPT-5.. #638 adds the CLI 0.145 an agent based on GPT-5 / optional GPT-5.x variant.

Tracking issue follows. This PR does not claim the Go side is done.

…#638)

* fix(adapters): neutralize Codex CLI 0.145 identity wording

Closes lidge-jun#622

* fix(adapters): consume full GPT-5.x.y identity versions

(cherry picked from commit 868a9c4)
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • ^dev$
  • ^preview$

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 62446065-37ad-458b-ab85-d28c64ab9587

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@Wibias
Wibias merged commit af30dd9 into lidge-jun:dev2-go Jul 29, 2026
7 of 10 checks passed
@github-actions github-actions Bot added the bug Something isn't working label Jul 29, 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: 2815421696

ℹ️ 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 src/adapters/identity.ts
Comment on lines +27 to +28
const CODEX_GPT5_IDENTITY_RE =
/You are Codex, (?:a coding agent|an agent) based on GPT-5(?:\.[0-9]+)*\./g;

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 Port the new identity match to the Go runtime

On the dev2-go native execution path, go/internal/adapter/openai/identity.go still replaces only the historical a coding agent sentence, so requests from Codex CLI 0.145+ containing You are Codex, an agent based on GPT-5. pass upstream unchanged; these TypeScript-only changes therefore do not fix the affected runtime. Port the variant matching and regression test to the Go adapter, or retarget this TS-only patch to dev.

AGENTS.md reference: AGENTS.md:L47-L52

Useful? React with 👍 / 👎.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant