speccore 8.3.305 → 8.3.306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1818,7 +1818,9 @@ ${config.protectedBranches.map(b => `# - ${b}`).join('\n')}
1818
1818
 
1819
1819
  # === 高级配置(一般不修改)===
1820
1820
  # 分支前缀(旧语义,兼容保留)
1821
- ${fmt('分支前缀', config.branchPrefix, '无')}
1821
+ # v8.3.306: 与类型段相同的值(如 CONSTITUTION「任务分支: feature/」被旧版误解析
1822
+ # 为 branchPrefix=feature)不再写实,防止 execute 拼出 feature/feature-Task-XXX
1823
+ ${fmt('分支前缀', config.branchPrefix && config.branchPrefix !== branchType ? config.branchPrefix : '', '无')}
1822
1824
 
1823
1825
  # 分支格式: 自定义分支名模板(支持变量: {type} {prefix} {taskId} {name} {date} {hash4})
1824
1826
  ${fmt('分支格式', config.branchFormat, '{type}/{prefix}{taskId}')}