Accept Mission work branches and native Ticket ids (#12)
test / test (push) Successful in 10s

AgentHub supplies every Mission a work_branch of the form mission/<mission-id>, and Bug ids were retired in favour of native Ticket ids. The check accepted neither, so no Mission-driven pull request could pass validate / naming in a consumer that pins this action (t-mazzph405ay0).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit was merged in pull request #12.
This commit is contained in:
dfritzandClaude Fable 5.1 committed 2026-11-04 17:38:23 +00:00
1 parent 1edb148aa1
commit ad5c723d78
4 files changed
+52 -17

No files matched your search

+9 -5
View File
@@ -9,15 +9,19 @@ Git standard. The current action fails (exits 1) on any violation; `@v1` is the
## Standard
```
Branch: <role>/bug-<id>/<kebab-description> e.g. dev/bug-x7k2m9/fix-terminal-resize
Chore: chore/<kebab-description> bug-less trivia only (dep bumps, typos, CI tweaks)
Title: [bug-x7k2m9] fix(terminal): preserve resize state
Branch: <role>/t-<ticket-id>/<kebab-description> e.g. dev/t-mazzph405ay0/fix-terminal-resize
<role>/bug-<id>/<kebab-description> retired Bug ids remain accepted
Mission: mission/mi-<mission-id> the work_branch AgentHub supplies to a Mission
Chore: chore/<kebab-description> untracked trivia only (dep bumps, typos, CI tweaks)
Title: [t-mazzph405ay0] fix(terminal): preserve resize state
fix(terminal): preserve resize state on a Mission branch
```
- `<role>` must be a roster handle: `dev` | `ux` | `ops` | `security` | `perf` | `architect` | `support`
- `<bug-id>` is `bug-` followed by lowercase alphanumeric characters
- `<ticket-id>` is a native AgentHub Ticket id: `t-` and twelve characters from `0123456789abcdefghjkmnpqrstvwxyz`; `bug-<id>` (lowercase alphanumerics) is the retired form
- `<mission-id>` is `mi-` and twelve of the same characters; a Mission branch's title is `type(scope): description` with no tracked-id prefix and no `## Tracking` section
- `<kebab-description>` is lowercase alphanumeric with hyphens, starting with a letter or digit
- When both the branch and the title carry a bug-id they **must match**
- When both the branch and the title carry a tracked id they **must match**
- Break-glass: PRs authored by `dfritz` are exempt from all checks
## Usage