Resource
A declared unit of desired state, implemented by a wscript check()/apply() script.
A resource is a declared unit of desired state in a package, implemented by a wscript script that exports check() and apply() (signatures). It is referenced from steps as pkg.resource. The resource declares its inputs as param blocks and a concurrency class; its script obeys the check → apply → re-check contract.
Resource, gatherer and verify scripts are single-file wscript programs compiled against the config-weave host API. Import host modules with use <module>; registered types (Value, CheckResult, ApplyResult, CmdOutput, HttpResponse, ComObject) are ambient — no use needed.