Documentation
Migrating a project-local bridge
If a project already has its own bridge like this (for example a
shell script on one side and a PowerShell script on the other, with a
.claude/bridge/ mailbox and
<machine>-<job> worktrees), move to the plugin
like this:
- Finish the old jobs with the old scripts, or remove
them (
done), and archive their messages. The plugin uses other folders (.git/agent-bridge-mail/,.claude/agent-bridge/,.claude/worktrees/bridge-*, branchesbridge/*), so the two never mix, but nothing moves over either. - Move the settings. The ssh alias, repo path, build
folder and job cap go into
~/.config/agent-bridge/peers.json(see Configuration); the project's presets (the usual feature flags and test commands) into<repo>/.agent-bridge.json. - Keep the SSH setup. Keys,
from=lines, firewall rules, pinned host keys and ssh config aliases carry over unchanged: point the peer'ssshat the existing alias. Check that the host key is pinned under the alias (HostKeyAlias) and runagent-bridge <peer> doctor. Or pair the machines afresh, which writes its own entries next to the old ones. - Clean up. Make the project's own worktree cleanup
skip
.claude/worktrees/bridge-*(or askagent-bridge is-job <path>), then remove the old scripts and skills, and point the project's docs at the plugin.