Skip to content

fix(specgit): reject unsupported branch title types - #534

Merged
LeXwDeX merged 3 commits into
devfrom
feat/529-specgit-branch-type-preflight
Sep 3, 2026
Merged

fix(specgit): reject unsupported branch title types#534
LeXwDeX merged 3 commits into
devfrom
feat/529-specgit-branch-type-preflight

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Closes #529

Why

SpecGit accepts conventional title types that this repository's branch rules reject. A bootstrap could therefore create remote issue/branch/PR state before GitHub rejected the derived branch prefix.

What changed

  • preflight every issue-title operand against the eight AGENTS.md branch types before snapshot/init/inner CLI execution
  • preserve numeric issue reuse and SpecGit 1.10.1 option grammar without rewriting accepted types
  • reject unsupported types with exit 2 and stderr-only corrective diagnostics
  • add red/green coverage for invalid types, all allowed types, multiple targets, numeric refs, options, --, help, and byte-exact passthrough

Evidence

  • delivery DAG reviews: standards APPROVE, intent APPROVE, verification PASS, recovered arbiter ACCEPT
  • bash script/specgit-bootstrap.test.sh: 202 passed, 0 failed
  • sh -n script/specgit-bootstrap.sh
  • bash -n script/specgit-bootstrap.test.sh
  • shellcheck script/specgit-bootstrap.sh script/specgit-bootstrap.test.sh
  • commit hook: root lint and full workspace typecheck passed

Checklist

@LeXwDeX LeXwDeX changed the title Delivery specgit-branch-type-preflight fix(specgit): reject unsupported branch title types Sep 3, 2026
@LeXwDeX
LeXwDeX changed the base branch from main to dev September 3, 2026 12:43
@LeXwDeX
LeXwDeX marked this pull request as ready for review September 3, 2026 15:39
@LeXwDeX
LeXwDeX merged commit 06e0957 into dev Sep 3, 2026
12 checks passed
@LeXwDeX
LeXwDeX deleted the feat/529-specgit-branch-type-preflight branch September 3, 2026 16:10
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.

fix(specgit): reject title types unsupported by branch ruleset

1 participant