🧪 Use dokugent preview Before Certify¶
This is the critical stitch point where all configuration, criteria, and plan data get compiled into a unified, reviewable snapshot.
What Happens in preview¶
- Loads all config, criteria, and planning metadata
- Compiles them into a
compiled.jsonobject for review - Validates plan structure, references, token usage, and file integrity
- Prepares
.cert.jsonstaging metadata without signing it - Lets you preview what will be signed in the next step
Test Variations Before Committing¶
Use preview to:
- Try different agent profiles
- Swap plan versions or update steps
- Validate compliance and compatibility with your current conventions
- Ensure you're using the right key and metadata
When to Run preview¶
- Always run it before
certify - It ensures your bundle is complete, accurate, and trustworthy
Summary¶
Think of dokugent preview as your pre-flight check. It assembles everything, gives you one final look, and confirms that your agent is truly ready for certification.