An agent with no gate-table row had no defined stop; it now stops first in the inbound check with a plain comment. The item kind is checked before the Handoff lookup, 'latest' means newest by creation time, and an allowlist of '- none' counts as empty. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
3.2 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 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 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.
- 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>".