Skip to content

docs,ci: name the change, never the plan — naming rules + merge gate#14

Merged
xeri merged 1 commit into
masterfrom
docs/naming-conventions
Jul 16, 2026
Merged

docs,ci: name the change, never the plan — naming rules + merge gate#14
xeri merged 1 commit into
masterfrom
docs/naming-conventions

Conversation

@xeri

@xeri xeri commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Follow-through from the 2026-07-17 hygiene pass (history rewrite, branch cleanup, PR edits): the rules that keep it from happening again, with a gate behind them.

What changed

  • docs/agent/naming.md — the durability test ("would this name make sense to someone who never saw the plan?"), naming rules for branches / PR titles+bodies / commit messages / spec files, the no-attribution rule (no Claude session URLs, no Co-Authored-By: Claude trailers), and before→after examples from the cleanup.
  • CI naming job — PR-only; rejects plan jargon (phase/pillar/sprint/milestone/week + number, batch + letter) and attribution trailers in the head branch name, PR title, commit messages, and changed file paths. Untrusted PR fields enter the script via env, never template interpolation.
  • CLAUDE.md — routing entry, two Working-practice bullets, and the naming gate added to the Enforcement list.
  • .claude/rules/go.md — the commit-style bullet now points at the naming rules.

Verification

  • go test ./... green — includes the internal/doccheck citation test over the new doc and edited CLAUDE.md.
  • This PR runs the new gate on itself (clean branch name, title, message, paths).
  • Merging this is also the first live proof of the new repo settings: merge commit takes the PR title, head branch auto-deletes.

docs/agent/naming.md holds the durability test, the naming rules for
branches/PRs/commits/spec files, and the no-attribution rule (no session
URLs, no assistant co-author trailers). CI gains a naming job that rejects
plan jargon and attribution trailers in a PR's branch name, title, commit
messages, and changed paths — the file's own razor: a rule needs a gate.
CLAUDE.md routes to it from Where-everything-lives, Working practice, and
Enforcement; .claude/rules/go.md's commit bullet points at it.
@xeri
xeri merged commit 4be563f into master Jul 16, 2026
22 checks passed
@xeri
xeri deleted the docs/naming-conventions branch July 16, 2026 13:15
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.

1 participant