Skip to content
Workloom
Menu

Feature

Validate the manifest and its trust gates

`wl validate` checks workloom.workspace.json against the schema, then runs the trust gates over a render plan and lists what they would block.

Validation has two layers. The first parses the file with the Zod workspace schema (or the package schema with --type package) and prints each field error. The second computes a render plan from the local package directory and reports trust gate diagnostics: an asset type the target denies, or an asset whose trust class is above the workspace maximum.

The command exits non-zero when the schema fails or a gate fires, so it can run in a pre-commit hook or a CI step before anything renders.