Skip to content

port(go): Codex CLI 0.145 identity neutralize from #638 #666

Description

@Wibias

Context

Transition workflow for #638 (neutralize Codex CLI 0.145 identity wording).

Why a port is needed

Go already has go/internal/adapter/openai/identity.go NeutralizeIdentity, but it only exact-replaces:

You are Codex, a coding agent based on GPT-5.

#638 expands the TS oracle to also cover the CLI 0.145 variant (an agent based on GPT-5) and optional GPT-5.x suffix via a narrow regex, without touching unrelated Codex mentions.

Source commits

  • 868a9c43fix(adapters): neutralize Codex CLI 0.145 identity wording (#638)

Scope (suggested)

Port against the current TS oracle on dev2-go:

  • src/adapters/identity.ts
  • tests/identity-neutralize.test.ts
  • update go/internal/adapter/openai/identity.go + identity_test.go

Done when

Go matches the TS neutralization cases for the new wording, with Go tests green on dev2-go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions