--setting-sources "" keeps the user's own disableDeepLinkRegistration
from loading, so every spawned claude registered the claude-cli:// OS
URL handler again and "Claude Code URL Handler.app" came back after the
user had deleted it. A headless run has no use for an OS URL handler:
the setting is now passed as flag settings (--settings is not one of
the sources --setting-sources controls) on the bridge run and the
warm-up and usage runs beside it, whatever the user's settings read.
Review: applied as ggbdpq posted it (patch sha256 checked against the
issue's). Checked in the Claude Code binary that flag settings read
disableDeepLinkRegistration === "disable" and that --setting-sources
"" doesn't filter --settings. `claude auth login` and `auth status`
take no --setting-sources, so the user's own settings already apply
there; they are not changed.
Broken by hand at the reviewed head: claude_warmup.go and
claude_subscription.go reverted to their parent,
TestClaudeSubscriptionPromptKeepsForeignHarnessOutOfSystem,
TestWarmClaudeAsksClaudeCodeOnce, TestClaudeUsageRunsClaudeCode,
TestAskClaudeTUIOn and TestClaudeUsageTUIOn red. Restored, green.
Run at the pushed tree (this stack of nine on origin/main 3c2dceb34),
on mote (macOS arm64, Go 1.26.8):
- go test -count=1 -timeout 45m ./internal/catalog/...
./internal/plugin/... ./internal/davsync/... ./internal/gateway/...:
catalog, plugin and davsync ok; gateway red on one test only,
TestCodexPoolSaysTheClientsVersion, the open #4807 (another test's
Codex identity reaches it in a full package run). It passes run
alone at this tree, 3 of 3.
- go vet ./... (darwin); GOOS=linux and GOOS=windows go vet -tags
nogui ./...: ok. gofmt -l on every tracked .go file: clean.
- The hand breaks above ran on this stack before its rebase onto
3c2dceb34. That commit changed member.go only, nothing these tests
reach.
Not tried: the GUI suite, since no GUI file changed. Windows and Linux
test runs (the Claude bridge tests use a shell fake and skip on
Windows). No real vendor, Claude Code or network was used; every
case runs against fakes.
Generated-by: GLM-5.3-Flash (ZCode)