feat(k8s): add k8s-diagnose for read-only workload triage

k8s-diagnose triages pods, probes, scheduling, storage and Service
endpoints under a view-only kubeconfig: one evidence command per
finding and a likely cause, never a fix applied. It stops with
"no cluster access" or the RBAC gap instead of looking for other
credentials, and accepts hand-offs from flux-diagnose.

k8s 0.2.0; the .gitkeep placeholder goes now that a skill exists.

Refs: #194

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-24 20:34:48 +00:00
1 parent 2a6eea3db1
commit 277d6f5826
5 files changed
+172 -1

No files matched your search

@@ -0,0 +1,19 @@
# Sources
## adr-0032-action-tiers
- **URL:** (repo decision record — not a plugin research corpus entry)
- **Description:** The five action tiers (Read, Propose, Apply-by-merge, Odd job, Never), the `view`-ClusterRole kubeconfig that excludes Secrets, and the rule that every infrastructure change applies by approved merge. Grounds the tier table, the RBAC gaps, and "never apply a fix".
- **Research doc:** none — repo decision record, not a plugin research corpus entry
- **Basis:** docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md
- **Contributing files:** SKILL.md, references/symptoms.md
- **Status:** `extracted`
## delivery-guard-kubectl-allowlist
- **URL:** (repo code — not a plugin research corpus entry)
- **Description:** The delivery guard hook's `kubectl` read-verb allowlist and its Secret denials (`get secret -o`, `get --raw` on Secrets, `config view --raw`, live `diff`). Every command the skill names stays inside it.
- **Research doc:** none — repo code, not a plugin research corpus entry
- **Basis:** plugins/delivery/.apm/hooks/guard.py
- **Contributing files:** SKILL.md, references/symptoms.md
- **Status:** `extracted`