Arguments. [check|apply|picks|schedule] [disable=<check>|approve=<remediation>|exclude-service=<name>…]; the full set: [check|apply|picks|schedule] [disable=<check>|deprecate=<check>|demote=<check>|approve=<remediation>|revoke=<remediation>|review-check=<check>|unreview-check=<check>|unmute=<key>|exclude-service=<name>|include-service=<name>], picks followed by the pasted checkup-picks payload, or schedule.
Purpose
Inspect and customize /machine-health:audit on this host per the uniform setup contract
(docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository):
check reads the effective configuration and reports, apply writes it. The machine-local
surface is the catalog overlay at <StateBase>/catalog/checks.local.jsonc, the remediation
approvals at <StateBase>/state/approvals.json and the finding mutes at
<StateBase>/state/mutes.json. Configuration here is machine-local by design.
A workstation's check tuning does not belong in any repository. Idempotent: re-running reads the
existing files and offers updates rather than overwriting blind.
Action routing: no argument or check runs the check; apply runs the check first, then applies
the requested changes. When apply is given complete write arguments (disable=, deprecate=, demote=,
approve=, revoke=, review-check=, unreview-check=, unmute=, exclude-service=, include-service=) it applies them non-interactively; with no arguments in an interactive session it runs
the full interview below. Custom-check registration is inherently interactive (it authors a script)