Skip to content

Migrate installs made before the InBand rename - #3

Merged
Melow-code merged 1 commit into
mainfrom
migrate-legacy-installs
Oct 2, 2026
Merged

Melow-code merged 1 commit into
mainfrom
migrate-legacy-installs

Conversation

@Melow-code

Copy link
Copy Markdown
Owner

Installs made before the rename broke after the daemon update: the old hooks sign their requests with x-agent-bridge-* headers, which the daemon no longer read.

  • The daemon accepts the x-agent-bridge-* signature headers as a fallback (test added).
  • The installer removes the old agent-bridge-* hooks from the Claude Code settings and deletes their scripts. It keeps the hooks of other tools.
  • It points an existing Codex hook at the current checkout.
  • It replaces /lead files that still use the old name.
  • It stops and removes the old agent-bridge systemd unit, which holds the same port.

Tested on a simulated old install: legacy hooks removed, other hooks kept, Codex hook path updated, /lead replaced. 115 tests pass.

🤖 Generated with Claude Code

The daemon accepts x-agent-bridge-* signature headers, so hooks installed
before the rename keep working. The installer removes the old
agent-bridge hooks from the Claude Code settings, points an existing
Codex hook at the current checkout, replaces /lead files from the old
name and stops the old agent-bridge service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Melow-code
Melow-code merged commit 1061032 into main Oct 2, 2026
3 checks passed
@Melow-code
Melow-code deleted the migrate-legacy-installs branch October 2, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant