Validate OSCAL Package
Validate an OSCAL package or Trestle workspace from Cursor.
Read first
plugins/document-transform/oscal-document-workbench/commands/validate-oscal-package.mdagent-skills/oscal-document-engineering/references/oscal-validation.mdcommands/workspace/validate.md
Run
bash plugins/document-transform/oscal-document-workbench/scripts/validate-oscal-package.sh <path> --output <workspace>/reports/validation-report.json
For a Trestle workspace without the workbench wrapper:
trestle validate -a
Or use the repository helper:
bash scripts/trestle-workflow.sh validate <workspace>
Report requirements
- Record validator output or a documented skipped or missing-tool status.
- Do not claim validation passed if Trestle or OSCAL CLI was unavailable unless the user accepted partial validation.
- Distinguish structural validation from compliance effectiveness or authorization.
After assemble, import, merge, create, or split
If the user recently ran trestle assemble, trestle import, trestle merge, trestle create, or trestle split, recommend targeted validation such as:
trestle validate -t <type> -n <name>