pub struct StylingFinding {
pub code: String,
pub sub_kind: String,
pub path: String,
pub line: u32,
pub value: String,
pub effective_severity: StylingFindingSeverity,
pub blast_radius: Option<u32>,
pub confidence: Option<StylingFindingConfidence>,
pub agent_disposition: Option<StylingAgentDisposition>,
pub nearest_token: Option<NearestStylingToken>,
pub fix_hint: Option<String>,
pub actions: Vec<CssCandidateAction>,
}Expand description
One advisory STYLING FINDING: the graduation of a descriptive css candidate
into a first-class, severity-aware, suppressible finding surfaced in
fallow audit. The styling domain’s OWN finding type (not borrowed into the
dead-code AnalysisResults, and not glued in the CLI). code is the kebab
IssueKind code (e.g. css-token-drift), so severity / inline suppression /
SARIF / MCP all resolve via the shared issue_meta contract through
IssueKind::parse(code). One Vec<StylingFinding> carries every styling
family; the code discriminates.
Fields§
§code: StringThe kebab IssueKind code, e.g. css-token-drift.
sub_kind: StringThe specific sub-kind within the family, e.g. tailwind-arbitrary-value.
path: StringWorkspace-relative path of the finding.
line: u321-based line of the finding.
value: StringThe offending literal value, e.g. w-[13px].
effective_severity: StylingFindingSeverityEffective severity after applying rules.css-* config. Styling defaults
to warn, but projects can escalate a family to error for audit gates
and CI formats.
blast_radius: Option<u32>Optional static lower-bound blast radius. For a dead design token this is
0; for other styling findings it is omitted.
confidence: Option<StylingFindingConfidence>Confidence hint for agents and review UIs. Structural findings are high, reachability findings are low because dynamic consumers may exist.
agent_disposition: Option<StylingAgentDisposition>Suggested handling posture for agents. This is advisory data, fallow still never applies styling changes automatically.
nearest_token: Option<NearestStylingToken>Concrete reuse target for token-drift findings, when one can be resolved.
fix_hint: Option<String>One concise machine-readable edit hint for agent consumers.
actions: Vec<CssCandidateAction>Suggested next steps (verify / suppress; never an auto-fix).