validate_draft
Validate a draft YAML against the full rule set: offline rules always run, live network checks activate with dry_run=False, ensuring compliance before sending.
Instructions
Run the rule set against a draft. RED tier.
Offline rules R01-R16 always run. The live rules L01-L04 (authority exists, law is
offered, API default law, duplicate check) need the network and therefore only run
with ``dry_run=False``.
Args:
path: path to the draft YAML file.
dry_run: True (default) runs offline rules only and does not touch the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No |