Skip to content

Permission-scoped Codex–ChatGPT messaging bridge with live transaction view #40230

Open

Description

@skywalker665-rgb

Summary

Please add an opt-in, permission-scoped backend messaging bridge between Codex and user-selected ChatGPT conversations or Projects.

This would provide a stable, auditable channel for routine messages and artifacts between two OpenAI products without relying on browser automation or merging their distinct permission models.

Product area: Codex App, ChatGPT conversations, and ChatGPT Projects
Scope: Version-independent product request

Problem

Today, communication between Codex and ChatGPT commonly requires manual copy/paste or browser-mediated automation. That introduces avoidable failure modes:

  • expired or disconnected browser sessions;
  • UI and rendering changes;
  • incomplete or uncertain delivery;
  • accidental duplicate submissions;
  • loss of message identity and provenance;
  • limited visibility into what was sent, where it went, and which permission allowed it.

Browser automation is useful for general web interaction, but it should not be the primary transport between two OpenAI products when a narrower backend channel could provide stronger authorization, auditability, reliability, and revocation.

Proposed design

1. Exact allowlists and separate permissions

Users should explicitly authorize exact ChatGPT conversation IDs or Projects. Permissions should be granted separately for:

  • reading messages;
  • sending messages;
  • reading attachments;
  • attaching Codex-generated artifacts.

Authorization for one conversation or Project must not imply access to any other ChatGPT history.

2. Live, user-visible transaction view

Users should be able to watch each exchange between Codex and ChatGPT in real time. The view should show:

  • the actual message or artifact being exchanged;
  • source and destination;
  • direction of travel;
  • permission used;
  • timestamp;
  • originating Codex task;
  • message ID;
  • queued, sent, delivered, failed, blocked, or cancelled status.

The user should be able to pause, cancel, or revoke the bridge while an exchange is underway.

3. Reliability and auditability

The transport should provide:

  • stable message IDs;
  • explicit delivery receipts;
  • idempotency keys and duplicate protection;
  • retry behavior that cannot silently duplicate a message;
  • durable audit logs;
  • clear failure reasons and recovery state.

4. Sensitive-action confirmation and revocation

The product should require confirmation before:

  • transmitting sensitive files;
  • expanding access to another conversation or Project;
  • using a permission not already granted;
  • performing an action outside the original authorization.

Users should have per-conversation revocation, per-Project revocation, and a global kill switch.

5. Strict authority separation

Messaging authorization must grant zero implied authority over:

  • local files or folders;
  • repositories or branches;
  • terminal commands;
  • computer-control permissions;
  • network access;
  • secrets or credentials;
  • deployment or external-service actions.

Likewise, Codex filesystem, repository, terminal, computer, or network permissions must not imply permission to read or write ChatGPT conversations.

6. Privacy boundary

The live view should expose the communication transaction and its status. It should not expose private model reasoning, hidden chain-of-thought, credentials, authentication material, or security internals.

Example flow

  1. The user authorizes one Codex task to exchange messages with one selected ChatGPT conversation.
  2. The user grants send-message and read-response permissions, but no attachment access.
  3. Codex prepares a message; the live transaction view shows its content, destination, permission, and queued status.
  4. The message receives a stable ID and changes to delivered only after an explicit receipt.
  5. A response from ChatGPT appears in the same transaction view with its own ID and provenance.
  6. The user can pause the channel, revoke access, or use the global kill switch at any time.

Suggested acceptance criteria

  • Users can allowlist exact ChatGPT conversations or Projects.
  • Read, write, and attachment capabilities are independently controllable.
  • Every exchange has a stable ID, status, provenance, and receipt.
  • Duplicate submission is prevented across retries and reconnects.
  • Users can see exchanges live and pause or cancel them.
  • Sensitive or scope-expanding actions require confirmation.
  • Revocation takes effect immediately.
  • ChatGPT messaging authority and Codex local authority remain strictly independent.

Related requests

Activity

  1. added
    enhancement
    app
    connectivity
    on Aug 23, 2026
  2. github-actions commented on Aug 23, 2026

    @github-actions
    Contributor
  3. barcuchj commented on Sep 1, 2026

    @barcuchj

    One concrete use case is exact artifact delivery from ChatGPT to Codex. If ChatGPT creates or has an attached ZIP/file, Codex should be able to receive that same immutable artifact as task input, with filename, size, hash, provenance, and explicit user approval—not regenerate a similar file or rely on browser download/copy-paste.

    Read, send, and attachment permissions should stay independent, and delivery should be idempotent so retries cannot silently create duplicates.

  4. brando90 commented on Nov 20, 2026

    @brando90

    Adding a concrete, user-authorized workflow that supports this request, observed on 20 November 2026. This report was prepared and submitted with AI assistance at the user's explicit request.

    Workflow and impact

    The user was working with a ChatGPT conversation and a separate, existing Codex conversation on one shared presentation. They supplied the exact codex://threads/<thread-id> link and explicitly asked the conversations to coordinate, choose one production owner, and preserve the canonical artifact and review context.

    A single accountable editor is useful. Requiring the user to route every editing request to the correct chat, or relay review messages between OpenAI products, adds avoidable coordination work and creates a risk of duplicate work or conflicting edits. The user should be able to make a request in either conversation and have it reach the designated owner with an acknowledgment.

    Observed behavior

    • No supported direct messaging tool for that separate, existing Codex thread was exposed in this ChatGPT runtime.
    • The installed CLI advertised codex queue --thread <UUID or exact session name> --message <TEXT>. An authorized handoff attempt returned a state-database initialization error. No successful enqueue or delivery receipt was obtained.
    • A read-only local app-server connectivity check also failed at the control socket.
    • The other Codex thread subsequently reported using a background browser after direct messaging failed. Its ownership acknowledgment reached this conversation, but we did not independently observe that browser interaction or verify a native messaging bridge.

    Sanitized errors:

    failed to initialize state database
    failed to open state DB at <runtime-home>/.codex/state_5.sqlite
    (code: 14) unable to open database file
    
    codex app-server daemon version:
    Operation not permitted (os error 1)
    

    Environment: ChatGPT with a managed Linux execution runtime; installed CLI codex-cli 0.172.0-alpha.2; destination was a separate existing Codex conversation. This CLI version is not asserted to be the destination desktop app's version, which was not independently verified. No --resume flag was used for the queue attempt.

    These observations describe one workflow. They do not establish a universal product failure, a broken destination thread, or loss of a successfully queued message. The local database/socket restrictions may be intentional isolation boundaries; they should remain intact.

    Requested behavior / acceptance test

    1. Given a user-selected existing thread and explicit authorization, provide native bidirectional messaging between ChatGPT and Codex, including replies from active or idle conversations.
    2. Show the exact destination, message identity, and distinct queued / delivered / acknowledged / failed states. Retries should not duplicate messages.
    3. Support a structured handoff containing the goal, owner, decisions, constraints, review comments, and authorized artifact references.
    4. Let the user continue in either conversation while preserving one production owner. Do not make the user act as the message transport.
    5. Keep access scoped to the selected conversations, with visible history, clear permission errors, and revocation. Messaging should preserve each product's existing execution and data-access permissions.

    A practical acceptance test is: ask ChatGPT to send a revision request to the existing Codex owner; have Codex acknowledge it and return the resulting artifact/review status to ChatGPT, without manual copy/paste, browser relays, or local database access.

    Private thread IDs, document links, account details, and unpublished project content have been omitted.

  5. barcuchj commented on Nov 25, 2026

    @barcuchj

    Strong +1 to @brando90's concrete workflow and acceptance criteria. This closely matches the coordination problem I have been addressing with my own GPT Courier workaround.

    I would particularly welcome native, bidirectional communication between existing ChatGPT and Codex conversations, not just a one-time export or the creation of a new task. The bridge should support:

    • Structured requests, decisions, constraints, review feedback, task status, and references to exact existing artifacts (without regenerating them).
    • An explicit production owner for a shared task or artifact, so multiple agents do not independently implement the same changes or overwrite one another's work.
    • Asynchronous delivery and acknowledgment, including when the originating conversation is idle, with visible queued/delivered/acknowledged/failed states and idempotent retries.
    • User-approved access to specific conversations, with separate messaging and artifact permissions, audit history, and revocation. Existing execution and repository permissions must remain intact.

    A useful acceptance test would be to send a revision request from ChatGPT to an existing Codex task, have that task acknowledge ownership, perform the work, and return its results and artifact references to the original conversation without the user manually relaying messages.

    This would remove much of the coordination overhead of custom courier workflows while reducing duplicate work and preserving a clear source of truth. See also #40142 for asynchronous result delivery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appconnectivityenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions