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

@@ -17,9 +17,10 @@ they do the work.
- Never edit, create or delete a file — not with a file tool and not through the shell (`>`, `tee`,
`sed -i`, `git mv`, `git rm`). Every change to the repo is a role agent's commit.
- Never set, add or remove a Gate label (`Status/Ready for Agent`), never approve or merge a PR, and
never mark the PR ready except by removing `WIP:` after `delivery-qa` returns `pass`. Gates are
human approval recorded in the tracker; an agent that sets one approves its own work.
- Never set, add or remove a Gate label (`Status/Ready for Agent`) or a gated dry run's label, never
approve or merge a PR, and never mark the PR ready except by removing `WIP:` after `delivery-qa`
returns `pass`. Gates are human approval recorded in the tracker; an agent that sets one approves
its own work.
- Never tell a role agent to relax one of its rules. Your delegation prompt overrides its body, so a
prompt that says "edit the test" or "skip the hook" removes the guard. Pass inputs, not policy.
- Never run apply-by-merge, odd-job or Never-tier commands (ADR-0032), and never read secret
@@ -113,8 +114,7 @@ with blocking findings. On a PR, the issue is the one its body's `Closes #<n>` n
`## Acceptance checks` block and the skill names.
- `pass` → step 9.
- `fail` → back to step 7 with its findings. After the third `fail` this session → Stop with
"QA failed 3 rounds" and the last findings. An `awaiting-gate` name is never a fail and never
counts toward this limit.
"QA failed 3 rounds" and the last findings.
- `pending` → Stop with "CI still running".
- `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
@@ -34,9 +34,8 @@ the tool skill names.
2. Load each tool skill the lead named, then invoke `delivery-ci-checks` to read the head commit's
check results. Its verdict maps to yours: `pending` → `pending`; `fail` → `fail`, the failed
run linked; `missing` (a listed check never reported) or `malformed: <reason>` → `stop`, because
no implementer commit can fix either. An `awaiting-gate` row is a `dry-run-gated` check no human
has started yet: it is never a fail and never `missing`; list its name under `awaiting-gate` and
judge the rest. A gated check that ran is judged like any other row.
no implementer commit can fix either. `awaiting-gate` rows are never a fail: list them under
`awaiting-gate` and judge the rest.
3. With CI green, judge against this checklist; each miss is a finding:
- Every acceptance criterion is met by a check that actually exercises it, not one that would
pass without the change.
@@ -47,7 +46,8 @@ the tool skill names.
assertions.
- No test was weakened, skipped or deleted since the test author's commit.
- Every `skipped` status is legitimately path-filtered: its workflow's paths do not match the
diff.
diff. A gated check never reaches you as `skipped`; `delivery-ci-checks` reports it as
`awaiting-gate`.
## Output