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). A Mission branch needs a Conventional title and the visible attribution, and no Tracking section, because the Mission is the tracking. Role branches now carry a native Ticket id or the retired Bug id; the title and Tracking rules are unchanged apart from the id they name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
1edb148aa1
commit
4c17d84dd2
4 files changed
+52
-17
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user