/cub-scout:pilot-release-verificationfrom cub-scout
Runs post-deploy validation after a release ships, comparing live state against declared intent using cub-scout's three-way comparison, binding graph, deploy history, and git source anchor. Renders per-resource and release-level quality verdicts.
Ships in cub-scout. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The post-deploy validation scenario from Pilot's side. A release has just shipped (Argo synced, Flux reconciled, Helm applied, ConfigHub unit fired). Pilot is asked: did it land cleanly? Pilot consumes cub-scout's evidence at the post-deploy moment + the timeline since deploy + the binding graph + the source-truth anchor, then renders a release-quality verdict.
This is the after-the-fact companion to pilot-cd-gate. The CD gate fires before the deploy and decides whether to proceed; release-verification fires after the deploy and confirms it actually landed. Both are query-driven; the timing is the differentiator.
Explicit phrasings:
[email protected] land cleanly?"Implicit intents:
pilot-cd-gatepilot-watch-alert-responsepilot-rollback-decision. This skill says "did the release land?"; rollback-decision picks what to do if it didn't.pilot-incident-evidencepilot-promotion-gatepilot-compliance-audit CD pipeline: argocd app sync / flux reconcile / cub unit apply just fired at <deploy-time>
│
▼
(reconciliation in flight; allow a settle window — typically 30-180s)
│
▼
Pilot (acceptance judge in post-deploy mode)
│ "did the release land cleanly?"
│
├──► cub-scout doctor # cluster-health sanity check
│
├──► For each resource in the release scope:
│ cub-scout compare three-way <r> -n <ns> --format json
│ # DRY/WET/LIVE convergence check
│
│ cub-scout compare source-truth <r> -n <ns> --strategy <s> --format json
│ # strategy-typed verdict against the release SHA
│
│ cub-scout history <r> -n <ns> --since <deploy-time> --format json
│ # what changed since the deploy fired
│
│ cub-scout receipt verify <r> -n <ns> --strategy <s> \
│ --at-commit <release-sha> \
│ --save \
│ --out release-verify-<r>.receipt.json
│ # fingerprinted post-deploy verdict, pinned to the release SHA
│
└──► Convergence-still-in-flight detection:
cub-scout compare three-way <r> -n <ns> --format json \
| jq '.summary.agreement'
# "converging" = give it more time
# "diverged" = the release did NOT land cleanly
# "agreed" = clean landing
│
▼
Pilot's release-quality verdict:
│ All PASS, summary.agreement = "agreed" → RELEASE PASS
│ All PASS but summary.agreement = "converging" → RELEASE WATCH (wait + re-check)
│ Any WATCH → RELEASE WATCH (note in release record)
│ Any BLOCK (manual-edit during deploy window) → RELEASE BLOCK → escalate to rollback
│ Any INCONCLUSIVE → RELEASE ASK → human checks
│
▼
release record gets the verdict + per-resource receipts
│ PASS → close the release ticket as Verified
│ WATCH → re-verify after another settle window; or close with caveats
│ BLOCK → route to pilot-rollback-decision
│ ASK → page on-call; the proof gaps explain what's missing
└────────────────────────────────────────────────────
Reconciliation isn't instant. Argo CD application syncs typically converge in 10-60s for healthy resources; Flux Kustomizations in 20-180s; Helm in similar windows. Cron-style or autoscaled workloads can take longer.
Pilot's verification policy MUST account for a settle window:
| Resource type | Typical settle | Verification call timing |
|---|---|---|
| Deployment / ReplicaSet | 30-60s after sync | First verify after sync wait; retry on converging |
| StatefulSet | 60-180s (per-pod rolling) | Same; longer retry window |
| CronJob | next schedule (variable) | Don't verify until first job runs; or skip CronJobs from this gate |
| Helm release | 30-120s for full chart converge | Wait for helm status Deployed; then verify |
Pilot's policy choice: short-poll (re-verify every N seconds until agreed or timeout) vs single-shot (verify once after a fixed wait). cub-scout supports both — the verb is the same; the loop is Pilot's.
compare three-way's summary.agreement field tells youThe post-deploy convergence signal:
summary.agreement | Meaning |
|---|---|
agreed | All resources in scope have DRY=WET=LIVE for every field. Release landed cleanly. |
converging | Most resources agree; a small subset is in active reconciliation (controller-drift causes). Release is in flight; wait and re-verify. |
diverged | At least one resource has a hard mismatch with no controller-drift cause. Release did NOT land cleanly; investigate or rollback. |
partial | Mixed; the rollup couldn't pick a single label. Read per-resource details. |
converging is the most important post-deploy state — it's the "wait, the controller is still working on it" signal. Pilot's verification policy should treat converging as "not done yet" rather than a soft pass.
$ cub-scout doctor
If the cluster itself is unhealthy (API server flapping, controller flat-lined), the verification call won't be trustworthy. Doctor's output is a sanity signal — verify cluster is in a state where reconciliation could succeed before evaluating whether it did.
# Adjust the sleep to your release type's typical settle
$ sleep 60
# Per-resource three-way + source-truth
$ for r in <list-of-released-resources>; do
cub-scout compare three-way $r --format json > verify/$r-3way.json
cub-scout compare source-truth $r --strategy git-argo --format json > verify/$r-st.json
done
--at-commit$ for r in <list>; do
cub-scout receipt verify $r --strategy git-argo \
--at-commit <release-sha> \
--save \
--out verify/$r.receipt.json
done
--at-commit <sha> pins the spec anchor to the release's SHA. A PASS verdict confirms the live state matches this release, not some other state. The receipt is fingerprint-stable and lands in the release record.
$ cub-scout history deploy/payments-api -n prod --since "<deploy-time>" --format json
Reveals what ChangeSet entries fired in the deploy window. Should match the release's intent — if extra ChangeSets fired (manual edits during deploy, controller flaps), Pilot's verdict should downgrade.
| Per-resource verdicts | summary.agreement | Pilot release verdict | Pipeline action |
|---|---|---|---|
| All PASS | agreed | RELEASE PASS | Close the release ticket as Verified |
| All PASS | converging | RELEASE WATCH (wait) | Re-verify after another settle window |
| Mix of PASS + WATCH | any | RELEASE WATCH | Note caveats in the release record; consider closing with caveats |
| Any BLOCK | diverged | RELEASE BLOCK | Route to pilot-rollback-decision |
| Any BLOCK | converging | RELEASE ASK | Wait; the controller may still resolve the divergence |
| Any INCONCLUSIVE | any | RELEASE ASK | Page on-call; proof gaps explain what's missing |
# The receipt path each resource's verdict landed at
$ cub-scout receipt list --format json \
| jq '[.[] | select(.verifiedAt > "<deploy-time>")]' \
> verify/release-receipts.json
The release record (release ticket, deploy webhook payload, change-management entry) gets the per-resource receipts attached. Six months later, an auditor can cub-scout receipt validate any individual receipt to confirm it's tamper-evident.
Release [email protected] (SHA 9e7d12fa) just fired at 2026-05-22T14:30:00Z. Strategy: git-argo. Settle window: 60s.
# Pre-flight
$ cub-scout doctor 2>&1 | tail -3
✓ API server reachable
✓ All required controllers Ready
✓ 2 namespaces selected for compare
# Wait the settle window
$ sleep 60
# Per-resource three-way
$ cub-scout compare three-way deploy/payments-api -n prod --format json \
| jq '.summary'
{
"agreement": "agreed",
"agreed": 7,
"converging": 0,
"diverged": 0,
"scope": "resource:Deployment/payments-api/prod"
}
# Source-truth + receipt
$ cub-scout receipt verify deploy/payments-api -n prod \
--strategy git-argo \
--at-commit 9e7d12fa \
--save \
--out release-v1.4.3.receipt.json
# Verdict: PASS
# Timeline check
$ cub-scout history deploy/payments-api -n prod \
--since 2026-05-22T14:30:00Z --format json | jq 'length'
1 # one ChangeSet entry (the release itself); no surprise edits
Pilot's release-quality verdict:
{
"release_id": "release-2026-05-22-payments-api-v1.4.3",
"release_sha": "9e7d12fa",
"deploy_time": "2026-05-22T14:30:00Z",
"verify_time": "2026-05-22T14:31:00Z",
"settle_window_seconds": 60,
"release_verdict": "PASS",
"summary_agreement": "agreed",
"per_resource": [
{"resource": "Deployment/payments-api in prod", "verdict": "PASS", "receipt": "release-v1.4.3.receipt.json"}
],
"post_deploy_changesets": 1,
"rationale": "DRY=WET=LIVE; source-truth PASS against release SHA; no surprise changes",
"next_step": "close release ticket as Verified; attach release-v1.4.3.receipt.json"
}
The release ticket gets the verdict + the receipt. Six months later: cub-scout receipt validate release-v1.4.3.receipt.json exits 0 — fingerprint stable.
Connected mode preferred for full verification:
compare source-truth --strategy — connectedhistory — connected (ChangeSet timeline)bindingSource field on compare three-way — connectedcub link list for Link-graph cross-check — connectedreceipt verify --strategy source-truth-pass — connectedStandalone mode is partial:
compare three-way --git-path <local-checkout> works without ConfigHub for raw-YAML comparisonreceipt verify --predicate applied-matches-spec --at-commit <sha> produces a per-resource verdicthistory (no ChangeSet timeline) — Pilot has to supply deploy-time from elsewherebindingSource — Link-graph verification skippedA standalone post-deploy gate is still valuable but narrower. Pilot's policy should call out the limitation in the release record.
history, doctor, explain, trace, receipt verify / show / validate / list, watch for the optional event-driven verification track (not auto-approved: its --webhook flag sends events to any URL, so the host asks each time). All read-only.kubectl get/describe. NOT kubectl apply / edit / patch / delete / rollout undo.cub <entity> get / list for the entities named in allowed-tools. NOT mutating cub verbs.argocd app get, flux get. NOT argocd app sync, flux reconcile (those fired before this skill ran).pilot-rollback-decision — and even there, cub-scout's role is evidence, not the controller sync.pilot-cd-gate — pre-deploy companion (this skill is the post-deploy half)pilot-rollback-decision — when this skill returns BLOCKpilot-promotion-gate — cross-variant; this skill is single-releasepilot-watch-alert-response — event-driven companion; useful as an alternative to short-poll re-verifyscout-compare — Compare verbs (cub-scout side)scout-verify — receipts with --at-commitscout-govern — history#393, #418 (Phase 2 strategies)#446 (v1), #463 (v2 surface)converging and Pilot's policy has to re-verify. Pilot's choice between short-poll (every N seconds) vs single-shot (fixed wait) is Pilot-side; cub-scout exposes the verbs.--at-commit <sha> pins the spec anchor revision; the rest of the predicate evaluation (attribution, source-truth derivation) runs against the live cluster state. Useful for "did we land this specific release?" rather than "is the live state plausible against some release?"deploy/legacy-tool") — that's Pilot-side.--at-commit pinning is meaningful only against source-truth-pass predicate. applied-matches-spec doesn't strictly require it (the controller-resolved anchor is sufficient when present).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (confighub/cub-scout) — no native marketplace selected
npx claudepluginhub p/confighub-cub-scout35 skills in this plugin
/ai-agent-readonly-contextUse when the user is WIRING CUB-SCOUT INTO AN AI AGENT (Claude / Codex / a custom LLM workflow) and needs the patterns for read-only context, MCP gateway tools, deterministic context snapshots, and the prompt-shape that makes cub-scout's output reliable for LLMs. Natural phrasing: "set up cub-scout as a Claude tool", "expose cub-scout to my agent over MCP", "give the LLM a deterministic snapshot of this cluster", "what cub-scout patterns work well for AI agents?", "MCP config for cub-scout in Claude Code", "best practices for wiring cub-scout into Codex / Cursor / Continue", "AI-ready cluster context", "prompt template for cub-scout output". Composes `mcp serve` + `context-pack` + `--presentation ai` + the structured JSON contracts. Do NOT load for: a specific verb invocation (load the corresponding scout-* skill), authoring an MCP server in general (this is about wiring CUB-SCOUT specifically), or any mutating workflow (cub-scout never mutates; the read-only triad is the whole point of this skill)./audit-fleet-conformanceUse when the user wants to verify CONFORMANCE ACROSS A FLEET — multiple namespaces, multiple clusters, or a defined View scope. Natural phrasing: "which clusters are conformant?", "audit fleet conformance against this View", "show me all outliers in prod fleet", "compare every service against its source-truth strategy", "scope-wide three-way check for drift", "fleet-level compliance audit", "which deployments drift across the cluster?". Composes `compare three-way --view` + `compare source-truth` + `fleet outliers` for multi-resource / multi-cluster checks. Requires connected mode for the View + ConfigHub surfaces. Do NOT load for: a single resource (use investigate-drift), a triage (use triage-unhealthy-workload), incident evidence for one event (use operator-incident-evidence), or anything mutating.Other plugins' skills for the same job