Skip to content

faberctl CLI Reference

This reference is generated directly from faberctl command usage and flag definitions in internal/cli/. Regenerate it with make gen-docs.

Usage: faberctl [global flags] <command> [subcommand] [flags]
Global flags:
--server <url> Faber API base URL (default env FABER_SERVER or https://faber.example.com)
--token <token> Optional Bearer token (default env FABER_TOKEN)
-o text|json Output format, json is the same as --json
--json Emit machine-readable JSON output
--timeout <duration> HTTP request timeout (default 30s)
Commands:
version Print CLI version and query /api/v1/health
status Summarize controller, autonomy, sandbox, Connector and Automation health (--wait)
doctor Diagnose CRDs, RBAC, sandbox, Connectors and egress with fix hints
observe Stream live runs, verdicts and trust decisions
proba Port-forward the Proba web console and print its URL (alias ui)
overview Show compact fleet summary
runs Inspect, stream, trigger, cancel, approve or reject runs
policies List Automation resources
repos List Repository resources
clusters List TargetCluster resources
fleet Inspect federated spoke clusters and queue remote decisions
audit Export immutable governance audit logs
pause Pause all runs via the global kill switch (--all)
resume Resume runs via the global kill switch (--all)
scorecard Show Shadow Mode runs, proposed actions and cost summary
learning Inspect active learning signals and propose rules pull requests
memory List, search, and cascading-forget operational memory entries
pack List, inspect, and render built-in policy presets
catalog Search, inspect, install, diff, upgrade, validate, test, build, and publish catalog packs
init Scaffold GitOps onboarding manifests and Helm install snippet
help Show this usage summary

Global flags are accepted before or after any subcommand.

Flag Type Default Description
--json bool false Emit machine-readable JSON output
--o string - Output format: text (alias table) or json
--server string "https://faber.example.com" Faber HTTP API base URL (env FABER_SERVER)
--timeout duration 30s HTTP request timeout
--token string - Optional Bearer token (env FABER_TOKEN)
Variable Flag Description
FABER_SERVER --server Default Faber HTTP API base URL when --server is omitted.
FABER_TOKEN --token Default Bearer token when --token is omitted.
FABER_CATALOG_TOKEN --token Default OCI registry authentication token (token or user:password) for faberctl catalog OCI operations.
Command Description
faberctl version Print the faberctl version and query /api/v1/health on the configured Faber server.
faberctl status Summarize controller, autonomy, sandbox, Connector, Automation and run health, optionally waiting until ready with --wait.
faberctl doctor Diagnose API reachability, auth, faberops.dev/v1beta1 CRDs, controller RBAC, agent-sandbox, Connectors and egress NetworkPolicies with actionable hints.
faberctl observe Stream live run events, sandbox verdict digests and trust decisions from /api/v1/events, reconnecting from the last event ID.
faberctl proba Port-forward the Proba web console Service and print or open its local URL. faberctl ui is an alias.
faberctl overview Display a compact fleet summary from /api/v1/overview.
faberctl runs Inspect, stream, trigger, cancel, approve, or reject remediation runs.
faberctl policies Inspect Automation resources managed by Faber.
faberctl repos Inspect Repository resources managed by Faber.
faberctl clusters Inspect TargetCluster resources configured for multi-cluster inspection.
faberctl fleet Inspect federated spoke clusters and queue remote approval or rejection commands on a Hub.
faberctl audit Export immutable governance audit events.
faberctl pause Pause all remediation runs via the global operator kill switch.
faberctl resume Resume remediation runs after pausing the global operator kill switch.
faberctl scorecard Display or export the rolling Shadow Mode scorecard of verified precision, time to brief, pre-check skip rate, model spend, and estimated savings.
faberctl learning Inspect active learning feedback signals and trigger rules pull request proposals.
faberctl memory List, full-text search, and cascading-forget tenant-partitioned operational memory entries.
faberctl pack List, inspect, and render compiled-in Catalog v2 playbooks locally without contacting a cluster.
faberctl catalog Search, inspect, install, diff, upgrade, validate, test, build, and publish Catalog v2 packs (playbooks, connectors, signatures, validators).
faberctl init Scaffold GitOps onboarding manifests and Helm install commands for Tier 0 or Tier 1 clusters.

Print the faberctl version and query /api/v1/health on the configured Faber server.

Synopsis: faberctl version [flags]

Accepts global flags only.

Summarize controller, autonomy, sandbox, Connector, Automation and run health, optionally waiting until ready with --wait.

Synopsis: faberctl status [flags]

Flag Type Default Description
--interval duration 2s Poll interval with –wait
--namespace string "faber" Namespace of the faber release for Kubernetes checks
--wait bool false Wait until the controller is healthy and every Connector is ready
--wait-duration duration 5m0s Maximum time to wait with –wait

Diagnose API reachability, auth, faberops.dev/v1beta1 CRDs, controller RBAC, agent-sandbox, Connectors and egress NetworkPolicies with actionable hints.

Synopsis: faberctl doctor [flags]

Flag Type Default Description
--namespace string "faber" Namespace of the faber release
--service-account string "faber" Controller ServiceAccount name for RBAC checks

Stream live run events, sandbox verdict digests and trust decisions from /api/v1/events, reconnecting from the last event ID.

Synopsis: faberctl observe [flags]

Flag Type Default Description
--after-id int - Replay persisted events after this event ID before streaming
--automation string - Only show events for this Automation
--namespace string - Only show runs in this namespace
--once bool false Exit when the stream closes instead of reconnecting
--run string - Only show events for this run ID
--type string - Comma-separated event type prefixes to show (for example run.waiting_approval,run.succeeded)

Port-forward the Proba web console Service and print or open its local URL. faberctl ui is an alias.

Synopsis: faberctl proba [flags]

Flag Type Default Description
--kubectl string "kubectl" kubectl binary used for the port-forward
--namespace string "faber" Namespace of the Proba Service
--open bool false Open Proba in the default browser once the port-forward is ready
--port int 8090 Local port for the port-forward
--service string "faber-proba" Proba Service name
--service-port int 80 Proba Service port

Display a compact fleet summary from /api/v1/overview.

Synopsis: faberctl overview [flags]

Accepts global flags only.

Inspect, stream, trigger, cancel, approve, or reject remediation runs.

Usage: faberctl runs <subcommand> [args] [flags]
Subcommands:
list [--policy] [--phase] [--tier] [--pr-state] [--since] [--limit]
get <id>
watch <id> [--after-id]
diff <id>
trigger <policy> [--namespace] [--dry-run] [--dedupe-key] [--input '{}'] [--input-file path] [--sync]
cancel <id>
approve <id> [--actor] [--comment]
reject <id> [--actor] [--comment]

List remediation runs with optional policy, phase, tier, PR state, time window, and limit filters.

Synopsis: faberctl runs list [flags]

Flag Type Default Description
--limit int - Maximum number of runs to return (1-500)
--phase string - Filter by run phase
--policy string - Filter by Automation name
--pr-state string - Filter by pull request state
--since string - Filter by start window (for example 24h, 7d or RFC3339)
--tier int -1 Filter by execution tier (0 or 1)

Show full run details, step timeline, token usage, and artifacts.

Synopsis: faberctl runs get <id> [flags]

Accepts global flags only.

Stream live SSE events for a running or completed run.

Synopsis: faberctl runs watch <id> [flags]

Flag Type Default Description
--after-id int - Replay persisted events strictly after this event ID

Print the extracted unified diff produced by a Tier 1 run.

Synopsis: faberctl runs diff <id> [flags]

Accepts global flags only.

Trigger an Automation asynchronously or wait for terminal output with --sync.

Synopsis: faberctl runs trigger <automation> [flags]

Flag Type Default Description
--dedupe-key string - Explicit deduplication key
--dry-run bool false Run without mutating external systems
--input string - Inline JSON input object
--input-file string - Path to a JSON input file
--namespace string - Target Automation namespace
--sync bool false Execute synchronously via POST /v1/invoke/{policy}

Cancel an active or queued run.

Synopsis: faberctl runs cancel <id> [flags]

Accepts global flags only.

Approve a WaitingApproval checkpoint to resume PR or MR creation.

Synopsis: faberctl runs approve <id> [flags]

Flag Type Default Description
--actor string - Operator identity recorded on the approval decision
--comment string - Optional rationale recorded on the approval decision

Reject a WaitingApproval checkpoint and record operator feedback.

Synopsis: faberctl runs reject <id> [flags]

Flag Type Default Description
--actor string - Operator identity recorded on the approval decision
--comment string - Optional rationale recorded on the approval decision

Inspect Automation resources managed by Faber.

Usage: faberctl policies list [--namespace <ns>]

List Automation resources across all watched namespaces or one namespace.

Synopsis: faberctl policies list [flags]

Flag Type Default Description
--namespace string - Filter by Kubernetes namespace

Inspect Repository resources managed by Faber.

Usage: faberctl repos list [--namespace <ns>]

List Repository resources across all watched namespaces or one namespace.

Synopsis: faberctl repos list [flags]

Flag Type Default Description
--namespace string - Filter by Kubernetes namespace

Inspect TargetCluster resources configured for multi-cluster inspection.

Usage: faberctl clusters list [--namespace <ns>] [-o table|json]

List TargetCluster resources with connectivity status and Kubernetes version.

Synopsis: faberctl clusters list [flags]

Flag Type Default Description
--namespace string - Filter by Kubernetes namespace

Inspect federated spoke clusters and queue remote approval or rejection commands on a Hub.

Usage: faberctl fleet <subcommand> [args] [flags]
Subcommands:
clusters [-o table|json]
runs [--cluster <id>] [--status <status>] [--policy <name>] [--namespace <ns>] [--limit <n>] [-o table|json]
approve <cluster-id> <run-id> [--reason <text>]
reject <cluster-id> <run-id> [--reason <text>]

List federated spoke clusters registered with the Fleet Hub.

Synopsis: faberctl fleet clusters [flags]

Accepts global flags only.

List aggregated remediation runs across federated spoke clusters.

Synopsis: faberctl fleet runs [flags]

Flag Type Default Description
--cluster string - Filter by spoke cluster ID
--limit int - Maximum number of fleet runs to return
--namespace string - Filter by Kubernetes namespace
--policy string - Filter by Automation name
--status string - Filter by run phase

Queue a remote approval command for a WaitingApproval run on a spoke cluster.

Synopsis: faberctl fleet approve <cluster-id> <run-id> [flags]

Flag Type Default Description
--reason string - Optional review reason or comment

Queue a remote rejection command for a WaitingApproval run on a spoke cluster.

Synopsis: faberctl fleet reject <cluster-id> <run-id> [flags]

Flag Type Default Description
--reason string - Optional review reason or comment

Export immutable governance audit events.

Usage: faberctl audit export [--policy <name>] [--namespace <ns>] [--type <eventType>] [--since <RFC3339|duration>] [--limit <n>] [--format jsonl|table]

Export audit events in JSONL or table format with optional policy, namespace, type, time, and limit filters.

Synopsis: faberctl audit export [flags]

Flag Type Default Description
--format string "jsonl" Output format (jsonl or table)
--limit int - Maximum number of audit events to return
--namespace string - Filter by Kubernetes namespace
--policy string - Filter by Automation name
--since string - Filter events at or after RFC3339 timestamp or duration (for example 24h)
--type string - Filter by audit event type

Pause all remediation runs via the global operator kill switch.

Synopsis: faberctl pause --all [flags]

Flag Type Default Description
--all bool false Apply global kill switch across all policies and namespaces
--reason string - Optional operator reason recorded in the audit log

Resume remediation runs after pausing the global operator kill switch.

Synopsis: faberctl resume --all [flags]

Flag Type Default Description
--all bool false Apply global kill switch across all policies and namespaces
--reason string - Optional operator reason recorded in the audit log

Display or export the rolling Shadow Mode scorecard of verified precision, time to brief, pre-check skip rate, model spend, and estimated savings.

Synopsis: faberctl scorecard [flags]

Flag Type Default Description
--days int 7 Rolling lookback window in days (1 to 365)
--namespace string - Filter by Kubernetes namespace

Inspect active learning feedback signals and trigger rules pull request proposals.

Usage: faberctl learning <subcommand> [flags]
Subcommands:
list [--repo <name>] [--namespace <ns>] [--unconsumed] [--limit <n>]
propose --repo <name> [--namespace <ns>] [--force]

List recorded active learning signals and synthesized rules proposals.

Synopsis: faberctl learning list [flags]

Flag Type Default Description
--limit int - Maximum number of signals and proposals to return
--namespace string - Filter by Kubernetes namespace
--repo string - Filter by Repository name
--unconsumed bool false Show only unconsumed learning signals

Distill unconsumed feedback signals into a repository rules pull request.

Synopsis: faberctl learning propose --repo <name> [flags]

Flag Type Default Description
--force bool false Bypass repository cooldown and minSignals threshold
--namespace string - Target Kubernetes namespace
--repo string - Target Repository name (required)

List, full-text search, and cascading-forget tenant-partitioned operational memory entries.

Usage: faberctl memory <subcommand> [args] [flags]
Subcommands:
list [--namespace <ns>] [--tier gold|silver|bronze] [--automation <name>] [--include-bronze=true|false] [--limit <n>]
search <query> [--namespace <ns>] [--tier gold|silver|bronze] [--automation <name>] [--include-bronze=true|false] [--limit <n>]
forget <id>

List operational memory entries with optional namespace, tier, automation, and limit filters.

Synopsis: faberctl memory list [flags]

Flag Type Default Description
--automation string - Filter by Automation name
--include-bronze bool true Include quarantined Bronze entries in output
--limit int - Maximum number of memory entries to return (1 to 500)
--namespace string - Filter by owning Automation tenant namespace
--tier string - Filter by memory tier (gold, silver, or bronze)

Run FTS5 or tsvector full-text search over operational memory entries.

Synopsis: faberctl memory search <query> [flags]

Flag Type Default Description
--automation string - Filter by Automation name
--include-bronze bool true Include quarantined Bronze entries in search results
--limit int - Maximum number of memory entries to return (1 to 500)
--namespace string - Filter by owning Automation tenant namespace
--tier string - Filter by memory tier (gold, silver, or bronze)

Perform a cascading forget of a memory entry, its reinforcements, derived children, and FTS index postings.

Synopsis: faberctl memory forget <id> [flags]

Accepts global flags only.

List, inspect, and render compiled-in Catalog v2 playbooks locally without contacting a cluster.

Usage: faberctl pack <subcommand> [args] [flags]
Subcommands:
list List built-in starter packs
inspect <name> Show starter pack details, RBAC, and YAML
render <name> [--repo <name>] Render v1beta1 Playbook and Automation YAML
[--namespace faber]
[--schedule <cron>]
[--tz <IANA-tz>]
[--expanded]

List all built-in Catalog v2 playbooks, tiers, categories, and extra RBAC requirements.

Synopsis: faberctl pack list [flags]

Accepts global flags only.

Show playbook details, parameters, safety contract, required Helm RBAC snippet, and rendered Playbook + Automation YAML.

Synopsis: faberctl pack inspect <name> [flags]

Accepts global flags only.

Render Playbook and Automation YAML for a built-in Catalog v2 playbook.

Synopsis: faberctl pack render <name> [flags]

Flag Type Default Description
--expanded bool false Render the complete standalone Playbook and Automation YAML
--namespace string "faber" Target Kubernetes namespace
--repo string - Target Repository name (optional for read-only packs)
--schedule string - Override 5-field cron schedule
--tz string - Override IANA time zone (for example Europe/Warsaw)

Search, inspect, install, diff, upgrade, validate, test, build, and publish Catalog v2 packs (playbooks, connectors, signatures, validators).

Usage: faberctl catalog <subcommand> [args] [flags]
Subcommands:
search [query] [--category <cat>] [--tag <tag>] [--tier <tier>] [--source <ref>] [-o table|json]
inspect <category>/<name> [--source <ref>] [-o table|json]
install <category>/<name> [--set key=val] [--namespace <ns>] [--out-dir <dir>] [--source <ref>] [--apply]
diff <dir> [--source <ref>]
upgrade <dir> [--source <ref>] [--dry-run]
init <dir> [--name <name>]
validate <path>
test <path>
build <dir> [--out-dir <dir>] [--out-index <file>]
publish <dir> <oci-ref> [--token <token>]

Search merged embedded, local, and OCI Catalog v2 packs by query, category, tag, tier, or source.

Synopsis: faberctl catalog search [query] [flags]

Flag Type Default Description
--category string - Filter by catalog category (playbooks, connectors, signatures, validators)
--source value - Repeatable external catalog source (oci://, dir://, local path, or source name)
--tag string - Filter by pack tag
--tier string - Filter by maturity tier (verified, community, experimental)

Show full Catalog v2 pack metadata, safety contract, parameters, required RBAC, required secrets, and template preview.

Synopsis: faberctl catalog inspect <category>/<name> [flags]

Flag Type Default Description
--source value - Repeatable external catalog source (oci://, dir://, or local path)

Render parameterized provenance-pinned GitOps YAML with RBAC delta summary, optionally applying with --apply.

Synopsis: faberctl catalog install <category>/<name> [flags]

Flag Type Default Description
--apply bool writes declarative YAML only Apply the rendered YAML directly to the cluster with kubectl apply
--namespace string - Target namespace parameter override when supported by the pack
--out-dir string - Directory to write declarative GitOps YAML into (defaults to stdout)
--set value - Repeatable pack parameter override in key=val format
--source value - Repeatable external catalog source (oci://, dir://, or local path)

Compare installed catalog-pinned YAML files against upstream catalog sources and show unified diffs.

Synopsis: faberctl catalog diff <dir> [flags]

Flag Type Default Description
--source value - Repeatable external catalog source (oci://, dir://, or local path)

Upgrade outdated catalog-pinned YAML files in place while preserving saved render parameters (supports --dry-run).

Synopsis: faberctl catalog upgrade <dir> [flags]

Flag Type Default Description
--dry-run bool false Preview available upgrades without modifying files on disk
--source value - Repeatable external catalog source (oci://, dir://, or local path)

Scaffold a new Catalog v2 repository with sample playbooks, 5 eval fixtures, and validation workflow.

Synopsis: faberctl catalog init <dir> [flags]

Flag Type Default Description
--name string - Catalog repository name (defaults to directory basename)

Validate a Catalog v2 pack or catalog repository against embedded faberops.dev/v1beta1 CRD schemas, safety contracts, RBAC rules, and secret hygiene.

Synopsis: faberctl catalog validate <path> [flags]

Accepts global flags only.

Validate a Catalog v2 pack or repository and execute all offline eval fixtures under evals/.

Synopsis: faberctl catalog test <path> [flags]

Accepts global flags only.

Build a deterministic Catalog v2 index.json manifest (in place or to --out-dir) from all packs in a catalog repository.

Synopsis: faberctl catalog build <dir> [flags]

Flag Type Default Description
--name string - Optional catalog name recorded in index.json (defaults to directory basename)
--out-dir string - Optional output directory to write index.json into without modifying
--out-index string - Optional output file path for generated index.json (defaults to /index.json)
--version string - Optional catalog version recorded in index.json

Package and push a catalog repository or single pack to an OCI v2 registry using --token or FABER_CATALOG_TOKEN.

Synopsis: faberctl catalog publish <dir> <oci-ref> [flags]

Accepts global flags only.

Scaffold GitOps onboarding manifests and Helm install commands for Tier 0 or Tier 1 clusters.

Synopsis: faberctl init [flags]

Flag Type Default Description
--forge string "github" Git forge provider (github, gitlab, gitea, forgejo)
--model-provider string "openai" LLM API provider (openai, anthropic, custom)
--namespace string "faber" Target Kubernetes namespace
--offline bool false Skip live Kubernetes cluster probing and use flags only
--out-dir string "./faber-gitops" Output directory for generated GitOps manifests
--repo string - Git repository coordinates in owner/repo format (for example my-org/cluster-gitops)
--tier0-only bool false Generate Tier 0 read-only manifests with zero Git forge or sandbox requirements