docs: document PR title scope character restrictions - #190
Conversation
Add a bullet to the PR Conventions section of AGENTS.md documenting that scopes must match [\w$\.\-* ]* -- the character class enforced by the headerPattern regex in pr-semantic.yaml. This prevents agents and contributors from using # or other special characters in the scope position, which causes PR Semantic CI failures requiring human intervention to rename the title. Closes #189 Assisted-by: claude-opus-4-6
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
|
|
🤖 Finished Review · ❌ Failure (validation failed after 1 iteration(s)) · Started 10:36 AM UTC · Completed 10:38 AM UTC Commit: Runtime: claude · Model: claude-sonnet-4-5@20250929 · Effort: high |
|
🤖 Finished Retro · ✅ Success · Started 12:38 PM UTC · Completed 12:50 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.79 |
Retro: PR #190 —
|



Summary
[\w$\.\-* ]*(the character class frompr-semantic.yaml'sheaderPattern)#and other special characters are not allowed in the scope position, and that issue references belong in the PR body insteadContext
PR #188 had its title
fix(#187): ...rejected by the PR Semantic check because#is not in the allowed scope character set. A human had to manually rename the title to unblock CI. This documentation change prevents the same class of failure for future PRs from both agents and human contributors.Testing
headerPatternregex in.github/workflows/pr-semantic.yamlCloses #189
Post-script verification
agent/189-document-scope-restrictions)cb1efdbaf9d6188d148c463ecd47939cde4a02b9..HEAD)