The rules for the PR body as the decision record are in seven places

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
github, shell
Domain
documentation

Research direction

Start by reading the listed PR body guidance in CONTRIBUTING.md, the pull request template, both skill files, README.md, docs/development.md, and tools/pr-description/check.mjs with its workflow. Review the missed sections documented in issue #70, then propose a design decision for where the canonical rules should live. Done means the proposal resolves how the other locations stay consistent; the issue leaves that decision open.

Written by the indexing model from the issue text.

Description

type/documentation
Kind

Unclear

Location

The rules for the PR body as the decision record, after PR #68:

  • CONTRIBUTING.md: Branches and PRs, Commits, Message format and Pull requests
  • .github/pull_request_template.md
  • .agents/skills/pull-request/SKILL.md: Before the merge
  • .agents/skills/trace-decision/SKILL.md: steps 3, 4 and 5.3, and Report
  • README.md: How it works, Compared with ADR, and step 3 of the setup steps
  • docs/development.md: CI
  • tools/pr-description/check.mjs and .github/workflows/pr-description.yml
Version

418bd12

Problem

PR #68 makes the PR body the message of the landing commit, and the record of a PR (#54). The rules and facts about that body are in the seven places above. A change to one of them, for example a new section of the PR template, can need a change in the others.

In PR #68, reviews found such misses one at a time. For example, the Breaking change section went into the template, but the before-merge steps of the pull-request skill and step 4 of trace-decision did not name it until an inventory found them. Earlier rounds found the same kind of miss for the Supersedes section and for the stack merge. https://github.com/c-w-z/commit-decision-record/issues/70 lists these cases.

Proposal

Not decided. A design review can check whether one place should hold the definition of the PR body as the record, and the others point to it. Candidates:

  • Pull requests in CONTRIBUTING.md defines the sections, and the template, the skills and the README point to it.
  • The PR template is the definition, and the other places name it.

Until then, a change to the PR body rules runs the inventory that #70 proposes.

Dominant language
Shell
Stars
1
Forks
0
Avg merge
6h 59m
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from c-w-z/commit-decision-record

All issues in c-w-z/commit-decision-record

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.