feat(delivery): read a failing dry-run-gated check as a human gate

A gated dry run fails on purpose while it awaits its label, and no bot
commit can satisfy a gate that needs a fresh human label per push, so
sending its failure to the implementer loops. delivery-ci-checks now
classifies a failure, error or warning on a dry-run-gated check as
gated-failure: passing, never waited on, with its job link and one-line
log cause. The Awaiting gate line becomes Human gate, carrying each
check's state. The 0.7.0 rule ignoring skipped statuses on a gated
check is unchanged.

qa never fails on a gated-failure and reads dry-run output only on
success; its human-gate line feeds the implement lead's Open questions.
Review check 7 records a gated-failure as a non-blocking finding for
the approver. The format's dry-run-gated definition is loosened to
allow a failing status before the label.

Refs: #225

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-26 18:40:47 +00:00
1 parent e3d4219323
commit 244f4de1bd
9 files changed
+56 -41

No files matched your search

@@ -119,11 +119,12 @@ with blocking findings. On a PR, the issue is the one its body's `Closes #<n>` n
- `stop` → Stop with its reason: a missing or malformed check is not the implementer's to fix.
9. Run `delivery-handoff` Step 5: one Handoff comment on the PR, Decisions and Rejected taken from
the role agents' reports and every step 6 and step 7 verdict, Evidence linking the PR, the
commits and the CI runs QA cited, and Open questions one line "awaiting human gate: `<check>`"
per name on QA's last `awaiting-gate` line (else `none`). Then remove the `WIP:` prefix from
the PR title with `gitea-prs`, which makes the PR eligible for the review stage. The comment
goes first so a crash between the two leaves a recorded hand-off on a PR still in `WIP:`, never
a review-eligible PR with no Handoff comment for the reviewer's Required inbound check.
commits and the CI runs QA cited, and Open questions one line "human gate: `<check>` —
`<state>`", plus ": `<cause>`" for a `gated-failure`, per name on QA's last `human-gate` line
(else `none`). Then remove the `WIP:` prefix from the PR title with `gitea-prs`, which makes the
PR eligible for the review stage. The comment goes first so a crash between the two leaves a
recorded hand-off on a PR still in `WIP:`, never a review-eligible PR with no Handoff comment for
the reviewer's Required inbound check.
## Output