Skip to content

disconnected-score

Score a repository's readiness for disconnected / air-gapped OpenShift deployments. Runs all (or selected) rules from the repo root and produces an aggregate score with per-rule findings. Supports auto-remediation (--fix), rule selection (--rules), and multiple output formats (markdown or JSON). Exits 0 for READY/WARNING, 1 for NOT READY.

Plugin: disconnected-readiness-scorer | User-invocable

Contract

Skill Contract canonical-skill-v1

Score an RHOAI component repository's readiness for disconnected / air-gapped OpenShift deployments by running static-analysis rules for image manifest completeness, digest enforcement, runtime egress, and Python dependency validation.

Identity

Functions
review
Success
  • Runs the selected rules against the target repository and reports findings per rule with severity.
  • Produces a READY / NOT READY verdict with a markdown or JSON report.

Optimization Targets

task_success deterministic

Invariants

Must Preserve
  • Do not modify the target repository unless auto-remediation is explicitly requested with --fix.
  • Exclude test files, CI config, and linting rules from blocker-level findings.
Fixed Context
toolsRead, Bash, Glob, Grep
clipython3, arch-analyzer

Traceability

Diagram

disconnected-score diagram

Arguments

/disconnected-score [--rules <list>] [--fix] [--report <format>]
Argument Required Default Description
--rules all Run only specified rules. Aliases: csv, tags, egress, python, manifest.
--fix - Attempt auto-remediation where possible (e.g., replace image tags with digests).
--report markdown Output format for the readiness report.

Usage

/disconnected-score
/disconnected-score --rules csv,tags
/disconnected-score --fix
/disconnected-score --report json