โ Dev Log 039 โ Preview Command Finalized¶
The dokugent preview command is now fully functional and outputs a unified agent preview JSON. It includes:
- Agent metadata and avatar
- Plan and criteria JSON files
- Convention documentation (CODEX/README)
- Owner identity, including fingerprint
- Signing key version used for certification
Stored in:
๐ Token Usage Summary¶
We integrated the tokenizer utility to provide token estimates for the preview object.
This helps teams anticipate inference cost and stay under token limits in agent deployments.
๐งน Fixes and Improvements¶
- Validates and prints fingerprint properly from owner metadata
- Graceful fallback for malformed or missing owner files
- Uses correct symlink resolution for
latestplan and criteria
โญ๏ธ Next Steps¶
- Add
--showand--traceoptions topreview - Allow Markdown rendering of preview
- Prep for
dokugent compileto use preview as a base