feat(git-workflow): prUrlTemplate opt-in for non-GitHub hosts - #17
Merged
Conversation
prUrlTemplate (CC 2.1.119+) is now in the live schemastore schema (verified 2026-04-28), so shipping it no longer risks the silent- file-rejection bug that originally motivated the configurator. Adds a commented-out `// prUrlTemplate` entry to git-workflow's settings-patch with example URL templates inline for the three common non-GitHub hosts (GitLab, Bitbucket, GHE). Comment-keyed so the value strips at scaffold time; user uncomments + substitutes their host's pattern. Verified default scaffold still produces a valid settings.json with no leaked comment keys and no active prUrlTemplate. First of three v1.4.0 PRs unblocking schema items now that 2.1.121 is the live Claude Code version. Next: sandbox.network.deniedDomains opt-in in safety, then compat-bump + docs. Claude Code compat: 2.1.116-2.1.119 (bumped to 2.1.121 in PR C) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 tasks
This was referenced May 21, 2026
tigers1997
added a commit
that referenced
this pull request
May 23, 2026
… bump tested_up_to to 2.1.150 (#56) SchemaStore PR #5706 merged 2026-05-23 (sync to CC v2.1.143), unblocking nine settings.json keys + five env vars held in the configurator backlog. This PR ships all of them as commented opt-ins (the PRs #17/#18 pattern) and bumps tested_up_to 2.1.132 → 2.1.150 after the 2.1.147-2.1.150 resurvey found only one new key (allowAllClaudeAiMcps, 2.1.149 — Enterprise managed, outside configurator territory). Latent-bug fix: configure.py was stripping ALL top-level //-prefixed keys when merging settingsPatch files, including the opt-in stubs (// sandbox, // prUrlTemplate) PRs #17 and #18 promised would surface in users' generated .claude/settings.json. New _is_doc_label helper keeps stub keys, drops only label keys (//, //N). Two source patches also corrected (slop-scan, microbit-enforcer) — their top-level documentation keys would otherwise leak under the new filter. Settings-key opt-ins shipped (commented; user uncomments to activate): - skillOverrides → token-efficiency tier-pro patch - worktree.baseRef + worktree.bgIsolation → new multi-agent patch - autoMode.hard_deny + sandbox.failIfUnavailable → safety patch - subagentStatusLine + statusLine.hideVimModeIndicator → ui extraSettings - Hook args/continueOnBlock → doc note in safety + git-workflow patches - CLAUDE_CODE_STOP_HOOK_BLOCK_CAP → safety patch // env block Still held for a future schemastore sync: terminalSequence hook output (2.1.147), Stop/SubagentStop input background_tasks/session_crons (2.1.149). Both verified absent from #5706. Closes #53. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 23, 2026
Merged
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.
prUrlTemplate (CC 2.1.119+) is now in the live schemastore schema
(verified 2026-04-28), so shipping it no longer risks the silent-
file-rejection bug that originally motivated the configurator.
Adds a commented-out
// prUrlTemplateentry to git-workflow'ssettings-patch with example URL templates inline for the three
common non-GitHub hosts (GitLab, Bitbucket, GHE). Comment-keyed so
the value strips at scaffold time; user uncomments + substitutes
their host's pattern.
Verified default scaffold still produces a valid settings.json with
no leaked comment keys and no active prUrlTemplate.
First of three v1.4.0 PRs unblocking schema items now that 2.1.121
is the live Claude Code version. Next: sandbox.network.deniedDomains
opt-in in safety, then compat-bump + docs.
Claude Code compat: 2.1.116-2.1.119 (bumped to 2.1.121 in PR C)
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com