Skip to content

docs: correct the disallowed-trailer enforcement claim#468

Merged
ss-o merged 2 commits into
mainfrom
docs/464-trailer-enforcement-reality
Jul 21, 2026
Merged

docs: correct the disallowed-trailer enforcement claim#468
ss-o merged 2 commits into
mainfrom
docs/464-trailer-enforcement-reality

Conversation

@ss-o

@ss-o ss-o commented Jul 21, 2026

Copy link
Copy Markdown
Member

Closes #464.

What

Two docs claimed the Co-authored-by trailer ban is enforced in CI. It is not.

  • decisions/0009-testing-ci-strategy.md said the check "runs today via the DISALLOWED_TRAILER_PATTERN org secret."
  • runbooks/onboarding.md said "CI rejects the disallowed-trailer pattern."

A sweep of all 86 active repositories' default branches (git trees + contents API, not code search) found zero workflows that run the check or validate commit messages. The only implementation is a commit-lint workflow on the next branch of z-shell/zi, which has never reached a default branch.

Change

Both docs now state the ban is convention-and-review — enforced by authors, not CI — until a shared commit-lint workflow is promoted into this repo and rolled out. The rule itself (never add the trailer) is unchanged.

Scope

This closes the inaccuracy. Building the org-wide enforcement is deliberately not in this PR; it was the larger half of #464 and is blocked on a separate decision (the feat/… vs feature-<id> branch-naming contradiction between commit-lint.yml and the workspace AGENTS.md). If that build-out is wanted, it should be its own issue with the branch-naming question resolved first.

Closes #464.

decisions/0009 stated the disallowed-trailer check runs today via the
DISALLOWED_TRAILER_PATTERN org secret, and runbooks/onboarding said CI
rejects the trailer. A sweep of every repository's default branch found
no workflow that runs the check or validates commit messages; the only
implementation is a commit-lint workflow on the next branch of z-shell/zi,
which has never reached a default branch.

Both docs now state the ban is convention-and-review, enforced by
authors rather than CI, until a shared commit-lint workflow is promoted
here and rolled out. The trailer rule itself is unchanged.
@ss-o
ss-o requested a review from a team as a code owner July 21, 2026 22:09
Copilot AI review requested due to automatic review settings July 21, 2026 22:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Corrects documentation that previously claimed CI enforces the Co-authored-by disallowed-trailer policy, aligning the docs with the current reality that enforcement is convention-and-review (not an org-wide CI gate).

Changes:

  • Updates onboarding guidance to state the Co-authored-by trailer ban is author-enforced (no default-branch CI gate today).
  • Updates ADR-0009 baseline section to clarify that neither Conventional Commits nor the disallowed-trailer rule is currently enforced org-wide in CI, and notes where the only existing implementation lives.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
runbooks/onboarding.md Adjusts contributor onboarding text to remove the inaccurate claim that CI rejects the disallowed trailer.
decisions/0009-testing-ci-strategy.md Updates ADR-0009 baseline to reflect that commit-message/trailer enforcement is not currently an org-wide CI gate.

Comment thread runbooks/onboarding.md Outdated
Comment thread decisions/0009-testing-ci-strategy.md Outdated
Review feedback. The ADR said the sweep covered every repository; it
covered the 86 active, non-fork, non-archived repositories, and only
their default branches. A decision doc should not overclaim its own
evidence, so the scope and the gap are now both stated.
@ss-o
ss-o merged commit 7ebf475 into main Jul 21, 2026
4 checks passed
@ss-o
ss-o deleted the docs/464-trailer-enforcement-reality branch July 21, 2026 22:16
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.

ci: enforce commit-trailer and commit-message policy org-wide, not in one repo

2 participants