Skip to content

Add ephemeral runtime registration and signed assertions - #55402

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Add ephemeral runtime registration and signed assertions

What changed

Extend codex-runtime-agent-instance with a registration client and an in-memory assertion signer. Pending registrations retain their signing key and idempotency key across caller-driven retries; registered runtimes generate fresh versioned assertions with a timestamp and unique ID.

Bound registration requests and responses, reject unsafe endpoints, disable redirects and request logging, and preserve network policy errors. Report server rejections using only the status and recognized error codes.

Testing

Add HTTP-backed tests for retry stability, assertion signatures and freshness, policy revocation, endpoint and response validation, redirect refusal, and error redaction.

## What changed

Extend `codex-runtime-agent-instance` with a registration client and an in-memory assertion signer. Pending registrations retain their signing key and idempotency key across caller-driven retries; registered runtimes generate fresh versioned assertions with a timestamp and unique ID.

Bound registration requests and responses, reject unsafe endpoints, disable redirects and request logging, and preserve network policy errors. Report server rejections using only the status and recognized error codes.

## Testing

Add HTTP-backed tests for retry stability, assertion signatures and freshness, policy revocation, endpoint and response validation, redirect refusal, and error redaction.

GitOrigin-RevId: a6dab0900459dfb75f72652a0a2ee1e4b65ca322
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a6dab0900459dfb75f72652a0a2ee1e4b65ca322 branch from 33d28a6 to 79a19cb Compare October 19, 2026 23:02
@copyberry
copyberry Bot merged commit 79a19cb into main Oct 19, 2026
2 checks passed
@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-19T23:02:07.342179Z 33d28a6 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 deleted the copyberry/codex-internal-to-codex-oss/a6dab0900459dfb75f72652a0a2ee1e4b65ca322 branch October 19, 2026 23:02
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 19, 2026
@manzanoco
manzanoco deployed to issue-triage October 19, 2026 23:36 — with GitHub Actions Active
@manzanoco
manzanoco deployed to issue-triage October 19, 2026 23:36 — with GitHub Actions Active
@manzanoco
manzanoco deployed to issue-triage October 19, 2026 23:36 — with GitHub Actions Active
@Adrianrb07
Adrianrb07 deployed to issue-triage October 19, 2026 23:49 — with GitHub Actions Active
@Adrianrb07
Adrianrb07 deployed to issue-triage October 19, 2026 23:49 — with GitHub Actions Active
@Adrianrb07
Adrianrb07 deployed to issue-triage October 19, 2026 23:49 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 79a19cbb Deployed Oct 19, 2026 by Adrianrb07 via Generate label suggestions #57044
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.

4 participants