Skip to content

autoFixCommandFor

autoFixCommandFor(hintKey): string | undefined

Defined in: src/remediations.ts:71

The auto-fix gate for product surfaces (in-app Fix endpoint): the command for a hintKey iff one exists AND it actually clears the check when run unattended. Guidance-only hints (see GUIDANCE_ONLY) return undefined even though they have a REMEDIATIONS entry. remediationsFor stays raw/guidance-agnostic for the harness.

string

string | undefined