Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

delivery-recovery

БесплатноБез исполняемых скриптовНе проверен

Unstick Delivery when deployments stop dispatching — a recovery-required or stalled deployment, a held dispatch barrier, a stale recovery intent, a refused…

shepherdjerredот shepherdjerred★ 85 звёзд на GitHub

Об этом скилле

Delivery recovery

Delivery settles most failures itself. An agent acts only on what it could not settle, through supported commands, and never by editing delivery_db. Load homelab-operations for cluster access and monorepo-delivery for any code fix. Use the toolkit built from current main (bun packages/toolkit/src/index.ts …) when the installed binary predates a command below.

1. Find what is held

Run toolkit incident check --system delivery --json before changing recovery or dispatch state and follow incident-response: change state only as the delivery incident's commander (take is mandatory when you caused it), link deployments and PRs, and resolve with Delivery evidence. Delivery alerts open the incident automatically. Check toolkit forum list --all --json for older interventions; expiry never restores state.

toolkit deploy list --status running --json
toolkit deploy approvals --json
toolkit deploy recovery --pending --json
  • A self-hosted service (delivery, delivery-control-plane, temporal, argocd) that is running or recoveryRequired holds the global dispatch barrier: every other claim answers BUSY.
  • Each dispatch tick opens an intent itself for a recovery-required deployment with no pending one (requestedBy: delivery/auto-recovery) and settles argo intents its reader proves, compound recipes made only of Applications included. A failed intent is reopened as auto-<ID>-<N> five minutes after it finished, up to five automatic intents, so a transient failure such as a Kubernetes API restart clears itself. Wait for that before acting. Act yourself when the fifth automatic intent failed, the deployment is a content target, or an argo intent stays pending across ticks (its reader refuses; section 2 says why).

2. Learn why it failed

  1. Read the deployment and its stages: toolkit deploy status <DEPLOYMENT_ID> --json. Stage evidence carries the refusal text of guarded Argo commands and failed read-only Jobs.
  2. Read the Workflow: toolkit temporal workflow show -w delivery/<DEPLOYMENT_ID> -o json, then the failed Activity's message and stack.
  3. Reproduce a refused apply-safety preflight read-only with the workstation ArgoCD token (bun packages/homelab/scripts/argocd/argocd.ts assert-apply-safe <APP> --revision <CHART_VERSION>); for "still co-owns", see how-to/clear-a-stale-field-manager.md.
  4. A worker sync that failed with exceeded its progress deadline is usually capacity: look for a Pending *-wf-retained-* pod in the Application's namespace and Insufficient cpu on torvalds. The worker reader then refuses, because it needs a Healthy Application with a Succeeded sync. Free capacity with toolkit deploy workers retire <ENV> <WORKER_ID> for Temporal-drained, non-current hosts of another environment (Scout beta first), one at a time. If the failed deployment still holds the lock that retirement needs, it is a section 5 case.

Fix a defective check or chart in source first (a false positive must not be worked around), then settle the deployment.

When a platform recovery inspection keeps failing for a reason already fixed on main, the running worker still builds Jobs from old source (AI-598). Pause delivery-dispatch, then run platform-delivery-recovery.ts --action inspect (packages/temporal/README.md) from a fixed checkout (macOS may hit AI-320).

3. Settle it with its own reader

Never release a lock because a stage looks read-only: each reader proves its target independently (model D5, I2).

Deployment Command (admin --machine credential)
Worker rollout (temporal, scout) toolkit deploy workers recover <ID> --machine --expected-generation <N> --reason "<why>". It also proves a written but never-synced Application body, and an owned sync that failed before routing.
Ordinary Application with a recorded sync toolkit deploy recover <ID> --expected-generation <N> --operation-id <ARGO_OPERATION_UUID> --reason "<why>" --machine
OpenTofu or platform toolkit deploy platform recover <ID> --machine --expected-generation <N> --reason "<why>"
Static site or Forum toolkit deploy sites recover or toolkit deploy forum recover, as the release how-to describes
Полный SKILL.md на GitHub

Установить delivery-recovery в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл delivery-recovery?

Unstick Delivery when deployments stop dispatching — a recovery-required or stalled deployment, a held dispatch barrier, a stale recovery intent, a refused preflight, or an operator-run data-layer or OpenTofu release. Use for DeliveryRecoveryRequired, DeliveryQueueStalled or DeliveryRecoveryIntentsPending, or when releases stay queued.

Как установить скилл delivery-recovery?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл delivery-recovery запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить delivery-recovery с