From bf35a78658db7b9f2b027103d6ac917894973013 Mon Sep 17 00:00:00 2001 From: juvdiaz Date: Mon, 29 Jun 2026 21:06:20 -0600 Subject: [PATCH] Allow explain for new read-only helpers --- docs/jeannie.1.md | 4 +++- scripts/explain | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/jeannie.1.md b/docs/jeannie.1.md index 73afbd3..c20cdd8 100644 --- a/docs/jeannie.1.md +++ b/docs/jeannie.1.md @@ -147,7 +147,9 @@ plane pods off the Debian host. including the meaning, diagnostic commands, whether a Jeannie fix command already exists, risk, and auto-fix safety. This command is read-only and refuses mutating commands. Use `explain scorecard [--all]` for scorecard-specific -category explanations, or pipe captured output into `explain output`. +category explanations, use it directly with helpers such as `capacity-advisor`, +`capacity-limits`, `impact`, and `review-last-change`, or pipe captured output +into `explain output`. `artifact-cache {status|up|down|instructions}` : Manage the optional Debian-host artifact cache stack for apt packages and diff --git a/scripts/explain b/scripts/explain index 6569639..8b56166 100755 --- a/scripts/explain +++ b/scripts/explain @@ -34,7 +34,7 @@ EOF is_read_only_command() { case "$1" in - status|capacity|recover-plan|scorecard|gitops-status|cert-check|backup-status|synthetic-checks|resource-budget|route-inventory|golden-ledger|workers|change-journal|map|validate|access-audit|doctor-versions|doctor-edge|doctor-gitea|doctor-rpi|doctor-cluster|preflight|doctor-preapply|inventory-check|secrets-check|tailnet-policy-check|ai-check|security-scan|security-host|security-trivy|security-secrets|security-nuclei|security-web|security-logs|security-attack-path|control-plane) + status|capacity|capacity-advisor|capacity-limits|recover-plan|scorecard|gitops-status|cert-check|backup-status|synthetic-checks|resource-budget|route-inventory|golden-ledger|workers|change-journal|map|validate|access-audit|doctor-versions|doctor-edge|doctor-gitea|doctor-rpi|doctor-cluster|preflight|doctor-preapply|inventory-check|secrets-check|tailnet-policy-check|ai-check|ask|impact|review-last-change|security-scan|security-host|security-trivy|security-secrets|security-nuclei|security-web|security-logs|security-attack-path|control-plane) return 0 ;; *)