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★ 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 isrunningorrecoveryRequiredholds the global dispatch barrier: every other claim answersBUSY. - Each dispatch tick opens an intent itself for a recovery-required
deployment with no pending one (
requestedBy: delivery/auto-recovery) and settlesargointents its reader proves, compound recipes made only of Applications included. A failed intent is reopened asauto-<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 anargointent stays pending across ticks (its reader refuses; section 2 says why).
2. Learn why it failed
- 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. - Read the Workflow:
toolkit temporal workflow show -w delivery/<DEPLOYMENT_ID> -o json, then the failed Activity's message and stack. - 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", seehow-to/clear-a-stale-field-manager.md. - A worker sync that failed with
exceeded its progress deadlineis usually capacity: look for a Pending*-wf-retained-*pod in the Application's namespace andInsufficient cpuon torvalds. The worker reader then refuses, because it needs a Healthy Application with a Succeeded sync. Free capacity withtoolkit 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 |
Установить 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic