Skip to content

Add the git attribution extension - #34769

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6f733e708b5c960ba5e90751110910a03d1ba2df
Jul 22, 2026
Merged

Add the git attribution extension#34769
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6f733e708b5c960ba5e90751110910a03d1ba2df

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 22, 2026

Copy link
Copy Markdown

Add the git attribution extension

What changed

  • Add a codex-git-attribution context contributor that resolves the workspace's commit_attribution_enabled setting and supplies matching commit and pull request instructions through World State.
  • Cache resolved policy by authentication generation, recover from unauthorized responses, and fail disabled on timeouts or settings errors with deferred retries.
  • Handle enabled, disabled, and legacy attribution fragments so policy changes replace stale instructions without duplicating attribution.

Testing

  • Cover World State transitions, policy resolution after unauthorized responses, and authentication changes during an in-flight settings request.

## What changed

- Add a `codex-git-attribution` context contributor that resolves the workspace's `commit_attribution_enabled` setting and supplies matching commit and pull request instructions through World State.
- Cache resolved policy by authentication generation, recover from unauthorized responses, and fail disabled on timeouts or settings errors with deferred retries.
- Handle enabled, disabled, and legacy attribution fragments so policy changes replace stale instructions without duplicating attribution.

## Testing

- Cover World State transitions, policy resolution after unauthorized responses, and authentication changes during an in-flight settings request.

GitOrigin-RevId: 6f733e708b5c960ba5e90751110910a03d1ba2df
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6f733e708b5c960ba5e90751110910a03d1ba2df branch from 4d14ab0 to ab816f3 Compare July 22, 2026 15:19
@copyberry
copyberry Bot merged commit ab816f3 into main Jul 22, 2026
29 of 43 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6f733e708b5c960ba5e90751110910a03d1ba2df branch July 22, 2026 15:20
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant