Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.655
Choose a base ref
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.656
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Sep 21, 2026

  1. Warn a Watcher Off Inferring a Field's Spelling, and Off Piping a Wat…

    …ch (#1736)
    
    Two operational readings learned by hitting them while driving #1733,
    moved out of a private note and into the tree, where the next run reads
    them and where a reviewer can argue with them.
    
    ## A watcher cannot infer one digest field's spelling from another's
    
    `scripts/README.md` said nothing about how `pr_review.py status` spells
    its states, and it is the file someone writing a watcher reads.
    `review_on_head` renders `yes` against `NO`, so a pattern written for
    `YES` waits out its whole bound over a review that landed, and a watcher
    that cannot fire reads exactly like a review that has not landed.
    
    The paragraph states that hazard and the remedy, read a real line before
    writing the pattern, rather than listing what each field can print. That
    shape was chosen the hard way. Three revisions of this branch tried the
    listing and each was wrong in a different cell:
    
    - that upper-case marks a state which blocks a merge, which
    `merge=CLEAN` and `answered_outside_review=yes` falsify from opposite
    directions
    - that a `carried:` prefix can precede any coverage value, though the
    carry runs only over an unstated reading and skips unstated rounds, so
    `carried:unstated` cannot be rendered
    - that `NO` means "before a review lands", though a refusal on the head
    and a stale round both print it and want opposite responses
    
    A list that keeps being wrong in a new place is the wrong shape for the
    fact.
    
    ## A watch's exit status does not survive a pipe
    
    `merge-and-release` step 6 gives the bounded watch command and leaves
    how to read its result to the reader. Without `pipefail`, `gh run watch
    ... | tail` reports whether `tail` succeeded rather than whether the run
    did. The rule is scoped to that condition rather than stated absolutely,
    because `GOVERNANCE.md` "Shells" requires `pipefail` on every committed
    bash script and multi-line `run:` block, so inside one the pipe is safe
    and an absolute ban would rest on a reason its reader can see does not
    apply.
    
    ## What was dropped, and why it matters
    
    An earlier revision added a third note offering a tree-object comparison
    as a way to clear a rate-limited reviewer on a promotion pull request.
    It is deleted rather than repaired, because it **fails open**.
    
    Measured on a constructed two-feature promotion: the promotion head's
    tree equals the last feature head's tree whenever that branch was
    current with `develop`, while the promotion's diff carries the earlier
    feature as well. The equal-tree branch therefore fires and clears a wait
    over content that reviewer never read, and the "unequal trees settle
    nothing" escape hatch never runs. The same bullet already says an
    advisory reviewer blocks nothing, so the case needed no new answer at
    all.
    
    ## Verification
    
    1641 tests pass. `ruff format --check`, `ruff check`, `mypy`,
    `prose_lint.py` against the diff, the `eol` gate and `spec/validate.py`
    are clean. `build_dist.py --check` reports the generated trees current.
    Two local strict review rounds ran before the push, raising nine
    findings between them, every one of which is fixed or deleted here.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    ptr727 authored Sep 21, 2026
    Configuration menu
    Copy the full SHA
    0f3e9a1 View commit details
    Browse the repository at this point in the history
  2. Promote the Watcher and Watch-Pipe Readings to Main (#1737)

    Promotes one change, #1736, merged to `develop` as 0f3e9a1.
    
    Two operational readings from the #1733 drive, moved out of a private
    note and into the tree, where the next run reads them and a reviewer can
    argue with them.
    
    ## A watcher cannot infer one digest field's spelling from another's
    
    `scripts/README.md` said nothing about how `pr_review.py status` spells
    its states, and it is the file someone writing a watcher reads.
    `review_on_head` renders `yes` against `NO`, so a pattern written for
    `YES` waits out its whole bound over a review that landed, and a watcher
    that cannot fire reads exactly like a review that has not landed.
    
    The paragraph states the hazard and the remedy rather than listing what
    each field prints. That shape was chosen the hard way: three revisions
    tried the listing and each was wrong in a different cell, once claiming
    upper-case marks a merge-blocking state (which `merge=CLEAN` and
    `answered_outside_review=yes` falsify from opposite directions), once
    offering a `carried:` prefix on any coverage value (`carried:unstated`
    is unreachable), and once glossing `NO` as "before a review lands" (a
    refusal on the head and a stale round both print it and want opposite
    responses).
    
    ## A watch's exit status does not survive a pipe
    
    `merge-and-release` step 6 gives the bounded watch command and left how
    to read its result to the reader. Without `pipefail`, `gh run watch ...
    | tail` reports whether `tail` succeeded rather than whether the run
    did. The rule is scoped to that condition rather than absolute, since
    `GOVERNANCE.md` "Shells" requires `pipefail` on every committed bash
    script and multi-line `run:` block, so inside one the pipe is safe.
    
    ## What was dropped
    
    An earlier revision offered a tree-object comparison for clearing a
    rate-limited reviewer on a promotion. It is deleted rather than
    repaired, because it fails open: on a constructed two-feature promotion
    the promotion head's tree equals the last feature head's tree whenever
    that branch was current with `develop`, while the promotion diff carries
    the earlier feature too, so the check clears a wait over content that
    reviewer never read.
    
    ## Verification
    
    On the feature pull request: 1641 tests pass, and `ruff format --check`,
    `ruff check`, `mypy`, `prose_lint.py` against the diff, the `eol` gate,
    `spec/validate.py` and `build_dist.py --check` are all clean. Two local
    strict review rounds ran before the push, raising nine findings between
    them, each fixed or deleted. Copilot reviewed the head with `reviewed=5
    changed=5 findings=0`. CodeRabbit was rate limited and is advisory, so
    it blocks nothing.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    ptr727 authored Sep 21, 2026
    Configuration menu
    Copy the full SHA
    a2d242c View commit details
    Browse the repository at this point in the history
Loading