Missing documentation for Codex git commit attribution?

Open 💬 5 comments Opened Mar 9, 2026 by andersonaddo
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What is the type of issue?

Documentation is missing

What is the issue?

Hi folks! Just popping in wondering when you'll add in documentation for https://github.com/openai/codex/pull/11617.
It doesn't look like it works yet, so maybe it's not ready, but I'm just checking.
Thanks!

Where did you find it?

_No response_

View original on GitHub ↗

5 Comments

etraut-openai contributor · 5 months ago

This config key is mentioned in the config reference.

andersonaddo · 5 months ago

Oh interesting
And this is supposed to work by default?
I'm on version codex-cli 0.112.0 (just downloaded it yesterday) and none of the commits that codex made had attributions.

morficus · 5 months ago

I'm on v0.117.0 and the commit attribution is not present. Even when setting the commit_attribution value in the config file, it has no effect.

inickt · 4 months ago

FYI for anyone else finding this you need to enable the codex_git_commit feature in your config.toml for commit_attribution to take effect.

[features]
codex_git_commit = true

+1 on better docs here, Codex had to figure this out for me...

franciscojavierarceo · 2 months ago

Hey folks, I maintain a few open source projects and I really value git attribution because it's transparent when I receive changes from unknown authors. Would really love to see this supported.

I have a working implementation that restores the Co-authored-by trailer feature as opt-in, including updated documentation. Related: #14994, #18095, #23007, #938, #19799.

Branch: franciscojavierarceo/codex@feat/git-commit-attribution

What it does:

  • Opt-in via [features] codex_git_commit = true in config.toml
  • Default trailer dynamically includes the model name: Co-authored-by: Codex o4-mini <noreply@openai.com>
  • Customizable via the existing commit_attribution config key (which was available before the feature was removed in d18a7c982): commit_attribution = "MyOrg Codex <codex@myorg.com>"
  • Set commit_attribution = "" to disable while keeping the feature flag on
  • Documentation updated in docs/config.md with usage examples and configuration reference
  • 10 unit + integration tests covering all config combinations

Happy to open a PR if the team is interested.