validate_package
Validates a package directory locally before deployment: checks recipe JSON syntax, project.json presence, and that all referenced zip files exist. Returns errors, warnings, and diagnostics.
Instructions
LOCAL lint of a package DIRECTORY before deploy (NO API call). Runs the ported recipe-lint rule engine on each *.recipe.json (see lint_recipe for the rule set), plus package-level checks: all *.json parse; project.json at root (warn); every config[].account_id.zip_name resolves to a file on disk. Returns {package, passed, errors, warnings, ok, diagnostics[]} where each diagnostic is {rule_id, tier, level, message, file}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |