Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

Align discord-blue Every Code bridge with shared protocol #48

Closed

Description

@shiny-code-bot

Current Status

  • Codex Lab Code Bridge reliability slices are merged through PR Add Code Bridge replay witness #101: broadcast replay and the exec-harness witness are covered without claiming deployment/browser E2E.
  • Launchplane compatibility work is merged separately, with legacy path retirement tracked in Launchplane.
  • discord-blue PR Smoke test agent session env in TUI startup #94 is merged: Discord-facing remote-session wording now uses generic agent-session language, /code pause is wired to the existing pause command path, /agent-session/connect remains canonical, /every-code/connect remains during migration, and legacy host: Every Code reconnects are covered by regression test.
  • discord-blue PR Keep custom session sources product-restricted #95 is merged: new Discord session start markers now include session: <session_id>, legacy markers still exact-match, and future reconnects can ignore pid changes only when the persisted marker has the same session id and exactly one candidate matches. This directly hardens the odd empty-thread behavior reported after deploy without risking broad wrong-thread attachment.
  • The remaining Align discord-blue Every Code bridge with shared protocol #48 work is to keep the boundary sharp: Codex Lab Code Bridge telemetry/control stays separate from discord-blue remote agent session threads, and Every Code compatibility is retired only after Codex Lab is good enough to be the regular harness.

Acceptance Criteria

  • Inventory current discord-blue remote session bridge message types, endpoint path /every-code/connect, token/auth assumptions, session recovery behavior, and user-visible slash-command surface.
  • Rename the target concept generically as the Remote Agent Session Bridge (or equivalent generic capability name), avoiding new Every Code / Codex Lab product-brand protocol names.
  • Decide which fields/types are reusable as product-neutral provenance/request metadata and which remain remote-session-specific.
  • Preserve deployed /every-code/connect compatibility during transition by adding a generic endpoint alias rather than breaking existing clients.
  • Create and link a discord-blue retirement issue to remove the retired /every-code/connect compatibility path, clean up old Python module/package names, and delete dead Every Code-specific bridge code once migration is complete.
  • Preserve existing Launchplane EVERY_CODE_* env compatibility during transition by adding generic aliases for new clients.
  • Create and link a Launchplane retirement issue to remove retired EVERY_CODE_* aliases and clean up old Every Code-specific worker/module names and dead code once migration is complete.
  • If a shared protocol package/schema is introduced, discord-blue validates against it without losing existing tests. No shared package was introduced; the cross-repo contract remains in repo tests/scripts.
  • Launchplane request-origin metadata remains compatible for work-request correlation.
  • No app telemetry/control behavior is forced into discord-blue unless there is a concrete product use case.

Target Surface

/Users/cbusillo/Developer/discord-blue, especially discord_blue/doodads/every_code/protocol.py, bridge.py, tests, and README/service docs. May depend on artifacts from #45.

Validation Gate

discord-blue lint/type/test gates; targeted bridge tests for existing session connection, approvals, user input, commands, and recovery.

Risks

Treating discord-blue as “the Code Bridge” would conflate two bridge families. Keep remote session transport and app telemetry/control related but separable.

Finish Line

discord-blue keeps its existing Every Code service behavior while its bridge/session protocol is aligned with the shared Code Bridge contract or explicitly separated as remote-session transport.

Relationships

Activity

  1. added
    plan:donePlan completed or superseded
    and removed
    plan:activePlan is actionable now
    on Jun 16, 2026
  2. shiny-code-bot commented on Jun 16, 2026

    @shiny-code-bot
    CollaboratorAuthor

    Completed and closed after the #48 acceptance audit.

    Implementation shipped across:

    Deferred retirement remains intentionally open until Codex Lab is ready to replace the Every Code harness most of the time:

    No app telemetry/control behavior was forced into discord-blue; Codex Lab Code Bridge and discord-blue remote agent session transport remain separate.

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

    planDurable planning issueplan:donePlan completed or superseded

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions