Skip to content

Preserve URLs and email addresses during external agent migration - #53706

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c4d210a287c99b6440438c99527364d379c568bd
Oct 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c4d210a287c99b6440438c99527364d379c568bd

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Preserve URLs and email addresses during external agent migration

Why

Rewriting source agent names and instruction filenames inside URLs and email addresses can change their destinations when importing external agent content.

What changed

Use linkify to preserve recognized URLs and email addresses while rewriting surrounding text, including Markdown link labels and titles. Continue migrating instruction filename references to AGENTS.md, including relative links and references with line or column suffixes.

Testing

Add rewrite coverage for URLs, email addresses, Markdown links, and surrounding Unicode text. Extend skill import and app-server configuration import tests to verify that link labels migrate while URL destinations remain unchanged.

…3706)

## Why

Rewriting source agent names and instruction filenames inside URLs and email addresses can change their destinations when importing external agent content.

## What changed

Use `linkify` to preserve recognized URLs and email addresses while rewriting surrounding text, including Markdown link labels and titles. Continue migrating instruction filename references to `AGENTS.md`, including relative links and references with line or column suffixes.

## Testing

Add rewrite coverage for URLs, email addresses, Markdown links, and surrounding Unicode text. Extend skill import and app-server configuration import tests to verify that link labels migrate while URL destinations remain unchanged.

GitOrigin-RevId: c4d210a287c99b6440438c99527364d379c568bd
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c4d210a287c99b6440438c99527364d379c568bd branch from 82f79a5 to cb7091b Compare October 13, 2026 16:15
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-13T16:15:55.013353Z 82f79a5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit cb7091b into main Oct 13, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c4d210a287c99b6440438c99527364d379c568bd branch October 13, 2026 16:16
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 13, 2026
@alecvse
alecvse deployed to issue-triage October 13, 2026 16:17 — with Image GitHub Actions Active
@alecvse
alecvse deployed to issue-triage October 13, 2026 16:17 — with Image GitHub Actions Active
@alecvse
alecvse deployed to issue-triage October 13, 2026 16:17 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.

3 participants