Decide which stacked PR instructions belong in the template

Open Beginner friendly
#90 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
github
Domain
documentation

Research direction

Read the stacked PR guidance in CONTRIBUTING.md under “Branches and PRs” and docs/development.md under “First setup”; compare it with the proposal and the constraint about the decision record exception. Update the template guidance and verify it retains the exception, supported merge methods, and trace-decision behavior.

Written by the indexing model from the issue text.

Description

type/documentation
Kind

Unclear

Location
  • CONTRIBUTING.md, Branches and PRs: merge methods for stacks and gh stack rebase and gh stack push for conflicts.
  • docs/development.md, First setup: install gh stack when using stacked PRs.
Version

7c2e454

Problem

Stacked PRs are optional. The template gives tool-specific steps for them, but it is unclear which steps the template needs to maintain. #81 covers the general merge procedure, not the existing stack guidance.

Evidence
  • A GitHub GraphQL query listed 25 merged PRs in this repository. None had stack metadata. This does not measure use in downstream repositories.
  • The conflict test in #49 shows why a project that uses stacks can need the tool-specific steps.
Proposal

Use this as the only stack workflow instruction in the template:

If several PRs must land together, use a stack of PRs. Merge the stack in one operation.

Remove tool-specific steps for stack setup, conflict resolution, and merges. Point readers to the GitHub stacked PR documentation for those steps.

Remove the recommendation to prefer squash merge for stacks. Keep the decision record exception: with the template settings, a single merge commit for a stack contains only the top PR body. The lower PR bodies remain on GitHub. Do not change the supported merge methods or trace-decision behavior.

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.