pub struct DeadCodeNextStepsInput<'a> {
pub suggestions_enabled: bool,
pub results: &'a AnalysisResults,
pub root: &'a Path,
pub offer_setup: bool,
pub impact_digest: Option<ImpactDigestCounts>,
pub workspace_ref: Option<&'a str>,
pub audit_changed: bool,
pub has_external_plugins: bool,
pub baseline_recheck: Option<BaselineRecheckInput<'a>>,
pub command: &'a str,
}Expand description
Runtime-independent inputs for standalone dead-code next steps.
Fields§
§suggestions_enabled: boolFalse when FALLOW_SUGGESTIONS=off; suppresses all steps.
results: &'a AnalysisResultsAnalysis results the steps are derived from.
root: &'a PathAnalysis root, used to render trace targets relative.
offer_setup: boolOffer the guided-setup pointer because no fallow config exists yet.
impact_digest: Option<ImpactDigestCounts>Local impact digest counters, when a digest is available.
workspace_ref: Option<&'a str>Workspace name to scope suggested commands to, when analysing one.
audit_changed: boolOffer fallow audit because the working tree has changed files.
has_external_plugins: boolThe project has external plugins declared; when files are also unused,
route the agent to fallow plugin-check to verify what they seed.
baseline_recheck: Option<BaselineRecheckInput<'a>>The loaded baseline this run was too narrow to judge, when there is one.
command: &'a strThe subcommand that ran (dead-code or architecture). The
scope-workspaces step names it.