A gated dry run fails on purpose while it awaits its label, and no bot
commit can satisfy a gate that needs a fresh human label per push, so
sending its failure to the implementer loops. delivery-ci-checks now
classifies a failure, error or warning on a dry-run-gated check as
gated-failure: passing, never waited on, with its job link and one-line
log cause. The Awaiting gate line becomes Human gate, carrying each
check's state. The 0.7.0 rule ignoring skipped statuses on a gated
check is unchanged.
qa never fails on a gated-failure and reads dry-run output only on
success; its human-gate line feeds the implement lead's Open questions.
Review check 7 records a gated-failure as a non-blocking finding for
the approver. The format's dry-run-gated definition is loosened to
allow a failing status before the label.
Refs: #225
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
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
A repo's CI checks may now list one or more dry-run checks and any
number of dry-run-gated ones: a dry run that posts its status only
after an allowlisted human adds a label. delivery-ci-checks classifies
a gated check with no status on the pinned SHA as awaiting-gate, which
passes the verdict, is never waited on, and is reported on its own
Awaiting gate line. qa never fails on it, the implement lead notes it
in the Handoff's Open questions, and the review records it as a
non-blocking finding for the approver. No agent sets the gate label.
Refs: #218
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
delivery-operator (opus; no Edit, Write, NotebookEdit or Agent) is the
verify-stage lead. After a human approves and merges, it reads the
delivery doc at the merge commit's first parent, proves its kubeconfig
cannot write (four auth can-i probes), loads the routed tool skills and
runs delivery-verify. It posts the operator report as its own comment,
then the final Handoff (Next command none on pass).
delivery-verify:
- stops first if the change was already reverted;
- waits for Flux through flux-diagnose's Applied check (15-minute cap)
and reads post-merge CI per workflow through delivery-ci-checks
(45-minute cap), accepting a later cumulative run as cover;
- checks the PR's post-merge assertions with Read-tier commands only;
- ties a failure to the change only when that is established, and
otherwise stops. A tied failure opens a revert PR (Ready for Human,
built in a temporary worktree); it never reverts on its own.
For Flux the guarantee is bounded: the merge commit applied and the
inventory HelmReleases are Ready. The assertions prove a values or chart
change took effect.
The delivery doc format gains a seventh parsed section, Post-merge
checks (glob -> push-event status names, or none when Flux pulls the
change), so delivery-repo-doc goes to 0.2.0. delivery-ci-checks takes a
caller check list and wait cap; delivery-handoff carries the verify
stops.
delivery 0.6.0.
Refs: #194
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
delivery-reviewer (opus; no Bash, Edit, Write or NotebookEdit) is the
review-stage lead. It judges the PR through the new delivery-review
skill and posts one COMMENT review per round. Gitea refuses
REQUEST_CHANGES from a PR's own poster, and the reviewer runs as the bot
that opened the PR. The review opens with `Delivery review: round <n> —
blocking|clear`, and each blocking finding is tagged with the role that
must fix it: [test-author] (with its dispute key), [implementer] or
[human].
Routing: a [human] finding, or a 3rd blocking round, stops with Ready
for Human. Other blocking rounds post the Handoff and put `WIP:` back,
handing the PR to delivery-implement-lead. A clear round hands on to
delivery-operator. A relaunch finishes a crashed routing, using whether
a later Handoff links the review.
delivery-review checks the change against the acceptance criteria and
re-judges every test-path change itself, because a dispute round moves
the CI freeze boundary. It also judges post-merge assertion reasons,
security and the dry run. It reads the delivery doc at the PR's base
ref, and a PR that changes the test-path rules is a [human] finding.
Hand-back: delivery-handoff lets the implement stage take a PR, with
the inbound Handoff required and the gate checked on the issue it
closes. The implement lead first sends [test-author] findings through
delivery-test-first's dispute flow, which now takes review findings,
then gives the implementer the rest. Dispute verdicts are one keyed
`- Dispute verdict:` line copied into every Handoff comment, so later
sessions never re-judge an item or re-dispute a settled test.
delivery-repo-doc, delivery-test-author, delivery-implementer and
delivery-qa are aligned with these contracts. Package bumped to 0.5.0,
with the marketplace allow key and manifest.
Refs: #193
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Implement stage for the delivery team: delivery-implement-lead runs
test-author -> implementer -> qa in sequence on a draft WIP: PR and
removes WIP: when qa passes, starting review. delivery-test-first turns
acceptance criteria into acceptance checks committed under the
Delivery-Stage: test-author trailer; delivery-ci-checks reads a PR's or
commit's CI by the names in docs/agents/delivery.md.
Agents follow ADR-0016 (no tools: lists, disallowedTools fences on the
lead and qa) and pin Claude model aliases without model-policy; Copilot
limitations are documented in docs/runtimes.md. delivery 0.4.0.
Refs: #192
ADR: ADR-0016, ADR-0031, ADR-0032
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi