Repository navigation
docs(setup): register the container-gateway hook per machine - #1797
Merged
Merged
Conversation
Since apache#1793 the gateway hook is registered by its absolute path, which differs between macOS (/Users/<you>) and Linux (/home/<you>). In a ~/.claude/settings.json synced across machines that path points at nothing on the next machine and the gateway never starts. The setup guide and install Step L now put the hook in ~/.claude/settings.local.json when the user settings are synced, with a "Fixing your other machines" passage (move the entries, then a jq one-liner per machine). Verify check 12a and the update skill flag a registered path that does not exist on the machine they run on, and a synced registration as drift. Generated-by: Claude (Opus 5.5)
potiuk
enabled auto-merge (squash)
October 25, 2026 00:10
potiuk
added a commit
that referenced
this pull request
Oct 25, 2026
Ships the fixes merged since 0.9.0.dev202610241347 to marketplace installs: the container-gateway hook hardening (#1784, #1789, #1790, #1793, #1804), host-only uv state (#1785), session-start cleanup of the stale uv grant (#1788), the trusted session-start interpreter (#1791), the sandboxed prek home (#1792) and per-machine gateway hook registration (#1797). Generated-by: Claude (Opus 5.5)
8 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #1793 the container-gateway hook is registered by its absolute path, which differs between macOS (
/Users/<you>) and Linux (/home/<you>). In a~/.claude/settings.jsonsynced across machines, that path points at nothing on the next machine, and the gateway never starts there.~/.claude/settings.local.jsonwhen the user settings are synced; Claude Code merges hooks from both files.jqone-liner on each machine to register them with that machine's home.settings.jsonas drift.🤖 Generated with Claude Code