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:
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
|
||||
|
||||
Reference in new issue
Block a user