Skip to content

🧲 feat: Enable Secure Attached Environment Pairing - #15355

Merged
danny-avila merged 8 commits into
devfrom
danny-avila/paired-code-environments
Aug 30, 2026
Merged

danny-avila merged 8 commits into
devfrom
danny-avila/paired-code-environments

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

Summary

  • model attached code environments as deployment-owned and keep pairing metadata server-only
  • add admin-only pairing and revocation endpoints backed by an environment-variable bootstrap token
  • expose only pairing availability in public endpoint configuration
  • extend the stateful bridge E2E canary to verify one-time pairing issuance and two-turn workspace persistence

Stack

Verification

  • data-provider schema suite: 114 passed
  • API admin/config suites: 20 passed
  • admin route suite: 2 passed
  • API package build
  • targeted ESLint and diff checks
  • isolated paired E2E: LibreChat 33080, Mongo 27028, Code API 23112, Redis 26379, outbound worker plus NsJail; admin pairing issuance and two stateful conversation turns passed

@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 8c8a07b to 8db21ce Compare August 30, 2026 11:52
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 8db21ce5b10dcda605ecd28e2b98fbe00feccc7e

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-30T14:25:00.393207Z 6436d0e Manual request
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8db21ce5b1

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/admin/code.ts Outdated
Comment thread api/server/routes/admin/code.js
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 8db21ce to 3fb7bea Compare August 30, 2026 12:23
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 3fb7beacbdd4114d12da8a7a33be1e6d94e9a690

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3fb7beacbd

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/admin/code.ts Outdated
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 3fb7bea to ce1252b Compare August 30, 2026 12:33
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review ce1252ba5

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review eba614646

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: eba6146460

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from eba6146 to fc5fff8 Compare August 30, 2026 12:43
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review fc5fff8e4

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: fc5fff8e41

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from fc5fff8 to 1c8366c Compare August 30, 2026 13:05
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 1c8366c89

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 1c8366c895

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 1c8366c to 8b18812 Compare August 30, 2026 13:10
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 8b188121a

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b188121aa

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/endpoints/config/endpoints.ts Outdated
Comment thread packages/api/src/admin/code.ts Outdated
Comment thread packages/api/src/admin/code.ts
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 8b18812 to 2a7b5d3 Compare August 30, 2026 13:27
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 2a7b5d324

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a7b5d3243

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/endpoints/config/endpoints.ts Outdated
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 2a7b5d3 to 7115377 Compare August 30, 2026 13:34
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 711537774

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7115377742

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/endpoints/config/endpoints.ts Outdated
Comment thread packages/api/src/admin/code.ts Outdated
Comment thread packages/api/src/admin/code.ts
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 7115377 to bd6af14 Compare August 30, 2026 14:00
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review bd6af14d1

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bd6af14d11

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/admin/code.ts Outdated
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review a5dad2f09

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: a5dad2f096

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from a5dad2f to 298c380 Compare August 30, 2026 14:12
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 298c38070

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 298c38070b

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/api/src/admin/code.ts Outdated
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 298c380 to 6542d2f Compare August 30, 2026 14:19
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 6542d2f

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review 6436d0e

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 6436d0e6db

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila danny-avila changed the title feat: add secure code environment pairing 🧲 feat: Enable Secure Attached Environment Pairing Aug 30, 2026
Base automatically changed from danny-avila/stateful-code-environments to dev August 30, 2026 19:38
@danny-avila
danny-avila force-pushed the danny-avila/paired-code-environments branch from 6436d0e to e15b816 Compare August 30, 2026 19:38
@danny-avila
danny-avila merged commit a9ccac8 into dev Aug 30, 2026
38 checks passed
@danny-avila
danny-avila deleted the danny-avila/paired-code-environments branch August 30, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant