Skip to content

Clarify Codex commit co-author attribution behavior #19799

@RoggeOhta

Description

@RoggeOhta

What is the issue?

I was trying to understand whether Codex should add a Co-authored-by trailer when it creates commits, similar to Claude Code / Aider conventions.

Current behavior is unclear:

  • By default, should Codex-created commits include a Co-authored-by: Codex ... trailer?
  • Is commit_attribution expected to take effect only when [features] codex_git_commit = true is enabled?
  • If attribution is enabled, what exact config value is supported and what default identity is used?
  • Should this be opt-in, opt-out, or documented as unsupported for normal user-driven git commit commands?

Related:

Why this matters

Users want clear provenance for AI-assisted commits without accidentally misattributing authorship or adding an incorrect trailer. Clear docs or a supported config path would make this less ambiguous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIconfigIssues involving config.toml, config keys, config merging, or config updatesdocumentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions