The lint command runs preflight checks — schema validation, $ref chain integrity, and duplicate step ID detection — without executing anything against your instance. Use it before sn execute to catch errors early.
lint
Static + instance-aware manifest validation.
sn lint <manifest.ts> Static + instance-aware manifest validation.
Arguments
| Name | Required | Description |
|---|---|---|
| manifest.ts | Yes | Path to the manifest TypeScript file. |
Examples
sn lint manifests/business-rule/manifest.tsPreflight: 3 steps validated
✓ Schema check passed
✓ $ref chain valid
✓ No duplicate IDs
All checks passed.