feat(delivery): add the delivery-handoff stage protocol skill
Every delivery Stage lead needs the same entry and exit discipline: read the repo's delivery doc, read the inbound Handoff comment, check the stage's gate, and end with one fixed-shape Handoff comment that tells the human the exact launch line for the next stage. - delivery-handoff: entry checks, per-stage gate table (implement label, review non-WIP PR, verify merged PR with a non-stale, non-dismissed allowlisted approval), the Status/Ready for Human stop path, and the Handoff template with Claude Code and Copilot CLI Next commands - ADR-0032 amended: stage leads check gate state only in step mode; the who-set-the-label check moves to the run-mode launcher (gitea-mcp has no timeline method and the human already launches each stage) - delivery-repo-doc format.md aligned with the amendment (0.1.2) - delivery package 0.2.0 -> 0.3.0, with the executables.allow key and marketplace entry kept in step Refs #191 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
1 parent
d439bbeb05
commit
2c0120cda6
9 files changed
+210
-8
No files matched your search
@@ -54,8 +54,12 @@ running it in CI on a bot PR hands the bot those credentials. Decided in
|
||||
`flux diff` needs write RBAC, because Kubernetes authorises dry-run requests like real ones, so
|
||||
it is not used. Ansible's pre-merge `--check --diff` is reopened (see Secrets); later
|
||||
`tofu plan`;
|
||||
- stage leads start only when a user on the human allowlist in `docs/agents/delivery.md` set the
|
||||
gate label, checked against the issue timeline;
|
||||
- in step mode (v1) the human launching a stage is the approval, and stage leads check gate
|
||||
state only: the gate label is present, and for verify the PR is merged with a non-stale,
|
||||
non-dismissed approval by a user on the human allowlist in `docs/agents/delivery.md`. The
|
||||
who-set-the-label check moves to the run-mode launcher, which checks the triggering event's
|
||||
sender against the allowlist before starting an agent; it is deterministic, so it belongs in
|
||||
the workflow, not an agent;
|
||||
- a CI test-path check, run from `main`'s copy, fails if a commit after the test author's
|
||||
(trailer `Delivery-Stage: test-author`) touches the globs in `.gitea/test-paths`; this check,
|
||||
not file protection, guards tests. The implementer hands disputed tests back instead of editing
|
||||
@@ -101,6 +105,10 @@ running it in CI on a bot PR hands the bot those credentials. Decided in
|
||||
cluster or state and print no secret: anything not on the list is denied, so an unlisted mutating
|
||||
subcommand fails safe. Codex cannot ask, so odd jobs are
|
||||
denied there; an unrecognised runtime is treated the same way.
|
||||
- *Amended 2026-11-23 ([delivery-handoff skill](https://git.rkdr.net/Mortis/Holocron/issues/191)): stage
|
||||
leads check gate state only and the who-set-the-label check moved to the run-mode launcher,
|
||||
because gitea-mcp v1.13.0 has no timeline method, the timeline needs a token on private repos,
|
||||
and in step mode the human already launches each stage.*
|
||||
- *Amended 2026-11-23 ([delivery guard hook](https://git.rkdr.net/Mortis/Holocron/issues/190)): Copilot ask kept
|
||||
as an accepted risk; the guard covers file tools and uses read-verb allowlists.*
|
||||
- *Amended 2026-11-22 ([Credential boundary setup in ansible-homelab-mono](https://git.rkdr.net/Mortis/Holocron/issues/184)): test paths left
|
||||
|
||||
Reference in new issue
Block a user