/cub-scout:pilot-fleet-conformancefrom cub-scout
Renders a fleet-wide conformance verdict across multiple clusters, namespaces, or a ConfigHub View using Pilot. Consumes cub-scout comparisons and outliers to produce a per-cluster PASS/WATCH/ASK/BLOCK rollup.
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 fleet-wide conformance scenario from Pilot's side. Pilot is asked for a verdict across a fleet — multiple clusters, multiple namespaces, or a ConfigHub View scope — and synthesizes a single fleet-level PASS / WATCH / ASK / BLOCK from per-resource cub-scout evidence.
This is the judge-driven companion to audit-fleet-conformance (the operator-driven audit loop). Same cub-scout verbs feed both; the difference is framing: an operator runs an audit to find what's wrong; Pilot renders a verdict that downstream consumers (compliance dashboards, governance tickets, release boards) act on.
Explicit phrasings:
git-argo?"monthly-spend-by-team"Implicit intents:
pilot-cd-gateaudit-fleet-conformancepilot-watch-alert-responsepilot-incident-evidencepilot-patch-and-driftcub / Argo / Flux, never cub-scout. compliance dashboard / release board / governance ticket
│
▼
Pilot (acceptance judge)
│ "render the fleet verdict for view:monthly-spend-by-team"
│
├──► cub-scout views resolve <url-or-uuid> # confirm scope
│
├──► cub-scout fleet outliers --view <uuid> # cross-cluster outliers
│
├──► cub-scout compare three-way --view <uuid> # per-resource DRY/WET/LIVE
│ --format json
│
├──► for each resource in scope:
│ cub-scout compare source-truth <r> --strategy <s>
│ --format json # per-resource verdict
│
└──► (optional, for audit attachment)
for each resource in scope:
cub-scout receipt verify <r> --strategy <s>
--save # fingerprinted artifact
cub-scout receipt list --format json # the artifact inventory
│
▼
Pilot's fleet verdict = max-severity over per-resource verdicts
│
▼
downstream consumer reads the verdict
│ PASS → conformant fleet, no action needed
│ WATCH → conformant with caveats; attach receipts; review at next sync
│ ASK → human-needed; the per-resource ASKs surface proof gaps
│ BLOCK → halt promotion / release; quarantine the divergent resources
└────────────────────────────────────────────────────
Pilot's fleet verdict needs a defined scope. cub-scout exposes three scope shapes:
| Scope | Verb path | Use when |
|---|---|---|
| View | views resolve <url-or-uuid> → --view <uuid> on the audit verbs | The team declared the scope in ConfigHub (preferred for governance) |
| Namespace | --scope namespace/<ns> | One namespace's workloads |
| Cluster | --scope cluster | Entire kubeconfig context |
| Multi-cluster | fleet outliers --view <uuid> | Cross-cluster comparison against a View baseline (connected mode only) |
Views are declared via cub view create (out of cub-scout's scope — cub operation). cub-scout reads them via views resolve. If the team doesn't have a View, Pilot can still render a fleet verdict over a namespace or cluster scope; the scope is just less semantically anchored.
Pilot's synthesis policy is max-severity by default:
| Per-resource verdicts | Fleet verdict |
|---|---|
| All PASS | PASS |
| Some WATCH, rest PASS | WATCH |
| Some ASK, rest PASS/WATCH | ASK (humans needed for the proof gaps) |
| Any BLOCK | BLOCK (one divergent resource halts the fleet verdict) |
fleet outliers adds a cross-cluster dimension: if all per-cluster resource counts match the View baseline, the fleet is outlier-free; if one cluster diverges, Pilot's verdict downgrades to at least WATCH and may escalate to BLOCK depending on the missing resource's role.
This skill does NOT prescribe the synthesis policy beyond max-severity — Pilot may want a different aggregation (majority, weighted by criticality). The cub-scout side is verdict-producing per resource; the fleet roll-up is Pilot's call.
$ cub-scout views resolve https://hub.confighub.com/views/payments-prod-conformance
View: payments-prod-conformance
scope: cluster
columns: [team, service, replicas, source_truth_strategy]
resolved at: 2026-05-22T10:30:00Z
If no View applies, fall back to a namespace scope; the rest of the loop is identical except --scope namespace/<ns> replaces --view <uuid>.
$ cub-scout fleet outliers --view payments-prod-conformance
View: payments-prod-conformance
Clusters: 12
payments-api EXPECTED 3 deploys / cluster prod-euw1: 2 (outlier: missing payments-api-worker)
payments-db EXPECTED 1 deploy / cluster ALL match
payments-cron EXPECTED 4 deploys / cluster staging-use2: 3 (outlier: missing payments-cron-billing)
fleet outliers emits per-row mismatches. Each outlier is at minimum a WATCH for Pilot's fleet verdict (the per-cluster resource count doesn't match the View baseline); it escalates to BLOCK if the missing resource is in the View's critical-set (a separate policy Pilot enforces).
# Three-way conformance across the View (DRY/WET/LIVE per resource)
$ cub-scout compare three-way --view payments-prod-conformance --format json \
| jq '.summary'
{
"agreement": "partial",
"agreed": 18,
"converging": 1,
"diverged": 3,
"scope": "view:payments-prod-conformance"
}
# Strategy-anchored source-truth per resource
$ for r in $(cub-scout views project --view payments-prod-conformance --format json \
| jq -r '.[] | "\(.kind)/\(.name) -n \(.namespace)"'); do
cub-scout compare source-truth $r --strategy git-argo --format json \
| jq '{resource: "'"$r"'", status: .status, source_truth: .source_truth, proof_gaps: .proof_gaps}'
done
Each per-resource output has status (PASS/WATCH/BLOCK/ASK) + source_truth (AGREED/MISMATCH/INCOMPLETE/BLOCKED/UNKNOWN) + proof_gaps[] (a string array of free-form missing-evidence entries) + safe_next_action (a free-form human-readable next step). Pilot collects these into the synthesis matrix. Field names are snake_case per pkg/agent/source_truth.go:280-287.
# Per-resource receipts, saved to the immutable local store
$ for r in $(cub-scout views project --view payments-prod-conformance --format json \
| jq -r '.[] | "\(.kind)/\(.name) -n \(.namespace)"'); do
cub-scout receipt verify $r --strategy git-argo --save
done
# Audit inventory: every fleet receipt with verdict BLOCK or WATCH
$ cub-scout receipt list --format json \
| jq '[.[] | select(.verdict == "BLOCK" or .verdict == "WATCH")]'
The receipt store is immutable (each filename is canonical and O_EXCL-protected; duplicate saves return os.ErrExist and never overwrite). The fleet audit produces a fingerprint-stable evidence pack that can be archived for compliance review.
Pilot is asked for the daily fleet verdict on View payments-prod-conformance, strategy git-argo:
$ cub-scout fleet outliers --view payments-prod-conformance
View: payments-prod-conformance
Clusters: 12
payments-api EXPECTED 3 deploys / cluster prod-euw1: 2 (outlier)
payments-cron EXPECTED 4 deploys / cluster staging-use2: 3 (outlier)
$ cub-scout compare three-way --view payments-prod-conformance --format json \
| jq '.summary'
{
"agreement": "partial",
"agreed": 18,
"converging": 1,
"diverged": 3
}
$ # per-resource source-truth (abbreviated)
$ ... 18 PASS, 1 WATCH, 3 BLOCK
Pilot's synthesis:
Pilot's verdict surface to the compliance dashboard:
{
"fleet": "payments-prod",
"view": "payments-prod-conformance",
"strategy": "git-argo",
"verdict": "BLOCK",
"rollup": {
"PASS": 18,
"WATCH": 1,
"ASK": 0,
"BLOCK": 3,
"outliers": 2
},
"blockers": [
"Deployment/payments-api in prod-use1 (source_truth=MISMATCH)",
"Deployment/payments-worker in prod-use1 (source_truth=MISMATCH)",
"Deployment/payments-db in prod-euw1 (source_truth=MISMATCH)"
],
"evidence_path": "/path/to/audit/receipts/2026-05-22/",
"next_step": "investigate the 3 BLOCK resources via pilot-patch-and-drift"
}
Downstream consumer (compliance dashboard) reads the verdict, halts promotion, escalates to the team with the per-resource breakdown.
Most of this skill requires connected mode (cub auth login):
compare three-way (DRY layer needs ConfigHub) — connectedcompare source-truth — connected (the contract is meaningless without all 3 surfaces)views resolve / views project — connectedfleet outliers — connected (cross-cluster snapshots live in ConfigHub)receipt verify --strategy <s> — connected (source-truth-pass predicate requires it)Standalone-mode fleet conformance is narrower:
compare drift against files (no DRY layer)receipt verify --predicate applied-matches-spec (cluster-only)Pilot should run cub-scout status in the pipeline preamble; if standalone and the fleet verdict requires --strategy, escalate to ASK with a "connected mode required" message.
For periodic fleet audits, the verbs are CI-shaped:
# Daily cron — render the fleet verdict, exit non-zero if BLOCK
$ cub-scout compare three-way --view payments-prod-conformance --fail-on warning
# exit 2 if any resource in the View has a hard mismatch
For receipts-attached audits (preferred for compliance):
# Per-resource receipt save + collect into audit branch
$ ./fleet-audit.sh > audit-results.txt
$ cub-scout receipt list --format json > audit-receipts.json
$ git add audit-receipts.json && git commit -m "fleet audit $(date -u +%F)"
Pilot's typical batch shape: run per-resource receipt verify --strategy <s> --save overnight; in the morning, walk cub-scout receipt list --format json for the verdict roll-up.
fleet outliers; views resolve / project; receipt verify / show / validate / list; scan; map; summary list. All read-only.kubectl get. NOT kubectl apply/edit/patch/delete.cub <entity> get / list for the entities named in allowed-tools. NOT cub * create / update / delete / sync.cub or controller verbs, but the fleet-conformance verdict is Pilot's evidence-driven judgment; cub-scout never decides on Pilot's behalf.audit-fleet-conformance — operator-side counterpart (same verbs, different framing)scout-compare — the four Compare verbs (cub-scout side)scout-govern — fleet outliers, views, summaryscout-verify — receipt persistenceconfighub-source-truth — strategy-typed verdictpilot-cd-gate — single-resource pre-deploy gate companionpilot-patch-and-drift — drill-down for the BLOCK resources Pilot flagspilot-watch-alert-response — event-driven companion (this skill is periodic-driven)#391 (parent), #414 (compare three-way --view), #403 (views resolve), #420 (views project --with-reality)#393, #418 (Phase 2 strategies)fleet outliers requires the View to be declared with cluster scope (cub view create --scope cluster). Namespace-scoped Views can't be cross-clustered.receipt list to return many entries.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./confighub-source-truthUse when the user wants a STRATEGY-TYPED, PILOT-ACCEPTANCE-SHAPED VERDICT about whether ConfigHub / controller / runtime agree under a declared delivery strategy — the `compare source-truth` workflow with the explicit `--strategy <name>` requirement. Natural phrasing: "give me a source-truth verdict for deploy/api", "verify under git-argo strategy that ConfigHub matches the cluster", "run the source-truth contract for upstream Pilot acceptance", "compare source-truth confighub-oci-flux strategy across the namespace", "produce strategy-relative correctness evidence", "show me where the strategy declaration is being violated". Composes `compare source-truth --strategy <s>` + the source-truth evidence contract + (optionally) `receipt verify --strategy <s>` for a fingerprinted version. Requires CONNECTED MODE. Do NOT load for: a single-resource live drift question without a declared strategy (use investigate-drift), a triage (use triage-unhealthy-workload), or a fleet-wide audit that doesn't need strategy framing (use audit-fleet-conformance). cub-scout NEVER infers a strategy — this skill enforces that boundary./cub-scoutUse when working in the cub-scout repo or when answering capability-assistant questions ("can cub-scout do X?", "should I use cub-scout or kubectl here?", "how does cub-scout differ from cub?"). This is the umbrella router — it points you at the verb-grouped scenario skills under `skills/scout-*/` and the workflow / observer / reference skills planned for batches 2–5. For a specific verb-group task (observe / diagnose / compare / attribute / adopt existing config / govern / integrate / verify) load the corresponding `scout-*` skill directly./investigate-driftUse when the user wants to compare live and desired state and inspect available manager and source evidence. Natural phrasing: "why is this Deployment different from the git manifest?", "which recognized manager is recorded for this path?", "controller-drift or interactive-manager evidence?", "compare three-way + attribution for deploy/api". Composes `compare three-way` + `compare drift` + the attribution layer (`cause` / `managerHint` / `gitSource` / `bindingSource`). Do NOT promise who changed the value or which manager wrote last: path-level manager evidence is not time-ordered, and resource-level `explain` evidence is not field-specific. Do NOT load for: a triage where the workload won't start (use triage-unhealthy-workload), pure inventory (use scout-observe), generating a fingerprinted evidence artifact (use scout-verify and the no-manual-edits-since predicate), or any mutating fix (cub-scout never mutates)./migrate-from-kubectlUse when the user is MIGRATING from ad-hoc `kubectl apply` toward GitOps (Argo / Flux / ConfigHub) — and needs to find the manual edits, decide what to do with each (revert / port to git / accept as canonical), and plan the transition. Natural phrasing: "find all the manual edits in this cluster", "we have years of kubectl-apply, help us move to GitOps", "which resources have been hand-edited?", "audit drift caused by humans not controllers", "port my cluster state to git", "show me everything kubectl-* has touched". Composes attribution layer (`cause: manual-edit`) + `map orphans` (resources without a controller owner) + `scan` (risk classification) + `snapshot` / `import --git-path` preview once a repo skeleton exists. Read-only throughout — the migration itself is user-driven. Do NOT load for: real-time triage (use triage-unhealthy-workload), single-resource drift question (use investigate-drift), a fleet conformance audit (use audit-fleet-conformance), or any mutating action.Other plugins' skills for the same job