Skip to content

investigate(integration): expose existing Codex sessions through Claude native peer tools #295

Open

Description

@abruption

Motivation

Priority: P2 feasibility investigation. Explore an explicitly enabled bridge that makes selected, already-running Codex sessions reachable through Claude Code's native ListAgents/SendMessage tools.

This differs from #46 (MCP/Codex plugin and explicit wake) and #47 (agent/transport adapter architecture). Neither establishes a supported third-party registration contract for Claude's native peer list.

Evidence and alternatives

Baseline: Python v1.1.0, commit 8ca77cf. session_peer_core/claude.py and codex.py already provide native discovery/submission with writer/home protections. Existing CLI/skill routing remains a working alternative.

Claude's official cross-session messaging documentation describes native tools and same-user/permission boundaries:
https://code.claude.com/docs/en/cross-session-messaging

Native tools existing does not prove that a supported third-party peer-registration API exists. Other projects' broker techniques are leads, not compatibility or security evidence for session-peer.

Proposed investigation

Determine whether a version/platform-qualified opt-in broker can safely expose existing Codex sessions and dispatch once through the existing session-peer adapter. Report unsupported if no defensible native registration/lifecycle contract is available. This is not a task runner.

Acceptance criteria

  • Identify authoritative native discovery/registration/message schemas, supported versions/platforms and documented versus private interfaces; record evidence and failure limits.
  • Specify explicit operator installation/activation, advertised peer namespace, ownership/authentication and sender/session-claim trust boundaries. No silent settings or registry changes.
  • Bind exact Codex thread/home and revalidate unique writer/generation context. Ambiguous/stale/unsupported evidence fails closed; do not weaken fix(identity): pin list-to-send targets to a session generation and fail closed when stale #180/investigate(codex): align selected home inspection with native SQLite storage configuration #268 guards.
  • Preserve Claude inbound permissions and Codex approval policy. No automatic model/session creation, resume, wake, approval grant or task execution.
  • Protect private IPC, quotas, input/output sizes, message framing and cleanup. Prevent registry spoofing, stale peers and orphan registrations.
  • Preserve posted/queued as submission, not ACK. Never auto-resend/fallback after possible effect. Correlation alone does not authenticate a reply.
  • Keep ordinary CLI/skills, MCP/plugin APIs and dependency-free core unchanged by default; isolate any optional dependency.
  • Start with owned synthetic protocol/lifecycle fixtures. Require separately authorized native/platform acceptance before advertising support.

No supported broker, live test, installation, operations change or release is claimed or authorized by this issue.

Activity

  1. added
    enhancement
    on Oct 10, 2026
  2. added this to the Long-term milestone on Oct 13, 2026
  3. added
    priority:P3
    on Oct 13, 2026
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

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions