diff --git a/.claude/skills/health-watch/SKILL.md b/.claude/skills/health-watch/SKILL.md index fd5a23d4b..1e5a4ebd3 100644 --- a/.claude/skills/health-watch/SKILL.md +++ b/.claude/skills/health-watch/SKILL.md @@ -57,7 +57,7 @@ Then: Each of these has happened here. Check for the class, not the instance. **Merges and gates** -- A code PR merged without a current `Independent review @ ` line, or with a stale one (`/implement-plan` › Cleanup and Report step 4). The line is a convention; only required checks are enforced by the ruleset. +- A code PR merged without a current `Independent review @ ` line, or with a stale one (`/implement-plan` › Cleanup and Report step 4). The `review-line` check is required on `dev`, but it judges only what the line says against history: that the review was independent and its fixes read are still yours to check, as is any PR that edits `review-line.yml` or `check_review_line.py` (it runs its own copy). - A red explained away. A run cancelled by a newer push reports its gate as failed: that is noise. Any other red is root-caused; README item 6 says when one re-run may decide. - A red "fixed" without its log. The fix names the failing test as the CI log prints it; a local reproduction of some other failure is a guess. - A path only `mainline` runs. Coverage-on tests run on `mainline` pushes and `coverage: true` dispatches, never on a PR: a change to a test that reads IL or enumerates an instrumented assembly's types is proven by a coverage-on run (`gh api -X POST repos/antonsynd/sharpy/actions/workflows/dotnet10.yml/dispatches -f ref= -F 'inputs[coverage]=true'`; `/ci-gate` is coverage-off), not by its PR gate. diff --git a/.github/workflows/review-line.yml b/.github/workflows/review-line.yml index 2c7d3a042..7f622363e 100644 --- a/.github/workflows/review-line.yml +++ b/.github/workflows/review-line.yml @@ -7,14 +7,17 @@ # "no code path changed" (a base other than `dev`; a Dependabot PR that changes only package versions in manifests), and what it does not judge (that the review was # independent, that the fixes were read, the counts, an empty-diff history rewrite). # -# ADVISORY as shipped: the check `review-line` is not in the `dev` ruleset's required set; making it -# required is the owner's ruleset change. A draft PR's review line is judged but never failed (a -# warning), so work in progress stays green; marking it ready re-runs the check. The sharpy-issues -# step (build_tools/issue_block.py) fails a malformed block on drafts too. +# REQUIRED: the owner added the check `review-line` to the `dev` ruleset's required set (ruleset +# 26819943; the owner's "done", 2026-11-20 19:34Z, matching its updated_at). A body edit re-runs it: +# merge only once that run has completed (in the seconds before it is queued, the previous run still +# stands). Being required, a malformed sharpy-issues block also blocks the merge. A draft PR's +# review line is judged but never failed (a warning), so work in progress stays green; marking it +# ready re-runs the check. The sharpy-issues step (build_tools/issue_block.py) fails a malformed +# block on drafts too. # # Evidence, not a control: a pull_request run uses the PR's OWN copy of this workflow and of the -# script, so a PR can change the check it is judged by. Even if made required, it would only show -# what the line says against history; a reviewer of the PR still has to read changes to these two +# script, so a PR can change the check it is judged by. Though required, it only shows what the +# line says against history; a reviewer of the PR still has to read changes to these two # files. # # Its own workflow, not a job in commit-subjects.yml: the body changes without a push, so this runs on diff --git a/build_tools/check_review_line.py b/build_tools/check_review_line.py index c772bc1a6..7d4fa81bd 100644 --- a/build_tools/check_review_line.py +++ b/build_tools/check_review_line.py @@ -11,7 +11,8 @@ a `dev` merge landed after it. A second (third, ...) review's `@ : ` follows on the same line; the last one written is the one that counts. Nothing enforced this before: PRs #2615 (src/) and #2612 (build_tools/) merged on 2026-11-11 with no line. This script makes a missing or -malformed line visible; it is advisory unless the owner makes its check required. +malformed line visible; its check `review-line` is required on `dev` (the owner's ruleset change, +reported done on 2026-11-20). Which lines count. A line counts when, after at most three spaces, an optional list marker, bold or a backtick, it starts with `Independent review @`. Recognised and never read, because they quote the