pull_request_template.md

GitHub PR template — the gated Launch readiness checklist, written whole by redline init when the repo has none, merged into an existing one otherwise.

The GitHub pull request template: a Change type pick-list, which nothing checks, and a Launch readiness checklist, which the gate's checklist job does.

Lands at.github/pull_request_template.md
Put there byredline init — written whole when the repository has no template GitHub would serve, merged into the existing one otherwise.
Editing this fileLive — redline init writes from this file

What to know

  • redline init looks in .github/, the repository root, then docs/ — GitHub's own order. With none found it writes this file whole, gated sections already inside REDLINE:BEGIN/END markers.
  • With one found, the existing template is kept byte for byte and only the gated sections it lacks (## Launch readiness, ## Architecture decision) are appended inside the markers. A re-run regenerates only that span.
  • The gate's checklist job fails if any box under ## Launch readiness is unticked, and fails outright if the heading is missing, so a deleted section cannot pass as a completed one.
  • A box that genuinely does not apply is waived with a ## Redline exemption block — reason, scope and expiry — plus the redline-exempt label, not with the label alone.

Changing it

templates/github/pull_request_template.md. A repository's own text outside the markers survives re-runs.

The full checklist is on Changing a template.

The full file

templates/github/pull_request_template.md · 73 lines · 2.4 KB
# Summary

<!-- What and why, 2-3 sentences. Link the ticket. -->

Ticket:

## Change type

<!-- Tick the one that applies. This section is NOT gated — pick one and move on. -->

- [ ] Feature
- [ ] Bugfix
- [ ] Refactor (approved beforehand)
- [ ] Chore/config

<!-- REDLINE:BEGIN — generated by Redline. Do not edit inside this block. -->

## Launch readiness

<!--
GATED SECTION. `redline-gate` fails while any box here is unticked.
If an item genuinely does not apply, delete the line and say why in the Summary.
Do not delete the heading — the gate fails if the section is missing.
-->

- [ ] No secrets, keys, or customer data in code, logs, or fixtures
- [ ] Input validated at boundaries touched by this change
- [ ] Typecheck and lint pass with no new errors
- [ ] Tested on: <!-- iOS / Android / web / staging -->
- [ ] Error states handled (network failure, empty, loading)
- [ ] Rollback is safe (no destructive migration, no breaking contract change)
- [ ] No unrelated changes in the diff

## Architecture decision

<!-- If this PR makes a non-obvious technical choice, add an ADR and link it. Otherwise delete this section. -->

ADR: `docs/adr/NNNN-*.md`

## Redline exemption

<!--
Only fill this in if a process check above is failing and you are asking to merge anyway.
Delete the whole section otherwise. A label alone no longer exempts anything: the gate
reads THIS block, and an exemption with no reason and no end date is an opt-out, not an
exemption.

  - reason:  what is being accepted and why, in a sentence a reader in three months
             can act on. "Needed for release" is not one.
  - until:   YYYY-MM-DD, at most 90 days out. Longer than that is a standards change,
             not an exemption — raise it in the Redline source repo.
  - scope:   which checks it covers (checklist, adr, policy). Omit to cover all three.

This can never exempt dependency review or the secret scan. Those do not soft-fail.
-->

- reason:
- until:
- scope:

<!-- REDLINE:END -->

## Automated review

- [ ] Review comments addressed, or dismissed in-thread with a reason

<!--
Gate stuck on a process check you cannot satisfy? Apply the `redline-exempt` label AND
fill in the `## Redline exemption` section above. The label says a check was waived; the
block says who accepted what, why, and until when — and the gate reads the block.
It does NOT bypass dependency review or the secret scan — those never soft-fail.
-->