Skip to content

Browser API lacks supported document/session identity for detecting same-tab reload/navigation #41272

Description

@mammoth08

What variant of Codex are you using?

Codex App on macOS with the official OpenAI Chrome extension

What feature would you like to see?

Problem

Codex browser workflows expose a stable tab identity, but I could not find a supported document/session identity that changes when the same tab reloads, navigates, or replaces its current document.

This creates an observability gap for fail-closed governed browser workflows.

Why it matters

A workflow can prove it is still using the same tab, but cannot prove that the document/session inside that tab has not been replaced between an authorization boundary and prompt submission.

URL, title, DOM state, composer state, and conversation identifiers are not sufficient for this.

Requested capability

A supported, read-only document/session identifier that:

  • is stable for the current document/session;
  • changes on reload, navigation, or document replacement;
  • can be observed together with the existing tab identity;
  • is not caller-supplied or forgeable.

An opaque cross-browser identifier would be sufficient; it does not need to expose Chrome-specific internals.

Environment

  • Codex App on macOS
  • official OpenAI Chrome extension
  • stable tab ID available
  • no supported current-document/session identity found

This currently blocks a fail-closed governed browser workflow before model interaction.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbrowserenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions