# ADR-0122: A push spends only what its pull request did not

**Status:** Accepted
**Date:** 2026-11-07
**Amends:** [0017](/docs/decisions/adopting-the-gate-takes-one-command-and-every-run-says-what-it-saved): where a schedule is set
**Amends:** [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated): rule 5, how a merged pull request's record reaches the push
**Amends:** [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once): what a plan hands a shard
**Amends:** [0037](/docs/decisions/a-value-is-covered-by-the-tests-that-read-it): where the reads are applied
**Amends:** [0054](/docs/decisions/a-pull-request-runs-the-gates-its-change-can-move): item 1, which gates a push runs

## Context

A push to the default branch re-ran work its pull request had just done on the
same tree, each shard prepared the same coverage again, and a project had to
remember to add the scheduled full run that reach relies on.

## Decision

1. **`ci.schedule` is the full run's schedule.** `init --ci` writes it, weekly
   unless the config says. A reusable workflow cannot hold a trigger, so the
   schedule belongs to the workflow that calls it, and `doctor` advises one
   where none exists.
2. **A push drops the gates its pull request passed on the same tree.** Where
   the pushed tree is the head of the pull request it merged, each gate that
   pull request ran on that tree and passed does not run again, since it ran
   under the same workflow. A gate its scope skipped still runs, and so does
   each gate whose matrix a pull request narrows, mutation, which judges by its
   own proofs, and `tests and coverage`, whose map SonarCloud and mutation read. Where GitHub cannot say, every gate runs. The repository
   variable `PROVEN_PUSH`, on unless it is `false`, sets this.

## Related

- [ADR-0017](/docs/decisions/adopting-the-gate-takes-one-command-and-every-run-says-what-it-saved): what a run says it saved
