fix(delivery): close the skipped-gate hole in dry-run-gated

A gated workflow whose job-level label condition is unmet posts
skipped, and a later label event on the same SHA posts a newer skipped
that would mask an earlier gated failure. delivery-ci-checks now
ignores skipped statuses for a dry-run-gated check and takes the latest
of the rest, reading none as awaiting-gate. The format exempts
dry-run-gated from the skipped-passes rule and requires the workflow
to run only on its named gate label; the gatherer confirms that filter
and takes a gated check's name from the forge or lists it as open.

The review's awaiting-gate finding links the PR's files view, the
implement lead and delivery-handoff name the gated dry run's label as
human-only, and qa's and the lead's restatements are trimmed.

Refs: #218

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-25 09:22:36 +00:00
1 parent a96b6134a5
commit 42301cf38e
7 files changed
+37 -27

No files matched your search

@@ -54,10 +54,11 @@ syntax. A format change is an edit here, plus every consumer's restatement.
- `dry-run` appears on one or more items unless the section is `- none`. `test-path` appears on at
most one item, and on exactly one when the repo has a test-path check.
- `dry-run-gated` (zero or more items) is a dry run that posts its status only after a user on the
human allowlist adds a label to the PR. Until then its status is absent from the head commit, and
consumers read that as awaiting the human gate, not as missing.
- Whatever its role, a consumer treats a check reported as "skipped" (a path-filtered workflow
whose paths did not match) as passing.
human allowlist adds a label to the PR. Its workflow runs only on that one named gate label, so
no other label event starts it. Until then its status is absent or `skipped` on the head commit,
and consumers read either as awaiting the human gate, not as missing or passing.
- Whatever its role, except `dry-run-gated`, a consumer treats a check reported as "skipped" (a
path-filtered workflow whose paths did not match) as passing.
### 3. Test paths
@@ -35,6 +35,9 @@ repo; facts only a human holds come from the human. A value with no source stays
`Delivery-Stage: test-author` commit touches the test globs. `dry-run` and `dry-run-gated`
come from the human: a dry run whose workflow waits for a label (a `labeled` trigger or a
label condition on the job) is a `dry-run-gated` candidate to confirm, never assigned unasked.
A gated check's name must come from the forge, read on a PR where the gated job ran (step 3).
With no such PR, list it as open in the PR body instead: a wrong name stays `awaiting-gate`
forever and never blocks.
### Test paths
@@ -74,9 +77,10 @@ SKILL.md Step 3 asks for these:
- Bot user the agents act as.
- Read-only kubeconfig path, or "no cluster".
- Branch-protection status: in place, or pending with the tracking link.
- Which CI checks are dry runs, and which of those are label-gated: they post a status only after
an allowlisted human adds a label. A repo with PR checks but no ungated dry-run check is not
ready for the delivery team: say so in the PR body as open and stop.
- Which CI checks are dry runs, and which of those are label-gated: they post a status only after an
allowlisted human adds a label. For each gated one, confirm its workflow runs only on that one
named label (the filter read from the workflow). A repo with PR checks but no ungated dry-run
check is not ready for the delivery team: say so in the PR body as open and stop.
- Test-path globs, when no globs file exists (confirm the derived list).
- Post-merge items for a push workflow with no path filter (confirm the derived directories).
- Accepted risks: the ADR or issue links, or "none".