feat(setup): disable session URL in commit/PR attribution#13
Merged
Conversation
Add sessionUrl:false to the attribution setting so session links are also omitted. Detection now offers the change both on fresh installs and when a prior run left commit/pr blank without sessionUrl, adding the key via a merge that preserves any existing attribution values.
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.
Summary
Extends the Claude Code settings step in
setupto also disable the session URL in attribution, and migrates existing configs that predate this key..attribution = {"commit":"", "pr":"", "sessionUrl": false}via a merge ((.attribution // {}) + {...}), so it preserves any existing attribution keys instead of replacing the object.commit/prblank withoutsessionUrl(adds just the new key).Stays opt-in behind the existing
Apply these settings?prompt.Behavior
attribution{commit:"", pr:"", sessionUrl:false}{commit:"", pr:""}(old setup)sessionUrl:false{commit:"", pr:"", sessionUrl:false}{commit:"My template", pr:""}{... sessionUrl:true}Test plan
bash -n setuppasses