Skip to content

feat(git-workflow): prUrlTemplate opt-in for non-GitHub hosts - #17

Merged
tigers1997 merged 1 commit into
mainfrom
feat/v14-prurl-template
Apr 28, 2026
Merged

feat(git-workflow): prUrlTemplate opt-in for non-GitHub hosts#17
tigers1997 merged 1 commit into
mainfrom
feat/v14-prurl-template

Conversation

@tigers1997

Copy link
Copy Markdown
Owner

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

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>
@tigers1997
tigers1997 merged commit 9e4422f into main Apr 28, 2026
1 check passed
@tigers1997
tigers1997 deleted the feat/v14-prurl-template branch April 28, 2026 12:49
@tigers1997 tigers1997 mentioned this pull request Apr 28, 2026
3 tasks
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>
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