feat(delivery): read a failing dry-run-gated check as a human gate #226

Merged
Defame1297 merged 2 commits from feat/delivery-gated-failure into main 2026-11-26 18:58:00 +00:00
Owner

Part 1 of delivery: gated-failure state and the Ansible Dry Run line in delivery.md. It builds the decision in delivery: reading a dry-run-gated check that fails while awaiting its label.

A gated dry run fails on purpose while it waits for its label. Each bot push needs a fresh label from a human, so no bot commit can fix that failure. Sending it back to the implementer only loops.

Changes (delivery 0.8.0)

  • delivery-ci-checks (0.3.0)
    • A failure, error or warning on a dry-run-gated check is now classified gated-failure.
    • It counts as passing and is never waited on. Its row gives the job link and a one-line log cause.
    • The Awaiting gate: output line is replaced by Human gate: <name> (<awaiting-gate|gated-failure>), … | none.
    • The 0.7.0 rule that ignores skipped statuses on a gated check is unchanged.
  • delivery-qa
    • A gated-failure is never a fail.
    • qa judges dry-run output only on a check that succeeded. A gated failure's log is for the human to read.
    • The awaiting-gate: output line becomes human-gate: and carries each check's state, plus the cause for a gated failure.
  • delivery-implement-lead, step 9: Open questions gets one human gate: line per check on qa's human-gate line. The cause is added only for a gated-failure, because a check still waiting for its label has no job.
  • delivery-review (0.3.0), checklist §7: a gated-failure is a non-blocking finding for the approver, linked to its job.
  • delivery-repo-doc (0.4.0), format.md: the dry-run-gated definition is replaced with the looser text from the ticket. The exception to "skipped counts as passing" is kept.
  • Version records: package 0.8.0, the executables.allow key and the regenerated marketplace.json, done the same way as PR 221.

Review

  • factory-audit: found three defects, all fixed before this PR. Three skill versions hadn't been bumped. qa could still fail the PR on a gated failure's log. The human-gate line ended in an empty cause for checks still waiting for their label.
  • Two-axis code-review (Standards and Spec in separate subagents): both READY. Two suggested polish edits were folded in.
  • Open suggestion: delivery-ci-checks/SKILL.md is 625 words against the 600-word target. 900 is the hard limit, so this is a suggestion, not a failure. The extra words are the gotcha this change exists for.

After merge

Part 2 adds - `Ansible Dry Run / ansible_dry_run (pull_request_target)`: dry-run-gated to ansible-homelab-mono's docs/agents/delivery.md. It has to wait for this PR, because a .apm/ edit isn't live until it's on main.

Refs: #225

🤖 Generated with Claude Code

https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi

Part 1 of [delivery: gated-failure state and the Ansible Dry Run line in delivery.md](https://git.rkdr.net/Mortis/Holocron/issues/225). It builds the decision in [delivery: reading a dry-run-gated check that fails while awaiting its label](https://git.rkdr.net/Mortis/Holocron/issues/224). A gated dry run fails on purpose while it waits for its label. Each bot push needs a fresh label from a human, so no bot commit can fix that failure. Sending it back to the implementer only loops. ## Changes (`delivery` 0.8.0) - **`delivery-ci-checks`** (0.3.0) - A `failure`, `error` or `warning` on a `dry-run-gated` check is now classified **`gated-failure`**. - It counts as passing and is never waited on. Its row gives the job link and a one-line log cause. - The `Awaiting gate:` output line is replaced by `Human gate: <name> (<awaiting-gate|gated-failure>), … | none`. - The 0.7.0 rule that ignores `skipped` statuses on a gated check is unchanged. - **`delivery-qa`** - A `gated-failure` is never a fail. - qa judges dry-run output only on a check that succeeded. A gated failure's log is for the human to read. - The `awaiting-gate:` output line becomes `human-gate:` and carries each check's state, plus the cause for a gated failure. - **`delivery-implement-lead`**, step 9: Open questions gets one `human gate:` line per check on qa's `human-gate` line. The cause is added only for a `gated-failure`, because a check still waiting for its label has no job. - **`delivery-review`** (0.3.0), checklist §7: a `gated-failure` is a non-blocking finding for the approver, linked to its job. - **`delivery-repo-doc`** (0.4.0), `format.md`: the `dry-run-gated` definition is replaced with the looser text from the ticket. The exception to "skipped counts as passing" is kept. - **Version records:** package 0.8.0, the `executables.allow` key and the regenerated `marketplace.json`, done the same way as PR 221. ## Review - **`factory-audit`:** found three defects, all fixed before this PR. Three skill versions hadn't been bumped. qa could still fail the PR on a gated failure's log. The `human-gate` line ended in an empty cause for checks still waiting for their label. - **Two-axis `code-review`** (Standards and Spec in separate subagents): both READY. Two suggested polish edits were folded in. - **Open suggestion:** `delivery-ci-checks/SKILL.md` is 625 words against the 600-word target. 900 is the hard limit, so this is a suggestion, not a failure. The extra words are the gotcha this change exists for. ## After merge Part 2 adds `` - `Ansible Dry Run / ansible_dry_run (pull_request_target)`: dry-run-gated `` to `ansible-homelab-mono`'s `docs/agents/delivery.md`. It has to wait for this PR, because a `.apm/` edit isn't live until it's on `main`. Refs: #225 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Claude added 2 commits 2026-11-26 18:54:44 +00:00
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
The guard hook is unchanged; the executables.allow key and the
regenerated marketplace.json follow the package version bump.

Refs: #225

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Defame1297 merged commit bf86679d42 into main 2026-11-26 18:58:00 +00:00
Defame1297 deleted branch feat/delivery-gated-failure 2026-11-26 18:58:00 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#226