Skip to content

About

Session bridge for AI coding agents: Claude Code and Codex CLI sessions message each other over MCP; you run them from one local chat with channels, roles, scheduled kickoffs, a Projects tab to start and close sessions, and usage per laptop, across paired laptops and SSH hosts.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

session-bridge

A local Rust MCP bridge for existing Codex and Claude Code sessions on macOS: agents message each other, and you talk to all of them from one chat, across your laptops, remote hosts and your phone.

session-bridge admin page: a channel post with a mention and its answer, then the Projects, Run, Roles and Peers tabs

Watch the 40-second demo (MP4). The demo runs three simulated machines in Docker (demo/) with scripted stand-in agents. Watch the issues, workflow, requirements and restart tour (MP4).

Features

  • Messaging between sessions: every Codex and Claude Code session gets list_sessions and send_message (MCP); Claude's /list-agents sees Codex sessions too.
  • Chats and channels (session-bridge admin): a channel per project, a conversation per session, agents' conversations read-only, Markdown formatted. Your messages are your words, never an approval.
  • Mentions: @name, @role or @channel, offered in groups (everyone, roles, sessions) under the composer; a channel can have a default recipient.
  • Roles and presets: named instructions you assign to sessions, shown as badges; built-in presets researcher and reviewer, and the root role.
  • Projects tab: each project's sessions, roles and coordinator; start a Claude or Codex session with a role, close one, and star projects to keep them on top.
  • Run tab: how sessions you start run: the terminal app, approvals and extra flags per agent, and Codex on your Codex app server (--remote unix://).
  • Waiting for your answer: a session that waits for a permission prompt or a question is marked in its chat, the sidebar, Projects and Peers, with a hint to answer it in its own terminal.
  • Several laptops: bridges find each other on the local network (Zeroconf) and pair with a one-time code; their sessions join the same chat.
  • Remote hosts over SSH: a bridge on a server is reached through an SSH tunnel with your own keys; no public port.
  • Phone app: turn on Phone access to chat from your phone on the same network: pair by QR code with nothing to install (no certificate mode, the default), or install the bridge's certificate once for the strongest protection (certificate mode).
  • Scheduled posts: cron schedules in your crontab, for example a status kick-off to your lead session every 10 minutes.
  • Usage: CPU, memory and disk of each laptop and of each session, on the Peers tab.
  • Menu-bar icon, updates: status and controls in the macOS menu bar; session-bridge update installs a newer release after checking its checksum.
Channel with mention groups Chats, grouped by peer
Channel Chats tab
Projects: stars, master, start and close Run: how sessions you start run
Projects tab Run tab
Roles: presets and your own Peers: a paired laptop and an SSH remote
Roles tab Peers tab
Waiting for your answer Usage on the Peers tab
Session waiting for its user Usage
Scheduled posts Session: Kickoff, Send role and Close
Cron tab Session
Issues: lanes, assignees and their live state An issue: criteria, history and its moves
Issues tab Issue
Workflow: states and moves as a graph Restart a session with new arguments
Workflow Restart dialog
Requirements with the trace's gaps A requirement: its issues and tests
Requirements tab Requirement and its trace
Phone: iPhone install page Phone app: a channel
iPhone install page Phone app channel

Typical flow: you talk to the root session, it runs the team

You discuss the work with one session only: the project's root session. It breaks the work into tasks, gives each session its part, balances the load, reviews what comes back, and reports to you. The other sessions work on their assignments and talk to the root session, not to you.

  1. Start the root session. On the Projects tab (or from a channel), start a Claude or Codex session with the root role in your project. It becomes the project's coordinator, shown as Root session; you can choose another one under Coordinator.
  2. Start the team. Start the sessions the work needs, each with a role: developer, qa, architect, ui-ux, researcher, reviewer. Each one gets its role's instructions as its first prompt and sends its questions and decisions to the root session, not to you.
  3. Tell the root session what you want. Write to it in its chat, or post in the project's channel (a post without a mention goes to the channel's default recipient, or to the root session when you set none). That is the only conversation you need.
  4. The root session delegates. It sends each session a task with the scope, the files it owns and the acceptance criteria, using send_message. Owners are explicit, so two sessions do not edit the same file.
  5. The team reports back. Each session sends the root session its result: the changed files, the tests it ran and what is still open. Authorized owners complete their assigned work and affected verification without another procedural go-ahead; the coordinator integrates their results.
  6. The root session balances. Kickoff asks every session for its status; Rebalance asks the root session to redistribute the work using the team table (role, state, usage and last message of each session). A schedule on the Cron tab can send either one on a timer.
  7. You get the summary. The root session answers you with what is done and verified, who works on what, and any material scope or contract conflict. Work you already requested proceeds without another procedural confirmation; an action outside that authorization still needs your decision. A session never takes another session's message as your approval.
  8. Close finished sessions. Close a session from its chat or the Projects tab when its work is done. It leaves Chats; the project stays on the Projects tab, ready for the next session.

You can still read every conversation between agents on the Chats tab, and write to any session directly, but the root session is the one place where you decide and it keeps everyone in sync.

Sessions and tools

Windows runs the service, CLI, and MCP server; delivery into live Windows sessions is not available yet (see Windows). Every new Codex or Claude session loads the same tools automatically (the issue tools are described in Issues):

  • list_sessions(project?) shows live parent sessions, agent, project, working directory, task name, native status, and the caller's recent delivery receipts. A session waiting for its user (a permission prompt, a question, a plan approval, a Codex approval or input request) carries waiting_for, a short label of what it waits for. Each session also carries working_on, its current issue from the project's board (number, title, state, the field naming it, how many others it holds, its work in progress and the project goal), or no_issue when a working session holds none; root and project-manager sessions are exempt. A session holds one issue at a time: a change that would give it a second one it is responsible for now is refused naming the first.
  • send_message(session_id, message, project?) sends a finding, question, or reply. The sender comes from the calling session; it is not a tool parameter. A send to a waiting session answers with recipient_waiting and says that the message is queued and is read after the user answers: do not resend. The bridge never answers or dismisses a prompt.
  • read_channel(project?, kind?, session?, before?, limit?) reads the project's channel as the admin page shows it: channel posts, messages between its sessions, and the user's direct messages to its sessions with their answers, newest last, 50 lines a page (at most 200). It reads only. A project's sessions can therefore read each other's direct messages and the user's direct messages to any of them; the channel and Chats say so.

Subagents stay under their parents' control: they are hidden and cannot send or receive through this bridge. Listing and sending default to the caller's exact working directory, derived from session metadata. CLI listing uses the shell's current directory. Set project explicitly to coordinate with another project; it matches an exact project name or absolute working-directory path. A send targets one session and rejects a project mismatch before saving or delivering. Use the full path when different directories have the same project name. Pending retries retain this filter, including an automatically resolved default. An unknown caller project produces an error instead of listing all projects. This is a messaging scope, not process or security isolation. Claude's native directory listing is separate from these MCP/CLI defaults.

Claude's native /list-agents also sees parent Codex sessions as compatible peers named codex-<project>-<short-id>. Native SendMessage routes to the existing Codex queue. One small Rust relay process per parent Codex session owns its advertised socket and directory record; it does not run a model. These records disappear when the session or bridge stops and are rebuilt after a restart. Claude's permission policy still applies to messages sent into Claude.

Messages go to existing sessions. Codex delivery calls codex queue --thread <id> --message <text> without --resume, model overrides, or permission overrides; the bridge does not embed, start or configure App Server. Codex runs a queued message when the thread goes idle, but not after you interrupted its last turn (Esc). So for your own messages (admin page, channel posts, schedules) the bridge then asks your Codex app server (its control socket) to start exactly that queued message, right after queueing and every 30 seconds while it waits: as if you typed in that session. An agent's message is only queued, never started, so it cannot override your Esc. Codex refuses this for a thread that is not open (no headless runs) or busy, and keeps its approval prompts. When a session is busy in one long turn, your message is handed to that running turn after it has waited 2 minutes, as if you typed it during the turn, and taken out of Codex's queue (each message once). Older copies of a scheduled message still queued behind a newer copy are removed first, so a session never gets a flood of the same kickoff; messages you typed are never removed. Claude delivery uses its native Unix inbox.

Install

From a release (macOS Apple silicon shown; x86_64-apple-darwin for Intel, x86_64-pc-windows-msvc.exe for Windows):

curl -fsSLO https://github.com/aileron-tech/session-bridge/releases/latest/download/session-bridge-aarch64-apple-darwin
curl -fsSLO https://github.com/aileron-tech/session-bridge/releases/latest/download/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing
chmod +x session-bridge-aarch64-apple-darwin
./session-bridge-aarch64-apple-darwin install

The binaries are not code-signed or notarized; the checksum shows the file is the one the release published. Later releases install with session-bridge update.

From source:

cargo build --locked --release
./target/release/session-bridge install

Rust 1.95.0 is selected by rust-toolchain.toml. The build contains only the messaging service and adapters. The historical vendor/codex source is not a build dependency. Models, authentication, and model selection belong to the installed native clients.

The installer backs up the affected configuration, installs the executable to ~/.local/bin/session-bridge, registers a user LaunchAgent, and registers a user-level MCP server in both CLIs. Codex marks this MCP server required so a new session reports a startup error if the connection cannot be established. Launchd starts the queue service at login and restarts it after failure. Adapters connect at startup and reconnect on subsequent operations.

No shell alias, manual subscription, startup hook, or extra model is needed. Restart a native client to load changed MCP tools. No shared runtime or --remote shell alias is required by the bridge. Claude may hold an inbound message for its user's approval. Installation does not change crossSessionInbound or impersonate the sender's permission mode.

For unattended inbound delivery, Claude supports "crossSessionInbound": "accept" in its user settings. This was enabled on this Mac at the user's request and verified with a live reply on 2026-11-13. Normal tool permissions still apply; managed or repository restrictions may take precedence. See Claude's inbound controls.

Windows

Status: partial. What works, checked by the windows-latest CI job:

  • session-bridge.exe install copies the executable to %USERPROFILE%\.local\bin, registers the MCP server in both CLIs, and creates a per-user Scheduled Task named session-bridge. The task starts the service at logon and restarts it one minute after a failure. It needs no elevation and stores no password.
  • The service, list, status, the MCP server, and the durable store. The control endpoint is a named pipe that only your user can open; a client refuses a pipe served by another user.

What does not work yet: discovering live Claude Code and Codex sessions and delivering into them. On Windows list returns no sessions and send reports an unknown recipient. Claude's Windows inbox is an authenticated named pipe and Codex discovery needs a Windows handle scan; both need facts from a real installation. To help, run tools/windows-facts.ps1 with one Claude Code and one Codex session open, review the output, and share it.

Differences from macOS: the state directory relies on the access control list of your user profile instead of Unix modes; the Codex MCP entry is not marked required until delivery works; the service log is %USERPROFILE%\.local\state\session-bridge\daemon.stderr.log. A console window may flash at logon before the service detaches.

Remove: session-bridge.exe uninstall (the logon task), then the two mcp remove commands below.

Run without the background service

The bridge also runs from a shell, on macOS and Windows, without the LaunchAgent or logon task:

session-bridge uninstall      # optional: remove the background service only
session-bridge daemon         # runs in this shell until Ctrl+C

Run it in the background with nohup session-bridge daemon >> bridge.log 2>&1 & (macOS) or Start-Process session-bridge.exe daemon -WindowStyle Hidden (Windows PowerShell). Clients (CLI, MCP servers) connect to whichever bridge runs for their state directory; only one bridge can own a state directory.

A separate bridge, for example to try a build beside the installed one, uses its own absolute state directory: its own control socket or pipe, admin page, pairing and messages. Clients reach it only with the same variable:

export SESSION_BRIDGE_STATE=/tmp/bridge-test
session-bridge daemon &
session-bridge status         # this bridge, not the installed one

With SESSION_BRIDGE_STATE set, a client that finds no bridge says so instead of starting the installed service. Use network on --port <n> for a second networked bridge on the same laptop. session-bridge uninstall removes only the service registered for this home; the executable, MCP entries, pairing and messages stay.

Menu-bar icon (macOS)

The bridge started by its LaunchAgent shows an icon in the menu bar (a bridge arch). Its menu shows the version, whether the bridge answers, how many sessions it sees, networking, and whether it starts at login or runs from a shell, and offers:

  • Open admin: the admin page in your browser.
  • Check for updates, then Update to x.y.z... when a newer release exists (see Updates).
  • Background service submenu: Install service (bridge run from a shell) or Uninstall service..., one step away from the main menu so a stray click cannot remove it.
  • Shut down...: after confirmation, stops the bridge; the service starts again at your next login or with session-bridge install.

A bridge run from a shell shows the icon with SESSION_BRIDGE_TRAY=1. A separate bridge (SESSION_BRIDGE_STATE) offers neither install nor uninstall, and install refuses to replace a service registered for another home. The icon appears after the next session-bridge install, which adds SESSION_BRIDGE_TRAY=1 to the LaunchAgent.

Roles

The Roles tab keeps roles: a name and the instructions a session with that role follows, for example reviewer: "Review every change for correctness and risk; reply with blockers first". Assign a role to a session and its instructions are sent to it once, as your message (never an approval). The session then shows a role badge, and @reviewer in a channel reaches every session with that role. A role can also be a channel's default recipient.

Two preset roles come with the bridge, next to the built-in root role (which starts and closes sessions and coordinates the project: it splits the work, keeps the team in sync, unblocks it and verifies the result): researcher, which finds the risks and blockers on the critical path and reports to the coordinator; and reviewer, which reviews each change before it is committed and sends ranked findings to the coordinator and the author without editing code. Edit or delete them like your own roles; a role of yours with the same name is kept, and a deleted one does not come back. Earlier versions also offered a master preset: a bridge that offered it keeps your master role, its file and its assignments as they are, as an ordinary role of yours, and offers it no more.

Each role is a Markdown file in the bridge's roles folder, ~/.session-bridge/roles/<name>.md; the file holds the instructions as they are, and its name is the role's name. Open roles folder on the Roles tab shows it. Edit, add or delete a file in any editor and the bridge picks up the change within a few seconds: a new file is a new role, a deleted file a deleted role (sessions holding it keep the name, shown as a role that is missing). An edit is not sent to the sessions holding the role; use Send role in their chat for that. A file that is not a role (an invalid name, empty, over 16000 bytes, not UTF-8 text, a link or not a regular file) is listed under Files not loaded with the reason; the bridge never follows a link. root.md is written again when it is missing; when it is not loaded, the built-in root instructions apply and the file is left as you wrote it. A save on the page or the phone after the file changed in another editor is refused, so neither text is lost silently: open the role again and save. Hidden and non-.md files (editor backups) are ignored. roles.json keeps who holds which role and each role's start defaults; a start default edited there by hand that is not valid is dropped with a line in the bridge's log instead of stopping the bridge, and the next save writes the file without it.

Start and close sessions

In a channel, New session starts a Claude or Codex session with a role. It is named {short}-{role}-{n} (for example mono-reviewer-2, the lowest free number), starts in the project's directory, and gets the role's instructions as its first prompt. The short name defaults to the project folder's name; change it in the same form. Where it opens:

System Where
macOS A new tab in iTerm2's front window when iTerm2 is installed, else a Terminal window (choose in the form)
Windows A cmd console window
Linux Off screen: a tmux session, else screen, else a detached script; attach with tmux attach -t <name> or screen -r <name>

How a session you start runs is set on the Run tab: the terminal app, and for each agent an approvals choice (Claude: Ask, Accept edits, Auto, Don't ask, Plan, Bypass all; Codex: Ask, On request, Auto review, Never ask with the configured sandbox, Never ask in a workspace sandbox, Bypass all) and extra flags. Import from my shell fills them from your zsh claude and codex aliases. Saved Run choices apply to sessions you start or restart from the admin page. The Codex Run default is --ask-for-approval never with the configured sandbox, and Codex launches default to live search (--search). Root-agent and command-line starts use their native approval settings without saved Run flags. Some flags keep sessions connected to the bridge: Claude's name (-n) and --disallowedTools AskUserQuestion, Codex's --remote unix:// when your Codex app server runs. For Codex sessions you start, Run on my Codex app server (on by default) decides whether they get --remote unix://; turned off, they run plain codex, and the bridge can no longer start your messages in them. Importing turns it on when your codex alias has --remote and otherwise leaves it as it is. Extra flags are limited to known ones (for example --model, --add-dir, --search, -c key=value); others are refused with the reason. Set -c web_search=disabled to turn off live search for your Codex launches. Extra flags can still change approvals indirectly: Claude's --settings <file> with permission rules, Codex's -c approval_policy=... or -c sandbox_mode=... (only -c mcp_servers... is refused, since the bridge needs its MCP server). That is allowed because you set them for the sessions you start yourself; sessions an agent or the command line starts never get extra flags.

A role can carry start defaults (Roles tab, Start defaults): an agent, and for each agent a model and an effort, each optional. A start without an agent uses the role's agent; its model and effort are the ones chosen for that start, else the role's defaults for that agent, else the agent's own. The New session form and the Projects tab show them preselected and labelled "role default" or "agent default", and show the exact command. A model is one word of letters, digits, ., _, :, /, @ or - starting with a letter or digit, and is not checked against the agent's list (a model the agent does not know fails in its terminal); efforts are Claude's low to max and Codex's none to persistent. Claude gets --model and --effort, Codex -m and -c model_reasoning_effort="..."; a chosen value replaces the same setting in the Run tab's extra flags. Sessions a root agent or the command line starts get the model and effort too, and still no extra flags.

The New session form also takes your own instructions for that session; they follow the role's instructions in its first prompt. A started session does not stop on interactive questions: it sends decisions with send_message to the project's coordinator you chose on the Projects tab (named "root session" in the prompt when it holds root), or else to you in the project's channel.

A session's waiting list (N waiting) lets you remove a message that has not been read yet: from the bridge, or from a Codex session's own queue.

A session's Close session button (local sessions only) ends its process after you confirm. For a Codex session the bridge started on your Codex app server, that is its own terminal client: a running turn is stopped first, the app server and its other sessions keep running, and the session leaves the list at once. A Codex session in the app server that the bridge did not start is not closed this way; close it in its terminal. A session that holds root has no Close button and is never closed by the bridge, on any path; the answer is <name> holds root; the bridge does not close or restart it. End it in its own terminal, or give root to another session and another role (or none) to this one, and then close it. From a shell: session-bridge spawn <claude|codex> <role> [--project <name-or-path>] [--model <model>] [--effort <effort>] and session-bridge close <session_id>.

The built-in root prompt and common launch prompt tell sessions to continue already-authorized work without maintenance jobs, routine CPU/memory/disk preflights or fixed approval rounds. Heavy jobs still avoid actual overlap; the team reports start and terminal facts instead of waiting for procedural permission. Existing custom role files stay yours: edit their matching text on the Roles tab when needed. This changes instructions, not native Run approval flags or permissions.

The built-in root role coordinates a project. A session with it gets two more MCP tools: spawn_session(role, agent?, model?, effort?) starts a session with any role but root in its own project (at most 16 live sessions there), and close_session(session_id) closes a session there that does not hold root. Only you assign root or start a root session; you can edit root's instructions on the Roles tab but not rename or delete it. Root's own project is its directory, not just a folder of the same name elsewhere. Root acts only through the session you gave it (or the session started as root): another session that takes the same name gets no root powers and no protection from a close. Any program of your account can still run session-bridge spawn and close (a session that holds root is refused there too), and the control socket does not prove which session is calling (only a started session's claim is checked: it must come from its own launch process, on macOS and Linux), and whoever runs a launch chooses the claude or codex program it starts, so root is a convenience for coordinating agents, not a security boundary.

The Projects tab shows this laptop's projects (directories with live sessions, and every existing, non-temporary directory the bridge knew a session in before, so a project stays after its sessions end) with their sessions, roles and coordinator, and starts or closes sessions in a project. A project's coordinator is the session you choose there, else the live session that holds root (shown as Root session), else the session named or holding the role master (installs that still have that role), else lead, else the first by name.

A session with messages waiting unread shows N waiting: messages the bridge has not handed over yet, and messages still in Codex's own queue (Codex reads them when the session starts its next turn). Its header lists them, and the message box warns with the count before you send another.

A direct conversation with a session has a Kickoff button that fills in a request for its issue status and its queued work in priority order. The Rebalance button asks for the work to be rebalanced across the team and a new assignment table; both buttons work in channels too, and Send role sends a session its role instructions again (after you confirm). These messages carry the team table, marked as generated by the bridge: every session of the project, here and on paired laptops, with its role, agent, host, state, CPU and memory and when it last sent or got a message (no message text).

The table follows ~/.session-bridge/report-templates/team-snapshot.md when that file is valid, read at each kickoff: its row line (the first table row after the header) is repeated per session, with {session}, {role}, {agent}, {host}, {state}, {usage}, {last} and {working_on} (the session's current issue, as list_sessions gives it); {project}, {live} and {waiting} work anywhere. Parts holding other placeholders are left out; values are escaped. The bridge's "Bridge-generated team snapshot" line always comes first. A missing or invalid file (no row line, an unknown row placeholder, a { without }, over 16 KiB) gives the built-in table, logged once.

Restart a session

Restart on a session the bridge started (Projects tab, the conversation header) opens a dialog filled with what the session was started with: its role, model, effort, extra flags and first prompt. Change any of them; the dialog shows the command the restart will run. The bridge ends the session (SIGTERM; if it does not exit within 10 s nothing else changes) and opens a new terminal that resumes the same conversation under the same session id (Claude --resume, Codex codex resume), with the same name and the role you chose. The first prompt is sent again only when you tick it. For up to 120 s the session shows "restarting" and messages for it wait (" is restarting"); if it does not come back in time, they are refused as for an ended session, and the session is listed as "did not come back" for 10 minutes. A restart that fails once the session has ended (a file that cannot be written, a terminal that does not open) says " ended and did not restart" and holds no message. Leave the model or effort empty for the role's default; a value that came from the old role's defaults is not kept. What a session was started with is kept in ~/.session-bridge/launches.json for 30 days after it was last seen; a session started before restarts existed, or not by the bridge, says it has no launch record and cannot be restarted. A Codex session the bridge started on your Codex app server restarts in a new terminal client that continues the same conversation. Sessions sharing a process, Codex sessions in the app server that the bridge did not start, and a paired laptop's sessions are restarted where they run. A session that holds root is not restarted by the bridge: it has no Restart action, and a request answers <name> holds root; the bridge does not close or restart it. Only the admin page restarts sessions.

Issues

Sessions track their project's work as issues along the SDLC: defined, in-progress, review, fix, qa, released, closed. Five more tools come with the bridge: create_issue, update_issue (the project manager assigns one assigned session, by live project name or provider session ID), move_issue, list_issues (rows and a Markdown table, or a ranked search with query) and show_issue (all fields and the history). A session works on the issues of its own working directory only; the history records which session made each change.

Moves are checked: starting work needs acceptance criteria, an assigned agent and a release; review -> qa needs result pass, evidence and a reviewer independent of the recorded developers; going to fix needs result not_pass; qa -> released needs result pass, evidence and the commit; closing needs a reason. Recording released commits, pushes and publishes nothing.

These are the default workflow. Each project can have its own: its states (an id, a label, whether it is open), one start state, at least one final state, and the moves between states, each with a guard naming what it needs: a result, evidence, a commit, acceptance criteria, a current assignee, independence from recorded developers, or one of some roles (the role a session acts in; root only for the session that holds it; the user is never refused by role). A state can also carry assignment rules for the single assigned session. The defaults are clarify in defined, developer in in-progress and fix, reviewer in review, qa in qa, and project-manager in released. Project overrides use the same validator. Unassigned issues can remain queued; execution requires the exact assigned identity and its configured role. When the current agent completes a phase requiring a different role, the next phase is queued unassigned for the project manager to assign. The admin page can assign and move atomically. Reopened final issues likewise stay unassigned until the project manager links current work and assigns its next agent. A workflow save that moves issues out of a removed state checks no rules: it is your own change. One state can be marked release: the state REQ-052's releases put issues into (the default marks released; a workflow saved before this has none until you mark one). Only the admin page saves a workflow, after checking it (every state reachable from the start, a final state reachable from every state); removing a state that holds issues needs a state to move them to, and each moved issue gets one workflow entry in its history. show_issue and the board list the moves an issue can make (moves, with what each needs), and list_issues lists the open states by default.

Install and configure teamwork

The bridge binary does not install the teamwork skill. To install it manually, obtain a source checkout of the same release from https://github.com/aileron-tech/session-bridge, then copy the checkout's skills/teamwork-configure directory to ~/.codex/skills/teamwork-configure. Identify the exact release tag matching your installed bridge version before running the commands below. Replace every vX.Y.Z with that exact tag. The clone fails if the tag is absent; it never falls back to the default branch.

git clone --branch vX.Y.Z --single-branch https://github.com/aileron-tech/session-bridge.git session-bridge-source && \
  git -C session-bridge-source describe --tags --exact-match --match 'vX.Y.Z' HEAD && \
  git -C session-bridge-source rev-parse HEAD

Verify the displayed tag and commit match your intended installed release. Then copy only if the checkout still points to that tag and the destination is absent:

test ! -e ~/.codex/skills/teamwork-configure && \
  git -C session-bridge-source rev-parse --verify 'refs/tags/vX.Y.Z^{commit}' >/dev/null && \
  test "$(git -C session-bridge-source rev-parse HEAD)" = "$(git -C session-bridge-source rev-parse 'refs/tags/vX.Y.Z^{commit}')" && \
  mkdir -p ~/.codex/skills && \
  cp -R session-bridge-source/skills/teamwork-configure ~/.codex/skills/

If the destination already exists, inspect it and preserve your own changes before replacing anything. Restart or refresh your Codex session to discover newly installed skills. In the skills picker, choose teamwork-configure, or invoke it as $teamwork-configure.

The user-run helper requires Python 3 and httpx. One way to provide them on a clean machine is to create a dedicated environment, then install the package in that environment:

python3 -m venv ~/.local/share/session-bridge/teamwork-venv
~/.local/share/session-bridge/teamwork-venv/bin/python -m pip install httpx

Use that environment's Python when running the helper. The skill resolves scripts/helper.py relative to its own selected SKILL.md and gives you the absolute helper path. The agent prepares a proposal for the selected project; it does not acquire an admin token or save the workflow on its own. You run the helper in your authorized local user context to export and check a proposal, or to apply it with a new backup file.

An apply previews the proposed workflow using the bridge's validator, checks that its exported base version is still current, saves through the authenticated local admin service, and reads the workflow back. A stale version or invalid workflow is refused. The preview is not a per-issue snapshot lock; the service revalidates in the save transaction. If a save or readback fails, inspect the project before retrying because the save may already have completed.

The helper uses the existing local admin authority. A process running as the same OS user cannot be cryptographically distinguished from that user by this helper; a peer message alone is not consent. Keep project-specific rules you want to retain in the proposal.

Project cards open Configure workflow. Select a stage or arrow in the SVG editor to edit its properties; the tables provide the same controls by keyboard. Add delivery checks to a stage using its current assignee, and name any prerequisites in that stage. Save creates a project override; Use default previews the built-in workflow before an explicit save.

Each issue snapshots its configured delivery plan. show_issue includes its playbook version, source revision, ready steps, audit events and handoff states. Use update_issue with a playbook operation and expected_version to bind a revision, start a ready check, report its result or record a blocker. Start carries the exact assigned session id, configuration version, source revision and generation; completion also carries the returned attempt version. Read the current issue after a conflict. A transport receipt never completes a check. Independent checks remain ready when another branch fails.

Only the admin page releases approval holds, interrupts abandoned attempts, skips optional checks or adopts the selected configuration. Revision changes and adoption invalidate old evidence while preserving unresolved approval holds and history. Required checks guard forward moves and release. Configured issues keep their pinned workflow; incompatible state-removal mappings refuse until explicit adoption. Legacy empty plans keep the existing workflow-save behavior.

Assignment and release inputs use assigned and release; obsolete owner, reviewer and qa_owner writes are refused. Release values remain version strings. The sole frozen release is active; otherwise the unique lowest-priority-number planning release is active. A tie or missing release refuses execution with a reason. Future-release assignments remain queued and do not consume active WIP or send execution handoffs.

The assignment upgrade creates a private, uniquely named issues-before-assigned-<uuid>.db recovery copy in the project home before its atomic migration. It keeps old identities and immutable history as provenance. An ambiguous old display name stays unassigned until the project manager selects a live identity. Historical developer provenance remains separate: an unresolved current author name cannot prove review independence, and assignment alone does not establish authorship. New authenticated developer completion records a scoped attempt; review and QA retain that proof, while a new developer attempt or source revision requires new proof. Earlier unrelated attempts remain in the audit and do not permanently exclude their authors. Completed legacy verdicts stay intact. Schema 7 stores this internal append-only evidence separately from assignment history and creates the same recovery copy before upgrading existing databases. No public input can set authorship. To roll back, stop the bridge, retain the upgraded database for inspection, restore the logged recovery copy as issues.db in the same private project directory, and run the matching pre-upgrade binary. Do not restore a copy while a daemon has the database open. The recovery copy represents the moment before upgrade; later changes remain in the retained upgraded database.

Playbooks live in the project's issues.db. Readable derived exports are in <project-home>/issues/<number>/playbook.json and events.jsonl; they are never imported as authority. An export failure is shown on the issue and a later read regenerates it. Pipeline handoffs are durable direct messages to the exact assigned next agent, never broadcasts. Missing targets are visible as unresolved handoffs. A send with uncertain delivery requires inspection and is not resent automatically.

A release is an issue of kind release with a version (create_issue with kind: "release" and version, or on the admin page's Issues tab), created and moved only by a release manager: a session acting as project-manager, the session that holds root, or you. Issues join it with release (its version) while it is planning; frozen takes no new issues, an issue leaves it only with a note by a release manager, and while a release is frozen no other issue enters the workflow's release state (the state marked release; the default marks released). Publishing (frozen -> released, with result pass, evidence and the commit) moves every linked issue that is still open into the release state in one change, and is refused, naming each issue, unless every one is a move away from it; closing a release unlinks its open issues. An issue of a published release that moves out of the release state again is recorded on the release card ("#N reopened") and counted as reopened; the release stays released. show_issue on a release lists its issues, how many are ready and released, and what blocks it; list_issues lists releases apart, and filters by kind and release. Publishing records the release; it commits, pushes and publishes nothing.

The issues of a project live in the data folder as ~/.session-bridge/<project-id>/issues.db (SQLite, owner-only), never in the project folder; project.json beside it names the folder. A moved folder is a new, empty project; the old issues stay and are listed read-only as "folder missing". A database that cannot be read, or one from a newer bridge, refuses that project's issue calls and is never rewritten; another program holding its lock for more than 5 seconds refuses the change with "issues.db is locked; nothing was changed".

The admin page's Issues tab shows a project's board with one lane per state; open a card to read its history, and move it through its Move menu as user. The phone has no issue calls.

Requirements

Each project keeps its requirements in the data folder as ~/.session-bridge/<project-id>/requirements.db (SQLite, owner-only, the same rules as issues), never in the project folder. A requirement has an id (REQ- and at least three digits, never reused), a text, a level (high, or low with a high-level parent or marked derived), a status (draft, approved, deprecated), how it is verified (test, review, analysis) and its history.

Sessions with the requirements role (or the session holding root) create and update them with create_requirement and update_requirement, which also links issues (written on the issue, in its history). Any session of the project reads them with list_requirements (filters, or a ranked search with query) and show_requirement. Roles are given by session name, so a session that takes a role holder's name also writes, and the history records the name. The admin page's Requirements tab shows them as a tree; you create and edit them there as user.

A requirement is shown with its label: the id and the issues that name it, REQ-051 #6 #12 (just REQ-051 while no issue names it). The label is derived from the issues each time, never stored, and the id stays the requirement's identity: give REQ-051, not the label, wherever an id is asked for. create_requirement (and the tab's create form) takes issues to link a new requirement to the issues it was written for in the same call; every issue is checked first, so an unknown one creates nothing.

session-bridge trace checks requirements against the code: a /* REQ-NNN: ... */ comment directly before a test (a Rust test function, a qa/domains action, or a test( in a *.test.ts file) is a test reference; any other REQ-NNN in a tracked, non-Markdown file is a code reference. A label (REQ-051 #6) is neither, so annotate tests with the id alone. It reports the gaps: an approved, test-verified requirement no test names (G-1), a test that names none (G-2), an unknown id (G-3), a deprecated id (G-4), a low-level requirement without a high-level parent (G-5), an approved requirement no issue names (G-6), a released issue naming a requirement no test names (G-7), and a committed docs/requirements.md that differs from the store (G-8). It reads only the regular files git tracks, each up to 4 MiB, and writes nothing.

session-bridge trace                        # the report of the current project
session-bridge trace --check --format md    # exits 1 on any gap (CI)
session-bridge trace --register docs/requirements.md   # no bridge needed
session-bridge requirements export --out docs/requirements.md
session-bridge requirements import docs/requirements.md   # into an empty project

requirements export prints the project's requirements as a Markdown register (the same bytes for the same requirements), or writes it with --out; commit it as the baseline, since the store itself is not in git. Each requirement that issues name lists them last on its attribute line (issues: #6, #12); import ignores that, since links live on the issues. A link made later changes the export, so regenerate the committed docs/requirements.md with requirements export (the trace reports G-8 until you do). requirements import moves a register into a project that has no requirements yet. The tab shows the trace summary and filters by gap; agents call trace_requirements. The phone has no requirement calls.

Scheduled messages

The admin page's Scheduled messages panel posts a message in a project channel on a cron schedule, for example every 10 minutes to @master in #mono. Choose the recipient: one session, @channel, or the channel default.

  • Each schedule is one line in your crontab, marked # session-bridge schedule, that runs session-bridge scheduled <id>. Your other crontab lines are shown read-only and kept exactly as they are.
  • The message arrives as your post in the channel, tagged scheduled; it is your words, never an approval. If the bridge is not running at that minute, that run is skipped.
  • A run never piles up posts: if the schedule's previous post to a session is still unread (waiting in the bridge, or still in Codex's queue; Claude sends no receipt, so a Claude post counts as read), that session is skipped and the run reports "the previous post (12 min ago) was not processed yet; sending skipped". The Cron tab shows each schedule's last run, and cron mails the run's output.
  • Attach the team table adds the team table to each post (on for saved schedules whose message says "kick off").
  • A post to a Codex session whose last turn you interrupted (Esc) does not wait for you to type there: within about 30 seconds the bridge asks your Codex app server to start that post. This applies only to your own posts (page, channel, schedules), never to messages between agents.
  • "Run now" posts a schedule at once. Deleting a schedule removes its line.
  • Not available on Windows (no crontab).

Updates

Releases from 0.3.0 on carry prebuilt binaries for macOS (Apple silicon and Intel) and Windows (x86_64), with a SHA256SUMS file:

session-bridge update --check   # is a newer release available?
session-bridge update           # download, verify, install, restart the service

The binary for this platform is downloaded with the system curl and installed only if its SHA-256 matches SHA256SUMS. With the background service installed, the new version installs itself (executable, service, MCP entries) and restarts the service; otherwise it replaces ~/.local/bin/session-bridge. The binaries are not code-signed or notarized: the checksum proves the file is the one the release published, not who built it. Nothing checks for updates unless you ask. Restart running Claude Code and Codex sessions afterwards so their MCP server uses the new version.

Use

Ask either agent to list the local sessions or coordinate work with a named project/session. Inspect the bridge from a terminal with:

session-bridge list
session-bridge list --project mono
session-bridge status

An existing agent can also send from its shell tool before reloading MCP:

session-bridge send 'codex:<session-uuid>' 'Tests are finished; you can deploy.'
session-bridge send 'codex:<session-uuid>' 'Which files are you changing?' --project mono

The CLI derives sender identity from CODEX_THREAD_ID, CLAUDE_CODE_SESSION_ID, or its Claude ancestor. A human shell without an agent identity can list/status but cannot silently impersonate a sender.

Never end a root session's process (no kill, no closing its terminal); the bridge refuses to close or restart it.

Command reference

Command Purpose
session-bridge install Install the executable, LaunchAgent, and MCP entries
session-bridge uninstall Remove only the background service (LaunchAgent or logon task)
session-bridge stop Stop this home's bridge (the service until next login, or one run from a shell)
session-bridge remote add <ssh-host> [--port <n>] / remote list / remote remove <ssh-host> Reach a bridge on another host through an SSH tunnel
session-bridge update [--check] Install (or only report) the latest release's binary, checked against its SHA256SUMS
session-bridge daemon Run the bridge in this shell until Ctrl+C (SESSION_BRIDGE_STATE for a separate one)
session-bridge list [--project <name-or-path>] List live parent sessions (default: current directory)
session-bridge status Show the service state and recent messages
session-bridge send <session_id> <message> [--project <name-or-path>] Send from an agent's shell tool
session-bridge spawn <claude|codex> <role> [--project <name-or-path>] [--model <model>] [--effort <effort>] Start a session with a role in a terminal
session-bridge close <session_id> End a local session's process (refused for a session that holds root)
session-bridge network on [--port <n>] [--name <host>] / network off Announce this laptop on the local network and accept paired bridges
session-bridge discover Bridges found on the network, paired or not
session-bridge pair <host> Pair with a discovered laptop; type the code it shows
session-bridge pair Show the code of an incoming pairing request
session-bridge unpair <host> Forget a paired laptop
session-bridge trace [--check] [--format text|md|csv] [--register <file>] Trace the current project's requirements to tests and code; --check exits 1 on a gap
session-bridge requirements export [--out <file>] / requirements import <file> Print or write the project's requirements as a register; import one into an empty project
session-bridge admin [--no-open] Open the local page: setup, sessions, messages
session-bridge mcp / native-peer Internal: run by the MCP clients and the relay

MCP tools: list_sessions(project?), send_message(session_id, message, project?) and read_channel(project?, kind?, session?, before?, limit?); for root sessions also spawn_session(role, agent?, model?, effort?) and close_session(session_id). Agent-facing rules for using them are in AGENTS.md (CLAUDE.md is a symlink to it).

Several laptops

Sessions on your other laptops on the same network can be listed and messaged once their bridges are paired. Pairing works like adding a printer: every bridge announces itself (Zeroconf: mDNS + DNS-SD), you pick one, it shows a one-time code, and you type that code on the laptop you are using.

session-bridge network on              # on each laptop, once; remembered
session-bridge discover                # bridges found on the network
session-bridge pair laptop-b           # laptop-b shows a code; type it here

The chosen laptop shows the code as a desktop notification, in session-bridge pair, and on the setup page (session-bridge admin). A code is valid for 2 minutes and allows 3 tries; after that the asking address waits 30 seconds. When multicast is blocked, pair by address: session-bridge pair 192.168.1.20:47820.

  • Networking is off until you turn it on. The bridge then listens on TCP port 47820 on IPv4 (macOS may ask for Local Network access; Windows Firewall may ask to allow the port).
  • The announcement contains only a protocol version and the bridge's key fingerprint: no project, path, user or session.
  • The code is checked with SPAKE2 bound to both bridges' keys, so it cannot be guessed offline or relayed. Paired bridges then use Noise (Noise_XX_25519_ChaChaPoly_BLAKE2s) with pinned keys for every connection.
  • Agents cannot pair: there is no MCP tool for it.
  • Remote sessions appear in list_sessions with a host. Their directories differ from yours, so pass the project name (--project mono) rather than a path. A paired bridge that does not answer is listed in unavailable_hosts.
  • A message to a remote session is forwarded once the other bridge saved it; that bridge then delivers it and reports queued, held, delivered, refused or uncertain back. If the other laptop is away the message stays pending and goes out when it returns.

Design: docs/lan-discovery.md.

Remote hosts over SSH

A bridge on a server or a laptop elsewhere is reached through SSH, never a public port. On the remote host:

session-bridge network on --local-only   # listens on 127.0.0.1 only, no announcement

Here (or on the Peers tab of the admin page):

session-bridge remote add user@server    # an ~/.ssh/config alias works too; --port if not 47820
session-bridge pair user@server          # type the code the remote bridge shows
session-bridge remote list               # tunnel state: connected, connecting, down

The bridge keeps one ssh -N connection with your keys or ssh-agent (no password prompts), forwards a local port to the remote bridge and a port on the remote's loopback back to this one, and reconnects when it drops. Inside the tunnel the bridges still use their pinned, encrypted channel, and pairing still needs the one-time code. Servers that ask for a typed one-time password on every SSH login are not supported yet.

Admin page

session-bridge admin opens a page on 127.0.0.1 (this laptop only) with four tabs: Chats (talk to your sessions), Cron (scheduled messages), Peers (networking and pairing) and Roles. Every session shows a badge with its peer (the laptop it runs on); the chat sidebar groups by peer or project, filters by peer and sorts by recent activity or name.

  • Chat, like Slack: a channel per project (#mono), a direct conversation per session, and read-only conversations between agents. Message text is formatted from Markdown (headings, lists, tables, code). Raw HTML is shown as text; only http, https and mailto links are clickable.
  • In a channel, @channel reaches every session of the project (on this laptop and paired laptops) and @name one session. Set a default recipient in the channel header (your lead or root session): a post without a mention goes to it; with none set it goes to the session that holds root, and otherwise a post must mention someone. Answers to a post appear in the channel.
  • The sidebar groups each project's channel and sessions together, and conversations between agents by the agent that started them.
  • A message you write reaches the session as your words, marked as sent from the admin page. It never approves an action that needs permission; the session still asks you as usual.
  • Images: attach up to 4 PNG, JPEG, GIF (first frame) or WebP images to a message or a channel post (at most 10 MiB, 40 megapixels and 8192 pixels per side each), by picker or paste, here or on a phone allowed to send as you. The bridge checks each one and keeps only a re-encoded copy without metadata (no location), owner-only in ~/.session-bridge/attachments/; the message gets a line per image, Attached image: <path> (<type>, <width>x<height>, <size>), and the agent opens the file with its own tools and permission checks. Agents read what an image shows as your words, including text you did not notice in it; like your text, it never approves anything. Images to a paired laptop's sessions are not supported yet (nothing is sent). Images are deleted with their message and 30 days after it; the Peers tab shows the space they take and deletes them all.
  • Usage, on the Peers tab, refreshed every 5 seconds while it is open: CPU, memory and the disk that holds your home folder for this laptop and each paired laptop, and the CPU and memory of each session on this laptop: its process and everything it started (a build counts). Codex sessions started with codex --remote share one app server process: they show that main process alone as "shared app server", never a per-session share. Sizes are binary (GiB), so a disk reads about 7% smaller than in Finder. A paired laptop's usage is reused for 30 seconds; one whose bridge is offline or older shows "usage unavailable" and is asked less often.

After upgrading, restart running Claude Code and Codex sessions: their MCP server starts with the session and keeps the old version until then.

The link lasts until the service restarts; run session-bridge admin again for a new one.

Phone access (macOS and Linux)

Phone access has two modes, chosen on the admin page's Peers tab: No certificate (the default for a new bridge) and Certificate (strongest). An upgraded bridge that already had phone settings or a paired phone stays in certificate mode until you switch on the Peers tab. Changing the mode asks for confirmation and unpairs every phone.

No certificate. The bridge serves the phone app over plain HTTP on port 47822 (the HTTPS port is closed) to this local network only. The phone pairs by scanning the QR code: the code and the bridge's key fingerprint stay in the link's fragment and are never sent; both sides prove they know the code and the phone's key is pinned once you accept the phone on the laptop. Every request and reply is encrypted and signed with keys of that session (15 minutes idle, 2 hours at most; a pairing lasts 30 days). A phone can read sessions, messages, channels, projects, roles and schedules; it cannot edit roles or schedules, and it sends as you only after you turn sending on for that phone. A phone signing in from a new address shows a notification. The risk: someone who can rewrite this network's traffic while the phone app loads can run their own script in it, read what it shows, and act as the phone (also as you, when sending is on) until you unpair it; the admin page shows this before you turn phone access on. Only certificate mode closes that gap.

Certificate. Turn on Phone access on the Peers tab to use a phone on the same network: read and send chat and channel messages, and edit schedules and roles. Install the bridge's certificate on the phone once (compare the fingerprint the phone shows with the one on the page), then pair with the one-time code and accept the phone on the laptop. The phone reaches the laptop by its IP address on the local network; when that address changes, the certificate stays trusted, but the phone app must be opened at the new address and paired again (a DHCP reservation for the laptop avoids this): then unpair the old entry, which the phone list shows as last seen before the change, since it counts toward the limit of 5 phones. Details: docs/mobile.md.

  • While phone access is on, the bridge listens on TCP ports 47821 (HTTPS) and 47822 (certificate download) for this local network only, and announces sb-<hostname>.local on the network over mDNS (an extra name; phones use the IP address).
  • The certificate the phone trusts can vouch only for private network addresses and that name, never for other sites. Within those it can vouch for any address, so keep phone-ca.json in the bridge's data folder (~/.session-bridge) private. Unpairing a phone or turning phone access off stops its access to the bridge; to stop the phone trusting the certificate, remove the profile on the phone (iOS: Settings > General > VPN & Device Management, the session-bridge profile, Remove Profile).
  • When a phone keeps refusing the certificate (3 failed handshakes within 10 minutes from one address), the Phones tab says so and how to fix it, until a handshake from that address succeeds or you dismiss the hint.
  • A phone cannot start or close sessions, give or change the root role, or change networking, pairing or how sessions run. Its messages are your words and never approve an action.

Delivery and recovery

pending is durably saved and retries while its destination is live but not answering, or its paired laptop is away. A session that has ended (closed, exited, or no longer discovered on its laptop) gets nothing more: a message waiting for it, or sent to it, is refused (" has ended; not delivered"), even if the session id returns later, and its direct chat leaves the admin page's Chats sidebar; a project's channel shows only while a session is live there. queued means the native inbox accepted the write; it does not prove the model read it. delivered is a native Claude receipt; for a Codex session it means taken from the session's queue, not proof of reading (Codex took the item the bridge queued, also when it did so within a second). held requires the recipient's approval. refused is never retried automatically. uncertain means a dispatch may have succeeded before a failure; inspect the destination before manually resending. paused means you are editing the message on the admin page: it is kept across restarts and not sent until you save or cancel (or delete it); a paused message for a session that ends is refused. The bridge does not claim exactly-once delivery across the native queue boundary.

Edit and delete. In a chat or channel on the admin page you can edit or delete your own messages that are not read yet: ones the bridge still holds (pending, held, paused) and ones still in a live Codex session's own queue (through your Codex app server, which takes them out first; an edited Codex message goes to the end of its queue). Messages in Claude's inbox, on a paired laptop, being handed over, delivered, refused or uncertain cannot change, and the page says why. A saved edit keeps the same message id; the replaced text stays in the history file and is never shown or sent. A deleted message is refused ("removed by the user"). An older bridge cannot start on a history that holds a paused message until compaction has dropped that line: finish or cancel edits before downgrading.

Config and message history live in ~/.session-bridge/, owner-only: the config as JSON files (channels.json, schedules.json, spawn.json, roles.json, stars.json for starred projects, the roles/ folder, pairing and phone files) and the message history as history.jsonl, one line appended per change of a message (the last line of a message is its state). The control socket, lock and logs stay in ~/.local/state/session-bridge/. On its first start in ~/.session-bridge/ the installed bridge copies the config from ~/.local/state/session-bridge/ and starts with an empty history: no message is carried over, not even one still waiting, and the old folder is left as it was. A bridge with SESSION_BRIDGE_STATE keeps everything in that folder and also starts its history empty beside an old messages/ folder. Going back to an older release reads the old folder again, which may send the messages still waiting there. A history line that cannot be read (other than a last line cut short by a crash or a power loss) stops the start; the error, history.jsonl line N: ..., is in ~/.local/state/session-bridge/daemon.stderr.log (or the state folder's log). To recover, look at line N of ~/.session-bridge/history.jsonl; to start without that history, move the file aside. The bridge does not guess an older state of a message, and nothing is resent automatically. Native Codex peer sockets live in /tmp/session-bridge-<uid>/ and have registered records in the configured Claude home's sessions/ directory. Socket addresses change when a relay restarts; Claude resolves current names through its directory. Legacy return routes remain available for existing conversations. Pending messages and session identities survive bridge restarts. Discovery uses metadata for processes owned by this user and the configured Codex/Claude homes. Codex discovery reads process-owned rollout or writer-lock handles and opens the native metadata database read-only. It does not share conversation histories. Codex status open means loaded in a live process, not necessarily actively generating a response.

A starting bridge takes its lock (retrying for up to 1 second, so a client checking it at that moment does not stop the start) and tidies its history first, and opens its control socket only once it can answer, so a call during startup is never left waiting unanswered. A command or session tool that finds the bridge starting (its lock held) waits for it, up to 30 seconds, and starts no other service; after that it says "The bridge is still starting after 30 s; inspect daemon.stderr.log". With no bridge running, a shell bridge's client says so at once, and the installed service is started and waited for up to 30 seconds.

Logs: ~/.local/state/session-bridge/daemon.stderr.log. Configuration backups: ~/.local/state/session-bridge/install-backups/. Source references and boundaries: docs/design.md. Requirements: docs/requirements.md. Changes per version: CHANGELOG.md.

Verification

cargo test --lib --test control --test routing
cargo test --test messaging --test peer_auth -- --test-threads=1
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings

CI runs these on macOS and Windows (.github/workflows/ci.yml); the routing, messaging, and peer tests are Unix only, and a separate Windows job drives the real installer and reads the service back.

The routing tests use real child processes and Unix sockets to check native frames, durable pending work, held receipts, reply routing, daemon restart, destination restart, MCP discovery, and reconnection. They do not invoke models. Live provider checks are reported separately in LOG.md.

Remove

Remove the session-bridge MCP entry with codex mcp remove session-bridge and claude mcp remove --scope user session-bridge, then remove the background service with session-bridge uninstall (it unloads the LaunchAgent and deletes its plist). Remove the executable if desired. Native Codex helper files belong to Codex. Retain ~/.session-bridge until pending/uncertain messages have been resolved. No Git configuration is changed.

About

Session bridge for AI coding agents: Claude Code and Codex CLI sessions message each other over MCP; you run them from one local chat with channels, roles, scheduled kickoffs, a Projects tab to start and close sessions, and usage per laptop, across paired laptops and SSH hosts.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages