Skip to content

Check the Docs line in pull request bodies - #50

Merged
raghubetina merged 1 commit into
mainfrom
claude/docs-line-check
Oct 1, 2026
Merged

raghubetina merged 1 commit into
mainfrom
claude/docs-line-check

Conversation

@raghubetina

Copy link
Copy Markdown
Contributor

Why

The shared contributor rules ask for a Docs: line in every pull request body, but nothing checked it. Kubernetes measured an unenforced docs field decaying to 92% empty or placeholder. The service repository adds the same check alongside this change.

What changed

  • .github/workflows/pr-docs-line.yml fails until the body has Docs: updated X or Docs: none, because .... It rejects the unedited template, skips bot-opened PRs, and reads the body through the environment.
  • CONTRIBUTING.md now carries the shared named-claims review step, the Docs-line sentence and the Maintenance section, matching the service repository.

Docs: updated CONTRIBUTING.md.

Review

Review: codex-review 0.7.3, high effort, session 1a6bdb0f-b28b-40bb-8ca0-8a5b9d60f65a, approve.

CONTRIBUTING.md asks each pull request body for one line, "Docs:
updated X" or "Docs: none, because ...", but nothing checked it. When
Kubernetes left a similar docs field unchecked, 92% of the 1,146 pull
requests in its 1.37 release left it missing, empty, or a placeholder.

The check needs no permissions or checkout and skips bot authors such
as Dependabot. It fails when the line is missing, names nothing, or
keeps the template placeholder. A line inside an HTML comment does not
count, because GitHub hides it. The same file runs in firstdraft/cli
and firstdraft/skills.

The Docs line, the review steps, and the new Maintenance section now
use the service repository's wording, so the three CONTRIBUTING.md
pages keep one set of shared rules. Diff-level review questions scored
near chance (arXiv 2609.25130), while questions about named claims
worked, so the author now names the claims a change affects. The owner
prunes instructions and checks at each model release or quarterly, in
all three repositories.
@raghubetina
raghubetina merged commit b8fd697 into main Oct 1, 2026
5 checks passed
@raghubetina
raghubetina deleted the claude/docs-line-check branch October 1, 2026 17:43
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