Skip to content

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

Description

@LeXwDeX

This was generated by AI during triage.

Why

SpecGit accepts issue title types such as ci: and derives a ci/** branch, but this repository's branch-naming ruleset allows only feat, fix, chore, docs, refactor, test, release, and hotfix. During #519 the remote push was rejected by GH013 only after tracker and local delivery state had already been created.

Scope

  • Add a repository-local preflight that validates the requested issue type against the branch-prefix allowlist before SpecGit performs remote side effects.
  • Report the allowed type vocabulary and the corrected command.
  • Do not silently map one semantic type to another.

Out of scope: weakening the GitHub branch-naming ruleset.

Acceptance

  • ci: and any other unsupported type fail locally before issue, branch, push, or PR creation.
  • Every allowed prefix passes the preflight and retains its original type.
  • The allowlist has one documented source of truth shared with the bootstrap wrapper.

Dependency

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkind::fixready-for-agentFully specified and ready for an agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions