Skip to main content

Module planner

Module planner 

Source
Expand description

Update planner — computes eligible updates and classifies by risk.

This module implements:

  • UpdateClassification — safe/guarded/blocked/candidate/experimental
  • PlannerItem — an update candidate with classification, selection state, rationale
  • UpdatePlanner — builds an update plan from scan results and manifest data

§Classification Rules

ClassificationCriteria
SafePatch-only bump, Validated tier, no new dependencies, compatible hardware
GuardedMinor bump or new dependencies or config changes
BlockedIncompatible hardware, missing executor, manifest-declared incompatibility
CandidateMajor bump that passes all compatibility checks
ExperimentalComponent marked Experimental validation tier

§Selection Defaults

ClassificationVisiblePreselected
SafeYesYes
GuardedYesNo
CandidateYesNo
ExperimentalNo*No
BlockedNoNo

* Visible only with --include-experimental flag.

Structs§

CompatibilityContext
Context about the system’s capabilities used for compatibility checks.
InstalledComponent
An installed component in scan output.
PlanOutput
Machine-readable plan output for non-TTY / JSON mode.
PlanSummary
Summary statistics for the plan.
PlannerItem
An update candidate produced by the planner.
PlannerItemOutput
A single item in the plan output.
PlannerOptions
Options controlling planner behavior.
ScanOutput
Machine-readable scan output for non-TTY / JSON mode.
UpdatePlanner
Builds an update plan from manifest data and system context.

Enums§

PlannerError
Errors that can occur during planning.
UpdateClassification
Classification of an update’s risk and suitability.