docs: adopt plain-prose rules for pull requests and commits (#1565)

Draft
DO
2h ago
+171-1

Why

We squash-merge, so a pull request's title and body become main's log for good, and no org rule said how they read. This ADR sets one set of plain-prose rules for every repo, following the rules software-factory has held with checks since 2026-11-21. The Maintainer accepted it on 2026-11-23. Closes #1565.

What changed

  • docs/initiatives/pull-request-and-commit-prose-adr.md: the ADR, Accepted (2026-11-23, the Maintainer). It covers pull request titles and bodies, squash commits, issue titles, decision records, and an optional check a repo can adopt.
  • .github/pull_request_template.md: the ADR's body template as the org's default. GitHub uses it for every repo with no template of its own, this repo included. software-factory and .github-private keep their own.
  • The template turns off markdownlint's first-line heading rule for itself only, with an inline comment, since a body has no title heading. Every other lint rule still applies to it.
  • Breaking changes (the Maintainer's ruling of 2026-11-23): only the title's !, plus the autocut's workflow_call interface check, marks one. A BREAKING CHANGE: line in the body is not read; #1573 makes the autocut match that and adds the check the ADR and template name.

What to look at

  • The two carve-outs stay as accepted. This repo and .github-private keep feat(area): titles until the canary autocut takes its bump from elsewhere, and bodies carry Risk, Rollback and Monitoring lines until pr-review's triage reads the new headings.
  • The rule on edits after approval (reworded after review): software-factory holds it with a check; elsewhere whoever edits asks for a new review.
  • The template's guidance lines: how to mark a breaking change, that this repo and .github-private keep the type in titles, to check the squash message before merging, and to keep secrets, raw logs and finding details out of what becomes public history.
  • Order: #1573 (the autocut reads only the title's !) and combsmith/.github-private#2605 (pr-review's triage counts only filled text, so this unfilled template escalates like an empty body) merge and reach stable first; then this merges. The squash setting moves in #1569, by an opt-in list that holds only software-factory, which already uses the body. Bot blocks appended to bodies are #1570.
  • Risk: low; documentation plus a template that only pre-fills new pull request bodies. Rollback: revert this pull request. Monitoring: the next pull request opened in a repo with no template shows the new body.

Decisions and protected edits

The ADR this pull request adds, accepted by the Maintainer on 2026-11-23. No protected edits.

Checks and reviews
  • Tests: markdownlint-cli2 "**/*.md" with this repo's config passes on the whole repo.
  • Titles checked with software-factory's python3 -m tools.pr_title.
  • Facts checked against this repo: the squash settings in standards/github-settings.md and scripts/apply-repo-settings.sh, the autocut signals in scripts/canary-rollout.sh, pr-review's description triage in .github-private (scripts/lib/safety-checks.sh), and GitHub's docs on default community health files.
  • Gemini: 1 finding, taken by dev-lead (no more close and reopen after an approval), then reworded so it is true where no check holds it. CodeRabbit: 5 findings, all taken. Graphite: 1 (set the status back to Proposed), declined, since the Maintainer accepted the ADR.
  • Claude review: 5 findings; taken: what the autocut reads, and the type exception in the template. An unfilled template passed pr-review's keyword triage: ruled by the Solution Architect, fixed in combsmith/.github-private#2605. Security read: 2 medium and 2 low on the squash change, carried into #1569, #1570 and the template lines; the breaking-change check, ruled by the Maintainer on 2026-11-23, is #1573.

🤖 Generated with Claude Code