Skip to content

docs(agents): align the branch-name rule with commit-lint - #160

Merged
ss-o merged 1 commit into
mainfrom
feature-159
Oct 19, 2026
Merged

ss-o merged 1 commit into
mainfrom
feature-159

Conversation

@ss-o

@ss-o ss-o commented Oct 19, 2026

Copy link
Copy Markdown
Member

Summary

Closes #159. AGENTS.md listed only feature, bug and hotfix issue branches, but this repository's commit-lint.yml calls the organization workflow with its default BRANCH_PATTERN, which also accepts an optional -<slug> and <type>/<slug>. The rule now states the enforced pattern and links the pull-request runbook.

Verification

  • The caller pins z-shell/.github/.github/workflows/commit-lint.yml with no branch-pattern input; the default there accepts both forms.
  • Trunk on the changed files: no issues; the commit hooks passed.

Agent handoff

No handoff needed.

Closes #159. The rule listed only feature, bug and hotfix issue branches, while the commit-lint caller enforces the organization pattern, which also accepts an optional slug and <type>/<slug>; the text now links the pull-request runbook.

@ss-o ss-o left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fallback review under ADR-0026: Copilot request not registered on 4c9d65f

Findings

No actionable findings.

Scope: the full diff of this head (AGENTS.md), closes #159.

Note

The maintainer elected this fallback after the Copilot request did not register (no review_requested event). It is a self-review by the authoring agent, not an independent review or approval to merge.

Validation

  • Passed: PR checks on this head: 1 skipped, 23 success. Locally: Trunk markdownlint and prettier on the changed file; the commit hooks passed.
  • Claims checked at source: .github/workflows/commit-lint.yml here calls z-shell/.github/.github/workflows/commit-lint.yml with no branch-pattern input, and the reusable workflow's default accepts feature|bug|hotfix-<issue> with an optional slug and <type>/<slug>; the runbook anchor #1-before-the-branch matches its "1. Before the branch" heading.
Checklist verdicts and supporting evidence
  • Documentation accuracy: pass. The new text states the enforced pattern and links its owner instead of a narrower list.
  • Scope: pass. One line in AGENTS.md; no code, workflow or behavior change.

@ss-o
ss-o merged commit 179377b into main Oct 19, 2026
24 checks passed
@ss-o
ss-o deleted the feature-159 branch October 19, 2026 03:35
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.

[docs]: align the AGENTS.md branch-name rule with commit-lint

1 participant