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
3.4 KiB
name, description, compatibility, allowed-tools, metadata
| name | description | compatibility | allowed-tools | metadata | ||||
|---|---|---|---|---|---|---|---|---|
| delivery-handoff | Use when a delivery Stage lead starts or finishes its stage. Owns the stage's entry gate and exit Handoff comment. Not a plain issue comment -> `gitea-issues`. Not writing the repo's delivery doc -> `delivery-repo-doc`. | Requires a Gitea forge reached through the Gitea MCP server (via the gitea-issues and gitea-prs skills), and a consuming repo carrying docs/agents/delivery.md. | Read mcp__gitea__issue_read mcp__gitea__issue_write mcp__gitea__pull_request_read |
|
Gotchas
Status/Ready for Humanis a stop signal, not a Gate, so you may set it. Every real gate —Status/Ready for Agent, a gated dry run's label, a PR approval — is human-only: never set, add or remove a gate label, and never approve a PR.- Check gate state, not who set it: in step mode the human launching your stage is the approval. Do not read the issue timeline.
Status/Ready for AgentandStatus/Ready for Humanmust not share an exclusive label scope: Gitea would then drop the gate label when you add Ready for Human. Never re-add it yourself.
Step 1 — Read the repo's delivery doc
Before any other work, read docs/agents/delivery.md at the consuming repo's root. Its format is
owned by delivery-repo-doc's references/format.md; you need only the Human allowlist: section
## Human allowlist, one - `<user>` item per line, never empty.
File missing, first line not # Delivery, or the allowlist section missing, empty or - none →
go to Stop with the reason, e.g. "docs/agents/delivery.md missing".
Step 2 — Read the inbound Handoff comment
Read the issue or PR you were pointed at via gitea-issues (or gitea-prs for the PR's own
fields). Find the latest Handoff comment and apply references/gates.md §Inbound Handoff comment;
if it says stop → Stop.
Step 3 — Check the gate
Run every check in your stage's row of references/gates.md. Any check fails → Stop, quoting
the failed check as the reason.
Step 4 — Do the stage's work
Run your stage's own flow. A blocker mid-stage — a skill named in docs/agents/delivery.md that is
not installed, a question only the human can answer — → Stop.
Step 5 — Exit
Read references/handoff-comment.md now and write exactly one Handoff comment from its template,
with the Next command filled for your stage, and post it where its Rules say. Then run any step
your agent puts after the Handoff comment (the WIP: title edit), and end the session.
Stop
Used by every step. Do both, then end the session without further work:
- Add the
Status/Ready for Humanlabel to the issue or PR you were pointed at, viagitea-issues. - Post one comment where
references/handoff-comment.md§Rules says a stop posts:- Before the inbound check passed (Step 1 or Step 2) → a plain comment stating the reason, not a Handoff comment, so the inbound rule is never bypassed. A relaunch comes from the latest real Handoff comment, or from scratch where your row's inbound is Optional for the item you were pointed at.
- After it passed (Steps 3–4) → a Handoff comment from
references/handoff-comment.md, filled per its stop row. Open questions states the reason; for a missing skill use the format's wording, "missing skill<name>".